snap problem

Hi there! I’m trying to use snap packages, but I only found this error:

error: cannot list snaps: cannot communicate with server: Get http://localhost/v2/find?q=gimp: dial unix /run/snapd.socket: connect: no such file or directory

What’s that?

Your error says that nothing exists at that web address…

Possible causes…

  • Your app isn’t installed or configured properly.
  • The app appears to rely on a web server. If a web server wasn’t installed as part of your application, then you need to install(and run) a web server. If necessary, consult your documentation.
  • A newly installed app may not automatically start up required services (like a new web server). Either start manually, or if if you <know> the service will start automatically, you can re-boot.

Since I don’t know what your “snap” app is, I can’t be more specific about your situation.

HTH,
TSU

I am currently testing Leap 42.2 in Virtualbox -before installing it on my main computer- and I can also confirm this error.

Using the instructions at snapcraft.io for openSUSE (https://snapcraft.io/docs/core/install#opensuse](https://snapcraft.io/docs/core/install#opensuse)) I have run the following commands to install snap:


sudo zypper addrepo http://download.opensuse.org/repositories/system:/snappy/openSUSE_Leap_42.2/ snappy sudo zypper install snapd

Then I tried to find the Krita snap with the following


snap find krita
error: cannot list snaps: cannot communicate with server: Get http://localhost/v2/find?q=krita: dial unix /run/snapd.socket: connect: no such file or directory

I searched Google trying to figure out what’s going and came across this open bug on Launchpad

Is there a way around this? Or are snaps currently unavailable in openSUSE?

In my user case I need Krita as a snap because I will be using the Gnome desktop on Leap and I don’t want to install all the KDE dependencies.
Also I need the Hugo static site generator snap because Hugo (https://gohugo.io) is not available in the Yast repos (as far as I can tell).