如何删除快照?apt 假装它不在那里,但我仍然可以用它调用命令。
试图 rm 它说“只读文件系统”
root@tunnel:/# apt remove snap
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'snap' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@tunnel:/# snap whoami
email: -
Run Code Online (Sandbox Code Playgroud) 我想删除 Ubuntu 上与snap相关的所有现有软件/软件包,并用flatpak替换。
如何在 Ubuntu 19.04 中完全删除 snap 并替换为 flatpak 而不崩溃或弄乱我现有的系统?
据了解,Chromium浏览器现在出货为DEB“过渡包-铬-浏览器- >铬抓拍”。
但这对于某些用户来说可能出乎意料,他们希望获得基于 deb 的正常版本。这怎么可能?
我正在尝试删除一个 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:
) …Run Code Online (Sandbox Code Playgroud) 将 Kubuntu 从 20 更新到 22 后,Firefox 已从 snap 强制安装。之后,我无法在任何地方下载和保存任何文件,而不仅仅是在主目录中。我已在 Kubuntu 的软件管理器(Discover)中向 Firefox 授予了所有显式权限,但没有效果。另外,我在从 snap 安装的其他应用程序中也遇到了类似的问题。我还可以尝试做什么来向这些应用程序授予所有权限?
UPD1。之前的 Kubuntu 版本是 20.04.4。我更新到22.04了
UPD2。输出为snap connections firefox
Interface Plug Slot Notes
audio-playback firefox:audio-playback :audio-playback -
audio-record firefox:audio-record :audio-record -
avahi-observe firefox:avahi-observe :avahi-observe -
browser-support firefox:browser-sandbox :browser-support -
camera firefox:camera :camera -
content[gnome-3-38-2004] firefox:gnome-3-38-2004 gnome-3-38-2004:gnome-3-38-2004 -
content[gtk-3-themes] firefox:gtk-3-themes gtk-common-themes:gtk-3-themes -
content[icon-themes] firefox:icon-themes gtk-common-themes:icon-themes -
content[sound-themes] firefox:sound-themes gtk-common-themes:sound-themes -
cups-control firefox:cups-control :cups-control -
dbus - firefox:dbus-daemon -
desktop firefox:desktop :desktop -
desktop-legacy firefox:desktop-legacy :desktop-legacy - …Run Code Online (Sandbox Code Playgroud)