Running Snaps on WSL2 (Insiders only for now)

Turns out there was a bug in snapd’s WSL recognition that meant it only detected WSL 1 until that was recently fixed (details here).

In the meantime, apart from the workaround above, the fix is out in the beta channel, so you can use the quick disable-interop-once hack at that link and then snap install snapd --beta / snap refresh snapd --beta (delete as applicable) to get the fixed version.

1 Like

A fix is out now for all releases but Kinetic (coming up in the following days as well). Simply do

sudo apt-get -y update
sudo apt-get -y upgrade snapd

And that should do it. You can read more about this in this Github Issue

2 Likes