Bug#598432: #598432: python-apt: upgrade fails
Package: python-apt
Version: 0.7.98
Severity: grave
Hi,
interestingly here (sid/amd64) it does not fail because of python3 or
python3.1 but because of python2.7:
Setting up python-apt (0.7.98) ...
INFO: using unknown version '/usr/bin/python2.7' (debian_defaults not up-to-date?)
Traceback (most recent call last):
File "/usr/bin/pycentral", line 2334, in <module>
main()
File "/usr/bin/pycentral", line 2328, in main
rv = action.run(global_options)
File "/usr/bin/pycentral", line 1481, in run
pkg.read_version_info()
File "/usr/bin/pycentral", line 899, in read_version_info
self.version_info = pyversions.parse_versions(self.version_field)
File "/usr/share/pycentral-data/pyversions.py", line 68, in parse_versions
raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing python-apt (--configure):
subprocess installed post-installation script returned error exit status 1
Installed versions of python:
ii python2.5 2.5.5-8
ii python2.6 2.6.6-5
ii python2.7 2.7-8
ii python3 3.1.2-12
ii python3.1 3.1.2+20100926-1
ii python3.2 3.2~a2-6
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (600, 'testing'), (400, 'stable'), (110, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.26-2-xen-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.ISO-8859-15, LC_CTYPE=en_US.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash
Versions of packages python-apt depends on:
ii apt [libapt-pkg4.10] 0.8.5 Advanced front-end for dpkg
ii apt-utils [libapt-inst1.2] 0.8.5 APT utility programs
ii libc6 2.11.2-6 Embedded GNU C Library: Shared lib
ii libgcc1 1:4.4.4-17 GCC support library
ii libstdc++6 4.4.4-17 The GNU Standard C++ Library v3
ii python 2.6.6-3 interactive high-level object-orie
ii python-central 0.6.16+nmu1 register and build utility for Pyt
Versions of packages python-apt recommends:
ii iso-codes 3.20-1 ISO language, territory, currency,
ii lsb-release 3.2-24 Linux Standard Base version report
ii python2.6 2.6.6-5 An interactive high-level object-o
Versions of packages python-apt suggests:
pn python-apt-dbg <none> (no description available)
pn python-apt-doc <none> (no description available)
ii python-gtk2 2.17.0-4 Python bindings for the GTK+ widge
pn python-vte <none> (no description available)
-- no debconf information
Reply to: