[10:05] Odd_Bloke: Thanks for the info! I made in Azure an Ubuntu 18.04 with official cloud-init support so looking those configs closer I cloud make my own Red Hat 7.8 template work also (with waagent and cloud-init together!) [10:08] * andras-kovacs sent a long message: < https://matrix.org/_matrix/media/r0/download/matrix.org/VjXqdileLrLUzHDfVYukbNAv > [10:10] Or should I just forget about it because all the other things work? [13:35] andras-kovacs: So I suspect that we should handle the absence of that file gracefully, but need more details. Could you file a bug and attach the `cloud-init collect-logs` tarball to it, please? [17:01] anyone else using launchpad-chroot ? blackboxsw it think you do [17:01] i'm trying to use sbuild-it -> sbuild [17:03] and the sources.list is getting busted by 90apt-sources [17:05] smoser: I do via build-package script [17:06] right. same thing. [17:06] you build focal ? [17:06] build-apckage calls sbuild [17:06] will give it a go [17:07] smoser: we just pushed up a change yesterday that fixed a unittest leak that was breaking ppa builds FTBS etc. [17:07] but should be unrelated to aptsources... checking [17:08] this is just launchpad-croot being proken [17:08] brooken [17:08] I get you :) [17:10] * blackboxsw waits on sbuild [17:11] you use sbuild-launchpad-chroot ? [17:11] do others still use that [17:12] the problem is that in the launchpad 'livecd.ubuntu-base.rootfs.tar.gz' that gets downloaded [17:12] bioinc has just one line in /etc/apt/sources.list: [17:12] http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse [17:12] and focal has a "full /etc/apt/sources.list" (just like in a container or whatever) [17:13] and /etc/schroot/setup.d/90apt-sources parses that wrong [17:13] in the 'APT_POCKETS' part [17:14] hrm smoser I may have fallen out of sbuild-launchpad-chroot usage. I: 01launchpad-chroot: [focal-amd64] Processing config [17:14] I: 01launchpad-chroot: [focal-amd64] Doesn't exist. [17:14] digging into what that means for my focal sbuild [17:15] rel=focal; sudo sbuild-launchpad-chroot create --architecture=amd64 --name=$rel-amd64 --series=$rel [17:23] I tried to start using launchpad-chroot earlier in the cycle and it didn't work (so I just kept doing what I was doing already). [17:25] smoser: can reproduce the problem now [17:27] https://paste.ubuntu.com/p/QcFRJB53xt/ [18:12] blackboxsw: https://bugs.launchpad.net/ubuntu/+source/sbuild-launchpad-chroot/+bug/1872163 [18:12] Ubuntu bug 1872163 in sbuild-launchpad-chroot (Ubuntu) "focal chroots broken due to change in sources.list" [Undecided,Confirmed] [18:12] i filed https://bugs.launchpad.net/ubuntu/+source/sbuild-launchpad-chroot/+bug/1873507 [18:12] Ubuntu bug 1872163 in sbuild-launchpad-chroot (Ubuntu) "duplicate for #1873507 focal chroots broken due to change in sources.list" [Undecided,Confirmed] [18:13] i dont really udnerstand. i thought launchpad itself used launchpad-sbuild-chroot [20:03] smoser: thanks for the links and bugs since I broke my own build system by switching back to sbuild-launchpad-chroot. I've fixed it locally :) [20:03] pastbin coming and I'll put up a patch for it [20:03] smoser: # See focal for how to upgrade to [20:03] # newer versions of the distribution. [20:03] deb http://archive.ubuntu.com/ubuntu/ focal main restricted [20:03] # deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted [20:04] whoa [20:04] sorry about that [20:04] https://paste.ubuntu.com/p/vJ25FrJGVj/ [20:04] since it's multiline now sbuild-launchad-chroot needs to be able to also ignore empty lines [20:04] which was what was killing things [20:12] did that work ? [20:12] yes [20:12] putting up an MP [20:12] my patch worked too [20:12] :) [20:13] yours does work generically ? [20:20] smoser: here's what it appends https://pastebin.ubuntu.com/p/FnyjzQD6TW/ [20:20] is that bogus to have -proposed on universe etc? [20:21] ahh shoot I forgot the part that avoids dups [20:21] no thats fine. [20:21] and desired [20:21] i honestly think its probably unintended that the sources.list file is there [20:22] I think so too. But it would be nice to also allow multiple lines if intended [20:23] here's the update with avoiding duplicates [20:54] actually we don't need the duplication reduction, as the APT_COMPONENTS will also reset additional apt config lines all to "main universe" anyway, so if we did have separate lines specifying different components, they are all going to get rewritten anyway to the same component sets. So duplication is inevitable without a rewrite of the whole script, which is not worth it in my mind [20:57] put up the following PR https://code.launchpad.net/~chad.smith/ubuntu/+source/sbuild-launchpad-chroot/+git/sbuild-launchpad-chroot/+merge/382529