Snapd on arm64 Ubuntu 21.04

I have a Raspberry pi with Ubuntu 21.04 (ARM64) installed. I can install snapd on it and it works just fine. I also have another iMX8 device which I just installed Ubuntu 21.04 (ARM64). On this device I tried to install snapd with apt. It looks like it went through the install OK and it install other dependences like squashfs etc. but when I do snap list it shows: root@localhost:~# snap list [11663.190087] Filesystem uses “xz” compression. This is not supported No snaps are installed yet. Try ‘snap install hello-world’. root@localhost:~# snap install hello-world [11691.473818] Filesystem uses “xz” compression. This is not supported error: system does not fully support snapd: cannot mount squashfs image using “squashfs”: mount: /tmp/sanity-mountpoint-986465734: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.

I suspect it might have something to do with the partitioning?
any ideas?

looks like there might be other differences. My RPI Ubuntu 21.04 has kernel 5.11.0 while my iMX8 has 5.10.35

I was able to get it working by rebuilding the kernel with the snap required needed configs

1 Like