hoary upgrade error fix

David D smoothrt at gmail.com
Fri Dec 17 16:08:26 UTC 2004


Okay, this type of situation happens relatively often in hoary:

david at demo:~ $ sudo apt-get dist-upgrade
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:
  python-pyorbit: Depends: python2.4-pyorbit but it is not installed
E: Unmet dependencies. Try using -f.
david at demo:~ $ sudo apt-get -f install
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
  python2.4-pyorbit
The following NEW packages will be installed:
  python2.4-pyorbit
0 upgraded, 1 newly installed, 0 to remove and 29 not upgraded.
193 not fully installed or removed.
Need to get 0B/55.9kB of archives.
After unpacking 254kB of additional disk space will be used.
Do you want to continue? [Y/n] Y

Preconfiguring packages ...
(Reading database ... 131875 files and directories currently installed.)
Unpacking python2.4-pyorbit (from
.../python2.4-pyorbit_2.0.1-1ubuntu3_amd64.deb) ...
dpkg: error processing
/var/cache/apt/archives/python2.4-pyorbit_2.0.1-1ubuntu3_amd64.deb
(--unpack):
 trying to overwrite `/usr/lib/pkgconfig/pyorbit-2.pc', which is also
in package python2.3-pyorbit
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/python2.4-pyorbit_2.0.1-1ubuntu3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

So, in these type of situations, is it safe, to uninstall
python2.3-pyorbit and then go ahead and install the 2.4 package?  Once
you have python 2.4, shouldn't apt-get remove all of the python 2.3
packages, or you need to go through and do this manually?




More information about the ubuntu-users mailing list