Public bug reported:

If users have been using Geary (installed from .deb) in previous Ubuntu
releases, after upgrading to 20.04 LTS, Geary doesn't launch.

Attempting to launch it from terminal, the below message shows:


GLib-GIO:Settings schema 'org.gnome.Geary' does not contain a key named 
'single-key-shortcuts'
Trace/breakpoint trap (core dumped)

This is due to the new
/usr/share/glib-2.0/schemas/org.gnome.Geary.gschema.xml not being
compiled and placed into /usr/local/share/glib-2.0/schemas/. The new
changes were introduced in Geary 3.35.2. In order for the new changes to
apply and be made available for Geary, a working post-install hook must
be included with the .deb. Upstream uses this post-install hook for
Flatpak:

https://gitlab.gnome.org/GNOME/geary/-/blob/mainline/build-
aux/post_install.py

Perhaps we can use the above and add an extra step of moving the
compiled file to /usr/local/share/glib-2.0/schemas/ is needed for our
situation as the compiled output goes to /usr/share/glib-2.0/schemas/
but Geary reads from /usr/local/share/glib-2.0/schemas/?

I have done a quick write-up about how to manually fix the problem as an
interim solution:

https://link.medium.com/4I8KKvqLb6

For my specific situation, this happened after upgrading to 20.04
[amd64] with this package from 19.10 [amd64] running Geary 3.34.2-eoan-1
from https://launchpad.net/~hkdb/+archive/ubuntu/geary.

1. Description: Ubuntu 20.04 LTS
   Release:     20.04
2. geary:
     Installed: 3.36.1-1
     Candidate: 3.36.1-1
     Version table:
    *** 3.36.1-1 500
        500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
        100 /var/lib/dpkg/status
3. Geary would launch normally
4. Geary crashes on launch

Thanks!

** Affects: geary (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1876771

Title:
  GLib-GIO:Settings schema 'org.gnome.Geary' does not contain a key
  named 'single-key-shortcuts'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/geary/+bug/1876771/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to