On Wed, Feb 25, 2009 at 12:23:03PM +0100, Yuri D'Elia wrote:
> Package: libc6
> Version: 2.9-3
> Severity: important
> 
> Preparing to replace libc6 2.7-10 (using .../archives/libc6_2.9-3_i386.deb) 
> ...
> Checking for services that may need to be restarted...
> Checking init scripts...
> Unpacking replacement libc6 ...
> FATAL: kernel too old
> dpkg: warning - old post-removal script returned error exit status 1
> dpkg - trying script from the new package instead ...
> FATAL: kernel too old
> dpkg: error processing /var/cache/apt/archives/libc6_2.9-3_i386.deb 
> (--unpack):
>  subprocess new post-removal script returned error exit status 1
> FATAL: kernel too old
> dpkg: error while cleaning up:
>  subprocess pre-installation script returned error exit status 1
> 
> $ uname -r  
> 2.6.23.1-bytemark-uml

I am unable to reproduce the problem here. Could you please execute the
attached script using '/bin/sh -x kernelcheck.sh' and send me the
output?

Also what is your /bin/sh shell?

> Shouldn't MIN_KERNEL_SUPPORTED be 2.6.18?

It is 2.6.18, but it looks like there is a bug in the script.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net

Attachment: kernelcheck.sh
Description: Bourne shell script

Reply via email to