Trouble installing an app with Snap

I just set up a new linux machine, installed snapd and tried to install an app through it.

Here’s the output I got when I did.

error: system does not fully support snapd: cannot mount squashfs image using "squashfs": -----
       mount: /tmp/syscheck-mountpoint-3906756271: unknown filesystem type 'squashfs'.

       dmesg(1) may have more information after failed mount system call.

So here’s my machines info.

System:
  Kernel: 6.1.0-16-amd64 [6.1.67-1] arch: x86_64 bits: 64 compiler: gcc v: 12.2.0
    parameters: BOOT_IMAGE=/vmlinuz-6.1.0-16-amd64 root=UUID=<filter> ro quiet splash slab_nomerge
    slub_debug=FZ init_on_alloc=1 init_on_free=1 page_alloc.shuffle=1 pti=on vsyscall=none
    debugfs=off oops=panic loglevel=0 spectre_v2=on spec_store_bypass_disable=on tsx=off
    tsx_async_abort=full,nosmt mds=full,nosmt l1tf=full,force nosmt=force kvm.nx_huge_pages=force
    ipv6.disable=1 apparmor=1 security=apparmor random.trust_cpu=off intel_iommu=on amd_iommu=on
    efi=disable_early_pci_dma
  Desktop: Xfce v: 4.18.1 tk: Gtk v: 3.24.36 info: xfce4-panel wm: xfwm v: 4.18.0 vt: 7
    dm: LightDM v: 1.26.0 Distro: MX-23.1_x64 Libretto October 15  2023 base: Debian GNU/Linux 12
    (bookworm)
Machine:
  Type: Laptop System: TOSHIBA product: SATELLITE PRO L870-13U v: PSKBME-00C005EN
    serial: <superuser required>
  Mobo: Type2 - Board Vendor Name1 model: Type2 - Board Product Name1 v: Type2 - Board Version
    serial: <superuser required> UEFI-[Legacy]: Insyde v: 1.50 date: 06/20/2012
Battery:
  ID-1: BAT0 charge: 35.7 Wh (100.0%) condition: 35.7/48.4 Wh (73.7%) volts: 12.4 min: 10.8
    model: TKBSS NS2P3SZMC4WR type: Li-ion serial: N/A status: full
CPU:
  Info: model: Intel Core i5-3210M bits: 64 type: MCP arch: Ivy Bridge gen: core 3 level: v2
    built: 2012-15 process: Intel 22nm family: 6 model-id: 0x3A (58) stepping: 9 microcode: 0x21
  Topology: cpus: 1x cores: 2 smt: disabled cache: L1: 128 KiB desc: d-2x32 KiB; i-2x32 KiB
    L2: 512 KiB desc: 2x256 KiB L3: 3 MiB desc: 1x3 MiB
  Speed (MHz): avg: 1212 high: 1225 min/max: 1200/3100 scaling: driver: intel_cpufreq
    governor: ondemand cores: 1: 1200 2: 1225 bogomips: 9977
  Flags: avx ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: KVM: VMX unsupported
  Type: l1tf mitigation: PTE Inversion
  Type: mds mitigation: Clear CPU buffers; SMT disabled
  Type: meltdown mitigation: PTI
  Type: mmio_stale_data status: Unknown: No mitigations
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
  Type: spectre_v2 mitigation: Retpolines, IBPB: always-on, IBRS_FW, STIBP: disabled, RSB
    filling, PBRSB-eIBRS: Not affected
  Type: srbds status: Vulnerable: No microcode
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: AMD Thames [Radeon HD 7500M/7600M Series] vendor: Toshiba driver: radeon v: kernel
    alternate: amdgpu arch: TeraScale-2 code: Evergreen process: TSMC 32-40nm built: 2009-15 pcie:
    gen: 2 speed: 5 GT/s lanes: 16 ports: active: LVDS-1 empty: HDMI-A-1,VGA-1 bus-ID: 01:00.0
    chip-ID: 1002:6840 class-ID: 0300 temp: 38.5 C
  Display: x11 server: X.Org v: 1.21.1.7 compositor: xfwm v: 4.18.0 driver: X: loaded: radeon
    unloaded: fbdev,modesetting,vesa dri: r600 gpu: radeon display-ID: :0.0 screens: 1
  Screen-1: 0 s-res: 1600x900 s-dpi: 96 s-size: 423x238mm (16.65x9.37") s-diag: 485mm (19.11")
  Monitor-1: LVDS-1 mapped: LVDS res: 1600x900 hz: 60 size: N/A modes: max: 1600x900 min: 640x480
  API: OpenGL v: 4.5 Mesa 22.3.6 renderer: AMD TURKS (DRM 2.50.0 / 6.1.0-16-amd64 LLVM 15.0.6)
    direct-render: Yes
