user1592380
user1592380

Reputation: 36337

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. I want to use the snap package manager. 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?

Upvotes: 30

Views: 56291

Answers (7)

IS4
IS4

Reputation: 13217

On CentOS 8, I tried all previous solutions, but eventually updating this solved it:

dnf install kernel-modules

After rebooting, lsmod | grep squashfs started showing squashfs.

Upvotes: 0

Muhammad Usama
Muhammad Usama

Reputation: 160

Go to /etc/modprobe.d directory and grep squashfs *. Edit the file that references the line below, and comment it out with a leading #.

#install squashfs /bin/true
#blacklist squashfs

Upvotes: 0

Detlef Kleinfelder
Detlef Kleinfelder

Reputation: 9

Under Redhat7 we have a file /etc/modprobe.d/NCIRC.conf with all unused file systems disabled. Removing the line: install squashfs /bin/true resolves the error here as well

Upvotes: 0

Mike Eager
Mike Eager

Reputation: 328

On Centos or Fedora:

sudo dnf install squashfs-tools squashfuse

Upvotes: 2

BdK
BdK

Reputation: 91

Under CentOS 8 we have a file /etc/modprobe.d/CIS.conf with all unused file systems disabled. Removing the line: install squashfs /bin/true resolves the error

Upvotes: 9

kcreddy
kcreddy

Reputation: 571

Try this way to install SNAPD

sudo apt install libsquashfuse0 squashfuse fuse 
sudo apt install snapd

Now select package name:

sudo snap install gimp 

Upvotes: 57

Dane B
Dane B

Reputation: 177

Try: sudo modprobe loop

Here is a relevant forum post based on your error.

Upvotes: 3

Related Questions