Snap store doesn't start after upgrade to 20.04

Bug #1870774 reported by Igor Zubarev
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
snap-store-desktop
Incomplete
Undecided
Unassigned

Bug Description

When I open snap store it doesn't start. Upgraded from Ubuntu 19.04

I also opened it in terminal. See output:
$ snap-store
/snap/snap-store/209/bin/desktop-launch: line 295: [: /home/igor/../../../Рабочий: binary operator expected
/home/igor/snap/snap-store/common/.cache/gio-modules/libdconfsettings.so: cannot open shared object file: No such file or directory
Failed to load module: /home/igor/snap/snap-store/common/.cache/gio-modules/libdconfsettings.so
/home/igor/snap/snap-store/common/.cache/gio-modules/libgiognomeproxy.so: cannot open shared object file: No such file or directory
Failed to load module: /home/igor/snap/snap-store/common/.cache/gio-modules/libgiognomeproxy.so
/home/igor/snap/snap-store/common/.cache/gio-modules/libgiolibproxy.so: cannot open shared object file: No such file or directory
Failed to load module: /home/igor/snap/snap-store/common/.cache/gio-modules/libgiolibproxy.so
/home/igor/snap/snap-store/common/.cache/gio-modules/libgiognutls.so: cannot open shared object file: No such file or directory
Failed to load module: /home/igor/snap/snap-store/common/.cache/gio-modules/libgiognutls.so
11:14:05:0671 Gtk Locale not supported by C library.
 Using the fallback 'C' locale.
11:14:05:0815 Gtk Failed to load module "canberra-gtk-module"
11:14:05:0815 Gtk Failed to load module "canberra-gtk-module"
11:14:05:0817 GLib-GIO Using the 'memory' GSettings backend. Your settings will not be saved or shared with other applications.
11:14:05:0836 Gs enabled plugins: odrs, rewrite-resource, snap, icons, key-colors, key-colors-metadata
11:14:05:0836 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
Fontconfig error: Cannot load default config file
11:14:06:0015 Gtk Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
**
Gtk:ERROR:../../../../gtk/gtkiconhelper.c:494:ensure_surface_for_gicon: assertion failed (error == NULL): Failed to load /snap/snap-store/209/data-dir/icons/Yaru/16x16/status/image-missing.png: Unrecognized image file format (gdk-pixbuf-error-quark, 3)
Аварийный останов (стек памяти сброшен на диск)

Tags: focal
description: updated
summary: - Snap store doesn't start
+ Snap store doesn't start after upgrade to 20.04
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, that seems to be an issue with a corrupted cache, could you try to remove /home/igor/snap/snap-store/common/.cache and see if that resolves the issue?

Changed in snap-store-desktop:
status: New → Incomplete
Revision history for this message
Simon (utomsig) wrote :

I had the same problem. Snap-store would not launch and complained about pixbuf.
After I removed ~/snap/snap-store/common/.cache it started again, thanx for that!
Some other bug appeared after that. Icons and screenshots did not show up. I installed the edge version of snap-store and it fixed it. Then I reversed to stable, and it still works, so I guess I just needed to reinstall the snap. I put together some output from the terminal before the reinstall. I keep it as a attachment if someone would be interested.
Have a nice one!
/Simon

Revision history for this message
Alex (topic001) wrote :

same problem after update from 20.04 to 20.10.
removing ~/snap/snap-store/common/.cache - no result.

sudo snap-store

mkdir: cannot create directory '/run/user/0': 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 '/root/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: /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
ERROR: update-mime-database /root/snap/snap-store/518/.local/share/mime exited abnormally with status 1
/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

snap-store

/snap/snap-store/518/snap/command-chain/desktop-launch: line 50: /home/user/.config/user-dirs.dirs: Permission denied
sed: can't read /home/user/.config/user-dirs.dirs: Permission denied
/snap/snap-store/518/snap/command-chain/desktop-launch: line 251: /home/user/.config/user-dirs.dirs: Permission denied
cp: cannot open '/home/user/.config/user-dirs.locale' for reading: Permission denied
/snap/snap-store/518/snap/command-chain/desktop-launch: line 256: /home/user/.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/user/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/user/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

Revision history for this message
Colin Godsey (crgodsey) wrote :

Reinstalling seemed to work for me... not sure why.

sudo snap remove snap-store && sudo snap install snap-store

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

Duplicates of this bug

Other bug subscribers

Remote bug watches

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