app-center icon indicating copy to clipboard operation
app-center copied to clipboard

snap-store aka App center, showing a blank screen..

Open MelchiorGaspar opened this issue 1 year ago β€’ 20 comments

I just finished installing Ubuntu v23.10.1 to my old 2008 Toshiba Satellite laptop I had laying around.. and after an update to firmware/software updater.. the app center shows only a blank screen.. I tried to remove it via the command line using Googled article's commands sudo apt-get remove snap-store but it gives me a cannot find package nor install either.

I tried app-center, and software-center but no go..

be gentle lol ;-) I am new to Linux... but know my way around the Windows command-line interface a bit.

any help would be appreciated.

MelchiorGaspar avatar Nov 15 '23 02:11 MelchiorGaspar

On Ubuntu snap-store itself is a snap package, hence not managed by apt but snap.

sudo snap remove snap-store

If you then install snap-store via snap you will by default get an old version (not the app-center version). If you want the app-center version of snap-store you need to install from a different channel, so you will probably want to

sudo snap install snap-store --channel latest/stable/ubuntu-23.10

or maybe even latest/edge

Be aware that the 23.10 version of snap-store has a bug, as it will try to read certificates from the redhat certificate default location first instead of the correct ubuntu location.

So, if you happen to have certificates in /etc/pki/tls/certs apparmor will prevent snap-store from reading them, resulting in snap-store not being able to render content correctly.

So, you would need to configure apparmor accordingly or just make sure the above directory doesn't exist.

3oris avatar Nov 16 '23 16:11 3oris

ok thx for the info.. I tried the correct remove command that and the install worked to do those tasks, but it didn't fix the problem... :( I even tried latest/edge, didn't help.. still a blank screen for the app center..

Also I checked for the /etc/pki/tls/certs folder and found only down to pki no /tls/ or certs folder.. I do have the show hidden files enabled so idk... I noticed two folders in pki folder... /etc/pki/fwupd/ /etc/pki/fwupd-metadata/

no clue about those folders..

its a fresh install of Ubuntu v23.10.1 "ubuntu-23.10.1-desktop-amd64.iso"

how do I configure the apparmor stuff?

MelchiorGaspar avatar Nov 16 '23 19:11 MelchiorGaspar

Be aware that the 23.10 version of snap-store has a bug, as it will try to read certificates from the redhat certificate default location first instead of the correct Ubuntu location.

aah?! interesting... how soon till it gets fixed?

MelchiorGaspar avatar Nov 16 '23 19:11 MelchiorGaspar

I got a functional software center via an article that suggested the following cmdline.

sudo apt install gnome-software

That got me something I could use..

but Firefox is not up to date within it either... Ubuntu v23.10.1 came with v118.0.1 but I need the latest to make use of a profile I copied from my Windows 11 Pro PC...

Firefox v119.0.1 is the latest..

any suggestions?

MelchiorGaspar avatar Nov 17 '23 00:11 MelchiorGaspar

lenovo X201t μ—μ„œ ν…ŒμŠ€νŠΈ

λ¨Όμ € gnome-software λ₯Ό μ„€μΉ˜(sudo apt install gonoe-software)ν•˜μ—¬ μ‹€ν–‰ν•˜κ³  snap-store κ²€μƒ‰ν•˜μ—¬ μ„€μΉ˜ν•˜λ‹ˆ app center μ‹€ν–‰ λ©λ‹ˆλ‹€.

First, install gnome-software (sudo apt install gonoe-software), run it, search for snap-store, install it, and app center will run.

ansanggap avatar Feb 01 '24 00:02 ansanggap

Could you test the latest/edge version now.

If I remember correctly I also had this problem for a period of time but now the snap-store or the App Center (as it figures in menus) works.

Recydywa avatar Mar 27 '24 22:03 Recydywa

When I run snap-store command from Terminal I get those messages below. All suggestion did not fix the problem. The window is still all white.

fallen@fallen-linux:~$ snap-store
Gtk-Message: 13:20:04.804: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

(snap-store:9679): Gdk-CRITICAL **: 13:20:05.242: gdk_window_get_state: assertion 'GDK_IS_WINDOW (window)' failed

** (snap-store:9679): WARNING **: 13:20:05.943: Failed to start Flutter renderer: Unable to create a GL context

** (snap-store:9679): WARNING **: 13:20:05.973: gtk.dart: failed to call method: No engine to send to

** (snap-store:9679): WARNING **: 13:20:05.973: gtk.dart: failed to call method: No engine to send to

** (snap-store:9679): WARNING **: 13:20:05.974: gtk.dart: failed to call method: No engine to send to

Fallen-Zen avatar Apr 13 '24 11:04 Fallen-Zen