Audio:
  Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: Toshiba 7
    driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:1e20 class-ID: 0403
  Device-2: AMD Turks HDMI Audio [Radeon HD 6500/6600 / 6700M Series] vendor: Toshiba
    driver: snd_hda_intel v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 16 bus-ID: 01:00.1
    chip-ID: 1002:aa90 class-ID: 0403
  API: ALSA v: k6.1.0-16-amd64 status: kernel-api tools: alsamixer,amixer
  Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse status: active
    2: wireplumber status: active 3: pipewire-alsa type: plugin 4: pw-jack type: plugin
    tools: pactl,pw-cat,pw-cli,wpctl
Network:
  Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter vendor: Lite-On driver: ath9k
    v: kernel modules: wl pcie: gen: 1 speed: 2.5 GT/s lanes: 1 bus-ID: 08:00.0 chip-ID: 168c:0032
    class-ID: 0280
  IF: wlan0 state: up mac: <filter>
Bluetooth:
  Device-1: Toshiba Bluetooth USB Host Controller type: USB driver: N/A bus-ID: 2-1.3:4
    chip-ID: 0930:0219 class-ID: e001 serial: <filter>
Drives:
  Local Storage: total: 348.57 GiB used: 23.51 GiB (6.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 860 EVO 250GB size: 232.89 GiB
    block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: 3B6Q
    scheme: MBR
  ID-2: /dev/sdc maj-min: 8:32 type: USB vendor: SanDisk model: Ultra Fit size: 115.69 GiB
    block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 1.00 scheme: MBR
  SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition:
  ID-1: / raw-size: 231.87 GiB size: 227.17 GiB (97.97%) used: 21.25 GiB (9.4%) fs: ext4
    dev: /dev/dm-0 maj-min: 253:0 mapped: luks-<filter>
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%) used: 191.1 MiB (19.6%) fs: ext4
    dev: /dev/sda1 maj-min: 8:1
Swap:
  Kernel: swappiness: 1 (default 60) cache-pressure: 100 (default)
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swap/swap
Sensors:
  System Temperatures: cpu: 48.0 C mobo: N/A gpu: radeon temp: 38.5 C
  Fan Speeds (RPM): N/A
Repos:
  Packages: 2828 pm: dpkg pkgs: 2816 libs: 1554 tools: apt,apt-get,aptitude,nala,synaptic pm: rpm
    pkgs: 0 pm: flatpak pkgs: 12
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/airvpn-stable.list
    1: deb http://eddie.website/repository/apt stable main
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
    1: deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/debian.list
    1: deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    2: deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
  Active apt repos in: /etc/apt/sources.list.d/librewolf.list
    1: deb [arch=amd64] http://deb.librewolf.net bookworm main
  Active apt repos in: /etc/apt/sources.list.d/mx.list
    1: deb https://mirrors.ocf.berkeley.edu/mx-packages/mx/repo/ bookworm main non-free
  Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
    1: deb [arch=amd64] https://updates.signal.org/desktop/apt xenial main
  Active apt repos in: /etc/apt/sources.list.d/vscodium.list
    1: deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs vscodium main
Info:
  Processes: 219 Uptime: 3m wakeups: 1 Memory: 3.78 GiB used: 1.09 GiB (28.8%) Init: systemd v: 252
  target: graphical (5) default: graphical tool: systemctl Compilers: gcc: 12.2.0 alt: 12
  Client: shell wrapper v: 5.2.15-release inxi: 3.3.26
Boot Mode: BIOS (legacy, CSM, MBR)

Hi ! @BlockClocker .

When you execute this command, what do you obtain ?

modinfo squashfs

