用Ubuntu Software安装GitHub Desktop,等太久,强行退出,再次安装提示报错。
error: cannot install "GitHub Desktop": snap "github-desktop" has "install-snap" change in progress

查询变更日志
snap changes
发现Doing,有未完成的任务

ID是19,执行下面的命令取消任务
sudo snap abort 19
然后就可以重新开始安装了,再这之前,建议用代理,不然速度慢到怀疑人生,结果还是会中断安装。
参考
ubuntu中snap包的安装、更新删除与简单使用Linux脚本之家
https://www.jb51.net/article/128368.htm
Ubuntu中snap包的安装,删除,更新使用入门教程_Linux教程_Linux公社-Linux系统门户网站
https://www.linuxidc.com/Linux/2018-05/152385.htm
网友评论