Package install fails with gconf-backends assertion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gconf |
Won't Fix
|
Low
|
|||
gconf (Ubuntu) |
Triaged
|
Low
|
Ubuntu Desktop Bugs |
Bug Description
I have been following dapper with regular (roughly daily) updates; I can't recall having done anything strange to the packaging system or the gconf setup, and so far it worked well. Out of a sudden, "capplets-data" refused to install, causing dependencies like "gnome-
IIRC, the error occured with 2.14.1-
Sorry for the german output (but you should get the idea anyway):
root@neon:
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
capplets-data ist schon die neueste Version.
0 aktualisiert, 0 neu installiert, 0 zu entfernen und 1 nicht aktualisiert.
4 nicht vollständig installiert oder entfernt.
Es müssen 0B Archive geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
Richte capplets-data ein (2.14.1-0ubuntu3) ...
GConf-Backends-
aborting...
dpkg: Fehler beim Bearbeiten von capplets-data (--configure):
Unterprozess post-installation script gab den Fehlerwert 250 zurück
dpkg: Abhängigkeitspr
gnome-
Paket capplets-data bereitstellt, ist noch nicht konfiguriert.
Changed in gconf2: | |
status: | Confirmed → Triaged |
Changed in gconf: | |
importance: | Unknown → Low |
Changed in gconf: | |
status: | New → Won't Fix |
Over recent updates, the bug has started to affect more gnome-related packages, so it is probably nothing local to gconf-packages. I did some strace over what happened and got the following results:
... "/usr/sbin/ gconf-schemas" , ["gconf-schemas", "--register", "gnome- system- tools.schemas" ], [/* 36 vars */]) = 0
[pid 7413] execve(
...
root@neon: /home/rich# gconf-schemas --register gnome-system- tools.schemas
GConf-Backends- ERROR **: file markup-tree.c: line 3377 (end_element_ handler) : assertion failed: (g_slist_length (info-> local_schemas) == 1) /home/rich#
aborting...
root@neon:
As we see, the failure happens as gconf-schemas is run with the same parameters as from apt-get install. This probably will not happen on a healthy system - but then something must have effected the system in a way for this to happen. I tried registering other schemas, which results in the same error. Looks like a classic "Broken Registry" from a user pov.
Also, issuing an assertion error and quitting might be a bug-to-be-fixed by itself, so I suggest relocating this bug to where gconf-schema belongs.
I drilled a bit further down, and it turned out that the breakage was caused by the "/var/lib/ gconf/defaults/ %gconf- tree-cy. xml" file. Moving this file out of the way (if anyone wants to have a look...) brought the system back in line. If appropriate, and broken versions of can show up out in the wild, the packagers probably should take care of it, and also, gconf-schemas might emit a somewhat better hint on what went wrong.
Temporary fix for this issue short of an upstream update: "strace -f gconf-schemas --register gnome-session. schemas" , scroll up until you see what locale is being dealt with, delete that locale from /var/lib/ gconf/defaults/ .