系统不完全支持snapd:无法使用“squashfs - 安装失败”挂载squashfs映像

cra*_*aig 11 mount lxc snap 19.10

我尝试使用在我的 Ubuntu 实例上安装 PowerShell snap,但它会生成错误:

# sudo snap install powershell --classic
error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:
       /tmp/sanity-mountpoint-072786794: mount failed: Operation not permitted.
Run Code Online (Sandbox Code Playgroud)

我在 Turris Omnia 路由器上的 LXC 容器中运行 Ubuntu Eoan:

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 19.10
Release:    19.10
Codename:   eoan

# uname -m
armv7l

# snap --version
snap    2.42.1+19.10
snapd   2.42.1+19.10
series  16
ubuntu  19.10
kernel  4.14.162
Run Code Online (Sandbox Code Playgroud)

我能够在/tmp.

这篇文章表明我至少需要内核 4.4.0-6.21;我有4.14.162。

为什么会失败?

小智 9

我重新发布答案以使其更明显。感谢@user.dz

sudo apt install fuse squashfuse作品。

  • 这对我不起作用 (5认同)