Snap not found

Hello all!

I am having trouble with installing the app from my health care provider called barmer-ecare. I have been trying to troubleshoot this myself over the weekend and I am stuck. I updated my version of kubuntu from 20.04 to 22.04 a while ago and I have read that sometimes causes problems.

son@son-desktop:~$ sudo snap install barmer-ecare
error: snap "barmer-ecare" not found
son@son-desktop:~$ snap find barmer
Name          Version  Publisher  Notes  Summary
barmer-ecare  23.7.2   barmer     -      Organisieren Sie Ihre Gesundheitsdaten mit der elektronischen Patientenakte.
son@son-desktop:~$ SNAPD_DEBUG=1 snap install barmer-ecare
2024/04/28 13:39:41.868752 logger.go:93: DEBUG: restarting into "/snap/snapd/current/usr/bin/snap"
2024/04/28 13:39:45.452203 logger.go:93: DEBUG: error: snap not found
error: snap "barmer-ecare" not found
son@son-desktop:~$ snap --version
snap    2.62
snapd   2.62
series  16
ubuntu  22.04
kernel  5.15.0-105-generic

If you need more information, I am happy to supply it. I have an appointment in the university clinic soon and I need compile the reports from other doctors, so help would greatly be appreciated.

Does anyone have any ideas how I can fix the snap installation on my system?

Thanks in advance.

I tried on my ubuntu 24.04 and canot install this snap too. Same behavior. I guess something wrong with this snap or we get a snap bug.

This is almost certainly due to geoip controls. The publisher of the snap probably configured it to only be allowed in certain regions or countries. Either you’re not in that country, or your ip is erroneously detected as not being in that country.

Thank you for all the replies so far.

I also noticed some problems with other snaps. For example when I tried to run Kfind:

son@son-desktop:~$ kfind
cannot locate base snap core22: No such file or directory
son@son-desktop:~$ snap list
Name                                  Version                     Rev    Tracking       Publisher      Notes
anki-woodrow                          2.1.35                      35     latest/stable  woodrow        -
argos-translate                       1.6.5                       13     latest/stable  argosopentech  -
argos-translate-base-langs            1.0.1                       2      latest/stable  argosopentech  -
bare                                  1.0                         5      latest/stable  canonical✓     base
core                                  16-2.61.2                   16928  latest/stable  canonical✓     core
core18                                20240416                    2823   latest/stable  canonical✓     base
core20                                20240227                    2264   latest/stable  canonical✓     base
core22                                20240408                    1380   latest/stable  canonical✓     base
docfetcher                            1.1.25-snap1                4      latest/stable  vasilisc       -
firefox                               124.0.2-1                   4090   latest/stable  mozilla✓       -
fslint-unofficial                     v0.1.14                     73     latest/stable  tgagor         -
gnome-3-28-1804                       3.28.0-19-g98f9e67.98f9e67  198    latest/stable  canonical✓     -
gnome-3-38-2004                       0+git.efb213a               143    latest/stable  canonical✓     -
gnome-42-2204                         0+git.510a601               176    latest/stable  canonical✓     -
gtk-common-themes                     0.1-81-g442e511             1535   latest/stable  canonical✓     -
gtk2-common-themes                    0.1                         13     latest/stable  canonical✓     -
kde-frameworks-5-99-qt-5-15-7-core20  5.99.0                      7      latest/stable  kde✓           -
kde-frameworks-5-core18               5.67.0                      35     latest/stable  kde✓           -
kf5-5-110-qt-5-15-11-core22           5.110                       3      latest/stable  kde✓           -
kf5-5-111-qt-5-15-11-core22           5.111                       7      latest/stable  kde✓           -
kfind                                 23.08.4                     20     latest/stable  kde✓           -
ktouch                                23.08.4                     118    latest/stable  kde✓           -
olivia                                1.2                         143    latest/stable  keshavnrj✪     -
puddletag-snap                        2.2.0                       9      latest/stable  tschlaeppi     -
qt5-core20                            20.04                       17     latest/stable  keshavnrj✪     -
qt551                                 5.x-core18                  44     latest/stable  keshavnrj✪     -
rpi-imager                            1.8.5                       630    latest/stable  waveform       -
snapd                                 2.62                        21465  latest/stable  canonical✓     snapd
tradingview                           2.7.5                       51     latest/stable  tradingview    -

