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

NAME

6       apt-cdrom - APT CDROM management utility
7

SYNOPSIS

9       apt-cdrom  [ -hvrmfan ] [ -d=cdrom mount point ] [ -o=config string ] [
10       -c=file ] { add | ident }
11
12

DESCRIPTION

14       apt-cdrom is used to add a new CDROM to APTs list of available sources.
15       apt-cdrom  takes  care of determining the structure of the disc as well
16       as correcting for several possible mis-burns and  verifying  the  index
17       files.
18
19       It  is necessary to use apt-cdrom to add CDs to the APT system, it can‐
20       not be done by hand. Furthermore each disk 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 must
24       be present.
25
26       add    add is used to add a new  disc  to  the  source  list.  It  will
27              unmount  the  CDROM device, prompt for a disk to be inserted and
28              then procceed to scan it and copy the index files. If  the  disc
29              does not have a proper .disk/ directory you will be prompted for
30              a descriptive title.
31
32              APT uses a CDROM ID to track which  disc  is  currently  in  the
33              drive    and    maintains   a   database   of   these   IDs   in
34              /var/lib/apt/cdroms.list
35
36       ident  A debugging tool to report the identity of the current  disc  as
37              well as the stored file name
38

OPTIONS

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

SEE ALSO

113       apt.conf(5), apt-get(8), sources.list(5)
114

DIAGNOSTICS

116       apt-cdrom returns zero on normal operation, decimal 100 on error.
117

BUGS

119       See the APT bug page <URL:http://bugs.debian.org/src:apt>.  If you wish
120       to report a bug in APT,  please  see  /usr/share/doc/debian/bug-report‐
121       ing.txt or the reportbug(1) command.
122

AUTHOR

124       APT was written by the APT team <apt@packages.debian.org>.
125
126
127
128                                02 August 2007                    APT-CDROM(8)
Impressum