Re: problem with aptitude upgrade or dist-upgrade



Darren Salt wrote:
....
...
Preparing to replace libc6 2.3.6.ds1-13 (using .../
libc6_2.6.1-1+b1_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.
[snip]
E: Sub-process /usr/bin/dpkg returned an error code (1)

i added etch sources and tried to switch to a new kernel, but again it
says i have to solve my unmet dependencies....

Given the presence of libc6 2.3.6.ds1-13 (or 2.3.6.ds1-13etch2, which is what
you should have if you're running etch), it's safe to upgrade your kernel to
2.6.18 and to use that.

Does your boot loader (lilo? grub?) know about the newer kernel?


I think yes, usually on debian a new kernel will be added as first in the grub boot list.

I also wanted do *force* installation of the newer libc6, but as for now no way, cause it bombs out in one of the preinst or prerm scripts.

Is there a way to install ignoring this pre* scripts?

--
Faciait li signeur!

Roy Batty
http://www.biolabnet.it/
.



Relevant Pages

  • Re: 2.6 kernel upgrade gives garbled video (w/o X11)
    ... the Etch packages because of a dependency loop involving libc6. ... not passing any special kernel parameters on boot to the 2.4 kernel ... I was getting this error when trying to upgrade the ... update and then try installing the 2.6 kernel package again? ...
    (Debian-User)
  • Re: HELP: I ran /stand/sysinstall...upgrade(100 % completed) But nothing happened..
    ... > and choose the Upgrade from the list... ... You need to read those instructions carefully. ... even if you've got as far as the stage of installing a new ... the 4.10 kernel you're trying to boot from has been trashed. ...
    (freebsd-questions)
  • Re: New Sarge install
    ... The default kernel after installing is 2.4.27. ... It's very simple to upgrade the kernel to 2.6 when running sarge since ... the distro provides prebuilt kernel-images. ...
    (Debian-User)
  • Re: libata, Sound on same IRQ : flaky sound
    ... installing a recent kernel is not that easy, ... a upgrade to a recent kernel mandates the installation of a recent ... fitted in 150MB ON DISK). ...
    (Linux-Kernel)
  • Re: [SLE] Many modules not found during boot after update...
    ... >> the Athlon kernel, although the system uses the default kernel, but I ... > you see that it is installing k_deflt. ... Carlos is partially right. ... I sure would like to know why the upgrade to -166 didnt upgrade the modules. ...
    (SuSE)