0.引言
安装软件式遇到的错误,其实是已经安装过一次但没有安装成功导致一些地方有冲突。
1.报错
error: snap "×××" has "install-snap" change in progress
Solved:
snap changes #查看之前安装失败的项,运行结果如下,错误的则是第五项 Doing的那一项
# ID Status Spawn Ready Summary
# 2 Error today at 15:42 CST today at 15:44 CST Install "***" snap
# 3 Done today at 15:43 CST today at 15:43 CST Initialize device
# 4 Error today at 15:45 CST today at 17:02 CST Install "***" snap
# 5 Doing today at 19:28 CST - Install "***" snap
# 6 Done today at 19:45 CST today at 19:45 CST Install "hello-world" snap
sudo snap abort 5 #直观解决,解决后在继续安装就OK!
2.安装软件
可以去第三方下载离线安装包:
选择SNAPS
然后搜索下载想安装的软件***.snap
,切换到下载文件目录终端执行snap install ***.snap
就OK。如果报错error: cannot find signatures with metadata for snap "***.snap"
,可以尝试snap install --dangerous ***.snap
.