Not sure whether this is the right place to ask this question, but here goes:
On a new Debian Buster (10.4.0) clean install I installed snapd then tried to install lxd using the command line:
snap install lxd
This returns the error:
error: cannot perform the following tasks:
Mount snap “lxd” (15067) (snap “lxd” assumes unsupported features: snapd2.39 (try to update snapd and refresh the core snap))
The version of snapd installed with Buster is:
snap version
snap 2.37.4-1+b1
snapd 2.37.4-1+b1
series 16
debian 10
kernel 4.19.0-9-amd64
I am lost as to how to update snapd to 2.39 as implied, so any advice would be appreciated.
On some distros (currently just Debian and Ubuntu), snapd supports a “re-exec” feature:
What this means is that when the .deb packaged snap, snapd, etc tools are executed, they will check if the snapd or core snaps are installed and simply call exec() on the equivalent binary found there.
This means that you can be running a newer version of snapd than is delivered by the distro. Of course, this doesn’t happen until one of those two snaps is installed on the system.