Comment 6 for bug 274565

Revision history for this message
Eric Swenson (eric-swenson) wrote : Re: [Bug 274565] Re: error updating gnomes-game-data

I tried this, and it didn't work. The reason is that these are expected to
be XML schemas, and a zero-length file isn't a valid XML file. So the
removal process still fails.
I did figure out how to uninstall gnome-games-data, however. I simply found
where the pre-remove script was, and edited to remove the offending line.
 The pre-removal script was located in:

     /var/lib/dpkg/info/gnome-games-data.prerm

This script was calling the gconf-schemas command with non-existent schemas.
 Commenting out this line (I actually put an "echo" at the start of the
offending line) allowed me to do an:

   apt-get remove gnome-games-data

successfully. Now I no longer get errors when installing/uninstalling other
packages.

2008/11/3 Greg Unger <email address hidden>

> @ Eric:
>
> what if you were to create empty text files at /usr/share/gconf/schemas
> for every file apt-get says it can't find. would you be able to
> uninstall gnome-games-data then?
>
> --
> error updating gnomes-game-data
> https://bugs.launchpad.net/bugs/274565
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "gnome-games" source package in Ubuntu: Invalid
>
> Bug description:
> Binary package hint: gnome-games-data
>
> in 8.10
>
> after an update I have that:
>
> Usage: gconf-schemas --[un]register file1.schemas [file2.schemas [...]]
>
> gconf-schemas: error: You need at least a file to (un)register.
> dpkg : erreur de traitement de gnome-games-data (--configure) :
> le sous-processus post-installation script a retourné une erreur de sortie
> d'état 2
> dpkg : des problèmes de dépendances empêchent la configuration de
> gnome-games :
> gnome-games dépend de gnome-games-data (>= 1:2.24) ; cependant :
> Le paquet gnome-games-data n'est pas encore configuré.
> gnome-games dépend de gnome-games-data (<< 1:2.25) ; cependant :
> Le paquet gnome-games-data n'est pas encore configuré.
> dpkg : erreur de traitement de gnome-games (--configure) :
> problèmes de dépendances - laissé non configuré
> No apport report written because the error message indicates its a followup
> error from a previous failure.
> Des erreurs ont été rencontrées pendant
> l'exécution :
> gnome-games-data
> gnome-games
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
>
> since that, every update reproduce this error.
>