[英]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
解决了错误
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.