khadas@Khadas:~$ sudo snap install hello*
error: system does not fully support snapd: cannot mount squashfs image using
"squashfs": mount: /tmp/sanity-mountpoint-325640681: unknown filesystem
type 'squashfs'.
khadas@Khadas:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal
khadas@Khadas:~$ cd /usr/src/linux-headers-4.9.241/fs/squashfs
khadas@Khadas:/usr/src/linux-headers-4.9.241/fs/squashfs$ modprobe squashfs
modprobe: FATAL: Module squashfs not found in directory /lib/modules/4.9.241
khadas@Khadas:/usr/src/linux-headers-4.9.241/fs/squashfs$ ls
Kconfig Makefile
yes your image works fine I can install and run lxd snap.
khadas@Khadas:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 10 (buster)
Release: 10
Codename: buster
khadas@Khadas:~$ snap list
Name Version Rev Tracking Publisher Notes
core 16-2.54.3 12726 latest/stable canonical✓ core
core20 20220114 1332 latest/stable canonical✓ base
lxd 4.0.8 21843 4.0/stable canonical✓ -
just some selinux warning comes as below when running command but I am fine with it.
lxd init
2022/02/18 14:55:45.370395 cmd_run.go:1030: WARNING: cannot create user data directory: failed to verify SELinux context of /root/snap: exec: "matchpathcon": executable file not found in $PATH