"squashfs" No such file or directory error

Hi from Turkey, i’m newbie in here and this is whole new world to me, I trying to install SSL in my owncloud following this steps i get error like below.

***SSL installation steps***

sudo dnf install epel-release

sudo dnf upgrade

sudo yum install snapd

sudo systemctl enable --now snapd.socket

sudo ln -s /var/lib/snapd/snap /snap

sudo snap install core  ⬅ THIS SECTION

sudo snap refresh core

i get theese errors :smirk:

[root@cdn ~]# sudo snap install core
    error: system does not fully support snapd: cannot mount squashfs image using
           "squashfs": mount: /tmp/sanity-squashfs-426710975: failed to setup loop
           device: No such file or directory

Here is my informations

[root@cdn ~]# snap version

snap 2.54.1-1.el7 snapd 2.54.1-1.el7

series 16

centos 7

kernel 2.6.32-042stab145.3

[root@cdn ~]#

CentOS Linux release 7.9.2009 (Core)

the 2.6 kernel version is antique … (about 18 years old) … it is likely to miss a lot of features …

seemingly the missing bit you hit here particularly is proper loop device support … but i guess overcoming this one (by asking your kernel maintainer to patch it in or enable it in the kernel config) will just make you hit the next road-block …

1 Like

hi, thanks for ur reply. @ogra According to your reply, i downloaded

kernel-3.10.0-1160.49.1.el7.x86_64.rpm

and i try to install like this,

rpm -ivh kernel-3.10.0-1160.49.1.el7.x86_64.rpm

i get theese errors

> [root@cdn ~]# rpm -ivh kernel-3.10.0-1160.49.1.el7.x86_64.rpm
> error: Failed dependencies:
>         grubby >= 8.28-2 is needed by kernel-3.10.0-1160.49.1.el7.x86_64
>         linux-firmware >= 20190429-72 is needed by kernel-3.10.0-1160.49.1.el7.x86_64
>         /usr/sbin/new-kernel-pkg is needed by kernel-3.10.0-1160.49.1.el7.x86_64

What now :smirk:

you seem to do this on a CDN, so perhaps the support of your cloud provider can help out ?

1 Like

it just a subdomain :slight_smile: not a cdn. pointed a record to vps so is there any solution?

edit: i kind of solve this problem my vps working on OpenVZ6. Cant update kernels .