
我正在嘗試從快照中刪除應用程式...這是我的初始條件
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)
自然地,我很想透過刪除這些目錄來強迫它
/snap/bin/大膽
/home/olga/snap/audacity
不過我懷疑有一種更乾淨的方法…如果 snap 透過發出更有用的錯誤訊息和/或行為來控制像我這樣的用戶,那麼肯定會是 gr8