error updating gnomes-game-data

Bug #274565 reported by David Garcia Rojo

This bug report was converted into a question: question #46637: error updating gnomes-game-data.

8
Affects Status Importance Assigned to Milestone
gnome-games (Ubuntu)
Invalid
Low
Unassigned

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.

Revision history for this message
Greg Unger (mr-ory) wrote :

i have the same problem installing gnome-games. i eventually purged gnome-games and gnome-games-data from my computer. now, attempting to install the package with aptitude produces a similar error. here is aptitude's output:

The following NEW packages will be installed:
  gnome-games gnome-games-data{a}
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/14.7MB of archives. After unpacking 45.2MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
(Reading database ... 129814 files and directories currently installed.)
Unpacking gnome-games-data (from .../gnome-games-data_1%3a2.24.0-0ubuntu1_all.deb) ...
dpkg-deb: subprocess paste killed by signal (Broken pipe)
dpkg: error processing /var/cache/apt/archives/gnome-games-data_1%3a2.24.0-0ubuntu1_all.deb (--unpack):
 short read in buffer_copy (backend dpkg-deb during `./usr/share/gnome/help/iagno/pt_BR/figures/START.png')
Selecting previously deselected package gnome-games.
Unpacking gnome-games (from .../gnome-games_1%3a2.24.0-0ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for menu ...
Errors were encountered while processing:
 /var/cache/apt/archives/gnome-games-data_1%3a2.24.0-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of gnome-games:
 gnome-games depends on gnome-games-data (>= 1:2.24); however:
  Package gnome-games-data is not installed.
 gnome-games depends on gnome-games-data (<< 1:2.25); however:
  Package gnome-games-data is not installed.
dpkg: error processing gnome-games (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 gnome-games

Changed in gnome-games:
status: New → Confirmed
Revision history for this message
Michael Vogt (mvo) wrote :

@Greg: The error message indicates that you might have a filesystem error on your computer. Could you please run a filesystem check (availabe in the ubuntu rescue mode) and a momory check (availabe start startup with the ESC key) and check if those report no error?

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

the error seems to indicate a local installation issue or local changes, that's not a package bug, changing to an user question

Changed in gnome-games:
importance: Undecided → Low
status: Confirmed → Invalid
Revision history for this message
Eric Swenson (eric-swenson) wrote :
Download full text (4.8 KiB)

I'm having a similar problem and I'm quite certain it is not a file system problem (fsck is happy). I think there is something wrong with the pre/post installation scripts for the gnome-games-data package. Here is the output from an attempt to install the package:

eswenson@tesseract:~$ sudo apt-get install gnome-games-data
Reading package lists... Done
Building dependency tree
Reading state information... Done
gnome-games-data is already the newest version.
The following packages were automatically installed and are no longer required:
  python-pycurl guile-1.8-libs python-twisted-web python-smartpm python-pexpect
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up gnome-games-data (1:2.24.1-0ubuntu2) ...
Warning: /usr/share/gconf/schemas/aisleriot.schemas could not be found.
Warning: /usr/share/gconf/schemas/blackjack.schemas could not be found.
Warning: /usr/share/gconf/schemas/glchess.schemas could not be found.
Warning: /usr/share/gconf/schemas/glines.schemas could not be found.
Warning: /usr/share/gconf/schemas/gnect.schemas could not be found.
Warning: /usr/share/gconf/schemas/gnibbles.schemas could not be found.
Warning: /usr/share/gconf/schemas/gnobots2.schemas could not be found.
Warning: /usr/share/gconf/schemas/gnometris.schemas could not be found.
Warning: /usr/share/gconf/schemas/gnomine.schemas could not be found.
Warning: /usr/share/gconf/schemas/gnotravex.schemas could not be found.
Warning: /usr/share/gconf/schemas/gnotski.schemas could not be found.
Warning: /usr/share/gconf/schemas/gtali.schemas could not be found.
Warning: /usr/share/gconf/schemas/iagno.schemas could not be found.
Warning: /usr/share/gconf/schemas/mahjongg.schemas could not be found.
Warning: /usr/share/gconf/schemas/same-gnome.schemas could not be found.
Usage: gconf-schemas --[un]register file1.schemas [file2.schemas [...]]

gconf-schemas: error: You need at least a file to (un)register.
dpkg: error processing gnome-games-data (--configure):
 subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
 gnome-games-data
E: Sub-process /usr/bin/dpkg returned an error code (1)
eswenson@tesseract:~$

Attempting to remove the package has similar problems:

eswenson@tesseract:~$ sudo apt-get remove gnome-games-data
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  python-pycurl guile-1.8-libs python-twisted-web python-smartpm python-pexpect
Use 'apt-get autoremove' to remove them.
The following packages will be REMOVED:
  gnome-games-data
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 43.0MB disk space will be freed.
Do you want to continue [Y/n]? y
(Reading database ... 144451 files and directories currently installed.)
Removing gnome-games-data ...
Warning: /usr/share/gconf/schemas/aisleriot.schemas could not be found.
Warning: /usr/share/gconf/sc...

Read more...

Revision history for this message
Greg Unger (mr-ory) wrote :

@ 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?

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.
>

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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