okass 在版块 Linux平台 中发起了话题 Mint下安装Snap错误解决方案 3年前
Linux mint下安装snap提示错误的解决方案
原因: Mint官方团队屏蔽了snap
1.Delete the nosnap.pref file in the directory /etc/apt/preferences.d by running the command:
sudo rm /etc/apt/preferences.d/nosnap.pref
2.Comment the three lines of code in the same file.
Package: snapd
Pin: release a=*
Pin-Priority: -103. Now, install snapd:
sudo apt install snapd
Then, any snap apps:
sudo snap install <app-name>
There is also another method as well to install snap packages without interfering with nosnap.pref file. That is, installing app using version number:
sudo apt install <app-name> snapd=VERSION
最后在线: 活跃于 6个月, 2周前
评论: 7
获赞: 0
文章: 0
粉丝: 68
关注: 68
好友: 8
User Rating: ( vote)