我正在尝试删除一个 snap 包,leagueoflegends,但我收到此错误:
error: cannot perform the following tasks:
- Disconnect leagueoflegends:desktop-legacy from core:desktop-legacy (internal error: connection "leagueoflegends:desktop-legacy core:desktop-legacy" not found in state)
- Disconnect leagueoflegends:wine-4-staging from wine-platform-4-staging:wine-4-staging (cannot setup apparmor for snap "leagueoflegends": cannot load apparmor profiles: exit status 10
apparmor_parser output:
)
- Disconnect leagueoflegends:wine-4-staging from wine-platform-4-staging:wine-4-staging (cannot load apparmor profiles: exit status 10
apparmor_parser output:
)
- Disconnect leagueoflegends:home from core:home (cannot setup apparmor for snap "leagueoflegends": cannot load apparmor profiles: exit status 10
apparmor_parser output:
)
- Disconnect leagueoflegends:home from core:home (cannot load apparmor profiles: exit status 10
apparmor_parser output:
)
- Disconnect leagueoflegends:icon-themes from gtk-common-themes:icon-themes (cannot setup apparmor for snap "leagueoflegends": cannot load apparmor profiles: exit status 10
apparmor_parser output:
)
- Disconnect leagueoflegends:icon-themes from gtk-common-themes:icon-themes (cannot load apparmor profiles: exit status 10
apparmor_parser output:
)
Run Code Online (Sandbox Code Playgroud)
我试图从除 /snap/leagueoflegends 之外的所有文件夹中删除 snap 包,在那里我收到写保护错误:“无法删除......“只读文件系统”。
如果您按照指示删除了文件,则可能造成了问题。
处理 snap 包的“正常”方法是通过 snap 实用程序。我在下面包含了帮助文本和示例,以使您对使用什么有一个印象。
如何确切地摆脱你所创造的情况是很难说的。
我建议您snap list
找出要删除的包的实际名称,然后尝试sudo snap remove packagename
- 为该包。
如果显示错误,那么您需要以理智的方式处理这些错误。
有关“快照”用法的一些提示...
$ 快照列表 <此处安装的软件包列表> $ snap 帮助 snap 命令允许您安装、配置、刷新和删除快照。 Snaps 是适用于许多不同 Linux 发行版的软件包, 实现最新应用程序和实用程序的安全交付和操作。 用法:快照 [...] - - - 8<- - - - - 有关命令的更多信息,请运行“snap help”。 有关所有命令的简短摘要,请运行“snap help --all”。 $ snap 帮助删除 用法: snap remove [remove-OPTIONS] ... remove 命令从系统中删除命名的快照实例。 默认情况下,所有快照修订都会被删除,包括它们的数据和 公共数据目录。当一个 --revision 选项只传递给指定的 修订版被删除。 [删除命令选项] --no-wait 不要等待操作完成而只是打印更改 ID。 --revision= 只删除给定的修订 $ sudo snap 删除...
请注意,至少需要“核心”才能使 snap 运行……我对这里的其他人不太确定,可能也需要它们。
$ 快照列表 名称 版本 Rev Tracking 出版商注释 core 16-2.39.3 7270 稳定规范?核 core18 20190709 1066 稳定规范?根据 gtk-common-themes 0.1-22-gab0a26b 1313 稳定规范?—— gtk2-common-themes 0.1 5 稳定规范?——
... 安装例如 gimp 或 vlc 各添加一行。
归档时间: |
|
查看次数: |
7809 次 |
最近记录: |