[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-get lockdown



On Thu, Sep 15, 2005 at 06:08:49PM +0300, Chavdar Videff wrote:
> Dear List,
> 
> Following the security advisories, I tried to upgrade several packages on my 
> PC running Debian Sid. I did it with apt-get. I presume some of them are 
> related to an upgrade of glibc, for after download I got the following error:
> 
> Do you want to upgrade glibc now? [Y/n] y
> 
> WARNING: Your kernel version indicates a revision number
> of 255 or greater. Glibc has a number of built in
> assumptions that this revision number is less than 255.
> If you've built your own kernel, please make sure that any
> custom version numbers are appended to the upstream
> kernel number with a dash or some other delimiter.
> dpkg: error processing /var/cache/apt/archives/libc6_2.3.5-6_i386.deb 
> (--unpack):
>  subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/libc6_2.3.5-6_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> What can I do to repair things? The kernel is my own compilation, named:
> kernel-image-2.4.275-lartc-tun_10.00.Custom_i386.deb.
> In Makefile of the kernel source I have the following:
> 
> VERSION = 2
> PATCHLEVEL = 4
> SUBLEVEL = 27
> EXTRAVERSION = 5
 change "EXTRAVERSION = 5" to "EXTRAVERSION = -5" and recompile your
 kernel. I think that should do although there might be an even easier
 way to trick glibc to believe that the sublevel version of the kernel
 is 27 instead of 255.

 Regards,
 Boris.



Reply to: