You are not logged in.

#1 2021-03-24 15:21:51

Tar3k Hasan
Member
Registered: 2021-03-19
Posts: 14

[SOLVED]Problem with snapd.

So I'm having problem with snapd/snap for a while now. I can't install any packages.

[INPUT] sudo snap install Spotify

[OUTPUT] error: system does not fully support snapd: cannot mount squashfs image using
                   "squashfs": mount: /tmp/sanity-mountpoint-938841709: mount failed: Operation not permitted.
JytX44j

I searched for the solution in several forums but nothing worked. Did anyone faced this issue? In some forum I found that it has something to do with kernel. I'm on LTS kernel.

My kernel version is- 5.10.25-1-lts

Last edited by Tar3k Hasan (2021-04-01 20:42:50)

Offline

#2 2021-03-24 18:09:49

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,019

Re: [SOLVED]Problem with snapd.

Wiki says you should run it with root rights, which is not the same as using sudo .

Does it work while logged in as root ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2021-03-24 20:00:33

Tar3k Hasan
Member
Registered: 2021-03-19
Posts: 14

Re: [SOLVED]Problem with snapd.

Lone_Wolf wrote:

Wiki says you should run it with root rights, which is not the same as using sudo .

Does it work while logged in as root ?

It shows the same error. I did sudo su then snap install spotify. It's still the same. And would I be able to use spotify as another user if I install it as root. I have to edit permission for every package I install. I don't think that's the right way. Well I tried many solution but nothing worked.

Offline

#4 2021-03-25 19:20:35

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 9,019

Re: [SOLVED]Problem with snapd.

On archlinux snaps have to be installed as root, please read https://wiki.archlinux.org/index.php/Snap#Installing thoroughly .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
Did you use the guided installer ? If yes, I can't help you.

(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2021-04-01 20:39:50

Tar3k Hasan
Member
Registered: 2021-03-19
Posts: 14

Re: [SOLVED]Problem with snapd.

Well I Solved the problem. I had to reinstall the whole system. I found that I installed snap when I had linux kernel. But I switched to linux-lts kernel after installing snaps.

Offline

Board footer

Powered by FluxBB