我正在尝试从 snap 中删除一个应用程序...这是我的初始条件
sudo snap install audacity # install
type audacity
audacity is hashed (/snap/bin/audacity)
snap list | grep audacity
audacity 2.4.1 675 latest/stable diddledan -
当我从终端启动时
audacity
ln: failed to create symbolic link '/home/olga/snap/audacity/675/.config/gtk-2.0/gtkfilechooser.ini': File exists
.... more messages here
所以它运行正常,但是当我尝试卸载时出现此错误
sudo snap remove audacity
error: cannot perform the following tasks:
- Disconnect audacity:wayland from core:wayland (cannot update mount namespace of snap "audacity": cannot update preserved namespace of snap "audacity": cannot update snap namespace: invalid argument)
当然,我很想通过删除这些目录来强制执行它
/快照/ bin /大胆
/主页/奥尔加/快照/大胆
不过,我怀疑还有一种更简洁的方法……如果 Snap 通过显示更多有用的错误消息和/或行为来限制像我这样的用户,那肯定会很棒