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