I don't believe that dist-upgrading WSL is officially supported as it's
an Ubuntu installation which does not run a supported Ubuntu kernel. As
you point out, LXD cannot work in such an environment and so it's
reasonable for its upgrade to similarly fail.
The lxd-installer proposal also isn't suitable because lxd.migrate which
performs the needed data migration from the deb over to the snap
requires the previous version of LXD to be functional.
This is why we do the upgrade from preinst and prevent the system from
upgrading at all unless the upgrade is processed properly. Anything else
would effectively result to data loss.
In the event that the store isn't available, we offer the user the
choice between retrying after they've made sure it's accessible or
giving up on the upgrade until such a time they can make it available
(or have manually remove LXD from their system).
** Changed in: lxd (Ubuntu)
Status: New => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1821924
Title:
LXD Deb->snap transition fails in WSL due to snap command not working
(yet)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxd/+bug/1821924/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs