PDA

View Full Version : Problems installing with apt



gradnite
07-09-2004, 07:13 PM
Hi.

Whenever I try to install something in apt, part of it will download, but then it ends up faililng to "fetch some of the archives." I can see above in the terminal that some of the sites it is trying to access fail because it can't find that file or directory there. WHat can I do? Thanks.

Furthermore, I try to update by apt-get update, but after about 70 percent complete it stops and says that some index files failed to download. :?

mzilikazi
07-09-2004, 08:08 PM
You need to put some working sources into /etc/apt/sources.list

Here's mine:

deb http://sluglug.ucsc.edu/debian/ unstable main
deb-src http://sluglug.ucsc.edu/debian/ unstable main

Simply read which entry in sources.list is not working and comment it out. That is to say put a '#' in front of the line like so:

#deb http://archive.progeny.com/debian/ sid main

After adding the new mirros and commenting out those that do not work you need to save the file run apt-get update.

Use apt-spy to create your own /etc/apt/sources.list. It will benchmark the Debian mirrors and find the fastest one for you.