Bug#51200: dpkg: cannot continue if Exec format error
Package: dpkg
Version: 1.4.1.19
Severity: critical
I am stuck, loading a package that had broken post-removal script, and now I can't get it to work at all.
messages:
/var/cache/apt/archives# dpkg -i --force-downgrade coolman_3.11.6-1_i386.deb
(Reading database ... 59255 files and directories currently installed.)
Preparing to replace coolman 3.11.6-1 (using coolman_3.11.6-1_i386.deb) ...
Unpacking replacement coolman ...
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 coolman_3.11.6-1_i386.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:
coolman_3.11.6-1_i386.deb
-----
It won't remove or install this package, and I can't get it to bypass it either.
-- System Information
Debian Release: potato
Kernel Version: Linux thix 2.2.12 #4 SMP Wed Oct 13 13:30:21 MST 1999 i586 unknown
Versions of the packages dpkg depends on:
ii libc6 2.1.2-10 GNU C Library: Shared libraries and timezone
ii libncurses4 4.2-3.4 Shared libraries for terminal handling
ii libstdc++2.10 2.95.2-3 The GNU stdc++ library
Reply to: