Welcome!
Important information
-- Spectre and Meltdown vulnerabilities
-- Change in MX sources

News
-- MX Linux on social media: here
-- Mepis support still here

Current releases
-- MX-17.1 Final release info here
-- antiX-17 release info here

New users
-- Please read this first, and don't forget to add system and hardware information to posts!
-- Here are the Forum Rules

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

Post Reply
Message
Author
User avatar
rollerskate
Forum Novice
Forum  Novice
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 » Tue Oct 16, 2018 8:34 pm

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
Forum Veteran
Forum Veteran
Posts: 8985
Joined: Wed Jul 12, 2006 1:42 am

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

#2 Post by Adrian » Tue Oct 16, 2018 8:52 pm

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
Forum Novice
Forum  Novice
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 » Tue Oct 16, 2018 9:10 pm

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
Forum Veteran
Forum Veteran
Posts: 8985
Joined: Wed Jul 12, 2006 1:42 am

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

#4 Post by Adrian » Tue Oct 16, 2018 9:17 pm

So... did you boot with systemd option?

User avatar
rollerskate
Forum Novice
Forum  Novice
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 » Tue Oct 16, 2018 9:32 pm

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!

Post Reply

Return to “Software / Configuration”