I installed Ubuntu 18.04 yesterday. Today I tried to install micro editor through snap, but it doesn’t work. Any command like this sudo snap install hello-world freezes for a minute and I receive
error: unable to contact snap store
Is there some problem with the snap store or is it because I couldn’t connect to it from my network? How could I check that?
![]()
Kulfy
17.1k26 gold badges62 silver badges101 bronze badges
asked May 9, 2018 at 13:43
![]()
4
Seems there might be a problem with the snap store this morning. Occasionally I get a successful return.
➜ ~ sudo snap find nextcloud
Name Version Developer Notes Summary
nextcloud-client 2.3.3+gitab40efe nextcloud - Nextcloud Desktop Client
nextcloud-port8080 1.01 arcticslyfox - Nextcloud Server
nextcloud-nextant 11.0.0snap3 rmescandon - Nextcloud Server + search support
nextcloud 13.0.2snap1 nextcloud - Nextcloud Server - A safe home for all your data
cashbox-nextcloud 11.0.2snap2 cashbox - Nextcloud Server for www.cashBOX.plus
qownnotes 18.05.2 pbek - Plain-text file notepad with markdown support and ownCloud / Nextcloud integration
spreedme 0.29.5snap1 nextcloud - Spreed.ME audio/video calls and conferences feature for the Nextcloud Snap
solr 0.1 rmescandon - Starts up solr as forking daemon
mdns-hostname 0.0.1 welike - mDNS mini-daemon to published hostname.local
➜ ~ sudo snap find nextcloud
error: unable to contact snap store
➜ ~
answered May 9, 2018 at 13:55
Eric FossumEric Fossum
6921 gold badge6 silver badges14 bronze badges
1
I got the same error just now. A solution that worked for me was:
in terminal:
$ killall snap-store
Then the snap connection was back
answered Aug 2, 2020 at 16:10
![]()
UlisesUlises
1113 bronze badges
Snap store might simply be down. Too bad this stalls. Refreshing snapd is supposed to fix this (?) according to a solution I saw, but it does not work because the web API is down. I don’t know if the API spec changed, but it is currently the case that the host is not resolved. You have to wait until the store is back up. PS: There was probably a server change which takes time to propagate in my case.
$ sudo snap refresh snapd
error: cannot refresh "snapd": cannot refresh snap-declaration for "chromium":
Get
https://api.snapcraft.io/api/v1/snaps/assertions/snap-declaration/16/XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R?max-format=4:
dial tcp: lookup api.snapcraft.io on 127.0.0.53:53: no such host
$ host api.snapcraft.io
;; connection timed out; no servers could be reached
answered Jun 20, 2020 at 16:10
![]()
You might get that error when you are trying to install something through snap behind proxy.
Configure the proxy with these commands:
sudo snap set system proxy.http="http://<proxy_addr>:<proxy_port>"
sudo snap set system proxy.https="http://<proxy_addr>:<proxy_port>"
Cadoiz
2541 silver badge8 bronze badges
answered Apr 23, 2020 at 17:27
ashin78ashin78
511 silver badge2 bronze badges
Здравствуйте!
Опять таки долго не уводила машину в ребут, а когда передернула обнаружила Snap Store вместо стандартного магазина.
Хоть это 20.04 версия, изначально там Snap’a не было, появился он именно сегодня + включила второй ноутбук (на него Ubuntu была установлена примерно в то же время, что и на основной рабочий) — Snap и там поселился.
И я как бы не против, бороться с прогрессом себе дороже + я не того уровня специалист, но:
helga@Hummer-E5-575G:~$ snap-store
/home/helga/snap/snap-store/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory
Failed to load module: /home/helga/snap/snap-store/common/.cache/gio-modules/libgiognutls.so
/home/helga/snap/snap-store/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory
Failed to load module: /home/helga/snap/snap-store/common/.cache/gio-modules/libdconfsettings.so
/home/helga/snap/snap-store/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory
Failed to load module: /home/helga/snap/snap-store/common/.cache/gio-modules/libgiolibproxy.so
/home/helga/snap/snap-store/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory
Failed to load module: /home/helga/snap/snap-store/common/.cache/gio-modules/libgiognomeproxy.so
17:44:59:0160 GLib-GIO Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
17:44:59:0179 Gs enabled plugins: odrs, rewrite-resource, snap, icons, key-colors, key-colors-metadata
17:44:59:0179 Gs disabled plugins: appstream, desktop-categories, desktop-menu-path, dpkg, dummy, epiphany, fedora-pkgdb-collections, generic-updates, hardcoded-blacklist, hardcoded-featured, hardcoded-popular, modalias, os-release, provenance, provenance-license, repos, shell-extensions
17:44:59:0768 Gs failed to create an app for */*/*/*/system/*
17:44:59:0777 Gs updates-shell: failed to get updates: no plugin could handle get-updates
17:44:59:0777 Gs failed to create an app for */*/*/*/system/*
17:44:59:0777 Gs failed to get system app
17:44:59:0777 Gs Only 0 apps for recent list, hiding
17:44:59:0795 GsPluginSnap Failed to load snap icon: local snap has no icon
17:44:59:0972 Gs hiding category graphics featured applications: found only 0 to show, need at least 9
17:45:00:0154 Gs hiding category audio-video featured applications: found only 0 to show, need at least 9
17:45:00:0450 GsPluginSnap Failed to load snap icon: local snap has no icon
17:45:00:0908 GsPluginSnap Failed to load snap icon: local snap has no icon
17:45:01:0226 GLib-GIO Settings schema 'org.gnome.software' does not contain a key named 'show-folder-management'
Trace/breakpoint trap (core dumped)
При том:
1. На втором профиле (админе) он работает.
2. Снесла snap и установила снова — аналогично, на втором профиле ок, на основном — нет.
3. Конкретно по выхлопу нашла: https://forum.manjaro.org/t/spotify-suddenly-not-working/125237/14
И это не помогло.
Из под sudo:
mkdir: cannot create directory '/run/user/0': Permission denied
18:07:27:0243 GLib-GIO g_app_info_get_name: assertion 'G_IS_APP_INFO (appinfo)' failed
No protocol specified
Unable to init server: Could not connect: Connection refused
18:07:27:0248 Gtk cannot open display: :1
Включала репозитории партнеров (не закрытый код) и обновляла систему, пришло пару обновлений и не помогло.
Товарищи, спасайте. Почему так?
Доп.инфо:
Качала отсюда: https://ubuntu.com/download/desktop/thank-you?version=20.04&architecture=amd64
ТС не появлялся на Форуме более трех месяцев по состоянию на 19/03/2021 (последняя явка: 19/08/2020). Модератором раздела принято решение закрыть тему.
—zg_nico

- Forum
- The Ubuntu Forum Community
- Ubuntu Official Flavours Support
- General Help
- [ubuntu] unable to contact snap store
-
unable to contact snap store
So I recently switch from Linux Mint 20 to Ubuntu 20.04 LTS because I receive the error (unable to contact snap store) whenever I wanted to install a software via snap. Fortunately snap store works fine on my laptop but not my desktop (I receive the same error) so I was wondering if you could provide any solution.
Thanks in advance for your time.
-
Re: unable to contact snap store
It is not clear if you are unable to connect to the snap store in Ubuntu 20.04 or Linux Mint 20. Did you do a fresh install of Ubuntu 20.04? It is my understanding that the Linux Mint developers have deliberately made it impossible to install and run snap packaged apps in Linux Mint. You have to make some changes to remove what the Linux Mint developers have done.
https://snapcraft.io/install/snap-store/mint
Regards
It is a machine. It is more stupid than we are. It will not stop us from doing stupid things.
Ubuntu user #33,200. Linux user #530,530
-
Re: unable to contact snap store
Originally Posted by grahammechanical
It is not clear if you are unable to connect to the snap store in Ubuntu 20.04 or Linux Mint 20. Did you do a fresh install of Ubuntu 20.04? It is my understanding that the Linux Mint developers have deliberately made it impossible to install and run snap packaged apps in Linux Mint. You have to make some changes to remove what the Linux Mint developers have done.
https://snapcraft.io/install/snap-store/mint
Regards
I install a fresh Ubuntu 20.04 LTS. I was aware that change has to be made in Linux Mint in order to use snap.
-
Re: unable to contact snap store
Linux Mint doesn’t make it impossible to use snaps. They just don’t setup their system to force snap package use onto administrators/users. Basically, the snap subsystem has to be installed. I bet there is a .deb file for it.
Code:
sudo rm /etc/apt/preferences.d/nosnap.pref sudo apt update sudo apt install snapd
Yep. A normal apt install. If you want a GUI … install that package too. Snaps are useful for many things and terrible for some systems.
The «Snap Store» isn’t required to use snaps. They can be installed from a shell/CLI interface. The commands are very similar to those for apt.
Code:
sudo apt install {package name} sudo snap install {package name} sudo apt remove {package name} sudo snap remove {package name} sudo apt search {package name} sudo snap search {package name}Very similar.
-
Re: unable to contact snap store
Originally Posted by TheFu
Linux Mint doesn’t make it impossible to use snaps. They just don’t setup their system to force snap package use onto administrators/users. Basically, the snap subsystem has to be installed. I bet there is a .deb file for it.
Code:
sudo rm /etc/apt/preferences.d/nosnap.pref sudo apt update sudo apt install snapd
Yep. A normal apt install. If you want a GUI … install that package too. Snaps are useful for many things and terrible for some systems.
The «Snap Store» isn’t required to use snaps. They can be installed from a shell/CLI interface. The commands are very similar to those for apt.
Code:
sudo apt install {package name} sudo snap install {package name} sudo apt remove {package name} sudo snap remove {package name} sudo apt search {package name} sudo snap search {package name}Very similar.
Oh thanks. I was aware of these commands. My problem is that I receive an error (unable to contact snap store) whenever I try to install or search a package.
-
Re: unable to contact snap store
Originally Posted by davoudi
Oh thanks. I was aware of these commands. My problem is that I receive an error (unable to contact snap store) whenever I try to install or search a package.
- What URL is being used?
- Can you go there with a normal browser?
- Can you ping the server by name?
- Ping by IP?
- It could be that the server is down or that your part of the world can’t reach it. Use one of the «down for me?» websites to see what other parts of the world see from their location.
-
Re: unable to contact snap store
Originally Posted by TheFu
- What URL is being used?
I don’t use any URL. I simply run the command sudo snap install package-name.
Originally Posted by TheFu
- Can you go there with a normal browser?
Do you mean api.snapcraft.io? I can go there and I get «snapcraft.io store API service — Copyright 2018-2019 Canonical.«.
Originally Posted by TheFu
- Can you ping the server by name?
Yes.
Originally Posted by TheFu
- Ping by IP?
Yes.
Originally Posted by TheFu
- It could be that the server is down or that your part of the world can’t reach it. Use one of the «down for me?» websites to see what other parts of the world see from their location.
I don’t think that the server is down. I can ping it so it means I can reach it from my country. I was able to install hello-world from my laptop but nothing from my desktop.
Bookmarks
Bookmarks

Posting Permissions
My Ubuntu 20.04 is connected to the Internet and I used update and upgrade commands on the machine and it’s up to date now. But when I type sudo snap install pycharm-community --classic to install PyCharm Community version, it returns back this error: error: unable to contact snap store.
What to do next, please?
I also searched for the program on Ubuntu Software, but it can’t find the app either!
asked Feb 15, 2021 at 16:33
It was possible and done very easily, after struggling too much with snap, Ubuntu software and facing failure on each, to download and install PyCharm Community using Toolbox App.
answered Feb 15, 2021 at 17:49
optyopty
278 bronze badges
Try updating the proxy settings with these commands:
sudo snap set system proxy.http=»http://<proxy_addr>:<proxy_port>»
sudo snap set system proxy.https=»http://<proxy_addr>:<proxy_port>»
answered Sep 12, 2022 at 12:09
Проблема с магазином снимков
Я установил Ubuntu 18.04 вчера. Сегодня я пытался установить микроредактор через оснастку, но он не работает. Любая подобная команда sudo snap install hello-world останавливается на минуту, и я получаю ошибку
: невозможно связаться с хранилищем моментальных снимков
Есть ли какая-то проблема с хранилищем моментальных снимков или это потому, что я не мог подключиться к нему из моей сети? Как я могу это проверить?
задан
9 May 2018 в 20:49
поделиться
4 ответа
Кажется, что могла бы быть проблема с поспешным хранилищем этим утром. Иногда я получаю успешный возврат.
➜ ~ sudo snap find nextcloud
Name Version Developer Notes Summary
nextcloud-client 2.3.3+gitab40efe nextcloud - Nextcloud Desktop Client
nextcloud-port8080 1.01 arcticslyfox - Nextcloud Server
nextcloud-nextant 11.0.0snap3 rmescandon - Nextcloud Server + search support
nextcloud 13.0.2snap1 nextcloud - Nextcloud Server - A safe home for all your data
cashbox-nextcloud 11.0.2snap2 cashbox - Nextcloud Server for www.cashBOX.plus
qownnotes 18.05.2 pbek - Plain-text file notepad with markdown support and ownCloud / Nextcloud integration
spreedme 0.29.5snap1 nextcloud - Spreed.ME audio/video calls and conferences feature for the Nextcloud Snap
solr 0.1 rmescandon - Starts up solr as forking daemon
mdns-hostname 0.0.1 welike - mDNS mini-daemon to published hostname.local
➜ ~ sudo snap find nextcloud
error: unable to contact snap store
➜ ~
ответ дан Eric Fossum
23 November 2019 в 03:07
поделиться
Вы можете получить эту ошибку, когда пытаетесь установить что-то через оснастку за прокси-сервером.
Настройте прокси с помощью следующих команд:
sudo snap set system proxy.http="http://<proxy_addr>:<proxy_port>"
sudo snap set system proxy.https="http://<proxy_addr>:<proxy_port>"
ответ дан ashin78
23 April 2020 в 17:27
поделиться
Магазин Snap может просто не работать. Жаль, что это останавливается. Обновление snapd должно исправить это (?) в соответствии с решением, которое я видел, но оно не работает, потому что веб-API не работает. Я не знаю, изменилась ли спецификация API, но в настоящее время хост не разрешен. Придется ждать, пока магазин восстановится. PS: Вероятно, произошло изменение сервера, для распространения которого в моем случае требуется время.
$ sudo snap refresh snapd
error: cannot refresh "snapd": cannot refresh snap-declaration for "chromium":
Get
https://api.snapcraft.io/api/v1/snaps/assertions/snap-declaration/16/XKEcBqPM06H1Z7zGOdG5fbICuf8NWK5R?max-format=4:
dial tcp: lookup api.snapcraft.io on 127.0.0.53:53: no such host
$ host api.snapcraft.io
;; connection timed out; no servers could be reached
ответ дан Community
20 June 2020 в 16:10
поделиться
Я только что получил ту же ошибку. Решение, которое сработало для меня, было:
в терминале:
$ killall snap-store
Затем мгновенная связь вернулась
ответ дан Community
2 August 2020 в 16:10
поделиться
Другие вопросы по тегам:
Похожие вопросы:
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
bahman
- Level 1

- Posts: 7
- Joined: Wed Jul 16, 2014 7:43 am
unable to connect to snap
Hi everybody,
I am trying to install a few software and I need snap for it. I install snap but I get an error «unable to contact snap store» when I want to install any software.
Any help is appreciated.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
bahman
- Level 1

- Posts: 7
- Joined: Wed Jul 16, 2014 7:43 am
Re: unable to connect to snap
Post
by bahman » Sat Mar 20, 2021 11:47 pm
Kadaitcha Man wrote: ↑
Sat Mar 20, 2021 11:09 pm
bahman wrote: ↑
Sat Mar 20, 2021 10:31 pm
I am trying to install a few software and I need snap for it. I install snap but I get an error «unable to contact snap store» when I want to install any software.That’s because snap is deliberately disabled in Linux Mint.
You can’t possibly have exhausted your search options because searching for ‘linux mint snap’ turns up a myriad of resources, such as:
https://www.zdnet.com/article/linux-min … untu-snap/
That link is the top link and it explains why it is so from a journalist’s point of view.
https://snapcraft.io/docs/installing-snap-on-linux-mint
That is the third link returned and it shows you a way to enable snap on LM.
Even before you do any of that, a read of the release notes for LM should always be performed because doing that almost always reveals important information, saving your time and ours.
https://linuxmint-user-guide.readthedoc … /snap.html
Thanks for the information and links. So the problem is due to open source distribution. I already followed the instruction on how to install snap on Linux mint. Two of those links explain how to install snap which I already followed and install snap. So I don’t understand how I am not able to connect to snap store. I searched on the net and it seems that some people who use Linux mint are able to resolve the problem and use snap. I followed all of the solutions but no chance.
-
Kadaitcha Man
- Level 16

- Posts: 6102
- Joined: Mon Aug 27, 2012 10:17 pm
Re: unable to connect to snap
Post
by Kadaitcha Man » Sat Mar 20, 2021 11:49 pm
bahman wrote: ↑
Sat Mar 20, 2021 11:47 pm
I already followed the instruction on how to install snap on Linux mint. Two of those links explain how to install snap which I already followed and install snap.
So now you decide to tell us that. Had you said so from the very beginning then someone’s free time, other than your own, could have been saved.
Good luck.
[*] All kadaitcha men are liars
-
bahman
- Level 1

- Posts: 7
- Joined: Wed Jul 16, 2014 7:43 am
Re: unable to connect to snap
Post
by bahman » Sat Mar 20, 2021 11:51 pm
Kadaitcha Man wrote: ↑
Sat Mar 20, 2021 11:49 pm
bahman wrote: ↑
Sat Mar 20, 2021 11:47 pm
I already followed the instruction on how to install snap on Linux mint. Two of those links explain how to install snap which I already followed and install snap.So now you decide to tell us that. Had you said so from the very beginning then someone’s free time, other than your own, could have been saved.
Good luck.
I already mentioned in the OP that I installed snap. Thanks for your time anyway.
-
Kadaitcha Man
- Level 16

- Posts: 6102
- Joined: Mon Aug 27, 2012 10:17 pm
Re: unable to connect to snap
Post
by Kadaitcha Man » Sat Mar 20, 2021 11:58 pm
bahman wrote: ↑
Sat Mar 20, 2021 11:51 pm
I already mentioned in the OP that I installed snap.
http://forums.linuxmint.com/viewtopic.php?f=17&t=83444
Saying ‘I installed snap’ does not imply that you followed any instructions whatsoever, nor does it imply that you followed some documented process, nor does it imply that you were aware that snap is disabled. Saying ‘I installed snap’ implies only that you ‘installed snap’, and absolutely nothing more.
[*] All kadaitcha men are liars