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