$ snap refresh
error: cannot perform the following tasks:
- Setup snap "spotify" (63) security profiles (cannot update mount namespace of snap "spotify": cannot update preserved namespace of snap "spotify": cannot update snap namespace: remove /usr/bin/gjs: read-only file system)
$ spotify
ERROR: not connected to the gnome-3-28-1804 content interface.
答案1
目前似乎有一个错误。解决方案可以在这里找到:https://forum.snapcraft.io/t/spotify-snap-update-failed-version-1-2-8-923-g4f94bf0d/34586
本质上:
snap remove spotify # uninstall, do take note of the ID of the snapshot that will be generated
snap install spotify # reinstall
snap restore <the-snapshot-id> spotify # restore user data from the snapshot
在那里时大概是解决根本原因的更好方法,这种方法快速而且有效。