[php-maint] Can't execute postrm script

sean finney seanius at debian.org
Thu May 3 16:23:50 UTC 2007


hi marcus,

On Thu, 2007-05-03 at 15:45 +0200, Marcus Hardt wrote:
> 
> [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

that's really strange.  could you give the output of:

file /var/lib/dpkg/info/php4-mcrypt.postrm

and

head /var/lib/dpkg/info/php4-mcrypt.postrm

thanks,
	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20070503/4394f028/attachment.pgp


More information about the pkg-php-maint mailing list