]> git.saurik.com Git - apt-legacy.git/blame_incremental - doc/apt-cdrom.8
Fixed Dl-Limit (long standing APT bug that they won't acknowledge), specified error...
[apt-legacy.git] / doc / apt-cdrom.8
... / ...
CommitLineData
1.\" Title: apt\-cdrom
2.\" Author: Jason Gunthorpe
3.\" Generator: DocBook XSL Stylesheets v1.71.0 <http://docbook.sf.net/>
4.\" Date: 14 February 2004
5.\" Manual:
6.\" Source: Linux
7.\"
8.TH "APT\-CDROM" "8" "14 February 2004" "Linux" ""
9.\" disable hyphenation
10.nh
11.\" disable justification (adjust text to left margin only)
12.ad l
13.SH "NAME"
14apt\-cdrom \- APT CDROM management utility
15.SH "SYNOPSIS"
16.HP 10
17\fBapt\-cdrom\fR [\fB\-hvrmfan\fR] [\fB\-d=\fR\fB\fIcdrom\ mount\ point\fR\fR] [\fB\-o=\fR\fB\fIconfig\ string\fR\fR] [\fB\-c=\fR\fB\fIfile\fR\fR] [[add] | [ident]]
18.SH "DESCRIPTION"
19.PP
20\fBapt\-cdrom\fR
21is used to add a new CDROM to APTs list of available sources.
22\fBapt\-cdrom\fR
23takes care of determining the structure of the disc as well as correcting for several possible mis\-burns and verifying the index files.
24.PP
25It is necessary to use
26\fBapt\-cdrom\fR
27to add CDs to the APT system, it cannot be done by hand. Furthermore each disk in a multi\-cd set must be inserted and scanned separately to account for possible mis\-burns.
28.PP
29Unless the
30\fB\-h\fR, or
31\fB\-\-help\fR
32option is given one of the commands below must be present.
33.PP
34add
35.RS 3n
36add
37is used to add a new disc to the source list. It will unmount the CDROM device, prompt for a disk to be inserted and then procceed to scan it and copy the index files. If the disc does not have a proper
38\fIdisk\fR
39directory you will be prompted for a descriptive title.
40.sp
41APT uses a CDROM ID to track which disc is currently in the drive and maintains a database of these IDs in
42\fI/var/lib/apt/cdroms.list\fR
43.RE
44.PP
45ident
46.RS 3n
47A debugging tool to report the identity of the current disc as well as the stored file name
48.RE
49.SH "OPTIONS"
50.PP
51All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean options you can override the config file by using something like
52\fB\-f\-\fR,\fB\-\-no\-f\fR,
53\fB\-f=no\fR
54or several other variations.
55.PP
56\fB\-d\fR, \fB\-\-cdrom\fR
57.RS 3n
58Mount point; specify the location to mount the cdrom. This mount point must be listed in
59\fI/etc/fstab\fR
60and properly configured. Configuration Item:
61Acquire::cdrom::mount.
62.RE
63.PP
64\fB\-r\fR, \fB\-\-rename\fR
65.RS 3n
66Rename a disc; change the label of a disk or override the disks given label. This option will cause
67\fBapt\-cdrom\fR
68to prompt for a new label. Configuration Item:
69APT::CDROM::Rename.
70.RE
71.PP
72\fB\-m\fR, \fB\-\-no\-mount\fR
73.RS 3n
74No mounting; prevent
75\fBapt\-cdrom\fR
76from mounting and unmounting the mount point. Configuration Item:
77APT::CDROM::NoMount.
78.RE
79.PP
80\fB\-f\fR, \fB\-\-fast\fR
81.RS 3n
82Fast Copy; Assume the package files are valid and do not check every package. This option should be used only if
83\fBapt\-cdrom\fR
84has been run on this disc before and did not detect any errors. Configuration Item:
85APT::CDROM::Fast.
86.RE
87.PP
88\fB\-a\fR, \fB\-\-thorough\fR
89.RS 3n
90Thorough Package Scan; This option may be needed with some old Debian 1.1/1.2 discs that have Package files in strange places. It takes much longer to scan the CD but will pick them all up.
91.RE
92.PP
93\fB\-n\fR, \fB\-\-just\-print\fR, \fB\-\-recon\fR, \fB\-\-no\-act\fR
94.RS 3n
95No Changes; Do not change the
96\fBsources.list\fR(5)
97file and do not write index files. Everything is still checked however. Configuration Item:
98APT::CDROM::NoAct.
99.RE
100.PP
101\fB\-h\fR, \fB\-\-help\fR
102.RS 3n
103Show a short usage summary.
104.RE
105.PP
106\fB\-v\fR, \fB\-\-version\fR
107.RS 3n
108Show the program version.
109.RE
110.PP
111\fB\-c\fR, \fB\-\-config\-file\fR
112.RS 3n
113Configuration File; Specify a configuration file to use. The program will read the default configuration file and then this configuration file. See
114\fBapt.conf\fR(5)
115for syntax information.
116.RE
117.PP
118\fB\-o\fR, \fB\-\-option\fR
119.RS 3n
120Set a Configuration Option; This will set an arbitary configuration option. The syntax is
121\fB\-o Foo::Bar=bar\fR.
122.RE
123.SH "SEE ALSO"
124.PP
125\fBapt.conf\fR(5),
126\fBapt\-get\fR(8),
127\fBsources.list\fR(5)
128.SH "DIAGNOSTICS"
129.PP
130\fBapt\-cdrom\fR
131returns zero on normal operation, decimal 100 on error.
132.SH "BUGS"
133.PP
134[1]\&\fIAPT bug page\fR. If you wish to report a bug in APT, please see
135\fI/usr/share/doc/debian/bug\-reporting.txt\fR
136or the
137\fBreportbug\fR(1)
138command.
139.SH "AUTHORS"
140.PP
141\fBJason Gunthorpe\fR
142.sp -1n
143.IP "" 3n
144Author.
145.PP
146\fBAPT team\fR
147.sp -1n
148.IP "" 3n
149Author.
150.SH "REFERENCES"
151.TP 3
1521.\ APT bug page
153\%http://bugs.debian.org/src:apt