Maniaro发行版安装snap应用提示错误解决 classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap

比如我运行安装下
sudo snap install phpstorm --classic
出现以下报错:
error: cannot install "phpstorm": classic confinement requires snaps under /snap or symlink from /snap to /var/lib/snapd/snap
其实原因是没有添加软链接到 /snap => /var/lib/snapd/snap
解决方案:
sudo ln -s /var/lib/snapd/snap /snap

posted @ 2021-11-07 15:59  山上小和尚  阅读(1072)  评论(0编辑  收藏  举报