]> git.saurik.com Git - apt.git/blob - doc/po/apt-doc.pot
moved to git, updated gbp.conf to match the bzr version
[apt.git] / doc / po / apt-doc.pot
1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the apt-doc package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: apt-doc 0.9.7.9~exp3\n"
10 "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
11 "POT-Creation-Date: 2013-05-16 11:28+0300\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14 "Language-Team: LANGUAGE <LL@li.org>\n"
15 "Language: \n"
16 "MIME-Version: 1.0\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
19
20 #. type: Plain text
21 #: apt.ent:7
22 #, no-wrap
23 msgid ""
24 "<!ENTITY apt-author.team \"\n"
25 " <author>\n"
26 " <othername>APT team</othername>\n"
27 " <contrib></contrib>\n"
28 " </author>\n"
29 "\">\n"
30 msgstr ""
31
32 #. type: Plain text
33 #: apt.ent:13
34 #, no-wrap
35 msgid ""
36 "<!ENTITY apt-qapage \"\n"
37 "\t<para>\n"
38 "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
39 "\t</para>\n"
40 "\">\n"
41 msgstr ""
42
43 #. type: Plain text
44 #: apt.ent:24
45 #, no-wrap
46 msgid ""
47 "<!-- Boiler plate Bug reporting section -->\n"
48 "<!ENTITY manbugs \"\n"
49 " <refsect1><title>Bugs</title>\n"
50 " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
51 " If you wish to report a bug in APT, please see\n"
52 " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
53 " &reportbug; command.\n"
54 " </para>\n"
55 " </refsect1>\n"
56 "\">\n"
57 msgstr ""
58
59 #. type: Plain text
60 #: apt.ent:32
61 #, no-wrap
62 msgid ""
63 "<!-- Boiler plate Author section -->\n"
64 "<!ENTITY manauthor \"\n"
65 " <refsect1><title>Author</title>\n"
66 " <para>APT was written by the APT team "
67 "<email>apt@packages.debian.org</email>.\n"
68 " </para>\n"
69 " </refsect1>\n"
70 "\">\n"
71 msgstr ""
72
73 #. type: Plain text
74 #: apt.ent:42
75 #, no-wrap
76 msgid ""
77 "<!-- Should be used within the option section of the text to\n"
78 " put in the blurb about -h, -v, -c and -o -->\n"
79 "<!ENTITY apt-commonoptions \"\n"
80 " <varlistentry><term><option>-h</option></term>\n"
81 " <term><option>--help</option></term>\n"
82 " <listitem><para>Show a short usage summary.\n"
83 " </para>\n"
84 " </listitem>\n"
85 " </varlistentry>\n"
86 msgstr ""
87
88 #. type: Plain text
89 #: apt.ent:50
90 #, no-wrap
91 msgid ""
92 " <varlistentry>\n"
93 " <term><option>-v</option></term>\n"
94 " <term><option>--version</option></term>\n"
95 " <listitem><para>Show the program version.\n"
96 " </para>\n"
97 " </listitem>\n"
98 " </varlistentry>\n"
99 msgstr ""
100
101 #. type: Plain text
102 #: apt.ent:62
103 #, no-wrap
104 msgid ""
105 " <varlistentry>\n"
106 " <term><option>-c</option></term>\n"
107 " <term><option>--config-file</option></term>\n"
108 " <listitem><para>Configuration File; Specify a configuration file to "
109 "use. \n"
110 " The program will read the default configuration file and then this \n"
111 " configuration file. If configuration settings need to be set before "
112 "the\n"
113 " default configuration files are parsed specify a file with the "
114 "<envar>APT_CONFIG</envar>\n"
115 " environment variable. See &apt-conf; for syntax information.\n"
116 " </para>\n"
117 " </listitem>\n"
118 " </varlistentry>\n"
119 msgstr ""
120
121 #. type: Plain text
122 #: apt.ent:74
123 #, no-wrap
124 msgid ""
125 " <varlistentry>\n"
126 " <term><option>-o</option></term>\n"
127 " <term><option>--option</option></term>\n"
128 " <listitem><para>Set a Configuration Option; This will set an "
129 "arbitrary\n"
130 " configuration option. The syntax is <option>-o "
131 "Foo::Bar=bar</option>.\n"
132 " <option>-o</option> and <option>--option</option> can be used "
133 "multiple\n"
134 " times to set different options.\n"
135 " </para>\n"
136 " </listitem>\n"
137 " </varlistentry>\n"
138 "\">\n"
139 msgstr ""
140
141 #. type: Plain text
142 #: apt.ent:85
143 #, no-wrap
144 msgid ""
145 "<!-- Should be used within the option section of the text to\n"
146 " put in the blurb about -h, -v, -c and -o -->\n"
147 "<!ENTITY apt-cmdblurb \"\n"
148 " <para>All command line options may be set using the configuration file, "
149 "the\n"
150 " descriptions indicate the configuration option to set. For boolean\n"
151 " options you can override the config file by using something like \n"
152 " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
153 " or several other variations.\n"
154 " </para>\n"
155 "\">\n"
156 msgstr ""
157
158 #. type: Plain text
159 #: apt.ent:91
160 #, no-wrap
161 msgid ""
162 "<!ENTITY file-aptconf \"\n"
163 " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
164 " <listitem><para>APT configuration file.\n"
165 " Configuration Item: "
166 "<literal>Dir::Etc::Main</literal>.</para></listitem>\n"
167 " </varlistentry>\n"
168 msgstr ""
169
170 #. type: Plain text
171 #: apt.ent:97
172 #, no-wrap
173 msgid ""
174 " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
175 " <listitem><para>APT configuration file fragments.\n"
176 " Configuration Item: "
177 "<literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
178 " </varlistentry>\n"
179 "\">\n"
180 msgstr ""
181
182 #. type: Plain text
183 #: apt.ent:103
184 #, no-wrap
185 msgid ""
186 "<!ENTITY file-cachearchives \"\n"
187 " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
188 " <listitem><para>Storage area for retrieved package files.\n"
189 " Configuration Item: "
190 "<literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
191 " </varlistentry>\n"
192 msgstr ""
193
194 #. type: Plain text
195 #: apt.ent:109
196 #, no-wrap
197 msgid ""
198 " "
199 "<varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
200 " <listitem><para>Storage area for package files in transit.\n"
201 " Configuration Item: <literal>Dir::Cache::Archives</literal> "
202 "(<filename>partial</filename> will be implicitly "
203 "appended)</para></listitem>\n"
204 " </varlistentry>\n"
205 "\">\n"
206 msgstr ""
207
208 #. type: Plain text
209 #: apt.ent:119
210 #, no-wrap
211 msgid ""
212 "<!ENTITY file-preferences \"\n"
213 " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
214 " <listitem><para>Version preferences file.\n"
215 " This is where you would specify &quot;pinning&quot;,\n"
216 " i.e. a preference to get certain packages\n"
217 " from a separate source\n"
218 " or from a different version of a distribution.\n"
219 " Configuration Item: "
220 "<literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
221 " </varlistentry>\n"
222 msgstr ""
223
224 #. type: Plain text
225 #: apt.ent:125
226 #, no-wrap
227 msgid ""
228 " "
229 "<varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
230 " <listitem><para>File fragments for the version preferences.\n"
231 " Configuration Item: "
232 "<literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
233 " </varlistentry>\n"
234 "\">\n"
235 msgstr ""
236
237 #. type: Plain text
238 #: apt.ent:131
239 #, no-wrap
240 msgid ""
241 "<!ENTITY file-sourceslist \"\n"
242 " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
243 " <listitem><para>Locations to fetch packages from.\n"
244 " Configuration Item: "
245 "<literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
246 " </varlistentry>\n"
247 msgstr ""
248
249 #. type: Plain text
250 #: apt.ent:137
251 #, no-wrap
252 msgid ""
253 " "
254 "<varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
255 " <listitem><para>File fragments for locations to fetch packages from.\n"
256 " Configuration Item: "
257 "<literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
258 " </varlistentry>\n"
259 "\">\n"
260 msgstr ""
261
262 #. type: Plain text
263 #: apt.ent:144
264 #, no-wrap
265 msgid ""
266 "<!ENTITY file-statelists \"\n"
267 " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
268 " <listitem><para>Storage area for state information for each package "
269 "resource specified in\n"
270 " &sources-list;\n"
271 " Configuration Item: "
272 "<literal>Dir::State::Lists</literal>.</para></listitem>\n"
273 " </varlistentry>\n"
274 msgstr ""
275
276 #. type: Plain text
277 #: apt.ent:150
278 #, no-wrap
279 msgid ""
280 " "
281 "<varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
282 " <listitem><para>Storage area for state information in transit.\n"
283 " Configuration Item: <literal>Dir::State::Lists</literal> "
284 "(<filename>partial</filename> will be implicitly "
285 "appended)</para></listitem>\n"
286 " </varlistentry>\n"
287 "\">\n"
288 msgstr ""
289
290 #. type: Plain text
291 #: apt.ent:156
292 #, no-wrap
293 msgid ""
294 "<!ENTITY file-trustedgpg \"\n"
295 " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
296 " <listitem><para>Keyring of local trusted keys, new keys will be added "
297 "here.\n"
298 " Configuration Item: "
299 "<literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
300 " </varlistentry>\n"
301 msgstr ""
302
303 #. type: Plain text
304 #: apt.ent:163
305 #, no-wrap
306 msgid ""
307 " "
308 "<varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
309 " <listitem><para>File fragments for the trusted keys, additional "
310 "keyrings can\n"
311 " be stored here (by other packages or the administrator).\n"
312 " Configuration Item "
313 "<literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
314 " </varlistentry>\n"
315 "\">\n"
316 msgstr ""
317
318 #. type: Plain text
319 #: apt.ent:171
320 #, no-wrap
321 msgid ""
322 "<!ENTITY file-extended_states \"\n"
323 " "
324 "<varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
325 " <listitem><para>Status list of auto-installed packages.\n"
326 " Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
327 " </para></listitem>\n"
328 " </varlistentry>\n"
329 "\">\n"
330 msgstr ""
331
332 #. type: Plain text
333 #: apt.ent:175
334 #, no-wrap
335 msgid ""
336 "<!-- TRANSLATOR: This is the section header for the following paragraphs - "
337 "comparable\n"
338 " to the other headers like NAME and DESCRIPTION and should therefore be "
339 "uppercase. -->\n"
340 "<!ENTITY translation-title \"TRANSLATION\">\n"
341 msgstr ""
342
343 #. type: Plain text
344 #: apt.ent:184
345 #, no-wrap
346 msgid ""
347 "<!-- TRANSLATOR: This is a placeholder. You should write here who has "
348 "contributed\n"
349 " to the translation in the past, who is responsible now and maybe "
350 "further information\n"
351 " specially related to your translation. -->\n"
352 "<!ENTITY translation-holder \"\n"
353 " The english translation was done by John Doe "
354 "<email>john@doe.org</email> in 2009,\n"
355 " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together "
356 "with the\n"
357 " Debian Dummy l10n Team "
358 "<email>debian-l10n-dummy@lists.debian.org</email>.\n"
359 "\">\n"
360 msgstr ""
361
362 #. type: Plain text
363 #: apt.ent:195
364 #, no-wrap
365 msgid ""
366 "<!-- TRANSLATOR: As a translation is allowed to have 20% of "
367 "untranslated/fuzzy strings\n"
368 " in a shipped manpage newer/modified paragraphs will maybe appear in "
369 "english in\n"
370 " the generated manpage. This sentence is therefore here to tell the "
371 "reader that this\n"
372 " is not a mistake by the translator - obviously the target is that at "
373 "least for stable\n"
374 " releases this sentence is not needed. :) -->\n"
375 "<!ENTITY translation-english \"\n"
376 " Note that this translated document may contain untranslated parts.\n"
377 " This is done on purpose, to avoid losing content when the\n"
378 " translation is lagging behind the original content.\n"
379 "\">\n"
380 msgstr ""
381
382 #. type: Plain text
383 #: apt.ent:198
384 msgid ""
385 "<!-- TRANSLATOR: used as in -o=config_string "
386 "e.g. -o=Debug::pkgProblemResolver=1 --> <!ENTITY synopsis-config-string "
387 "\"config_string\">"
388 msgstr ""
389
390 #. type: Plain text
391 #: apt.ent:201
392 msgid ""
393 "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
394 "synopsis-config-file \"config_file\">"
395 msgstr ""
396
397 #. type: Plain text
398 #: apt.ent:204
399 msgid ""
400 "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release "
401 "e.g. -t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
402 "\"target_release\">"
403 msgstr ""
404
405 #. type: Plain text
406 #: apt.ent:207
407 msgid ""
408 "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
409 "synopsis-architecture \"architecture\">"
410 msgstr ""
411
412 #. type: Plain text
413 #: apt.ent:210
414 msgid ""
415 "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
416 "--> <!ENTITY synopsis-pkg \"pkg\">"
417 msgstr ""
418
419 #. type: Plain text
420 #: apt.ent:213
421 msgid ""
422 "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> "
423 "<!ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
424 msgstr ""
425
426 #. type: Plain text
427 #: apt.ent:216
428 msgid ""
429 "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
430 "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
431 msgstr ""
432
433 #. type: Plain text
434 #: apt.ent:219
435 msgid ""
436 "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
437 "awesome --> <!ENTITY synopsis-regex \"regex\">"
438 msgstr ""
439
440 #. type: Plain text
441 #: apt.ent:222
442 msgid ""
443 "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom "
444 "-d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
445 msgstr ""
446
447 #. type: Plain text
448 #: apt.ent:225
449 msgid ""
450 "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory "
451 "e.g. apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
452 "\"temporary_directory\">"
453 msgstr ""
454
455 #. type: Plain text
456 #: apt.ent:228
457 msgid ""
458 "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
459 "synopsis-filename \"filename\">"
460 msgstr ""
461
462 #. type: Plain text
463 #: apt.ent:231
464 msgid ""
465 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
466 "packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
467 msgstr ""
468
469 #. type: Plain text
470 #: apt.ent:234
471 msgid ""
472 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
473 "packages path override-file pathprefix --> <!ENTITY synopsis-override "
474 "\"override-file\">"
475 msgstr ""
476
477 #. type: Plain text
478 #: apt.ent:237
479 msgid ""
480 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
481 "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
482 "\"pathprefix\">"
483 msgstr ""
484
485 #. type: Plain text
486 #: apt.ent:240
487 msgid ""
488 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
489 "generate section --> <!ENTITY synopsis-section \"section\">"
490 msgstr ""
491
492 #. type: Plain text
493 #: apt.ent:243
494 msgid ""
495 "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
496 "473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
497 msgstr ""
498
499 #. type: Content of: <refentry><refmeta><manvolnum>
500 #: apt-get.8.xml:26 apt-cache.8.xml:26 apt-key.8.xml:25 apt-mark.8.xml:26 apt-secure.8.xml:25 apt-cdrom.8.xml:25 apt-config.8.xml:26
501 msgid "8"
502 msgstr ""
503
504 #. type: Content of: <refentry><refmeta><refmiscinfo>
505 #: apt-get.8.xml:27 apt-cache.8.xml:27 apt-key.8.xml:26 apt-mark.8.xml:27 apt-secure.8.xml:26 apt-cdrom.8.xml:26 apt-config.8.xml:27 apt.conf.5.xml:32 apt_preferences.5.xml:26 sources.list.5.xml:27 apt-extracttemplates.1.xml:27 apt-sortpkgs.1.xml:27 apt-ftparchive.1.xml:27
506 msgid "APT"
507 msgstr ""
508
509 #. type: Content of: <refentry><refnamediv><refpurpose>
510 #: apt-get.8.xml:33
511 msgid "APT package handling utility -- command-line interface"
512 msgstr ""
513
514 #. type: Content of: <refentry><refsect1><title>
515 #: apt-get.8.xml:38 apt-cache.8.xml:38 apt-key.8.xml:37 apt-mark.8.xml:38 apt-secure.8.xml:50 apt-cdrom.8.xml:37 apt-config.8.xml:38 apt.conf.5.xml:41 apt_preferences.5.xml:36 sources.list.5.xml:36 apt-extracttemplates.1.xml:38 apt-sortpkgs.1.xml:38 apt-ftparchive.1.xml:38
516 msgid "Description"
517 msgstr ""
518
519 #. type: Content of: <refentry><refsect1><para>
520 #: apt-get.8.xml:39
521 msgid ""
522 "<command>apt-get</command> is the command-line tool for handling packages, "
523 "and may be considered the user's \"back-end\" to other tools using the APT "
524 "library. Several \"front-end\" interfaces exist, such as &dselect;, "
525 "&aptitude;, &synaptic; and &wajig;."
526 msgstr ""
527
528 #. type: Content of: <refentry><refsect1><para>
529 #: apt-get.8.xml:44 apt-cache.8.xml:44 apt-cdrom.8.xml:51 apt-config.8.xml:44 apt-ftparchive.1.xml:54
530 msgid ""
531 "Unless the <option>-h</option>, or <option>--help</option> option is given, "
532 "one of the commands below must be present."
533 msgstr ""
534
535 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
536 #: apt-get.8.xml:49
537 msgid ""
538 "<literal>update</literal> is used to resynchronize the package index files "
539 "from their sources. The indexes of available packages are fetched from the "
540 "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
541 "example, when using a Debian archive, this command retrieves and scans the "
542 "<filename>Packages.gz</filename> files, so that information about new and "
543 "updated packages is available. An <literal>update</literal> should always be "
544 "performed before an <literal>upgrade</literal> or "
545 "<literal>dist-upgrade</literal>. Please be aware that the overall progress "
546 "meter will be incorrect as the size of the package files cannot be known in "
547 "advance."
548 msgstr ""
549
550 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
551 #: apt-get.8.xml:61
552 msgid ""
553 "<literal>upgrade</literal> is used to install the newest versions of all "
554 "packages currently installed on the system from the sources enumerated in "
555 "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
556 "with new versions available are retrieved and upgraded; under no "
557 "circumstances are currently installed packages removed, or packages not "
558 "already installed retrieved and installed. New versions of currently "
559 "installed packages that cannot be upgraded without changing the install "
560 "status of another package will be left at their current version. An "
561 "<literal>update</literal> must be performed first so that "
562 "<command>apt-get</command> knows that new versions of packages are "
563 "available."
564 msgstr ""
565
566 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
567 #: apt-get.8.xml:74
568 msgid ""
569 "<literal>dist-upgrade</literal> in addition to performing the function of "
570 "<literal>upgrade</literal>, also intelligently handles changing dependencies "
571 "with new versions of packages; <command>apt-get</command> has a \"smart\" "
572 "conflict resolution system, and it will attempt to upgrade the most "
573 "important packages at the expense of less important ones if necessary. The "
574 "<literal>dist-upgrade</literal> command may therefore remove some packages. "
575 "The <filename>/etc/apt/sources.list</filename> file contains a list of "
576 "locations from which to retrieve desired package files. See also "
577 "&apt-preferences; for a mechanism for overriding the general settings for "
578 "individual packages."
579 msgstr ""
580
581 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
582 #: apt-get.8.xml:87
583 msgid ""
584 "<literal>dselect-upgrade</literal> is used in conjunction with the "
585 "traditional Debian packaging front-end, "
586 "&dselect;. <literal>dselect-upgrade</literal> follows the changes made by "
587 "&dselect; to the <literal>Status</literal> field of available packages, and "
588 "performs the actions necessary to realize that state (for instance, the "
589 "removal of old and the installation of new packages)."
590 msgstr ""
591
592 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
593 #: apt-get.8.xml:98
594 msgid ""
595 "<literal>install</literal> is followed by one or more packages desired for "
596 "installation or upgrading. Each package is a package name, not a fully "
597 "qualified filename (for instance, in a Debian system, "
598 "<package>apt-utils</package> would be the argument provided, not "
599 "<filename>apt-utils_&apt-product-version;_amd64.deb</filename>). All "
600 "packages required by the package(s) specified for installation will also be "
601 "retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
602 "file is used to locate the desired packages. If a hyphen is appended to the "
603 "package name (with no intervening space), the identified package will be "
604 "removed if it is installed. Similarly a plus sign can be used to designate "
605 "a package to install. These latter features may be used to override "
606 "decisions made by apt-get's conflict resolution system."
607 msgstr ""
608
609 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
610 #: apt-get.8.xml:116
611 msgid ""
612 "A specific version of a package can be selected for installation by "
613 "following the package name with an equals and the version of the package to "
614 "select. This will cause that version to be located and selected for "
615 "install. Alternatively a specific distribution can be selected by following "
616 "the package name with a slash and the version of the distribution or the "
617 "Archive name (stable, testing, unstable)."
618 msgstr ""
619
620 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
621 #: apt-get.8.xml:123
622 msgid ""
623 "Both of the version selection mechanisms can downgrade packages and must be "
624 "used with care."
625 msgstr ""
626
627 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
628 #: apt-get.8.xml:126
629 msgid ""
630 "This is also the target to use if you want to upgrade one or more "
631 "already-installed packages without upgrading every package you have on your "
632 "system. Unlike the \"upgrade\" target, which installs the newest version of "
633 "all currently installed packages, \"install\" will install the newest "
634 "version of only the package(s) specified. Simply provide the name of the "
635 "package(s) you wish to upgrade, and if a newer version is available, it (and "
636 "its dependencies, as described above) will be downloaded and installed."
637 msgstr ""
638
639 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
640 #: apt-get.8.xml:137
641 msgid ""
642 "Finally, the &apt-preferences; mechanism allows you to create an alternative "
643 "installation policy for individual packages."
644 msgstr ""
645
646 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
647 #: apt-get.8.xml:141
648 msgid ""
649 "If no package matches the given expression and the expression contains one "
650 "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
651 "it is applied to all package names in the database. Any matches are then "
652 "installed (or removed). Note that matching is done by substring so 'lo.*' "
653 "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
654 "expression with a '^' or '$' character, or create a more specific regular "
655 "expression."
656 msgstr ""
657
658 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
659 #: apt-get.8.xml:151
660 msgid ""
661 "<literal>remove</literal> is identical to <literal>install</literal> except "
662 "that packages are removed instead of installed. Note that removing a package "
663 "leaves its configuration files on the system. If a plus sign is appended to "
664 "the package name (with no intervening space), the identified package will be "
665 "installed instead of removed."
666 msgstr ""
667
668 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
669 #: apt-get.8.xml:159
670 msgid ""
671 "<literal>purge</literal> is identical to <literal>remove</literal> except "
672 "that packages are removed and purged (any configuration files are deleted "
673 "too)."
674 msgstr ""
675
676 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
677 #: apt-get.8.xml:164
678 msgid ""
679 "<literal>source</literal> causes <command>apt-get</command> to fetch source "
680 "packages. APT will examine the available packages to decide which source "
681 "package to fetch. It will then find and download into the current directory "
682 "the newest available version of that source package while respecting the "
683 "default release, set with the option "
684 "<literal>APT::Default-Release</literal>, the <option>-t</option> option or "
685 "per package with the <literal>pkg/release</literal> syntax, if possible."
686 msgstr ""
687
688 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
689 #: apt-get.8.xml:172
690 msgid ""
691 "Source packages are tracked separately from binary packages via "
692 "<literal>deb-src</literal> lines in the &sources-list; file. This means that "
693 "you will need to add such a line for each repository you want to get sources "
694 "from; otherwise you will probably get either the wrong (too old/too new) "
695 "source versions or none at all."
696 msgstr ""
697
698 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
699 #: apt-get.8.xml:178
700 msgid ""
701 "If the <option>--compile</option> option is specified then the package will "
702 "be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
703 "the architecture as defined by the <command>--host-architecture</command> "
704 "option. If <option>--download-only</option> is specified then the source "
705 "package will not be unpacked."
706 msgstr ""
707
708 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
709 #: apt-get.8.xml:185
710 msgid ""
711 "A specific source version can be retrieved by postfixing the source name "
712 "with an equals and then the version to fetch, similar to the mechanism used "
713 "for the package files. This enables exact matching of the source package "
714 "name and version, implicitly enabling the "
715 "<literal>APT::Get::Only-Source</literal> option."
716 msgstr ""
717
718 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
719 #: apt-get.8.xml:191
720 msgid ""
721 "Note that source packages are not installed and tracked in the "
722 "<command>dpkg</command> database like binary packages; they are simply "
723 "downloaded to the current directory, like source tarballs."
724 msgstr ""
725
726 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
727 #: apt-get.8.xml:197
728 msgid ""
729 "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
730 "attempt to satisfy the build dependencies for a source package. By default "
731 "the dependencies are satisfied to build the package natively. If desired a "
732 "host-architecture can be specified with the "
733 "<option>--host-architecture</option> option instead."
734 msgstr ""
735
736 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
737 #: apt-get.8.xml:204
738 msgid ""
739 "<literal>check</literal> is a diagnostic tool; it updates the package cache "
740 "and checks for broken dependencies."
741 msgstr ""
742
743 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
744 #: apt-get.8.xml:209
745 msgid ""
746 "<literal>download</literal> will download the given binary package into the "
747 "current directory."
748 msgstr ""
749
750 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
751 #: apt-get.8.xml:215
752 msgid ""
753 "<literal>clean</literal> clears out the local repository of retrieved "
754 "package files. It removes everything but the lock file from "
755 "<filename>&cachedir;/archives/</filename> and "
756 "<filename>&cachedir;/archives/partial/</filename>. When APT is used as a "
757 "&dselect; method, <literal>clean</literal> is run automatically. Those who "
758 "do not use dselect will likely want to run <literal>apt-get clean</literal> "
759 "from time to time to free up disk space."
760 msgstr ""
761
762 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
763 #: apt-get.8.xml:225
764 msgid ""
765 "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
766 "local repository of retrieved package files. The difference is that it only "
767 "removes package files that can no longer be downloaded, and are largely "
768 "useless. This allows a cache to be maintained over a long period without it "
769 "growing out of control. The configuration option "
770 "<literal>APT::Clean-Installed</literal> will prevent installed packages from "
771 "being erased if it is set to off."
772 msgstr ""
773
774 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
775 #: apt-get.8.xml:235
776 msgid ""
777 "<literal>autoremove</literal> is used to remove packages that were "
778 "automatically installed to satisfy dependencies for other packages and are "
779 "now no longer needed."
780 msgstr ""
781
782 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
783 #: apt-get.8.xml:240
784 msgid ""
785 "<literal>changelog</literal> downloads a package changelog and displays it "
786 "through <command>sensible-pager</command>. The server name and base "
787 "directory is defined in the <literal>APT::Changelogs::Server</literal> "
788 "variable (e.g. <ulink "
789 "url=\"http://packages.debian.org/changelogs\">packages.debian.org/changelogs</ulink> "
790 "for Debian or <ulink "
791 "url=\"http://changelogs.ubuntu.com/changelogs\">changelogs.ubuntu.com/changelogs</ulink> "
792 "for Ubuntu). By default it displays the changelog for the version that is "
793 "installed. However, you can specify the same options as for the "
794 "<option>install</option> command."
795 msgstr ""
796
797 #. type: Content of: <refentry><refsect1><title>
798 #: apt-get.8.xml:258 apt-cache.8.xml:248 apt-mark.8.xml:108 apt-config.8.xml:84 apt-extracttemplates.1.xml:52 apt-sortpkgs.1.xml:48 apt-ftparchive.1.xml:504
799 msgid "options"
800 msgstr ""
801
802 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
803 #: apt-get.8.xml:263
804 msgid ""
805 "Do not consider recommended packages as a dependency for installing. "
806 "Configuration Item: <literal>APT::Install-Recommends</literal>."
807 msgstr ""
808
809 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
810 #: apt-get.8.xml:268
811 msgid ""
812 "Consider suggested packages as a dependency for installing. Configuration "
813 "Item: <literal>APT::Install-Suggests</literal>."
814 msgstr ""
815
816 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
817 #: apt-get.8.xml:273
818 msgid ""
819 "Download only; package files are only retrieved, not unpacked or installed. "
820 "Configuration Item: <literal>APT::Get::Download-Only</literal>."
821 msgstr ""
822
823 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
824 #: apt-get.8.xml:278
825 msgid ""
826 "Fix; attempt to correct a system with broken dependencies in place. This "
827 "option, when used with install/remove, can omit any packages to permit APT "
828 "to deduce a likely solution. If packages are specified, these have to "
829 "completely correct the problem. The option is sometimes necessary when "
830 "running APT for the first time; APT itself does not allow broken package "
831 "dependencies to exist on a system. It is possible that a system's dependency "
832 "structure can be so corrupt as to require manual intervention (which usually "
833 "means using &dselect; or <command>dpkg --remove</command> to eliminate some "
834 "of the offending packages). Use of this option together with "
835 "<option>-m</option> may produce an error in some situations. Configuration "
836 "Item: <literal>APT::Get::Fix-Broken</literal>."
837 msgstr ""
838
839 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
840 #: apt-get.8.xml:293
841 msgid ""
842 "Ignore missing packages; if packages cannot be retrieved or fail the "
843 "integrity check after retrieval (corrupted package files), hold back those "
844 "packages and handle the result. Use of this option together with "
845 "<option>-f</option> may produce an error in some situations. If a package is "
846 "selected for installation (particularly if it is mentioned on the command "
847 "line) and it could not be downloaded then it will be silently held back. "
848 "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
849 msgstr ""
850
851 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
852 #: apt-get.8.xml:304
853 msgid ""
854 "Disables downloading of packages. This is best used with "
855 "<option>--ignore-missing</option> to force APT to use only the .debs it has "
856 "already downloaded. Configuration Item: "
857 "<literal>APT::Get::Download</literal>."
858 msgstr ""
859
860 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
861 #: apt-get.8.xml:311
862 msgid ""
863 "Quiet; produces output suitable for logging, omitting progress indicators. "
864 "More q's will produce more quiet up to a maximum of 2. You can also use "
865 "<option>-q=#</option> to set the quiet level, overriding the configuration "
866 "file. Note that quiet level 2 implies <option>-y</option>; you should never "
867 "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
868 "may decide to do something you did not expect. Configuration Item: "
869 "<literal>quiet</literal>."
870 msgstr ""
871
872 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
873 #: apt-get.8.xml:326
874 msgid ""
875 "No action; perform a simulation of events that would occur but do not "
876 "actually change the system. Configuration Item: "
877 "<literal>APT::Get::Simulate</literal>."
878 msgstr ""
879
880 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
881 #: apt-get.8.xml:330
882 msgid ""
883 "Simulated runs performed as a user will automatically deactivate locking "
884 "(<literal>Debug::NoLocking</literal>), and if the option "
885 "<literal>APT::Get::Show-User-Simulation-Note</literal> is set (as it is by "
886 "default) a notice will also be displayed indicating that this is only a "
887 "simulation. Runs performed as root do not trigger either NoLocking or the "
888 "notice - superusers should know what they are doing without further warnings "
889 "from <literal>apt-get</literal>."
890 msgstr ""
891
892 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
893 #: apt-get.8.xml:338
894 msgid ""
895 "Simulated runs print out a series of lines, each representing a "
896 "<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
897 "remove (<literal>Remv</literal>) or unpack "
898 "(<literal>Inst</literal>). Square brackets indicate broken packages, and "
899 "empty square brackets indicate breaks that are of no consequence (rare)."
900 msgstr ""
901
902 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
903 #: apt-get.8.xml:346
904 msgid ""
905 "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
906 "non-interactively. If an undesirable situation, such as changing a held "
907 "package, trying to install a unauthenticated package or removing an "
908 "essential package occurs then <literal>apt-get</literal> will abort. "
909 "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
910 msgstr ""
911
912 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
913 #: apt-get.8.xml:354
914 msgid ""
915 "Automatic \"no\" to all prompts. Configuration Item: "
916 "<literal>APT::Get::Assume-No</literal>."
917 msgstr ""
918
919 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
920 #: apt-get.8.xml:359
921 msgid ""
922 "Show upgraded packages; print out a list of all packages that are to be "
923 "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
924 msgstr ""
925
926 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
927 #: apt-get.8.xml:365
928 msgid ""
929 "Show full versions for upgraded and installed packages. Configuration Item: "
930 "<literal>APT::Get::Show-Versions</literal>."
931 msgstr ""
932
933 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
934 #: apt-get.8.xml:371
935 msgid ""
936 "This option controls the architecture packages are built for by "
937 "<command>apt-get source --compile</command> and how cross-builddependencies "
938 "are satisfied. By default is it not set which means that the host "
939 "architecture is the same as the build architecture (which is defined by "
940 "<literal>APT::Architecture</literal>). Configuration Item: "
941 "<literal>APT::Get::Host-Architecture</literal>"
942 msgstr ""
943
944 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
945 #: apt-get.8.xml:381
946 msgid ""
947 "Compile source packages after downloading them. Configuration Item: "
948 "<literal>APT::Get::Compile</literal>."
949 msgstr ""
950
951 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
952 #: apt-get.8.xml:386
953 msgid ""
954 "Ignore package holds; this causes <command>apt-get</command> to ignore a "
955 "hold placed on a package. This may be useful in conjunction with "
956 "<literal>dist-upgrade</literal> to override a large number of undesired "
957 "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
958 msgstr ""
959
960 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
961 #: apt-get.8.xml:393
962 msgid ""
963 "Do not upgrade packages; when used in conjunction with "
964 "<literal>install</literal>, <literal>no-upgrade</literal> will prevent "
965 "packages on the command line from being upgraded if they are already "
966 "installed. Configuration Item: <literal>APT::Get::Upgrade</literal>."
967 msgstr ""
968
969 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
970 #: apt-get.8.xml:400
971 msgid ""
972 "Do not install new packages; when used in conjunction with "
973 "<literal>install</literal>, <literal>only-upgrade</literal> will install "
974 "upgrades for already installed packages only and ignore requests to install "
975 "new packages. Configuration Item: "
976 "<literal>APT::Get::Only-Upgrade</literal>."
977 msgstr ""
978
979 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
980 #: apt-get.8.xml:408
981 msgid ""
982 "Force yes; this is a dangerous option that will cause apt to continue "
983 "without prompting if it is doing something potentially harmful. It should "
984 "not be used except in very special situations. Using "
985 "<literal>force-yes</literal> can potentially destroy your system! "
986 "Configuration Item: <literal>APT::Get::force-yes</literal>."
987 msgstr ""
988
989 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
990 #: apt-get.8.xml:416
991 msgid ""
992 "Instead of fetching the files to install their URIs are printed. Each URI "
993 "will have the path, the destination file name, the size and the expected MD5 "
994 "hash. Note that the file name to write to will not always match the file "
995 "name on the remote site! This also works with the <literal>source</literal> "
996 "and <literal>update</literal> commands. When used with the "
997 "<literal>update</literal> command the MD5 and size are not included, and it "
998 "is up to the user to decompress any compressed files. Configuration Item: "
999 "<literal>APT::Get::Print-URIs</literal>."
1000 msgstr ""
1001
1002 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1003 #: apt-get.8.xml:427
1004 msgid ""
1005 "Use purge instead of remove for anything that would be removed. An asterisk "
1006 "(\"*\") will be displayed next to packages which are scheduled to be "
1007 "purged. <option>remove --purge</option> is equivalent to the "
1008 "<option>purge</option> command. Configuration Item: "
1009 "<literal>APT::Get::Purge</literal>."
1010 msgstr ""
1011
1012 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1013 #: apt-get.8.xml:435
1014 msgid ""
1015 "Re-install packages that are already installed and at the newest version. "
1016 "Configuration Item: <literal>APT::Get::ReInstall</literal>."
1017 msgstr ""
1018
1019 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1020 #: apt-get.8.xml:440
1021 msgid ""
1022 "This option is on by default; use <literal>--no-list-cleanup</literal> to "
1023 "turn it off. When it is on, <command>apt-get</command> will automatically "
1024 "manage the contents of <filename>&statedir;/lists</filename> to ensure that "
1025 "obsolete files are erased. The only reason to turn it off is if you "
1026 "frequently change your sources list. Configuration Item: "
1027 "<literal>APT::Get::List-Cleanup</literal>."
1028 msgstr ""
1029
1030 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1031 #: apt-get.8.xml:450
1032 msgid ""
1033 "This option controls the default input to the policy engine; it creates a "
1034 "default pin at priority 990 using the specified release string. This "
1035 "overrides the general settings in "
1036 "<filename>/etc/apt/preferences</filename>. Specifically pinned packages are "
1037 "not affected by the value of this option. In short, this option lets you "
1038 "have simple control over which distribution packages will be retrieved "
1039 "from. Some common examples might be <option>-t '2.1*'</option>, <option>-t "
1040 "unstable</option> or <option>-t sid</option>. Configuration Item: "
1041 "<literal>APT::Default-Release</literal>; see also the &apt-preferences; "
1042 "manual page."
1043 msgstr ""
1044
1045 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1046 #: apt-get.8.xml:465
1047 msgid ""
1048 "Only perform operations that are 'trivial'. Logically this can be considered "
1049 "related to <option>--assume-yes</option>; where "
1050 "<option>--assume-yes</option> will answer yes to any prompt, "
1051 "<option>--trivial-only</option> will answer no. Configuration Item: "
1052 "<literal>APT::Get::Trivial-Only</literal>."
1053 msgstr ""
1054
1055 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1056 #: apt-get.8.xml:472
1057 msgid ""
1058 "If any packages are to be removed apt-get immediately aborts without "
1059 "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
1060 msgstr ""
1061
1062 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1063 #: apt-get.8.xml:478
1064 msgid ""
1065 "If the command is either <literal>install</literal> or "
1066 "<literal>remove</literal>, then this option acts like running the "
1067 "<literal>autoremove</literal> command, removing unused dependency "
1068 "packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>."
1069 msgstr ""
1070
1071 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1072 #: apt-get.8.xml:485
1073 msgid ""
1074 "Only has meaning for the <literal>source</literal> and "
1075 "<literal>build-dep</literal> commands. Indicates that the given source "
1076 "names are not to be mapped through the binary table. This means that if "
1077 "this option is specified, these commands will only accept source package "
1078 "names as arguments, rather than accepting binary package names and looking "
1079 "up the corresponding source package. Configuration Item: "
1080 "<literal>APT::Get::Only-Source</literal>."
1081 msgstr ""
1082
1083 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1084 #: apt-get.8.xml:496
1085 msgid ""
1086 "Download only the diff, dsc, or tar file of a source archive. Configuration "
1087 "Item: <literal>APT::Get::Diff-Only</literal>, "
1088 "<literal>APT::Get::Dsc-Only</literal>, and "
1089 "<literal>APT::Get::Tar-Only</literal>."
1090 msgstr ""
1091
1092 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1093 #: apt-get.8.xml:502
1094 msgid ""
1095 "Only process architecture-dependent build-dependencies. Configuration Item: "
1096 "<literal>APT::Get::Arch-Only</literal>."
1097 msgstr ""
1098
1099 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1100 #: apt-get.8.xml:507
1101 msgid ""
1102 "Ignore if packages can't be authenticated and don't prompt about it. This "
1103 "is useful for tools like pbuilder. Configuration Item: "
1104 "<literal>APT::Get::AllowUnauthenticated</literal>."
1105 msgstr ""
1106
1107 #. type: Content of: <refentry><refsect1><title>
1108 #: apt-get.8.xml:518 apt-cache.8.xml:343 apt-key.8.xml:174 apt-mark.8.xml:125 apt.conf.5.xml:1168 apt_preferences.5.xml:698
1109 msgid "Files"
1110 msgstr ""
1111
1112 #. type: Content of: <refentry><refsect1><title>
1113 #: apt-get.8.xml:528 apt-cache.8.xml:350 apt-key.8.xml:195 apt-mark.8.xml:131 apt-secure.8.xml:191 apt-cdrom.8.xml:144 apt-config.8.xml:109 apt.conf.5.xml:1174 apt_preferences.5.xml:705 sources.list.5.xml:252 apt-extracttemplates.1.xml:70 apt-sortpkgs.1.xml:63 apt-ftparchive.1.xml:607
1114 msgid "See Also"
1115 msgstr ""
1116
1117 #. type: Content of: <refentry><refsect1><para>
1118 #: apt-get.8.xml:529
1119 msgid ""
1120 "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
1121 "&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, "
1122 "&apt-preferences;, the APT Howto."
1123 msgstr ""
1124
1125 #. type: Content of: <refentry><refsect1><title>
1126 #: apt-get.8.xml:534 apt-cache.8.xml:355 apt-mark.8.xml:135 apt-cdrom.8.xml:149 apt-config.8.xml:114 apt-extracttemplates.1.xml:74 apt-sortpkgs.1.xml:67 apt-ftparchive.1.xml:611
1127 msgid "Diagnostics"
1128 msgstr ""
1129
1130 #. type: Content of: <refentry><refsect1><para>
1131 #: apt-get.8.xml:535
1132 msgid ""
1133 "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
1134 "error."
1135 msgstr ""
1136
1137 #. type: Content of: <refentry><refnamediv><refpurpose>
1138 #: apt-cache.8.xml:33
1139 msgid "query the APT cache"
1140 msgstr ""
1141
1142 #. type: Content of: <refentry><refsect1><para>
1143 #: apt-cache.8.xml:39
1144 msgid ""
1145 "<command>apt-cache</command> performs a variety of operations on APT's "
1146 "package cache. <command>apt-cache</command> does not manipulate the state of "
1147 "the system but does provide operations to search and generate interesting "
1148 "output from the package metadata."
1149 msgstr ""
1150
1151 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1152 #: apt-cache.8.xml:49
1153 msgid ""
1154 "<literal>gencaches</literal> creates APT's package cache. This is done "
1155 "implicitly by all commands needing this cache if it is missing or outdated."
1156 msgstr ""
1157
1158 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
1159 #: apt-cache.8.xml:53 apt-cache.8.xml:142 apt-cache.8.xml:163 apt-cache.8.xml:185 apt-cache.8.xml:190 apt-cache.8.xml:206 apt-cache.8.xml:224 apt-cache.8.xml:236
1160 msgid "&synopsis-pkg;"
1161 msgstr ""
1162
1163 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1164 #: apt-cache.8.xml:54
1165 msgid ""
1166 "<literal>showpkg</literal> displays information about the packages listed on "
1167 "the command line. Remaining arguments are package names. The available "
1168 "versions and reverse dependencies of each package listed are listed, as well "
1169 "as forward dependencies for each version. Forward (normal) dependencies are "
1170 "those packages upon which the package in question depends; reverse "
1171 "dependencies are those packages that depend upon the package in "
1172 "question. Thus, forward dependencies must be satisfied for a package, but "
1173 "reverse dependencies need not be. For instance, <command>apt-cache showpkg "
1174 "libreadline2</command> would produce output similar to the following:"
1175 msgstr ""
1176
1177 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
1178 #: apt-cache.8.xml:66
1179 #, no-wrap
1180 msgid ""
1181 "Package: libreadline2\n"
1182 "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
1183 "Reverse Depends: \n"
1184 " libreadlineg2,libreadline2\n"
1185 " libreadline2-altdev,libreadline2\n"
1186 "Dependencies:\n"
1187 "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
1188 "Provides:\n"
1189 "2.1-12 - \n"
1190 "Reverse Provides: \n"
1191 msgstr ""
1192
1193 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1194 #: apt-cache.8.xml:78
1195 msgid ""
1196 "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
1197 "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
1198 "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
1199 "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
1200 "installed; libreadlineg2 and libreadline2-altdev do not have to be "
1201 "installed. For the specific meaning of the remainder of the output it is "
1202 "best to consult the apt source code."
1203 msgstr ""
1204
1205 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1206 #: apt-cache.8.xml:87
1207 msgid ""
1208 "<literal>stats</literal> displays some statistics about the cache. No "
1209 "further arguments are expected. Statistics reported are:"
1210 msgstr ""
1211
1212 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1213 #: apt-cache.8.xml:90
1214 msgid ""
1215 "<literal>Total package names</literal> is the number of package names found "
1216 "in the cache."
1217 msgstr ""
1218
1219 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1220 #: apt-cache.8.xml:94
1221 msgid ""
1222 "<literal>Normal packages</literal> is the number of regular, ordinary "
1223 "package names; these are packages that bear a one-to-one correspondence "
1224 "between their names and the names used by other packages for them in "
1225 "dependencies. The majority of packages fall into this category."
1226 msgstr ""
1227
1228 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1229 #: apt-cache.8.xml:100
1230 msgid ""
1231 "<literal>Pure virtual packages</literal> is the number of packages that "
1232 "exist only as a virtual package name; that is, packages only \"provide\" the "
1233 "virtual package name, and no package actually uses the name. For instance, "
1234 "\"mail-transport-agent\" in the Debian system is a pure virtual package; "
1235 "several packages provide \"mail-transport-agent\", but there is no package "
1236 "named \"mail-transport-agent\"."
1237 msgstr ""
1238
1239 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1240 #: apt-cache.8.xml:108
1241 msgid ""
1242 "<literal>Single virtual packages</literal> is the number of packages with "
1243 "only one package providing a particular virtual package. For example, in the "
1244 "Debian system, \"X11-text-viewer\" is a virtual package, but only one "
1245 "package, xless, provides \"X11-text-viewer\"."
1246 msgstr ""
1247
1248 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1249 #: apt-cache.8.xml:114
1250 msgid ""
1251 "<literal>Mixed virtual packages</literal> is the number of packages that "
1252 "either provide a particular virtual package or have the virtual package name "
1253 "as the package name. For instance, in the Debian system, \"debconf\" is both "
1254 "an actual package, and provided by the debconf-tiny package."
1255 msgstr ""
1256
1257 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1258 #: apt-cache.8.xml:121
1259 msgid ""
1260 "<literal>Missing</literal> is the number of package names that were "
1261 "referenced in a dependency but were not provided by any package. Missing "
1262 "packages may be an evidence if a full distribution is not accessed, or if a "
1263 "package (real or virtual) has been dropped from the distribution. Usually "
1264 "they are referenced from Conflicts or Breaks statements."
1265 msgstr ""
1266
1267 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1268 #: apt-cache.8.xml:128
1269 msgid ""
1270 "<literal>Total distinct</literal> versions is the number of package versions "
1271 "found in the cache; this value is therefore at least equal to the number of "
1272 "total package names. If more than one distribution is being accessed (for "
1273 "instance, \"stable\" and \"unstable\"), this value can be considerably "
1274 "larger than the number of total package names."
1275 msgstr ""
1276
1277 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1278 #: apt-cache.8.xml:135
1279 msgid ""
1280 "<literal>Total dependencies</literal> is the number of dependency "
1281 "relationships claimed by all of the packages in the cache."
1282 msgstr ""
1283
1284 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1285 #: apt-cache.8.xml:143
1286 msgid ""
1287 "<literal>showsrc</literal> displays all the source package records that "
1288 "match the given package names. All versions are shown, as well as all "
1289 "records that declare the name to be a binary package."
1290 msgstr ""
1291
1292 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1293 #: apt-cache.8.xml:149
1294 msgid ""
1295 "<literal>dump</literal> shows a short listing of every package in the "
1296 "cache. It is primarily for debugging."
1297 msgstr ""
1298
1299 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1300 #: apt-cache.8.xml:154
1301 msgid ""
1302 "<literal>dumpavail</literal> prints out an available list to stdout. This is "
1303 "suitable for use with &dpkg; and is used by the &dselect; method."
1304 msgstr ""
1305
1306 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1307 #: apt-cache.8.xml:159
1308 msgid ""
1309 "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
1310 "package cache."
1311 msgstr ""
1312
1313 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1314 #: apt-cache.8.xml:164
1315 msgid ""
1316 "<literal>show</literal> performs a function similar to <command>dpkg "
1317 "--print-avail</command>; it displays the package records for the named "
1318 "packages."
1319 msgstr ""
1320
1321 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
1322 #: apt-cache.8.xml:169
1323 msgid "&synopsis-regex;"
1324 msgstr ""
1325
1326 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1327 #: apt-cache.8.xml:170
1328 msgid ""
1329 "<literal>search</literal> performs a full text search on all available "
1330 "package lists for the POSIX regex pattern given, see &regex;. It searches "
1331 "the package names and the descriptions for an occurrence of the regular "
1332 "expression and prints out the package name and the short description, "
1333 "including virtual package names. If <option>--full</option> is given then "
1334 "output identical to <literal>show</literal> is produced for each matched "
1335 "package, and if <option>--names-only</option> is given then the long "
1336 "description is not searched, only the package name is."
1337 msgstr ""
1338
1339 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1340 #: apt-cache.8.xml:181
1341 msgid ""
1342 "Separate arguments can be used to specify multiple search patterns that are "
1343 "and'ed together."
1344 msgstr ""
1345
1346 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1347 #: apt-cache.8.xml:186
1348 msgid ""
1349 "<literal>depends</literal> shows a listing of each dependency a package has "
1350 "and all the possible other packages that can fulfill that dependency."
1351 msgstr ""
1352
1353 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1354 #: apt-cache.8.xml:191
1355 msgid ""
1356 "<literal>rdepends</literal> shows a listing of each reverse dependency a "
1357 "package has."
1358 msgstr ""
1359
1360 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1361 #: apt-cache.8.xml:195
1362 msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
1363 msgstr ""
1364
1365 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1366 #: apt-cache.8.xml:196
1367 msgid ""
1368 "This command prints the name of each package APT knows. The optional "
1369 "argument is a prefix match to filter the name list. The output is suitable "
1370 "for use in a shell tab complete function and the output is generated "
1371 "extremely quickly. This command is best used with the "
1372 "<option>--generate</option> option."
1373 msgstr ""
1374
1375 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1376 #: apt-cache.8.xml:201
1377 msgid ""
1378 "Note that a package which APT knows of is not necessarily available to "
1379 "download, installable or installed, e.g. virtual packages are also listed in "
1380 "the generated list."
1381 msgstr ""
1382
1383 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1384 #: apt-cache.8.xml:207
1385 msgid ""
1386 "<literal>dotty</literal> takes a list of packages on the command line and "
1387 "generates output suitable for use by dotty from the <ulink "
1388 "url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> "
1389 "package. The result will be a set of nodes and edges representing the "
1390 "relationships between the packages. By default the given packages will trace "
1391 "out all dependent packages; this can produce a very large graph. To limit "
1392 "the output to only the packages listed on the command line, set the "
1393 "<literal>APT::Cache::GivenOnly</literal> option."
1394 msgstr ""
1395
1396 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1397 #: apt-cache.8.xml:216
1398 msgid ""
1399 "The resulting nodes will have several shapes; normal packages are boxes, "
1400 "pure virtual packages are triangles, mixed virtual packages are diamonds, "
1401 "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
1402 "packages), blue lines are pre-depends, green lines are conflicts."
1403 msgstr ""
1404
1405 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1406 #: apt-cache.8.xml:221
1407 msgid "Caution, dotty cannot graph larger sets of packages."
1408 msgstr ""
1409
1410 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1411 #: apt-cache.8.xml:225
1412 msgid ""
1413 "The same as <literal>dotty</literal>, only for xvcg from the <ulink "
1414 "url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG "
1415 "tool</ulink>."
1416 msgstr ""
1417
1418 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1419 #: apt-cache.8.xml:229
1420 msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
1421 msgstr ""
1422
1423 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1424 #: apt-cache.8.xml:230
1425 msgid ""
1426 "<literal>policy</literal> is meant to help debug issues relating to the "
1427 "preferences file. With no arguments it will print out the priorities of each "
1428 "source. Otherwise it prints out detailed information about the priority "
1429 "selection of the named package."
1430 msgstr ""
1431
1432 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1433 #: apt-cache.8.xml:237
1434 msgid ""
1435 "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
1436 "to mimic the output format and a subset of the functionality of the Debian "
1437 "archive management tool, <literal>madison</literal>. It displays available "
1438 "versions of a package in a tabular format. Unlike the original "
1439 "<literal>madison</literal>, it can only display information for the "
1440 "architecture for which APT has retrieved package lists "
1441 "(<literal>APT::Architecture</literal>)."
1442 msgstr ""
1443
1444 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1445 #: apt-cache.8.xml:253
1446 msgid ""
1447 "Select the file to store the package cache. The package cache is the primary "
1448 "cache used by all operations. Configuration Item: "
1449 "<literal>Dir::Cache::pkgcache</literal>."
1450 msgstr ""
1451
1452 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1453 #: apt-cache.8.xml:259
1454 msgid ""
1455 "Select the file to store the source cache. The source is used only by "
1456 "<literal>gencaches</literal> and it stores a parsed version of the package "
1457 "information from remote sources. When building the package cache the source "
1458 "cache is used to avoid reparsing all of the package files. Configuration "
1459 "Item: <literal>Dir::Cache::srcpkgcache</literal>."
1460 msgstr ""
1461
1462 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1463 #: apt-cache.8.xml:267
1464 msgid ""
1465 "Quiet; produces output suitable for logging, omitting progress indicators. "
1466 "More q's will produce more quietness up to a maximum of 2. You can also use "
1467 "<option>-q=#</option> to set the quietness level, overriding the "
1468 "configuration file. Configuration Item: <literal>quiet</literal>."
1469 msgstr ""
1470
1471 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1472 #: apt-cache.8.xml:274
1473 msgid ""
1474 "Print only important dependencies; for use with <literal>unmet</literal> and "
1475 "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
1476 "be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
1477 msgstr ""
1478
1479 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1480 #: apt-cache.8.xml:288
1481 msgid ""
1482 "Per default the <literal>depends</literal> and <literal>rdepends</literal> "
1483 "print all dependencies. This can be tweaked with these flags which will omit "
1484 "the specified dependency type. Configuration Item: "
1485 "<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> "
1486 "e.g. <literal>APT::Cache::ShowRecommends</literal>."
1487 msgstr ""
1488
1489 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1490 #: apt-cache.8.xml:295
1491 msgid ""
1492 "Print full package records when searching. Configuration Item: "
1493 "<literal>APT::Cache::ShowFull</literal>."
1494 msgstr ""
1495
1496 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1497 #: apt-cache.8.xml:300
1498 msgid ""
1499 "Print full records for all available versions. This is the default; to turn "
1500 "it off, use <option>--no-all-versions</option>. If "
1501 "<option>--no-all-versions</option> is specified, only the candidate version "
1502 "will be displayed (the one which would be selected for installation). This "
1503 "option is only applicable to the <literal>show</literal> command. "
1504 "Configuration Item: <literal>APT::Cache::AllVersions</literal>."
1505 msgstr ""
1506
1507 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1508 #: apt-cache.8.xml:309
1509 msgid ""
1510 "Perform automatic package cache regeneration, rather than use the cache as "
1511 "it is. This is the default; to turn it off, use "
1512 "<option>--no-generate</option>. Configuration Item: "
1513 "<literal>APT::Cache::Generate</literal>."
1514 msgstr ""
1515
1516 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1517 #: apt-cache.8.xml:315
1518 msgid ""
1519 "Only search on the package names, not the long descriptions. Configuration "
1520 "Item: <literal>APT::Cache::NamesOnly</literal>."
1521 msgstr ""
1522
1523 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1524 #: apt-cache.8.xml:320
1525 msgid ""
1526 "Make <literal>pkgnames</literal> print all names, including virtual packages "
1527 "and missing dependencies. Configuration Item: "
1528 "<literal>APT::Cache::AllNames</literal>."
1529 msgstr ""
1530
1531 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1532 #: apt-cache.8.xml:326
1533 msgid ""
1534 "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1535 "that all packages mentioned are printed once. Configuration Item: "
1536 "<literal>APT::Cache::RecurseDepends</literal>."
1537 msgstr ""
1538
1539 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1540 #: apt-cache.8.xml:333
1541 msgid ""
1542 "Limit the output of <literal>depends</literal> and "
1543 "<literal>rdepends</literal> to packages which are currently installed. "
1544 "Configuration Item: <literal>APT::Cache::Installed</literal>."
1545 msgstr ""
1546
1547 #. type: Content of: <refentry><refsect1><para>
1548 #: apt-cache.8.xml:351
1549 msgid "&apt-conf;, &sources-list;, &apt-get;"
1550 msgstr ""
1551
1552 #. type: Content of: <refentry><refsect1><para>
1553 #: apt-cache.8.xml:356
1554 msgid ""
1555 "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1556 "on error."
1557 msgstr ""
1558
1559 #. type: Content of: <refentry><refnamediv><refpurpose>
1560 #: apt-key.8.xml:32
1561 msgid "APT key management utility"
1562 msgstr ""
1563
1564 #. type: Content of: <refentry><refsect1><para>
1565 #: apt-key.8.xml:39
1566 msgid ""
1567 "<command>apt-key</command> is used to manage the list of keys used by apt to "
1568 "authenticate packages. Packages which have been authenticated using these "
1569 "keys will be considered trusted."
1570 msgstr ""
1571
1572 #. type: Content of: <refentry><refsect1><title>
1573 #: apt-key.8.xml:45
1574 msgid "Commands"
1575 msgstr ""
1576
1577 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1578 #: apt-key.8.xml:50
1579 msgid ""
1580 "Add a new key to the list of trusted keys. The key is read from the "
1581 "filename given with the parameter &synopsis-param-filename; or if the "
1582 "filename is <literal>-</literal> from standard input."
1583 msgstr ""
1584
1585 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1586 #: apt-key.8.xml:63
1587 msgid "Remove a key from the list of trusted keys."
1588 msgstr ""
1589
1590 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1591 #: apt-key.8.xml:74
1592 msgid "Output the key &synopsis-param-keyid; to standard output."
1593 msgstr ""
1594
1595 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1596 #: apt-key.8.xml:85
1597 msgid "Output all trusted keys to standard output."
1598 msgstr ""
1599
1600 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1601 #: apt-key.8.xml:96
1602 msgid "List trusted keys."
1603 msgstr ""
1604
1605 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1606 #: apt-key.8.xml:107
1607 msgid "List fingerprints of trusted keys."
1608 msgstr ""
1609
1610 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1611 #: apt-key.8.xml:118
1612 msgid ""
1613 "Pass advanced options to gpg. With adv --recv-key you can download the "
1614 "public key."
1615 msgstr ""
1616
1617 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1618 #: apt-key.8.xml:130
1619 msgid ""
1620 "Update the local keyring with the archive keyring and remove from the local "
1621 "keyring the archive keys which are no longer valid. The archive keyring is "
1622 "shipped in the <literal>archive-keyring</literal> package of your "
1623 "distribution, e.g. the <literal>debian-archive-keyring</literal> package in "
1624 "Debian."
1625 msgstr ""
1626
1627 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1628 #: apt-key.8.xml:144
1629 msgid ""
1630 "Perform an update working similarly to the <command>update</command> command "
1631 "above, but get the archive keyring from a URI instead and validate it "
1632 "against a master key. This requires an installed &wget; and an APT build "
1633 "configured to have a server to fetch from and a master keyring to validate. "
1634 "APT in Debian does not support this command, relying on "
1635 "<command>update</command> instead, but Ubuntu's APT does."
1636 msgstr ""
1637
1638 #. type: Content of: <refentry><refsect1><title>
1639 #: apt-key.8.xml:160 apt-cdrom.8.xml:80
1640 msgid "Options"
1641 msgstr ""
1642
1643 #. type: Content of: <refentry><refsect1><para>
1644 #: apt-key.8.xml:161
1645 msgid ""
1646 "Note that options need to be defined before the commands described in the "
1647 "previous section."
1648 msgstr ""
1649
1650 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1651 #: apt-key.8.xml:164
1652 msgid ""
1653 "With this option it is possible to specify a particular keyring file the "
1654 "command should operate on. The default is that a command is executed on the "
1655 "<filename>trusted.gpg</filename> file as well as on all parts in the "
1656 "<filename>trusted.gpg.d</filename> directory, though "
1657 "<filename>trusted.gpg</filename> is the primary keyring which means that "
1658 "e.g. new keys are added to this one."
1659 msgstr ""
1660
1661 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1662 #: apt-key.8.xml:179
1663 msgid "<filename>/etc/apt/trustdb.gpg</filename>"
1664 msgstr ""
1665
1666 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1667 #: apt-key.8.xml:180
1668 msgid "Local trust database of archive keys."
1669 msgstr ""
1670
1671 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1672 #: apt-key.8.xml:183
1673 msgid "<filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename>"
1674 msgstr ""
1675
1676 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1677 #: apt-key.8.xml:184
1678 msgid "Keyring of Debian archive trusted keys."
1679 msgstr ""
1680
1681 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1682 #: apt-key.8.xml:187
1683 msgid "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
1684 msgstr ""
1685
1686 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1687 #: apt-key.8.xml:188
1688 msgid "Keyring of Debian archive removed trusted keys."
1689 msgstr ""
1690
1691 #. type: Content of: <refentry><refsect1><para>
1692 #: apt-key.8.xml:197
1693 msgid "&apt-get;, &apt-secure;"
1694 msgstr ""
1695
1696 #. type: Content of: <refentry><refnamediv><refpurpose>
1697 #: apt-mark.8.xml:33
1698 msgid "mark/unmark a package as being automatically-installed"
1699 msgstr ""
1700
1701 #. type: Content of: <refentry><refsect1><para>
1702 #: apt-mark.8.xml:39
1703 msgid ""
1704 "<command>apt-mark</command> will change whether a package has been marked as "
1705 "being automatically installed."
1706 msgstr ""
1707
1708 #. type: Content of: <refentry><refsect1><para>
1709 #: apt-mark.8.xml:43
1710 msgid ""
1711 "When you request that a package is installed, and as a result other packages "
1712 "are installed to satisfy its dependencies, the dependencies are marked as "
1713 "being automatically installed. Once these automatically installed packages "
1714 "are no longer depended on by any manually installed packages, they will be "
1715 "removed by e.g. <command>apt-get</command> or <command>aptitude</command>."
1716 msgstr ""
1717
1718 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1719 #: apt-mark.8.xml:52
1720 msgid ""
1721 "<literal>auto</literal> is used to mark a package as being automatically "
1722 "installed, which will cause the package to be removed when no more manually "
1723 "installed packages depend on this package."
1724 msgstr ""
1725
1726 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1727 #: apt-mark.8.xml:60
1728 msgid ""
1729 "<literal>manual</literal> is used to mark a package as being manually "
1730 "installed, which will prevent the package from being automatically removed "
1731 "if no other packages depend on it."
1732 msgstr ""
1733
1734 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1735 #: apt-mark.8.xml:68
1736 msgid ""
1737 "<literal>hold</literal> is used to mark a package as held back, which will "
1738 "prevent the package from being automatically installed, upgraded or "
1739 "removed. The command is only a wrapper around <command>dpkg "
1740 "--set-selections</command> and the state is therefore maintained by &dpkg; "
1741 "and not affected by the <option>--file</option> option."
1742 msgstr ""
1743
1744 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1745 #: apt-mark.8.xml:78
1746 msgid ""
1747 "<literal>unhold</literal> is used to cancel a previously set hold on a "
1748 "package to allow all actions again."
1749 msgstr ""
1750
1751 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1752 #: apt-mark.8.xml:84
1753 msgid ""
1754 "<literal>showauto</literal> is used to print a list of automatically "
1755 "installed packages with each package on a new line. All automatically "
1756 "installed packages will be listed if no package is given. If packages are "
1757 "given only those which are automatically installed will be shown."
1758 msgstr ""
1759
1760 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1761 #: apt-mark.8.xml:92
1762 msgid ""
1763 "<literal>showmanual</literal> can be used in the same way as "
1764 "<literal>showauto</literal> except that it will print a list of manually "
1765 "installed packages instead."
1766 msgstr ""
1767
1768 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1769 #: apt-mark.8.xml:99
1770 msgid ""
1771 "<literal>showhold</literal> is used to print a list of packages on hold in "
1772 "the same way as for the other show commands."
1773 msgstr ""
1774
1775 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1776 #: apt-mark.8.xml:115
1777 msgid ""
1778 "Read/Write package stats from the filename given with the parameter "
1779 "&synopsis-param-filename; instead of from the default location, which is "
1780 "<filename>extended_status</filename> in the directory defined by the "
1781 "Configuration Item: <literal>Dir::State</literal>."
1782 msgstr ""
1783
1784 #. type: Content of: <refentry><refsect1><para>
1785 #: apt-mark.8.xml:136
1786 msgid ""
1787 "<command>apt-mark</command> returns zero on normal operation, non-zero on "
1788 "error."
1789 msgstr ""
1790
1791 #. type: Content of: <refentry><refnamediv><refpurpose>
1792 #: apt-secure.8.xml:47
1793 msgid "Archive authentication support for APT"
1794 msgstr ""
1795
1796 #. type: Content of: <refentry><refsect1><para>
1797 #: apt-secure.8.xml:52
1798 msgid ""
1799 "Starting with version 0.6, <command>apt</command> contains code that does "
1800 "signature checking of the Release file for all archives. This ensures that "
1801 "packages in the archive can't be modified by people who have no access to "
1802 "the Release file signing key."
1803 msgstr ""
1804
1805 #. type: Content of: <refentry><refsect1><para>
1806 #: apt-secure.8.xml:60
1807 msgid ""
1808 "If a package comes from a archive without a signature, or with a signature "
1809 "that apt does not have a key for, that package is considered untrusted, and "
1810 "installing it will result in a big warning. <command>apt-get</command> will "
1811 "currently only warn for unsigned archives; future releases might force all "
1812 "sources to be verified before downloading packages from them."
1813 msgstr ""
1814
1815 #. type: Content of: <refentry><refsect1><para>
1816 #: apt-secure.8.xml:69
1817 msgid ""
1818 "The package frontends &apt-get;, &aptitude; and &synaptic; support this new "
1819 "authentication feature."
1820 msgstr ""
1821
1822 #. type: Content of: <refentry><refsect1><title>
1823 #: apt-secure.8.xml:74
1824 msgid "Trusted archives"
1825 msgstr ""
1826
1827 #. type: Content of: <refentry><refsect1><para>
1828 #: apt-secure.8.xml:77
1829 msgid ""
1830 "The chain of trust from an apt archive to the end user is made up of several "
1831 "steps. <command>apt-secure</command> is the last step in this chain; "
1832 "trusting an archive does not mean that you trust its packages not to contain "
1833 "malicious code, but means that you trust the archive maintainer. It's the "
1834 "archive maintainer's responsibility to ensure that the archive's integrity "
1835 "is preserved."
1836 msgstr ""
1837
1838 #. type: Content of: <refentry><refsect1><para>
1839 #: apt-secure.8.xml:85
1840 msgid ""
1841 "apt-secure does not review signatures at a package level. If you require "
1842 "tools to do this you should look at <command>debsig-verify</command> and "
1843 "<command>debsign</command> (provided in the debsig-verify and devscripts "
1844 "packages respectively)."
1845 msgstr ""
1846
1847 #. type: Content of: <refentry><refsect1><para>
1848 #: apt-secure.8.xml:92
1849 msgid ""
1850 "The chain of trust in Debian starts when a maintainer uploads a new package "
1851 "or a new version of a package to the Debian archive. In order to become "
1852 "effective, this upload needs to be signed by a key contained in the Debian "
1853 "Maintainers keyring (available in the debian-keyring package). Maintainers' "
1854 "keys are signed by other maintainers following pre-established procedures to "
1855 "ensure the identity of the key holder."
1856 msgstr ""
1857
1858 #. type: Content of: <refentry><refsect1><para>
1859 #: apt-secure.8.xml:102
1860 msgid ""
1861 "Once the uploaded package is verified and included in the archive, the "
1862 "maintainer signature is stripped off, and checksums of the package are "
1863 "computed and put in the Packages file. The checksums of all of the Packages "
1864 "files are then computed and put into the Release file. The Release file is "
1865 "then signed by the archive key for this Debian release, and distributed "
1866 "alongside the packages and the Packages files on Debian mirrors. The keys "
1867 "are in the Debian archive keyring available in the "
1868 "<package>debian-archive-keyring</package> package."
1869 msgstr ""
1870
1871 #. type: Content of: <refentry><refsect1><para>
1872 #: apt-secure.8.xml:113
1873 msgid ""
1874 "End users can check the signature of the Release file, extract a checksum of "
1875 "a package from it and compare it with the checksum of the package they "
1876 "downloaded by hand - or rely on APT doing this automatically."
1877 msgstr ""
1878
1879 #. type: Content of: <refentry><refsect1><para>
1880 #: apt-secure.8.xml:118
1881 msgid ""
1882 "Notice that this is distinct from checking signatures on a per package "
1883 "basis. It is designed to prevent two possible attacks:"
1884 msgstr ""
1885
1886 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1887 #: apt-secure.8.xml:123
1888 msgid ""
1889 "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
1890 "checking, malicious agents can introduce themselves into the package "
1891 "download process and provide malicious software either by controlling a "
1892 "network element (router, switch, etc.) or by redirecting traffic to a rogue "
1893 "server (through ARP or DNS spoofing attacks)."
1894 msgstr ""
1895
1896 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1897 #: apt-secure.8.xml:131
1898 msgid ""
1899 "<literal>Mirror network compromise</literal>. Without signature checking, a "
1900 "malicious agent can compromise a mirror host and modify the files in it to "
1901 "propagate malicious software to all users downloading packages from that "
1902 "host."
1903 msgstr ""
1904
1905 #. type: Content of: <refentry><refsect1><para>
1906 #: apt-secure.8.xml:138
1907 msgid ""
1908 "However, it does not defend against a compromise of the Debian master server "
1909 "itself (which signs the packages) or against a compromise of the key used to "
1910 "sign the Release files. In any case, this mechanism can complement a "
1911 "per-package signature."
1912 msgstr ""
1913
1914 #. type: Content of: <refentry><refsect1><title>
1915 #: apt-secure.8.xml:144
1916 msgid "User configuration"
1917 msgstr ""
1918
1919 #. type: Content of: <refentry><refsect1><para>
1920 #: apt-secure.8.xml:146
1921 msgid ""
1922 "<command>apt-key</command> is the program that manages the list of keys used "
1923 "by apt. It can be used to add or remove keys, although an installation of "
1924 "this release will automatically contain the default Debian archive signing "
1925 "keys used in the Debian package repositories."
1926 msgstr ""
1927
1928 #. type: Content of: <refentry><refsect1><para>
1929 #: apt-secure.8.xml:153
1930 msgid ""
1931 "In order to add a new key you need to first download it (you should make "
1932 "sure you are using a trusted communication channel when retrieving it), add "
1933 "it with <command>apt-key</command> and then run <command>apt-get "
1934 "update</command> so that apt can download and verify the "
1935 "<filename>InRelease</filename> or <filename>Release.gpg</filename> files "
1936 "from the archives you have configured."
1937 msgstr ""
1938
1939 #. type: Content of: <refentry><refsect1><title>
1940 #: apt-secure.8.xml:162
1941 msgid "Archive configuration"
1942 msgstr ""
1943
1944 #. type: Content of: <refentry><refsect1><para>
1945 #: apt-secure.8.xml:164
1946 msgid ""
1947 "If you want to provide archive signatures in an archive under your "
1948 "maintenance you have to:"
1949 msgstr ""
1950
1951 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1952 #: apt-secure.8.xml:169
1953 msgid ""
1954 "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
1955 "already. You can do this by running <command>apt-ftparchive "
1956 "release</command> (provided in apt-utils)."
1957 msgstr ""
1958
1959 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1960 #: apt-secure.8.xml:174
1961 msgid ""
1962 "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg "
1963 "--clearsign -o InRelease Release</command> and <command>gpg -abs -o "
1964 "Release.gpg Release</command>."
1965 msgstr ""
1966
1967 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1968 #: apt-secure.8.xml:178
1969 msgid ""
1970 "<emphasis>Publish the key fingerprint</emphasis>, that way your users will "
1971 "know what key they need to import in order to authenticate the files in the "
1972 "archive."
1973 msgstr ""
1974
1975 #. type: Content of: <refentry><refsect1><para>
1976 #: apt-secure.8.xml:185
1977 msgid ""
1978 "Whenever the contents of the archive change (new packages are added or "
1979 "removed) the archive maintainer has to follow the first two steps outlined "
1980 "above."
1981 msgstr ""
1982
1983 #. type: Content of: <refentry><refsect1><para>
1984 #: apt-secure.8.xml:193
1985 msgid ""
1986 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
1987 "&debsign; &debsig-verify;, &gpg;"
1988 msgstr ""
1989
1990 #. type: Content of: <refentry><refsect1><para>
1991 #: apt-secure.8.xml:197
1992 msgid ""
1993 "For more background information you might want to review the <ulink "
1994 "url=\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
1995 "Security Infrastructure</ulink> chapter of the Securing Debian Manual "
1996 "(available also in the harden-doc package) and the <ulink "
1997 "url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
1998 "Distribution HOWTO</ulink> by V. Alex Brennen."
1999 msgstr ""
2000
2001 #. type: Content of: <refentry><refsect1><title>
2002 #: apt-secure.8.xml:210
2003 msgid "Manpage Authors"
2004 msgstr ""
2005
2006 #. type: Content of: <refentry><refsect1><para>
2007 #: apt-secure.8.xml:212
2008 msgid ""
2009 "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
2010 "Jones, Colin Walters, Florian Weimer and Michael Vogt."
2011 msgstr ""
2012
2013 #. type: Content of: <refentry><refnamediv><refpurpose>
2014 #: apt-cdrom.8.xml:32
2015 msgid "APT CD-ROM management utility"
2016 msgstr ""
2017
2018 #. type: Content of: <refentry><refsect1><para>
2019 #: apt-cdrom.8.xml:38
2020 msgid ""
2021 "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
2022 "available sources. <command>apt-cdrom</command> takes care of determining "
2023 "the structure of the disc as well as correcting for several possible "
2024 "mis-burns and verifying the index files."
2025 msgstr ""
2026
2027 #. type: Content of: <refentry><refsect1><para>
2028 #: apt-cdrom.8.xml:45
2029 msgid ""
2030 "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
2031 "system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
2032 "must be inserted and scanned separately to account for possible mis-burns."
2033 msgstr ""
2034
2035 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2036 #: apt-cdrom.8.xml:56
2037 msgid ""
2038 "<literal>add</literal> is used to add a new disc to the source list. It will "
2039 "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
2040 "to scan it and copy the index files. If the disc does not have a proper "
2041 "<filename>.disk</filename> directory you will be prompted for a descriptive "
2042 "title."
2043 msgstr ""
2044
2045 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2046 #: apt-cdrom.8.xml:64
2047 msgid ""
2048 "APT uses a CD-ROM ID to track which disc is currently in the drive and "
2049 "maintains a database of these IDs in "
2050 "<filename>&statedir;/cdroms.list</filename>"
2051 msgstr ""
2052
2053 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2054 #: apt-cdrom.8.xml:72
2055 msgid ""
2056 "A debugging tool to report the identity of the current disc as well as the "
2057 "stored file name"
2058 msgstr ""
2059
2060 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2061 #: apt-cdrom.8.xml:85
2062 msgid ""
2063 "Mount point; specify the location to mount the CD-ROM. This mount point must "
2064 "be listed in <filename>/etc/fstab</filename> and properly configured. "
2065 "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
2066 msgstr ""
2067
2068 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2069 #: apt-cdrom.8.xml:94
2070 msgid ""
2071 "Rename a disc; change the label of a disc or override the disc's given "
2072 "label. This option will cause <command>apt-cdrom</command> to prompt for a "
2073 "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
2074 msgstr ""
2075
2076 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2077 #: apt-cdrom.8.xml:103
2078 msgid ""
2079 "No mounting; prevent <command>apt-cdrom</command> from mounting and "
2080 "unmounting the mount point. Configuration Item: "
2081 "<literal>APT::CDROM::NoMount</literal>."
2082 msgstr ""
2083
2084 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2085 #: apt-cdrom.8.xml:111
2086 msgid ""
2087 "Fast Copy; Assume the package files are valid and do not check every "
2088 "package. This option should be used only if <command>apt-cdrom</command> has "
2089 "been run on this disc before and did not detect any errors. Configuration "
2090 "Item: <literal>APT::CDROM::Fast</literal>."
2091 msgstr ""
2092
2093 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2094 #: apt-cdrom.8.xml:121
2095 msgid ""
2096 "Thorough Package Scan; This option may be needed with some old Debian "
2097 "1.1/1.2 discs that have Package files in strange places. It takes much "
2098 "longer to scan the CD but will pick them all up."
2099 msgstr ""
2100
2101 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2102 #: apt-cdrom.8.xml:132
2103 msgid ""
2104 "No Changes; Do not change the &sources-list; file and do not write index "
2105 "files. Everything is still checked however. Configuration Item: "
2106 "<literal>APT::CDROM::NoAct</literal>."
2107 msgstr ""
2108
2109 #. type: Content of: <refentry><refsect1><para>
2110 #: apt-cdrom.8.xml:145
2111 msgid "&apt-conf;, &apt-get;, &sources-list;"
2112 msgstr ""
2113
2114 #. type: Content of: <refentry><refsect1><para>
2115 #: apt-cdrom.8.xml:150
2116 msgid ""
2117 "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
2118 "on error."
2119 msgstr ""
2120
2121 #. type: Content of: <refentry><refnamediv><refpurpose>
2122 #: apt-config.8.xml:33
2123 msgid "APT Configuration Query program"
2124 msgstr ""
2125
2126 #. type: Content of: <refentry><refsect1><para>
2127 #: apt-config.8.xml:39
2128 msgid ""
2129 "<command>apt-config</command> is an internal program used by various "
2130 "portions of the APT suite to provide consistent configurability. It accesses "
2131 "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
2132 "manner that is easy to use for scripted applications."
2133 msgstr ""
2134
2135 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2136 #: apt-config.8.xml:51
2137 msgid ""
2138 "shell is used to access the configuration information from a shell "
2139 "script. It is given pairs of arguments, the first being a shell variable and "
2140 "the second the configuration value to query. As output it lists shell "
2141 "assignment commands for each value present. In a shell script it should be "
2142 "used as follows:"
2143 msgstr ""
2144
2145 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
2146 #: apt-config.8.xml:59
2147 #, no-wrap
2148 msgid ""
2149 "OPTS=\"-f\"\n"
2150 "RES=`apt-config shell OPTS MyApp::options`\n"
2151 "eval $RES\n"
2152 msgstr ""
2153
2154 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2155 #: apt-config.8.xml:64
2156 msgid ""
2157 "This will set the shell environment variable $OPTS to the value of "
2158 "MyApp::options with a default of <option>-f</option>."
2159 msgstr ""
2160
2161 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2162 #: apt-config.8.xml:68
2163 msgid ""
2164 "The configuration item may be postfixed with a /[fdbi]. f returns file "
2165 "names, d returns directories, b returns true or false and i returns an "
2166 "integer. Each of the returns is normalized and verified internally."
2167 msgstr ""
2168
2169 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2170 #: apt-config.8.xml:77
2171 msgid "Just show the contents of the configuration space."
2172 msgstr ""
2173
2174 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2175 #: apt-config.8.xml:90
2176 msgid ""
2177 "Include options which have an empty value. This is the default, so use "
2178 "--no-empty to remove them from the output."
2179 msgstr ""
2180
2181 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
2182 #: apt-config.8.xml:95
2183 msgid "&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n"
2184 msgstr ""
2185
2186 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2187 #: apt-config.8.xml:96
2188 msgid ""
2189 "Defines the output of each config option. &percnt;t will be replaced with "
2190 "its individual name, &percnt;f with its full hierarchical name and &percnt;v "
2191 "with its value. Use uppercase letters and special characters in the value "
2192 "will be encoded to ensure that it can e.g. be safely used in a quoted-string "
2193 "as defined by RFC822. Additionally &percnt;n will be replaced by a newline, "
2194 "and &percnt;N by a tab. A &percnt; can be printed by using &percnt;&percnt;."
2195 msgstr ""
2196
2197 #. type: Content of: <refentry><refsect1><para>
2198 #: apt-config.8.xml:110 apt-extracttemplates.1.xml:71 apt-sortpkgs.1.xml:64 apt-ftparchive.1.xml:608
2199 msgid "&apt-conf;"
2200 msgstr ""
2201
2202 #. type: Content of: <refentry><refsect1><para>
2203 #: apt-config.8.xml:115
2204 msgid ""
2205 "<command>apt-config</command> returns zero on normal operation, decimal 100 "
2206 "on error."
2207 msgstr ""
2208
2209 #. type: Content of: <refentry><refentryinfo><author><contrib>
2210 #: apt.conf.5.xml:20
2211 msgid "Initial documentation of Debug::*."
2212 msgstr ""
2213
2214 #. type: Content of: <refentry><refentryinfo><author><email>
2215 #: apt.conf.5.xml:21
2216 msgid "dburrows@debian.org"
2217 msgstr ""
2218
2219 #. type: Content of: <refentry><refmeta><manvolnum>
2220 #: apt.conf.5.xml:31 apt_preferences.5.xml:25 sources.list.5.xml:26
2221 msgid "5"
2222 msgstr ""
2223
2224 #. type: Content of: <refentry><refnamediv><refpurpose>
2225 #: apt.conf.5.xml:38
2226 msgid "Configuration file for APT"
2227 msgstr ""
2228
2229 #. type: Content of: <refentry><refsect1><para>
2230 #: apt.conf.5.xml:42
2231 msgid ""
2232 "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
2233 "by all the tools in the APT suite of tools, though it is by no means the "
2234 "only place options can be set. The suite also shares a common command line "
2235 "parser to provide a uniform environment."
2236 msgstr ""
2237
2238 #. type: Content of: <refentry><refsect1><orderedlist><para>
2239 #: apt.conf.5.xml:48
2240 msgid ""
2241 "When an APT tool starts up it will read the configuration files in the "
2242 "following order:"
2243 msgstr ""
2244
2245 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2246 #: apt.conf.5.xml:50
2247 msgid ""
2248 "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
2249 "any)"
2250 msgstr ""
2251
2252 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2253 #: apt.conf.5.xml:52
2254 msgid ""
2255 "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
2256 "order which have either no or \"<literal>conf</literal>\" as filename "
2257 "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
2258 "and period (.) characters. Otherwise APT will print a notice that it has "
2259 "ignored a file, unless that file matches a pattern in the "
2260 "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
2261 "case it will be silently ignored."
2262 msgstr ""
2263
2264 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2265 #: apt.conf.5.xml:59
2266 msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>"
2267 msgstr ""
2268
2269 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2270 #: apt.conf.5.xml:61
2271 msgid ""
2272 "the command line options are applied to override the configuration "
2273 "directives or to load even more configuration files."
2274 msgstr ""
2275
2276 #. type: Content of: <refentry><refsect1><title>
2277 #: apt.conf.5.xml:65
2278 msgid "Syntax"
2279 msgstr ""
2280
2281 #. type: Content of: <refentry><refsect1><para>
2282 #: apt.conf.5.xml:66
2283 msgid ""
2284 "The configuration file is organized in a tree with options organized into "
2285 "functional groups. Option specification is given with a double colon "
2286 "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
2287 "within the APT tool group, for the Get tool. Options do not inherit from "
2288 "their parent groups."
2289 msgstr ""
2290
2291 #. type: Content of: <refentry><refsect1><para>
2292 #: apt.conf.5.xml:72
2293 msgid ""
2294 "Syntactically the configuration language is modeled after what the ISC tools "
2295 "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
2296 "treated as comments (ignored), as well as all text between "
2297 "<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. "
2298 "Each line is of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. "
2299 "The quotation marks and trailing semicolon are required. The value must be "
2300 "on one line, and there is no kind of string concatenation. Values must not "
2301 "include backslashes or extra quotation marks. Option names are made up of "
2302 "alphanumeric characters and the characters \"/-:._+\". A new scope can be "
2303 "opened with curly braces, like this:"
2304 msgstr ""
2305
2306 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
2307 #: apt.conf.5.xml:85
2308 #, no-wrap
2309 msgid ""
2310 "APT {\n"
2311 " Get {\n"
2312 " Assume-Yes \"true\";\n"
2313 " Fix-Broken \"true\";\n"
2314 " };\n"
2315 "};\n"
2316 msgstr ""
2317
2318 #. type: Content of: <refentry><refsect1><para>
2319 #: apt.conf.5.xml:93
2320 msgid ""
2321 "with newlines placed to make it more readable. Lists can be created by "
2322 "opening a scope and including a single string enclosed in quotes followed by "
2323 "a semicolon. Multiple entries can be included, separated by a semicolon."
2324 msgstr ""
2325
2326 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
2327 #: apt.conf.5.xml:98
2328 #, no-wrap
2329 msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
2330 msgstr ""
2331
2332 #. type: Content of: <refentry><refsect1><para>
2333 #: apt.conf.5.xml:101
2334 msgid ""
2335 "In general the sample configuration file in "
2336 "<filename>&docdir;examples/apt.conf</filename> &configureindex; is a good "
2337 "guide for how it should look."
2338 msgstr ""
2339
2340 #. type: Content of: <refentry><refsect1><para>
2341 #: apt.conf.5.xml:105
2342 msgid ""
2343 "Case is not significant in names of configuration items, so in the previous "
2344 "example you could use <literal>dpkg::pre-install-pkgs</literal>."
2345 msgstr ""
2346
2347 #. type: Content of: <refentry><refsect1><para>
2348 #: apt.conf.5.xml:108
2349 msgid ""
2350 "Names for the configuration items are optional if a list is defined as can "
2351 "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
2352 "you don't specify a name a new entry will simply add a new option to the "
2353 "list. If you specify a name you can override the option in the same way as "
2354 "any other option by reassigning a new value to the option."
2355 msgstr ""
2356
2357 #. type: Content of: <refentry><refsect1><para>
2358 #: apt.conf.5.xml:113
2359 msgid ""
2360 "Two special commands are defined: <literal>#include</literal> (which is "
2361 "deprecated and not supported by alternative implementations) and "
2362 "<literal>#clear</literal>. <literal>#include</literal> will include the "
2363 "given file, unless the filename ends in a slash, in which case the whole "
2364 "directory is included. <literal>#clear</literal> is used to erase a part of "
2365 "the configuration tree. The specified element and all its descendants are "
2366 "erased. (Note that these lines also need to end with a semicolon.)"
2367 msgstr ""
2368
2369 #. type: Content of: <refentry><refsect1><para>
2370 #: apt.conf.5.xml:123
2371 msgid ""
2372 "The <literal>#clear</literal> command is the only way to delete a list or a "
2373 "complete scope. Reopening a scope (or using the syntax described below with "
2374 "an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
2375 "previously written entries. Options can only be overridden by addressing a "
2376 "new value to them - lists and scopes can't be overridden, only cleared."
2377 msgstr ""
2378
2379 #. type: Content of: <refentry><refsect1><para>
2380 #: apt.conf.5.xml:131
2381 msgid ""
2382 "All of the APT tools take an -o option which allows an arbitrary "
2383 "configuration directive to be specified on the command line. The syntax is a "
2384 "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
2385 "followed by an equals sign then the new value of the option. To append a new "
2386 "element to a list, add a trailing <literal>::</literal> to the name of the "
2387 "list. (As you might suspect, the scope syntax can't be used on the command "
2388 "line.)"
2389 msgstr ""
2390
2391 #. type: Content of: <refentry><refsect1><para>
2392 #: apt.conf.5.xml:139
2393 msgid ""
2394 "Note that appending items to a list using <literal>::</literal> only works "
2395 "for one item per line, and that you should not use it in combination with "
2396 "the scope syntax (which adds <literal>::</literal> implicitly). Using both "
2397 "syntaxes together will trigger a bug which some users unfortunately depend "
2398 "on: an option with the unusual name \"<literal>::</literal>\" which acts "
2399 "like every other option with a name. This introduces many problems; for one "
2400 "thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
2401 "syntax in the hope of appending to a list will achieve the opposite, as only "
2402 "the last assignment for this option \"<literal>::</literal>\" will be "
2403 "used. Future versions of APT will raise errors and stop working if they "
2404 "encounter this misuse, so please correct such statements now while APT "
2405 "doesn't explicitly complain about them."
2406 msgstr ""
2407
2408 #. type: Content of: <refentry><refsect1><title>
2409 #: apt.conf.5.xml:154
2410 msgid "The APT Group"
2411 msgstr ""
2412
2413 #. type: Content of: <refentry><refsect1><para>
2414 #: apt.conf.5.xml:155
2415 msgid ""
2416 "This group of options controls general APT behavior as well as holding the "
2417 "options for all of the tools."
2418 msgstr ""
2419
2420 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2421 #: apt.conf.5.xml:160
2422 msgid ""
2423 "System Architecture; sets the architecture to use when fetching files and "
2424 "parsing package lists. The internal default is the architecture apt was "
2425 "compiled for."
2426 msgstr ""
2427
2428 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2429 #: apt.conf.5.xml:167
2430 msgid ""
2431 "All Architectures the system supports. For instance, CPUs implementing the "
2432 "<literal>amd64</literal> (also called <literal>x86-64</literal>) "
2433 "instruction set are also able to execute binaries compiled for the "
2434 "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
2435 "is used when fetching files and parsing package lists. The initial default "
2436 "is always the system's native architecture "
2437 "(<literal>APT::Architecture</literal>), and foreign architectures are added "
2438 "to the default list when they are registered via <command>dpkg "
2439 "--add-architecture</command>."
2440 msgstr ""
2441
2442 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2443 #: apt.conf.5.xml:180
2444 msgid ""
2445 "Default release to install packages from if more than one version is "
2446 "available. Contains release name, codename or release version. Examples: "
2447 "'stable', 'testing', 'unstable', '&stable-codename;', '&testing-codename;', "
2448 "'4.0', '5.0*'. See also &apt-preferences;."
2449 msgstr ""
2450
2451 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2452 #: apt.conf.5.xml:186
2453 msgid ""
2454 "Ignore held packages; this global option causes the problem resolver to "
2455 "ignore held packages in its decision making."
2456 msgstr ""
2457
2458 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2459 #: apt.conf.5.xml:191
2460 msgid ""
2461 "Defaults to on. When turned on the autoclean feature will remove any "
2462 "packages which can no longer be downloaded from the cache. If turned off "
2463 "then packages that are locally installed are also excluded from cleaning - "
2464 "but note that APT provides no direct means to reinstall them."
2465 msgstr ""
2466
2467 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2468 #: apt.conf.5.xml:199
2469 msgid ""
2470 "Defaults to on, which will cause APT to install essential and important "
2471 "packages as soon as possible in an install/upgrade operation, in order to "
2472 "limit the effect of a failing &dpkg; call. If this option is disabled, APT "
2473 "treats an important package in the same way as an extra package: between the "
2474 "unpacking of the package A and its configuration there can be many other "
2475 "unpack or configuration calls for other unrelated packages B, C etc. If "
2476 "these cause the &dpkg; call to fail (e.g. because package B's maintainer "
2477 "scripts generate an error), this results in a system state in which package "
2478 "A is unpacked but unconfigured - so any package depending on A is now no "
2479 "longer guaranteed to work, as its dependency on A is no longer satisfied."
2480 msgstr ""
2481
2482 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2483 #: apt.conf.5.xml:211
2484 msgid ""
2485 "The immediate configuration marker is also applied in the potentially "
2486 "problematic case of circular dependencies, since a dependency with the "
2487 "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
2488 "to recognise a situation in which it is unable to perform immediate "
2489 "configuration, abort, and suggest to the user that the option should be "
2490 "temporarily deactivated in order to allow the operation to proceed. Note "
2491 "the use of the word \"theory\" here; in the real world this problem has "
2492 "rarely been encountered, in non-stable distribution versions, and was caused "
2493 "by wrong dependencies of the package in question or by a system in an "
2494 "already broken state; so you should not blindly disable this option, as the "
2495 "scenario mentioned above is not the only problem it can help to prevent in "
2496 "the first place."
2497 msgstr ""
2498
2499 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2500 #: apt.conf.5.xml:224
2501 msgid ""
2502 "Before a big operation like <literal>dist-upgrade</literal> is run with this "
2503 "option disabled you should try to explicitly <literal>install</literal> the "
2504 "package APT is unable to configure immediately; but please make sure you "
2505 "also report your problem to your distribution and to the APT team with the "
2506 "buglink below, so they can work on improving or correcting the upgrade "
2507 "process."
2508 msgstr ""
2509
2510 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2511 #: apt.conf.5.xml:235
2512 msgid ""
2513 "Never enable this option unless you <emphasis>really</emphasis> know what "
2514 "you are doing. It permits APT to temporarily remove an essential package to "
2515 "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
2516 "essential packages. <emphasis>Such a loop should never exist and is a grave "
2517 "bug</emphasis>. This option will work if the essential packages are not "
2518 "<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
2519 "<command>dpkg</command>, <command>dash</command> or anything that those "
2520 "packages depend on."
2521 msgstr ""
2522
2523 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2524 #: apt.conf.5.xml:247
2525 msgid ""
2526 "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
2527 "the available information. <literal>Cache-Start</literal> acts as a hint of "
2528 "the size the cache will grow to, and is therefore the amount of memory APT "
2529 "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
2530 "that this amount of space needs to be available for APT; otherwise it will "
2531 "likely fail ungracefully, so for memory restricted devices this value should "
2532 "be lowered while on systems with a lot of configured sources it should be "
2533 "increased. <literal>Cache-Grow</literal> defines in bytes with the default "
2534 "of 1048576 (~1 MB) how much the cache size will be increased in the event "
2535 "the space defined by <literal>Cache-Start</literal> is not enough. This "
2536 "value will be applied again and again until either the cache is big enough "
2537 "to store all information or the size of the cache reaches the "
2538 "<literal>Cache-Limit</literal>. The default of "
2539 "<literal>Cache-Limit</literal> is 0 which stands for no limit. If "
2540 "<literal>Cache-Grow</literal> is set to 0 the automatic growth of the cache "
2541 "is disabled."
2542 msgstr ""
2543
2544 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2545 #: apt.conf.5.xml:263
2546 msgid "Defines which packages are considered essential build dependencies."
2547 msgstr ""
2548
2549 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2550 #: apt.conf.5.xml:267
2551 msgid ""
2552 "The Get subsection controls the &apt-get; tool; please see its documentation "
2553 "for more information about the options here."
2554 msgstr ""
2555
2556 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2557 #: apt.conf.5.xml:272
2558 msgid ""
2559 "The Cache subsection controls the &apt-cache; tool; please see its "
2560 "documentation for more information about the options here."
2561 msgstr ""
2562
2563 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2564 #: apt.conf.5.xml:277
2565 msgid ""
2566 "The CDROM subsection controls the &apt-cdrom; tool; please see its "
2567 "documentation for more information about the options here."
2568 msgstr ""
2569
2570 #. type: Content of: <refentry><refsect1><title>
2571 #: apt.conf.5.xml:283
2572 msgid "The Acquire Group"
2573 msgstr ""
2574
2575 #. type: Content of: <refentry><refsect1><para>
2576 #: apt.conf.5.xml:284
2577 msgid ""
2578 "The <literal>Acquire</literal> group of options controls the download of "
2579 "packages as well as the various \"acquire methods\" responsible for the "
2580 "download itself (see also &sources-list;)."
2581 msgstr ""
2582
2583 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2584 #: apt.conf.5.xml:291
2585 msgid ""
2586 "Security related option defaulting to true, as giving a Release file's "
2587 "validation an expiration date prevents replay attacks over a long timescale, "
2588 "and can also for example help users to identify mirrors that are no longer "
2589 "updated - but the feature depends on the correctness of the clock on the "
2590 "user system. Archive maintainers are encouraged to create Release files with "
2591 "the <literal>Valid-Until</literal> header, but if they don't or a stricter "
2592 "value is desired the <literal>Max-ValidTime</literal> option below can be "
2593 "used."
2594 msgstr ""
2595
2596 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2597 #: apt.conf.5.xml:304
2598 msgid ""
2599 "Maximum time (in seconds) after its creation (as indicated by the "
2600 "<literal>Date</literal> header) that the <filename>Release</filename> file "
2601 "should be considered valid. If the Release file itself includes a "
2602 "<literal>Valid-Until</literal> header the earlier date of the two is used as "
2603 "the expiration date. The default value is <literal>0</literal> which stands "
2604 "for \"valid forever\". Archive specific settings can be made by appending "
2605 "the label of the archive to the option name."
2606 msgstr ""
2607
2608 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2609 #: apt.conf.5.xml:316
2610 msgid ""
2611 "Minimum time (in seconds) after its creation (as indicated by the "
2612 "<literal>Date</literal> header) that the <filename>Release</filename> file "
2613 "should be considered valid. Use this if you need to use a seldom updated "
2614 "(local) mirror of a more frequently updated archive with a "
2615 "<literal>Valid-Until</literal> header instead of completely disabling the "
2616 "expiration date checking. Archive specific settings can and should be used "
2617 "by appending the label of the archive to the option name."
2618 msgstr ""
2619
2620 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2621 #: apt.conf.5.xml:328
2622 msgid ""
2623 "Try to download deltas called <literal>PDiffs</literal> for indexes (like "
2624 "<filename>Packages</filename> files) instead of downloading whole ones. True "
2625 "by default."
2626 msgstr ""
2627
2628 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2629 #: apt.conf.5.xml:331
2630 msgid ""
2631 "Two sub-options to limit the use of PDiffs are also available: "
2632 "<literal>FileLimit</literal> can be used to specify a maximum number of "
2633 "PDiff files should be downloaded to update a "
2634 "file. <literal>SizeLimit</literal> on the other hand is the maximum "
2635 "percentage of the size of all patches compared to the size of the targeted "
2636 "file. If one of these limits is exceeded the complete file is downloaded "
2637 "instead of the patches."
2638 msgstr ""
2639
2640 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2641 #: apt.conf.5.xml:341
2642 msgid ""
2643 "Queuing mode; <literal>Queue-Mode</literal> can be one of "
2644 "<literal>host</literal> or <literal>access</literal> which determines how "
2645 "APT parallelizes outgoing connections. <literal>host</literal> means that "
2646 "one connection per target host will be opened, <literal>access</literal> "
2647 "means that one connection per URI type will be opened."
2648 msgstr ""
2649
2650 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2651 #: apt.conf.5.xml:349
2652 msgid ""
2653 "Number of retries to perform. If this is non-zero APT will retry failed "
2654 "files the given number of times."
2655 msgstr ""
2656
2657 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2658 #: apt.conf.5.xml:354
2659 msgid ""
2660 "Use symlinks for source archives. If set to true then source archives will "
2661 "be symlinked when possible instead of copying. True is the default."
2662 msgstr ""
2663
2664 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2665 #: apt.conf.5.xml:359
2666 msgid ""
2667 "<literal>http::Proxy</literal> sets the default proxy to use for HTTP "
2668 "URIs. It is in the standard form of "
2669 "<literal>http://[[user][:pass]@]host[:port]/</literal>. Per host proxies "
2670 "can also be specified by using the form "
2671 "<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
2672 "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
2673 "settings is specified, <envar>http_proxy</envar> environment variable will "
2674 "be used."
2675 msgstr ""
2676
2677 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2678 #: apt.conf.5.xml:367
2679 msgid ""
2680 "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
2681 "caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
2682 "response under any circumstances. <literal>Max-Age</literal> sets the "
2683 "allowed maximum age (in seconds) of an index file in the cache of the "
2684 "proxy. <literal>No-Store</literal> specifies that the proxy should not "
2685 "store the requested archive files in its cache, which can be used to prevent "
2686 "the proxy from polluting its cache with (big) .deb files."
2687 msgstr ""
2688
2689 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2690 #: apt.conf.5.xml:377 apt.conf.5.xml:449
2691 msgid ""
2692 "The option <literal>timeout</literal> sets the timeout timer used by the "
2693 "method; this value applies to the connection as well as the data timeout."
2694 msgstr ""
2695
2696 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2697 #: apt.conf.5.xml:380
2698 msgid ""
2699 "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
2700 "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial "
2701 "e.g. on high-latency connections. It specifies how many requests are sent in "
2702 "a pipeline. Previous APT versions had a default of 10 for this setting, but "
2703 "the default value is now 0 (= disabled) to avoid problems with the "
2704 "ever-growing amount of webservers and proxies which choose to not conform to "
2705 "the HTTP/1.1 specification."
2706 msgstr ""
2707
2708 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2709 #: apt.conf.5.xml:387
2710 msgid ""
2711 "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
2712 "follow redirects, which is enabled by default."
2713 msgstr ""
2714
2715 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2716 #: apt.conf.5.xml:390
2717 msgid ""
2718 "The used bandwidth can be limited with "
2719 "<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in "
2720 "kilobytes. The default value is 0 which deactivates the limit and tries to "
2721 "use all available bandwidth (note that this option implicitly disables "
2722 "downloading from multiple servers at the same time.)"
2723 msgstr ""
2724
2725 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2726 #: apt.conf.5.xml:395
2727 msgid ""
2728 "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
2729 "User-Agent for the http download method as some proxies allow access for "
2730 "clients only if the client uses a known identifier."
2731 msgstr ""
2732
2733 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2734 #: apt.conf.5.xml:403
2735 msgid ""
2736 "The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
2737 "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
2738 "<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
2739 "the <literal>http</literal> method, and default to the same values if they "
2740 "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
2741 "yet supported."
2742 msgstr ""
2743
2744 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2745 #: apt.conf.5.xml:411
2746 msgid ""
2747 "<literal>CaInfo</literal> suboption specifies place of file that holds info "
2748 "about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is the "
2749 "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
2750 "suboption determines whether or not the server's host certificate should be "
2751 "verified against trusted certificates. "
2752 "<literal>&lt;host&gt;::Verify-Peer</literal> is the corresponding per-host "
2753 "option. <literal>Verify-Host</literal> boolean suboption determines whether "
2754 "or not the server's hostname should be verified. "
2755 "<literal>&lt;host&gt;::Verify-Host</literal> is the corresponding per-host "
2756 "option. <literal>SslCert</literal> determines what certificate to use for "
2757 "client authentication. <literal>&lt;host&gt;::SslCert</literal> is the "
2758 "corresponding per-host option. <literal>SslKey</literal> determines what "
2759 "private key to use for client "
2760 "authentication. <literal>&lt;host&gt;::SslKey</literal> is the corresponding "
2761 "per-host option. <literal>SslForceVersion</literal> overrides default SSL "
2762 "version to use. It can contain either of the strings "
2763 "'<literal>TLSv1</literal>' or '<literal>SSLv3</literal>'. "
2764 "<literal>&lt;host&gt;::SslForceVersion</literal> is the corresponding "
2765 "per-host option."
2766 msgstr ""
2767
2768 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2769 #: apt.conf.5.xml:432
2770 msgid ""
2771 "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
2772 "It is in the standard form of "
2773 "<literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host proxies can "
2774 "also be specified by using the form "
2775 "<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
2776 "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
2777 "settings is specified, <envar>ftp_proxy</envar> environment variable will be "
2778 "used. To use an FTP proxy you will have to set the "
2779 "<literal>ftp::ProxyLogin</literal> script in the configuration file. This "
2780 "entry specifies the commands to send to tell the proxy server what to "
2781 "connect to. Please see &configureindex; for an example of how to do "
2782 "this. The substitution variables representing the corresponding URI "
2783 "component are <literal>$(PROXY_USER)</literal>, "
2784 "<literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, "
2785 "<literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal> and "
2786 "<literal>$(SITE_PORT)</literal>."
2787 msgstr ""
2788
2789 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2790 #: apt.conf.5.xml:452
2791 msgid ""
2792 "Several settings are provided to control passive mode. Generally it is safe "
2793 "to leave passive mode on; it works in nearly every environment. However, "
2794 "some situations require that passive mode be disabled and port mode FTP used "
2795 "instead. This can be done globally or for connections that go through a "
2796 "proxy or for a specific host (see the sample config file for examples)."
2797 msgstr ""
2798
2799 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2800 #: apt.conf.5.xml:459
2801 msgid ""
2802 "It is possible to proxy FTP over HTTP by setting the "
2803 "<envar>ftp_proxy</envar> environment variable to an HTTP URL - see the "
2804 "discussion of the http method above for syntax. You cannot set this in the "
2805 "configuration file and it is not recommended to use FTP over HTTP due to its "
2806 "low efficiency."
2807 msgstr ""
2808
2809 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2810 #: apt.conf.5.xml:464
2811 msgid ""
2812 "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
2813 "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
2814 "false, which means these commands are only used if the control connection is "
2815 "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
2816 "that most FTP servers do not support RFC2428."
2817 msgstr ""
2818
2819 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
2820 #: apt.conf.5.xml:478
2821 #, no-wrap
2822 msgid "/cdrom/::Mount \"foo\";"
2823 msgstr ""
2824
2825 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2826 #: apt.conf.5.xml:473
2827 msgid ""
2828 "For URIs using the <literal>cdrom</literal> method, the only configurable "
2829 "option is the mount point, <literal>cdrom::Mount</literal>, which must be "
2830 "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
2831 "<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
2832 "and unmount commands if your mount point cannot be listed in the fstab. The "
2833 "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
2834 "<literal>cdrom</literal> block. It is important to have the trailing slash. "
2835 "Unmount commands can be specified using UMount."
2836 msgstr ""
2837
2838 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2839 #: apt.conf.5.xml:486
2840 msgid ""
2841 "For GPGV URIs the only configurable option is "
2842 "<literal>gpgv::Options</literal>, which passes additional parameters to "
2843 "gpgv."
2844 msgstr ""
2845
2846 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
2847 #: apt.conf.5.xml:497
2848 #, no-wrap
2849 msgid ""
2850 "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> "
2851 "\"<replaceable>Methodname</replaceable>\";"
2852 msgstr ""
2853
2854 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2855 #: apt.conf.5.xml:492
2856 msgid ""
2857 "List of compression types which are understood by the acquire methods. "
2858 "Files like <filename>Packages</filename> can be available in various "
2859 "compression formats. By default the acquire methods can decompress "
2860 "<command>bzip2</command>, <command>lzma</command> and "
2861 "<command>gzip</command> compressed files; with this setting more formats can "
2862 "be added on the fly or the used method can be changed. The syntax for this "
2863 "is: <placeholder type=\"synopsis\" id=\"0\"/>"
2864 msgstr ""
2865
2866 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
2867 #: apt.conf.5.xml:502
2868 #, no-wrap
2869 msgid "Acquire::CompressionTypes::Order:: \"gz\";"
2870 msgstr ""
2871
2872 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
2873 #: apt.conf.5.xml:505
2874 #, no-wrap
2875 msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
2876 msgstr ""
2877
2878 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2879 #: apt.conf.5.xml:498
2880 msgid ""
2881 "Also, the <literal>Order</literal> subgroup can be used to define in which "
2882 "order the acquire system will try to download the compressed files. The "
2883 "acquire system will try the first and proceed with the next compression type "
2884 "in this list on error, so to prefer one over the other type simply add the "
2885 "preferred type first - default types not already added will be implicitly "
2886 "appended to the end of the list, so e.g. <placeholder type=\"synopsis\" "
2887 "id=\"0\"/> can be used to prefer <command>gzip</command> compressed files "
2888 "over <command>bzip2</command> and <command>lzma</command>. If "
2889 "<command>lzma</command> should be preferred over <command>gzip</command> and "
2890 "<command>bzip2</command> the configure setting should look like this: "
2891 "<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
2892 "<literal>bz2</literal> to the list explicitly as it will be added "
2893 "automatically."
2894 msgstr ""
2895
2896 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
2897 #: apt.conf.5.xml:512
2898 #, no-wrap
2899 msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
2900 msgstr ""
2901
2902 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2903 #: apt.conf.5.xml:507
2904 msgid ""
2905 "Note that the "
2906 "<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be "
2907 "checked at run time. If this option has been set, the method will only be "
2908 "used if this file exists; e.g. for the <literal>bzip2</literal> method (the "
2909 "inbuilt) setting is: <placeholder type=\"literallayout\" id=\"0\"/> Note "
2910 "also that list entries specified on the command line will be added at the "
2911 "end of the list specified in the configuration files, but before the default "
2912 "entries. To prefer a type in this case over the ones specified in the "
2913 "configuration files you can set the option direct - not in list style. This "
2914 "will not override the defined list; it will only prefix the list with this "
2915 "type."
2916 msgstr ""
2917
2918 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2919 #: apt.conf.5.xml:517
2920 msgid ""
2921 "The special type <literal>uncompressed</literal> can be used to give "
2922 "uncompressed files a preference, but note that most archives don't provide "
2923 "uncompressed files so this is mostly only useable for local mirrors."
2924 msgstr ""
2925
2926 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2927 #: apt.conf.5.xml:524
2928 msgid ""
2929 "When downloading <literal>gzip</literal> compressed indexes (Packages, "
2930 "Sources, or Translations), keep them gzip compressed locally instead of "
2931 "unpacking them. This saves quite a lot of disk space at the expense of more "
2932 "CPU requirements when building the local package caches. False by default."
2933 msgstr ""
2934
2935 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2936 #: apt.conf.5.xml:532
2937 msgid ""
2938 "The Languages subsection controls which <filename>Translation</filename> "
2939 "files are downloaded and in which order APT tries to display the "
2940 "description-translations. APT will try to display the first available "
2941 "description in the language which is listed first. Languages can be defined "
2942 "with their short or long language codes. Note that not all archives provide "
2943 "<filename>Translation</filename> files for every language - the long "
2944 "language codes are especially rare."
2945 msgstr ""
2946
2947 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
2948 #: apt.conf.5.xml:549
2949 #, no-wrap
2950 msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
2951 msgstr ""
2952
2953 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2954 #: apt.conf.5.xml:537
2955 msgid ""
2956 "The default list includes \"environment\" and "
2957 "\"en\". \"<literal>environment</literal>\" has a special meaning here: it "
2958 "will be replaced at runtime with the language codes extracted from the "
2959 "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
2960 "that these codes are not included twice in the list. If "
2961 "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
2962 "<filename>Translation-en</filename> file (if available) will be used. To "
2963 "force APT to use no Translation file use the setting "
2964 "<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is "
2965 "another special meaning code which will stop the search for a suitable "
2966 "<filename>Translation</filename> file. This tells APT to download these "
2967 "translations too, without actually using them unless the environment "
2968 "specifies the languages. So the following example configuration will result "
2969 "in the order \"en, de\" in an English locale or \"de, en\" in a German "
2970 "one. Note that \"fr\" is downloaded, but not used unless APT is used in a "
2971 "French locale (where the order would be \"fr, de, en\"). <placeholder "
2972 "type=\"programlisting\" id=\"0\"/>"
2973 msgstr ""
2974
2975 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2976 #: apt.conf.5.xml:550
2977 msgid ""
2978 "Note: To prevent problems resulting from APT being executed in different "
2979 "environments (e.g. by different users or by other programs) all Translation "
2980 "files which are found in <filename>/var/lib/apt/lists/</filename> will be "
2981 "added to the end of the list (after an implicit "
2982 "\"<literal>none</literal>\")."
2983 msgstr ""
2984
2985 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2986 #: apt.conf.5.xml:559
2987 msgid "When downloading, force to use only the IPv4 protocol."
2988 msgstr ""
2989
2990 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2991 #: apt.conf.5.xml:565
2992 msgid "When downloading, force to use only the IPv6 protocol."
2993 msgstr ""
2994
2995 #. type: Content of: <refentry><refsect1><title>
2996 #: apt.conf.5.xml:572
2997 msgid "Directories"
2998 msgstr ""
2999
3000 #. type: Content of: <refentry><refsect1><para>
3001 #: apt.conf.5.xml:574
3002 msgid ""
3003 "The <literal>Dir::State</literal> section has directories that pertain to "
3004 "local state information. <literal>lists</literal> is the directory to place "
3005 "downloaded package lists in and <literal>status</literal> is the name of the "
3006 "&dpkg; status file. <literal>preferences</literal> is the name of the APT "
3007 "<filename>preferences</filename> file. <literal>Dir::State</literal> "
3008 "contains the default directory to prefix on all sub-items if they do not "
3009 "start with <filename>/</filename> or <filename>./</filename>."
3010 msgstr ""
3011
3012 #. type: Content of: <refentry><refsect1><para>
3013 #: apt.conf.5.xml:581
3014 msgid ""
3015 "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
3016 "information, such as the two package caches <literal>srcpkgcache</literal> "
3017 "and <literal>pkgcache</literal> as well as the location to place downloaded "
3018 "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
3019 "be turned off by setting their names to the empty string. This will slow "
3020 "down startup but save disk space. It is probably preferable to turn off the "
3021 "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the "
3022 "default directory is contained in <literal>Dir::Cache</literal>"
3023 msgstr ""
3024
3025 #. type: Content of: <refentry><refsect1><para>
3026 #: apt.conf.5.xml:590
3027 msgid ""
3028 "<literal>Dir::Etc</literal> contains the location of configuration files, "
3029 "<literal>sourcelist</literal> gives the location of the sourcelist and "
3030 "<literal>main</literal> is the default configuration file (setting has no "
3031 "effect, unless it is done from the config file specified by "
3032 "<envar>APT_CONFIG</envar>)."
3033 msgstr ""
3034
3035 #. type: Content of: <refentry><refsect1><para>
3036 #: apt.conf.5.xml:596
3037 msgid ""
3038 "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
3039 "in lexical order from the directory specified. After this is done then the "
3040 "main config file is loaded."
3041 msgstr ""
3042
3043 #. type: Content of: <refentry><refsect1><para>
3044 #: apt.conf.5.xml:600
3045 msgid ""
3046 "Binary programs are pointed to by "
3047 "<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies "
3048 "the location of the method handlers and <literal>gzip</literal>, "
3049 "<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, "
3050 "<literal>apt-get</literal> <literal>dpkg-source</literal> "
3051 "<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> "
3052 "specify the location of the respective programs."
3053 msgstr ""
3054
3055 #. type: Content of: <refentry><refsect1><para>
3056 #: apt.conf.5.xml:608
3057 msgid ""
3058 "The configuration item <literal>RootDir</literal> has a special meaning. If "
3059 "set, all paths in <literal>Dir::</literal> will be relative to "
3060 "<literal>RootDir</literal>, <emphasis>even paths that are specified "
3061 "absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
3062 "set to <filename>/tmp/staging</filename> and "
3063 "<literal>Dir::State::status</literal> is set to "
3064 "<filename>/var/lib/dpkg/status</filename>, then the status file will be "
3065 "looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>."
3066 msgstr ""
3067
3068 #. type: Content of: <refentry><refsect1><para>
3069 #: apt.conf.5.xml:621
3070 msgid ""
3071 "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
3072 "which files APT should silently ignore while parsing the files in the "
3073 "fragment directories. Per default a file which end with "
3074 "<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> "
3075 "or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last "
3076 "default value these patterns can use regular expression syntax."
3077 msgstr ""
3078
3079 #. type: Content of: <refentry><refsect1><title>
3080 #: apt.conf.5.xml:630
3081 msgid "APT in DSelect"
3082 msgstr ""
3083
3084 #. type: Content of: <refentry><refsect1><para>
3085 #: apt.conf.5.xml:632
3086 msgid ""
3087 "When APT is used as a &dselect; method several configuration directives "
3088 "control the default behavior. These are in the <literal>DSelect</literal> "
3089 "section."
3090 msgstr ""
3091
3092 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3093 #: apt.conf.5.xml:637
3094 msgid ""
3095 "Cache Clean mode; this value may be one of <literal>always</literal>, "
3096 "<literal>prompt</literal>, <literal>auto</literal>, "
3097 "<literal>pre-auto</literal> and <literal>never</literal>. "
3098 "<literal>always</literal> and <literal>prompt</literal> will remove all "
3099 "packages from the cache after upgrading, <literal>prompt</literal> (the "
3100 "default) does so conditionally. <literal>auto</literal> removes only those "
3101 "packages which are no longer downloadable (replaced with a new version for "
3102 "instance). <literal>pre-auto</literal> performs this action before "
3103 "downloading new packages."
3104 msgstr ""
3105
3106 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3107 #: apt.conf.5.xml:651
3108 msgid ""
3109 "The contents of this variable are passed to &apt-get; as command line "
3110 "options when it is run for the install phase."
3111 msgstr ""
3112
3113 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3114 #: apt.conf.5.xml:656
3115 msgid ""
3116 "The contents of this variable are passed to &apt-get; as command line "
3117 "options when it is run for the update phase."
3118 msgstr ""
3119
3120 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3121 #: apt.conf.5.xml:661
3122 msgid ""
3123 "If true the [U]pdate operation in &dselect; will always prompt to continue. "
3124 "The default is to prompt only on error."
3125 msgstr ""
3126
3127 #. type: Content of: <refentry><refsect1><title>
3128 #: apt.conf.5.xml:667
3129 msgid "How APT calls &dpkg;"
3130 msgstr ""
3131
3132 #. type: Content of: <refentry><refsect1><para>
3133 #: apt.conf.5.xml:668
3134 msgid ""
3135 "Several configuration directives control how APT invokes &dpkg;. These are "
3136 "in the <literal>DPkg</literal> section."
3137 msgstr ""
3138
3139 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3140 #: apt.conf.5.xml:673
3141 msgid ""
3142 "This is a list of options to pass to &dpkg;. The options must be specified "
3143 "using the list notation and each list item is passed as a single argument to "
3144 "&dpkg;."
3145 msgstr ""
3146
3147 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3148 #: apt.conf.5.xml:679
3149 msgid ""
3150 "This is a list of shell commands to run before/after invoking &dpkg;. Like "
3151 "<literal>options</literal> this must be specified in list notation. The "
3152 "commands are invoked in order using <filename>/bin/sh</filename>; should any "
3153 "fail APT will abort."
3154 msgstr ""
3155
3156 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3157 #: apt.conf.5.xml:686
3158 msgid ""
3159 "This is a list of shell commands to run before invoking &dpkg;. Like "
3160 "<literal>options</literal> this must be specified in list notation. The "
3161 "commands are invoked in order using <filename>/bin/sh</filename>; should any "
3162 "fail APT will abort. APT will pass the filenames of all .deb files it is "
3163 "going to install to the commands, one per line on standard input."
3164 msgstr ""
3165
3166 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3167 #: apt.conf.5.xml:692
3168 msgid ""
3169 "Version 2 of this protocol dumps more information, including the protocol "
3170 "version, the APT configuration space and the packages, files and versions "
3171 "being changed. Version 2 is enabled by setting "
3172 "<literal>DPkg::Tools::options::cmd::Version</literal> to "
3173 "2. <literal>cmd</literal> is a command given to "
3174 "<literal>Pre-Install-Pkgs</literal>."
3175 msgstr ""
3176
3177 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3178 #: apt.conf.5.xml:700
3179 msgid ""
3180 "APT chdirs to this directory before invoking &dpkg;, the default is "
3181 "<filename>/</filename>."
3182 msgstr ""
3183
3184 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3185 #: apt.conf.5.xml:705
3186 msgid ""
3187 "These options are passed to &dpkg-buildpackage; when compiling packages; the "
3188 "default is to disable signing and produce all binaries."
3189 msgstr ""
3190
3191 #. type: Content of: <refentry><refsect1><refsect2><title>
3192 #: apt.conf.5.xml:710
3193 msgid "dpkg trigger usage (and related options)"
3194 msgstr ""
3195
3196 #. type: Content of: <refentry><refsect1><refsect2><para>
3197 #: apt.conf.5.xml:711
3198 msgid ""
3199 "APT can call &dpkg; in such a way as to let it make aggressive use of "
3200 "triggers over multiple calls of &dpkg;. Without further options &dpkg; will "
3201 "use triggers once each time it runs. Activating these options can therefore "
3202 "decrease the time needed to perform the install or upgrade. Note that it is "
3203 "intended to activate these options per default in the future, but as it "
3204 "drastically changes the way APT calls &dpkg; it needs a lot more testing. "
3205 "<emphasis>These options are therefore currently experimental and should not "
3206 "be used in production environments.</emphasis> It also breaks progress "
3207 "reporting such that all front-ends will currently stay around half (or more) "
3208 "of the time in the 100% state while it actually configures all packages."
3209 msgstr ""
3210
3211 #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
3212 #: apt.conf.5.xml:726
3213 #, no-wrap
3214 msgid ""
3215 "DPkg::NoTriggers \"true\";\n"
3216 "PackageManager::Configure \"smart\";\n"
3217 "DPkg::ConfigurePending \"true\";\n"
3218 "DPkg::TriggersPending \"true\";"
3219 msgstr ""
3220
3221 #. type: Content of: <refentry><refsect1><refsect2><para>
3222 #: apt.conf.5.xml:720
3223 msgid ""
3224 "Note that it is not guaranteed that APT will support these options or that "
3225 "these options will not cause (big) trouble in the future. If you have "
3226 "understand the current risks and problems with these options, but are brave "
3227 "enough to help testing them, create a new configuration file and test a "
3228 "combination of options. Please report any bugs, problems and improvements "
3229 "you encounter and make sure to note which options you have used in your "
3230 "reports. Asking &dpkg; for help could also be useful for debugging proposes, "
3231 "see e.g. <command>dpkg --audit</command>. A defensive option combination "
3232 "would be <placeholder type=\"literallayout\" id=\"0\"/>"
3233 msgstr ""
3234
3235 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3236 #: apt.conf.5.xml:733
3237 msgid ""
3238 "Add the no triggers flag to all &dpkg; calls (except the ConfigurePending "
3239 "call). See &dpkg; if you are interested in what this actually means. In "
3240 "short: &dpkg; will not run the triggers when this flag is present unless it "
3241 "is explicitly called to do so in an extra call. Note that this option "
3242 "exists (undocumented) also in older APT versions with a slightly different "
3243 "meaning: Previously these option only append --no-triggers to the configure "
3244 "calls to &dpkg; - now APT will also add this flag to the unpack and remove "
3245 "calls."
3246 msgstr ""
3247
3248 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3249 #: apt.conf.5.xml:741
3250 msgid ""
3251 "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
3252 "and \"<literal>no</literal>\". The default value is "
3253 "\"<literal>all</literal>\", which causes APT to configure all packages. The "
3254 "\"<literal>smart</literal>\" way is to configure only packages which need to "
3255 "be configured before another package can be unpacked (Pre-Depends), and let "
3256 "the rest be configured by &dpkg; with a call generated by the "
3257 "ConfigurePending option (see below). On the other hand, "
3258 "\"<literal>no</literal>\" will not configure anything, and totally relies on "
3259 "&dpkg; for configuration (which at the moment will fail if a Pre-Depends is "
3260 "encountered). Setting this option to any value other than "
3261 "<literal>all</literal> will implicitly also activate the next option by "
3262 "default, as otherwise the system could end in an unconfigured and "
3263 "potentially unbootable state."
3264 msgstr ""
3265
3266 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3267 #: apt.conf.5.xml:756
3268 msgid ""
3269 "If this option is set APT will call <command>dpkg --configure "
3270 "--pending</command> to let &dpkg; handle all required configurations and "
3271 "triggers. This option is activated automatically per default if the previous "
3272 "option is not set to <literal>all</literal>, but deactivating it could be "
3273 "useful if you want to run APT multiple times in a row - e.g. in an "
3274 "installer. In these sceneries you could deactivate this option in all but "
3275 "the last run."
3276 msgstr ""
3277
3278 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3279 #: apt.conf.5.xml:763
3280 msgid ""
3281 "Useful for the <literal>smart</literal> configuration as a package which has "
3282 "pending triggers is not considered as <literal>installed</literal>, and "
3283 "&dpkg; treats them as <literal>unpacked</literal> currently which is a "
3284 "showstopper for Pre-Dependencies (see debbugs #526774). Note that this will "
3285 "process all triggers, not only the triggers needed to configure this "
3286 "package."
3287 msgstr ""
3288
3289 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
3290 #: apt.conf.5.xml:776
3291 #, no-wrap
3292 msgid ""
3293 "OrderList::Score {\n"
3294 "\tDelete 500;\n"
3295 "\tEssential 200;\n"
3296 "\tImmediate 10;\n"
3297 "\tPreDepends 50;\n"
3298 "};"
3299 msgstr ""
3300
3301 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3302 #: apt.conf.5.xml:769
3303 msgid ""
3304 "Essential packages (and their dependencies) should be configured immediately "
3305 "after unpacking. It is a good idea to do this quite early in the upgrade "
3306 "process as these configure calls also currently require "
3307 "<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
3308 "(which may not be needed). Essentials get per default a high score but the "
3309 "immediate flag is relatively low (a package which has a Pre-Depends is rated "
3310 "higher). These option and the others in the same group can be used to "
3311 "change the scoring. The following example shows the settings with their "
3312 "default values. <placeholder type=\"literallayout\" id=\"0\"/>"
3313 msgstr ""
3314
3315 #. type: Content of: <refentry><refsect1><title>
3316 #: apt.conf.5.xml:789
3317 msgid "Periodic and Archives options"
3318 msgstr ""
3319
3320 #. type: Content of: <refentry><refsect1><para>
3321 #: apt.conf.5.xml:790
3322 msgid ""
3323 "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
3324 "of options configure behavior of apt periodic updates, which is done by the "
3325 "<literal>/etc/cron.daily/apt</literal> script. See the top of this script "
3326 "for the brief documentation of these options."
3327 msgstr ""
3328
3329 #. type: Content of: <refentry><refsect1><title>
3330 #: apt.conf.5.xml:798
3331 msgid "Debug options"
3332 msgstr ""
3333
3334 #. type: Content of: <refentry><refsect1><para>
3335 #: apt.conf.5.xml:800
3336 msgid ""
3337 "Enabling options in the <literal>Debug::</literal> section will cause "
3338 "debugging information to be sent to the standard error stream of the program "
3339 "utilizing the <literal>apt</literal> libraries, or enable special program "
3340 "modes that are primarily useful for debugging the behavior of "
3341 "<literal>apt</literal>. Most of these options are not interesting to a "
3342 "normal user, but a few may be:"
3343 msgstr ""
3344
3345 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3346 #: apt.conf.5.xml:811
3347 msgid ""
3348 "<literal>Debug::pkgProblemResolver</literal> enables output about the "
3349 "decisions made by <literal>dist-upgrade, upgrade, install, remove, "
3350 "purge</literal>."
3351 msgstr ""
3352
3353 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3354 #: apt.conf.5.xml:819
3355 msgid ""
3356 "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
3357 "used to run some operations (for instance, <literal>apt-get -s "
3358 "install</literal>) as a non-root user."
3359 msgstr ""
3360
3361 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3362 #: apt.conf.5.xml:828
3363 msgid ""
3364 "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
3365 "time that <literal>apt</literal> invokes &dpkg;."
3366 msgstr ""
3367
3368 #. TODO: provide a
3369 #. motivating example, except I haven't a clue why you'd want
3370 #. to do this.
3371 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3372 #: apt.conf.5.xml:836
3373 msgid ""
3374 "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
3375 "in CD-ROM IDs."
3376 msgstr ""
3377
3378 #. type: Content of: <refentry><refsect1><para>
3379 #: apt.conf.5.xml:846
3380 msgid "A full list of debugging options to apt follows."
3381 msgstr ""
3382
3383 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3384 #: apt.conf.5.xml:855
3385 msgid "Print information related to accessing <literal>cdrom://</literal> sources."
3386 msgstr ""
3387
3388 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3389 #: apt.conf.5.xml:866
3390 msgid "Print information related to downloading packages using FTP."
3391 msgstr ""
3392
3393 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3394 #: apt.conf.5.xml:877
3395 msgid "Print information related to downloading packages using HTTP."
3396 msgstr ""
3397
3398 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3399 #: apt.conf.5.xml:888
3400 msgid "Print information related to downloading packages using HTTPS."
3401 msgstr ""
3402
3403 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3404 #: apt.conf.5.xml:899
3405 msgid ""
3406 "Print information related to verifying cryptographic signatures using "
3407 "<literal>gpg</literal>."
3408 msgstr ""
3409
3410 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3411 #: apt.conf.5.xml:910
3412 msgid ""
3413 "Output information about the process of accessing collections of packages "
3414 "stored on CD-ROMs."
3415 msgstr ""
3416
3417 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3418 #: apt.conf.5.xml:920
3419 msgid "Describes the process of resolving build-dependencies in &apt-get;."
3420 msgstr ""
3421
3422 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3423 #: apt.conf.5.xml:930
3424 msgid ""
3425 "Output each cryptographic hash that is generated by the "
3426 "<literal>apt</literal> libraries."
3427 msgstr ""
3428
3429 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3430 #: apt.conf.5.xml:940
3431 msgid ""
3432 "Do not include information from <literal>statfs</literal>, namely the number "
3433 "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
3434 "a CD-ROM."
3435 msgstr ""
3436
3437 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3438 #: apt.conf.5.xml:951
3439 msgid ""
3440 "Disable all file locking. For instance, this will allow two instances of "
3441 "<quote><literal>apt-get update</literal></quote> to run at the same time."
3442 msgstr ""
3443
3444 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3445 #: apt.conf.5.xml:963
3446 msgid "Log when items are added to or removed from the global download queue."
3447 msgstr ""
3448
3449 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3450 #: apt.conf.5.xml:973
3451 msgid ""
3452 "Output status messages and errors related to verifying checksums and "
3453 "cryptographic signatures of downloaded files."
3454 msgstr ""
3455
3456 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3457 #: apt.conf.5.xml:983
3458 msgid ""
3459 "Output information about downloading and applying package index list diffs, "
3460 "and errors relating to package index list diffs."
3461 msgstr ""
3462
3463 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3464 #: apt.conf.5.xml:995
3465 msgid ""
3466 "Output information related to patching apt package lists when downloading "
3467 "index diffs instead of full indices."
3468 msgstr ""
3469
3470 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3471 #: apt.conf.5.xml:1006
3472 msgid "Log all interactions with the sub-processes that actually perform downloads."
3473 msgstr ""
3474
3475 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3476 #: apt.conf.5.xml:1017
3477 msgid ""
3478 "Log events related to the automatically-installed status of packages and to "
3479 "the removal of unused packages."
3480 msgstr ""
3481
3482 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3483 #: apt.conf.5.xml:1027
3484 msgid ""
3485 "Generate debug messages describing which packages are being automatically "
3486 "installed to resolve dependencies. This corresponds to the initial "
3487 "auto-install pass performed in, e.g., <literal>apt-get install</literal>, "
3488 "and not to the full <literal>apt</literal> dependency resolver; see "
3489 "<literal>Debug::pkgProblemResolver</literal> for that."
3490 msgstr ""
3491
3492 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3493 #: apt.conf.5.xml:1041
3494 msgid ""
3495 "Generate debug messages describing which packages are marked as "
3496 "keep/install/remove while the ProblemResolver does his work. Each addition "
3497 "or deletion may trigger additional actions; they are shown indented two "
3498 "additional spaces under the original entry. The format for each line is "
3499 "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
3500 "<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c "
3501 "-&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> "
3502 "is the current version of the package, <literal>d.e.f</literal> is the "
3503 "version considered for installation and <literal>x.y.z</literal> is a newer "
3504 "version, but not considered for installation (because of a low pin "
3505 "score). The later two can be omitted if there is none or if it is the same "
3506 "as the installed version. <literal>section</literal> is the name of the "
3507 "section the package appears in."
3508 msgstr ""
3509
3510 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3511 #: apt.conf.5.xml:1062
3512 msgid ""
3513 "When invoking &dpkg;, output the precise command line with which it is being "
3514 "invoked, with arguments separated by a single space character."
3515 msgstr ""
3516
3517 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3518 #: apt.conf.5.xml:1073
3519 msgid ""
3520 "Output all the data received from &dpkg; on the status file descriptor and "
3521 "any errors encountered while parsing it."
3522 msgstr ""
3523
3524 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3525 #: apt.conf.5.xml:1084
3526 msgid ""
3527 "Generate a trace of the algorithm that decides the order in which "
3528 "<literal>apt</literal> should pass packages to &dpkg;."
3529 msgstr ""
3530
3531 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3532 #: apt.conf.5.xml:1096
3533 msgid "Output status messages tracing the steps performed when invoking &dpkg;."
3534 msgstr ""
3535
3536 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3537 #: apt.conf.5.xml:1107
3538 msgid "Output the priority of each package list on startup."
3539 msgstr ""
3540
3541 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3542 #: apt.conf.5.xml:1117
3543 msgid ""
3544 "Trace the execution of the dependency resolver (this applies only to what "
3545 "happens when a complex dependency problem is encountered)."
3546 msgstr ""
3547
3548 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3549 #: apt.conf.5.xml:1128
3550 msgid ""
3551 "Display a list of all installed packages with their calculated score used by "
3552 "the pkgProblemResolver. The description of the package is the same as "
3553 "described in <literal>Debug::pkgDepCache::Marker</literal>"
3554 msgstr ""
3555
3556 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3557 #: apt.conf.5.xml:1140
3558 msgid ""
3559 "Print information about the vendors read from "
3560 "<filename>/etc/apt/vendors.list</filename>."
3561 msgstr ""
3562
3563 #. type: Content of: <refentry><refsect1><title>
3564 #: apt.conf.5.xml:1162 apt_preferences.5.xml:545 sources.list.5.xml:211 apt-ftparchive.1.xml:596
3565 msgid "Examples"
3566 msgstr ""
3567
3568 #. type: Content of: <refentry><refsect1><para>
3569 #: apt.conf.5.xml:1163
3570 msgid ""
3571 "&configureindex; is a configuration file showing example values for all "
3572 "possible options."
3573 msgstr ""
3574
3575 #. ? reading apt.conf
3576 #. type: Content of: <refentry><refsect1><para>
3577 #: apt.conf.5.xml:1175
3578 msgid "&apt-cache;, &apt-config;, &apt-preferences;."
3579 msgstr ""
3580
3581 #. type: Content of: <refentry><refnamediv><refpurpose>
3582 #: apt_preferences.5.xml:32
3583 msgid "Preference control file for APT"
3584 msgstr ""
3585
3586 #. type: Content of: <refentry><refsect1><para>
3587 #: apt_preferences.5.xml:37
3588 msgid ""
3589 "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
3590 "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
3591 "can be used to control which versions of packages will be selected for "
3592 "installation."
3593 msgstr ""
3594
3595 #. type: Content of: <refentry><refsect1><para>
3596 #: apt_preferences.5.xml:42
3597 msgid ""
3598 "Several versions of a package may be available for installation when the "
3599 "&sources-list; file contains references to more than one distribution (for "
3600 "example, <literal>stable</literal> and <literal>testing</literal>). APT "
3601 "assigns a priority to each version that is available. Subject to dependency "
3602 "constraints, <command>apt-get</command> selects the version with the highest "
3603 "priority for installation. The APT preferences override the priorities that "
3604 "APT assigns to package versions by default, thus giving the user control "
3605 "over which one is selected for installation."
3606 msgstr ""
3607
3608 #. type: Content of: <refentry><refsect1><para>
3609 #: apt_preferences.5.xml:52
3610 msgid ""
3611 "Several instances of the same version of a package may be available when the "
3612 "&sources-list; file contains references to more than one source. In this "
3613 "case <command>apt-get</command> downloads the instance listed earliest in "
3614 "the &sources-list; file. The APT preferences do not affect the choice of "
3615 "instance, only the choice of version."
3616 msgstr ""
3617
3618 #. type: Content of: <refentry><refsect1><para>
3619 #: apt_preferences.5.xml:59
3620 msgid ""
3621 "Preferences are a strong power in the hands of a system administrator but "
3622 "they can become also their biggest nightmare if used without care! APT will "
3623 "not question the preferences, so wrong settings can lead to uninstallable "
3624 "packages or wrong decisions while upgrading packages. Even more problems "
3625 "will arise if multiple distribution releases are mixed without a good "
3626 "understanding of the following paragraphs. Packages included in a specific "
3627 "release aren't tested in (and therefore don't always work as expected in) "
3628 "older or newer releases, or together with other packages from different "
3629 "releases. You have been warned."
3630 msgstr ""
3631
3632 #. type: Content of: <refentry><refsect1><para>
3633 #: apt_preferences.5.xml:70
3634 msgid ""
3635 "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
3636 "directory are parsed in alphanumeric ascending order and need to obey the "
3637 "following naming convention: The files have either no or "
3638 "\"<literal>pref</literal>\" as filename extension and only contain "
3639 "alphanumeric, hyphen (-), underscore (_) and period (.) characters. "
3640 "Otherwise APT will print a notice that it has ignored a file, unless that "
3641 "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
3642 "configuration list - in which case it will be silently ignored."
3643 msgstr ""
3644
3645 #. type: Content of: <refentry><refsect1><refsect2><title>
3646 #: apt_preferences.5.xml:79
3647 msgid "APT's Default Priority Assignments"
3648 msgstr ""
3649
3650 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
3651 #: apt_preferences.5.xml:94
3652 #, no-wrap
3653 msgid ""
3654 "<command>apt-get install -t testing "
3655 "<replaceable>some-package</replaceable></command>\n"
3656 msgstr ""
3657
3658 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
3659 #: apt_preferences.5.xml:97
3660 #, no-wrap
3661 msgid "APT::Default-Release \"stable\";\n"
3662 msgstr ""
3663
3664 #. type: Content of: <refentry><refsect1><refsect2><para>
3665 #: apt_preferences.5.xml:81
3666 msgid ""
3667 "If there is no preferences file or if there is no entry in the file that "
3668 "applies to a particular version then the priority assigned to that version "
3669 "is the priority of the distribution to which that version belongs. It is "
3670 "possible to single out a distribution, \"the target release\", which "
3671 "receives a higher priority than other distributions do by default. The "
3672 "target release can be set on the <command>apt-get</command> command line or "
3673 "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
3674 "that this has precedence over any general priority you set in the "
3675 "<filename>/etc/apt/preferences</filename> file described later, but not over "
3676 "specifically pinned packages. For example, <placeholder "
3677 "type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" "
3678 "id=\"1\"/>"
3679 msgstr ""
3680
3681 #. type: Content of: <refentry><refsect1><refsect2><para>
3682 #: apt_preferences.5.xml:101
3683 msgid ""
3684 "If the target release has been specified then APT uses the following "
3685 "algorithm to set the priorities of the versions of a package. Assign:"
3686 msgstr ""
3687
3688 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3689 #: apt_preferences.5.xml:106
3690 msgid "priority 1"
3691 msgstr ""
3692
3693 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3694 #: apt_preferences.5.xml:107
3695 msgid ""
3696 "to the versions coming from archives which in their "
3697 "<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but "
3698 "<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
3699 "<literal>experimental</literal> archive."
3700 msgstr ""
3701
3702 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3703 #: apt_preferences.5.xml:113
3704 msgid "priority 100"
3705 msgstr ""
3706
3707 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3708 #: apt_preferences.5.xml:114
3709 msgid ""
3710 "to the version that is already installed (if any) and to the versions coming "
3711 "from archives which in their <filename>Release</filename> files are marked "
3712 "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
3713 "backports archive since <literal>squeeze-backports</literal>."
3714 msgstr ""
3715
3716 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3717 #: apt_preferences.5.xml:121
3718 msgid "priority 500"
3719 msgstr ""
3720
3721 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3722 #: apt_preferences.5.xml:122
3723 msgid ""
3724 "to the versions that are not installed and do not belong to the target "
3725 "release."
3726 msgstr ""
3727
3728 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3729 #: apt_preferences.5.xml:126
3730 msgid "priority 990"
3731 msgstr ""
3732
3733 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3734 #: apt_preferences.5.xml:127
3735 msgid "to the versions that are not installed and belong to the target release."
3736 msgstr ""
3737
3738 #. type: Content of: <refentry><refsect1><refsect2><para>
3739 #: apt_preferences.5.xml:132
3740 msgid ""
3741 "If the target release has not been specified then APT simply assigns "
3742 "priority 100 to all installed package versions and priority 500 to all "
3743 "uninstalled package versions, except versions coming from archives which in "
3744 "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
3745 "- these versions get the priority 1 or priority 100 if it is additionally "
3746 "marked as \"ButAutomaticUpgrades: yes\"."
3747 msgstr ""
3748
3749 #. type: Content of: <refentry><refsect1><refsect2><para>
3750 #: apt_preferences.5.xml:139
3751 msgid ""
3752 "APT then applies the following rules, listed in order of precedence, to "
3753 "determine which version of a package to install."
3754 msgstr ""
3755
3756 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3757 #: apt_preferences.5.xml:142
3758 msgid ""
3759 "Never downgrade unless the priority of an available version exceeds 1000. "
3760 "(\"Downgrading\" is installing a less recent version of a package in place "
3761 "of a more recent version. Note that none of APT's default priorities "
3762 "exceeds 1000; such high priorities can only be set in the preferences file. "
3763 "Note also that downgrading a package can be risky.)"
3764 msgstr ""
3765
3766 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3767 #: apt_preferences.5.xml:148
3768 msgid "Install the highest priority version."
3769 msgstr ""
3770
3771 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3772 #: apt_preferences.5.xml:149
3773 msgid ""
3774 "If two or more versions have the same priority, install the most recent one "
3775 "(that is, the one with the higher version number)."
3776 msgstr ""
3777
3778 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3779 #: apt_preferences.5.xml:152
3780 msgid ""
3781 "If two or more versions have the same priority and version number but either "
3782 "the packages differ in some of their metadata or the "
3783 "<literal>--reinstall</literal> option is given, install the uninstalled one."
3784 msgstr ""
3785
3786 #. type: Content of: <refentry><refsect1><refsect2><para>
3787 #: apt_preferences.5.xml:158
3788 msgid ""
3789 "In a typical situation, the installed version of a package (priority 100) "
3790 "is not as recent as one of the versions available from the sources listed in "
3791 "the &sources-list; file (priority 500 or 990). Then the package will be "
3792 "upgraded when <command>apt-get install "
3793 "<replaceable>some-package</replaceable></command> or <command>apt-get "
3794 "upgrade</command> is executed."
3795 msgstr ""
3796
3797 #. type: Content of: <refentry><refsect1><refsect2><para>
3798 #: apt_preferences.5.xml:165
3799 msgid ""
3800 "More rarely, the installed version of a package is <emphasis>more</emphasis> "
3801 "recent than any of the other available versions. The package will not be "
3802 "downgraded when <command>apt-get install "
3803 "<replaceable>some-package</replaceable></command> or <command>apt-get "
3804 "upgrade</command> is executed."
3805 msgstr ""
3806
3807 #. type: Content of: <refentry><refsect1><refsect2><para>
3808 #: apt_preferences.5.xml:170
3809 msgid ""
3810 "Sometimes the installed version of a package is more recent than the version "
3811 "belonging to the target release, but not as recent as a version belonging to "
3812 "some other distribution. Such a package will indeed be upgraded when "
3813 "<command>apt-get install <replaceable>some-package</replaceable></command> "
3814 "or <command>apt-get upgrade</command> is executed, because at least "
3815 "<emphasis>one</emphasis> of the available versions has a higher priority "
3816 "than the installed version."
3817 msgstr ""
3818
3819 #. type: Content of: <refentry><refsect1><refsect2><title>
3820 #: apt_preferences.5.xml:179
3821 msgid "The Effect of APT Preferences"
3822 msgstr ""
3823
3824 #. type: Content of: <refentry><refsect1><refsect2><para>
3825 #: apt_preferences.5.xml:181
3826 msgid ""
3827 "The APT preferences file allows the system administrator to control the "
3828 "assignment of priorities. The file consists of one or more multi-line "
3829 "records separated by blank lines. Records can have one of two forms, a "
3830 "specific form and a general form."
3831 msgstr ""
3832
3833 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3834 #: apt_preferences.5.xml:187
3835 msgid ""
3836 "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
3837 "specified packages with a specified version or version range. For example, "
3838 "the following record assigns a high priority to all versions of the "
3839 "<filename>perl</filename> package whose version number begins with "
3840 "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
3841 "spaces."
3842 msgstr ""
3843
3844 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3845 #: apt_preferences.5.xml:194
3846 #, no-wrap
3847 msgid ""
3848 "Package: perl\n"
3849 "Pin: version &good-perl;*\n"
3850 "Pin-Priority: 1001\n"
3851 msgstr ""
3852
3853 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3854 #: apt_preferences.5.xml:200
3855 msgid ""
3856 "The general form assigns a priority to all of the package versions in a "
3857 "given distribution (that is, to all the versions of packages that are listed "
3858 "in a certain <filename>Release</filename> file) or to all of the package "
3859 "versions coming from a particular Internet site, as identified by the site's "
3860 "fully qualified domain name."
3861 msgstr ""
3862
3863 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3864 #: apt_preferences.5.xml:206
3865 msgid ""
3866 "This general-form entry in the APT preferences file applies only to groups "
3867 "of packages. For example, the following record assigns a high priority to "
3868 "all package versions available from the local site."
3869 msgstr ""
3870
3871 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3872 #: apt_preferences.5.xml:211
3873 #, no-wrap
3874 msgid ""
3875 "Package: *\n"
3876 "Pin: origin \"\"\n"
3877 "Pin-Priority: 999\n"
3878 msgstr ""
3879
3880 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3881 #: apt_preferences.5.xml:216
3882 msgid ""
3883 "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
3884 "which can be used to match a hostname. The following record will assign a "
3885 "high priority to all versions available from the server identified by the "
3886 "hostname \"ftp.de.debian.org\""
3887 msgstr ""
3888
3889 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3890 #: apt_preferences.5.xml:220
3891 #, no-wrap
3892 msgid ""
3893 "Package: *\n"
3894 "Pin: origin \"ftp.de.debian.org\"\n"
3895 "Pin-Priority: 999\n"
3896 msgstr ""
3897
3898 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3899 #: apt_preferences.5.xml:224
3900 msgid ""
3901 "This should <emphasis>not</emphasis> be confused with the Origin of a "
3902 "distribution as specified in a <filename>Release</filename> file. What "
3903 "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
3904 "Internet address but an author or vendor name, such as \"Debian\" or "
3905 "\"Ximian\"."
3906 msgstr ""
3907
3908 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3909 #: apt_preferences.5.xml:229
3910 msgid ""
3911 "The following record assigns a low priority to all package versions "
3912 "belonging to any distribution whose Archive name is "
3913 "\"<literal>unstable</literal>\"."
3914 msgstr ""
3915
3916 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3917 #: apt_preferences.5.xml:233
3918 #, no-wrap
3919 msgid ""
3920 "Package: *\n"
3921 "Pin: release a=unstable\n"
3922 "Pin-Priority: 50\n"
3923 msgstr ""
3924
3925 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3926 #: apt_preferences.5.xml:238
3927 msgid ""
3928 "The following record assigns a high priority to all package versions "
3929 "belonging to any distribution whose Codename is "
3930 "\"<literal>&testing-codename;</literal>\"."
3931 msgstr ""
3932
3933 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3934 #: apt_preferences.5.xml:242
3935 #, no-wrap
3936 msgid ""
3937 "Package: *\n"
3938 "Pin: release n=&testing-codename;\n"
3939 "Pin-Priority: 900\n"
3940 msgstr ""
3941
3942 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3943 #: apt_preferences.5.xml:247
3944 msgid ""
3945 "The following record assigns a high priority to all package versions "
3946 "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
3947 "and whose release Version number is \"<literal>&stable-version;</literal>\"."
3948 msgstr ""
3949
3950 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3951 #: apt_preferences.5.xml:252
3952 #, no-wrap
3953 msgid ""
3954 "Package: *\n"
3955 "Pin: release a=stable, v=&stable-version;\n"
3956 "Pin-Priority: 500\n"
3957 msgstr ""
3958
3959 #. type: Content of: <refentry><refsect1><refsect2><title>
3960 #: apt_preferences.5.xml:262
3961 msgid "Regular expressions and &glob; syntax"
3962 msgstr ""
3963
3964 #. type: Content of: <refentry><refsect1><refsect2><para>
3965 #: apt_preferences.5.xml:264
3966 msgid ""
3967 "APT also supports pinning by &glob; expressions, and regular expressions "
3968 "surrounded by slashes. For example, the following example assigns the "
3969 "priority 500 to all packages from experimental where the name starts with "
3970 "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
3971 "extended regular expression surrounded by slashes)."
3972 msgstr ""
3973
3974 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
3975 #: apt_preferences.5.xml:273
3976 #, no-wrap
3977 msgid ""
3978 "Package: gnome* /kde/\n"
3979 "Pin: release n=experimental\n"
3980 "Pin-Priority: 500\n"
3981 msgstr ""
3982
3983 #. type: Content of: <refentry><refsect1><refsect2><para>
3984 #: apt_preferences.5.xml:279
3985 msgid ""
3986 "The rule for those expressions is that they can occur anywhere where a "
3987 "string can occur. Thus, the following pin assigns the priority 990 to all "
3988 "packages from a release starting with &ubuntu-codename;."
3989 msgstr ""
3990
3991 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
3992 #: apt_preferences.5.xml:285
3993 #, no-wrap
3994 msgid ""
3995 "Package: *\n"
3996 "Pin: release n=&ubuntu-codename;*\n"
3997 "Pin-Priority: 990\n"
3998 msgstr ""
3999
4000 #. type: Content of: <refentry><refsect1><refsect2><para>
4001 #: apt_preferences.5.xml:291
4002 msgid ""
4003 "If a regular expression occurs in a <literal>Package</literal> field, the "
4004 "behavior is the same as if this regular expression were replaced with a list "
4005 "of all package names it matches. It is undecided whether this will change in "
4006 "the future; thus you should always list wild-card pins first, so later "
4007 "specific pins override it. The pattern \"<literal>*</literal>\" in a "
4008 "Package field is not considered a &glob; expression in itself."
4009 msgstr ""
4010
4011 #. type: Content of: <refentry><refsect1><refsect2><title>
4012 #: apt_preferences.5.xml:307
4013 msgid "How APT Interprets Priorities"
4014 msgstr ""
4015
4016 #. type: Content of: <refentry><refsect1><refsect2><para>
4017 #: apt_preferences.5.xml:310
4018 msgid ""
4019 "Priorities (P) assigned in the APT preferences file must be positive or "
4020 "negative integers. They are interpreted as follows (roughly speaking):"
4021 msgstr ""
4022
4023 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4024 #: apt_preferences.5.xml:315
4025 msgid "P &gt;= 1000"
4026 msgstr ""
4027
4028 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4029 #: apt_preferences.5.xml:316
4030 msgid ""
4031 "causes a version to be installed even if this constitutes a downgrade of the "
4032 "package"
4033 msgstr ""
4034
4035 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4036 #: apt_preferences.5.xml:320
4037 msgid "990 &lt;= P &lt; 1000"
4038 msgstr ""
4039
4040 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4041 #: apt_preferences.5.xml:321
4042 msgid ""
4043 "causes a version to be installed even if it does not come from the target "
4044 "release, unless the installed version is more recent"
4045 msgstr ""
4046
4047 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4048 #: apt_preferences.5.xml:326
4049 msgid "500 &lt;= P &lt; 990"
4050 msgstr ""
4051
4052 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4053 #: apt_preferences.5.xml:327
4054 msgid ""
4055 "causes a version to be installed unless there is a version available "
4056 "belonging to the target release or the installed version is more recent"
4057 msgstr ""
4058
4059 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4060 #: apt_preferences.5.xml:332
4061 msgid "100 &lt;= P &lt; 500"
4062 msgstr ""
4063
4064 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4065 #: apt_preferences.5.xml:333
4066 msgid ""
4067 "causes a version to be installed unless there is a version available "
4068 "belonging to some other distribution or the installed version is more recent"
4069 msgstr ""
4070
4071 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4072 #: apt_preferences.5.xml:338
4073 msgid "0 &lt; P &lt; 100"
4074 msgstr ""
4075
4076 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4077 #: apt_preferences.5.xml:339
4078 msgid ""
4079 "causes a version to be installed only if there is no installed version of "
4080 "the package"
4081 msgstr ""
4082
4083 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4084 #: apt_preferences.5.xml:343
4085 msgid "P &lt; 0"
4086 msgstr ""
4087
4088 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4089 #: apt_preferences.5.xml:344
4090 msgid "prevents the version from being installed"
4091 msgstr ""
4092
4093 #. type: Content of: <refentry><refsect1><refsect2><para>
4094 #: apt_preferences.5.xml:349
4095 msgid ""
4096 "If any specific-form records match an available package version then the "
4097 "first such record determines the priority of the package version. Failing "
4098 "that, if any general-form records match an available package version then "
4099 "the first such record determines the priority of the package version."
4100 msgstr ""
4101
4102 #. type: Content of: <refentry><refsect1><refsect2><para>
4103 #: apt_preferences.5.xml:355
4104 msgid ""
4105 "For example, suppose the APT preferences file contains the three records "
4106 "presented earlier:"
4107 msgstr ""
4108
4109 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
4110 #: apt_preferences.5.xml:359
4111 #, no-wrap
4112 msgid ""
4113 "Package: perl\n"
4114 "Pin: version &good-perl;*\n"
4115 "Pin-Priority: 1001\n"
4116 "\n"
4117 "Package: *\n"
4118 "Pin: origin \"\"\n"
4119 "Pin-Priority: 999\n"
4120 "\n"
4121 "Package: *\n"
4122 "Pin: release unstable\n"
4123 "Pin-Priority: 50\n"
4124 msgstr ""
4125
4126 #. type: Content of: <refentry><refsect1><refsect2><para>
4127 #: apt_preferences.5.xml:372
4128 msgid "Then:"
4129 msgstr ""
4130
4131 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4132 #: apt_preferences.5.xml:374
4133 msgid ""
4134 "The most recent available version of the <literal>perl</literal> package "
4135 "will be installed, so long as that version's version number begins with "
4136 "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> "
4137 "&good-perl;* version of <literal>perl</literal> is available and the "
4138 "installed version is &bad-perl;*, then <literal>perl</literal> will be "
4139 "downgraded."
4140 msgstr ""
4141
4142 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4143 #: apt_preferences.5.xml:379
4144 msgid ""
4145 "A version of any package other than <literal>perl</literal> that is "
4146 "available from the local system has priority over other versions, even "
4147 "versions belonging to the target release."
4148 msgstr ""
4149
4150 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4151 #: apt_preferences.5.xml:383
4152 msgid ""
4153 "A version of a package whose origin is not the local system but some other "
4154 "site listed in &sources-list; and which belongs to an "
4155 "<literal>unstable</literal> distribution is only installed if it is selected "
4156 "for installation and no version of the package is already installed."
4157 msgstr ""
4158
4159 #. type: Content of: <refentry><refsect1><refsect2><title>
4160 #: apt_preferences.5.xml:393
4161 msgid "Determination of Package Version and Distribution Properties"
4162 msgstr ""
4163
4164 #. type: Content of: <refentry><refsect1><refsect2><para>
4165 #: apt_preferences.5.xml:395
4166 msgid ""
4167 "The locations listed in the &sources-list; file should provide "
4168 "<filename>Packages</filename> and <filename>Release</filename> files to "
4169 "describe the packages available at that location."
4170 msgstr ""
4171
4172 #. type: Content of: <refentry><refsect1><refsect2><para>
4173 #: apt_preferences.5.xml:399
4174 msgid ""
4175 "The <filename>Packages</filename> file is normally found in the directory "
4176 "<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: "
4177 "for example, "
4178 "<filename>.../dists/stable/main/binary-i386/Packages</filename>. It "
4179 "consists of a series of multi-line records, one for each package available "
4180 "in that directory. Only two lines in each record are relevant for setting "
4181 "APT priorities:"
4182 msgstr ""
4183
4184 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4185 #: apt_preferences.5.xml:407
4186 msgid "the <literal>Package:</literal> line"
4187 msgstr ""
4188
4189 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4190 #: apt_preferences.5.xml:408
4191 msgid "gives the package name"
4192 msgstr ""
4193
4194 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4195 #: apt_preferences.5.xml:411 apt_preferences.5.xml:461
4196 msgid "the <literal>Version:</literal> line"
4197 msgstr ""
4198
4199 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4200 #: apt_preferences.5.xml:412
4201 msgid "gives the version number for the named package"
4202 msgstr ""
4203
4204 #. type: Content of: <refentry><refsect1><refsect2><para>
4205 #: apt_preferences.5.xml:417
4206 msgid ""
4207 "The <filename>Release</filename> file is normally found in the directory "
4208 "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
4209 "example, <filename>.../dists/stable/Release</filename>, or "
4210 "<filename>.../dists/&stable-codename;/Release</filename>. It consists of a "
4211 "single multi-line record which applies to <emphasis>all</emphasis> of the "
4212 "packages in the directory tree below its parent. Unlike the "
4213 "<filename>Packages</filename> file, nearly all of the lines in a "
4214 "<filename>Release</filename> file are relevant for setting APT priorities:"
4215 msgstr ""
4216
4217 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4218 #: apt_preferences.5.xml:428
4219 msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
4220 msgstr ""
4221
4222 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4223 #: apt_preferences.5.xml:429
4224 msgid ""
4225 "names the archive to which all the packages in the directory tree belong. "
4226 "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
4227 "that all of the packages in the directory tree below the parent of the "
4228 "<filename>Release</filename> file are in a <literal>stable</literal> "
4229 "archive. Specifying this value in the APT preferences file would require "
4230 "the line:"
4231 msgstr ""
4232
4233 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4234 #: apt_preferences.5.xml:439
4235 #, no-wrap
4236 msgid "Pin: release a=stable\n"
4237 msgstr ""
4238
4239 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4240 #: apt_preferences.5.xml:445
4241 msgid "the <literal>Codename:</literal> line"
4242 msgstr ""
4243
4244 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4245 #: apt_preferences.5.xml:446
4246 msgid ""
4247 "names the codename to which all the packages in the directory tree belong. "
4248 "For example, the line \"Codename: &testing-codename;\" specifies that all of "
4249 "the packages in the directory tree below the parent of the "
4250 "<filename>Release</filename> file belong to a version named "
4251 "<literal>&testing-codename;</literal>. Specifying this value in the APT "
4252 "preferences file would require the line:"
4253 msgstr ""
4254
4255 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4256 #: apt_preferences.5.xml:455
4257 #, no-wrap
4258 msgid "Pin: release n=&testing-codename;\n"
4259 msgstr ""
4260
4261 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4262 #: apt_preferences.5.xml:462
4263 msgid ""
4264 "names the release version. For example, the packages in the tree might "
4265 "belong to Debian release version &stable-version;. Note that there is "
4266 "normally no version number for the <literal>testing</literal> and "
4267 "<literal>unstable</literal> distributions because they have not been "
4268 "released yet. Specifying this in the APT preferences file would require one "
4269 "of the following lines."
4270 msgstr ""
4271
4272 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4273 #: apt_preferences.5.xml:471
4274 #, no-wrap
4275 msgid ""
4276 "Pin: release v=&stable-version;\n"
4277 "Pin: release a=stable, v=&stable-version;\n"
4278 "Pin: release &stable-version;\n"
4279 msgstr ""
4280
4281 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4282 #: apt_preferences.5.xml:480
4283 msgid "the <literal>Component:</literal> line"
4284 msgstr ""
4285
4286 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4287 #: apt_preferences.5.xml:481
4288 msgid ""
4289 "names the licensing component associated with the packages in the directory "
4290 "tree of the <filename>Release</filename> file. For example, the line "
4291 "\"Component: main\" specifies that all the packages in the directory tree "
4292 "are from the <literal>main</literal> component, which entails that they are "
4293 "licensed under terms listed in the Debian Free Software Guidelines. "
4294 "Specifying this component in the APT preferences file would require the "
4295 "line:"
4296 msgstr ""
4297
4298 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4299 #: apt_preferences.5.xml:490
4300 #, no-wrap
4301 msgid "Pin: release c=main\n"
4302 msgstr ""
4303
4304 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4305 #: apt_preferences.5.xml:496
4306 msgid "the <literal>Origin:</literal> line"
4307 msgstr ""
4308
4309 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4310 #: apt_preferences.5.xml:497
4311 msgid ""
4312 "names the originator of the packages in the directory tree of the "
4313 "<filename>Release</filename> file. Most commonly, this is "
4314 "<literal>Debian</literal>. Specifying this origin in the APT preferences "
4315 "file would require the line:"
4316 msgstr ""
4317
4318 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4319 #: apt_preferences.5.xml:503
4320 #, no-wrap
4321 msgid "Pin: release o=Debian\n"
4322 msgstr ""
4323
4324 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4325 #: apt_preferences.5.xml:509
4326 msgid "the <literal>Label:</literal> line"
4327 msgstr ""
4328
4329 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4330 #: apt_preferences.5.xml:510
4331 msgid ""
4332 "names the label of the packages in the directory tree of the "
4333 "<filename>Release</filename> file. Most commonly, this is "
4334 "<literal>Debian</literal>. Specifying this label in the APT preferences "
4335 "file would require the line:"
4336 msgstr ""
4337
4338 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4339 #: apt_preferences.5.xml:516
4340 #, no-wrap
4341 msgid "Pin: release l=Debian\n"
4342 msgstr ""
4343
4344 #. type: Content of: <refentry><refsect1><refsect2><para>
4345 #: apt_preferences.5.xml:523
4346 msgid ""
4347 "All of the <filename>Packages</filename> and <filename>Release</filename> "
4348 "files retrieved from locations listed in the &sources-list; file are stored "
4349 "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
4350 "named by the variable <literal>Dir::State::Lists</literal> in the "
4351 "<filename>apt.conf</filename> file. For example, the file "
4352 "<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
4353 "contains the <filename>Release</filename> file retrieved from the site "
4354 "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
4355 "architecture files from the <literal>contrib</literal> component of the "
4356 "<literal>unstable</literal> distribution."
4357 msgstr ""
4358
4359 #. type: Content of: <refentry><refsect1><refsect2><title>
4360 #: apt_preferences.5.xml:536
4361 msgid "Optional Lines in an APT Preferences Record"
4362 msgstr ""
4363
4364 #. type: Content of: <refentry><refsect1><refsect2><para>
4365 #: apt_preferences.5.xml:538
4366 msgid ""
4367 "Each record in the APT preferences file can optionally begin with one or "
4368 "more lines beginning with the word <literal>Explanation:</literal>. This "
4369 "provides a place for comments."
4370 msgstr ""
4371
4372 #. type: Content of: <refentry><refsect1><refsect2><title>
4373 #: apt_preferences.5.xml:547
4374 msgid "Tracking Stable"
4375 msgstr ""
4376
4377 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4378 #: apt_preferences.5.xml:555
4379 #, no-wrap
4380 msgid ""
4381 "Explanation: Uninstall or do not install any Debian-originated\n"
4382 "Explanation: package versions other than those in the stable distro\n"
4383 "Package: *\n"
4384 "Pin: release a=stable\n"
4385 "Pin-Priority: 900\n"
4386 "\n"
4387 "Package: *\n"
4388 "Pin: release o=Debian\n"
4389 "Pin-Priority: -10\n"
4390 msgstr ""
4391
4392 #. type: Content of: <refentry><refsect1><refsect2><para>
4393 #: apt_preferences.5.xml:549
4394 msgid ""
4395 "The following APT preferences file will cause APT to assign a priority "
4396 "higher than the default (500) to all package versions belonging to a "
4397 "<literal>stable</literal> distribution and a prohibitively low priority to "
4398 "package versions belonging to other <literal>Debian</literal> "
4399 "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
4400 msgstr ""
4401
4402 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4403 #: apt_preferences.5.xml:572 apt_preferences.5.xml:618 apt_preferences.5.xml:676
4404 #, no-wrap
4405 msgid ""
4406 "apt-get install <replaceable>package-name</replaceable>\n"
4407 "apt-get upgrade\n"
4408 "apt-get dist-upgrade\n"
4409 msgstr ""
4410
4411 #. type: Content of: <refentry><refsect1><refsect2><para>
4412 #: apt_preferences.5.xml:567
4413 msgid ""
4414 "With a suitable &sources-list; file and the above preferences file, any of "
4415 "the following commands will cause APT to upgrade to the latest "
4416 "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
4417 "id=\"0\"/>"
4418 msgstr ""
4419
4420 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4421 #: apt_preferences.5.xml:584
4422 #, no-wrap
4423 msgid "apt-get install <replaceable>package</replaceable>/testing\n"
4424 msgstr ""
4425
4426 #. type: Content of: <refentry><refsect1><refsect2><para>
4427 #: apt_preferences.5.xml:578
4428 msgid ""
4429 "The following command will cause APT to upgrade the specified package to the "
4430 "latest version from the <literal>testing</literal> distribution; the package "
4431 "will not be upgraded again unless this command is given again. <placeholder "
4432 "type=\"programlisting\" id=\"0\"/>"
4433 msgstr ""
4434
4435 #. type: Content of: <refentry><refsect1><refsect2><title>
4436 #: apt_preferences.5.xml:590
4437 msgid "Tracking Testing or Unstable"
4438 msgstr ""
4439
4440 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4441 #: apt_preferences.5.xml:599
4442 #, no-wrap
4443 msgid ""
4444 "Package: *\n"
4445 "Pin: release a=testing\n"
4446 "Pin-Priority: 900\n"
4447 "\n"
4448 "Package: *\n"
4449 "Pin: release a=unstable\n"
4450 "Pin-Priority: 800\n"
4451 "\n"
4452 "Package: *\n"
4453 "Pin: release o=Debian\n"
4454 "Pin-Priority: -10\n"
4455 msgstr ""
4456
4457 #. type: Content of: <refentry><refsect1><refsect2><para>
4458 #: apt_preferences.5.xml:592
4459 msgid ""
4460 "The following APT preferences file will cause APT to assign a high priority "
4461 "to package versions from the <literal>testing</literal> distribution, a "
4462 "lower priority to package versions from the <literal>unstable</literal> "
4463 "distribution, and a prohibitively low priority to package versions from "
4464 "other <literal>Debian</literal> distributions. <placeholder "
4465 "type=\"programlisting\" id=\"0\"/>"
4466 msgstr ""
4467
4468 #. type: Content of: <refentry><refsect1><refsect2><para>
4469 #: apt_preferences.5.xml:613
4470 msgid ""
4471 "With a suitable &sources-list; file and the above preferences file, any of "
4472 "the following commands will cause APT to upgrade to the latest "
4473 "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
4474 "id=\"0\"/>"
4475 msgstr ""
4476
4477 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4478 #: apt_preferences.5.xml:633
4479 #, no-wrap
4480 msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
4481 msgstr ""
4482
4483 #. type: Content of: <refentry><refsect1><refsect2><para>
4484 #: apt_preferences.5.xml:624
4485 msgid ""
4486 "The following command will cause APT to upgrade the specified package to the "
4487 "latest version from the <literal>unstable</literal> distribution. "
4488 "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
4489 "the most recent <literal>testing</literal> version if that is more recent "
4490 "than the installed version, otherwise, to the most recent "
4491 "<literal>unstable</literal> version if that is more recent than the "
4492 "installed version. <placeholder type=\"programlisting\" id=\"0\"/>"
4493 msgstr ""
4494
4495 #. type: Content of: <refentry><refsect1><refsect2><title>
4496 #: apt_preferences.5.xml:640
4497 msgid "Tracking the evolution of a codename release"
4498 msgstr ""
4499
4500 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4501 #: apt_preferences.5.xml:654
4502 #, no-wrap
4503 msgid ""
4504 "Explanation: Uninstall or do not install any Debian-originated package "
4505 "versions\n"
4506 "Explanation: other than those in the distribution codenamed with "
4507 "&testing-codename; or sid\n"
4508 "Package: *\n"
4509 "Pin: release n=&testing-codename;\n"
4510 "Pin-Priority: 900\n"
4511 "\n"
4512 "Explanation: Debian unstable is always codenamed with sid\n"
4513 "Package: *\n"
4514 "Pin: release n=sid\n"
4515 "Pin-Priority: 800\n"
4516 "\n"
4517 "Package: *\n"
4518 "Pin: release o=Debian\n"
4519 "Pin-Priority: -10\n"
4520 msgstr ""
4521
4522 #. type: Content of: <refentry><refsect1><refsect2><para>
4523 #: apt_preferences.5.xml:642
4524 msgid ""
4525 "The following APT preferences file will cause APT to assign a priority "
4526 "higher than the default (500) to all package versions belonging to a "
4527 "specified codename of a distribution and a prohibitively low priority to "
4528 "package versions belonging to other <literal>Debian</literal> distributions, "
4529 "codenames and archives. Note that with this APT preference APT will follow "
4530 "the migration of a release from the archive <literal>testing</literal> to "
4531 "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
4532 "want to follow for example the progress in <literal>testing</literal> "
4533 "notwithstanding the codename changes you should use the example "
4534 "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
4535 msgstr ""
4536
4537 #. type: Content of: <refentry><refsect1><refsect2><para>
4538 #: apt_preferences.5.xml:671
4539 msgid ""
4540 "With a suitable &sources-list; file and the above preferences file, any of "
4541 "the following commands will cause APT to upgrade to the latest version(s) in "
4542 "the release codenamed with <literal>&testing-codename;</literal>. "
4543 "<placeholder type=\"programlisting\" id=\"0\"/>"
4544 msgstr ""
4545
4546 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4547 #: apt_preferences.5.xml:691
4548 #, no-wrap
4549 msgid "apt-get install <replaceable>package</replaceable>/sid\n"
4550 msgstr ""
4551
4552 #. type: Content of: <refentry><refsect1><refsect2><para>
4553 #: apt_preferences.5.xml:682
4554 msgid ""
4555 "The following command will cause APT to upgrade the specified package to the "
4556 "latest version from the <literal>sid</literal> distribution. Thereafter, "
4557 "<command>apt-get upgrade</command> will upgrade the package to the most "
4558 "recent <literal>&testing-codename;</literal> version if that is more recent "
4559 "than the installed version, otherwise, to the most recent "
4560 "<literal>sid</literal> version if that is more recent than the installed "
4561 "version. <placeholder type=\"programlisting\" id=\"0\"/>"
4562 msgstr ""
4563
4564 #. type: Content of: <refentry><refsect1><para>
4565 #: apt_preferences.5.xml:706
4566 msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
4567 msgstr ""
4568
4569 #. type: Content of: <refentry><refnamediv><refpurpose>
4570 #: sources.list.5.xml:33
4571 msgid "List of configured APT data sources"
4572 msgstr ""
4573
4574 #. type: Content of: <refentry><refsect1><para>
4575 #: sources.list.5.xml:38
4576 msgid ""
4577 "The source list <filename>/etc/apt/sources.list</filename> is designed to "
4578 "support any number of active sources and a variety of source media. The file "
4579 "lists one source per line, with the most preferred source listed first. The "
4580 "information available from the configured sources is acquired by "
4581 "<command>apt-get update</command> (or by an equivalent command from another "
4582 "APT front-end)."
4583 msgstr ""
4584
4585 #. type: Content of: <refentry><refsect1><para>
4586 #: sources.list.5.xml:45
4587 msgid ""
4588 "Each line specifying a source starts with type "
4589 "(e.g. <literal>deb-src</literal>) followed by options and arguments for "
4590 "this type. Individual entries cannot be continued onto a following "
4591 "line. Empty lines are ignored, and a <literal>#</literal> character anywhere "
4592 "on a line marks the remainder of that line as a comment."
4593 msgstr ""
4594
4595 #. type: Content of: <refentry><refsect1><title>
4596 #: sources.list.5.xml:53
4597 msgid "sources.list.d"
4598 msgstr ""
4599
4600 #. type: Content of: <refentry><refsect1><para>
4601 #: sources.list.5.xml:54
4602 msgid ""
4603 "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
4604 "add sources.list entries in separate files. The format is the same as for "
4605 "the regular <filename>sources.list</filename> file. File names need to end "
4606 "with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
4607 "digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
4608 "Otherwise APT will print a notice that it has ignored a file, unless that "
4609 "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
4610 "configuration list - in which case it will be silently ignored."
4611 msgstr ""
4612
4613 #. type: Content of: <refentry><refsect1><title>
4614 #: sources.list.5.xml:65
4615 msgid "The deb and deb-src types"
4616 msgstr ""
4617
4618 #. type: Content of: <refentry><refsect1><para>
4619 #: sources.list.5.xml:66
4620 msgid ""
4621 "The <literal>deb</literal> type references a typical two-level Debian "
4622 "archive, <filename>distribution/component</filename>. The "
4623 "<literal>distribution</literal> is generally an archive name like "
4624 "<literal>stable</literal> or <literal>testing</literal> or a codename like "
4625 "<literal>&stable-codename;</literal> or "
4626 "<literal>&testing-codename;</literal> while component is one of "
4627 "<literal>main</literal>, <literal>contrib</literal> or "
4628 "<literal>non-free</literal>. The <literal>deb-src</literal> type references "
4629 "a Debian distribution's source code in the same form as the "
4630 "<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
4631 "to fetch source indexes."
4632 msgstr ""
4633
4634 #. type: Content of: <refentry><refsect1><para>
4635 #: sources.list.5.xml:78
4636 msgid ""
4637 "The format for a <filename>sources.list</filename> entry using the "
4638 "<literal>deb</literal> and <literal>deb-src</literal> types is:"
4639 msgstr ""
4640
4641 #. type: Content of: <refentry><refsect1><literallayout>
4642 #: sources.list.5.xml:81
4643 #, no-wrap
4644 msgid "deb [ options ] uri distribution [component1] [component2] [...]"
4645 msgstr ""
4646
4647 #. type: Content of: <refentry><refsect1><para>
4648 #: sources.list.5.xml:83
4649 msgid ""
4650 "The URI for the <literal>deb</literal> type must specify the base of the "
4651 "Debian distribution, from which APT will find the information it needs. "
4652 "<literal>distribution</literal> can specify an exact path, in which case the "
4653 "components must be omitted and <literal>distribution</literal> must end with "
4654 "a slash (<literal>/</literal>). This is useful for the case when only a "
4655 "particular sub-section of the archive denoted by the URI is of interest. If "
4656 "<literal>distribution</literal> does not specify an exact path, at least one "
4657 "<literal>component</literal> must be present."
4658 msgstr ""
4659
4660 #. type: Content of: <refentry><refsect1><para>
4661 #: sources.list.5.xml:92
4662 msgid ""
4663 "<literal>distribution</literal> may also contain a variable, "
4664 "<literal>$(ARCH)</literal> which expands to the Debian architecture (such as "
4665 "<literal>amd64</literal> or <literal>armel</literal>) used on the "
4666 "system. This permits architecture-independent "
4667 "<filename>sources.list</filename> files to be used. In general this is only "
4668 "of interest when specifying an exact path, <literal>APT</literal> will "
4669 "automatically generate a URI with the current architecture otherwise."
4670 msgstr ""
4671
4672 #. type: Content of: <refentry><refsect1><para>
4673 #: sources.list.5.xml:100
4674 msgid ""
4675 "Since only one distribution can be specified per line it may be necessary to "
4676 "have multiple lines for the same URI, if a subset of all available "
4677 "distributions or components at that location is desired. APT will sort the "
4678 "URI list after it has generated a complete set internally, and will collapse "
4679 "multiple references to the same Internet host, for instance, into a single "
4680 "connection, so that it does not inefficiently establish an FTP connection, "
4681 "close it, do something else, and then re-establish a connection to that same "
4682 "host. This feature is useful for accessing busy FTP sites with limits on the "
4683 "number of simultaneous anonymous users. APT also parallelizes connections to "
4684 "different hosts to more effectively deal with sites with low bandwidth."
4685 msgstr ""
4686
4687 #. type: Content of: <refentry><refsect1><para>
4688 #: sources.list.5.xml:112
4689 msgid ""
4690 "<literal>options</literal> is always optional and needs to be surrounded by "
4691 "square brackets. It can consist of multiple settings in the form "
4692 "<literal><replaceable>setting</replaceable>=<replaceable>value</replaceable></literal>. "
4693 "Multiple settings are separated by spaces. The following settings are "
4694 "supported by APT (note however that unsupported settings will be ignored "
4695 "silently):"
4696 msgstr ""
4697
4698 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4699 #: sources.list.5.xml:117
4700 msgid ""
4701 "<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</replaceable>,…</literal> "
4702 "can be used to specify for which architectures information should be "
4703 "downloaded. If this option is not set all architectures defined by the "
4704 "<literal>APT::Architectures</literal> option will be downloaded."
4705 msgstr ""
4706
4707 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4708 #: sources.list.5.xml:121
4709 msgid ""
4710 "<literal>trusted=yes</literal> can be set to indicate that packages from "
4711 "this source are always authenticated even if the "
4712 "<filename>Release</filename> file is not signed or the signature can't be "
4713 "checked. This disables parts of &apt-secure; and should therefore only be "
4714 "used in a local and trusted context. <literal>trusted=no</literal> is the "
4715 "opposite which handles even correctly authenticated sources as not "
4716 "authenticated."
4717 msgstr ""
4718
4719 #. type: Content of: <refentry><refsect1><para>
4720 #: sources.list.5.xml:128
4721 msgid ""
4722 "It is important to list sources in order of preference, with the most "
4723 "preferred source listed first. Typically this will result in sorting by "
4724 "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
4725 "followed by distant Internet hosts, for example)."
4726 msgstr ""
4727
4728 #. type: Content of: <refentry><refsect1><para>
4729 #: sources.list.5.xml:133
4730 msgid "Some examples:"
4731 msgstr ""
4732
4733 #. type: Content of: <refentry><refsect1><literallayout>
4734 #: sources.list.5.xml:135
4735 #, no-wrap
4736 msgid ""
4737 "deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
4738 "deb http://security.debian.org/ &stable-codename;/updates main contrib "
4739 "non-free\n"
4740 " "
4741 msgstr ""
4742
4743 #. type: Content of: <refentry><refsect1><title>
4744 #: sources.list.5.xml:141
4745 msgid "URI specification"
4746 msgstr ""
4747
4748 #. type: Content of: <refentry><refsect1><para>
4749 #: sources.list.5.xml:143
4750 msgid "The currently recognized URI types are:"
4751 msgstr ""
4752
4753 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4754 #: sources.list.5.xml:147
4755 msgid ""
4756 "The file scheme allows an arbitrary directory in the file system to be "
4757 "considered an archive. This is useful for NFS mounts and local mirrors or "
4758 "archives."
4759 msgstr ""
4760
4761 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4762 #: sources.list.5.xml:154
4763 msgid ""
4764 "The cdrom scheme allows APT to use a local CD-ROM drive with media "
4765 "swapping. Use the &apt-cdrom; program to create cdrom entries in the source "
4766 "list."
4767 msgstr ""
4768
4769 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4770 #: sources.list.5.xml:161
4771 msgid ""
4772 "The http scheme specifies an HTTP server for the archive. If an environment "
4773 "variable <envar>http_proxy</envar> is set with the format "
4774 "http://server:port/, the proxy server specified in <envar>http_proxy</envar> "
4775 "will be used. Users of authenticated HTTP/1.1 proxies may use a string of "
4776 "the format http://user:pass@server:port/. Note that this is an insecure "
4777 "method of authentication."
4778 msgstr ""
4779
4780 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4781 #: sources.list.5.xml:172
4782 msgid ""
4783 "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
4784 "is highly configurable; for more information see the &apt-conf; manual "
4785 "page. Please note that an FTP proxy can be specified by using the "
4786 "<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
4787 "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
4788 "environment variable and <emphasis>only</emphasis> this environment "
4789 "variable. Proxies using HTTP specified in the configuration file will be "
4790 "ignored."
4791 msgstr ""
4792
4793 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4794 #: sources.list.5.xml:184
4795 msgid ""
4796 "The copy scheme is identical to the file scheme except that packages are "
4797 "copied into the cache directory instead of used directly at their location. "
4798 "This is useful for people using removable media to copy files around with "
4799 "APT."
4800 msgstr ""
4801
4802 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4803 #: sources.list.5.xml:191
4804 msgid ""
4805 "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
4806 "the files as a given user. Prior configuration of rhosts or RSA keys is "
4807 "recommended. The standard <command>find</command> and <command>dd</command> "
4808 "commands are used to perform the file transfers from the remote host."
4809 msgstr ""
4810
4811 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4812 #: sources.list.5.xml:198
4813 msgid "adding more recognizable URI types"
4814 msgstr ""
4815
4816 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4817 #: sources.list.5.xml:200
4818 msgid ""
4819 "APT can be extended with more methods shipped in other optional packages, "
4820 "which should follow the naming scheme "
4821 "<package>apt-transport-<replaceable>method</replaceable></package>. For "
4822 "instance, the APT team also maintains the package "
4823 "<package>apt-transport-https</package>, which provides access methods for "
4824 "HTTPS URIs with features similar to the http method. Methods for using "
4825 "e.g. debtorrent are also available - see &apt-transport-debtorrent;."
4826 msgstr ""
4827
4828 #. type: Content of: <refentry><refsect1><para>
4829 #: sources.list.5.xml:212
4830 msgid ""
4831 "Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
4832 "stable/main, stable/contrib, and stable/non-free."
4833 msgstr ""
4834
4835 #. type: Content of: <refentry><refsect1><literallayout>
4836 #: sources.list.5.xml:214
4837 #, no-wrap
4838 msgid "deb file:/home/jason/debian stable main contrib non-free"
4839 msgstr ""
4840
4841 #. type: Content of: <refentry><refsect1><para>
4842 #: sources.list.5.xml:216
4843 msgid "As above, except this uses the unstable (development) distribution."
4844 msgstr ""
4845
4846 #. type: Content of: <refentry><refsect1><literallayout>
4847 #: sources.list.5.xml:217
4848 #, no-wrap
4849 msgid "deb file:/home/jason/debian unstable main contrib non-free"
4850 msgstr ""
4851
4852 #. type: Content of: <refentry><refsect1><para>
4853 #: sources.list.5.xml:219
4854 msgid "Source line for the above"
4855 msgstr ""
4856
4857 #. type: Content of: <refentry><refsect1><literallayout>
4858 #: sources.list.5.xml:220
4859 #, no-wrap
4860 msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
4861 msgstr ""
4862
4863 #. type: Content of: <refentry><refsect1><para>
4864 #: sources.list.5.xml:222
4865 msgid ""
4866 "The first line gets package information for the architectures in "
4867 "<literal>APT::Architectures</literal> while the second always retrieves "
4868 "<literal>amd64</literal> and <literal>armel</literal>."
4869 msgstr ""
4870
4871 #. type: Content of: <refentry><refsect1><literallayout>
4872 #: sources.list.5.xml:224
4873 #, no-wrap
4874 msgid ""
4875 "deb http://ftp.debian.org/debian &stable-codename; main\n"
4876 "deb [ arch=amd64,armel ] http://ftp.debian.org/debian &stable-codename; main"
4877 msgstr ""
4878
4879 #. type: Content of: <refentry><refsect1><para>
4880 #: sources.list.5.xml:227
4881 msgid ""
4882 "Uses HTTP to access the archive at archive.debian.org, and uses only the "
4883 "hamm/main area."
4884 msgstr ""
4885
4886 #. type: Content of: <refentry><refsect1><literallayout>
4887 #: sources.list.5.xml:229
4888 #, no-wrap
4889 msgid "deb http://archive.debian.org/debian-archive hamm main"
4890 msgstr ""
4891
4892 #. type: Content of: <refentry><refsect1><para>
4893 #: sources.list.5.xml:231
4894 msgid ""
4895 "Uses FTP to access the archive at ftp.debian.org, under the debian "
4896 "directory, and uses only the &stable-codename;/contrib area."
4897 msgstr ""
4898
4899 #. type: Content of: <refentry><refsect1><literallayout>
4900 #: sources.list.5.xml:233
4901 #, no-wrap
4902 msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
4903 msgstr ""
4904
4905 #. type: Content of: <refentry><refsect1><para>
4906 #: sources.list.5.xml:235
4907 msgid ""
4908 "Uses FTP to access the archive at ftp.debian.org, under the debian "
4909 "directory, and uses only the unstable/contrib area. If this line appears as "
4910 "well as the one in the previous example in <filename>sources.list</filename> "
4911 "a single FTP session will be used for both resource lines."
4912 msgstr ""
4913
4914 #. type: Content of: <refentry><refsect1><literallayout>
4915 #: sources.list.5.xml:239
4916 #, no-wrap
4917 msgid "deb ftp://ftp.debian.org/debian unstable contrib"
4918 msgstr ""
4919
4920 #. type: Content of: <refentry><refsect1><para><literallayout>
4921 #: sources.list.5.xml:248
4922 #, no-wrap
4923 msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
4924 msgstr ""
4925
4926 #. type: Content of: <refentry><refsect1><para>
4927 #: sources.list.5.xml:241
4928 msgid ""
4929 "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
4930 "directory, and uses only files found under "
4931 "<filename>unstable/binary-i386</filename> on i386 machines, "
4932 "<filename>unstable/binary-amd64</filename> on amd64, and so forth for other "
4933 "supported architectures. [Note this example only illustrates how to use the "
4934 "substitution variable; official debian archives are not structured like "
4935 "this] <placeholder type=\"literallayout\" id=\"0\"/>"
4936 msgstr ""
4937
4938 #. type: Content of: <refentry><refsect1><para>
4939 #: sources.list.5.xml:253
4940 msgid "&apt-cache; &apt-conf;"
4941 msgstr ""
4942
4943 #. type: Content of: <refentry><refmeta><manvolnum>
4944 #: apt-extracttemplates.1.xml:26 apt-sortpkgs.1.xml:26 apt-ftparchive.1.xml:26
4945 msgid "1"
4946 msgstr ""
4947
4948 #. type: Content of: <refentry><refnamediv><refpurpose>
4949 #: apt-extracttemplates.1.xml:33
4950 msgid ""
4951 "Utility to extract <command>debconf</command> config and templates from "
4952 "Debian packages"
4953 msgstr ""
4954
4955 #. type: Content of: <refentry><refsect1><para>
4956 #: apt-extracttemplates.1.xml:39
4957 msgid ""
4958 "<command>apt-extracttemplates</command> will take one or more Debian package "
4959 "files as input and write out (to a temporary directory) all associated "
4960 "config scripts and template files. For each passed in package that contains "
4961 "config scripts and templates, one line of output will be generated in the "
4962 "format:"
4963 msgstr ""
4964
4965 #. type: Content of: <refentry><refsect1><para>
4966 #: apt-extracttemplates.1.xml:44
4967 msgid "package version template-file config-script"
4968 msgstr ""
4969
4970 #. type: Content of: <refentry><refsect1><para>
4971 #: apt-extracttemplates.1.xml:45
4972 msgid ""
4973 "template-file and config-script are written to the temporary directory "
4974 "specified by the <option>-t</option> or <option>--tempdir</option> "
4975 "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
4976 "filenames of the form <filename>package.template.XXXX</filename> and "
4977 "<filename>package.config.XXXX</filename>"
4978 msgstr ""
4979
4980 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4981 #: apt-extracttemplates.1.xml:58
4982 msgid ""
4983 "Temporary directory in which to write extracted <command>debconf</command> "
4984 "template files and config scripts. Configuration Item: "
4985 "<literal>APT::ExtractTemplates::TempDir</literal>"
4986 msgstr ""
4987
4988 #. type: Content of: <refentry><refsect1><para>
4989 #: apt-extracttemplates.1.xml:75
4990 msgid ""
4991 "<command>apt-extracttemplates</command> returns zero on normal operation, "
4992 "decimal 100 on error."
4993 msgstr ""
4994
4995 #. type: Content of: <refentry><refnamediv><refpurpose>
4996 #: apt-sortpkgs.1.xml:33
4997 msgid "Utility to sort package index files"
4998 msgstr ""
4999
5000 #. type: Content of: <refentry><refsect1><para>
5001 #: apt-sortpkgs.1.xml:39
5002 msgid ""
5003 "<command>apt-sortpkgs</command> will take an index file (source index or "
5004 "package index) and sort the records so that they are ordered by the package "
5005 "name. It will also sort the internal fields of each record according to the "
5006 "internal sorting rules."
5007 msgstr ""
5008
5009 #. type: Content of: <refentry><refsect1><para>
5010 #: apt-sortpkgs.1.xml:45
5011 msgid "All output is sent to standard output; the input must be a seekable file."
5012 msgstr ""
5013
5014 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5015 #: apt-sortpkgs.1.xml:54
5016 msgid ""
5017 "Use source index field ordering. Configuration Item: "
5018 "<literal>APT::SortPkgs::Source</literal>."
5019 msgstr ""
5020
5021 #. type: Content of: <refentry><refsect1><para>
5022 #: apt-sortpkgs.1.xml:68
5023 msgid ""
5024 "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
5025 "100 on error."
5026 msgstr ""
5027
5028 #. type: Content of: <refentry><refnamediv><refpurpose>
5029 #: apt-ftparchive.1.xml:33
5030 msgid "Utility to generate index files"
5031 msgstr ""
5032
5033 #. type: Content of: <refentry><refsect1><para>
5034 #: apt-ftparchive.1.xml:39
5035 msgid ""
5036 "<command>apt-ftparchive</command> is the command line tool that generates "
5037 "the index files that APT uses to access a distribution source. The index "
5038 "files should be generated on the origin site based on the content of that "
5039 "site."
5040 msgstr ""
5041
5042 #. type: Content of: <refentry><refsect1><para>
5043 #: apt-ftparchive.1.xml:43
5044 msgid ""
5045 "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
5046 "program, incorporating its entire functionality via the "
5047 "<literal>packages</literal> command. It also contains a contents file "
5048 "generator, <literal>contents</literal>, and an elaborate means to 'script' "
5049 "the generation process for a complete archive."
5050 msgstr ""
5051
5052 #. type: Content of: <refentry><refsect1><para>
5053 #: apt-ftparchive.1.xml:49
5054 msgid ""
5055 "Internally <command>apt-ftparchive</command> can make use of binary "
5056 "databases to cache the contents of a .deb file and it does not rely on any "
5057 "external programs aside from &gzip;. When doing a full generate it "
5058 "automatically performs file-change checks and builds the desired compressed "
5059 "output files."
5060 msgstr ""
5061
5062 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5063 #: apt-ftparchive.1.xml:60
5064 msgid ""
5065 "The packages command generates a package file from a directory tree. It "
5066 "takes the given directory and recursively searches it for .deb files, "
5067 "emitting a package record to stdout for each. This command is approximately "
5068 "equivalent to &dpkg-scanpackages;."
5069 msgstr ""
5070
5071 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5072 #: apt-ftparchive.1.xml:65 apt-ftparchive.1.xml:89
5073 msgid "The option <option>--db</option> can be used to specify a binary caching DB."
5074 msgstr ""
5075
5076 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5077 #: apt-ftparchive.1.xml:70
5078 msgid ""
5079 "The <literal>sources</literal> command generates a source index file from a "
5080 "directory tree. It takes the given directory and recursively searches it "
5081 "for .dsc files, emitting a source record to stdout for each. This command is "
5082 "approximately equivalent to &dpkg-scansources;."
5083 msgstr ""
5084
5085 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5086 #: apt-ftparchive.1.xml:75
5087 msgid ""
5088 "If an override file is specified then a source override file will be looked "
5089 "for with an extension of .src. The --source-override option can be used to "
5090 "change the source override file that will be used."
5091 msgstr ""
5092
5093 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5094 #: apt-ftparchive.1.xml:82
5095 msgid ""
5096 "The <literal>contents</literal> command generates a contents file from a "
5097 "directory tree. It takes the given directory and recursively searches it for "
5098 ".deb files, and reads the file list from each file. It then sorts and writes "
5099 "to stdout the list of files matched to packages. Directories are not written "
5100 "to the output. If multiple packages own the same file then each package is "
5101 "separated by a comma in the output."
5102 msgstr ""
5103
5104 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5105 #: apt-ftparchive.1.xml:94
5106 msgid ""
5107 "The <literal>release</literal> command generates a Release file from a "
5108 "directory tree. It recursively searches the given directory for uncompressed "
5109 "<filename>Packages</filename> and <filename>Sources</filename> files and "
5110 "ones compressed with <command>gzip</command>, <command>bzip2</command> or "
5111 "<command>lzma</command> as well as <filename>Release</filename> and "
5112 "<filename>md5sum.txt</filename> files by default "
5113 "(<literal>APT::FTPArchive::Release::Default-Patterns</literal>). Additional "
5114 "filename patterns can be added by listing them in "
5115 "<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
5116 "stdout a <filename>Release</filename> file containing an MD5, SHA1 and "
5117 "SHA256 digest for each file."
5118 msgstr ""
5119
5120 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5121 #: apt-ftparchive.1.xml:104
5122 msgid ""
5123 "Values for the additional metadata fields in the Release file are taken from "
5124 "the corresponding variables under "
5125 "<literal>APT::FTPArchive::Release</literal>, "
5126 "e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported "
5127 "fields are: <literal>Origin</literal>, <literal>Label</literal>, "
5128 "<literal>Suite</literal>, <literal>Version</literal>, "
5129 "<literal>Codename</literal>, <literal>Date</literal>, "
5130 "<literal>Valid-Until</literal>, <literal>Architectures</literal>, "
5131 "<literal>Components</literal>, <literal>Description</literal>."
5132 msgstr ""
5133
5134 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5135 #: apt-ftparchive.1.xml:117
5136 msgid ""
5137 "The <literal>generate</literal> command is designed to be runnable from a "
5138 "cron script and builds indexes according to the given config file. The "
5139 "config language provides a flexible means of specifying which index files "
5140 "are built from which directories, as well as providing a simple means of "
5141 "maintaining the required settings."
5142 msgstr ""
5143
5144 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5145 #: apt-ftparchive.1.xml:126
5146 msgid ""
5147 "The <literal>clean</literal> command tidies the databases used by the given "
5148 "configuration file by removing any records that are no longer necessary."
5149 msgstr ""
5150
5151 #. type: Content of: <refentry><refsect1><title>
5152 #: apt-ftparchive.1.xml:132
5153 msgid "The Generate Configuration"
5154 msgstr ""
5155
5156 #. type: Content of: <refentry><refsect1><para>
5157 #: apt-ftparchive.1.xml:134
5158 msgid ""
5159 "The <literal>generate</literal> command uses a configuration file to "
5160 "describe the archives that are going to be generated. It follows the typical "
5161 "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. "
5162 "&apt-conf; contains a description of the syntax. Note that the generate "
5163 "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
5164 "tree manner. This only effects how the scope tag is handled."
5165 msgstr ""
5166
5167 #. type: Content of: <refentry><refsect1><para>
5168 #: apt-ftparchive.1.xml:142
5169 msgid "The generate configuration has four separate sections, each described below."
5170 msgstr ""
5171
5172 #. type: Content of: <refentry><refsect1><refsect2><title>
5173 #: apt-ftparchive.1.xml:144
5174 msgid "<literal>Dir</literal> Section"
5175 msgstr ""
5176
5177 #. type: Content of: <refentry><refsect1><refsect2><para>
5178 #: apt-ftparchive.1.xml:146
5179 msgid ""
5180 "The <literal>Dir</literal> section defines the standard directories needed "
5181 "to locate the files required during the generation process. These "
5182 "directories are prepended certain relative paths defined in later sections "
5183 "to produce a complete an absolute path."
5184 msgstr ""
5185
5186 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5187 #: apt-ftparchive.1.xml:153
5188 msgid ""
5189 "Specifies the root of the FTP archive, in a standard Debian configuration "
5190 "this is the directory that contains the <filename>ls-LR</filename> and dist "
5191 "nodes."
5192 msgstr ""
5193
5194 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5195 #: apt-ftparchive.1.xml:160
5196 msgid "Specifies the location of the override files."
5197 msgstr ""
5198
5199 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5200 #: apt-ftparchive.1.xml:165
5201 msgid "Specifies the location of the cache files."
5202 msgstr ""
5203
5204 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5205 #: apt-ftparchive.1.xml:170
5206 msgid ""
5207 "Specifies the location of the file list files, if the "
5208 "<literal>FileList</literal> setting is used below."
5209 msgstr ""
5210
5211 #. type: Content of: <refentry><refsect1><refsect2><title>
5212 #: apt-ftparchive.1.xml:176
5213 msgid "<literal>Default</literal> Section"
5214 msgstr ""
5215
5216 #. type: Content of: <refentry><refsect1><refsect2><para>
5217 #: apt-ftparchive.1.xml:178
5218 msgid ""
5219 "The <literal>Default</literal> section specifies default values, and "
5220 "settings that control the operation of the generator. Other sections may "
5221 "override these defaults with a per-section setting."
5222 msgstr ""
5223
5224 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5225 #: apt-ftparchive.1.xml:184
5226 msgid ""
5227 "Sets the default compression schemes to use for the package index files. It "
5228 "is a string that contains a space separated list of at least one of: '.' (no "
5229 "compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
5230 "'. gzip'."
5231 msgstr ""
5232
5233 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5234 #: apt-ftparchive.1.xml:192
5235 msgid ""
5236 "Sets the default list of file extensions that are package files. This "
5237 "defaults to '.deb'."
5238 msgstr ""
5239
5240 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5241 #: apt-ftparchive.1.xml:198
5242 msgid ""
5243 "This is similar to <literal>Packages::Compress</literal> except that it "
5244 "controls the compression for the Sources files."
5245 msgstr ""
5246
5247 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5248 #: apt-ftparchive.1.xml:204
5249 msgid ""
5250 "Sets the default list of file extensions that are source files. This "
5251 "defaults to '.dsc'."
5252 msgstr ""
5253
5254 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5255 #: apt-ftparchive.1.xml:210
5256 msgid ""
5257 "This is similar to <literal>Packages::Compress</literal> except that it "
5258 "controls the compression for the Contents files."
5259 msgstr ""
5260
5261 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5262 #: apt-ftparchive.1.xml:216
5263 msgid ""
5264 "This is similar to <literal>Packages::Compress</literal> except that it "
5265 "controls the compression for the Translation-en master file."
5266 msgstr ""
5267
5268 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5269 #: apt-ftparchive.1.xml:222
5270 msgid ""
5271 "Specifies the number of kilobytes to delink (and replace with hard links) "
5272 "per run. This is used in conjunction with the per-section "
5273 "<literal>External-Links</literal> setting."
5274 msgstr ""
5275
5276 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5277 #: apt-ftparchive.1.xml:229
5278 msgid ""
5279 "Specifies the mode of all created index files. It defaults to 0644. All "
5280 "index files are set to this mode with no regard to the umask."
5281 msgstr ""
5282
5283 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5284 #: apt-ftparchive.1.xml:236 apt-ftparchive.1.xml:382
5285 msgid ""
5286 "Specifies whether long descriptions should be included in the "
5287 "<filename>Packages</filename> file or split out into a master "
5288 "<filename>Translation-en</filename> file."
5289 msgstr ""
5290
5291 #. type: Content of: <refentry><refsect1><refsect2><title>
5292 #: apt-ftparchive.1.xml:242
5293 msgid "<literal>TreeDefault</literal> Section"
5294 msgstr ""
5295
5296 #. type: Content of: <refentry><refsect1><refsect2><para>
5297 #: apt-ftparchive.1.xml:244
5298 msgid ""
5299 "Sets defaults specific to <literal>Tree</literal> sections. All of these "
5300 "variables are substitution variables and have the strings $(DIST), "
5301 "$(SECTION) and $(ARCH) replaced with their respective values."
5302 msgstr ""
5303
5304 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5305 #: apt-ftparchive.1.xml:251
5306 msgid ""
5307 "Sets the number of kilobytes of contents files that are generated each "
5308 "day. The contents files are round-robined so that over several days they "
5309 "will all be rebuilt."
5310 msgstr ""
5311
5312 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5313 #: apt-ftparchive.1.xml:258
5314 msgid ""
5315 "Controls the number of days a contents file is allowed to be checked without "
5316 "changing. If this limit is passed the mtime of the contents file is "
5317 "updated. This case can occur if the package file is changed in such a way "
5318 "that does not result in a new contents file [override edit for instance]. A "
5319 "hold off is allowed in hopes that new .debs will be installed, requiring a "
5320 "new file anyhow. The default is 10, the units are in days."
5321 msgstr ""
5322
5323 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5324 #: apt-ftparchive.1.xml:269
5325 msgid ""
5326 "Sets the top of the .deb directory tree. Defaults to "
5327 "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>"
5328 msgstr ""
5329
5330 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5331 #: apt-ftparchive.1.xml:275
5332 msgid ""
5333 "Sets the top of the source package directory tree. Defaults to "
5334 "<filename>$(DIST)/$(SECTION)/source/</filename>"
5335 msgstr ""
5336
5337 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5338 #: apt-ftparchive.1.xml:281
5339 msgid ""
5340 "Sets the output Packages file. Defaults to "
5341 "<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>"
5342 msgstr ""
5343
5344 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5345 #: apt-ftparchive.1.xml:287
5346 msgid ""
5347 "Sets the output Sources file. Defaults to "
5348 "<filename>$(DIST)/$(SECTION)/source/Sources</filename>"
5349 msgstr ""
5350
5351 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5352 #: apt-ftparchive.1.xml:293
5353 msgid ""
5354 "Sets the output Translation-en master file with the long descriptions if "
5355 "they should be not included in the Packages file. Defaults to "
5356 "<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
5357 msgstr ""
5358
5359 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5360 #: apt-ftparchive.1.xml:300
5361 msgid ""
5362 "Sets the path prefix that causes a symlink to be considered an internal link "
5363 "instead of an external link. Defaults to "
5364 "<filename>$(DIST)/$(SECTION)/</filename>"
5365 msgstr ""
5366
5367 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5368 #: apt-ftparchive.1.xml:307
5369 msgid ""
5370 "Sets the output Contents file. Defaults to "
5371 "<filename>$(DIST)/$(SECTION)/Contents-$(ARCH)</filename>. If this setting "
5372 "causes multiple Packages files to map onto a single Contents file (as is the "
5373 "default) then <command>apt-ftparchive</command> will integrate those "
5374 "package files together automatically."
5375 msgstr ""
5376
5377 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5378 #: apt-ftparchive.1.xml:316
5379 msgid "Sets header file to prepend to the contents output."
5380 msgstr ""
5381
5382 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5383 #: apt-ftparchive.1.xml:321
5384 msgid ""
5385 "Sets the binary cache database to use for this section. Multiple sections "
5386 "can share the same database."
5387 msgstr ""
5388
5389 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5390 #: apt-ftparchive.1.xml:327
5391 msgid ""
5392 "Specifies that instead of walking the directory tree, "
5393 "<command>apt-ftparchive</command> should read the list of files from the "
5394 "given file. Relative files names are prefixed with the archive directory."
5395 msgstr ""
5396
5397 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5398 #: apt-ftparchive.1.xml:334
5399 msgid ""
5400 "Specifies that instead of walking the directory tree, "
5401 "<command>apt-ftparchive</command> should read the list of files from the "
5402 "given file. Relative files names are prefixed with the archive directory. "
5403 "This is used when processing source indexes."
5404 msgstr ""
5405
5406 #. type: Content of: <refentry><refsect1><refsect2><title>
5407 #: apt-ftparchive.1.xml:342
5408 msgid "<literal>Tree</literal> Section"
5409 msgstr ""
5410
5411 #. type: Content of: <refentry><refsect1><refsect2><para>
5412 #: apt-ftparchive.1.xml:344
5413 msgid ""
5414 "The <literal>Tree</literal> section defines a standard Debian file tree "
5415 "which consists of a base directory, then multiple sections in that base "
5416 "directory and finally multiple Architectures in each section. The exact "
5417 "pathing used is defined by the <literal>Directory</literal> substitution "
5418 "variable."
5419 msgstr ""
5420
5421 #. type: Content of: <refentry><refsect1><refsect2><para>
5422 #: apt-ftparchive.1.xml:349
5423 msgid ""
5424 "The <literal>Tree</literal> section takes a scope tag which sets the "
5425 "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
5426 "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
5427 "setting such as <filename>dists/&stable-codename;</filename>."
5428 msgstr ""
5429
5430 #. type: Content of: <refentry><refsect1><refsect2><para>
5431 #: apt-ftparchive.1.xml:354
5432 msgid ""
5433 "All of the settings defined in the <literal>TreeDefault</literal> section "
5434 "can be used in a <literal>Tree</literal> section as well as three new "
5435 "variables."
5436 msgstr ""
5437
5438 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5439 #: apt-ftparchive.1.xml:360
5440 #, no-wrap
5441 msgid ""
5442 "for i in Sections do \n"
5443 " for j in Architectures do\n"
5444 " Generate for DIST=scope SECTION=i ARCH=j\n"
5445 " "
5446 msgstr ""
5447
5448 #. type: Content of: <refentry><refsect1><refsect2><para>
5449 #: apt-ftparchive.1.xml:357
5450 msgid ""
5451 "When processing a <literal>Tree</literal> section "
5452 "<command>apt-ftparchive</command> performs an operation similar to: "
5453 "<placeholder type=\"programlisting\" id=\"0\"/>"
5454 msgstr ""
5455
5456 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5457 #: apt-ftparchive.1.xml:368
5458 msgid ""
5459 "This is a space separated list of sections which appear under the "
5460 "distribution; typically this is something like <literal>main contrib "
5461 "non-free</literal>"
5462 msgstr ""
5463
5464 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5465 #: apt-ftparchive.1.xml:375
5466 msgid ""
5467 "This is a space separated list of all the architectures that appear under "
5468 "search section. The special architecture 'source' is used to indicate that "
5469 "this tree has a source archive."
5470 msgstr ""
5471
5472 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5473 #: apt-ftparchive.1.xml:388
5474 msgid ""
5475 "Sets the binary override file. The override file contains section, priority "
5476 "and maintainer address information."
5477 msgstr ""
5478
5479 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5480 #: apt-ftparchive.1.xml:394
5481 msgid ""
5482 "Sets the source override file. The override file contains section "
5483 "information."
5484 msgstr ""
5485
5486 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5487 #: apt-ftparchive.1.xml:400 apt-ftparchive.1.xml:446
5488 msgid "Sets the binary extra override file."
5489 msgstr ""
5490
5491 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5492 #: apt-ftparchive.1.xml:405 apt-ftparchive.1.xml:451
5493 msgid "Sets the source extra override file."
5494 msgstr ""
5495
5496 #. type: Content of: <refentry><refsect1><refsect2><title>
5497 #: apt-ftparchive.1.xml:410
5498 msgid "<literal>BinDirectory</literal> Section"
5499 msgstr ""
5500
5501 #. type: Content of: <refentry><refsect1><refsect2><para>
5502 #: apt-ftparchive.1.xml:412
5503 msgid ""
5504 "The <literal>bindirectory</literal> section defines a binary directory tree "
5505 "with no special structure. The scope tag specifies the location of the "
5506 "binary directory and the settings are similar to the <literal>Tree</literal> "
5507 "section with no substitution variables or "
5508 "<literal>Section</literal><literal>Architecture</literal> settings."
5509 msgstr ""
5510
5511 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5512 #: apt-ftparchive.1.xml:420
5513 msgid "Sets the Packages file output."
5514 msgstr ""
5515
5516 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5517 #: apt-ftparchive.1.xml:425
5518 msgid ""
5519 "Sets the Sources file output. At least one of <literal>Packages</literal> or "
5520 "<literal>Sources</literal> is required."
5521 msgstr ""
5522
5523 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5524 #: apt-ftparchive.1.xml:431
5525 msgid "Sets the Contents file output (optional)."
5526 msgstr ""
5527
5528 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5529 #: apt-ftparchive.1.xml:436
5530 msgid "Sets the binary override file."
5531 msgstr ""
5532
5533 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5534 #: apt-ftparchive.1.xml:441
5535 msgid "Sets the source override file."
5536 msgstr ""
5537
5538 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5539 #: apt-ftparchive.1.xml:456
5540 msgid "Sets the cache DB."
5541 msgstr ""
5542
5543 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5544 #: apt-ftparchive.1.xml:461
5545 msgid "Appends a path to all the output paths."
5546 msgstr ""
5547
5548 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5549 #: apt-ftparchive.1.xml:466
5550 msgid "Specifies the file list file."
5551 msgstr ""
5552
5553 #. type: Content of: <refentry><refsect1><title>
5554 #: apt-ftparchive.1.xml:473
5555 msgid "The Binary Override File"
5556 msgstr ""
5557
5558 #. type: Content of: <refentry><refsect1><para>
5559 #: apt-ftparchive.1.xml:474
5560 msgid ""
5561 "The binary override file is fully compatible with &dpkg-scanpackages;. It "
5562 "contains four fields separated by spaces. The first field is the package "
5563 "name, the second is the priority to force that package to, the third is the "
5564 "section to force that package to and the final field is the maintainer "
5565 "permutation field."
5566 msgstr ""
5567
5568 #. type: Content of: <refentry><refsect1><para><literallayout>
5569 #: apt-ftparchive.1.xml:480
5570 #, no-wrap
5571 msgid "old [// oldn]* => new"
5572 msgstr ""
5573
5574 #. type: Content of: <refentry><refsect1><para><literallayout>
5575 #: apt-ftparchive.1.xml:482
5576 #, no-wrap
5577 msgid "new"
5578 msgstr ""
5579
5580 #. type: Content of: <refentry><refsect1><para>
5581 #: apt-ftparchive.1.xml:479
5582 msgid ""
5583 "The general form of the maintainer field is: <placeholder "
5584 "type=\"literallayout\" id=\"0\"/> or simply, <placeholder "
5585 "type=\"literallayout\" id=\"1\"/> The first form allows a double-slash "
5586 "separated list of old email addresses to be specified. If any of those are "
5587 "found then new is substituted for the maintainer field. The second form "
5588 "unconditionally substitutes the maintainer field."
5589 msgstr ""
5590
5591 #. type: Content of: <refentry><refsect1><title>
5592 #: apt-ftparchive.1.xml:490
5593 msgid "The Source Override File"
5594 msgstr ""
5595
5596 #. type: Content of: <refentry><refsect1><para>
5597 #: apt-ftparchive.1.xml:492
5598 msgid ""
5599 "The source override file is fully compatible with &dpkg-scansources;. It "
5600 "contains two fields separated by spaces. The first field is the source "
5601 "package name, the second is the section to assign it."
5602 msgstr ""
5603
5604 #. type: Content of: <refentry><refsect1><title>
5605 #: apt-ftparchive.1.xml:497
5606 msgid "The Extra Override File"
5607 msgstr ""
5608
5609 #. type: Content of: <refentry><refsect1><para>
5610 #: apt-ftparchive.1.xml:499
5611 msgid ""
5612 "The extra override file allows any arbitrary tag to be added or replaced in "
5613 "the output. It has three columns, the first is the package, the second is "
5614 "the tag and the remainder of the line is the new value."
5615 msgstr ""
5616
5617 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5618 #: apt-ftparchive.1.xml:510
5619 msgid ""
5620 "Generate the given checksum. These options default to on, when turned off "
5621 "the generated index files will not have the checksum fields where possible. "
5622 "Configuration Items: "
5623 "<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and "
5624 "<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> "
5625 "where <literal><replaceable>Index</replaceable></literal> can be "
5626 "<literal>Packages</literal>, <literal>Sources</literal> or "
5627 "<literal>Release</literal> and "
5628 "<literal><replaceable>Checksum</replaceable></literal> can be "
5629 "<literal>MD5</literal>, <literal>SHA1</literal> or "
5630 "<literal>SHA256</literal>."
5631 msgstr ""
5632
5633 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5634 #: apt-ftparchive.1.xml:521
5635 msgid ""
5636 "Use a binary caching DB. This has no effect on the generate command. "
5637 "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
5638 msgstr ""
5639
5640 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5641 #: apt-ftparchive.1.xml:527
5642 msgid ""
5643 "Quiet; produces output suitable for logging, omitting progress indicators. "
5644 "More q's will produce more quiet up to a maximum of 2. You can also use "
5645 "<option>-q=#</option> to set the quiet level, overriding the configuration "
5646 "file. Configuration Item: <literal>quiet</literal>."
5647 msgstr ""
5648
5649 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5650 #: apt-ftparchive.1.xml:535
5651 msgid ""
5652 "Perform Delinking. If the <literal>External-Links</literal> setting is used "
5653 "then this option actually enables delinking of the files. It defaults to on "
5654 "and can be turned off with <option>--no-delink</option>. Configuration "
5655 "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
5656 msgstr ""
5657
5658 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5659 #: apt-ftparchive.1.xml:543
5660 msgid ""
5661 "Perform contents generation. When this option is set and package indexes are "
5662 "being generated with a cache DB then the file listing will also be extracted "
5663 "and stored in the DB for later use. When using the generate command this "
5664 "option also allows the creation of any Contents files. The default is on. "
5665 "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
5666 msgstr ""
5667
5668 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5669 #: apt-ftparchive.1.xml:553
5670 msgid ""
5671 "Select the source override file to use with the <literal>sources</literal> "
5672 "command. Configuration Item: "
5673 "<literal>APT::FTPArchive::SourceOverride</literal>."
5674 msgstr ""
5675
5676 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5677 #: apt-ftparchive.1.xml:559
5678 msgid ""
5679 "Make the caching databases read only. Configuration Item: "
5680 "<literal>APT::FTPArchive::ReadOnlyDB</literal>."
5681 msgstr ""
5682
5683 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5684 #: apt-ftparchive.1.xml:564
5685 msgid ""
5686 "Accept in the <literal>packages</literal> and <literal>contents</literal> "
5687 "commands only package files matching <literal>*_arch.deb</literal> or "
5688 "<literal>*_all.deb</literal> instead of all package files in the given "
5689 "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
5690 msgstr ""
5691
5692 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5693 #: apt-ftparchive.1.xml:572
5694 msgid ""
5695 "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
5696 "packages are recompiled and/or republished with the same version again, this "
5697 "will lead to problems as the now outdated cached metadata like size and "
5698 "checksums will be used. With this option enabled this will no longer happen "
5699 "as it will be checked if the file was changed. Note that this option is set "
5700 "to \"<literal>false</literal>\" by default as it is not recommend to upload "
5701 "multiply versions/builds of a package with the same versionnumber, so in "
5702 "theory nobody will have these problems and therefore all these extra checks "
5703 "are useless."
5704 msgstr ""
5705
5706 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5707 #: apt-ftparchive.1.xml:584
5708 msgid ""
5709 "This configuration option defaults to \"<literal>true</literal>\" and should "
5710 "only be set to <literal>\"false\"</literal> if the Archive generated with "
5711 "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
5712 "that the <filename>Translation-en</filename> master file can only be created "
5713 "in the generate command."
5714 msgstr ""
5715
5716 #. type: Content of: <refentry><refsect1><para><programlisting>
5717 #: apt-ftparchive.1.xml:602
5718 #, no-wrap
5719 msgid ""
5720 "<command>apt-ftparchive</command> packages "
5721 "<replaceable>directory</replaceable> | <command>gzip</command> > "
5722 "<filename>Packages.gz</filename>\n"
5723 msgstr ""
5724
5725 #. type: Content of: <refentry><refsect1><para>
5726 #: apt-ftparchive.1.xml:598
5727 msgid ""
5728 "To create a compressed Packages file for a directory containing binary "
5729 "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
5730 msgstr ""
5731
5732 #. type: Content of: <refentry><refsect1><para>
5733 #: apt-ftparchive.1.xml:612
5734 msgid ""
5735 "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
5736 "100 on error."
5737 msgstr ""
5738
5739 #. type: TH
5740 #: apt.8:17
5741 #, no-wrap
5742 msgid "apt"
5743 msgstr ""
5744
5745 #. type: TH
5746 #: apt.8:17
5747 #, no-wrap
5748 msgid "16 June 1998"
5749 msgstr ""
5750
5751 #. type: TH
5752 #: apt.8:17
5753 #, no-wrap
5754 msgid "Debian"
5755 msgstr ""
5756
5757 #. type: SH
5758 #: apt.8:18
5759 #, no-wrap
5760 msgid "NAME"
5761 msgstr ""
5762
5763 #. type: Plain text
5764 #: apt.8:20
5765 msgid "apt - Advanced Package Tool"
5766 msgstr ""
5767
5768 #. type: SH
5769 #: apt.8:20
5770 #, no-wrap
5771 msgid "SYNOPSIS"
5772 msgstr ""
5773
5774 #. type: Plain text
5775 #: apt.8:22
5776 msgid "B<apt>"
5777 msgstr ""
5778
5779 #. type: SH
5780 #: apt.8:22
5781 #, no-wrap
5782 msgid "DESCRIPTION"
5783 msgstr ""
5784
5785 #. type: Plain text
5786 #: apt.8:31
5787 msgid ""
5788 "APT is a management system for software packages. For normal day to day "
5789 "package management there are several frontends available, such as "
5790 "B<aptitude>(8) for the command line or B<synaptic>(8) for the X Window "
5791 "System. Some options are only implemented in B<apt-get>(8) though."
5792 msgstr ""
5793
5794 #. type: SH
5795 #: apt.8:31
5796 #, no-wrap
5797 msgid "SEE ALSO"
5798 msgstr ""
5799
5800 #. type: Plain text
5801 #: apt.8:38
5802 msgid ""
5803 "B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
5804 "B<apt_preferences>(5), B<apt-secure>(8)"
5805 msgstr ""
5806
5807 #. type: SH
5808 #: apt.8:38
5809 #, no-wrap
5810 msgid "DIAGNOSTICS"
5811 msgstr ""
5812
5813 #. type: Plain text
5814 #: apt.8:40
5815 msgid "apt returns zero on normal operation, decimal 100 on error."
5816 msgstr ""
5817
5818 #. type: SH
5819 #: apt.8:40
5820 #, no-wrap
5821 msgid "BUGS"
5822 msgstr ""
5823
5824 #. type: Plain text
5825 #: apt.8:42
5826 msgid "This manpage isn't even started."
5827 msgstr ""
5828
5829 #. type: Plain text
5830 #: apt.8:51
5831 msgid ""
5832 "See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
5833 "B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
5834 "B<reportbug>(1) command."
5835 msgstr ""
5836
5837 #. type: SH
5838 #: apt.8:51
5839 #, no-wrap
5840 msgid "AUTHOR"
5841 msgstr ""
5842
5843 #. type: Plain text
5844 #: apt.8:52
5845 msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
5846 msgstr ""
5847
5848 #. type: <title></title>
5849 #: guide.sgml:4
5850 msgid "APT User's Guide"
5851 msgstr ""
5852
5853 #. type: <author></author>
5854 #: guide.sgml:6 offline.sgml:6
5855 msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
5856 msgstr ""
5857
5858 #. type: <version></version>
5859 #: guide.sgml:7
5860 msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $"
5861 msgstr ""
5862
5863 #. type: <abstract></abstract>
5864 #: guide.sgml:11
5865 msgid ""
5866 "This document provides an overview of how to use the the APT package "
5867 "manager."
5868 msgstr ""
5869
5870 #. type: <copyrightsummary></copyrightsummary>
5871 #: guide.sgml:15
5872 msgid "Copyright &copy; Jason Gunthorpe, 1998."
5873 msgstr ""
5874
5875 #. type: <p></p>
5876 #: guide.sgml:21 offline.sgml:22
5877 msgid ""
5878 "\"APT\" and this document are free software; you can redistribute them "
5879 "and/or modify them under the terms of the GNU General Public License as "
5880 "published by the Free Software Foundation; either version 2 of the License, "
5881 "or (at your option) any later version."
5882 msgstr ""
5883
5884 #. type: <p></p>
5885 #: guide.sgml:24 offline.sgml:25
5886 msgid ""
5887 "For more details, on Debian systems, see the file "
5888 "/usr/share/common-licenses/GPL for the full license."
5889 msgstr ""
5890
5891 #. type: <heading></heading>
5892 #: guide.sgml:32
5893 msgid "General"
5894 msgstr ""
5895
5896 #. type: <p></p>
5897 #: guide.sgml:38
5898 msgid ""
5899 "The APT package currently contains two sections, the APT "
5900 "<prgn>dselect</prgn> method and the <prgn>apt-get</prgn> command line user "
5901 "interface. Both provide a way to install and remove packages as well as "
5902 "download new packages from the Internet."
5903 msgstr ""
5904
5905 #. type: <heading></heading>
5906 #: guide.sgml:39
5907 msgid "Anatomy of the Package System"
5908 msgstr ""
5909
5910 #. type: <p></p>
5911 #: guide.sgml:44
5912 msgid ""
5913 "The Debian packaging system has a large amount of information associated "
5914 "with each package to help assure that it integrates cleanly and easily into "
5915 "the system. The most prominent of its features is the dependency system."
5916 msgstr ""
5917
5918 #. type: <p></p>
5919 #: guide.sgml:52
5920 msgid ""
5921 "The dependency system allows individual programs to make use of shared "
5922 "elements in the system such as libraries. It simplifies placing infrequently "
5923 "used portions of a program in separate packages to reduce the number of "
5924 "things the average user is required to install. Also, it allows for choices "
5925 "in mail transport agents, X servers and so on."
5926 msgstr ""
5927
5928 #. type: <p></p>
5929 #: guide.sgml:57
5930 msgid ""
5931 "The first step to understanding the dependency system is to grasp the "
5932 "concept of a simple dependency. The meaning of a simple dependency is that a "
5933 "package requires another package to be installed at the same time to work "
5934 "properly."
5935 msgstr ""
5936
5937 #. type: <p></p>
5938 #: guide.sgml:63
5939 msgid ""
5940 "For instance, mailcrypt is an emacs extension that aids in encrypting email "
5941 "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
5942 "simple dependency on GPG. Also, because it is an emacs extension it has a "
5943 "simple dependency on emacs, without emacs it is completely useless."
5944 msgstr ""
5945
5946 #. type: <p></p>
5947 #: guide.sgml:73
5948 msgid ""
5949 "The other important dependency to understand is a conflicting dependency. It "
5950 "means that a package, when installed with another package, will not work and "
5951 "may possibly be extremely harmful to the system. As an example consider a "
5952 "mail transport agent such as sendmail, exim or qmail. It is not possible to "
5953 "have two mail transport agents installed because both need to listen to the "
5954 "network to receive mail. Attempting to install two will seriously damage the "
5955 "system so all mail transport agents have a conflicting dependency with all "
5956 "other mail transport agents."
5957 msgstr ""
5958
5959 #. type: <p></p>
5960 #: guide.sgml:83
5961 msgid ""
5962 "As an added complication there is the possibility for a package to pretend "
5963 "to be another package. Consider that exim and sendmail for many intents are "
5964 "identical, they both deliver mail and understand a common interface. Hence, "
5965 "the package system has a way for them to declare that they are both "
5966 "mail-transport-agents. So, exim and sendmail both declare that they provide "
5967 "a mail-transport-agent and other packages that need a mail transport agent "
5968 "depend on mail-transport-agent. This can add a great deal of confusion when "
5969 "trying to manually fix packages."
5970 msgstr ""
5971
5972 #. type: <p></p>
5973 #: guide.sgml:88
5974 msgid ""
5975 "At any given time a single dependency may be met by packages that are "
5976 "already installed or it may not be. APT attempts to help resolve dependency "
5977 "issues by providing a number of automatic algorithms that help in selecting "
5978 "packages for installation."
5979 msgstr ""
5980
5981 #. type: <heading></heading>
5982 #: guide.sgml:96
5983 msgid "apt-get"
5984 msgstr ""
5985
5986 #. type: <p></p>
5987 #: guide.sgml:102
5988 msgid ""
5989 "<prgn>apt-get</prgn> provides a simple way to install packages from the "
5990 "command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not "
5991 "understand .deb files, it works with the package's proper name and can only "
5992 "install .deb archives from a <em>Source</em>."
5993 msgstr ""
5994
5995 #. type: <p></p>
5996 #: guide.sgml:109
5997 msgid ""
5998 "The first <footnote><p>If you are using an http proxy server you must set "
5999 "the http_proxy environment variable first, see "
6000 "sources.list(5)</p></footnote> thing that should be done before using "
6001 "<prgn>apt-get</prgn> is to fetch the package lists from the <em>Sources</em> "
6002 "so that it knows what packages are available. This is done with <tt>apt-get "
6003 "update</tt>. For instance,"
6004 msgstr ""
6005
6006 #. type: <example></example>
6007 #: guide.sgml:116
6008 #, no-wrap
6009 msgid ""
6010 "# apt-get update\n"
6011 "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
6012 "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
6013 "Reading Package Lists... Done\n"
6014 "Building Dependency Tree... Done"
6015 msgstr ""
6016
6017 #. type: <p><taglist>
6018 #: guide.sgml:120
6019 msgid "Once updated there are several commands that can be used:"
6020 msgstr ""
6021
6022 #. type: <tag></tag>
6023 #: guide.sgml:121
6024 msgid "upgrade"
6025 msgstr ""
6026
6027 #. type: <p></p>
6028 #: guide.sgml:131
6029 msgid ""
6030 "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
6031 "install a new package or remove an existing package, nor will it ever "
6032 "upgrade a package that might cause some other package to break. This can be "
6033 "used daily to relatively safely upgrade the system. Upgrade will list all of "
6034 "the packages that it could not upgrade, this usually means that they depend "
6035 "on new packages or conflict with some other package. <prgn>dselect</prgn> or "
6036 "<tt>apt-get install</tt> can be used to force these packages to install."
6037 msgstr ""
6038
6039 #. type: <tag></tag>
6040 #: guide.sgml:131
6041 msgid "install"
6042 msgstr ""
6043
6044 #. type: <p></p>
6045 #: guide.sgml:140
6046 msgid ""
6047 "Install is used to install packages by name. The package is automatically "
6048 "fetched and installed. This can be useful if you already know the name of "
6049 "the package to install and do not want to go into a GUI to select it. Any "
6050 "number of packages may be passed to install, they will all be "
6051 "fetched. Install automatically attempts to resolve dependency problems with "
6052 "the listed packages and will print a summary and ask for confirmation if "
6053 "anything other than its arguments are changed."
6054 msgstr ""
6055
6056 #. type: <tag></tag>
6057 #: guide.sgml:140
6058 msgid "dist-upgrade"
6059 msgstr ""
6060
6061 #. type: <p></p>
6062 #: guide.sgml:149
6063 msgid ""
6064 "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
6065 "releases of Debian. It uses a sophisticated algorithm to determine the best "
6066 "set of packages to install, upgrade and remove to get as much of the system "
6067 "to the newest release. In some situations it may be desired to use "
6068 "dist-upgrade rather than spend the time manually resolving dependencies in "
6069 "<prgn>dselect</prgn>. Once dist-upgrade has completed then "
6070 "<prgn>dselect</prgn> can be used to install any packages that may have been "
6071 "left out."
6072 msgstr ""
6073
6074 #. type: <p></p>
6075 #: guide.sgml:152
6076 msgid ""
6077 "It is important to closely look at what dist-upgrade is going to do, its "
6078 "decisions may sometimes be quite surprising."
6079 msgstr ""
6080
6081 #. type: <p></p>
6082 #: guide.sgml:163
6083 msgid ""
6084 "<prgn>apt-get</prgn> has several command line options that are detailed in "
6085 "its man page, <manref section=\"8\" name=\"apt-get\">. The most useful "
6086 "option is <tt>-d</tt> which does not install the fetched files. If the "
6087 "system has to download a large number of package it would be undesired to "
6088 "start installing them in case something goes wrong. When <tt>-d</tt> is used "
6089 "the downloaded archives can be installed by simply running the command that "
6090 "caused them to be downloaded again without <tt>-d</tt>."
6091 msgstr ""
6092
6093 #. type: <heading></heading>
6094 #: guide.sgml:168
6095 msgid "DSelect"
6096 msgstr ""
6097
6098 #. type: <p></p>
6099 #: guide.sgml:173
6100 msgid ""
6101 "The APT <prgn>dselect</prgn> method provides the complete APT system with "
6102 "the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used "
6103 "to select the packages to be installed or removed and APT actually installs "
6104 "them."
6105 msgstr ""
6106
6107 #. type: <p></p>
6108 #: guide.sgml:184
6109 msgid ""
6110 "To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> "
6111 "and then choose the APT method. You will be prompted for a set of "
6112 "<em>Sources</em> which are places to fetch archives from. These can be "
6113 "remote Internet sites, local Debian mirrors or CD-ROMs. Each source can "
6114 "provide a fragment of the total Debian archive, APT will automatically "
6115 "combine them to form a complete set of packages. If you have a CD-ROM then "
6116 "it is a good idea to specify it first and then specify a mirror so that you "
6117 "have access to the latest bug fixes. APT will automatically use packages on "
6118 "your CD-ROM before downloading from the Internet."
6119 msgstr ""
6120
6121 #. type: <example></example>
6122 #: guide.sgml:198
6123 #, no-wrap
6124 msgid ""
6125 " Set up a list of distribution source locations\n"
6126 "\t \n"
6127 " Please give the base URL of the debian distribution.\n"
6128 " The access schemes I know about are: http file\n"
6129 "\t \n"
6130 " For example:\n"
6131 " file:/mnt/debian,\n"
6132 " ftp://ftp.debian.org/debian,\n"
6133 " http://ftp.de.debian.org/debian,\n"
6134 " \n"
6135 " \n"
6136 " URL [http://llug.sep.bnl.gov/debian]:"
6137 msgstr ""
6138
6139 #. type: <p></p>
6140 #: guide.sgml:205
6141 msgid ""
6142 "The <em>Sources</em> setup starts by asking for the base of the Debian "
6143 "archive, defaulting to a HTTP mirror. Next it asks for the distribution to "
6144 "get."
6145 msgstr ""
6146
6147 #. type: <example></example>
6148 #: guide.sgml:212
6149 #, no-wrap
6150 msgid ""
6151 " Please give the distribution tag to get or a path to the\n"
6152 " package file ending in a /. The distribution\n"
6153 " tags are typically something like: stable unstable testing non-US\n"
6154 " \n"
6155 " Distribution [stable]:"
6156 msgstr ""
6157
6158 #. type: <p></p>
6159 #: guide.sgml:222
6160 msgid ""
6161 "The distribution refers to the Debian version in the archive, "
6162 "<em>stable</em> refers to the latest released version and <em>unstable</em> "
6163 "refers to the developmental version. <em>non-US</em> is only available on "
6164 "some mirrors and refers to packages that contain encryption technology or "
6165 "other things that cannot be exported from the United States. Importing these "
6166 "packages into the US is legal however."
6167 msgstr ""
6168
6169 #. type: <example></example>
6170 #: guide.sgml:228
6171 #, no-wrap
6172 msgid ""
6173 " Please give the components to get\n"
6174 " The components are typically something like: main contrib non-free\n"
6175 " \n"
6176 " Components [main contrib non-free]:"
6177 msgstr ""
6178
6179 #. type: <p></p>
6180 #: guide.sgml:236
6181 msgid ""
6182 "The components list refers to the list of sub distributions to fetch. The "
6183 "distribution is split up based on software licenses, main being DFSG free "
6184 "packages while contrib and non-free contain things that have various "
6185 "restrictions placed on their use and distribution."
6186 msgstr ""
6187
6188 #. type: <p></p>
6189 #: guide.sgml:240
6190 msgid ""
6191 "Any number of sources can be added, the setup script will continue to prompt "
6192 "until you have specified all that you want."
6193 msgstr ""
6194
6195 #. type: <p></p>
6196 #: guide.sgml:247
6197 msgid ""
6198 "Before starting to use <prgn>dselect</prgn> it is necessary to update the "
6199 "available list by selecting [U]pdate from the menu. This is a superset of "
6200 "<tt>apt-get update</tt> that makes the fetched information available to "
6201 "<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get "
6202 "update</tt> has been run before."
6203 msgstr ""
6204
6205 #. type: <p></p>
6206 #: guide.sgml:253
6207 msgid ""
6208 "You can then go on and make your selections using [S]elect and then perform "
6209 "the installation using [I]nstall. When using the APT method the [C]onfig and "
6210 "[R]emove commands have no meaning, the [I]nstall command performs both of "
6211 "them together."
6212 msgstr ""
6213
6214 #. type: <p></p>
6215 #: guide.sgml:258
6216 msgid ""
6217 "By default APT will automatically remove the package (.deb) files once they "
6218 "have been successfully installed. To change this behavior place "
6219 "<tt>Dselect::clean \"prompt\";</tt> in /etc/apt/apt.conf."
6220 msgstr ""
6221
6222 #. type: <heading></heading>
6223 #: guide.sgml:264
6224 msgid "The Interface"
6225 msgstr ""
6226
6227 #. type: <p></p>
6228 #: guide.sgml:278
6229 msgid ""
6230 "Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the "
6231 "same interface. It is a simple system that generally tells you what it will "
6232 "do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method "
6233 "actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method "
6234 "actually provides more functionality than is present in <prgn>apt-get</prgn> "
6235 "alone.</p></footnote> After printing out a summary of what will happen APT "
6236 "then will print out some informative status messages so that you can "
6237 "estimate how far along it is and how much is left to do."
6238 msgstr ""
6239
6240 #. type: <heading></heading>
6241 #: guide.sgml:280
6242 msgid "Startup"
6243 msgstr ""
6244
6245 #. type: <p></p>
6246 #: guide.sgml:284
6247 msgid ""
6248 "Before all operations except update, APT performs a number of actions to "
6249 "prepare its internal state. It also does some checks of the system's "
6250 "state. At any time these operations can be performed by running <tt>apt-get "
6251 "check</tt>."
6252 msgstr ""
6253
6254 #. type: <example></example>
6255 #: guide.sgml:289
6256 #, no-wrap
6257 msgid ""
6258 "# apt-get check\n"
6259 "Reading Package Lists... Done\n"
6260 "Building Dependency Tree... Done"
6261 msgstr ""
6262
6263 #. type: <p></p>
6264 #: guide.sgml:297
6265 msgid ""
6266 "The first thing it does is read all the package files into memory. APT uses "
6267 "a caching scheme so this operation will be faster the second time it is "
6268 "run. If some of the package files are not found then they will be ignored "
6269 "and a warning will be printed when apt-get exits."
6270 msgstr ""
6271
6272 #. type: <p></p>
6273 #: guide.sgml:303
6274 msgid ""
6275 "The final operation performs a detailed analysis of the system's "
6276 "dependencies. It checks every dependency of every installed or unpacked "
6277 "package and considers if it is OK. Should this find a problem then a report "
6278 "will be printed out and <prgn>apt-get</prgn> will refuse to run."
6279 msgstr ""
6280
6281 #. type: <example></example>
6282 #: guide.sgml:320
6283 #, no-wrap
6284 msgid ""
6285 "# apt-get check\n"
6286 "Reading Package Lists... Done\n"
6287 "Building Dependency Tree... Done\n"
6288 "You might want to run apt-get -f install' to correct these.\n"
6289 "Sorry, but the following packages have unmet dependencies:\n"
6290 " 9fonts: Depends: xlib6g but it is not installed\n"
6291 " uucp: Depends: mailx but it is not installed\n"
6292 " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6293 " adduser: Depends: perl-base but it is not installed\n"
6294 " aumix: Depends: libgpmg1 but it is not installed\n"
6295 " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
6296 " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
6297 " cthugha: Depends: svgalibg1 but it is not installed\n"
6298 " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6299 " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
6300 msgstr ""
6301
6302 #. type: <p></p>
6303 #: guide.sgml:329
6304 msgid ""
6305 "In this example the system has many problems, including a serious problem "
6306 "with libreadlineg2. For each package that has unmet dependencies a line is "
6307 "printed out indicating the package with the problem and the dependencies "
6308 "that are unmet. A short explanation of why the package has a dependency "
6309 "problem is also included."
6310 msgstr ""
6311
6312 #. type: <p></p>
6313 #: guide.sgml:337
6314 msgid ""
6315 "There are two ways a system can get into a broken state like this. The first "
6316 "is caused by <prgn>dpkg</prgn> missing some subtle relationships between "
6317 "packages when performing upgrades. <footnote><p>APT however considers all "
6318 "known dependencies and attempts to prevent broken "
6319 "packages</p></footnote>. The second is if a package installation fails "
6320 "during an operation. In this situation a package may have been unpacked "
6321 "without its dependents being installed."
6322 msgstr ""
6323
6324 #. type: <p></p>
6325 #: guide.sgml:345
6326 msgid ""
6327 "The second situation is much less serious than the first because APT places "
6328 "certain constraints on the order that packages are installed. In both cases "
6329 "supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to "
6330 "deduce a possible solution to the problem and then continue on. The APT "
6331 "<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow "
6332 "for easy continuation of failed maintainer scripts."
6333 msgstr ""
6334
6335 #. type: <p></p>
6336 #: guide.sgml:351
6337 msgid ""
6338 "However, if the <tt>-f</tt> option is used to correct a seriously broken "
6339 "system caused by the first case then it is possible that it will either fail "
6340 "immediately or the installation sequence will fail. In either case it is "
6341 "necessary to manually use dpkg (possibly with forcing options) to correct "
6342 "the situation enough to allow APT to proceed."
6343 msgstr ""
6344
6345 #. type: <heading></heading>
6346 #: guide.sgml:356
6347 msgid "The Status Report"
6348 msgstr ""
6349
6350 #. type: <p></p>
6351 #: guide.sgml:363
6352 msgid ""
6353 "Before proceeding <prgn>apt-get</prgn> will present a report on what will "
6354 "happen. Generally the report reflects the type of operation being performed "
6355 "but there are several common elements. In all cases the lists reflect the "
6356 "final state of things, taking into account the <tt>-f</tt> option and any "
6357 "other relevant activities to the command being executed."
6358 msgstr ""
6359
6360 #. type: <heading></heading>
6361 #: guide.sgml:364
6362 msgid "The Extra Package list"
6363 msgstr ""
6364
6365 #. type: <example></example>
6366 #: guide.sgml:372
6367 #, no-wrap
6368 msgid ""
6369 "The following extra packages will be installed:\n"
6370 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
6371 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
6372 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
6373 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
6374 " ssh"
6375 msgstr ""
6376
6377 #. type: <p></p>
6378 #: guide.sgml:379
6379 msgid ""
6380 "The Extra Package list shows all of the packages that will be installed or "
6381 "upgraded in excess of the ones mentioned on the command line. It is only "
6382 "generated for an <tt>install</tt> command. The listed packages are often the "
6383 "result of an Auto Install."
6384 msgstr ""
6385
6386 #. type: <heading></heading>
6387 #: guide.sgml:382
6388 msgid "The Packages to Remove"
6389 msgstr ""
6390
6391 #. type: <example></example>
6392 #: guide.sgml:389
6393 #, no-wrap
6394 msgid ""
6395 "The following packages will be REMOVED:\n"
6396 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
6397 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
6398 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
6399 " nas xpilot xfig"
6400 msgstr ""
6401
6402 #. type: <p></p>
6403 #: guide.sgml:399
6404 msgid ""
6405 "The Packages to Remove list shows all of the packages that will be removed "
6406 "from the system. It can be shown for any of the operations and should be "
6407 "given a careful inspection to ensure nothing important is to be taken "
6408 "off. The <tt>-f</tt> option is especially good at generating packages to "
6409 "remove so extreme care should be used in that case. The list may contain "
6410 "packages that are going to be removed because they are only partially "
6411 "installed, possibly due to an aborted installation."
6412 msgstr ""
6413
6414 #. type: <heading></heading>
6415 #: guide.sgml:402
6416 msgid "The New Packages list"
6417 msgstr ""
6418
6419 #. type: <example></example>
6420 #: guide.sgml:406
6421 #, no-wrap
6422 msgid ""
6423 "The following NEW packages will installed:\n"
6424 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
6425 msgstr ""
6426
6427 #. type: <p></p>
6428 #: guide.sgml:411
6429 msgid ""
6430 "The New Packages list is simply a reminder of what will happen. The packages "
6431 "listed are not presently installed in the system but will be when APT is "
6432 "done."
6433 msgstr ""
6434
6435 #. type: <heading></heading>
6436 #: guide.sgml:414
6437 msgid "The Kept Back list"
6438 msgstr ""
6439
6440 #. type: <example></example>
6441 #: guide.sgml:419
6442 #, no-wrap
6443 msgid ""
6444 "The following packages have been kept back\n"
6445 " compface man-db tetex-base msql libpaper svgalib1\n"
6446 " gs snmp arena lynx xpat2 groff xscreensaver"
6447 msgstr ""
6448
6449 #. type: <p></p>
6450 #: guide.sgml:428
6451 msgid ""
6452 "Whenever the whole system is being upgraded there is the possibility that "
6453 "new versions of packages cannot be installed because they require new things "
6454 "or conflict with already installed things. In this case the package will "
6455 "appear in the Kept Back list. The best way to convince packages listed there "
6456 "to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> "
6457 "to resolve their problems."
6458 msgstr ""
6459
6460 #. type: <heading></heading>
6461 #: guide.sgml:431
6462 msgid "Held Packages warning"
6463 msgstr ""
6464
6465 #. type: <example></example>
6466 #: guide.sgml:435
6467 #, no-wrap
6468 msgid ""
6469 "The following held packages will be changed:\n"
6470 " cvs"
6471 msgstr ""
6472
6473 #. type: <p></p>
6474 #: guide.sgml:441
6475 msgid ""
6476 "Sometimes you can ask APT to install a package that is on hold, in such a "
6477 "case it prints out a warning that the held package is going to be "
6478 "changed. This should only happen during dist-upgrade or install."
6479 msgstr ""
6480
6481 #. type: <heading></heading>
6482 #: guide.sgml:444
6483 msgid "Final summary"
6484 msgstr ""
6485
6486 #. type: <p></p>
6487 #: guide.sgml:447
6488 msgid "Finally, APT will print out a summary of all the changes that will occur."
6489 msgstr ""
6490
6491 #. type: <example></example>
6492 #: guide.sgml:452
6493 #, no-wrap
6494 msgid ""
6495 "206 packages upgraded, 8 newly installed, 23 to remove and 51 not "
6496 "upgraded.\n"
6497 "12 packages not fully installed or removed.\n"
6498 "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
6499 msgstr ""
6500
6501 #. type: <p></p>
6502 #: guide.sgml:470
6503 msgid ""
6504 "The first line of the summary simply is a reduced version of all of the "
6505 "lists and includes the number of upgrades - that is packages already "
6506 "installed that have new versions available. The second line indicates the "
6507 "number of poorly configured packages, possibly the result of an aborted "
6508 "installation. The final line shows the space requirements that the "
6509 "installation needs. The first pair of numbers refer to the size of the "
6510 "archive files. The first number indicates the number of bytes that must be "
6511 "fetched from remote locations and the second indicates the total size of all "
6512 "the archives required. The next number indicates the size difference between "
6513 "the presently installed packages and the newly installed packages. It is "
6514 "roughly equivalent to the space required in /usr after everything is "
6515 "done. If a large number of packages are being removed then the value may "
6516 "indicate the amount of space that will be freed."
6517 msgstr ""
6518
6519 #. type: <p></p>
6520 #: guide.sgml:473
6521 msgid ""
6522 "Some other reports can be generated by using the -u option to show packages "
6523 "to upgrade, they are similar to the previous examples."
6524 msgstr ""
6525
6526 #. type: <heading></heading>
6527 #: guide.sgml:477
6528 msgid "The Status Display"
6529 msgstr ""
6530
6531 #. type: <p></p>
6532 #: guide.sgml:481
6533 msgid ""
6534 "During the download of archives and package files APT prints out a series of "
6535 "status messages."
6536 msgstr ""
6537
6538 #. type: <example></example>
6539 #: guide.sgml:490
6540 #, no-wrap
6541 msgid ""
6542 "# apt-get update\n"
6543 "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
6544 "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
6545 "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
6546 "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ "
6547 "Packages\n"
6548 "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
6549 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
6550 msgstr ""
6551
6552 #. type: <p></p>
6553 #: guide.sgml:500
6554 msgid ""
6555 "The lines starting with <em>Get</em> are printed out when APT begins to "
6556 "fetch a file while the last line indicates the progress of the download. The "
6557 "first percent value on the progress line indicates the total percent done of "
6558 "all files. Unfortunately since the size of the Package files is unknown "
6559 "<tt>apt-get update</tt> estimates the percent done which causes some "
6560 "inaccuracies."
6561 msgstr ""
6562
6563 #. type: <p></p>
6564 #: guide.sgml:509
6565 msgid ""
6566 "The next section of the status line is repeated once for each download "
6567 "thread and indicates the operation being performed and some useful "
6568 "information about what is happening. Sometimes this section will simply read "
6569 "<em>Forking</em> which means the OS is loading the download module. The "
6570 "first word after the [ is the fetch number as shown on the history "
6571 "lines. The next word is the short form name of the object being "
6572 "downloaded. For archives it will contain the name of the package that is "
6573 "being fetched."
6574 msgstr ""
6575
6576 #. type: <p></p>
6577 #: guide.sgml:524
6578 msgid ""
6579 "Inside of the single quote is an informative string indicating the progress "
6580 "of the negotiation phase of the download. Typically it progresses from "
6581 "<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or "
6582 "<em>Resuming</em>. The final value is the number of bytes downloaded from "
6583 "the remote site. Once the download begins this is represented as "
6584 "<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 "
6585 "kilobytes is expected. The total size is always shown in 4 figure notation "
6586 "to preserve space. After the size display is a percent meter for the file "
6587 "itself. The second last element is the instantaneous average speed. This "
6588 "values is updated every 5 seconds and reflects the rate of data transfer for "
6589 "that period. Finally is shown the estimated transfer time. This is updated "
6590 "regularly and reflects the time to complete everything at the shown transfer "
6591 "rate."
6592 msgstr ""
6593
6594 #. type: <p></p>
6595 #: guide.sgml:530
6596 msgid ""
6597 "The status display updates every half second to provide a constant feedback "
6598 "on the download progress while the Get lines scroll back whenever a new file "
6599 "is started. Since the status display is constantly updated it is unsuitable "
6600 "for logging to a file, use the <tt>-q</tt> option to remove the status "
6601 "display."
6602 msgstr ""
6603
6604 #. type: <heading></heading>
6605 #: guide.sgml:535
6606 msgid "Dpkg"
6607 msgstr ""
6608
6609 #. type: <p></p>
6610 #: guide.sgml:542
6611 msgid ""
6612 "APT uses <prgn>dpkg</prgn> for installing the archives and will switch over "
6613 "to the <prgn>dpkg</prgn> interface once downloading is "
6614 "completed. <prgn>dpkg</prgn> will also ask a number of questions as it "
6615 "processes the packages and the packages themselves may also ask several "
6616 "questions. Before each question there is usually a description of what it is "
6617 "asking and the questions are too varied to discuss completely here."
6618 msgstr ""
6619
6620 #. type: <title></title>
6621 #: offline.sgml:4
6622 msgid "Using APT Offline"
6623 msgstr ""
6624
6625 #. type: <version></version>
6626 #: offline.sgml:7
6627 msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
6628 msgstr ""
6629
6630 #. type: <abstract></abstract>
6631 #: offline.sgml:12
6632 msgid ""
6633 "This document describes how to use APT in a non-networked environment, "
6634 "specifically a 'sneaker-net' approach for performing upgrades."
6635 msgstr ""
6636
6637 #. type: <copyrightsummary></copyrightsummary>
6638 #: offline.sgml:16
6639 msgid "Copyright &copy; Jason Gunthorpe, 1999."
6640 msgstr ""
6641
6642 #. type: <heading></heading>
6643 #: offline.sgml:32
6644 msgid "Introduction"
6645 msgstr ""
6646
6647 #. type: <heading></heading>
6648 #: offline.sgml:34 offline.sgml:65 offline.sgml:180
6649 msgid "Overview"
6650 msgstr ""
6651
6652 #. type: <p></p>
6653 #: offline.sgml:40
6654 msgid ""
6655 "Normally APT requires direct access to a Debian archive, either from a local "
6656 "media or through a network. Another common complaint is that a Debian "
6657 "machine is on a slow link, such as a modem and another machine has a very "
6658 "fast connection but they are physically distant."
6659 msgstr ""
6660
6661 #. type: <p></p>
6662 #: offline.sgml:51
6663 msgid ""
6664 "The solution to this is to use large removable media such as a Zip disc or a "
6665 "SuperDisk disc. These discs are not large enough to store the entire Debian "
6666 "archive but can easily fit a subset large enough for most users. The idea is "
6667 "to use APT to generate a list of packages that are required and then fetch "
6668 "them onto the disc using another machine with good connectivity. It is even "
6669 "possible to use another Debian machine with APT or to use a completely "
6670 "different OS and a download tool like wget. Let <em>remote host</em> mean "
6671 "the machine downloading the packages, and <em>target host</em> the one with "
6672 "bad or no connection."
6673 msgstr ""
6674
6675 #. type: <p></p>
6676 #: offline.sgml:57
6677 msgid ""
6678 "This is achieved by creatively manipulating the APT configuration file. The "
6679 "essential premise to tell APT to look on a disc for it's archive files. Note "
6680 "that the disc should be formated with a filesystem that can handle long file "
6681 "names such as ext2, fat32 or vfat."
6682 msgstr ""
6683
6684 #. type: <heading></heading>
6685 #: offline.sgml:63
6686 msgid "Using APT on both machines"
6687 msgstr ""
6688
6689 #. type: <p><example>
6690 #: offline.sgml:71
6691 msgid ""
6692 "APT being available on both machines gives the simplest configuration. The "
6693 "basic idea is to place a copy of the status file on the disc and use the "
6694 "remote machine to fetch the latest package files and decide which packages "
6695 "to download. The disk directory structure should look like:"
6696 msgstr ""
6697
6698 #. type: <example></example>
6699 #: offline.sgml:80
6700 #, no-wrap
6701 msgid ""
6702 " /disc/\n"
6703 " archives/\n"
6704 " partial/\n"
6705 " lists/\n"
6706 " partial/\n"
6707 " status\n"
6708 " sources.list\n"
6709 " apt.conf"
6710 msgstr ""
6711
6712 #. type: <heading></heading>
6713 #: offline.sgml:88
6714 msgid "The configuration file"
6715 msgstr ""
6716
6717 #. type: <p></p>
6718 #: offline.sgml:96
6719 msgid ""
6720 "The configuration file should tell APT to store its files on the disc and to "
6721 "use the configuration files on the disc as well. The sources.list should "
6722 "contain the proper sites that you wish to use from the remote machine, and "
6723 "the status file should be a copy of <em>/var/lib/dpkg/status</em> from the "
6724 "<em>target host</em>. Please note, if you are using a local archive you must "
6725 "use copy URIs, the syntax is identical to file URIs."
6726 msgstr ""
6727
6728 #. type: <p><example>
6729 #: offline.sgml:100
6730 msgid ""
6731 "<em>apt.conf</em> must contain the necessary information to make APT use the "
6732 "disc:"
6733 msgstr ""
6734
6735 #. type: <example></example>
6736 #: offline.sgml:124
6737 #, no-wrap
6738 msgid ""
6739 " APT\n"
6740 " {\n"
6741 " /* This is not necessary if the two machines are the same arch, it "
6742 "tells\n"
6743 " the remote APT what architecture the target machine is */\n"
6744 " Architecture \"i386\";\n"
6745 " \n"
6746 " Get::Download-Only \"true\";\n"
6747 " };\n"
6748 " \n"
6749 " Dir\n"
6750 " {\n"
6751 " /* Use the disc for state information and redirect the status file from\n"
6752 " the /var/lib/dpkg default */\n"
6753 " State \"/disc/\";\n"
6754 " State::status \"status\";\n"
6755 "\n"
6756 " // Binary caches will be stored locally\n"
6757 " Cache::archives \"/disc/archives/\";\n"
6758 " Cache \"/tmp/\";\n"
6759 " \n"
6760 " // Location of the source list.\n"
6761 " Etc \"/disc/\";\n"
6762 " };"
6763 msgstr ""
6764
6765 #. type: </example></p>
6766 #: offline.sgml:129
6767 msgid ""
6768 "More details can be seen by examining the apt.conf man page and the sample "
6769 "configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>."
6770 msgstr ""
6771
6772 #. type: <p><example>
6773 #: offline.sgml:136
6774 msgid ""
6775 "On the target machine the first thing to do is mount the disc and copy "
6776 "<em>/var/lib/dpkg/status</em> to it. You will also need to create the "
6777 "directories outlined in the Overview, <em>archives/partial/</em> and "
6778 "<em>lists/partial/</em>. Then take the disc to the remote machine and "
6779 "configure the sources.list. On the remote machine execute the following:"
6780 msgstr ""
6781
6782 #. type: <example></example>
6783 #: offline.sgml:142
6784 #, no-wrap
6785 msgid ""
6786 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
6787 " # apt-get update\n"
6788 " [ APT fetches the package files ]\n"
6789 " # apt-get dist-upgrade\n"
6790 " [ APT fetches all the packages needed to upgrade the target machine ]"
6791 msgstr ""
6792
6793 #. type: </example></p>
6794 #: offline.sgml:149
6795 msgid ""
6796 "The dist-upgrade command can be replaced with any other standard APT "
6797 "commands, particularly dselect-upgrade. You can even use an APT front end "
6798 "such as <em>dselect</em>. However this presents a problem in communicating "
6799 "your selections back to the local computer."
6800 msgstr ""
6801
6802 #. type: <p><example>
6803 #: offline.sgml:153
6804 msgid ""
6805 "Now the disc contains all of the index files and archives needed to upgrade "
6806 "the target machine. Take the disc back and run:"
6807 msgstr ""
6808
6809 #. type: <example></example>
6810 #: offline.sgml:159
6811 #, no-wrap
6812 msgid ""
6813 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
6814 " # apt-get check\n"
6815 " [ APT generates a local copy of the cache files ]\n"
6816 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
6817 " [ Or any other APT command ]"
6818 msgstr ""
6819
6820 #. type: <p></p>
6821 #: offline.sgml:165
6822 msgid ""
6823 "It is necessary for proper function to re-specify the status file to be the "
6824 "local one. This is very important!"
6825 msgstr ""
6826
6827 #. type: <p></p>
6828 #: offline.sgml:172
6829 msgid ""
6830 "If you are using dselect you can do the very risky operation of copying "
6831 "disc/status to /var/lib/dpkg/status so that any selections you made on the "
6832 "remote machine are updated. I highly recommend that people only make "
6833 "selections on the local machine - but this may not always be possible. DO "
6834 "NOT copy the status file if dpkg or APT have been run in the mean time!!"
6835 msgstr ""
6836
6837 #. type: <heading></heading>
6838 #: offline.sgml:178
6839 msgid "Using APT and wget"
6840 msgstr ""
6841
6842 #. type: <p></p>
6843 #: offline.sgml:185
6844 msgid ""
6845 "<em>wget</em> is a popular and portable download tool that can run on nearly "
6846 "any machine. Unlike the method above this requires that the Debian machine "
6847 "already has a list of available packages."
6848 msgstr ""
6849
6850 #. type: <p></p>
6851 #: offline.sgml:190
6852 msgid ""
6853 "The basic idea is to create a disc that has only the archive files "
6854 "downloaded from the remote site. This is done by using the --print-uris "
6855 "option to apt-get and then preparing a wget script to actually fetch the "
6856 "packages."
6857 msgstr ""
6858
6859 #. type: <heading></heading>
6860 #: offline.sgml:196
6861 msgid "Operation"
6862 msgstr ""
6863
6864 #. type: <p><example>
6865 #: offline.sgml:200
6866 msgid ""
6867 "Unlike the previous technique no special configuration files are "
6868 "required. We merely use the standard APT commands to generate the file list."
6869 msgstr ""
6870
6871 #. type: <example></example>
6872 #: offline.sgml:205
6873 #, no-wrap
6874 msgid ""
6875 " # apt-get dist-upgrade \n"
6876 " [ Press no when prompted, make sure you are happy with the actions ]\n"
6877 " # apt-get -qq --print-uris dist-upgrade > uris\n"
6878 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
6879 msgstr ""
6880
6881 #. type: </example></p>
6882 #: offline.sgml:210
6883 msgid ""
6884 "Any command other than dist-upgrade could be used here, including "
6885 "dselect-upgrade."
6886 msgstr ""
6887
6888 #. type: <p></p>
6889 #: offline.sgml:216
6890 msgid ""
6891 "The /disc/wget-script file will now contain a list of wget commands to "
6892 "execute in order to fetch the necessary archives. This script should be run "
6893 "with the current directory as the disc's mount point so as to save the "
6894 "output on the disc."
6895 msgstr ""
6896
6897 #. type: <p><example>
6898 #: offline.sgml:219
6899 msgid "The remote machine would do something like"
6900 msgstr ""
6901
6902 #. type: <example></example>
6903 #: offline.sgml:223
6904 #, no-wrap
6905 msgid ""
6906 " # cd /disc\n"
6907 " # sh -x ./wget-script\n"
6908 " [ wait.. ]"
6909 msgstr ""
6910
6911 #. type: </example><example>
6912 #: offline.sgml:228
6913 msgid ""
6914 "Once the archives are downloaded and the disc returned to the Debian machine "
6915 "installation can proceed using,"
6916 msgstr ""
6917
6918 #. type: <example></example>
6919 #: offline.sgml:230
6920 #, no-wrap
6921 msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
6922 msgstr ""
6923
6924 #. type: </example></p>
6925 #: offline.sgml:234
6926 msgid "Which will use the already fetched archives on the disc."
6927 msgstr ""