LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-01-2010, 11:23 AM   #1
daJBM
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Rep: Reputation: 0
ldconfig issues "FATAL: kernel too old"


Hey there,

I got a virtual server which served well the last four years. However, I wanted to expand a cherrypy (a python-based web framework) application by installing the matplotlib module for python. The installation failed as no cc1plus could be found. Therefore I wanted to install gcc using apt-get, which failed as well as libc6 was required which could not be installed because of the following message:

Quote:
WARNING: The following packages cannot be authenticated!
libc6
Install these packages without verification [y/N]? y
Preconfiguring packages ...
Setting up libgcc1 (4.4.2-9) ...
FATAL: kernel too old
/var/lib/dpkg/info/libgcc1.postinst: line 15: 25610 Segmentation fault ldconfig
dpkg: error processing libgcc1 (--configure):
subprocess post-installation script returned error exit status 139
Errors were encountered while processing:
libgcc1
E: Sub-process /usr/bin/dpkg returned an error code (1)
Just executing ldconfig results in the same:
Quote:
vps:~# ldconfig
FATAL: kernel too old
Segmentation fault
Here some specifications of the system that might be important:

Quote:
vps:/$ uname -a
Linux vps.serverpool.info 2.6.9-022stab078.14-enterprise #1 SMP Wed Jul 19 14:35:02 MSD 2006 i686 GNU/Linux
vps:/$ cat /etc/issue
Debian GNU/Linux 3.1 \n \l
Any help for finding a solution for that issue was greatly appreciated!
Daniel
 
Old 05-01-2010, 12:04 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Post your sources.list, you probably are pointing to 'stable' and 3.1 is now 'oldstable'
 
Old 05-01-2010, 12:07 PM   #3
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Bullseye
Posts: 1,508

Rep: Reputation: Disabled
I think you will find Etch is 'oldstable' version 4.0.
3.1 is Sarge.
 
Old 05-01-2010, 12:26 PM   #4
daJBM
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
this is my sources.list

Quote:
vps:~# cat /etc/apt/sources.list
### BY SERVERMAKER
deb ftp://ftp.de.netclusive.de/pub/Linux/debian/ testing main
deb-src ftp://ftp.de.netclusive.de/pub/Linux/debian/ testing main

deb http://ftp.de.debian.org/debian/ testing main
deb-src http://ftp.de.debian.org/debian/ testing main

deb http://security.debian.org/ testing/updates main
So, how do I point to the 'oldstable' sources then?
 
Old 05-01-2010, 02:04 PM   #5
daJBM
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, indeed. 'oldstable' refers to etch. Do you have any recommendations for a proper sarge sources.list?
 
Old 05-01-2010, 02:37 PM   #6
daJBM
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
well. My sources.list now looks like this.

Quote:
deb http://archive.debian.org/debian/ sarge main contrib non-free
deb-src http://archive.debian.org/debian/ sarge main non-free contrib

deb http://archive.debian.org/debian-security/ sarge/updates main contrib non-free
executing apt-get -f install now leads to this:
Quote:
vps:/# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following packages will be REMOVED:
binutils libmysqlclient15-dev
0 upgraded, 0 newly installed, 2 to remove and 62 not upgraded.
3 not fully installed or removed.
Need to get 0B of archives.
After unpacking 27.0MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 26289 files and directories currently installed.)
Removing binutils ...
FATAL: kernel too old
/var/lib/dpkg/info/binutils.postrm: line 7: 1371 Segmentation fault ldconfig
dpkg: error processing binutils (--remove):
subprocess post-removal script returned error exit status 139
Errors were encountered while processing:
binutils
E: Sub-process /usr/bin/dpkg returned an error code (1)
So what can I do now?
 
Old 05-02-2010, 08:03 AM   #7
daJBM
LQ Newbie
 
Registered: Apr 2010
Posts: 5

Original Poster
Rep: Reputation: 0
I decided to reinstall the server, especially as my provider offered to install a "new" debian, that is 'etch'. Nonetheless, thanks for your help so far!
 
Old 05-03-2010, 03:21 PM   #8
helices
LQ Newbie
 
Registered: May 2010
Posts: 1

Rep: Reputation: 0
Although the OP solved his problem via reinstall, I'd prefer NOT to go that route.

I've been asked to update a Debian box that hasn't had updates in several years:

mds@czar:/etc/apt
# sudo ldconfig
FATAL: kernel too old
Segmentation fault

mds@czar:/etc/apt
# uname -a
Linux czar 2.6.8-2-386 #1 Thu May 19 17:40:50 JST 2005 i686 GNU/Linux

mds@czar:/etc/apt
# cat /etc/issue
Debian GNU/Linux lenny/sid \n \l


My main issue to resolve is updating clamav from 0.94 to anything newer than 0.95

gcc fails ./configure, because of some legacy issue; and all attempts to aptitude install result in "kernel too old ...

Please, advise.

Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
first line on disp during boot "doing fast boot", then "FATAL: mbcache not found" rangerpresto SUSE / openSUSE 2 02-13-2010 10:18 PM
Server restarted thrice displaying " Kernel Panic : not syncing fatal exception in " rockhack Linux - Kernel 3 01-20-2010 07:34 AM
FATAL error: "Thermal" and "Fan" ibex Linux - Hardware 1 06-22-2006 06:31 AM
Postgresql error FATAL: user "root" does not exist" cgetty Ubuntu 4 06-21-2005 02:11 PM
2.6.4 kernel, "fatal" module dependancy error andzerger Slackware 2 03-12-2004 01:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration