Snap installation fails

Reply

Snap installation fails

neodym
Newbie

Hello,

 

i tried to install Spotify on my openSUSE 42.3 system. The installation fail with the following error message:

 

snap install spotify
error: cannot communicate with server: Post http://localhost/v2/snaps/spotify: dial unix /run/snapd.socket: connect: no such file or directory

What can I do to solve this issue?

2 Replies

Re: Snap installation fails

Spotify
Spotify

The only thing I can think of is that socket error message might be related to the last line in the snapd installation instructions for opensuse. https://docs.snapcraft.io/core/install-opensuse

 

Once the snapd package is successfully installed you have to enable the systemd unit which takes care about snapd’s main communication socket as this is not yet automatically done:

sudo systemctl enable --now snapd.socket

Other than that, maybe try to restart snapd?

 

sudo systemctl restart snapd.service

 

Re: Snap installation fails

jmunsch
Newbie

xubuntu 17.10

Got the same error on gui install, however, I checked in terminal and it was already installed. I just `spotify` in terminal, and it worked.

Weird.

SUGGESTED POSTS