问题:Ubuntu snap 提示has "install-snap" chang in progress
在Ubuntu18.01使用snap安装eclipse软件时报错:
root@root-desktop:/home.root# snap install --classic eclipse
error: snap "eclipse" has "install-snap" change in progress
其实就是软件之前安装了一次,只是没有安装完就强行停止了
解决方案
root@root-desktop:/home.root# snap changes
ID | status | Spawn | ready | summary |
---|---|---|---|---|
4 | Error | yesterdat at 09:18 CST | yesterday at 09:52 CST | Auto-refresh 7 snaps |
5 | Error | yesterdat at 16:44 CST | yesterday at 18:11 CST | Auto-refresh 7 snaps |
6 | Doing | today at 08:55 CST | - | Install "eclipse" snap |
可以看到ID = 6 Doing就是我之前安装失败的,现在我们终止它
root@root-desktop:/home.root# sudo snap abort 6
好了,重新安装就可以了
snap install --classic eclopse
收工