gpk-prefs crashes on startup

Bug #875077 reported by Mike M
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnome-packagekit (Debian)
Fix Released
Unknown
gnome-packagekit (Ubuntu)
Fix Released
Undecided
Matthias Klumpp
gnome-settings-daemon (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

attempting to run gpk-prefs doesnt work, merely causing a segfault, the output is
mike@mike-H55-UD3H:~/Desktop$ gpk-prefs
Gtk-Message: Failed to load module "pk-gtk-module"

(gpk-prefs:27193): GLib-GIO-CRITICAL **: Settings schema 'org.gnome.settings-daemon.plugins.updates' is not installed

(gpk-prefs:27193): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed
Segmentation fault

Matthias Klumpp (ximion)
Changed in gnome-packagekit (Ubuntu):
status: New → Confirmed
assignee: nobody → Matthias Klumpp (ximion)
Revision history for this message
Matthias Klumpp (ximion) wrote :

The shema should be provide by the settings-daemon package, but it's not there... Maybe it has moved with GNOME 3.2?

Changed in gnome-packagekit (Debian):
status: Unknown → New
Revision history for this message
Mike M (hairy-palms-19) wrote :

just had a look, seems theres nothing in /usr/share/glib-2.0/schemas related to updates looking at what else is there ill try making a org.gnome.settings-daemon.plugins.updates.gschema.xml by hand tomorrow

Revision history for this message
Mike M (hairy-palms-19) wrote :

i managed to fix this problem as follows

wget http://git.gnome.org/browse/gnome-settings-daemon/plain/data/org.gnome.settings-daemon.plugins.updates.gschema.xml.in.in

sed 's/_//g' org.gnome.settings-daemon.plugins.updates.gschema.xml.in.in > out.txt

sudo mv out.txt /usr/share/glib-2.0/schemas/org.gnome.settings-daemon.plugins.updates.gschema.xml

sudo glib-compile-schemas /usr/share/glib-2.0/schemas

Matthias Klumpp (ximion)
Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
Changed in gnome-packagekit (Debian):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-packagekit - 3.2.1-1

---------------
gnome-packagekit (3.2.1-1) unstable; urgency=low

  * New upstream bugfix release
  * Don't install parts of the PK GTK-3.0 plugin (Closes: #642910)
  * Depend on gnome-settings-daemon (LP: #875077)

gnome-packagekit (3.2.0-1) unstable; urgency=low

  * New upstream release: 3.2
    - Never duplicate the 'Remove' tab for obsoleted software
       (Richard Hughes)
    - Allow the list of package dependencies to expand horizontally
       (Jean-François Fortin Tam)
    - Don't make each package have a bold summary now the package details
       are grey (Richard Hughes)
    - Make the version and architecture gray in the GUI tools
       (Richard Hughes)
    - Move the '7 Updates (45Mb)' text to the button box to match the mockup
       (Richard Hughes)
    - Split up the updates in the update viewer into sections to
       match the mockup (Richard Hughes)
    - Turn the cryptic i86_64 into a human readable
       string, e.g. '64-bit' (Richard Hughes)
    - Support looking up Plasma services (Kevin Kofler)
    - Pack package dependency lists into tabs (Gary Ching-Pang Lin)
    - /run transition (Closes #644313)
 -- Ubuntu Archive Auto-Sync <email address hidden> Sun, 27 Nov 2011 16:12:14 +0000

Changed in gnome-packagekit (Ubuntu):
status: Confirmed → Fix Released
Changed in gnome-packagekit (Debian):
status: Confirmed → Fix Released
Revision history for this message
Matthias Klumpp (ximion) wrote :

Fixed in version 3.2-1 of GSD.

Changed in gnome-settings-daemon (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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