You are not logged in.

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

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

[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
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,360

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.

clean chroot building to complicated ?
Try clean chroot manager by graysky

Online

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

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

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
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,360

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.

clean chroot building to complicated ?
Try clean chroot manager by graysky

Online

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

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

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

#6 2023-04-13 18:33:52

educemail
Member
Registered: 2023-04-13
Posts: 1

Re: [SOLVED]Problem with snapd.

I had the same issue and solved it with the following steps (caution you will need to reboot):

sudo pacman -Syu
sudo pacman -S linux-lts linux-lts-headers
sudo pacman -S squashfs-tools
sudo reboot
sudo modprobe squashfs

Offline

#7 2023-04-13 19:40:42

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,003

Re: [SOLVED]Problem with snapd.

Using this opportunity to close this old thread.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB