App Center pops up and crashes

Ubuntu Version: Ubuntu 24.04.3 LTS

Problem Description: Since today, I have been unable to access the App Center. When I try to open it, the window appears and then quickly closes. I tried to open it through the terminal, and this is the reply I got.

Screenshots or Error Messages:

facundo@Facundo-Ubuntu:~$ snap-store
Gtk-Message: 12:19:01.998: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(snap-store:7222): Gtk-WARNING **: 12:19:02.076: GTK+ module /snap/snap-store/1300/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 12:19:02.076: Failed to load module "canberra-gtk-module"

(snap-store:7222): Gtk-WARNING **: 12:19:02.077: GTK+ module /snap/snap-store/1300/gnome-platform/usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so cannot be loaded.
GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
Gtk-Message: 12:19:02.078: Failed to load module "canberra-gtk-module"
INFO snap-store: Logging to /home/facundo/snap/snap-store/1300/.local/share/snap-store/snap-store.log
[xcb] Unknown sequence number while processing reply
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
snap-store: ../../src/xcb_io.c:730: _XReply: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Aborted (core dumped)

What I’ve Tried: I tried many things, but none of them worked.

  1. Disabling OpenGL as follows:
    Settings > Apps > App Center > opengl

  2. Checking for software and App Center updates:
    sudo snap refresh snap-store
    sudo apt update

It said that a package could be updated, but when I used sudo apt upgrade, it didn’t let me. I get:

The following upgrades have been deferred due to phasing:
  firmware-sof-signed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
  1. Installing the libcanberra-gtk-module and libcanberra-gtk3-module packages (I already had them, but I tried anyway)(website)
    sudo apt-get install libcanberra-gtk-module
    sudo apt-get install libcanberra-gtk3-module

  2. I was thinking about removing the libatk-adaptor package (I got this from this site), but I got scared when I saw that the ubuntu-desktop and ubuntu-desktop-minimal packages were also going to be removed.

    I ran this command:
    apt purge --simulate libatk-adaptor

Every time I tried, I restarted the system, but I had no luck.

Can anyone help me?
Thank you.

See

For now, do a sudo snap revert snap-store to go back to the functional version and comment on the bug that it affects you too…

Edit: note that apt has no impact on snap packages, so your attempts to install/remove pieces with apt will not have any influence on the broken snap package…

3 Likes

Thanks, your answer worked for me.

I didn’t know that the apt command didn’t affect snap packages, I’ll keep that in mind from now on.
Sorry if the post was silly, but I just switched to Linux a few days ago and all this is new to me.

I’ll send a report to the link you shared with me right now. TY

2 Likes

Tons of useful information here about managing snaps:

2 Likes

Nothing was silly, no worries :wink:

Welcome to the Linux world!!

3 Likes

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.