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

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 <fixedored@gmail.com> 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.
> >
> >
> <snip apt output>
> >
> > 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
> debian-user-REQUEST@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> 
> 



Reply to: