Re: libc6 kernel upgrade problem
Robert Jerrard <email@example.com> writes:
> But, when I try 'apt-get -f install' I get:
> penrose:~# apt-get -f install
> Reading package lists... Done
> Building dependency tree... Done
> Correcting dependencies... Done
> The following extra packages will be installed:
> The following packages will be upgraded:
> 1 upgraded, 0 newly installed, 0 to remove and 862 not upgraded.
> 1 not fully installed or removed.
> Need to get 0B/4405kB of archives.
> After unpacking 184kB disk space will be freed.
> Do you want to continue [Y/n]?
> (Reading database ... 233224 files and directories currently installed.)
> Preparing to replace libc6 2.5-5 (using .../libc6_2.6.1-1_i386.deb) ...
> WARNING: POSIX threads library NPTL requires kernel version
> 2.6.8 or later. If you use a kernel 2.4, please upgrade it
> before installing glibc.
> The installation of a 2.6 kernel _could_ ask you to install a new libc
> first, this is NOT a bug, and should *NOT* be reported. In that case,
> please add etch sources to your /etc/apt/sources.list and run:
> apt-get install -t etch linux-image-2.6
> Then reboot into this new kernel, and proceed with your upgrade
> dpkg: error processing /var/cache/apt/archives/libc6_2.6.1-1_i386.deb
> subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> How does one get out of this cycle? Any help is appreciated.
You should install a 2.6.18 kernel from etch, after that is done you
can upgrade libc6 and the kernel to break the loop.
BTW, it is not recommended to keep such a huge backlog of packages if
you are running unstable. Resolving the dependencies for your 863 not
upgraded packages will be hard for apt-get/aptitude.