I can't open snap store

Cheers.
Also - dont forget … you can now still use snap install xxxxx or other terminal operations and it should similarly be handled well thanks to the proper installation of snapd.
You dont have to use the pamac plugin … but its there for easy use.
(‘software store’ if you will)

I tried now, but not work…

snap install translatium
error: cannot communicate with server: Post “link://localhost/v2/snaps/translatium”: dial unix /run/snapd.socket: connect: connectio
n refused
[phoenix@phoenix-system ~]$ snapd install translatium
bash: snapd: comando non trovato

sorry. you need sudo … ex:

sudo snap install translatium

(you usually do for things touching system files like install or remove)

Yes, not seems work

sudo snap install translatium
[sudo] password di phoenix:
error: cannot communicate with server: Post “link://localhost/v2/snaps/translatium”: dial unix /run/snapd.socket: connect: connection refused

When I woke up yesterday morning, I didn’t think I would be up until 6 a.m. the next morning to solve a snap problem, omg the cases of life are unpredictable.

huh.
I am testing now … and it seems to work…

$ snap search translatium
Name         Version  Publisher     Notes  Summary
translatium  14.1.0   quanglam2807  -      Translate 100+ Languages Instantly
$ sudo snap install translatium
[sudo] password: 
translatium 14.1.0 from Quang Lam (quanglam2807) installed

So … lets go through the basics.

Do you have the services running?

systemctl enable --now apparmor.service
systemctl enable --now snapd.apparmor.service

In fact I was several hours yesterday and then at the end I was able to run snap from terminal, the problem was that I could not open the snap store, but now it seems that it does not even work anymore snap from terminal

So … lets go through the basics.

Do you have the services running?

systemctl enable --now apparmor.service
systemctl enable --now snapd.apparmor.service

(then check again with your install attempt)

systemctl enable --now apparmor.service
[phoenix@phoenix-system Scrivania]$ systemctl enable --now snapd.apparmor.service
[phoenix@phoenix-system Scrivania]$

If you entered both commands … they dont really spit out information.
If they were issued and completed … then attempt your snap install again.

(just verifying … seems to launch too, if a bit sluggish)

A ok sorry I thought it was the same as putting them together, here is the result.
It seems to be the same thing, nothing appears even inserting them separately.

systemctl enable --now apparmor.service
[phoenix@phoenix-system Scrivania]$ systemctl enable --now snapd.apparmor.service
[phoenix@phoenix-system Scrivania]$

snap search translatium
error: cannot list snaps: cannot communicate with server: Get “link://localhost/v2/find?q=translatium&scope=wide”: dial unix /run/sn
apd.socket: connect: connection refused

sudo snap install translatium
[sudo] password di phoenix:
error: cannot communicate with server: Post “link://localhost/v2/snaps/translatium”: dial unix /run/snapd.socket: connect: connection refused

In manual snap installations I saw something to enable sockets, maybe I have to give that command?

Wait now I’ll find it and tell you what it is

is this, i can try to use?
sudo systemctl enable --now snapd.socket

oh haha. yes. I missed the socket. (is it obvious yet I dont use snaps :sweat_smile:)

systemctl enable --now snapd.socket

Slow the translator? Do you know something better perhaps in the Pamac repos? That he is a local translator and does not use the internet please.

Ps Sorry for the time that passes, but I didn’t expect it to be such a complex problem, if you got tired I’ll try to do it all by myself and then I’ll put the solution for the others too.

No worries. I have been sick for a while and I am sort of just sitting around.
Talking with or helping people who are nice is fine enough. I will take breaks if I need to.

It was just a little slow to launch, I dont know anything about how well it works.
And sorry … I dont have a good alternative suggestion … some other users may though.

I think is the time to delete totally snap XD

systemctl enable --now snapd.socket
[phoenix@phoenix-system Scrivania]$ sudo snap install translatium
[sudo] password di phoenix:
error: cannot communicate with server: Post “link://localhost/v2/snaps/translatium”: dial unix /run/snapd.socket: connect: connectio
n refused
[phoenix@phoenix-system Scrivania]$ sudo snap install hello world
error: cannot communicate with server: Post “link://localhost/v2/snaps”: dial unix /run/snapd.socket: connect: connection refused

Hm. This may be related to your initial installation.
It may even be fixed by a restart.
But … now its hard to guess … I might not have a lot more to offer :frowning:

Ok you are a very kind person and I hope you will feel better soon.

Ok good idea, I’ll try to restart, if it does not go try to reread the guides that made me fix it yesterday, somehow snap will do its duty XD

Thanks a lot for you precious helping

Thanks. Best of luck. Cheers.

ahhahahah Work!

sudo snap install translatium
[sudo] password di phoenix:
2020-11-09T05:54:46+01:00 INFO Waiting for automatic snapd restart…
translatium 14.1.0 from Quang Lam (quanglam2807) installed

Solution for snap:

sudo pacman -S snapd

sudo systemctl enable --now snapd.socket

sudo ln -s /var/lib/snapd/snap /snap

And for install snap store (try at your risk)

sudo snap install snap-store

Thank bb cscs, see you new time :slight_smile:

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.