简体   繁体   English

ChromeOS:错误:系统不完全支持 snapd:无法使用“squashfs”挂载 squashfs 映像:挂载:

[英]ChromeOS: error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:

I'm working with chromeos 80 and am using debian buster in crostini.我正在使用 chromeos 80 并在 crostini 中使用 debian buster。 I want to use the snap package manager.我想使用 snap 包管理器。 When I try:当我尝试:

~$sudo snap install hello-world
error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:
   /tmp/sanity-mountpoint-962423259: mount failed: Operation not permitted.

How can I get this working?我怎样才能让它工作?

Try this way to install SNAPD试试这样安装SNAPD

sudo apt install libsquashfuse0 squashfuse fuse 
sudo apt install snapd

Now select package name:现在选择包名称:

sudo snap install gimp 

Under CentOS 8 we have a file /etc/modprobe.d/CIS.conf with all unused file systems disabled.在 CentOS 8 下,我们有一个文件/etc/modprobe.d/CIS.conf其中禁用了所有未使用的文件系统。 Removing the line: install squashfs /bin/true resolves the error删除该行: install squashfs /bin/true解决了错误

Try: sudo modprobe loop尝试: sudo modprobe loop

Here is a relevant forum post based on your error. 是基于您的错误的相关论坛帖子。

Under Redhat7 we have a file /etc/modprobe.d/NCIRC.conf with all unused file systems disabled.在 Redhat7 下,我们有一个文件 /etc/modprobe.d/NCIRC.conf,其中禁用了所有未使用的文件系统。 Removing the line: install squashfs /bin/true resolves the error here as well删除该行: install squashfs /bin/true 也解决了此处的错误

On Centos or Fedora:在 Centos 或 Fedora 上:

$ sudo dnf install squashfs-tools squashfuse $ sudo dnf install squashfs-tools squashfuse

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM