LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How do I upgrade from current kernel of 2.6.17-2 to at least 2.6.18? (http://www.linuxquestions.org/questions/linux-newbie-8/how-do-i-upgrade-from-current-kernel-of-2-6-17-2-to-at-least-2-6-18-a-849132/)

boomer42812 12-08-2010 03:56 PM

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)

TobiSGD 12-08-2010 08:58 PM

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

boomer42812 12-09-2010 07:14 AM

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

TobiSGD 12-09-2010 07:24 AM

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

boomer42812 12-10-2010 10:12 AM

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


All times are GMT -5. The time now is 11:45 AM.