That it cant find Core22 seems just as odd as the error message above.

Here is also a SNAP DEBUG:

son@son-desktop:~$ SNAPD_DEBUG=1 kfind
2024/04/29 20:50:22.033427 logger.go:93: DEBUG: restarting into "/snap/snapd/current/usr/bin/snap"
2024/04/29 20:50:22.048301 logger.go:93: DEBUG: -- snap startup {"stage":"start", "time":"1714416622.044647"}
2024/04/29 20:50:22.054977 logger.go:93: DEBUG: executing snap-confine from /snap/snapd/21465/usr/lib/snapd/snap-confine
2024/04/29 20:50:22.055625 logger.go:93: DEBUG: SELinux not enabled
2024/04/29 20:50:22.056165 logger.go:93: DEBUG: creating transient scope snap.kfind.kfind
2024/04/29 20:50:22.056949 logger.go:93: DEBUG: using session bus
2024/04/29 20:50:22.058144 logger.go:93: DEBUG: create transient scope job: /org/freedesktop/systemd1/job/424
2024/04/29 20:50:22.058851 logger.go:93: DEBUG: job result is "done"
2024/04/29 20:50:22.058861 logger.go:93: DEBUG: transient scope snap.kfind.kfind-31ecb941-8f64-442e-883a-26355778b3c8.scope created
2024/04/29 20:50:22.059173 logger.go:93: DEBUG: waited 2.162756ms for tracking
2024/04/29 20:50:22.059185 logger.go:93: DEBUG: -- snap startup {"stage":"snap to snap-confine", "time":"1714416622.059182"}
DEBUG: -- snap startup {"stage":"snap-confine enter", "time":"1714416622.060940"}
DEBUG: umask reset, old umask was   02
DEBUG: security tag: snap.kfind.kfind
DEBUG: executable:   /usr/lib/snapd/snap-exec
DEBUG: confinement:  non-classic
DEBUG: base snap:    core22
DEBUG: ruid: 1000, euid: 0, suid: 0
DEBUG: rgid: 1000, egid: 1000, sgid: 1000
DEBUG: apparmor label on snap-confine is: /snap/snapd/21465/usr/lib/snapd/snap-confine
DEBUG: apparmor mode is: enforce
DEBUG: -- snap startup {"stage":"snap-confine mount namespace start", "time":"1714416622.061358"}
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: opening lock file: /run/snapd/lock/.lock
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: acquiring exclusive lock (scope (global), uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: ensuring that snap mount directory is shared
DEBUG: unsharing snap namespace directory
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: releasing lock 5
DEBUG: opened snap-update-ns executable as file descriptor 5
DEBUG: opened snap-discard-ns executable as file descriptor 6
DEBUG: creating lock directory /run/snapd/lock (if missing)
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: opening lock directory /run/snapd/lock
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: opening lock file: /run/snapd/lock/kfind.lock
DEBUG: set_effective_identity uid:0 (change: no), gid:0 (change: yes)
DEBUG: set_effective_identity uid:0 (change: no), gid:1000 (change: yes)
DEBUG: sanity timeout initialized and set for 30 seconds
DEBUG: acquiring exclusive lock (scope kfind, uid 0)
DEBUG: sanity timeout reset and disabled
DEBUG: initializing mount namespace: kfind
cannot locate base snap core22: No such file or directory

2 Questions:

  1. Does this maybe give a hint whats wrong with the snap installation so I can fix it?

  2. If Popey is right, how can I confirm the theory with the GeoIP Controls?

Thanks for all the replies so far.

I just remembered that I have a server in Germany. I ran snap find barmer and snap info barmer-ecare. It works from my server in Germany, but not from my server at home in the UK. I think this confirms the assertion that the snap is GeoIP restricted.

1 Like