apt-get problems

Bob Allen boballen2 at gmail.com
Thu Aug 10 09:50:05 UTC 2006


I Installed debian sid a few days ago and then added ubuntu universe and
multiverse repositories so
so that I could get things like w32codecs.

apt-get update gives me errors with bad keys but I decided to ingore these.
I installed the codecs and
some other packages with no problems but I then tried to do an upgrade in
synaptic which downloaded
over 200 packages and installed most of them bombing out near the end.

I cant seem to fix my system. I tried "apt-get -f install" which bombs out
telling me to try "apt-get -f install"

Then I tried the following...

bob at shuttle:~/Downloads/Iso-s$ sudo apt-get -f upgrade gnome-games-data
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following NEW packages will be installed:
  xrdb
The following packages have been kept back:
  gnome-accessibility-themes gnome-themes libgnomemm-2.6-dev locales
The following packages will be upgraded:
  gnome-games-data python-gmenu
2 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
6 not fully installed or removed.
Need to get 0B/3495kB of archives.
After unpacking 1956kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  xrdb python-gmenu gnome-games-data
Install these packages without verification [y/N]? y
(Reading database ... 109866 files and directories currently installed.)
Unpacking xrdb (from .../xrdb_1%3a1.0.1-0ubuntu2_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/xrdb_1%3a1.0.1-0ubuntu2_i386.deb (--unpack):
 trying to overwrite `/usr/bin/xrdb', which is also in package xbase-clients
Preparing to replace python-gmenu 2.14.0-6 (using
.../python-gmenu_2.14.3-0ubuntu1_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 7, in ?
    import pyversions
ImportError: Bad magic number in /usr/share/python/pyversions.pyc
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing
/var/cache/apt/archives/python-gmenu_2.14.3-0ubuntu1_i386.deb (--unpack):
 there is no script in the new version of the package - giving up
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 7, in ?
    import pyversions
ImportError: Bad magic number in /usr/share/python/pyversions.pyc
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Preparing to replace gnome-games-data 1:2.14.2.1-1 (using
.../gnome-games-data_1%3a2.14.3-0ubuntu1_all.deb) ...
Unpacking replacement gnome-games-data ...
dpkg: error processing
/var/cache/apt/archives/gnome-games-data_1%3a2.14.3-0ubuntu1_all.deb
(--unpack):
 trying to overwrite
`/usr/share/pixmaps/gnome-games-common/cards/bonded.png', which is also in
package gnome-cards-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/xrdb_1%3a1.0.1-0ubuntu2_i386.deb
 /var/cache/apt/archives/python-gmenu_2.14.3-0ubuntu1_i386.deb
 /var/cache/apt/archives/gnome-games-data_1%3a2.14.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
bob at shuttle:~/Downloads/Iso-s$ sudo apt-get remove gnome-games-data
Reading package lists... Done
Building dependency tree... Done
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  gdm: Depends: xrdb but it is not going to be installed
  gnome-games: Depends: gnome-games-data (= 1:2.14.3-0ubuntu1) but it is not
going to be installed
  gnome-menus: Depends: python-gmenu (>= 2.14.3-0ubuntu1) but 2.14.0-6 is to
be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify
a solution).
bob at shuttle:~/Downloads/Iso-s$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  gnome-games-data python-gmenu xrdb
The following NEW packages will be installed:
  xrdb
The following packages will be upgraded:
  gnome-games-data python-gmenu
2 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
6 not fully installed or removed.
Need to get 0B/3495kB of archives.
After unpacking 1956kB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
  xrdb python-gmenu gnome-games-data
Install these packages without verification [y/N]? y
(Reading database ... 109866 files and directories currently installed.)
Unpacking xrdb (from .../xrdb_1%3a1.0.1-0ubuntu2_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/xrdb_1%3a1.0.1-0ubuntu2_i386.deb (--unpack):
 trying to overwrite `/usr/bin/xrdb', which is also in package xbase-clients
Preparing to replace python-gmenu 2.14.0-6 (using
.../python-gmenu_2.14.3-0ubuntu1_i386.deb) ...
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 7, in ?
    import pyversions
ImportError: Bad magic number in /usr/share/python/pyversions.pyc
dpkg: warning - old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing
/var/cache/apt/archives/python-gmenu_2.14.3-0ubuntu1_i386.deb (--unpack):
 there is no script in the new version of the package - giving up
Traceback (most recent call last):
  File "/usr/bin/pycentral", line 7, in ?
    import pyversions
ImportError: Bad magic number in /usr/share/python/pyversions.pyc
dpkg: error while cleaning up:
 subprocess post-installation script returned error exit status 1
Preparing to replace gnome-games-data 1:2.14.2.1-1 (using
.../gnome-games-data_1%3a2.14.3-0ubuntu1_all.deb) ...
Unpacking replacement gnome-games-data ...
dpkg: error processing
/var/cache/apt/archives/gnome-games-data_1%3a2.14.3-0ubuntu1_all.deb
(--unpack):
 trying to overwrite
`/usr/share/pixmaps/gnome-games-common/cards/bonded.png', which is also in
package gnome-cards-data
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/xrdb_1%3a1.0.1-0ubuntu2_i386.deb
 /var/cache/apt/archives/python-gmenu_2.14.3-0ubuntu1_i386.deb
 /var/cache/apt/archives/gnome-games-data_1%3a2.14.3-0ubuntu1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


How do I get back to a usable apt-get/synaptic ?

Bob.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20060810/50ed528f/attachment.html>


More information about the ubuntu-users mailing list