尝试挂载 snap 包时出现未知文件系统‘squashfs’

尝试挂载 snap 包时出现未知文件系统‘squashfs’
$ snap install hello-world
error: cannot perform the following tasks:
- Mount snap "core" (1689) ([start snap-core-1689.mount] failed with exit status 1: Job for snap-core-1689.mount failed. See "systemctl status snap-core-1689.mount" and "journalctl -xe" for details.)

似乎是 的问题squashfs,我已使用 进行了测试,以验证它在我的目录squashfs中无法使用加载文件。我正在运行 Ubuntu 16.04,不确定如何启用支持或是否可行。我在专用服务器上运行它。tmp*.squashsquashfs-toolssquashfs

snap-core-1689.mount - Mount unit for core
   Loaded: loaded (/etc/systemd/system/snap-core-1689.mount; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Wed 2017-06-14 12:13:03 EDT; 2min 17s ago
    Where: /snap/core/1689
     What: /var/lib/snapd/snaps/core_1689.snap
  Process: 6092 ExecMount=/bin/mount /var/lib/snapd/snaps/core_1689.snap /snap/core/1689 -t squashfs -o nodev,ro (code=exited, status=32)

Jun 14 12:13:03 hostname systemd[1]: Mounting Mount unit for core...
Jun 14 12:13:03 hostname mount[6092]: mount: unknown filesystem type 'squashfs'
Jun 14 12:13:03 hostname systemd[1]: snap-core-1689.mount: Mount process exited, code=exited status=32
Jun 14 12:13:03 hostname systemd[1]: Failed to mount Mount unit for core.
Jun 14 12:13:03 hostname systemd[1]: snap-core-1689.mount: Unit entered failed state.

答案1

我的专用服务器主机使用的是自定义内核,这是导致此问题的原因。当托管服务提供商似乎安装了发行版内核时,请注意不要安装。

相关内容