相关疑难解决方法(0)

如何从 Ubuntu 中删除快照存储?

如何删除快照?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)

software-uninstall snap

114
推荐指数
4
解决办法
22万
查看次数

如何彻底去除snap并更换为flatpak?

我想删除 Ubuntu 上与snap相关的所有现有软件/软件包,并用flatpak替换。

如何在 Ubuntu 19.04 中完全删除 snap 并替换为 flatpak 而不崩溃或弄乱我现有的系统?

snap flatpak 19.04

15
推荐指数
2
解决办法
8873
查看次数

是否仍然可以使用某些第三方存储库将 Chromium 作为 deb 包安装在 20.04 LTS 上?

据了解,Chromium浏览器现在出货为DEB“过渡包-铬-浏览器- >铬抓拍”。

但这对于某些用户来说可能出乎意料,他们希望获得基于 deb 的正常版本。这怎么可能?

package-management apt chromium snap 20.04

6
推荐指数
3
解决办法
4407
查看次数

如何手动卸载 snap 包?

我正在尝试删除一个 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)

filesystem snap

5
推荐指数
1
解决办法
7809
查看次数

从 snap 安装的 Firefox 无法将文件保存到磁盘

将 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)

firefox snap 22.04

5
推荐指数
0
解决办法
1507
查看次数