automatically generate a sources.list

byo71's picture
Communications | Debian Support

don't know what to put in your sources.list file for apt?

install netselect-apt (# apt-get install netselect-apt)

this program will scan all of the available mirrors and generate a sources.list file with the fastest servers for you.

just type
# netselect-apt stable
and it will generate the file in whichever directory you are in
if you do it in the /etc/apt/ directory it will automatically rename your current sources.list

you can replace "stable" with "testing" or "unstable" to suit you own system if needed