snap-store Settings schema 'org.gnome.software' is not installed

Bug #1873388 reported by corrado venturini
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
snap-store-desktop
Fix Released
Undecided
Unassigned

Bug Description

New install from Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200416.2)
snap store fails with message GLib-GIO Settings schema 'org.gnome.software' is not installed
also after update+upgrade, snap refresh and reboot:

corrado@corrado-x2-ff-0416:~/Desktop$ snap run snap-store
05:58:06:0998 Gtk Failed to load module "canberra-gtk-module"
05:58:06:0999 Gtk Failed to load module "canberra-gtk-module"
05:58:07:0000 GLib-GIO Settings schema 'org.gnome.software' is not installed
Trace/breakpoint trap (core dumped)
corrado@corrado-x2-ff-0416:~/Desktop$ snap list snap-store
Name Version Rev Tracking Publisher Notes
snap-store 20200415.e028804 394 latest/stable/… canonical✓ -
corrado@corrado-x2-ff-0416:~/Desktop$ snap refresh snap-store
snap "snap-store" has no updates available
corrado@corrado-x2-ff-0416:~/Desktop$ snap run snap-store
06:06:20:0333 Gtk Failed to load module "canberra-gtk-module"
06:06:20:0334 Gtk Failed to load module "canberra-gtk-module"
06:06:20:0335 GLib-GIO Settings schema 'org.gnome.software' is not installed
Trace/breakpoint trap (core dumped)
corrado@corrado-x2-ff-0416:~/Desktop$ snap version
snap 2.44.3+20.04
snapd 2.44.3+20.04
series 16
ubuntu 20.04
kernel 5.4.0-24-generic
corrado@corrado-x2-ff-0416:~/Desktop$

corrado@corrado-x2-ff-0416:~/Desktop$ inxi -Fx
System: Host: corrado-x2-ff-0416 Kernel: 5.4.0-24-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
           Desktop: Gnome 3.36.1 Distro: Ubuntu 20.04 LTS (Focal Fossa)
Machine: Type: Desktop Mobo: ASRock model: H110M-G/M.2 serial: <superuser/root required> UEFI: American Megatrends
           v: P1.10 date: 05/11/2017
CPU: Topology: Dual Core model: Intel Core i3-7100 bits: 64 type: MT MCP arch: Kaby Lake rev: 9
           L2 cache: 3072 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31199
           Speed: 800 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 801
Graphics: Device-1: Intel HD Graphics 630 vendor: ASRock driver: i915 v: kernel bus ID: 00:02.0
           Display: x11 server: X.Org 1.20.8 driver: i915 resolution: 1920x1080~60Hz
           OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.0.4 direct render: Yes
Audio: Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASRock driver: snd_hda_intel v: kernel
           bus ID: 00:1f.3
           Device-2: Logitech QuickCam Pro 9000 type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-10:5
           Sound Server: ALSA v: k5.4.0-24-generic
Network: Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: 3.2.6-k port: f040 bus ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac: 70:85:c2:44:7b:86
Drives: Local Storage: total: 2.05 TiB used: 4.94 GiB (0.2%)
           ID-1: /dev/nvme0n1 vendor: Kingston model: SKC2000M8250G size: 232.89 GiB
           ID-2: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB temp: 30 C
           ID-3: /dev/sdb vendor: Hitachi model: HDS721010CLA332 size: 931.51 GiB temp: 29 C
