Snapd? Is it just a pipe dream on anything but Ubuntu?

Post Reply
Message
Author
User avatar
rollerskate
Posts: 4
Joined: Tue Oct 16, 2018 4:20 pm

Snapd? Is it just a pipe dream on anything but Ubuntu?

#1 Post by rollerskate »

Why is it that snapd on anything but Ubuntu just returns nothing but errors about not being able to find any servers?

I mean logic tells me that snapd like any other installer needs a list of repositories, which it appears to be missing...

But if I try to do anything with the snapd service, terminal tells me snapd doesn't even exist! Even though it's installed, and the "snap" command definitely is returning data relevant to snapd, itself....

Has anyone actually managed to get snapd working in MX or any other Linux distro that it wasn't native to?

I have searched for all kinds of information on this, and I can't find anything. Even tutorials on how to install snapd make it sound like you should just type "apt-get install snapd" and have it magically work....

User avatar
Adrian
Developer
Posts: 8248
Joined: Wed Jul 12, 2006 1:42 am

Re: Snapd? Is it just a pipe dream on anything but Ubuntu?

#2 Post by Adrian »

I think you need to use systemd to use snaps, there's a Wiki about setting up snaps https://mxlinux.org/wiki/applications/s ... ages-mx-17 but not sure how accurate that is, maybe you can contribute at least with some feedback.

User avatar
rollerskate
Posts: 4
Joined: Tue Oct 16, 2018 4:20 pm

Re: Snapd? Is it just a pipe dream on anything but Ubuntu?

#3 Post by rollerskate »

Okay, thank you! So... it seems this hasn't been discussed before... ?

I was hopeful it was a known issue of some sort...

Here are the symptoms:

jonquil@info-demon:~$ systemctl start snapd.service
Failed to add /run/systemd/ask-password to directory watch: No such file or directory
Failed to start snapd.service: Unknown unit: snapd.service
See system logs and 'systemctl status snapd.service' for details.
jonquil@info-demon:~$ sudo service snap start[sudo] password for jonquil:
snap: unrecognized service

I've tried different iterations of this like "snap" and "snappy"... same results...

jonquil@info-demon:~$ sudo snap install skype
error: cannot communicate with server: Post http://localhost/v2/snaps/skype: dial unix /run/snapd-snap.socket: connect: no such file or directory

I get the above error specifically on any snap I try to install, unless I've already installed a channel for that package (I did install Nuvola by following their directions on their main website... can newbies post links?).

User avatar
Adrian
Developer
Posts: 8248
Joined: Wed Jul 12, 2006 1:42 am

Re: Snapd? Is it just a pipe dream on anything but Ubuntu?

#4 Post by Adrian »

So... did you boot with systemd option?

User avatar
rollerskate
Posts: 4
Joined: Tue Oct 16, 2018 4:20 pm

Re: Snapd? Is it just a pipe dream on anything but Ubuntu?

#5 Post by rollerskate »

The fix in the link you posted worked!

Okay, so now I know I need to check this Wiki alongside any search engines...

Thank you!

User avatar
coyotito
Posts: 15
Joined: Thu Sep 30, 2010 4:54 pm

Re: Snapd? Is it just a pipe dream on anything but Ubuntu?

#6 Post by coyotito »

Snap is an absolute piece of xxxxxxx that only works with Ubuntu and with sudo, or may work, have not tried yet. Tried to use it to install an even worse crap, Anbox. Just as well, then I can forget about the systemd option again.

turtlebay777
Posts: 254
Joined: Sat Apr 14, 2018 2:40 pm

Re: Snapd? Is it just a pipe dream on anything but Ubuntu?

#7 Post by turtlebay777 »

I've never had any problems using systemd and prefer it as my screen recorder doesn't crash when I'm using it, but it does when I use the popular one.

User avatar
Artim
Posts: 288
Joined: Sun Apr 01, 2018 9:04 am

Re: Snapd? Is it just a pipe dream on anything but Ubuntu?

#8 Post by Artim »

Snaps is too new for me to trust it. Same with Flatpacks. Nothing beats good ol' apt-get. But I think it's cool that people are working on ways to make applications distro-independent.

User avatar
manyroads
Posts: 2603
Joined: Sat Jun 30, 2018 6:33 pm

Re: Snapd? Is it just a pipe dream on anything but Ubuntu?

#9 Post by manyroads »

I have to say I rather like compiling and building things...
*buntu, snaps, flatpaks, systemd, etc don't thrill me ...
appimages are better but not often kept current.
Pax vobiscum,
Mark Rabideau - ManyRoads Genealogy -or- eirenicon llc. (geeky stuff)
i3wm, bspwm, hlwm, dwm, spectrwm ~ Linux #449130
"For every complex problem there is an answer that is clear, simple, and wrong." -- H. L. Mencken

Post Reply

Return to “Software / Configuration”