$ modinfo squashfs
filename:       /lib/modules/6.1.0-16-amd64/kernel/fs/squashfs/squashfs.ko
license:        GPL
author:         Phillip Lougher <phillip@squashfs.org.uk>
description:    squashfs 4.0, a compressed read-only filesystem
alias:          fs-squashfs
depends:        
retpoline:      Y
intree:         Y
name:           squashfs
vermagic:       6.1.0-16-amd64 SMP preempt mod_unload modversions 
sig_id:         PKCS#7
signer:         Debian Secure Boot CA
sig_key:        32:A0:28:7F:84:1A:03:6F:A3:93:C1:E0:65:C4:3A:E6:B2:42:26:43
sig_hashalgo:   sha256
signature:      4D:CC:9A:B5:E5:FD:6F:05:53:46:76:84:2E:59:31:20:34:1C:A5:41:
		1C:3B:72:56:36:1E:83:13:C8:6E:9B:4E:41:5F:4A:37:F1:52:AA:20:
		D2:96:AF:7C:82:23:DE:50:B2:0F:21:37:36:80:16:FA:EF:8F:92:E3:
		6F:57:F0:54:DA:47:E8:F2:B1:5A:86:5C:AB:52:E3:9D:4E:92:58:2D:
		2C:CC:36:61:BF:AB:BA:5C:14:08:9E:EF:3E:20:88:BD:33:76:1B:C9:
		52:A4:0F:C2:84:D2:A8:5E:D9:A9:F7:5B:BF:80:F0:F1:9D:1F:74:79:
		B9:23:AF:61:0E:D6:72:BD:E1:A5:84:C3:AF:21:BE:58:B8:B5:EE:7E:
		C7:10:DE:82:F9:87:FE:B4:C4:C8:60:62:5F:3B:3F:E8:FB:4E:E1:FB:
		E4:DE:08:AB:82:95:7E:D4:0B:93:7E:09:E4:25:EC:89:87:6B:C1:AF:
		03:C4:50:28:54:D3:F9:FF:EC:6C:2B:9C:4E:0C:E0:55:23:82:01:B4:
		66:B9:C1:2C:D4:F2:87:B8:34:54:3A:65:62:51:79:4B:43:FE:40:ED:
		7E:98:99:C8:DE:0D:48:6F:D8:C2:5A:09:B8:9E:FC:F8:2B:EE:58:B2:
		3C:68:8C:5B:C0:E5:16:A2:4D:17:A4:A4:5E:8F:E4:87

Try with this scenario .

Reinstall squashfs-tools via this command :

sudo apt install --reinstall squashfs-tools

And execute this command to load the module :

sudo modprobe squashfs

Then reboot your machine .

@BlockClocker , if this scenario does not work. Perhaps, you should reinstall snapd and restart the service . .

Hi @baldeuniversel

So here’s how it all went down. I reinstalled squashfs.

user@host:~
$ sudo apt-get install --reinstall squashfs-tools
[sudo] password for user:                                 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cgmanager libcgmanager0 libcurses-perl libcurses-ui-perl libnih-dbus1 libnih1
  libterm-readkey-perl
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 183 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://deb.debian.org/debian bookworm/main amd64 squashfs-tools amd64 1:4.5.1-1 [183 kB]
Fetched 183 kB in 0s (496 kB/s)        
(Reading database ... 375568 files and directories currently installed.)
Preparing to unpack .../squashfs-tools_1%3a4.5.1-1_amd64.deb ...
Unpacking squashfs-tools (1:4.5.1-1) over (1:4.5.1-1) ...
Setting up squashfs-tools (1:4.5.1-1) ...
Processing triggers for man-db (2.11.2-2) ...
user@host:~
$ sudo modprobe squashfs
: not found/false
modprobe: ERROR: ../libkmod/libkmod-module.c:1047 command_do() Error running install command '/bin/f' for module squashfs: retcode 127
modprobe: ERROR: could not insert 'squashfs': Invalid argument
user@host:~

Then I removed and reinstalled snapd before trying to install some software through it again…

user@host:~
$ sudo snap install accountable2you
[sudo] password for user:                                 
error: system does not fully support snapd: cannot mount squashfs image using "squashfs": -----
       mount: /tmp/syscheck-mountpoint-3361833421: unknown filesystem type 'squashfs'.

       dmesg(1) may have more information after failed mount system call.

       -----
