我刚刚完成了Ubuntu18.04的安装,但是每当我试图从Ubuntu软件安装任何应用程序时,都会发生同样的错误(例如"vlc"):
无法安装"vlc":snap "vlc“正在更改中。
我希望有人能告诉我我做错了什么。
发布于 2018-04-28 08:41:17
Snap可能还在做一些背景工作(至少它认为是这样的)。打开一个终端并运行snap changes
,这样就可以看到正在进行的更改列表。
$ snap changes
...
123 Doing 2018-04-28T10:40:11Z - Install "foo" snap
...
您可以中止正在进行的更改(S):
sudo snap abort 123
然后,您应该能够通过软件中心或使用snap install vlc
通过命令行成功地安装VLC。
发布于 2018-08-03 16:55:22
打开终端,按照以下步骤操作。
通过运行命令snap changes
检查您的快照"vlc“进程,这将显示类似于此的snaps安装的状态列表。
ID Status Spawn Ready Summary
3 Done today at 22:29 WIB today at 22:31 WIB Auto-refresh 6 snaps
4 Done today at 22:56 WIB today at 22:58 WIB Install "gitter-desktop" snap
5 Done today at 22:59 WIB today at 22:59 WIB Disconnect gitter-desktop:home from :
6 Done today at 22:59 WIB today at 22:59 WIB Disconnect gitter-desktop:pulseaudio from :
7 Doing today at 23:21 WIB - Install "spotify" snap
8 Doing today at 23:24 WIB - Install "vlc" snap
的ID
选择"vlc“管理单元的ID作为示例8
中止管理过程
通过运行命令snap abort 8
来中止快照进程。此操作将中止您的vlc快照安装过程。
运行snap安装
sudo snap install vlc
发布于 2020-05-21 14:42:02
打开终端并在终端中键入以下命令。
snap changes
您将看到以下结果
ID Status Spawn Ready Summary
3 Done today at 17:04 IST today at 17:10 IST Auto-refresh snaps "core18", "gnome-3-34-1804", "snap-store"
4 Done today at 19:59 IST today at 20:01 IST Install "stickynotes" snap from "latest/stable" channel
注意这个输出中的id。在这里,它的4(用于粘性笔记应用程序)。您需要通过运行以下命令来中止该快照操作。
sudo snap abort 4
在此之后,尝试再次安装它。如果仍有此错误,请重新启动系统,然后再试一次。并尝试刷新您的包也。
sudo snap refresh stickynotes
谢谢,希望这能帮上忙!
https://askubuntu.com/questions/1029117
复制相似问题