Comment 10 for bug 2033308

Revision history for this message
Michael Hudson-Doyle (mwhudson) wrote :

So I have a few thoughts/questions here:

1) It would really be better if we could put packaged apt preference files somewhere not in /etc (systemd-style /run-/etc/-/user searching for everything please)

2) Why isn't https://git.launchpad.net/livecd-rootfs/tree/live-build/ubuntu-cpc/hooks.d/chroot/100-preserve-apt-prefs.chroot preventing this? That's what it's there for.

3) How many images are out there with this damage? If it's just mantic well whatever but if there are lunar or even older images out there that are missing these files then we'll need to do something in ubuntu-advantage-tools to avoid these prompts on upgrade (I'm not sure what, mind -- we could do hacks to avoid these files being marked as conffiles, which will probably just mean that dpkg stomps on these files on upgrade -- which might be ok? Otherwise it's delicate preinst games I guess).

I think the live-build changes are /probably/ ok. I'll try to meditate on these a little more later. It might be better to use a different backup location than the existing code in livecd-rootfs tries to use? Building a test ubuntu-cpc build is nice but really it's the impact on other project builds that's hard to predict...