Bug#524664: libc6-amd64: post-removal script returned error
On Sat, Apr 18, 2009 at 10:58:37PM +0200, Hector Oron wrote:
> Package: libc6-amd64
> Version: 2.9-7
> Severity: normal
>
> Hi,
>
> I am getting this error while installing this package in an i386 chroot running under a amd64 system.
>
> Cheers
>
> ----------------------------------------------
> The following extra packages will be installed:
> libc6-amd64
> The following packages will be upgraded:
> libc6-amd64
> 1 upgraded, 0 newly installed, 0 to remove and 37 not upgraded.
> 3 not fully installed or removed.
> Need to get 4165kB of archives.
> After this operation, 0B of additional disk space will be used.
> Get:1 http://ftp.uk.debian.org unstable/main libc6-amd64 2.9-7 [4165kB]
> Fetched 4165kB in 0s (4875kB/s)
> Can not write log, openpty() failed (/dev/pts not mounted?)
> (Reading database ... 36698 files and directories currently installed.)
> Preparing to replace libc6-amd64 2.9-6 (using .../libc6-amd64_2.9-7_i386.deb) ...
> Unpacking replacement libc6-amd64 ...
> dpkg (subprocess): unable to execute old post-removal script: Accessing a corrupted shared library
> 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: Accessing a corrupted shared library
> dpkg: error processing /var/cache/apt/archives/libc6-amd64_2.9-7_i386.deb (--unpack):
> subprocess new post-removal script returned error exit status 2
> Errors were encountered while processing:
> /var/cache/apt/archives/libc6-amd64_2.9-7_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
Looks like you have a broken chroot/filesystem. Does the problem appears
only on libc6-amd64 or also while installing other packages?
> -- System Information:
> Debian Release: 5.0
> APT prefers stable
> APT policy: (500, 'stable')
> Architecture: armel (armv5tel)
>
> Kernel: Linux 2.6.26-1-iop32x
That looks totally wrong. What kernel are you using? 2.6.26-1-amd64?
--
Aurelien Jarno GPG: 1024D/F1BCDB73
aurelien@aurel32.net http://www.aurel32.net
Reply to: