package python-twisted-mail 8.2.0-2 failed to (re-)install/upgrade: Unterprozess neues pre-removal-Skript gab den Fehlerwert 1 zur?ck
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I had a power failure while installing python-
$ sudo dpkg --configure python-twisted-mail
dpkg: error processing python-twisted-mail (--configure):
Package is in a very bad inconsistent state - you should
reinstall it before attempting configuration.
Errors were encountered while processing:
python-
However, when I'm trying to (re-)install the package:
$ sudo dpkg -i python-
(Reading database ... 205939 files and directories currently installed.)
Preparing to replace python-twisted-mail 8.2.0-2 (using python-
dpkg (subprocess): unable to execute old pre-removal script: Exec format error
dpkg: warning - old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
rv = action.
File "/usr/bin/
pkg = DebPackage(
File "/usr/bin/
self.
File "/usr/bin/
self.
File "/usr/lib/
ConfigParse
File "/usr/lib/
raise NoSectionError(
ConfigParser.
dpkg: error processing python-
subprocess new pre-removal script returned error exit status 1
dpkg (subprocess): unable to execute post-installation script: Exec format error
dpkg: error while cleaning up:
subprocess post-installation script returned error exit status 2
Errors were encountered while processing:
python-
Ubuntu release:
$ lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
ProblemType: Package
Architecture: amd64
DistroRelease: Ubuntu 9.04
ErrorMessage: Unterprozess neues pre-removal-Skript gab den Fehlerwert 1 zurück
NonfreeKernelMo
Package: python-twisted-mail 8.2.0-2
PackageArchitec
SourcePackage: twisted-mail
Title: package python-twisted-mail 8.2.0-2 failed to install/upgrade: Unterprozess neues pre-removal-Skript gab den Fehlerwert 1 zurück
Uname: Linux 2.6.28-14-generic x86_64
Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug 512096, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.