Fedora 31 和 Snapd 问题

Fedora 31 和 Snapd 问题

我尝试在 Fedora31 上使用 snapd,但不成功.. 步骤 1 - 安装:

[otaviolarrosa@localhost ~]$ sudo dnf install snapd
Last metadata expiration check: 0:46:14 ago on Sat 04 Jan 2020 04:11:31 PM -03.
Dependencies resolved.
========================================================================================================================
 Package                  Architecture              Version                            Repository                  Size
========================================================================================================================
Installing:
 snapd                    x86_64                    2.42.2-1.fc31                      updates                     16 M

Transaction Summary
========================================================================================================================
Install  1 Package

Total download size: 16 M
Installed size: 60 M
Is this ok [y/N]: Y
Downloading Packages:
snapd-2.42.2-1.fc31.x86_64.rpm                                                                                                           1.4 MB/s |  16 MB     00:11    
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                    1.3 MB/s |  16 MB     00:12     
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                 1/1 
  Installing       : snapd-2.42.2-1.fc31.x86_64                                                                                                                      1/1 
  Running scriptlet: snapd-2.42.2-1.fc31.x86_64                                                                                                                      1/1 
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /usr/lib/systemd/system/snapd.socket.
Created symlink /etc/systemd/user/sockets.target.wants/snapd.session-agent.socket → /usr/lib/systemd/user/snapd.session-agent.socket.

  Verifying        : snapd-2.42.2-1.fc31.x86_64                                                                                                                      1/1 

Installed:
  snapd-2.42.2-1.fc31.x86_64                                                                                                                                             

Complete!

第 2 步 - 查看 snapd 的版本

[otaviolarrosa@localhost ~]$ snap version
snap    2.42.2-1.fc31
snapd   2.42.2-1.fc31
series  16
fedora  31
kernel  5.3.7-301.fc31.x86_64

第 3 步 - 尝试安装软件包

[otaviolarrosa@localhost ~]$ sudo snap install hello-world
error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:
       /tmp/sanity-mountpoint-803995619: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or helper program, or other error.

问题:我应该做一些我忘记的事情吗?如果是的话,什么?内核版本是否存在 snapd 问题?

答案1

https://blogs.gnome.org/hughsie/2019/07/12/gnome-software-in-fedora-will-no-longer-support-snapd/

GNOME 的一位开发人员表示,他们不会再更新 Fedora GNOME 发行版中的 snapd。显然这是一个过时/不安全的系统。

希望这可以帮助。我想如果您需要它,您可以回滚到早期受支持的版本。

相关内容