error: snap "eclipse" has "install-snap" change in progress

Ubuntu 18.04使用snap安裝eclipse軟件報時錯:linux

inuxidc@linuxidc:~$ snap install --classic eclipseeclipse

error: snap "eclipse" has "install-snap" change in progress3d

其實就是軟件以前安裝了一次,只是沒安裝完就強行中止了blog

解決方案ip

運行以下命令get

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" snapit

能夠看到ID=5  Doing就是我以前安裝失敗的。class

如今咱們終止它cli

linuxidc@linuxidc:~$ sudo snap abort 5軟件

好了,能夠從新安裝了。以下圖:

Ubuntu snap提示has "install-snap" change in progress

相關文章
相關標籤/搜索