DEV Community

Jain Wun
Jain Wun

Posted on

3 2

WSL2/WSLg使用snap store

更多會員限定文章可以到patreon觀看


WSLg + Snap

如果清除/snap後還是不能mount的話

可以參考以下流程

image.png

Error原因, 要mount的lzo格式在snap 2.47前不支援

image.png

所以要先來更新snap, sudo apt upgrade snap

image.png

更新到2.51後再嘗試安裝

如果遇到hook失敗可以先清除/snap

image.png

如果清除/snap無效, 重裝最快

sudo apt-get purge snapd snap 
sudo apt-get install snapd snap
Enter fullscreen mode Exit fullscreen mode

之後就可以正常安裝了

image.png

正常的snap list應該長這樣, 不該混到1804的內容

image.png

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay