Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Trouble installing snaps

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
quartztz
Posts: 2
Joined: 2022-01-19 14:33

Trouble installing snaps

#1 Post by quartztz »

hey there! sorry if this is a dumb question/i'm not following proper forum etiquette, this is my first time on here. i'm running debian 11 on my chromebook through crostini, and i wanted to install snap packages. so i ran

Code: Select all

sudo apt install snapd
which ran without issue, and then as a test, i tried installing firefox. however, i got this message:

Code: Select all

$ sudo snap install firefox
error: cannot perform the following tasks:
- Setup snap "firefox" (863) security profiles (cannot setup udev for snap "firefox": cannot run udev triggers: exit status 1
udev output:
Failed to write 'change' to '/sys/devices/LNXSYSTM:00/uevent': Permission denied
)
- Setup snap "firefox" (863) security profiles (cannot run udev triggers: exit status 1
udev output:
Failed to write 'change' to '/sys/devices/LNXSYSTM:00/uevent': Permission denied
)
- Setup snap "firefox" (863) security profiles for auto-connections (cannot run udev triggers: exit status 1
udev output:
Failed to write 'change' to '/sys/devices/LNXSYSTM:00/uevent': Permission denied
)
does anybody know what's causing this? is it the fact i'm running through crostini?

thanks in advance for any and all kinds of help!! :3

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Trouble installing snaps

#2 Post by kedaha »

DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

quartztz
Posts: 2
Joined: 2022-01-19 14:33

Re: Trouble installing snaps

#3 Post by quartztz »

thanks for the suggestion! unfortunately, i tried all the suggested steps and it seems nothing has changed, i get the same errors as before :(

Shamak
Posts: 147
Joined: 2018-04-14 00:33
Has thanked: 11 times
Been thanked: 8 times

Re: Trouble installing snaps

#4 Post by Shamak »

Snapcraft has a Debian guide. I am no expert but it worked for me when installing chromium.

https://snapcraft.io/docs/installing-snap-on-debian

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Trouble installing snaps

#5 Post by kedaha »

Have you added any third-party sources to your sources.file?
If you haven't, then I'd suggest sending in a bug report.
I think you might as well remove the whole snapd shebang and use firefox from FlatPak, which might have versions of other applications you'd like to install from snap:

Code: Select all

$ flatpak search firefox
Name         Description                                                                            Application ID                Version     Branch Remotes
Firefox      Fast, Private & Safe Web Browser                                                       org.mozilla.firefox           96.0.2      stable flathub
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

h0wefield
Posts: 10
Joined: 2021-12-14 21:38
Has thanked: 2 times

Re: Trouble installing snaps

#6 Post by h0wefield »

Could be down to the slightly old snapd package in Bullseye.

Try asking on https://forum.snapcraft.io/ or IRC : #snapcraft

Daemonicvs
Posts: 6
Joined: 2021-09-22 19:45
Has thanked: 1 time

Re: Trouble installing snaps

#7 Post by Daemonicvs »

Hello there,

Are you on Cinnamon, by a chance?, I ran debian testing, on Cinnamon, and I had the issue of snaps being installed correctly, but failed to create a proper launcher on the applications list, but I could see the snap installed (snap list), if this is your case, take a look at this,

https://discourse.destinationlinux.netw ... sting/4294

Thats my thread over there,

Also, you are supposed to install, unmask, enable and start snapd service,

apt install snapd
systemctl unmask snapd.service
systemctl enable snapd.service
systemctl start snapd.service

Those are my two cents.
Laters.

Post Reply