AWS EC2 LINUX 2023 || error: system does not fully support snapd: cannot mount squashfs image using "squashfs" (wrong fs type, bad option, bad superblock)

I’m running AMAZON LINUX 2023 in a EC2 instance on a AWS. (I am trying to install core)

SNAP VERSION:

  • snap 2.58.3-1.el8
  • snapd 2.58.3-1.el8
  • series 16
  • amzn 2023
  • kernel 6.1.21-1.45.amzn2023.aarch64

ERROR MESSAGE:

error: system does not fully support snapd: cannot mount squashfs image using “squashfs”: mount: /tmp/syscheck-mountpoint-1546582130: wrong fs type, bad option, bad superblock on /dev/loop0, missing codepage or helper program, or other error.

rpm -qa kernel* | sort

  • kernel-6.1.21-1.45.amzn2023.aarch64
  • kernel-headers-6.1.21-1.45.amzn2023.aarch64
  • kernel-livepatch-repo-s3-2023.0.20230329-0.amzn2023.noarch
  • kernel-srpm-macros-1.0-14.amzn2023.0.2.noarch
  • kernel-tools-6.1.21-1.45.amzn2023.aarch64

-Squashfuse is installed.

Did you find a fix for this?

My search revealed… that installing squash fuse will fix the problem

#sudo apt install fuse squashfuse