Package doesn't install cleanly, then won't uninstall cleanly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
flashplugin-nonfree (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
On Karmic i386.
$ apt-get install flashplugin-
Preconfiguring packages ...
Selecting previously deselected package flashplugin-
(Reading database ... 344296 files and directories currently installed.)
Preparing to replace flashplugin-
update-
update-
dpkg: warning: old pre-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
prerm called with unknown argument `failed-upgrade'
dpkg: error processing /var/cache/
subprocess new pre-removal script returned error exit status 1
postinst called with argument `abort-upgrade'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
/
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ apt-get remove flashplugin-
The following packages will be REMOVED:
flashplug
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 180kB disk space will be freed.
Do you want to continue [Y/n]?
dpkg: error processing flashplugin-
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
flashplugi
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ dpkg --purge --force-all flashplugin-
dpkg: warning: overriding problem because --force enabled:
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
(Reading database ... 344294 files and directories currently installed.)
Removing flashplugin-
update-
update-
dpkg: error processing flashplugin-
subprocess installed pre-removal script returned error exit status 2
postinst called with argument `abort-remove'
dpkg: error while cleaning up:
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
flashplug