我安装了 ubuntu-clock-app。一旦我不得不紧急关闭计算机(硬重置),该应用程序就会停止工作。
datafile4@datafile4-K53SD:~$ sudo snap remove ubuntu-clock-app
error: can't remove "ubuntu-clock-app": cannot find mounted snap "ubuntu-clock-app" at revision 5
同时
datafile4@datafile4-K53SD:~$ sudo snap install ubuntu-clock-app
error: can't install "ubuntu-clock-app": snap "ubuntu-clock-app" already installed
快速更改结果:
Status Spawn Ready Summary
Done 2016-05-01T07:51:19Z 2016-05-01T07:51:20Z Make snap "ubuntu-clock-app" unavailable to the system
Undone 2016-05-01T07:51:19Z 2016-05-01T07:51:21Z Remove security profile for snap "ubuntu-clock-app"
Done 2016-05-01T07:51:19Z 2016-05-01T07:51:20Z Remove data for snap "ubuntu-clock-app"
Error 2016-05-01T07:51:19Z 2016-05-01T07:51:20Z Remove snap "ubuntu-clock-app" from the system
Hold 2016-05-01T07:51:19Z 2016-05-01T07:51:20Z Discard interface connections for snap "ubuntu-clock-app"
......................................................................
Remove snap "ubuntu-clock-app" from the system
2016-05-01T11:51:20+04:00 ERROR remove /snap/ubuntu-clock-app/5/bin/clock: read-only file system
答案1
如果你不想丢失与快照相关的数据,可以运行以下方法:Zyga 的重置状态脚本。
此外,请确保您使用的是上周发布到 xenial 的 snapd 2.0.3;这样您就不会再陷入这种状态。