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