Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Aug 11, 2011 4:46 pm 
Offline
Newbie

Joined: Thu Aug 11, 2011 4:29 pm
Posts: 2
Location: South Africa
I have had a Linode for some time now. I haven't updated it in a while. I am running Debian testing on it.

Recently I wanted to install ntop. During the process it also wanted to update libc, but this caused a problem:

Code:
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
Then reboot into this new kernel, and proceed with your upgrade
dpkg: error processing /var/cache/apt/archives/libc6_2.13-10_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
configured to not write apport reports


Among other things I tried updating my sources.list to lenny but trying to install that kernel gave me an error about setting initrd.

I've also tried manually installing which eventually lead to errors like FATAL: Kernel too old.

I tried rebooting right in the beginning but am now too wary to try again.

I would prefer to get this system fixed, reinstalling is a last resort.

$ uname -a
Code:
Linux miho 2.6.18.8-x86_64-linode1 #1 SMP Thu Apr 10 11:20:13 EDT 2008 x86_64 GNU/Linux

$ cat /etc/apt/sources.list
Code:
# the main Debian packages.
deb http://mirror.cc.columbia.edu/pub/linux/debian/debian/ testing main contrib
# Uncomment the deb-src line if you want 'apt-get source'
# to work with most packages.
# deb-src http://mirror.cc.columbia.edu/pub/linux/debian/debian/ testing main contrib
# uncommenting the following line will enable security updates
deb http://security.debian.org/ testing/updates main contrib
[/code]


Last edited by rvavruch on Sat Aug 13, 2011 9:38 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Thu Aug 11, 2011 4:57 pm 
Offline
Senior Member

Joined: Wed May 13, 2009 1:18 am
Posts: 681
If you need a kernel above 2.6.18, you need to switch your Linode's configuration (in the Linode Manager) away from the legacy kernel choice to the paravirt choice, and then reboot. Current ("latest") paravirt kernel is 2.6.39.1.

-- David


Top
   
 Post subject:
PostPosted: Sat Aug 13, 2011 9:38 am 
Offline
Newbie

Joined: Thu Aug 11, 2011 4:29 pm
Posts: 2
Location: South Africa
Thanks. That went surprisingly smooth.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group