That's how i fixed it (on amd64):

apt-get install python2.4
mkdir /root/pyt
mkdir /root/pyt/DEBIAN
dpkg -x python-apt_0.7.4ubuntu5_amd64.deb /root/pyt
dpkg -e python-apt_0.7.4ubuntu5_amd64.deb /root/pyt/DEBIAN

Then change this line in the file preinst:
python-version = python:Versions=2.4
to
python-version = 2.4

Then rebuild the package:
dpkg -b /root/pyt  python-apt_0.7.4ubuntu5_amd64.deb

And install it: 
dpkg -i python-apt_0.7.4ubuntu5_amd64.deb

Do the same with update-manager-core and you're done :)
I attach a tar with the 2 archives, but can be done easily in 5 minutes :D
Cheers

Ciaby


** Attachment added: "python-apt & update-manager-core (FIXED) for amd64"
   http://launchpadlibrarian.net/12080391/pkgs.tar.bz2

-- 
[hardy] pycentral crashed with ValueError in parse_versions()
https://bugs.launchpad.net/bugs/192992
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to