[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with apt-get update command: failed to fetch packages 404 not found



I have a problem with 'apt-get update' command and it
bugs me for weeks.  I've tried to update Debian with
the command 'apt-get update' and it failed to fetch
packages. I've fixed the etc/apt/sources.list file but
It doesn't help me at all.  I've tried apt-setup and
it failed as well with the same message such as
'Failed to fetch'.  Any help is appreciated.


Here is the error produced by apt-get update:
 
sistership:/etc/apt# apt-get update
Err http://security.debian.org sarge/updates/main
Packages 404 Not Found
Err http://debian.yorku.ca sarge/main Packages 404 Not
Found
Ign http://security.debian.org sarge/updates/main
Release
Ign http://debian.yorku.ca sarge/main Release
Err http://security.debian.org sarge/updates/contrib
Packages 404 Not Found
Err http://debian.yorku.ca sarge/contrib Packages 404
Not Found
Ign http://security.debian.org sarge/updates/contrib
Release
Ign http://debian.yorku.ca sarge/contrib Release
Err http://security.debian.org sarge/updates/non-free
Packages 404 Not Found
Err http://debian.yorku.ca sarge/non-free Packages 404
Not Found
Ign http://security.debian.org sarge/updates/non-free
Release
Ign http://debian.yorku.ca sarge/non-free Release
Err http://debian.yorku.ca sarge/main Sources 404 Not
Found
Ign http://debian.yorku.ca sarge/main Release
Failed to fetch
http://debian.yorku.ca/debian/dists/sarge/main/binary-i386/Packages.gz
 404 Not Found
Failed to fetch
http://debian.yorku.ca/debian/dists/sarge/contrib/binary-i386/Packages.gz
 404 Not Found
Failed to fetch
http://debian.yorku.ca/debian/dists/sarge/non-free/binary-i386/Packages.gz
 404 Not Found
Failed to fetch
http://debian.yorku.ca/debian/dists/sarge/main/source/Sources.gz
 404 Not Found
Failed to fetch
http://security.debian.org/dists/sarge/updates/main/binary-i386/Packages.gz
 404 Not Found
Failed to fetch
http://security.debian.org/dists/sarge/updates/contrib/binary-i386/Packages.gz
 404 Not Found
Failed to fetch
http://security.debian.org/dists/sarge/updates/non-free/binary-i386/Packages.gz
 404 Not Found
Reading Package Lists... Done
W: Couldn't stat source package list
http://debian.yorku.ca sarge/main Packages
(/var/lib/apt/lists/debian.yorku.ca_debian_dists_sarge_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list
http://debian.yorku.ca sarge/contrib Packages
(/var/lib/apt/lists/debian.yorku.ca_debian_dists_sarge_contrib_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list
http://debian.yorku.ca sarge/non-free Packages
(/var/lib/apt/lists/debian.yorku.ca_debian_dists_sarge_non-free_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list
http://security.debian.org sarge/updates/main Packages
(/var/lib/apt/lists/security.debian.org_dists_sarge_updates_main_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list
http://security.debian.org sarge/updates/contrib
Packages
(/var/lib/apt/lists/security.debian.org_dists_sarge_updates_contrib_binary-i386_Packages)
- stat (2 No such file or directory)
W: Couldn't stat source package list
http://security.debian.org sarge/updates/non-free
Packages
(/var/lib/apt/lists/security.debian.org_dists_sarge_updates_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 Debian sources.list file is:
#deb file:///cdrom/ sarge main
deb http://debian.yorku.ca/debian/ sarge main contrib
non-free
deb-src http://debian.yorku.ca/debian/ sarge main
deb http://security.debian.org/ sarge/updates main
contrib non-free
#deb http://http.us.debian.org/debian stable main
contrib
#deb http://security.debian.org stable/updates main
contrib non-free        



Reply to: