gcman2
July 27th, 2008, 06:44 PM
Hi,
During one of the last updates, something went wrong with gnomes-games-data. I have tried what I know to try to remove and re-install through both Synaptic and with apt-get, but am in a catch 22: When trying to remove gnomes-games-data, I get this error:
sudo apt-get autoremove gnome-games-data
Reading package lists... Done
Building dependency tree
Reading state information... Done
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, 38.1MB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing gnome-games-data (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
gnome-games-data
E: Sub-process /usr/bin/dpkg returned an error code (1)
But I also get an error when I try the re-install:
sudo apt-get install --reinstall gnome-games-data
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
gnome-games gnome-games-extra-data
The following packages will be upgraded:
gnome-games-data
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/11.5MB of archives.
After this operation, 0B of additional disk space will be used.
Selecting previously deselected package gnome-games-data.
(Reading database ... 141169 files and directories currently installed.)
Preparing to replace gnome-games-data 1:2.22.3-0ubuntu1 (using .../gnome-games-data_1%3a2.22.3-0ubuntu2_all.deb) ...
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: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
WARNING: /usr/share/python-support/gnome-games-data does not exist.
Some bytecompiled files may be left behind.
Traceback (most recent call last):
File "/usr/sbin/update-python-modules", line 269, in <module>
args.remove(arg)
ValueError: list.remove(x): x not in list
dpkg: error processing /var/cache/apt/archives/gnome-games-data_1%3a2.22.3-0ubuntu2_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Usage: update-python-modules [-v] [-c] package_directory [...]
update-python-modules [-v] [-c] package.dirs [...]
update-python-modules [-v] [-a|-f]
update-python-modules: error: /usr/share/python-support/gnome-games-data does not exist
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/gnome-games-data_1%3a2.22.3-0ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm pretty new to Linux and ubuntu, so any help would be greatly appreciated :)
During one of the last updates, something went wrong with gnomes-games-data. I have tried what I know to try to remove and re-install through both Synaptic and with apt-get, but am in a catch 22: When trying to remove gnomes-games-data, I get this error:
sudo apt-get autoremove gnome-games-data
Reading package lists... Done
Building dependency tree
Reading state information... Done
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, 38.1MB disk space will be freed.
Do you want to continue [Y/n]? y
dpkg: error processing gnome-games-data (--remove):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
gnome-games-data
E: Sub-process /usr/bin/dpkg returned an error code (1)
But I also get an error when I try the re-install:
sudo apt-get install --reinstall gnome-games-data
Reading package lists... Done
Building dependency tree
Reading state information... Done
Recommended packages:
gnome-games gnome-games-extra-data
The following packages will be upgraded:
gnome-games-data
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0B/11.5MB of archives.
After this operation, 0B of additional disk space will be used.
Selecting previously deselected package gnome-games-data.
(Reading database ... 141169 files and directories currently installed.)
Preparing to replace gnome-games-data 1:2.22.3-0ubuntu1 (using .../gnome-games-data_1%3a2.22.3-0ubuntu2_all.deb) ...
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: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
WARNING: /usr/share/python-support/gnome-games-data does not exist.
Some bytecompiled files may be left behind.
Traceback (most recent call last):
File "/usr/sbin/update-python-modules", line 269, in <module>
args.remove(arg)
ValueError: list.remove(x): x not in list
dpkg: error processing /var/cache/apt/archives/gnome-games-data_1%3a2.22.3-0ubuntu2_all.deb (--unpack):
subprocess new pre-removal script returned error exit status 1
Usage: update-python-modules [-v] [-c] package_directory [...]
update-python-modules [-v] [-c] package.dirs [...]
update-python-modules [-v] [-a|-f]
update-python-modules: error: /usr/share/python-support/gnome-games-data does not exist
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/gnome-games-data_1%3a2.22.3-0ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
I'm pretty new to Linux and ubuntu, so any help would be greatly appreciated :)