[10:05] <andras-kovacs> 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] <andras-kovacs> Or should I just forget about it because all the other things work?
[13:35] <Odd_Bloke> 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] <smoser> anyone else using launchpad-chroot ? blackboxsw it think you do
[17:01] <smoser> i'm trying to use sbuild-it -> sbuild
[17:03] <smoser> and the sources.list is getting busted by 90apt-sources
[17:05] <blackboxsw> smoser: I do via build-package script
[17:06] <smoser> right. same thing.
[17:06] <smoser> you build focal ?
[17:06] <smoser> build-apckage calls sbuild
[17:06] <blackboxsw> will give it a go
[17:07] <blackboxsw> smoser: we just pushed up a change yesterday that fixed a unittest leak that was breaking ppa builds FTBS etc.
[17:07] <blackboxsw> but should be unrelated to aptsources... checking
[17:08] <smoser> this is just launchpad-croot being proken
[17:08] <smoser> brooken
[17:08] <blackboxsw> I get you :)
[17:10]  * blackboxsw waits on sbuild
[17:11] <smoser> you use sbuild-launchpad-chroot ?
[17:11] <smoser> do others still use that
[17:12] <smoser> the problem is that in the launchpad 'livecd.ubuntu-base.rootfs.tar.gz' that gets downloaded
[17:12] <smoser> bioinc has just one line in /etc/apt/sources.list:
[17:12] <smoser>  http://archive.ubuntu.com/ubuntu/ bionic main restricted universe multiverse
[17:12] <smoser> and focal has a "full /etc/apt/sources.list" (just like in a container or whatever)
[17:13] <smoser> and /etc/schroot/setup.d/90apt-sources parses that wrong
[17:13] <smoser> in the 'APT_POCKETS' part
[17:14] <blackboxsw> hrm smoser I may have fallen out of sbuild-launchpad-chroot usage. I: 01launchpad-chroot: [focal-amd64] Processing config
[17:14] <blackboxsw> I: 01launchpad-chroot: [focal-amd64] Doesn't exist.
[17:14] <blackboxsw> digging into what that means for my focal sbuild
[17:15] <smoser> rel=focal; sudo sbuild-launchpad-chroot create --architecture=amd64 --name=$rel-amd64 --series=$rel
[17:23] <Odd_Bloke> 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] <blackboxsw> smoser: can reproduce the problem now
[17:27] <blackboxsw> https://paste.ubuntu.com/p/QcFRJB53xt/
[18:12] <smoser> blackboxsw: https://bugs.launchpad.net/ubuntu/+source/sbuild-launchpad-chroot/+bug/1872163
[18:12] <smoser> i filed https://bugs.launchpad.net/ubuntu/+source/sbuild-launchpad-chroot/+bug/1873507
[18:13] <smoser> i dont really udnerstand. i thought launchpad itself used launchpad-sbuild-chroot
[20:03] <blackboxsw> 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] <blackboxsw> pastbin coming and I'll put up a patch for it
[20:03] <blackboxsw> smoser: # See focal for how to upgrade to
[20:03] <blackboxsw> # newer versions of the distribution.
[20:03] <blackboxsw> deb http://archive.ubuntu.com/ubuntu/ focal main restricted
[20:03] <blackboxsw> # deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted
[20:04] <blackboxsw> whoa
[20:04] <blackboxsw> sorry about that
[20:04] <blackboxsw> https://paste.ubuntu.com/p/vJ25FrJGVj/
[20:04] <blackboxsw> since it's multiline now sbuild-launchad-chroot needs to be able to also ignore empty lines
[20:04] <blackboxsw> which was what was killing things
[20:12] <smoser> did that work ?
[20:12] <blackboxsw> yes
[20:12] <blackboxsw> putting up an MP
[20:12] <smoser> my patch worked too
[20:12] <smoser> :)
[20:13] <smoser> yours does work generically ?
[20:20] <blackboxsw> smoser: here's what it appends https://pastebin.ubuntu.com/p/FnyjzQD6TW/
[20:20] <blackboxsw> is that bogus to have -proposed on universe etc?
[20:21] <blackboxsw> ahh shoot I forgot the part that avoids dups
[20:21] <smoser> no thats fine.
[20:21] <smoser> and desired
[20:21] <smoser> i honestly think its probably unintended that the sources.list file is there
[20:22] <blackboxsw> I think so too. But it would be nice to also allow multiple lines if intended
[20:23] <blackboxsw> here's the update with avoiding duplicates
[20:54] <blackboxsw> 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] <blackboxsw> put up the following PR  https://code.launchpad.net/~chad.smith/ubuntu/+source/sbuild-launchpad-chroot/+git/sbuild-launchpad-chroot/+merge/382529