package python-apt 0.7.4ubuntu4 failed to install/upgrade: subprocess pre-installation script returned error exit status 1
Bug #193223 reported by
Fabio Colombo
This bug report is a duplicate of:
Bug #192992: [hardy] pycentral crashed with ValueError in parse_versions().
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-apt
I obtain this crash trying to upgrade the iso4 hardy with the kernel 2.6.24-7
ProblemType: Package
Architecture: i386
Date: Tue Feb 19 11:30:04 2008
DistroRelease: Ubuntu 8.04
ErrorMessage: subprocess pre-installation script returned error exit status 1
Package: python-apt 0.7.4ubuntu4
PackageArchitec
SourcePackage: python-apt
Title: package python-apt 0.7.4ubuntu4 failed to install/upgrade: subprocess pre-installation script returned error exit status 1
Uname: Linux blackdiamond-
To post a comment you must log in.
This is what i get from upgrading..
The following packages will be upgraded: apt_0.7. 4ubuntu5_ i386.deb) ... pycentral" , line 1593, in <module> pycentral" , line 1587, in main run(global_ options) pycentral" , line 1075, in run requested_ versions_ for_runtime( version_ field, version_only=True) pycentral- data/pyversions .py", line 172, in requested_ versions_ for_runtime vstring) pycentral- data/pyversions .py", line 58, in parse_versions apt/archives/ python- apt_0.7. 4ubuntu5_ i386.deb (--unpack): manager_ 1%3a0.87. 8_all.deb) ... pycentral" , line 1593, in <module> pycentral" , line 1587, in main run(global_ options) pycentral" , line 1075, in run requested_ versions_ for_runtime( version_ field, version_only=True) pycentral- data/pyversions .py", line 172, in requested_ versions_ for_runtime vstring) pycentral- data/pyversions .py", line 58, in parse_versions apt/archives/ update- manager_ 1%3a0.87. 8_all.deb (--unpack): manager- core_1% 3a0.87. 8_i386. deb) ... pycentral" , line 1593, in <module> pycentral" , line 1587, in main run(global_ options) pycentral" , line 1075, in run requested_ versions_ for_runtime( version_ field, version_only=True) pycentral- data/pyversions .py", line 172, in requested_ versions_ for_runtime vstring) pycentral- data/pyversions .py", line 58, in parse_versions apt/archives/ update- manager- core_1% 3a0.87. 8_i386. deb (--unpack): apt/archives/ ...
python-apt update-manager update-manager-core
3 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
53 not fully installed or removed.
Need to get 0B/1122kB of archives.
After this operation, 12.3kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 120868 files and directories currently installed.)
Preparing to replace python-apt 0.7.4ubuntu4 (using .../python-
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
requested = pyversions.
File "/usr/share/
vinfo = parse_versions(
File "/usr/share/
raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager 1:0.87.6 (using .../update-
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
requested = pyversions.
File "/usr/share/
vinfo = parse_versions(
File "/usr/share/
raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
Preparing to replace update-manager-core 1:0.87.6 (using .../update-
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
requested = pyversions.
File "/usr/share/
vinfo = parse_versions(
File "/usr/share/
raise ValueError, 'error parsing Python-Version attribute'
ValueError: error parsing Python-Version attribute
dpkg: error processing /var/cache/
subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/