user@host:~
$ sudo apt purge snapd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cgmanager libcgmanager0 libcurses-perl libcurses-ui-perl libnih-dbus1 libnih1
  libterm-readkey-perl
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  snapd*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 61.4 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 375566 files and directories currently installed.)
Removing snapd (2.57.6-1+b5) ...
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
(Reading database ... 375494 files and directories currently installed.)
Purging configuration files for snapd (2.57.6-1+b5) ...
Discarding preserved snap namespaces
Final directory cleanup
Removing extra snap-confine apparmor rules
Removing snapd cache
Removing snapd state
user@host:~
$ sudo systemctl status snapd
Unit snapd.service could not be found.
user@host:~
$ 
user@host:~
$ sudo apt-get install snapd
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cgmanager libcgmanager0 libcurses-perl libcurses-ui-perl libnih-dbus1 libnih1
  libterm-readkey-perl
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  zenity | kdialog
The following NEW packages will be installed:
  snapd
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/14.9 MB of archives.
After this operation, 61.4 MB of additional disk space will be used.
Selecting previously unselected package snapd.
(Reading database ... 375487 files and directories currently installed.)
Preparing to unpack .../snapd_2.57.6-1+b5_amd64.deb ...
Unpacking snapd (2.57.6-1+b5) ...
Setting up snapd (2.57.6-1+b5) ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.aa-prompt-listener.service → /lib/systemd/system/snapd.aa-prompt-listener.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.apparmor.service → /lib/systemd/system/snapd.apparmor.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.recovery-chooser-trigger.service → /lib/systemd/system/snapd.recovery-chooser-trigger.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.seeded.service → /lib/systemd/system/snapd.seeded.service.
Created symlink /etc/systemd/system/cloud-final.service.wants/snapd.seeded.service → /lib/systemd/system/snapd.seeded.service.
Unit /lib/systemd/system/snapd.seeded.service is added as a dependency to a non-existent unit cloud-final.service.
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.service → /lib/systemd/system/snapd.service.
Created symlink /etc/systemd/system/sockets.target.wants/snapd.socket → /lib/systemd/system/snapd.socket.
Processing triggers for gnome-menus (3.36.0-1.1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for dbus (1.14.10-1~deb12u1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
user@host:~
$ sudo systemctl status snapd
○ snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; preset: enabled)
     Active: inactive (dead) since Sun 2023-12-24 09:31:46 UTC; 3s ago
   Duration: 5.012s
TriggeredBy: ● snapd.socket
    Process: 2967 ExecStart=/usr/lib/snapd/snapd (code=exited, status=42)
   Main PID: 2967 (code=exited, status=42)
        CPU: 5.938s

Dec 24 09:31:41 host snapd[2967]: -----
Dec 24 09:31:41 host snapd[2967]: daemon.go:340: adjusting startup timeout by 30s (pessimistic esti>
Dec 24 09:31:41 host snapd[2967]: helpers.go:147: error trying to compare the snap system key: syst>
Dec 24 09:31:41 host systemd[1]: Started snapd.service - Snap Daemon.
Dec 24 09:31:46 host snapd[2967]: daemon.go:521: gracefully waiting for running hooks
Dec 24 09:31:46 host snapd[2967]: daemon.go:523: done waiting for running hooks
Dec 24 09:31:46 host snapd[2967]: overlord.go:504: Released state lock file
Dec 24 09:31:46 host snapd[2967]: daemon stop requested to wait for socket activation
Dec 24 09:31:46 host systemd[1]: snapd.service: Deactivated successfully.
Dec 24 09:31:46 host systemd[1]: snapd.service: Consumed 5.938s CPU time.
user@host:~
$ sudo systemctl enable snapd
user@host:~
$ sudo systemctl status snapd
○ snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; preset: enabled)
     Active: inactive (dead) since Sun 2023-12-24 09:31:46 UTC; 21s ago
   Duration: 5.012s
TriggeredBy: ● snapd.socket
   Main PID: 2967 (code=exited, status=42)
        CPU: 5.938s

Dec 24 09:31:41 host snapd[2967]: -----
Dec 24 09:31:41 host snapd[2967]: daemon.go:340: adjusting startup timeout by 30s (pessimistic esti>
Dec 24 09:31:41 host snapd[2967]: helpers.go:147: error trying to compare the snap system key: syst>
Dec 24 09:31:41 host systemd[1]: Started snapd.service - Snap Daemon.
Dec 24 09:31:46 host snapd[2967]: daemon.go:521: gracefully waiting for running hooks
Dec 24 09:31:46 host snapd[2967]: daemon.go:523: done waiting for running hooks
Dec 24 09:31:46 host snapd[2967]: overlord.go:504: Released state lock file
Dec 24 09:31:46 host snapd[2967]: daemon stop requested to wait for socket activation
Dec 24 09:31:46 host systemd[1]: snapd.service: Deactivated successfully.
Dec 24 09:31:46 host systemd[1]: snapd.service: Consumed 5.938s CPU time.
...skipping...
○ snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; preset: enabled)
     Active: inactive (dead) since Sun 2023-12-24 09:31:46 UTC; 21s ago
   Duration: 5.012s
TriggeredBy: ● snapd.socket
   Main PID: 2967 (code=exited, status=42)
        CPU: 5.938s

Dec 24 09:31:41 host snapd[2967]: -----
Dec 24 09:31:41 host snapd[2967]: daemon.go:340: adjusting startup timeout by 30s (pessimistic esti>
Dec 24 09:31:41 host snapd[2967]: helpers.go:147: error trying to compare the snap system key: syst>
Dec 24 09:31:41 host systemd[1]: Started snapd.service - Snap Daemon.
Dec 24 09:31:46 host snapd[2967]: daemon.go:521: gracefully waiting for running hooks
Dec 24 09:31:46 host snapd[2967]: daemon.go:523: done waiting for running hooks
Dec 24 09:31:46 host snapd[2967]: overlord.go:504: Released state lock file
Dec 24 09:31:46 host snapd[2967]: daemon stop requested to wait for socket activation
Dec 24 09:31:46 host systemd[1]: snapd.service: Deactivated successfully.
Dec 24 09:31:46 host systemd[1]: snapd.service: Consumed 5.938s CPU time.
~
~
~
~
~
~
~
~
~
user@host:~
$ sudo systemctl start snapd
user@host:~
$ sudo systemctl status snapd
● snapd.service - Snap Daemon
     Loaded: loaded (/lib/systemd/system/snapd.service; enabled; preset: enabled)
     Active: active (running) since Sun 2023-12-24 09:32:19 UTC; 1s ago
TriggeredBy: ● snapd.socket
   Main PID: 3132 (snapd)
      Tasks: 8 (limit: 4545)
     Memory: 8.8M
        CPU: 82ms
     CGroup: /system.slice/snapd.service
             └─3132 /usr/lib/snapd/snapd

Dec 24 09:32:19 host snapd[3132]: patch.go:64: Patching system state level 6 to sublevel 2...
Dec 24 09:32:19 host snapd[3132]: patch.go:64: Patching system state level 6 to sublevel 3...
Dec 24 09:32:19 host snapd[3132]: daemon.go:247: started snapd/2.57.6-1+b5 (series 16; classic; dev>
Dec 24 09:32:19 host snapd[3132]: main.go:129: system does not fully support snapd: cannot mount sq>
Dec 24 09:32:19 host snapd[3132]: -----
Dec 24 09:32:19 host snapd[3132]: mount: /tmp/syscheck-mountpoint-30057070: unknown filesystem type>
Dec 24 09:32:19 host snapd[3132]:        dmesg(1) may have more information after failed mount syst>
Dec 24 09:32:19 host snapd[3132]: -----
Dec 24 09:32:19 host snapd[3132]: daemon.go:340: adjusting startup timeout by 30s (pessimistic esti>
Dec 24 09:32:19 host systemd[1]: Started snapd.service - Snap Daemon.
user@host:~
$ sudo snap install accountable2you
error: system does not fully support snapd: cannot mount squashfs image using "squashfs": -----
       mount: /tmp/syscheck-mountpoint-1486128601: unknown filesystem type 'squashfs'.

       dmesg(1) may have more information after failed mount system call.

       -----

Hi ! @BlockClocker .

There is an error here :

sudo modprobe squashfs : not found/false modprobe: ERROR: …/libkmod/libkmod-module.c:1047 command_do() Error running install command ‘/bin/f’ for module squashfs: retcode 127 modprobe: ERROR: could not insert ‘squashfs’: Invalid argument user@host:~

So what do you make of it?

Try again to reload squashfs .

sudo modprobe -r squashfs (to remove)

sudo modprobe squashfs (to load)

Then restart your computer .

Unfortunately, I got another error message when I tried this.

$ sudo modprobe -r squashfs
[sudo] password for user:                                 
user@host:~
$ sudo modprobe squashfs
: not found/false
modprobe: ERROR: ../libkmod/libkmod-module.c:1047 command_do() Error running install command '/bin/f' for module squashfs: retcode 127
modprobe: ERROR: could not insert 'squashfs': Invalid argument

I think I’m just going to reinstall my Linux distro since I did some editing of the sysctl.config and other files to harden my system, which probably messed with snapd.

Try to install or reinstall kmod used by squashfs via this command :

sudo apt-get install --reinstall kmod

Then reinstall module-init-tools via this command .

sudo apt-get install --reinstall module-init-tools

Then, try to load again squashfs .

I think that, there are corrupted or missing files somewhere . :slight_smile:

Then I’m reinstalling my OS. Fingers crossed.

@BlockClocker, did you try the last scenario ?

I did but apt said there was no install candidate for the module-init-tools package. Sorry I forgot to save the output.

Anyway, I already reinstalled the OS.

Okay ! I see :slightly_smiling_face: @BlockClocker .

Please, tell me if reinstalling the OS fixed the problem.

It did. Installing snapd then any snap software was the first thing I did (after updating the OS) and it worked!

Okay , well.

Glad it worked . :slightly_smiling_face: