-
Notifications
You must be signed in to change notification settings - Fork 45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snapd shows up as unavailable inside WSL #330
Comments
@EduardGomezEscandell, as mentioned here, we can continue the discussion on this ticket. |
For the sake of completion, this info is also relevant:
-- from #299 (comment) |
Not sure what may be happening here, so let's try some stuff: First of all, I see you're trying to follow these steps here #299 (comment). This is no longer necessary or useful. Simply do:
Then reoboot the distro from powershell: wsl --terminate Ubuntu Print some more info to see if it helps. systemctl status snapd
journalctl -b 1 -xeu snapd --no-pager Some snaps still don't work (we're working on this :P), it may be the case with microk8s. Try to install a simpler one such as nvim. This'll probably fail but let's make it sure.
If you want to give up, you also have that option. Make a backup of all files you want to keep and uninstall the distro with |
@EduardGomezEscandell as expected: |
I'm having the same issue as here, word for word. The only differences is on mine: No %HOMEPATH%.wslconfig file.
EDIT: |
snap appears to be working for me:
systemctl says it's running:
However, I still see snap version reporting snapd is unavailable:
My WSL version command reports:
|
cmd /c ver
Microsoft Windows [Version 10.0.22621.819]
wsl --status
Did the problem occur during installation?
What happened?
Just after installing the Ubuntu image and configuring
wsl.conf
to allowsystemd=true
on boot, and following the steps heresnap version
showssnapd
asunavailable
What was expected?
snapd
should be read as the version2.57.5+git955.g8ac464e
(beta version)Steps to reproduce
Additional information
wsl --version
cat /etc/wsl.conf
cat %HOMEPATH%\.wslconfig
Additional screenshot
The text was updated successfully, but these errors were encountered: