You are not logged in.
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