This looks to be a bug in `livecd-rootfs`. there's code from `live-build` that "helpfully" attempts to clean up. and in livecd-rootfs, we attempt to save off and restore.
it appears something may be going awry here, because a launch of a current mantic image there is nothing in `/etc/apt/preferences.d/` when there should be a couple files dropped in by ubuntu-advantage-tools. this is verifiable by launching an lxc container of the current mantic daily
`lxc launch ubuntu-daily:m`
I've tested a build of the ua-tools in proposed on 22.04's livecd-rootfs, and don't run into the same issue. checking 20.04 as well.
This looks to be a bug in `livecd-rootfs`. there's code from `live-build` that "helpfully" attempts to clean up. and in livecd-rootfs, we attempt to save off and restore.
https:/ /git.launchpad. net/livecd- rootfs/ tree/live- build/auto/ build#n360
https:/ /git.launchpad. net/livecd- rootfs/ tree/live- build/ubuntu- cpc/hooks. d/chroot/ 100-preserve- apt-prefs. chroot
it appears something may be going awry here, because a launch of a current mantic image there is nothing in `/etc/apt/ preferences. d/` when there should be a couple files dropped in by ubuntu- advantage- tools. this is verifiable by launching an lxc container of the current mantic daily
`lxc launch ubuntu-daily:m`
I've tested a build of the ua-tools in proposed on 22.04's livecd-rootfs, and don't run into the same issue. checking 20.04 as well.