Hello Everyone,

I was hoping someone out there could help me with a problem with debian
packages. For some reason, the python-base package currently
installed in my system refuses to uninstall itself. dselect will not
continue upgrading the rest of my packages until this one gets upgraded.
These are the error messages I get.

When trying to remove the package:

geko:/home/geko# dpkg -r python-base
dpkg: error processing python-base (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 python-base

When trying to install an upgraded package I get pretty much the same
error message:

geko:/home/geko# dpkg -i python-base_1.5.2-4.deb 
(Reading database ... 28377 files and directories currently installed.)
Preparing to replace python-base 1.5.2-4 (using python-base_1.5.2-4.deb)
...
Unpacking replacement python-base ...
dpkg (subprocess): unable to execute old post-removal script: Exec format
error
dpkg: warning - old post-removal script returned error exit status 2
dpkg - trying script from the new package instead ...
dpkg (subprocess): unable to execute new post-removal script: Exec format
error
dpkg: error processing python-base_1.5.2-4.deb (--install):
 subprocess new post-removal script returned error exit status 2
dpkg (subprocess): unable to execute new post-removal script: Exec format
error
dpkg: error while cleaning up:
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 python-base_1.5.2-4.deb

I"ve tried various force arguments, but it just doesn't seem to want to
continue. Any suggestions as to how I should proceed?

                                        -dave

Reply via email to