Partition: ID-1: / size: 31.25 GiB used: 4.93 GiB (15.8%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors: System Temperatures: cpu: 43.0 C mobo: N/A
           Fan Speeds (RPM): N/A
Info: Processes: 213 Uptime: 27m Memory: 7.49 GiB used: 1.42 GiB (19.0%) Init: systemd runlevel: 5 Compilers:
           gcc: N/A Shell: bash v: 5.0.16 inxi: 3.0.38
corrado@corrado-x2-ff-0416:~/Desktop$

Revision history for this message
Simon Morgan (simonsaysthis) wrote :

Confirmed for me too

Revision history for this message
corrado venturini (corradoventu) wrote :

New install from Ubuntu 20.04 LTS "Focal Fossa" - Release amd64 (20200423) I have again the same problem

corrado@corrado-x4-focal:~$ snap run snap-store
15:49:34:0306 Gtk Failed to load module "canberra-gtk-module"
15:49:34:0307 Gtk Failed to load module "canberra-gtk-module"
15:49:34:0308 GLib-GIO Settings schema 'org.gnome.software' is not installed
Trace/breakpoint trap (core dumped)
corrado@corrado-x4-focal:~$ snap version
snap 2.44.3+20.04
snapd 2.44.3+20.04
series 16
ubuntu 20.04
kernel 5.4.0-28-generic
corrado@corrado-x4-focal:~$ snap list snap-store
Name Version Rev Tracking Publisher Notes
snap-store 3.36.0-74-ga164ec9 433 latest/stable/… canonical✓ -
corrado@corrado-x4-focal:~$

corrado@corrado-x4-focal:~$ inxi -Fx
System: Host: corrado-x4-focal Kernel: 5.4.0-28-generic x86_64 bits: 64 compiler: gcc v: 9.3.0
           Desktop: Gnome 3.36.1 Distro: Ubuntu 20.04 LTS (Focal Fossa)
Machine: Type: Desktop Mobo: ASRock model: H110M-G/M.2 serial: <superuser/root required>
           UEFI: American Megatrends v: P1.10 date: 05/11/2017
CPU: Topology: Dual Core model: Intel Core i3-7100 bits: 64 type: MT MCP arch: Kaby Lake rev: 9
           L2 cache: 3072 KiB
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 31199
           Speed: 800 MHz min/max: 800/3900 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 801
Graphics: Device-1: Intel HD Graphics 630 vendor: ASRock driver: i915 v: kernel bus ID: 00:02.0
           Display: x11 server: X.Org 1.20.8 driver: i915 resolution: 1920x1080~60Hz
           OpenGL: renderer: Mesa Intel HD Graphics 630 (KBL GT2) v: 4.6 Mesa 20.0.4
           direct render: Yes
Audio: Device-1: Intel 100 Series/C230 Series Family HD Audio vendor: ASRock driver: snd_hda_intel
           v: kernel bus ID: 00:1f.3
           Device-2: Logitech QuickCam Pro 9000 type: USB driver: snd-usb-audio,uvcvideo
           bus ID: 1-10:5
           Sound Server: ALSA v: k5.4.0-28-generic
Network: Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: 3.2.6-k port: f040
           bus ID: 00:1f.6
           IF: enp0s31f6 state: up speed: 100 Mbps duplex: full mac: 70:85:c2:44:7b:86
Drives: Local Storage: total: 2.05 TiB used: 5.49 GiB (0.3%)
           ID-1: /dev/nvme0n1 vendor: Kingston model: SKC2000M8250G size: 232.89 GiB
           ID-2: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB temp: 34 C
           ID-3: /dev/sdb vendor: Hitachi model: HDS721010CLA332 size: 931.51 GiB temp: 33 C
Partition: ID-1: / size: 31.25 GiB used: 5.48 GiB (17.5%) fs: ext4 dev: /dev/nvme0n1p4
           ID-2: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda2
Sensors: System Temperatures: cpu: 47.0 C mobo: N/A
           Fan Speeds (RPM): N/A
Info: Processes: 211 Uptime: 8m Memory: 7.49 GiB used: 1.17 GiB (15.6%) Init: systemd runlevel: 5
           Compilers: gcc: N/A Shell: bash v: 5.0.16 inxi: 3.0.38
corrado@corrado-x4-focal:~$

Revision history for this message
Brian (egee-irl) wrote :

There's not nearly enough information to troubleshoot or debug this issue.

The Trace/breakpoint trap (core dumped) error is curious but it doesn't give us any information to help find the cause of the issue.

I am also unable to reproduce the issue on a fresh install, though I do notice that when I run snap-store from the command line, I don't get the g-settings warnings which makes me think you've made changes to your system outside the Snap-Store.

Look for a log of some sort and report back.

Revision history for this message
corrado venturini (corradoventu) wrote :

NO changes to my system after install. Just installed before trying snap-store
this is my installation:
{"Media": "Ubuntu 20.04 LTS \"Focal Fossa\" - Release amd64 (20200423)", "Type": "GTK", "OEM": false, "PartitionMethod": "manual", "DownloadUpdates": true, "Language": "en", "Minimal": false, "RestrictedAddons": true, "Stages": {"0": "language", "9": "console_setup", "15": "console_setup", "19": "prepare", "128": "partman", "133": "partman", "135": "partman", "146": "partman", "173": "partman", "175": "partman", "185": "partman", "191": "start_install", "192": "timezone", "194": "usersetup", "237": "user_done", "646": "done"}}

Revision history for this message
corrado venturini (corradoventu) wrote :

Done reboot and then started snap-store. here my journalctl -b

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report. Do you still get the issue in the current version?

Changed in snap-store-desktop:
status: New → Incomplete
Revision history for this message
corrado venturini (corradoventu) wrote :

NO issue on Ubuntu 20.04 and 20.10
snap store start correctly

Changed in snap-store-desktop:
status: Incomplete → Invalid
Revision history for this message
Matthäus Brandl (matthaeus) wrote :

This is weird. I have two systems, one one I installed 20.04 in maybe May, there snap-store starts without problems. Then I have a laptop where I installed 20.04.1 just yesterday and I have almost the same problem as mentioned in the bug.
The difference is, that in my case, the last error is this:
> GLib-GIO Settings schema 'org.gnome.software' does not contain a key named 'show-folder-management'
This sounds like the schema org.gnome.software was actually installed.

However the schema does not exist on either system when using gsettings.
$ gsettings set org.gnome.software show-folder-management true
No such schema “org.gnome.software”

I would provide log files if I knew were they are, so please let me know.

Changed in snap-store-desktop:
status: Invalid → Confirmed
Changed in snap-store-desktop:
status: Confirmed → Incomplete
Revision history for this message
Marlin Cremers (marlinc) wrote :

I now have this exact same issue on a new Ubuntu 22.04 install. Launching the Ubuntu Software application from the desktop gives the following messages in syslog:

Jun 5 11:20:37 marlinc-desktop systemd[4002]: Started Application launched by gnome-shell.
Jun 5 11:20:37 marlinc-desktop systemd[4002]: Started snap.snap-store.ubuntu-software.dfdb36d0-3b08-4479-8b8d-f38e8ff7556a.scope.
Jun 5 11:20:38 marlinc-desktop kernel: [ 874.254174] audit: type=1326 audit(1654420838.012:77): auid=1000 uid=1000 gid=1000 ses=3 subj=? pid=22299 comm="snap-store" exe="/snap/snap-store/582/usr/bin/snap-store" sig=0 arch=c000003e syscall=314 compat=0 ip=0x7f96a63e473d code=0x50000
Jun 5 11:20:38 marlinc-desktop snap-store[22299]: Settings schema 'org.gnome.software' is not installed
Jun 5 11:20:38 marlinc-desktop kernel: [ 874.305483] traps: snap-store[22299] trap int3 ip:7f96a740f187 sp:7fff6109f780 error:0 in libglib-2.0.so.0.6400.6[7f96a73ca000+9a000]

Launching snap-store manually through the terminal gives:

09:21:09:0543 GLib-GIO Settings schema 'org.gnome.software' is not installed
Trace/breakpoint trap (core dumped)

Revision history for this message
Khairul Aizat Kamarudzzaman (fenris) wrote :

confirmed for me too but with other snap applications

fenris@xps:~$ snap run element-desktop
update.go:85: cannot change mount namespace according to change mount (/run/user/1000/doc/by-app/snap.element-desktop /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0): cannot inspect "/run/user/1000/doc": lstat /run/user/1000/doc: permission denied
/home/fenris/snap/element-desktop/39/.config/Element exists: no
/home/fenris/snap/element-desktop/39/.config/Riot exists: no
Error org.freedesktop.DBus.Error.Failed: cannot find desktop file "/var/lib/snapd/desktop/applications/element-desktop_Element.desktop"
Gtk-Message: 11:44:38.749: Failed to load module "appmenu-gtk-module"
Gtk-Message: 11:44:38.786: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:44:38.788: Failed to load module "canberra-gtk-module"
Trace/breakpoint trap (core dumped)

fenris@xps:~$ snap run mailspring
update.go:85: cannot change mount namespace according to change mount (/run/user/1000/doc/by-app/snap.mailspring /run/user/1000/doc none bind,rw,x-snapd.ignore-missing 0 0): cannot inspect "/run/user/1000/doc": lstat /run/user/1000/doc: permission denied
Gtk-Message: 11:44:45.919: Failed to load module "appmenu-gtk-module"
Gtk-Message: 11:44:45.962: Failed to load module "canberra-gtk-module"
Gtk-Message: 11:44:45.964: Failed to load module "canberra-gtk-module"
[1011/114445.997054:ERROR:scoped_ptrace_attach.cc(27)] ptrace: Operation not permitted (1)
Trace/breakpoint trap (core dumped)

Changed in snap-store-desktop:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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