I don't think this makes a good sticky as it is not the correct way to set up your sources.list. You should try apt-spy as it will benchmark mirrors for you and help you get working sources in your sources.list.
I can't get apt-get to work! It never connects to ftp2.de.debian.org! Aaaaarrgggghhhhh!
Sound familiar? Here's the fix:
As superuser, edit /etc/apt/sources.list
Replace all instances of "ftp2" with "ftp"
It took me weeks to figure this out--Someone, please make this a sticky!
I don't think this makes a good sticky as it is not the correct way to set up your sources.list. You should try apt-spy as it will benchmark mirrors for you and help you get working sources in your sources.list.
Well, I'm not sure how to make it sticky anyway!
But editing your sources.list is a quick easy fix (but has been covered before here) while apt-spy is the "proper" (but rather time consuming) way of doing it.
There are advantages to both.
Well apt-spy does have some options for that to. .Originally Posted by fingers99
-e number
`early finish'. Stop benchmarking after number of servers have been
completed. Act as if all servers were benchmarked upon completion.
-t time
how long (approximately) in seconds to download for. By default time is 15 seconds.
Thanks for the tip...but the suggestion I gave will actually work. I tried it!
apt-spy is NOT in the Knoppix install. So, you could either fruitlessly type in "sudo apt-get install apt-spy", or you could edit the /etc/apt/sources.list the way I suggested.
I am aware that editing this file has been discussed here in the past, but have you actually done the search yourself? You end up with a ton of unhelpful search results with suggestions which won't work. Example listings of sources.list tend to include ftp2.de.debian.org--not surprising since that's what's in the Knoppix CD.
Anyway, I'm trying out apt-spy right now to see what it comes up with. I really do appreciate the tip--I just wish it were in the big apt-get "sticky" thread, which is where everyone would look first. Also, I wish it actually worked--simply saying "apt-spy" won't help the new Knoppix user.
Okay, I haven't had any luck so far using apt-spy. I'm going to experiment some more, but it seems that something it does is overwhelming my Linksys router. The internet connection gets flakier and flakier (on all of the computers) and after a very short time it goes out altogether. apt-spy gets almost nothing but "timeouts" when it tries to connect. At least I already have a working solution.
New Precision DWDM SFP+ 10G 80km Tunable Transceiver 50GHz C-Temp DWDM-SFP10G-C
$90.00
LOT OF 20 Genuine Cisco SFP-10G-SR V03 10GBASE-SR SFP+ Transceiver Module
$95.00
GENUINE CISCO DS-SFP-FC32G-SW SFP NEW SEALED SEE PHOTOS SHIPS FREE
$69.99
Original CISCO SFP-10G-SR V03 10-2415-03 850nm 10GBASE-SR SFP+ Multi mode Module
$6.80
Brand New Cisco GLC-LH-SMD 1000BASE-LX/LH SFP Module 1310nm 10km SMF LC
$12.99
CISCO SFP-10G-LR SFP TRANSCEIVER MODULE GBIC 10G 10GB SFP - 1 Year Warranty
$39.99
Precision PRE-SFP-TMI-CSCO 1GB BASE-T RJ-45 SFP Transceiver - For Cisco
$2.89
GENUINE Cisco SFP-10G-SR V03 SFP+ GBIC Transceiver Module 10-2415-03
$6.80
New HP HPE Aruba J9150D 10G SFP+ LC SR 850nm 300m MMF XCVR Transceiver Module
$45.99
ARISTA SFP-10G-SR 10GBASE-SR SFP+ Optical Transceiver ModuXVR-00001-02 Lot of 10
$69.19