我尝试卸载 snap 系统,但似乎有些事情我不清楚或不理解。我尝试重新安装:
sudo snap install snap-store
2023-10-18T12:03:29-04:00 INFO Waiting for automatic snapd restart... error: cannot perform the following tasks:
- Mount snap "gtk-common-themes" (1535) (cannot proceed, expected snap "gtk-common-themes" revision 1535 to be mounted but is not)
- Mount snap "gnome-42-2204" (141) (cannot proceed, expected snap "gnome-42-2204" revision 141 to be mounted but is not)
有什么办法可以解决这个问题吗?我宁愿先让所有东西恢复正常,然后再决定卸载/删除。
谢谢。
Ubuntu 23.10.1
答案1
第一次运行
sudo systemctl stop var-snap-firefox-common-host\\x2dhunspell.mount
,然后
sudo systemctl disable var-snap-firefox-common-host\\x2dhunspell.mount
然后运行
sudo apt purge --autoremove snapd
以删除 snap。
之后,使用以下命令安装 snapd
sudo apt install snapd
然后使用以下命令安装 snap store:
sudo snap install snap-store
您还必须手动安装 Firefox 和其他快照。