[php-maint] Can't execute postrm script

Marcus Hardt marcus.hardt at iwr.fzk.de
Thu May 3 13:45:20 UTC 2007


Hi!

When trying to upgrade I get trouble with php4-mcrypt:

[root at bundesminister:/usr/share/horde3/lib/Horde/DataTree]$ dpkg -i /var/cache/apt/archives/php4-mcrypt_6%3a4.4.4-8+etch2_i386.deb
Selecting previously deselected package php4-mcrypt.
(Reading database ... 27771 files and directories currently installed.)
Preparing to replace php4-mcrypt 3:4.3.10-1 (using .../php4-mcrypt_6%3a4.4.4-8+etch2_i386.deb) ...
Unpacking replacement php4-mcrypt ...
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: error processing /var/cache/apt/archives/php4-mcrypt_6%3a4.4.4-8+etch2_i386.deb (--install):
 there is no script in the new version of the package - giving up
Errors were encountered while processing:
 /var/cache/apt/archives/php4-mcrypt_6%3a4.4.4-8+etch2_i386.deb


Remove fails for the same reason.


[root at bundesminister:/usr/share/horde3/lib/Horde/DataTree]$ dpkg -r php4-mcrypt
(Reading database ... 27768 files and directories currently installed.)
Removing php4-mcrypt ...
dpkg (subprocess): unable to execute post-removal script: Exec format error
dpkg: error processing php4-mcrypt (--remove):
 subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
 php4-mcrypt

What shall I do ?

-- 
Marcus



More information about the pkg-php-maint mailing list