Debian – How to update sources.list for Debian 4.0 Etch

aptdebiandebian-etch

I am trying to update my /etc/apt/sources.list on my VPS. As I run apt-get update I get all kinds of 404s not found, for example:

Failed to fetch http://debian.newdream.net/dists/etch/main/binary-amd64/Packages.gz  404 Not Found
Failed to fetch http://security.debian.org/dists/etch/updates/main/binary-amd64/Packages.gz  404 Not Found [IP: 149.20.20.6 80]
Failed to fetch http://www.ksplice.com/apt/dists/etch/ksplice/binary-amd64/Packages.gz  404 Not Found

As I look into http://www.debian.org/releases/etch/, I don't see any information regarding archives. I am inside archive.debian.org, but I am a little confused as to how to follow it's instructions/modify the sources list. Here's the contents of the current list:

deb http://debian.di.newdream.net/ etch ndn
deb http://www.ksplice.com/apt etch ksplice
deb http://debian.newdream.net etch main non-free contrib
deb http://www.backports.org/debian/ etch-backports main
deb http://archive.debian.org/debian-volatile etch/volatile main contrib non-free
deb http://security.debian.org/ etch/updates main
deb http://debian.dc-uoit.net/debian-multimedia/ etch main

From what I read on the archive README, I was thinking that the format would be something like this:

deb http://archive.debian.org/debian-security dists/etch/updates/ main

Also, after commenting out most, if not all of the lines in the sources file, I still get the same errors. Is there a command that needs to be run to clear the cache?

Best Answer

Etch is now 2 releases beyond the end of life. There is no security support, because it is not being supported.

For the main archive use a line like this.

deb http://archive.debian.org/debian etch main

You should be upgrading to lenny, and then squeeze.

The security updates, backports, multimedia and ksplice archives are probably gone.