LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 12-08-2010, 03:56 PM   #1
boomer42812
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Rep: Reputation: 0
How do I upgrade from current kernel of 2.6.17-2 to at least 2.6.18?


Hi,

I am attempting to bring my server up from etch to lenny and during that process I need to upgrade my kernel to at least 2.6.18. I am currently on 2.6.17-2 and get the following error for my sources.list file:

W: Couldn't stat source package list http://security.debian.org etch/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_etch_updates_main_binary-amd64_Packages) - stat (2 No such file or directory)
 
Old 12-08-2010, 08:58 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,497
Blog Entries: 2

Rep: Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017
Etch is not supported anymore, sou you have to get the kernel from the archives. To do that you have to change your sources.list, it should look like this:
Code:
deb http://archive.debian.org/debian/ etch contrib main non-free
 
Old 12-09-2010, 07:14 AM   #3
boomer42812
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Key no longer valid to log into server

Thanks TobiSGD for the quick response. I was able to get that far after my post, however I have been struggling with getting a new key because my old key expired in March that allows me access to the debian server archive.

Here is my latest error:

Err http://archieve.debian.org etch Release.gpg
Temporary failure resolving 'archieve.debian.org'
Err http://archive.debian.org etch Release.gpg
Temporary failure resolving 'archive.debian.org'
Failed to fetch http://archieve.debian.org/debian/di...ch/Release.gpg Temporary failure resolving 'archieve.debian.org'
Failed to fetch http://archive.debian.org/debian/dists/etch/Release.gpg Temporary failure resolving 'archive.debian.org'
Reading package lists... Done
W: Couldn't stat source package list http://archieve.debian.org etch/main Packages (/var/lib/apt/lists/archieve.debian.org_debian_dists_etch_main_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archieve.debian.org etch/non-free Packages (/var/lib/apt/lists/archieve.debian.org_debian_dists_etch_non-free_binary-amd64_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://archieve.debian.org etch/contrib Packages (/var/lib/apt/lists/archieve.debian.org_debian_dists_etch_contrib_binary-amd64_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Some index files failed to download, they have been ignored, or old ones used instead.

Here is my sources.list contents:

#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 Binary-1 (20061111)]/ etch main

deb http://archieve.debian.org/debian/ etch main non-free contrib
deb-src http://archive.debian.org/debian/ etch main contrib non-free
# deb http://archive.mirrors.kernel.org/ etch/main contrib non-free

Thanks
 
Old 12-09-2010, 07:24 AM   #4
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,497
Blog Entries: 2

Rep: Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017Reputation: 4017
At first, correct the spelling error in your sources.list, it is archive, not archieve.
Besides that, I have no problems surfing to the mentioned repository, so I would assume that your Internet connection is down or not configured correct.
Please post the output of
Code:
ifconfig
(must be run as root), and
Code:
cat /etc/resolv.conf
 
Old 12-10-2010, 10:12 AM   #5
boomer42812
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Original Poster
Rep: Reputation: 0
Thanks for the response. I corrected the sources.list

Here is the requested information:

140:~# ifconfig
eth1 Link encap:Ethernet HWaddr 00:30:48:5B:81:31
inet addr:10.1.1.55 Bcast:10.1.1.255 Mask:255.255.255.0
inet6 addr: fe80::230:48ff:fe5b:8131/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:20983368 errors:0 dropped:0 overruns:0 frame:0
TX packets:7123854 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2238028828 (2.0 GiB) TX bytes:2715801825 (2.5 GiB)
Interrupt:193

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2347 errors:0 dropped:0 overruns:0 frame:0
TX packets:2347 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:942597 (920.5 KiB) TX bytes:942597 (920.5 KiB)


140:/etc# cat resolv.conf

domain mcl.ws-gex.com
nameserver 132.228.188.197
nameserver 155.104.117.53
nameserver 157.127.103.103
nameserver 158.114.148.16
nameserver 140.188.192.238
nameserver 155.104.204.43

retrans 500
retry 2

And here is the updated sources.list:
#
# deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 Binary-1 (20061111)]/ etch main

deb http://archive.debian.org/debian/ etch main non-free contrib
deb-src http://archive.debian.org/debian/ etch main contrib non-free
# deb http://archive.mirrors.kernel.org/ etch/main contrib non-free

Last edited by boomer42812; 12-10-2010 at 12:55 PM.
 
  


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
Why upgrade kernel is current one works? acithium Linux - General 6 07-14-2008 11:06 AM
Safe to upgrade to current kernel? ouellettesr Ubuntu 4 03-06-2007 02:02 PM
How to upgrade to -current ? New udev for new kernel !? introuble Slackware 8 04-21-2006 02:47 PM
What first upgrade kernel or upgrade slack 10.0 to current Kelean Slackware 7 01-16-2005 06:54 PM
I need to upgrade my current Kernel xmdms Linux - Software 2 05-06-2004 04:58 PM


All times are GMT -5. The time now is 06:16 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration