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!
snap debug connectivity
and add the output to your question. – pzkpfw Nov 05 '22 at 12:10