1APT-CDROM(8)                          APT                         APT-CDROM(8)
2
3
4

NAME

6       apt-cdrom - APT CD-ROM management utility
7

SYNOPSIS

9       apt-cdrom [-rmfan] [-d=cdrom_mount_point] [-o=config_string]
10                 [-c=config_file] {add | ident | {-v | --version} |
11                 {-h | --help}}
12

DESCRIPTION

14       apt-cdrom is used to add a new CD-ROM to APT's list of available
15       sources.  apt-cdrom takes care of determining the structure of the disc
16       as well as correcting for several possible mis-burns and verifying the
17       index files.
18
19       It is necessary to use apt-cdrom to add CDs to the APT system; it
20       cannot be done by hand. Furthermore each disc in a multi-CD set must be
21       inserted and scanned separately to account for possible mis-burns.
22
23       Unless the -h, or --help option is given, one of the commands below
24       must be present.
25
26       add
27           add is used to add a new disc to the source list. It will unmount
28           the CD-ROM device, prompt for a disc to be inserted and then
29           proceed to scan it and copy the index files. If the disc does not
30           have a proper .disk directory you will be prompted for a
31           descriptive title.
32
33           APT uses a CD-ROM ID to track which disc is currently in the drive
34           and maintains a database of these IDs in /var/lib/apt/cdroms.list
35
36       ident
37           A debugging tool to report the identity of the current disc as well
38           as the stored file name
39

OPTIONS

41       All command line options may be set using the configuration file, the
42       descriptions indicate the configuration option to set. For boolean
43       options you can override the config file by using something like
44       -f-,--no-f, -f=no or several other variations.
45
46       --no-auto-detect, --cdrom
47           Do not try to auto-detect the CD-ROM path. Usually combined with
48           the --cdrom option. Configuration Item: Acquire::cdrom::AutoDetect.
49
50       -d, --cdrom
51           Mount point; specify the location to mount the CD-ROM. This mount
52           point must be listed in /etc/fstab and properly configured.
53           Configuration Item: Acquire::cdrom::mount.
54
55       -r, --rename
56           Rename a disc; change the label of a disc or override the disc's
57           given label. This option will cause apt-cdrom to prompt for a new
58           label. Configuration Item: APT::CDROM::Rename.
59
60       -m, --no-mount
61           No mounting; prevent apt-cdrom from mounting and unmounting the
62           mount point. Configuration Item: APT::CDROM::NoMount.
63
64       -f, --fast
65           Fast Copy; Assume the package files are valid and do not check
66           every package. This option should be used only if apt-cdrom has
67           been run on this disc before and did not detect any errors.
68           Configuration Item: APT::CDROM::Fast.
69
70       -a, --thorough
71           Thorough Package Scan; This option may be needed with some old
72           Debian 1.1/1.2 discs that have Package files in strange places. It
73           takes much longer to scan the CD but will pick them all up.
74
75       -n, --just-print, --recon, --no-act
76           No Changes; Do not change the sources.list(5) file and do not write
77           index files. Everything is still checked however. Configuration
78           Item: APT::CDROM::NoAct.
79
80       -h, --help
81           Show a short usage summary.
82
83       -v, --version
84           Show the program version.
85
86       -c, --config-file
87           Configuration File; Specify a configuration file to use. The
88           program will read the default configuration file and then this
89           configuration file. If configuration settings need to be set before
90           the default configuration files are parsed specify a file with the
91           APT_CONFIG environment variable. See apt.conf(5) for syntax
92           information.
93
94       -o, --option
95           Set a Configuration Option; This will set an arbitrary
96           configuration option. The syntax is -o Foo::Bar=bar.  -o and
97           --option can be used multiple times to set different options.
98

SEE ALSO

100       apt.conf(5), apt-get(8), sources.list(5)
101

DIAGNOSTICS

103       apt-cdrom returns zero on normal operation, decimal 100 on error.
104

BUGS

106       APT bug page[1]. If you wish to report a bug in APT, please see
107       /usr/share/doc/debian/bug-reporting.txt or the reportbug(1) command.
108

AUTHORS

110       Jason Gunthorpe
111
112       APT team
113

NOTES

115        1. APT bug page
116           http://bugs.debian.org/src:apt
117
118
119
120APT 2.4.5                      30 November 2013                   APT-CDROM(8)
Impressum