error: snap "eclipse" has "install-snap" change in progress
在Ubuntu 18.04使用snap安装eclipse软件报时错:
inuxidc@linuxidc:~$ snap install --classic eclipse
error: snap "eclipse" has "install-snap" change in progress
其实就是软件之前安装了一次,只是没安装完就强行停止了
解决方案
运行如下命令
linuxidc@linuxidc:~$ snap changes
ID Status Spawn Ready Summary
4 Error yesterday at 21:20 CST yesterday at 21:31 CST Install "eclipse" snap
5 Doing yesterday at 22:36 CST - Install "eclipse" snap
可以看到ID=5 Doing就是我之前安装失败的。
现在我们终止它
linuxidc@linuxidc:~$ sudo snap abort 5
好了,可以重新安装了。如下图: