You are not logged in.

#1 2021-11-02 02:17:38

arnuld
Member
From: INDIA
Registered: 2005-12-19
Posts: 220
Website

[SOLVED] snapd can not install slack

I built snapd using AUR and when I try to install Slack, I get this error:

[arnuld@arch64 Downloads]$ sudo snap install slack 
error: This revision of snap "slack" was published using classic confinement and thus may perform
       arbitrary system changes outside of the security sandbox that snaps are usually confined to,
       which may put your system at risk.

       If you understand and want to proceed repeat the command including --classic.


[arnuld@arch64 Downloads]$ sudo snap install slack --classic
error: cannot install "slack": classic confinement requires snaps under /snap or symlink from /snap
       to /var/lib/snapd/snap

(AppArmor is installed and working fine)

UPDATE: I just needed to manually create a symlink as mentioned here: https://wiki.archlinux.org/title/Snap#Tips_and_tricks. Also, you might need to add /var/lib/snapd/snap/bin to your $PATH in your ~/.bashrc. Mostly, it will happen automatically and you only need to logout and login your shell. But if it doesn't then you need the manual edit.

Last edited by arnuld (2021-11-02 18:04:18)

Offline

Board footer

Powered by FluxBB