Saturday, May 18, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 7574  / 1 Year ago, sat, april 1, 2023, 3:07:33

I have WSL2 preview version installed (so I can use the new systemd support). I'm running the latest version of WSL Ubuntu (not preview) and when I run snap install <insert_program_here> or any program installed with snap (like lxd) it returns


Interacting with snapd is not yet supported on Windows Subsystem for Linux.
This command has been left available for documentation purposes only.

So the lxd command has the same output. I also enabled systemd by adding


[boot]
systemd=true

to /etc/wsl.conf


wsl -v returns:


WSL version: 0.70.4.0
Kernel version: 5.15.68.1
WSLg version: 1.0.45
MSRDC version: 1.2.3575
Direct3D version: 1.606.4
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22000.1098

and snap --version returns:


snap                         2.57.4+22.04
snapd unavailable
series 16
Windows Subsystem for Linux -
kernel 5.15.68.1-microsoft-standard-WSL2 (amd64)


 Answers
6

there is a pull request regarding this problem here.


or


take a look at this forum post here.


[#182] Saturday, April 1, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ilityushing

Total Points: 18
Total Questions: 100
Total Answers: 113

Location: Senegal
Member since Wed, May 13, 2020
4 Years ago
ilityushing questions
Wed, Mar 2, 22, 12:25, 2 Years ago
Tue, Jun 15, 21, 14:34, 3 Years ago
Sun, Aug 15, 21, 18:44, 3 Years ago
Wed, Apr 6, 22, 00:57, 2 Years ago
;