man netselect-apt (Commandes) - create sources.list for the fastest Debian mirrors

NAME

netselect-apt - create sources.list for the fastest Debian mirrors

SYNOPSIS

netselect-apt [OPTIONS] [stable|testing|unstable|experimental|woody|sarge|etch|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 non-US) using netselect. The output file is written to OUTFILE.

If there is a file called mirrors_full in the current directory which lists the Debian mirrors, netselect-apt uses that rather than downloading another copy.

OPTIONS

stable|testing|unstable|experimental|woody|sarge|etch|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

AUTHOR

Avery Pennarun <apenwarr@nit.ca>