I have a debian server running Etch. I can no longer seem to run apt-get update properly:
root@charm osqa ] apt-get update
Ign http://ftp.uk.debian.org etch Release.gpg
Ign http://ftp.uk.debian.org etch Release
Err http://ftp.uk.debian.org etch/main Packages
404 Not Found
Err http://ftp.uk.debian.org etch/contrib Packages
404 Not Found
Err http://ftp.uk.debian.org etch/non-free Packages
404 Not Found
Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/main/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/contrib/binary-i386/Packages.gz 404 Not Found
Failed to fetch http://ftp.uk.debian.org/debian/dists/etch/non-free/binary-i386/Packages.gz 404 Not Found
Reading package lists... Done
W: Couldn't stat source package list http://ftp.uk.debian.org etch/main Packages (/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_etch_main_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.uk.debian.org etch/contrib Packages (/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_etch_contrib_binary-i386_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list http://ftp.uk.debian.org etch/non-free Packages (/var/lib/apt/lists/ftp.uk.debian.org_debian_dists_etch_non-free_binary-i386_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.
My sources.list file is pretty minimal, it just contains:
###### Debian Main Repos
deb http://ftp.uk.debian.org/debian/ etch main contrib
Any clues? Have the repo locations changed? Thanks, Joel.
Debian 4.0 (Etch) is an old release that is no longer supported:
Etch has now been moved to archive.debian.org:
Etch has now been removed from ftp.uk.debian.org. You can use the archive by changing your sources.list to:
However, to get security support, you would be better off upgrading to Lenny (and also including security.debian.org in sources.list). See the Lenny Release Notes for upgrade instructions.
I took a while after i realized it was a problem with my nameservers .. I couldn't find archive.debian.org
If you ever have this problem, make sure you can ping google by :
Then make sure you have nameservers running, you can use google ones : This will do the trick