Debian Stable: Can't update kernel, libc won't update.
Posted
by
pascal
on Server Fault
See other posts from Server Fault
or by pascal
Published on 2011-06-29T21:21:14Z
Indexed on
2011/06/30
0:23 UTC
Read the original article
Hit count: 291
I use Debian Stable (squeeze) on a virtual host where I can't touch the kernel, it's stuck (and will be for some time as support told me) at
Linux 2.6.18-028stab070.3 #1 SMP Wed Jul 21 18:33:27 MSD 2010 x86_64
So when I try to update, several packages fail with FATAL: kernel too old
for example
Preparing to replace libgcc1 1:4.6.0-11 (using .../libgcc1_1%3a4.6.1-1_amd64.deb) ...
Unpacking replacement libgcc1 ...
Setting up libgcc1 (1:4.6.1-1) ...
FATAL: kernel too old
Segmentation fault
dpkg: error processing libgcc1 (--configure):
subprocess installed post-installation script returned error exit status 139
and some version chaos ensued:
The following packages have unmet dependencies:
libc-dev-bin : Depends: libc6 (> 2.13) but 2.11.2-13 is installed
libc6 : Depends: libc-bin (= 2.11.2-13) but 2.13-5 is installed
libc6-dev : Depends: libc6 (= 2.13-5) but 2.11.2-13 is installed
libquadmath0 : Depends: gcc-4.6-base (= 4.6.0-2) but 4.6.0-11 is installed
libstdc++6 : Depends: gcc-4.6-base (= 4.6.0-2) but 4.6.0-11 is installed
locales : Depends: glibc-2.13-1
What should I do? I want to keep the system up-to-date, so I want to pin as few packets as possible, but I also don't want to have to compile anything manually.
Trying to pin the status quo and figured out where the error came from: ldconfig
segfaults. -v
doesn't print anything more so I can't tell what's the actual problem.
# ldconfig
FATAL: kernel too old
© Server Fault or respective owner