Problems with snap, after freshly reinstalling it ("unable to contact snap store").

Asked by Elias Myserlis

Hi!
I recently installed Ubuntu 22.04.1 LTS on my PC and have tried getting to know them, having a first experience of them.
After some time, I realized that I, very commonly, ran into errors with the new, so-called, "Snap Store" of Ubuntu (not "Ubuntu Software", this is another app) (the errors of "Snap Store" is a matter in itself). That led me to try uninstalling it and the reinstalling it again, just in case that fixes the existing bugs. After one or two times, that worked.
The problem arised when I tried again, from my bash, the same procedure. Everything was going well with uninstalling and installing "snap", but at the point when "Snap Store" was to be installed, with "sudo snap install snap-store", I repeatedly got an error message, saying that the contact with snap store was not possible (the exact message was: "error: unable to contact snap store").
I have tried many things, as well as, looked on the internet for solutions. I couldn't do anything...
Your help will be invaluable!

Thank you!

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu snap Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bernard Stafford (bernard010) said :
#1
Revision history for this message
Elias Myserlis (eliasmys1) said :
#2

@bernard010 I just have to tell, that, now, for some reason, snap works. I will leave the question open though in case it happens again, or happens something different.

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

This is a known problem. In the session where you install snap, the snap store does not yet work. You have to reboot once.

Revision history for this message
Elias Myserlis (eliasmys1) said :
#4

@m-hampl 👍

Can you help with this problem?

Provide an answer of your own, or ask Elias Myserlis for more information if necessary.

To post a message you must log in.