netselect-apt(1)
NAME
netselect-apt - create sources.list for the fastest Debian mirrors
SYNOPSIS
netselect-apt [OPTIONS] [stable|testing|unstable|experimental|sarge|etch|lenny|sid]
DESCRIPTION
netselect-apt automatically creates a sources.list file for using with apt for the specified distribution by downloading the list of Debian mirrors using wget and choosing the fastest servers (both US and nonUS) using netselect. The output file is written to OUTFILE.
If there is an INFILE (by default "mirrors_full") which lists the
Debian mirrors, netselect-apt uses that rather than downloading another
copy. The file will be downloaded from http://www.debian.org/mirror/mirrors_full
OPTIONS
- stable|testing|unstable|experimental|sarge|etch|lenny|sid
- Specify which distribution of Debian to use. By default stable is used.
- -s, --sources
- While generating OUTFILE include also deb-src lines to use with ``apt-get source'' to obtain Debian source packages.
- -i, --infile INFILE
- Use INFILE instead of mirrors_full for reading mirror list. The file must be in the same format as mirrors_full.
- -o, --outfile OUTFILE
- Use OUTFILE instead of sources.list.
- -n, --nonfree
- Include also non-free section while generating OUTFILE.
- -f, --ftp
- Use FTP mirrors instead of HTTP and generate OUTFILE accordingly.
ENVIROMENT
- WANT_SOURCES
- setting this to 1 is equivalent to --sources
- WANT_NONFREE
- setting this to 1 is equivalent to --nonfree
SEE ALSO
netselect(1), wget(1), apt(8), sources.list(5).
AUTHOR
- Avery Pennarun <apenwarr@nit.ca>