System does not fully support snapd

After update to Manjaro KDE Plasma 21.1.6 , I can not install apps from snap and installed apps don’t work.
when I want to install an app it show this error:
System does not fully support snapd: cannot mount squashfs image using "squashfs": mount: /tmp/sanity-mountpoint-656829262: mount failed: Operation not permitted.

I have tried re installation of snap several time with different kernels. But problem did not solve!

Hi @hpd, and welcome!

  1. Please, see How to provide good information and, if applicable, see [HowTo] post screenshots and links
  2. Please provide the output of
systemctl status snapd.service

Please wrap any terminal output in three backticks (```) before as well as after the pasted text. Like this:

```
terminal output text
```

This just ensures that it’s displayed correctly, like this:

Rutrum arcu fusce
dolor gravida quisque
rutrum sollicitudin
nisl aliquam massa scelerisque maecenas morbi a.

instead of like this:

Rutrum arcu fusce dolor gravida quisque rutrum sollicitudin nisl aliquam massa scelerisque maecenas morbi a.

Thus increasing legibility.

Edit:

While I have to go, and doubt I’ll be the one helping you, or even able to help, the information is neccessary for anyone else to be able to help anyway.

1 Like
     Loaded: loaded (/usr/lib/systemd/system/snapd.service; enabled; vendor preset: disabled)
     Active: inactive (dead) since Wed 2021-11-17 10:39:04 +0330; 21min ago
TriggeredBy: ● snapd.socket
    Process: 2764 ExecStart=/usr/lib/snapd/snapd (code=exited, status=42)
   Main PID: 2764 (code=exited, status=42)
        CPU: 156ms

Nov 17 10:38:58 mypc systemd[1]: Starting Snap Daemon...
Nov 17 10:38:58 mypc snapd[2764]: AppArmor status: apparmor is enabled but some kernel features are missing:>
Nov 17 10:38:58 mypc snapd[2764]: daemon.go:248: started snapd/2.51.3-2 (series 16; classic; devmode) manjar>
Nov 17 10:38:58 mypc snapd[2764]: main.go:129: system does not fully support snapd: cannot mount squashfs im>
Nov 17 10:38:58 mypc snapd[2764]: daemon.go:341: adjusting startup timeout by 30s (pessimistic estimate of 3>
Nov 17 10:38:58 mypc systemd[1]: Started Snap Daemon.
Nov 17 10:39:04 mypc snapd[2764]: daemon.go:508: gracefully waiting for running hooks
Nov 17 10:39:04 mypc snapd[2764]: daemon.go:510: done waiting for running hooks
Nov 17 10:39:04 mypc snapd[2764]: daemon stop requested to wait for socket activation
Nov 17 10:39:04 mypc systemd[1]: snapd.service: Deactivated successfully.
lines 1-18/18 (END ) ```

Try:

sudo systemctl enable --now snapd.service

I have tried it. no output.
after that I tried : sudo snap install mysql

error: system does not fully support snapd: cannot mount squashfs image using "squashfs": mount:  /tmp/sanity-mountpoint-033916814: mount failed: Operation not permitted.

After some googling I found this page, which suggests:

FIX: My kernel didn’t have LOOPBACK support, recompile it with it, now snap works.

So my next question is, which kernel are you running? Because, I’m using 5.15 (installed it yesterday) and it seems to be fine.

(I’m sorry I can’t give you more information. I don’t have any, and have to be off now.)

thanks

1 Like
snap version
snap     2.51.3-2
snapd    2.51.3-2
series   16
manjaro  -
kernel   5.15.0-1-MANJARO

Have you managed?

If not, please provide the output of:

mhwd-kernel --listinstalled

Edit:

Never mind all of the above, have a look here: Cannot mount squashfs image using "squashfs": ... Operation not permitted - snapd - snapcraft.io It seems if I read correctly, it’s a relatively common misconfiguration somewhere. Somehow.

Are you fully updated?

Branch compare lists the 515 kernel in stable as 5.15.rc3 (staging/test/unstable 5.15-2-2)
Stable has version 2.51.3-2 of snapd so I assume you are on stable?

‍‍‍‍‍‍‍
mhwd-kernel --listinstalled

output:

Currently running: 5.15.0-1-MANJARO (linux515)
The following kernels are installed in your system:
   * linux513
   * linux514
   * linux515

I installed snap on all of above kernels . All gave me same error:

System does not fully support snapd: cannot mount squashfs image using "squashfs": mount: /tmp/sanity-mountpoint-656829262: mount failed: Operation not permitted.

‍‍‍```

Yes I’m fully updated.
i updated kernel from Manjaro Setting Manager

what happens if you do modprobe loop and try again?

1 Like

Thank you very very very much.

after rebooting I shoud run modprobe loop again!
How to solve the issue?

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.