Snaps in General (but including snap-store) Not working on 21.04

Bug #1922777 reported by Christopher
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snap-store-desktop
New
Undecided
Unassigned

Bug Description

I was working with snapd folks on a ZFS related snap, and I mentioned that there were several Snaps that seem to be non-functional on 21.04 that work fine on 20.04. Some of the errors seem to be wayland related, but most still fail to launch on an "X" session. snap-store is one of them. After using the workaround noted in Bug 1922293 (https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1922293/comments/7) I can see the snap-store snap available (snipped some snaps):

```
> snap list
Name Version Rev Tracking Publisher Notes
...
qownnotes 21.3.9 8183 latest/stable pbek -
slack 4.14.0 38 latest/stable slack✓ classic
snap-store 3.38.0-59-g494f078 518 latest/stable/… canonical✓ -
snapd 2.49.1 11402 latest/stable canonical✓ snapd
telegram-desktop 2.7.1 2551 latest/stable telegram.desktop -
```

However when launching snap-store from the "normal gui" menu nothing comes up. When launching from CLI I get the following error:

```
> snap-store
sed: can't read /home/chalbersma/.config/user-dirs.dirs: Permission denied
/snap/snap-store/518/snap/command-chain/desktop-launch: line 251: /home/chalbersma/.config/user-dirs.dirs: Permission denied
cp: cannot open '/home/chalbersma/.config/user-dirs.locale' for reading: Permission denied
/snap/snap-store/518/snap/command-chain/desktop-launch: line 256: /home/chalbersma/.config/user-dirs.locale: Permission denied
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
realpath: '': No such file or directory
cp: cannot stat '/snap/snap-store/518/gnome-platform/usr/share/mime': No such file or directory
Directory '/home/chalbersma/snap/snap-store/518/.local/share/mime/packages' does not exist!
/snap/snap-store/518/snap/command-chain/desktop-launch: line 20: /snap/snap-store/518/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: No such file or directory
ERROR: update-mime-database /home/chalbersma/snap/snap-store/518/.local/share/mime exited abnormally with status 1
ERROR: /snap/snap-store/518/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127
/snap/snap-store/518/usr/bin/snap-store: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
```

I'm also getting various failures to launch on all non-classic snaps that I've tried, including keepassxc, beekeper-studio, qownnotes, kate and telegram-desktop. The only non-classic snap I've tried that works has been hello-world. I'm thinking there might be another mounting/zfs problem here, but I don't know where to look.

Revision history for this message
Christopher (chalbersma-12) wrote :

Just an update, I was playing with it. I did find a workaround. If after the workaround in the other bug, you remove then reinstall the snaps it does start to work.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.