I had a very old server on etch and i tried to upgrade it to jessie.
everything was good until wheezy
when i made dist-upgrade, it try to upgrade libc6
WARNING: this version of the GNU libc requires kernel version
2.6.26 or later. Please upgrade your kernel 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 lenny sources to your /etc/apt/sources.list and run:
apt-get install -t lenny linux-image-2.6
before that message, it already installs libc-bin
so that command cannot work but I downloaded it on https://archive.debian.net/squeeze/i386/linux-image-2.6.32-5-686/download
and installed it with dpkg, I had that message :
Pr▒paration du remplacement de linux-image-2.6.32-5-686 2.6.32-48squeeze6 (en utilisant linux-image-2.6.32-5-686_2.6.32-48squeeze6_i386.deb) ...
D▒paquetage de la mise ▒ jour de linux-image-2.6.32-5-686 ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
Param▒trage de linux-image-2.6.32-5-686 (2.6.32-48squeeze6) ...
Running depmod.
aptRunning update-initramfs.
update-initramfs: Generating /boot/initrd.img-2.6.32-5-686
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-686 /boot/vmlinuz-2.6.32-5-686
so I think it was installed, but I still have a conflict with libc6 (dependancy unmet)
Les paquets suivants contiennent des d▒pendances non satisfaites▒:
libc6 : D▒pend: libc-bin (= 2.11.3-4) mais 2.13-38+deb7u11 est install▒
locales : D▒pend: glibc-2.13-1
so I don't know what to do :
- I can reboot linux on the new kernel), but I don't know how the old libc6 will work with the new libc-bin
- I can try to reinstall libc-bin on the old version but I don't know how to do safely
Can someone help me ? That's a mess