Comment 3 for bug 1834501

Revision history for this message
Stéphane Graber (stgraber) wrote :

Hi,

Indeed, this is a won't fix for LXD as we are snap only at this point and our preinst behavior is I believe correct in avoiding breaking systems. The post-upgrade deb is completely empty so allowing the update to proceed will completely break the existing LXD. The only options are then effectively to Abort so LXD fails in preinst and your running instance keeps working or get your firewall/proxy sorted and hit Retry.

Skip was added somewhat recently to handle WSL I believe and indeed allows skipping the snap installation if the system doesn't currently use LXD.

I agree that the release upgrader should perform those checks ahead of time if it knows that some packages will have to be migrated to snaps and not allow the user to keep doing the upgrade without having sorted out store access or removed the affected packages.