What is your snapd version snap version, also snap-store version snap info snap-store and the connections snap connections snap-store.

From the error it looks like it can't use OpenGL, that interface should be connected by default. It doesn't unfortunately tell much more.

Recydywa avatar Apr 13 '24 11:04 Recydywa

What is your snapd version snap version, also snap-store version snap info snap-store and the connections snap connections snap-store.

From the error it looks like it can't use OpenGL, that interface should be connected by default. It doesn't unfortunately tell much more.

fallen@fallen-linux:~$ snap version
snap    2.61.3+23.10
snapd   2.61.3+23.10
series  16
ubuntu  23.10
kernel  6.5.0-1014-raspi
  - snap-store
snap-id:      gjf3IPXoRiipCu9K0kVu52f0H56fIksg
tracking:     latest/stable/ubuntu-23.10
refresh-date: today at 13:19 CEST
channels:
  latest/stable:     41.3-77-g7dc86c8 2024-03-06 (1114) 12MB -
  latest/candidate:  41.3-77-g7dc86c8 2024-03-06 (1114) 12MB -
  latest/beta:       ↑                                       
  latest/edge:       0+git.6d98806    2024-04-08 (1127) 10MB -
  preview/stable:    –                                       
  preview/candidate: 0.2.7-alpha      2023-01-24  (848)  9MB -
  preview/beta:      ↑                                       
  preview/edge:      0.3.0-alpha      2023-08-14 (1018) 10MB -
installed:           0+git.3a85550               (1111)  9MB -
fallen@fallen-linux:~$ snap connections snap-store
Interface               Plug                           Slot                            Notes
appstream-metadata      snap-store:appstream-metadata  :appstream-metadata             -
content[gnome-42-2204]  snap-store:gnome-42-2204       gnome-42-2204:gnome-42-2204     -
content[gtk-3-themes]   snap-store:gtk-3-themes        gtk-common-themes:gtk-3-themes  -
content[icon-themes]    snap-store:icon-themes         gtk-common-themes:icon-themes   -
content[sound-themes]   snap-store:sound-themes        gtk-common-themes:sound-themes  -
dbus                    -                              snap-store:dbus-name            -
dbus                    -                              snap-store:packagekit-svc       -
desktop                 snap-store:desktop             :desktop                        -
desktop-launch          snap-store:desktop-launch      :desktop-launch                 -
desktop-legacy          snap-store:desktop-legacy      :desktop-legacy                 -
gsettings               snap-store:gsettings           :gsettings                      -
network                 snap-store:network             :network                        -
opengl                  snap-store:opengl              :opengl                         -
packagekit-control      snap-store:packagekit-control  :packagekit-control             -
snapd-control           snap-store:snapd-control       :snapd-control                  -
wayland                 snap-store:wayland             :wayland                        -
x11                     snap-store:x11                 :x11

Fallen-Zen avatar Apr 13 '24 11:04 Fallen-Zen

What if you switch to the latest/edge channel.

sudo snap refresh --channel=latest/edge snap-store

The current version you are using is still based on Gnome Software while the version from latest/edge is a new flutter based App Center.

Recydywa avatar Apr 13 '24 13:04 Recydywa

What if you switch to the latest/edge channel.

sudo snap refresh --channel=latest/edge snap-store

The current version you are using is still based on Gnome Software while the version from latest/edge is a new flutter based App Center.

The icon changed but the problem persists.

fallen@fallen-linux:~$ snap-store
Gtk-Message: 15:59:22.320: Not loading module "atk-bridge": The functionality is provided by GTK natively. Please try to not load it.

** (snap-store:11123): WARNING **: 15:59:23.444: Failed to start Flutter renderer: Unable to create a GL context

** (snap-store:11123): WARNING **: 15:59:23.473: gtk.dart: failed to call method: No engine to send to

** (snap-store:11123): WARNING **: 15:59:23.474: gtk.dart: failed to call method: No engine to send to

** (snap-store:11123): WARNING **: 15:59:23.475: gtk.dart: failed to call method: No engine to send to

** (snap-store:11123): WARNING **: 15:59:23.475: gtk.dart: failed to call method: No engine to send to

Fallen-Zen avatar Apr 13 '24 14:04 Fallen-Zen

What about snapd do you have it installed only as .deb package or also snap package.

apt policy snapd

snap info snapd

Also what about other snaps that need OpenGL. You can check which ones need that interface.

snap interface opengl

Do those run or are they also failing.

Recydywa avatar Apr 13 '24 20:04 Recydywa

If this is still an issue, please provide the relevant log files frome $HOME/snap/snap-store/current/.local/share/snap-store. To further diagnose any rendering related issues, the output of glxinfo -B would be helpful.

d-loose avatar Apr 30 '24 13:04 d-loose