Hi,
Im unable to install skype on arch.I am using
sudo snap install skype --classic
and i get an error message
error: cannot install “skype”: classic confinement is not yet supported on your distribution
What am i doing wrong?
thanks
Well that’s unfortunate. What’s the output of snap version
on your system?
It has been updated in the wiki, checkout https://wiki.archlinux.org/index.php/Snapd#Classic_snaps
i have created a symlink using
ln -s /var/lib/snapd/snap /snap
yet im getting the same error
Thanks
the output of snap version is
snap 2.32.5-3
snapd unknown
series 16
arch unknown
kernel 4.16.3-1-ARCH
If you can’t figure this out, the simplest solution is to just use the AUR package, https://aur.archlinux.org/packages/skypeforlinux-stable-bin which repackages the official Debian package.
Is this the only snap that gives you this error? If you don’t mind, try installing htop via snap:
snap install htop --classic
The only other thing I could find doing a quick search was this: https://github.com/dlang-snaps/dmd.snap/issues/11
But the post isn’t very helpful as the thread ends up just telling the user to install the application via Arch’s repos.
Also, as far as Solus and Ubuntu, both snap and snapd versions match when running snap --version
, see below:
Ubuntu Server 16.04.4
snap --version
snap 2.32.8
snapd 2.32.8
series 16
ubuntu 16.04
kernel 4.4.0-127-generic
Solus 3.9999
snap --version
snap 2.32.9
snapd 2.32.9
series 16
solus 3.9999
kernel 4.16.11-71.current
Symlink is all you need.
$ sudo snap install htop --classic
error: cannot install "htop": classic confinement requires snaps under /snap or
symlink from /snap to /var/lib/snapd/snap
$ sudo ln -s /var/lib/snapd/snap /snap
$ sudo snap install htop --classic
htop 2.2.0 from 'maxiberta' installed
The AUR package did ship the symlink at some point, but then we got reminded that it’s against Arch policy to meddle with the root directory and thus the symlink got removed. The snapd ArchWiki page contains the relevant instructions on how to address this problem.