forked from apenwarr/netselect
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netselect-apt.1
86 lines (72 loc) · 1.85 KB
/
netselect-apt.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
.TH NETSELECT-APT 1 "March 6, 2008" "DEBIAN" \" -*- nroff -*-
.\" Please adjust this date whenever revising the manpage.
.SH NAME
netselect-apt \- create sources.list for the fastest Debian mirrors
.SH SYNOPSIS
.B netselect-apt
.RI [ OPTIONS ]
.\" copied verbatim from netselect-apt
.RI [ \|stable | testing | unstable | experimental | sarge | etch | lenny | sid ]
.SH DESCRIPTION
.B netselect-apt
automatically creates a sources.list file for using with
.BR apt
for the specified distribution by downloading the list of Debian
mirrors using
.B wget
and choosing the fastest servers (both US and non-US) using
.BR netselect .
The output file is written to
.IR OUTFILE .
If there is an
.I INFILE
(by default "mirrors_full") which lists the Debian mirrors,
.B netselect-apt
uses that rather than downloading another copy. The file will be downloaded
from http://www.debian.org/mirror/mirrors_full
.SH OPTIONS
.TP
.IR stable | testing | unstable | experimental | sarge | etch | lenny | sid
Specify which distribution of Debian to use. By default
.I stable
is used.
.TP
.B \-s, \-\-sources
While generating
.I OUTFILE
include also deb-src lines to use with ``apt-get source'' to obtain
Debian source packages.
.TP
.BI "\-i, \-\-infile" " INFILE"
Use
.I INFILE
instead of mirrors_full for reading mirror list. The file must be in
the same format as mirrors_full.
.TP
.BI "\-o, \-\-outfile" " OUTFILE"
Use
.I OUTFILE
instead of sources.list.
.TP
.B \-n, \-\-nonfree
Include also non-free section while generating
.IR OUTFILE .
.TP
.B \-f, \-\-ftp
Use FTP mirrors instead of HTTP and generate
.I OUTFILE
accordingly.
.SH ENVIROMENT
.TP
.B WANT_SOURCES
setting this to 1 is equivalent to --sources
.TP
.B WANT_NONFREE
setting this to 1 is equivalent to --nonfree
.SH SEE ALSO
.BR netselect (1),
.BR wget (1),
.BR apt (8),
.IR sources.list (5).
.SH AUTHOR
Avery Pennarun <[email protected]>