Re: Problem with apt-get update command: failed to fetch packages 404 not found
The computer has connected to the router but it has a static IP address. The apt-get command has worked fine before. When I run 'apt-get update', it doesn't complain about sources.list format problem. --- "Mumia W.." <[EMAIL PROTECTED]> wrote: > > Your sources.list, as posted, isn't formatted well. > > How do you connect to the Internet? Dialup, DSL, > cable? > > Do you have a proxy or router in between you and the > Internet? > > Tell us what this command does? > > wget > http://debian.yorku.ca/debian/dists/sarge/Release > > Read this too: > > http://catb.org/~esr/faqs/smart-questions.html > > On 09/25/2007 12:49 PM, Steve Lam wrote: > > 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 > > [...] > > -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Problem with apt-get update command: failed to fetch packages 404 not found
I've replaced 'sarge' with 'oldstable' once. Now I try again with 'apt-get update' and it gives the same problem: Failed to fetch packages 404 not found. Any help is appreciated. Here is the output from apt-get update: Err http://debian.yorku.ca oldstable/main Packages 404 Not Found Err http://security.debian.org oldstable/updates/main Packages 404 Not Found Ign http://debian.yorku.ca oldstable/main Release Ign http://security.debian.org oldstable/updates/main Release Err http://debian.yorku.ca oldstable/contrib Packages 404 Not Found Err http://security.debian.org oldstable/updates/contrib Packages 404 Not Found Ign http://debian.yorku.ca oldstable/contrib Release Ign http://security.debian.org oldstable/updates/contrib Release Err http://debian.yorku.ca oldstable/non-free Packages 404 Not Found Err http://security.debian.org oldstable/updates/non-free Packages 404 Not Found Ign http://debian.yorku.ca oldstable/non-free Release Ign http://security.debian.org oldstable/updates/non-free Release Err http://debian.yorku.ca oldstable/main Sources 404 Not Found Ign http://debian.yorku.ca oldstable/main Release Failed to fetch http://debian.yorku.ca/debian/dists/oldstable/main/binary-i386/Packages.gz 404 Not Found Failed to fetch http://debian.yorku.ca/debian/dists/oldstable/contrib/binary-i386/Packages.gz 404 Not Found Failed to fetch http://debian.yorku.ca/debian/dists/oldstable/non-free/binary-i386/Packages.gz 404 Not Found Failed to fetch http://debian.yorku.ca/debian/dists/oldstable/main/source/Sources.gz 404 Not Found Failed to fetch http://security.debian.org/dists/oldstable/updates/main/binary-i386/Packages.gz 404 Not Found Failed to fetch http://security.debian.org/dists/oldstable/updates/contrib/binary-i386/Packages.gz 404 Not Found Failed to fetch http://security.debian.org/dists/oldstable/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 oldstable/main Packages (/var/lib/apt/lists/debian.yorku.ca_debian_dists_oldstable_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.yorku.ca oldstable/contrib Packages (/var/lib/apt/lists/debian.yorku.ca_debian_dists_oldstable_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.yorku.ca oldstable/non-free Packages (/var/lib/apt/lists/debian.yorku.ca_debian_dists_oldstable_non-free_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org oldstable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_oldstable_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org oldstable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_oldstable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org oldstable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_oldstable_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 modified sources.list is: #deb http://debian.yorku.ca/debian/ sarge main contrib non-free #deb-src http://debian.yorku.ca/debian/ sarge main deb http://debian.yorku.ca/debian/ oldstable main contrib non-free deb-src http://debian.yorku.ca/debian/ oldstable main #deb http://security.debian.org/ sarge/updates main contrib non-free deb http://security.debian.org/ oldstable/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 --- Jeff D <[EMAIL PROTECTED]> wrote: > On Tue, 25 Sep 2007, Steve Lam wrote: > > > 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. > > > > > > > > > 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.debia
Re: Problem with apt-get update command: failed to fetch packages 404 not found
I've replace 'sarge' with 'oldstable' once. Now I try again and apt-get update gives the same result: Failed to fetch packages 404 not found. Here is the output from apt-get update: Err http://debian.yorku.ca oldstable/main Packages 404 Not Found Err http://security.debian.org oldstable/updates/main Packages 404 Not Found Ign http://debian.yorku.ca oldstable/main Release Ign http://security.debian.org oldstable/updates/main Release Err http://debian.yorku.ca oldstable/contrib Packages 404 Not Found Err http://security.debian.org oldstable/updates/contrib Packages 404 Not Found Ign http://debian.yorku.ca oldstable/contrib Release Ign http://security.debian.org oldstable/updates/contrib Release Err http://debian.yorku.ca oldstable/non-free Packages 404 Not Found Err http://security.debian.org oldstable/updates/non-free Packages 404 Not Found Ign http://debian.yorku.ca oldstable/non-free Release Ign http://security.debian.org oldstable/updates/non-free Release Err http://debian.yorku.ca oldstable/main Sources 404 Not Found Ign http://debian.yorku.ca oldstable/main Release Failed to fetch http://debian.yorku.ca/debian/dists/oldstable/main/binary-i386/Packages.gz 404 Not Found Failed to fetch http://debian.yorku.ca/debian/dists/oldstable/contrib/binary-i386/Packages.gz 404 Not Found Failed to fetch http://debian.yorku.ca/debian/dists/oldstable/non-free/binary-i386/Packages.gz 404 Not Found Failed to fetch http://debian.yorku.ca/debian/dists/oldstable/main/source/Sources.gz 404 Not Found Failed to fetch http://security.debian.org/dists/oldstable/updates/main/binary-i386/Packages.gz 404 Not Found Failed to fetch http://security.debian.org/dists/oldstable/updates/contrib/binary-i386/Packages.gz 404 Not Found Failed to fetch http://security.debian.org/dists/oldstable/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 oldstable/main Packages (/var/lib/apt/lists/debian.yorku.ca_debian_dists_oldstable_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.yorku.ca oldstable/contrib Packages (/var/lib/apt/lists/debian.yorku.ca_debian_dists_oldstable_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://debian.yorku.ca oldstable/non-free Packages (/var/lib/apt/lists/debian.yorku.ca_debian_dists_oldstable_non-free_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org oldstable/updates/main Packages (/var/lib/apt/lists/security.debian.org_dists_oldstable_updates_main_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org oldstable/updates/contrib Packages (/var/lib/apt/lists/security.debian.org_dists_oldstable_updates_contrib_binary-i386_Packages) - stat (2 No such file or directory) W: Couldn't stat source package list http://security.debian.org oldstable/updates/non-free Packages (/var/lib/apt/lists/security.debian.org_dists_oldstable_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 modified sources.list is: #deb http://debian.yorku.ca/debian/ sarge main contrib non-free #deb-src http://debian.yorku.ca/debian/ sarge main deb http://debian.yorku.ca/debian/ oldstable main contrib non-free deb-src http://debian.yorku.ca/debian/ oldstable main #deb http://security.debian.org/ sarge/updates main contrib non-free deb http://security.debian.org/ oldstable/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 --- Jeff D <[EMAIL PROTECTED]> wrote: > > try replacing sarge with oldstable, that should fix > that up for ya. > > hth > Jeff > > -+- > 8 out of 10 Owners who Expressed a Preference said > Their Cats Preferred Techno. > > > -- > On Tue, 25 Sep 2007, Steve Lam wrote: > > > 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. > > > > > > > > > My Debian sources.list file is: > > #deb file:///cdrom/ sarge main > > deb http://debian.yorku.ca/debian/ sarge main > contrib > > n
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 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]