More bugs fixes
[ntk/apt.git] / doc / apt-cdrom.8.yo
CommitLineData
09f2e026
AL
1mailto(apt@packages.debian.org)
2manpage(apt-cdrom)(8)(4 Dec 1998)(apt)()
3manpagename(apt-cdrom)(APT CDROM managment utility)
4
5manpagesynopsis()
6apt-cdrom command
7
8manpagedescription()
9bf(apt-cdrom) is used to add a new CDROM to APTs list of available sources.
10bf(apt-cdrom) takes care of determining the structure of the disc as well
11as correcting for several possible mis-burns and verifying the index files.
12It is necessary to use bf(apt-cdrom) to add CDs to the APT system, it cannot
13be done by hand. Furthermore each disk in a multi-cd set must be inserted
14and scanned seperately to account for possible mis-burns.
15
16em(command) is one of:
17itemize(
18 it() add
19)
20
21Unless the -h, or --help option is given one of the above commands
22must be present.
23
24startdit()
25dit(bf(add))
26bf(add) is used to add a new disc to the source list. It will unmount the
27CDROM device, prompt for a disk to be inserted and then procceed to scan it
28and copy the index files. If the disc does not have a proper bf(.disk/)
29directory you will be prompted for a descriptive title.
30
31APT uses a CDROM ID to track which disc is currently in the drive and
32maintains a database of these IDs in bf(/var/state/apt/cdroms.list)
33
34enddit()
35
36manpageoptions()
3d8fd174
AL
37All command line options may be set using the configuration file, the
38descriptions indicate the configuration option to set. For boolean
39options you can override the config file by using something like bf(-f-),
40bf(--no-f), bf(-f=no) or several other variations.
09f2e026
AL
41
42startdit()
43dit(bf(-h, --help))
44Show a short usage summary.
45
46dit(bf(-d --cdrom))
47Mount point; specify the location to mount the cdrom. This mount point must
3d8fd174
AL
48be listed in bf(/etc/fstab) and propely configured.
49See bf(Acquire::cdrom::mount).
09f2e026
AL
50
51dit(bf(-r --rename))
52Rename a disc; change the label of a disk or override the disks given label.
53This option will cause bf(apt-cdrom) to prompt for a new label
3d8fd174 54See bf(APT::CDROM::Rename).
09f2e026
AL
55
56dit(bf(-m, --no-mount))
57No mounting; prevent bf(apt-cdrom) from mounting and unmounting the mount
58point.
3d8fd174 59See bf(APT::CDROM::NoMount).
09f2e026
AL
60
61dit(bf(-f, --fast))
62Fast Copy; Assume the package files are valid and do not check every package.
63This option should be used only if bf(apt-cdrom) has been run on this disc
64before and did not detect any errors.
3d8fd174 65See bf(APT::CDROM::Fast).
3d615484
AL
66
67dit(bf(-a, --thorough))
68Thorough Package Scan; This option may be needed with some old Debian 1.1/1.2
69burns that have Package files in strange places. It takes much longer to
70scan the CD but will pick them all up.
71
09f2e026
AL
72dit(bf(-n --just-print, --recon, --no-act))
73No Changes; Do not change the sources.list and do not write package files.
74Everything is still checked however.
3d8fd174 75See bf(APT::CDROM::NoAct).
09f2e026
AL
76
77dit(bf(-c, --config-file))
78Configuration File; Specify a configuration file to use. bf(apt-get) will
79read the default configuration file and then this configuration file. See
80bf(apt.conf(5)) for syntax information.
81
82dit(bf(-o, --option))
83Set a Configuration Option; This will set an arbitary configuration option.
84The syntax is
85verb(-o Foo::Bar=bar)
86enddit()
87
88manpagefiles()
89itemize(
90 it() /etc/apt/sources.list
91 locations to fetch packages from
92
93 it() /var/state/apt/lists/
94 storage area for state information for each package resource specified in
95
96 it() /var/state/apt/lists/partial/
97 storage area for state information in transit
98
99 it() /var/state/apt/cdroms.list
100 list of cdrom IDs and names.
101)
102
103manpageseealso()
3d8fd174
AL
104apt-get(8),
105sources.list(5),
09f2e026
AL
106apt.conf(5)
107
108manpagediagnostics()
109apt-cdrom returns zero on normal operation, decimal 100 on error.
110
111manpagebugs()
112See http://www.debian.org/Bugs/db/pa/lapt.html. If you wish to report a
113bug in bf(apt-cache), please see bf(/usr/doc/debian/bug-reporting.txt)
114or the bf(bug(1)) command.
115
116manpageauthor()
117apt-get was written by the APT team <apt@packages.debian.org>.