小编Art*_*nin的帖子

从 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
查看次数

无法修复 Ubuntu 22.04 上损坏的 snap core22

在最近的一次系统更新后,snap 已损坏。例如,电报桌面停止工作。我设法删除了 telegram,但无法重新安装。原因是 core22 模块损坏:

\n
error: cannot perform the following tasks:\n- Run configure hook of "telegram-desktop" snap if present (run hook "configure": cannot locate base snap core22: No such file or directory)\n
Run Code Online (Sandbox Code Playgroud)\n

我尝试删除 core22 来修复该问题,但没有成功:

\n
error: cannot perform the following tasks:\n- Remove data for snap "core22" (522) (failed to remove snap "core22" base directory: remove /var/snap/core22: directory not empty)\n
Run Code Online (Sandbox Code Playgroud)\n

我也无法修复它。我尝试过sudo snap refresh core22 --edge,但它不起作用:

\n
error: cannot refresh "core22": refreshing disabled snap "core22" not …
Run Code Online (Sandbox Code Playgroud)

snap 22.04

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

标签 统计

22.04 ×2

snap ×2

firefox ×1