]> git.saurik.com Git - apt.git/blame - doc/po/apt-doc.pot
add insecure (and weak) allow-options for sources.list
[apt.git] / doc / po / apt-doc.pot
CommitLineData
12f7536a 1# Translation of apt manpages and documentation to LANGUAGE
aec22160 2# This file is distributed under the same license as the apt-doc package.
2a52e8c5
DK
3# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4#
5#, fuzzy
6msgid ""
7msgstr ""
5ff8dd6b 8"Project-Id-Version: apt-doc 1.3~exp2\n"
f8b830ab 9"Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
5ff8dd6b 10"POT-Creation-Date: 2016-06-11 17:24+0200\n"
2a52e8c5
DK
11"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13"Language-Team: LANGUAGE <LL@li.org>\n"
0c1a7101 14"Language: \n"
2a52e8c5 15"MIME-Version: 1.0\n"
0c1a7101
DK
16"Content-Type: text/plain; charset=UTF-8\n"
17"Content-Transfer-Encoding: 8bit\n"
2a52e8c5 18
2a52e8c5 19#. type: Plain text
04f27fae 20#: apt.ent:1
2a52e8c5
DK
21#, no-wrap
22msgid ""
23"<!ENTITY apt-author.team \"\n"
24" <author>\n"
25" <othername>APT team</othername>\n"
bcf91c1b 26" <contrib></contrib>\n"
2a52e8c5
DK
27" </author>\n"
28"\">\n"
29msgstr ""
30
31#. type: Plain text
04f27fae 32#: apt.ent:1
2a52e8c5
DK
33#, no-wrap
34msgid ""
35"<!ENTITY apt-qapage \"\n"
36"\t<para>\n"
37"\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
38"\t</para>\n"
39"\">\n"
40msgstr ""
41
42#. type: Plain text
04f27fae 43#: apt.ent:1
2a52e8c5
DK
44#, no-wrap
45msgid ""
46"<!-- Boiler plate Bug reporting section -->\n"
47"<!ENTITY manbugs \"\n"
48" <refsect1><title>Bugs</title>\n"
0c1a7101 49" <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
2a52e8c5
DK
50" If you wish to report a bug in APT, please see\n"
51" <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
52" &reportbug; command.\n"
53" </para>\n"
54" </refsect1>\n"
55"\">\n"
56msgstr ""
57
58#. type: Plain text
04f27fae 59#: apt.ent:1
2a52e8c5
DK
60#, no-wrap
61msgid ""
62"<!-- Boiler plate Author section -->\n"
63"<!ENTITY manauthor \"\n"
64" <refsect1><title>Author</title>\n"
65" <para>APT was written by the APT team "
66"<email>apt@packages.debian.org</email>.\n"
67" </para>\n"
68" </refsect1>\n"
69"\">\n"
70msgstr ""
71
72#. type: Plain text
04f27fae 73#: apt.ent:1
2a52e8c5
DK
74#, no-wrap
75msgid ""
76"<!-- Should be used within the option section of the text to\n"
77" put in the blurb about -h, -v, -c and -o -->\n"
78"<!ENTITY apt-commonoptions \"\n"
79" <varlistentry><term><option>-h</option></term>\n"
80" <term><option>--help</option></term>\n"
81" <listitem><para>Show a short usage summary.\n"
82" </para>\n"
83" </listitem>\n"
84" </varlistentry>\n"
85msgstr ""
86
87#. type: Plain text
04f27fae 88#: apt.ent:1
2a52e8c5
DK
89#, no-wrap
90msgid ""
91" <varlistentry>\n"
92" <term><option>-v</option></term>\n"
93" <term><option>--version</option></term>\n"
94" <listitem><para>Show the program version.\n"
95" </para>\n"
96" </listitem>\n"
97" </varlistentry>\n"
98msgstr ""
99
100#. type: Plain text
04f27fae 101#: apt.ent:1
2a52e8c5
DK
102#, no-wrap
103msgid ""
104" <varlistentry>\n"
105" <term><option>-c</option></term>\n"
106" <term><option>--config-file</option></term>\n"
107" <listitem><para>Configuration File; Specify a configuration file to "
108"use. \n"
109" The program will read the default configuration file and then this \n"
b81dbe40
DK
110" configuration file. If configuration settings need to be set before "
111"the\n"
112" default configuration files are parsed specify a file with the "
113"<envar>APT_CONFIG</envar>\n"
114" environment variable. See &apt-conf; for syntax information.\n"
2a52e8c5
DK
115" </para>\n"
116" </listitem>\n"
117" </varlistentry>\n"
118msgstr ""
119
120#. type: Plain text
04f27fae 121#: apt.ent:1
2a52e8c5
DK
122#, no-wrap
123msgid ""
124" <varlistentry>\n"
125" <term><option>-o</option></term>\n"
126" <term><option>--option</option></term>\n"
127" <listitem><para>Set a Configuration Option; This will set an "
128"arbitrary\n"
129" configuration option. The syntax is <option>-o "
130"Foo::Bar=bar</option>.\n"
131" <option>-o</option> and <option>--option</option> can be used "
132"multiple\n"
133" times to set different options.\n"
134" </para>\n"
135" </listitem>\n"
136" </varlistentry>\n"
137"\">\n"
138msgstr ""
139
140#. type: Plain text
04f27fae 141#: apt.ent:1
2a52e8c5
DK
142#, no-wrap
143msgid ""
144"<!-- Should be used within the option section of the text to\n"
145" put in the blurb about -h, -v, -c and -o -->\n"
146"<!ENTITY apt-cmdblurb \"\n"
147" <para>All command line options may be set using the configuration file, "
148"the\n"
149" descriptions indicate the configuration option to set. For boolean\n"
150" options you can override the config file by using something like \n"
151" <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
152" or several other variations.\n"
153" </para>\n"
154"\">\n"
155msgstr ""
156
bcf91c1b 157#. type: Plain text
04f27fae 158#: apt.ent:1
bcf91c1b
DK
159#, no-wrap
160msgid ""
161"<!ENTITY file-aptconf \"\n"
162" <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
163" <listitem><para>APT configuration file.\n"
164" Configuration Item: "
165"<literal>Dir::Etc::Main</literal>.</para></listitem>\n"
166" </varlistentry>\n"
167msgstr ""
168
169#. type: Plain text
04f27fae 170#: apt.ent:1
bcf91c1b
DK
171#, no-wrap
172msgid ""
173" <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
174" <listitem><para>APT configuration file fragments.\n"
175" Configuration Item: "
176"<literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
177" </varlistentry>\n"
178"\">\n"
179msgstr ""
180
181#. type: Plain text
04f27fae 182#: apt.ent:1
bcf91c1b
DK
183#, no-wrap
184msgid ""
185"<!ENTITY file-cachearchives \"\n"
186" <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
187" <listitem><para>Storage area for retrieved package files.\n"
188" Configuration Item: "
189"<literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
190" </varlistentry>\n"
191msgstr ""
192
193#. type: Plain text
04f27fae 194#: apt.ent:1
bcf91c1b
DK
195#, no-wrap
196msgid ""
197" "
198"<varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
199" <listitem><para>Storage area for package files in transit.\n"
c086ac18
DK
200" Configuration Item: <literal>Dir::Cache::Archives</literal> "
201"(<filename>partial</filename> will be implicitly "
aec22160 202"appended)</para></listitem>\n"
bcf91c1b
DK
203" </varlistentry>\n"
204"\">\n"
205msgstr ""
206
207#. type: Plain text
04f27fae 208#: apt.ent:1
bcf91c1b
DK
209#, no-wrap
210msgid ""
211"<!ENTITY file-preferences \"\n"
212" <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
213" <listitem><para>Version preferences file.\n"
214" This is where you would specify &quot;pinning&quot;,\n"
215" i.e. a preference to get certain packages\n"
216" from a separate source\n"
217" or from a different version of a distribution.\n"
218" Configuration Item: "
219"<literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
220" </varlistentry>\n"
221msgstr ""
222
223#. type: Plain text
04f27fae 224#: apt.ent:1
bcf91c1b
DK
225#, no-wrap
226msgid ""
227" "
228"<varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
229" <listitem><para>File fragments for the version preferences.\n"
230" Configuration Item: "
231"<literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
232" </varlistentry>\n"
233"\">\n"
234msgstr ""
235
236#. type: Plain text
04f27fae 237#: apt.ent:1
bcf91c1b
DK
238#, no-wrap
239msgid ""
240"<!ENTITY file-sourceslist \"\n"
241" <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
242" <listitem><para>Locations to fetch packages from.\n"
243" Configuration Item: "
244"<literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
245" </varlistentry>\n"
246msgstr ""
247
248#. type: Plain text
04f27fae 249#: apt.ent:1
bcf91c1b
DK
250#, no-wrap
251msgid ""
252" "
253"<varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
254" <listitem><para>File fragments for locations to fetch packages from.\n"
255" Configuration Item: "
256"<literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
257" </varlistentry>\n"
258"\">\n"
259msgstr ""
260
261#. type: Plain text
04f27fae 262#: apt.ent:1
bcf91c1b
DK
263#, no-wrap
264msgid ""
265"<!ENTITY file-statelists \"\n"
266" <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
267" <listitem><para>Storage area for state information for each package "
268"resource specified in\n"
269" &sources-list;\n"
270" Configuration Item: "
271"<literal>Dir::State::Lists</literal>.</para></listitem>\n"
272" </varlistentry>\n"
273msgstr ""
274
275#. type: Plain text
04f27fae 276#: apt.ent:1
bcf91c1b
DK
277#, no-wrap
278msgid ""
279" "
280"<varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
281" <listitem><para>Storage area for state information in transit.\n"
c086ac18
DK
282" Configuration Item: <literal>Dir::State::Lists</literal> "
283"(<filename>partial</filename> will be implicitly "
aec22160 284"appended)</para></listitem>\n"
bcf91c1b
DK
285" </varlistentry>\n"
286"\">\n"
287msgstr ""
288
b39c1859 289#. type: Plain text
04f27fae 290#: apt.ent:1
b39c1859
MV
291#, no-wrap
292msgid ""
293"<!ENTITY file-trustedgpg \"\n"
294" <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
295" <listitem><para>Keyring of local trusted keys, new keys will be added "
296"here.\n"
297" Configuration Item: "
298"<literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
299" </varlistentry>\n"
300msgstr ""
301
302#. type: Plain text
04f27fae 303#: apt.ent:1
b39c1859
MV
304#, no-wrap
305msgid ""
306" "
307"<varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
308" <listitem><para>File fragments for the trusted keys, additional "
309"keyrings can\n"
310" be stored here (by other packages or the administrator).\n"
311" Configuration Item "
312"<literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
313" </varlistentry>\n"
314"\">\n"
315msgstr ""
316
317#. type: Plain text
04f27fae 318#: apt.ent:1
b6c6b52f
MV
319#, no-wrap
320msgid ""
321"<!ENTITY file-extended_states \"\n"
322" "
323"<varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
324" <listitem><para>Status list of auto-installed packages.\n"
325" Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
326" </para></listitem>\n"
327" </varlistentry>\n"
328"\">\n"
329msgstr ""
330
331#. type: Plain text
04f27fae 332#: apt.ent:1
d8b3cbb6
DK
333#, no-wrap
334msgid ""
335"<!-- TRANSLATOR: This is the section header for the following paragraphs - "
336"comparable\n"
337" to the other headers like NAME and DESCRIPTION and should therefore be "
338"uppercase. -->\n"
339"<!ENTITY translation-title \"TRANSLATION\">\n"
b39c1859
MV
340msgstr ""
341
342#. type: Plain text
04f27fae 343#: apt.ent:1
b39c1859
MV
344#, no-wrap
345msgid ""
346"<!-- TRANSLATOR: This is a placeholder. You should write here who has "
d8b3cbb6 347"contributed\n"
b39c1859
MV
348" to the translation in the past, who is responsible now and maybe "
349"further information\n"
350" specially related to your translation. -->\n"
351"<!ENTITY translation-holder \"\n"
352" The english translation was done by John Doe "
353"<email>john@doe.org</email> in 2009,\n"
354" 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together "
355"with the\n"
356" Debian Dummy l10n Team "
357"<email>debian-l10n-dummy@lists.debian.org</email>.\n"
358"\">\n"
359msgstr ""
360
361#. type: Plain text
04f27fae 362#: apt.ent:1
b39c1859
MV
363#, no-wrap
364msgid ""
365"<!-- TRANSLATOR: As a translation is allowed to have 20% of "
366"untranslated/fuzzy strings\n"
d8b3cbb6
DK
367" in a shipped manpage newer/modified paragraphs will maybe appear in "
368"english in\n"
369" the generated manpage. This sentence is therefore here to tell the "
370"reader that this\n"
371" is not a mistake by the translator - obviously the target is that at "
372"least for stable\n"
373" releases this sentence is not needed. :) -->\n"
b39c1859
MV
374"<!ENTITY translation-english \"\n"
375" Note that this translated document may contain untranslated parts.\n"
376" This is done on purpose, to avoid losing content when the\n"
377" translation is lagging behind the original content.\n"
378"\">\n"
379msgstr ""
380
c77d6597 381#. type: Plain text
04f27fae 382#: apt.ent:1
c77d6597
MV
383msgid ""
384"<!-- TRANSLATOR: used as in -o=config_string "
385"e.g. -o=Debug::pkgProblemResolver=1 --> <!ENTITY synopsis-config-string "
386"\"config_string\">"
387msgstr ""
388
389#. type: Plain text
04f27fae 390#: apt.ent:1
c77d6597
MV
391msgid ""
392"<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
393"synopsis-config-file \"config_file\">"
394msgstr ""
395
396#. type: Plain text
04f27fae 397#: apt.ent:1
c77d6597
MV
398msgid ""
399"<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release "
400"e.g. -t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
401"\"target_release\">"
402msgstr ""
403
404#. type: Plain text
04f27fae 405#: apt.ent:1
c77d6597
MV
406msgid ""
407"<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
408"synopsis-architecture \"architecture\">"
409msgstr ""
410
411#. type: Plain text
04f27fae 412#: apt.ent:1
c77d6597
MV
413msgid ""
414"<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
415"--> <!ENTITY synopsis-pkg \"pkg\">"
416msgstr ""
417
418#. type: Plain text
04f27fae 419#: apt.ent:1
c77d6597
MV
420msgid ""
421"<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> "
422"<!ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
423msgstr ""
424
425#. type: Plain text
04f27fae 426#: apt.ent:1
c77d6597
MV
427msgid ""
428"<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
429"pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
430msgstr ""
431
432#. type: Plain text
04f27fae 433#: apt.ent:1
c77d6597
MV
434msgid ""
435"<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
436"awesome --> <!ENTITY synopsis-regex \"regex\">"
437msgstr ""
438
439#. type: Plain text
04f27fae 440#: apt.ent:1
c77d6597
MV
441msgid ""
442"<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom "
443"-d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
444msgstr ""
445
446#. type: Plain text
04f27fae 447#: apt.ent:1
c77d6597
MV
448msgid ""
449"<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory "
450"e.g. apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
451"\"temporary_directory\">"
452msgstr ""
453
454#. type: Plain text
04f27fae 455#: apt.ent:1
c77d6597
MV
456msgid ""
457"<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
458"synopsis-filename \"filename\">"
459msgstr ""
460
c086ac18 461#. type: Plain text
04f27fae 462#: apt.ent:1
c086ac18
DK
463msgid ""
464"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
465"packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
466msgstr ""
467
c77d6597 468#. type: Plain text
04f27fae 469#: apt.ent:1
c77d6597 470msgid ""
c086ac18
DK
471"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
472"packages path override-file pathprefix --> <!ENTITY synopsis-override "
473"\"override-file\">"
c77d6597
MV
474msgstr ""
475
476#. type: Plain text
04f27fae 477#: apt.ent:1
c77d6597 478msgid ""
c086ac18
DK
479"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
480"packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
481"\"pathprefix\">"
482msgstr ""
483
484#. type: Plain text
04f27fae 485#: apt.ent:1
c086ac18
DK
486msgid ""
487"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
488"generate section --> <!ENTITY synopsis-section \"section\">"
489msgstr ""
490
491#. type: Plain text
04f27fae 492#: apt.ent:1
c086ac18 493msgid ""
c77d6597
MV
494"<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
495"473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
496msgstr ""
497
2a52e8c5 498#. type: Content of: <refentry><refmeta><manvolnum>
04f27fae
MV
499#: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
500#: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
2a52e8c5
DK
501msgid "8"
502msgstr ""
503
bcf91c1b 504#. type: Content of: <refentry><refmeta><refmiscinfo>
04f27fae
MV
505#: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
506#: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
507#: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
508#: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
bcf91c1b
DK
509msgid "APT"
510msgstr ""
511
2a52e8c5 512#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 513#: apt.8.xml:1
93ae7f7f 514msgid "command-line interface"
2a52e8c5
DK
515msgstr ""
516
2a52e8c5 517#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
518#: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
519#: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
520#: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
521#: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
2a52e8c5
DK
522msgid "Description"
523msgstr ""
524
93ae7f7f 525#. type: Content of: <refentry><refsect1><para>
04f27fae 526#: apt.8.xml:1
93ae7f7f 527msgid ""
cbbee23e
DK
528"<command>apt</command> provides a high-level commandline interface for the "
529"package management system. It is intended as an end user interface and "
530"enables some options better suited for interactive usage by default compared "
531"to more specialized APT tools like &apt-get; and &apt-cache;."
93ae7f7f
MV
532msgstr ""
533
cbbee23e 534#. type: Content of: <refentry><refsect1><para>
04f27fae 535#: apt.8.xml:1
93ae7f7f 536msgid ""
cbbee23e
DK
537"Much like <command>apt</command> itself, its manpage is intended as an end "
538"user interface and as such only mentions the most used commands and options "
539"partly to not duplicate information in multiple places and partly to avoid "
89497574 540"overwhelming readers with a cornucopia of options and details."
93ae7f7f
MV
541msgstr ""
542
cbbee23e
DK
543#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
544#: apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1 apt.8.xml:1
545msgid "(&apt-get;)"
93ae7f7f
MV
546msgstr ""
547
548#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 549#: apt.8.xml:1
93ae7f7f 550msgid ""
cbbee23e
DK
551"<option>update</option> is used to download package information from all "
552"configured sources. Other commands operate on this data to e.g. perform "
553"package upgrades or search in and display details about all packages "
554"available for installation."
93ae7f7f
MV
555msgstr ""
556
557#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 558#: apt.8.xml:1
93ae7f7f 559msgid ""
cbbee23e
DK
560"<option>upgrade</option> is used to install available upgrades of all "
561"packages currently installed on the system from the sources configured via "
562"&sources-list;. New packages will be installed if required to statisfy "
563"dependencies, but existing packages will never be removed. If an upgrade for "
564"a package requires the remove of an installed package the upgrade for this "
565"package isn't performed."
93ae7f7f
MV
566msgstr ""
567
568#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
cbbee23e 569#: apt.8.xml:1
93ae7f7f 570msgid ""
cbbee23e
DK
571"<literal>full-upgrade</literal> performs the function of upgrade but will "
572"remove currently installed packages if this is needed to upgrade the system "
573"as a whole."
864fe99c
MV
574msgstr ""
575
576#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
cbbee23e
DK
577#: apt.8.xml:1 apt.8.xml:1
578msgid ","
864fe99c
MV
579msgstr ""
580
93ae7f7f 581#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
cbbee23e 582#: apt.8.xml:1
864fe99c 583msgid ""
cbbee23e 584"Performs the requested action on one or more packages specified via &regex;, "
051029f8 585"&glob; or exact match. The requested action can be overridden for specific "
cbbee23e
DK
586"packages by append a plus (+) to the package name to install this package or "
587"a minus (-) to remove it."
864fe99c
MV
588msgstr ""
589
590#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 591#: apt.8.xml:1
93ae7f7f 592msgid ""
cbbee23e
DK
593"A specific version of a package can be selected for installation by "
594"following the package name with an equals (=) and the version of the package "
595"to select. Alternatively the version from a specific release can be selected "
596"by following the package name with a forward slash (/) and codename "
9feb98eb
DK
597"(&debian-stable-codename;, &debian-testing-codename;, sid …) or suite name "
598"(stable, testing, unstable). This will also select versions from this "
599"release for dependencies of this package if needed to satisfy the request."
93ae7f7f
MV
600msgstr ""
601
602#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 603#: apt.8.xml:1
93ae7f7f 604msgid ""
cbbee23e
DK
605"Removing a package removes all packaged data, but leaves usually small "
606"(modified) user configuration files behind, in case the remove was an "
051029f8
DK
607"accident. Just issuing an installation request for the accidentally removed "
608"package will restore its function as before in that case. On the other hand "
609"you can get rid of these leftovers by calling <command>purge</command> even "
610"on already removed packages. Note that this does not affect any data or "
611"configuration stored in your home directory."
93ae7f7f
MV
612msgstr ""
613
614#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 615#: apt.8.xml:1
93ae7f7f 616msgid ""
cbbee23e
DK
617"<literal>autoremove</literal> is used to remove packages that were "
618"automatically installed to satisfy dependencies for other packages and are "
619"now no longer needed as dependencies changed or the package(s) needing them "
620"were removed in the meantime."
93ae7f7f
MV
621msgstr ""
622
623#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 624#: apt.8.xml:1
93ae7f7f 625msgid ""
051029f8
DK
626"You should check that the list does not include applications you have grown "
627"to like even though they were once installed just as a dependency of another "
cbbee23e
DK
628"package. You can mark such a package as manually installed by using "
629"&apt-mark;. Packages which you have installed explicitly via "
051029f8 630"<command>install</command> are also never proposed for automatic removal."
93ae7f7f
MV
631msgstr ""
632
cbbee23e
DK
633#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
634#: apt.8.xml:1 apt.8.xml:1
635msgid "(&apt-cache;)"
93ae7f7f
MV
636msgstr ""
637
cbbee23e 638#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 639#: apt.8.xml:1
cbbee23e
DK
640msgid ""
641"<option>search</option> can be used to search for the given &regex; term(s) "
051029f8 642"in the list of available packages and display matches. This can e.g. be "
cbbee23e
DK
643"useful if you are looking for packages having a specific feature. If you "
644"are looking for a package including a specific file try &apt-file;."
93ae7f7f
MV
645msgstr ""
646
cbbee23e 647#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 648#: apt.8.xml:1
93ae7f7f 649msgid ""
cbbee23e
DK
650"Show information about the given package(s) including its dependencies, "
651"installation and download size, sources the package is available from, the "
051029f8 652"description of the packages content and much more. It can e.g. be helpful to "
cbbee23e
DK
653"look at this information before allowing &apt; to remove a package or while "
654"searching for new packages to install."
93ae7f7f
MV
655msgstr ""
656
cbbee23e
DK
657#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
658#: apt.8.xml:1 apt.8.xml:1
659msgid "(work-in-progress)"
93ae7f7f
MV
660msgstr ""
661
cbbee23e 662#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 663#: apt.8.xml:1
93ae7f7f 664msgid ""
cbbee23e
DK
665"<option>list</option> is somewhat similar to <command>dpkg-query "
666"--list</command> in that it can display a list of packages satisfying "
667"certain criteria. It supports &glob; patterns for matching package names as "
668"well as options to list installed (<option>--installed</option>), "
669"upgradeable (<option>--upgradeable</option>) or all available "
670"(<option>--all-versions</option>) versions."
93ae7f7f
MV
671msgstr ""
672
cbbee23e 673#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 674#: apt.8.xml:1
cbbee23e
DK
675msgid ""
676"<literal>edit-sources</literal> lets you edit your &sources-list; files in "
677"your preferred texteditor while also providing basic sanity checks."
93ae7f7f
MV
678msgstr ""
679
cbbee23e 680#. type: Content of: <refentry><refsect1><title>
04f27fae 681#: apt.8.xml:1
051029f8 682msgid "Script Usage and Differences from Other APT Tools"
93ae7f7f
MV
683msgstr ""
684
cbbee23e 685#. type: Content of: <refentry><refsect1><para>
04f27fae 686#: apt.8.xml:1
93ae7f7f 687msgid ""
051029f8
DK
688"The &apt; commandline is designed as an end-user tool and it may change "
689"behavior between versions. While it tries not to break backward "
690"compatibility this is not guaranteed either if a change seems beneficial for "
cbbee23e 691"interactive use."
93ae7f7f
MV
692msgstr ""
693
cbbee23e 694#. type: Content of: <refentry><refsect1><para>
04f27fae 695#: apt.8.xml:1
93ae7f7f 696msgid ""
cbbee23e
DK
697"All features of &apt; are available in dedicated APT tools like &apt-get; "
698"and &apt-cache; as well. &apt; just changes the default value of some "
051029f8
DK
699"options (see &apt-conf; and specifically the Binary scope). So you should "
700"prefer using these commands (potentially with some additional options "
701"enabled) in your scripts as they keep backward compatibility as much as "
702"possible."
93ae7f7f
MV
703msgstr ""
704
705#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
706#: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1
707#: apt-mark.8.xml:1 apt-secure.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
708#: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
709#: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
93ae7f7f
MV
710msgid "See Also"
711msgstr ""
712
713#. type: Content of: <refentry><refsect1><para>
04f27fae 714#: apt.8.xml:1
93ae7f7f 715msgid ""
6dbf3380 716"&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT "
93ae7f7f
MV
717"User's guide in &guidesdir;, &apt-preferences;, the APT Howto."
718msgstr ""
719
720#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
721#: apt.8.xml:1 apt-get.8.xml:1 apt-cache.8.xml:1 apt-mark.8.xml:1
722#: apt-cdrom.8.xml:1 apt-config.8.xml:1 apt-extracttemplates.1.xml:1
723#: apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
93ae7f7f
MV
724msgid "Diagnostics"
725msgstr ""
726
727#. type: Content of: <refentry><refsect1><para>
04f27fae 728#: apt.8.xml:1
93ae7f7f
MV
729msgid ""
730"<command>apt</command> returns zero on normal operation, decimal 100 on "
731"error."
732msgstr ""
733
734#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 735#: apt-get.8.xml:1
93ae7f7f
MV
736msgid "APT package handling utility -- command-line interface"
737msgstr ""
738
2a52e8c5 739#. type: Content of: <refentry><refsect1><para>
04f27fae 740#: apt-get.8.xml:1
2a52e8c5 741msgid ""
7d76ea1d
DK
742"<command>apt-get</command> is the command-line tool for handling packages, "
743"and may be considered the user's \"back-end\" to other tools using the APT "
1c937475
MV
744"library. Several \"front-end\" interfaces exist, such as &aptitude;, "
745"&synaptic; and &wajig;."
2a52e8c5
DK
746msgstr ""
747
748#. type: Content of: <refentry><refsect1><para>
04f27fae
MV
749#: apt-get.8.xml:1 apt-cache.8.xml:1 apt-cdrom.8.xml:1 apt-config.8.xml:1
750#: apt-ftparchive.1.xml:1
2a52e8c5
DK
751msgid ""
752"Unless the <option>-h</option>, or <option>--help</option> option is given, "
753"one of the commands below must be present."
754msgstr ""
755
2a52e8c5 756#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 757#: apt-get.8.xml:1
2a52e8c5 758msgid ""
7d76ea1d
DK
759"<literal>update</literal> is used to resynchronize the package index files "
760"from their sources. The indexes of available packages are fetched from the "
761"location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
762"example, when using a Debian archive, this command retrieves and scans the "
763"<filename>Packages.gz</filename> files, so that information about new and "
764"updated packages is available. An <literal>update</literal> should always be "
765"performed before an <literal>upgrade</literal> or "
766"<literal>dist-upgrade</literal>. Please be aware that the overall progress "
767"meter will be incorrect as the size of the package files cannot be known in "
768"advance."
2a52e8c5
DK
769msgstr ""
770
771#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 772#: apt-get.8.xml:1
2a52e8c5 773msgid ""
7d76ea1d
DK
774"<literal>upgrade</literal> is used to install the newest versions of all "
775"packages currently installed on the system from the sources enumerated in "
776"<filename>/etc/apt/sources.list</filename>. Packages currently installed "
777"with new versions available are retrieved and upgraded; under no "
778"circumstances are currently installed packages removed, or packages not "
779"already installed retrieved and installed. New versions of currently "
780"installed packages that cannot be upgraded without changing the install "
781"status of another package will be left at their current version. An "
782"<literal>update</literal> must be performed first so that "
783"<command>apt-get</command> knows that new versions of packages are "
784"available."
2a52e8c5
DK
785msgstr ""
786
2a52e8c5 787#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 788#: apt-get.8.xml:1
2a52e8c5 789msgid ""
7d76ea1d
DK
790"<literal>dist-upgrade</literal> in addition to performing the function of "
791"<literal>upgrade</literal>, also intelligently handles changing dependencies "
792"with new versions of packages; <command>apt-get</command> has a \"smart\" "
793"conflict resolution system, and it will attempt to upgrade the most "
794"important packages at the expense of less important ones if necessary. The "
795"<literal>dist-upgrade</literal> command may therefore remove some packages. "
796"The <filename>/etc/apt/sources.list</filename> file contains a list of "
797"locations from which to retrieve desired package files. See also "
798"&apt-preferences; for a mechanism for overriding the general settings for "
799"individual packages."
2a52e8c5
DK
800msgstr ""
801
802#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 803#: apt-get.8.xml:1
2a52e8c5 804msgid ""
7d76ea1d
DK
805"<literal>dselect-upgrade</literal> is used in conjunction with the "
806"traditional Debian packaging front-end, "
807"&dselect;. <literal>dselect-upgrade</literal> follows the changes made by "
808"&dselect; to the <literal>Status</literal> field of available packages, and "
809"performs the actions necessary to realize that state (for instance, the "
810"removal of old and the installation of new packages)."
2a52e8c5
DK
811msgstr ""
812
2a52e8c5 813#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 814#: apt-get.8.xml:1
2a52e8c5 815msgid ""
7d76ea1d
DK
816"<literal>install</literal> is followed by one or more packages desired for "
817"installation or upgrading. Each package is a package name, not a fully "
818"qualified filename (for instance, in a Debian system, "
819"<package>apt-utils</package> would be the argument provided, not "
820"<filename>apt-utils_&apt-product-version;_amd64.deb</filename>). All "
821"packages required by the package(s) specified for installation will also be "
822"retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
823"file is used to locate the desired packages. If a hyphen is appended to the "
824"package name (with no intervening space), the identified package will be "
825"removed if it is installed. Similarly a plus sign can be used to designate "
826"a package to install. These latter features may be used to override "
827"decisions made by apt-get's conflict resolution system."
2a52e8c5
DK
828msgstr ""
829
cbbee23e
DK
830#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
831#: apt-get.8.xml:1
832msgid ""
833"A specific version of a package can be selected for installation by "
834"following the package name with an equals and the version of the package to "
835"select. This will cause that version to be located and selected for "
836"install. Alternatively a specific distribution can be selected by following "
837"the package name with a slash and the version of the distribution or the "
838"Archive name (stable, testing, unstable)."
839msgstr ""
840
7d76ea1d 841#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 842#: apt-get.8.xml:1
2a52e8c5 843msgid ""
7d76ea1d
DK
844"Both of the version selection mechanisms can downgrade packages and must be "
845"used with care."
2a52e8c5
DK
846msgstr ""
847
7d76ea1d 848#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 849#: apt-get.8.xml:1
2a52e8c5 850msgid ""
7d76ea1d
DK
851"This is also the target to use if you want to upgrade one or more "
852"already-installed packages without upgrading every package you have on your "
853"system. Unlike the \"upgrade\" target, which installs the newest version of "
854"all currently installed packages, \"install\" will install the newest "
855"version of only the package(s) specified. Simply provide the name of the "
856"package(s) you wish to upgrade, and if a newer version is available, it (and "
857"its dependencies, as described above) will be downloaded and installed."
2a52e8c5
DK
858msgstr ""
859
7d76ea1d 860#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 861#: apt-get.8.xml:1
2a52e8c5 862msgid ""
7d76ea1d
DK
863"Finally, the &apt-preferences; mechanism allows you to create an alternative "
864"installation policy for individual packages."
2a52e8c5
DK
865msgstr ""
866
7d76ea1d 867#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 868#: apt-get.8.xml:1
2a52e8c5 869msgid ""
7d76ea1d
DK
870"If no package matches the given expression and the expression contains one "
871"of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
872"it is applied to all package names in the database. Any matches are then "
873"installed (or removed). Note that matching is done by substring so 'lo.*' "
874"matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
875"expression with a '^' or '$' character, or create a more specific regular "
876"expression."
2a52e8c5
DK
877msgstr ""
878
cbbee23e
DK
879#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
880#: apt-get.8.xml:1
881msgid ""
882"<literal>remove</literal> is identical to <literal>install</literal> except "
883"that packages are removed instead of installed. Note that removing a package "
884"leaves its configuration files on the system. If a plus sign is appended to "
885"the package name (with no intervening space), the identified package will be "
886"installed instead of removed."
887msgstr ""
888
7d76ea1d 889#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 890#: apt-get.8.xml:1
2a52e8c5 891msgid ""
7d76ea1d
DK
892"<literal>purge</literal> is identical to <literal>remove</literal> except "
893"that packages are removed and purged (any configuration files are deleted "
894"too)."
2a52e8c5
DK
895msgstr ""
896
2a52e8c5 897#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 898#: apt-get.8.xml:1
2a52e8c5 899msgid ""
7d76ea1d
DK
900"<literal>source</literal> causes <command>apt-get</command> to fetch source "
901"packages. APT will examine the available packages to decide which source "
902"package to fetch. It will then find and download into the current directory "
903"the newest available version of that source package while respecting the "
904"default release, set with the option "
905"<literal>APT::Default-Release</literal>, the <option>-t</option> option or "
906"per package with the <literal>pkg/release</literal> syntax, if possible."
2a52e8c5
DK
907msgstr ""
908
2a52e8c5 909#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 910#: apt-get.8.xml:1
2a52e8c5 911msgid ""
7d76ea1d
DK
912"Source packages are tracked separately from binary packages via "
913"<literal>deb-src</literal> lines in the &sources-list; file. This means that "
914"you will need to add such a line for each repository you want to get sources "
915"from; otherwise you will probably get either the wrong (too old/too new) "
916"source versions or none at all."
2a52e8c5
DK
917msgstr ""
918
2a52e8c5 919#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 920#: apt-get.8.xml:1
2a52e8c5 921msgid ""
7d76ea1d
DK
922"If the <option>--compile</option> option is specified then the package will "
923"be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
924"the architecture as defined by the <command>--host-architecture</command> "
925"option. If <option>--download-only</option> is specified then the source "
926"package will not be unpacked."
2a52e8c5
DK
927msgstr ""
928
2a52e8c5 929#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 930#: apt-get.8.xml:1
2a52e8c5 931msgid ""
7d76ea1d
DK
932"A specific source version can be retrieved by postfixing the source name "
933"with an equals and then the version to fetch, similar to the mechanism used "
934"for the package files. This enables exact matching of the source package "
935"name and version, implicitly enabling the "
936"<literal>APT::Get::Only-Source</literal> option."
2a52e8c5
DK
937msgstr ""
938
2a52e8c5 939#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 940#: apt-get.8.xml:1
2a52e8c5 941msgid ""
7d76ea1d
DK
942"Note that source packages are not installed and tracked in the "
943"<command>dpkg</command> database like binary packages; they are simply "
944"downloaded to the current directory, like source tarballs."
2a52e8c5
DK
945msgstr ""
946
947#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 948#: apt-get.8.xml:1
2a52e8c5 949msgid ""
7d76ea1d
DK
950"<literal>build-dep</literal> causes apt-get to install/remove packages in an "
951"attempt to satisfy the build dependencies for a source package. By default "
952"the dependencies are satisfied to build the package natively. If desired a "
953"host-architecture can be specified with the "
954"<option>--host-architecture</option> option instead."
2a52e8c5
DK
955msgstr ""
956
957#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 958#: apt-get.8.xml:1
2a52e8c5 959msgid ""
7d76ea1d
DK
960"<literal>check</literal> is a diagnostic tool; it updates the package cache "
961"and checks for broken dependencies."
2a52e8c5
DK
962msgstr ""
963
2a52e8c5 964#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 965#: apt-get.8.xml:1
2a52e8c5 966msgid ""
7d76ea1d
DK
967"<literal>download</literal> will download the given binary package into the "
968"current directory."
2a52e8c5
DK
969msgstr ""
970
2a52e8c5 971#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 972#: apt-get.8.xml:1
2a52e8c5 973msgid ""
7d76ea1d
DK
974"<literal>clean</literal> clears out the local repository of retrieved "
975"package files. It removes everything but the lock file from "
976"<filename>&cachedir;/archives/</filename> and "
1c937475 977"<filename>&cachedir;/archives/partial/</filename>."
2a52e8c5
DK
978msgstr ""
979
cbbee23e
DK
980#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
981#: apt-get.8.xml:1 apt-get.8.xml:1
982msgid "(and the"
983msgstr ""
984
985#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
986#: apt-get.8.xml:1 apt-get.8.xml:1
987msgid "alias since 1.1)"
988msgstr ""
989
2a52e8c5 990#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 991#: apt-get.8.xml:1
2a52e8c5 992msgid ""
7d76ea1d
DK
993"Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
994"local repository of retrieved package files. The difference is that it only "
995"removes package files that can no longer be downloaded, and are largely "
996"useless. This allows a cache to be maintained over a long period without it "
997"growing out of control. The configuration option "
998"<literal>APT::Clean-Installed</literal> will prevent installed packages from "
999"being erased if it is set to off."
2a52e8c5
DK
1000msgstr ""
1001
cbbee23e
DK
1002#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1003#: apt-get.8.xml:1
1004msgid ""
1005"<literal>autoremove</literal> is used to remove packages that were "
1006"automatically installed to satisfy dependencies for other packages and are "
1007"now no longer needed."
1008msgstr ""
1009
63fc5550 1010#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1011#: apt-get.8.xml:1
63fc5550 1012msgid ""
864fe99c
MV
1013"<literal>changelog</literal> tries to download the changelog of a package "
1014"and displays it through <command>sensible-pager</command>. By default it "
1015"displays the changelog for the version that is installed. However, you can "
1016"specify the same options as for the <option>install</option> command."
63fc5550
DK
1017msgstr ""
1018
2a52e8c5 1019#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1020#: apt-get.8.xml:1
2a52e8c5 1021msgid ""
864fe99c
MV
1022"Displays by default a deb822 formatted listing of information about all data "
1023"files (aka index targets) <command>apt-get update</command> would "
1024"download. Supports a <option>--format</option> option to modify the output "
1025"format as well as accepts lines of the default output to filter the records "
1026"by. The command is mainly used as an interface for external tools working "
1027"with APT to get information as well as filenames for downloaded files so "
1028"they can use them as well instead of downloading them again on their "
1029"own. Detailed documentation is omitted here and can instead be found in the "
5b057748
JAK
1030"file &apt-acquire-additional-files; shipped by the "
1031"<package>apt-doc</package> package."
2a52e8c5
DK
1032msgstr ""
1033
cbbee23e
DK
1034#. type: Content of: <refentry><refsect1><title>
1035#: apt-get.8.xml:1 apt-cache.8.xml:1 apt-config.8.xml:1
1036#: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
1037msgid "options"
1038msgstr ""
1039
2a52e8c5 1040#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1041#: apt-get.8.xml:1
2a52e8c5 1042msgid ""
7d76ea1d
DK
1043"Do not consider recommended packages as a dependency for installing. "
1044"Configuration Item: <literal>APT::Install-Recommends</literal>."
2a52e8c5
DK
1045msgstr ""
1046
2a52e8c5 1047#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1048#: apt-get.8.xml:1
2a52e8c5 1049msgid ""
7d76ea1d
DK
1050"Consider suggested packages as a dependency for installing. Configuration "
1051"Item: <literal>APT::Install-Suggests</literal>."
2a52e8c5
DK
1052msgstr ""
1053
2a52e8c5 1054#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1055#: apt-get.8.xml:1
2a52e8c5 1056msgid ""
7d76ea1d
DK
1057"Download only; package files are only retrieved, not unpacked or installed. "
1058"Configuration Item: <literal>APT::Get::Download-Only</literal>."
2a52e8c5
DK
1059msgstr ""
1060
1061#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1062#: apt-get.8.xml:1
2a52e8c5 1063msgid ""
7d76ea1d
DK
1064"Fix; attempt to correct a system with broken dependencies in place. This "
1065"option, when used with install/remove, can omit any packages to permit APT "
1066"to deduce a likely solution. If packages are specified, these have to "
1067"completely correct the problem. The option is sometimes necessary when "
1068"running APT for the first time; APT itself does not allow broken package "
1069"dependencies to exist on a system. It is possible that a system's dependency "
1070"structure can be so corrupt as to require manual intervention (which usually "
1c937475
MV
1071"means using <command>dpkg --remove</command> to eliminate some of the "
1072"offending packages). Use of this option together with <option>-m</option> "
1073"may produce an error in some situations. Configuration Item: "
1074"<literal>APT::Get::Fix-Broken</literal>."
2a52e8c5
DK
1075msgstr ""
1076
2a52e8c5 1077#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1078#: apt-get.8.xml:1
2a52e8c5 1079msgid ""
7d76ea1d
DK
1080"Ignore missing packages; if packages cannot be retrieved or fail the "
1081"integrity check after retrieval (corrupted package files), hold back those "
1082"packages and handle the result. Use of this option together with "
1083"<option>-f</option> may produce an error in some situations. If a package is "
1084"selected for installation (particularly if it is mentioned on the command "
1085"line) and it could not be downloaded then it will be silently held back. "
1086"Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
2a52e8c5
DK
1087msgstr ""
1088
2a52e8c5 1089#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1090#: apt-get.8.xml:1
2a52e8c5 1091msgid ""
7d76ea1d
DK
1092"Disables downloading of packages. This is best used with "
1093"<option>--ignore-missing</option> to force APT to use only the .debs it has "
1094"already downloaded. Configuration Item: "
1095"<literal>APT::Get::Download</literal>."
2a52e8c5
DK
1096msgstr ""
1097
2a52e8c5 1098#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1099#: apt-get.8.xml:1
2a52e8c5 1100msgid ""
7d76ea1d
DK
1101"Quiet; produces output suitable for logging, omitting progress indicators. "
1102"More q's will produce more quiet up to a maximum of 2. You can also use "
1103"<option>-q=#</option> to set the quiet level, overriding the configuration "
1104"file. Note that quiet level 2 implies <option>-y</option>; you should never "
1105"use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
1106"may decide to do something you did not expect. Configuration Item: "
1107"<literal>quiet</literal>."
2a52e8c5
DK
1108msgstr ""
1109
2a52e8c5 1110#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1111#: apt-get.8.xml:1
2a52e8c5 1112msgid ""
864fe99c
MV
1113"No action; perform a simulation of events that would occur based on the "
1114"current system state but do not actually change the system. Locking will be "
1115"disabled (<option>Debug::NoLocking</option>) so the system state could "
1116"change while <command>apt-get</command> is running. Simulations can also be "
1117"executed by non-root users which might not have read access to all apt "
1118"configuration distorting the simulation. A notice expressing this warning "
1119"is also shown by default for non-root users "
1120"(<option>APT::Get::Show-User-Simulation-Note</option>). Configuration Item: "
7d76ea1d 1121"<literal>APT::Get::Simulate</literal>."
2a52e8c5
DK
1122msgstr ""
1123
2a52e8c5 1124#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1125#: apt-get.8.xml:1
2a52e8c5 1126msgid ""
7d76ea1d
DK
1127"Simulated runs print out a series of lines, each representing a "
1128"<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
1129"remove (<literal>Remv</literal>) or unpack "
1130"(<literal>Inst</literal>). Square brackets indicate broken packages, and "
1131"empty square brackets indicate breaks that are of no consequence (rare)."
2a52e8c5
DK
1132msgstr ""
1133
b6c6b52f 1134#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1135#: apt-get.8.xml:1
b6c6b52f 1136msgid ""
7d76ea1d
DK
1137"Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
1138"non-interactively. If an undesirable situation, such as changing a held "
1139"package, trying to install a unauthenticated package or removing an "
1140"essential package occurs then <literal>apt-get</literal> will abort. "
1141"Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
b6c6b52f
MV
1142msgstr ""
1143
2a52e8c5 1144#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1145#: apt-get.8.xml:1
2a52e8c5 1146msgid ""
7d76ea1d
DK
1147"Automatic \"no\" to all prompts. Configuration Item: "
1148"<literal>APT::Get::Assume-No</literal>."
2a52e8c5
DK
1149msgstr ""
1150
2a52e8c5 1151#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1152#: apt-get.8.xml:1
2a52e8c5 1153msgid ""
5ff8dd6b
JAK
1154"Do not show a list of all packages that are to be upgraded. Configuration "
1155"Item: <literal>APT::Get::Show-Upgraded</literal>."
2a52e8c5
DK
1156msgstr ""
1157
2a52e8c5 1158#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1159#: apt-get.8.xml:1
2a52e8c5 1160msgid ""
7d76ea1d
DK
1161"Show full versions for upgraded and installed packages. Configuration Item: "
1162"<literal>APT::Get::Show-Versions</literal>."
2a52e8c5
DK
1163msgstr ""
1164
2a52e8c5 1165#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1166#: apt-get.8.xml:1
2a52e8c5 1167msgid ""
7d76ea1d
DK
1168"This option controls the architecture packages are built for by "
1169"<command>apt-get source --compile</command> and how cross-builddependencies "
1170"are satisfied. By default is it not set which means that the host "
1171"architecture is the same as the build architecture (which is defined by "
1172"<literal>APT::Architecture</literal>). Configuration Item: "
7ffbb475 1173"<literal>APT::Get::Host-Architecture</literal>."
2a52e8c5
DK
1174msgstr ""
1175
2a52e8c5 1176#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1177#: apt-get.8.xml:1
2a52e8c5 1178msgid ""
7ffbb475
MV
1179"This option controls the activated build profiles for which a source package "
1180"is built by <command>apt-get source --compile</command> and how build "
1181"dependencies are satisfied. By default no build profile is active. More "
1182"than one build profile can be activated at a time by concatenating them with "
1183"a comma. Configuration Item: <literal>APT::Build-Profiles</literal>."
1184msgstr ""
1185
1186#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1187#: apt-get.8.xml:1
7ffbb475 1188msgid ""
7d76ea1d
DK
1189"Compile source packages after downloading them. Configuration Item: "
1190"<literal>APT::Get::Compile</literal>."
2a52e8c5
DK
1191msgstr ""
1192
2a52e8c5 1193#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1194#: apt-get.8.xml:1
2a52e8c5 1195msgid ""
7d76ea1d
DK
1196"Ignore package holds; this causes <command>apt-get</command> to ignore a "
1197"hold placed on a package. This may be useful in conjunction with "
1198"<literal>dist-upgrade</literal> to override a large number of undesired "
1199"holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
2a52e8c5
DK
1200msgstr ""
1201
2a52e8c5 1202#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1203#: apt-get.8.xml:1
ce34af08
MV
1204msgid ""
1205"Allow installing new packages when used in conjunction with "
1206"<literal>upgrade</literal>. This is useful if the update of a installed "
1207"package requires new dependencies to be installed. Instead of holding the "
1208"package back <literal>upgrade</literal> will upgrade the package and install "
1209"the new dependencies. Note that <literal>upgrade</literal> with this option "
1210"will never remove packages, only allow adding new ones. Configuration Item: "
1211"<literal>APT::Get::Upgrade-Allow-New</literal>."
1212msgstr ""
1213
1214#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1215#: apt-get.8.xml:1
2a52e8c5 1216msgid ""
7d76ea1d
DK
1217"Do not upgrade packages; when used in conjunction with "
1218"<literal>install</literal>, <literal>no-upgrade</literal> will prevent "
1219"packages on the command line from being upgraded if they are already "
1220"installed. Configuration Item: <literal>APT::Get::Upgrade</literal>."
2a52e8c5
DK
1221msgstr ""
1222
2a52e8c5 1223#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1224#: apt-get.8.xml:1
2a52e8c5 1225msgid ""
7d76ea1d
DK
1226"Do not install new packages; when used in conjunction with "
1227"<literal>install</literal>, <literal>only-upgrade</literal> will install "
1228"upgrades for already installed packages only and ignore requests to install "
1229"new packages. Configuration Item: "
1230"<literal>APT::Get::Only-Upgrade</literal>."
2a52e8c5
DK
1231msgstr ""
1232
7d76ea1d 1233#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1234#: apt-get.8.xml:1
864fe99c
MV
1235msgid ""
1236"This is a dangerous option that will cause apt to continue without prompting "
1237"if it is doing downgrades. It should not be used except in very special "
1238"situations. Using it can potentially destroy your system! Configuration "
1239"Item: <literal>APT::Get::allow-downgrades</literal>. Introduced in APT 1.1."
1240msgstr ""
1241
1242#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1243#: apt-get.8.xml:1
864fe99c
MV
1244msgid ""
1245"Force yes; this is a dangerous option that will cause apt to continue "
1246"without prompting if it is removing essentials. It should not be used except "
1247"in very special situations. Using it can potentially destroy your system! "
1248"Configuration Item: "
1249"<literal>APT::Get::allow-remove-essential</literal>. Introduced in APT 1.1."
1250msgstr ""
1251
1252#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1253#: apt-get.8.xml:1
864fe99c
MV
1254msgid ""
1255"Force yes; this is a dangerous option that will cause apt to continue "
1256"without prompting if it is changing held packages. It should not be used "
1257"except in very special situations. Using it can potentially destroy your "
1258"system! Configuration Item: "
1259"<literal>APT::Get::allow-change-held-packages</literal>. Introduced in APT "
1260"1.1."
1261msgstr ""
1262
1263#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1264#: apt-get.8.xml:1
2a52e8c5 1265msgid ""
7d76ea1d
DK
1266"Force yes; this is a dangerous option that will cause apt to continue "
1267"without prompting if it is doing something potentially harmful. It should "
1268"not be used except in very special situations. Using "
1269"<literal>force-yes</literal> can potentially destroy your system! "
864fe99c
MV
1270"Configuration Item: <literal>APT::Get::force-yes</literal>. This is "
1271"deprecated and replaced by <option>--allow-downgrades</option>, "
1272"<option>--allow-remove-essential</option>, "
1273"<option>--allow-change-held-packages</option> in 1.1."
2a52e8c5
DK
1274msgstr ""
1275
7d76ea1d 1276#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1277#: apt-get.8.xml:1
2a52e8c5 1278msgid ""
7d76ea1d
DK
1279"Instead of fetching the files to install their URIs are printed. Each URI "
1280"will have the path, the destination file name, the size and the expected MD5 "
1281"hash. Note that the file name to write to will not always match the file "
1282"name on the remote site! This also works with the <literal>source</literal> "
1283"and <literal>update</literal> commands. When used with the "
1284"<literal>update</literal> command the MD5 and size are not included, and it "
1285"is up to the user to decompress any compressed files. Configuration Item: "
1286"<literal>APT::Get::Print-URIs</literal>."
2a52e8c5
DK
1287msgstr ""
1288
7d76ea1d 1289#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1290#: apt-get.8.xml:1
2a52e8c5 1291msgid ""
7d76ea1d
DK
1292"Use purge instead of remove for anything that would be removed. An asterisk "
1293"(\"*\") will be displayed next to packages which are scheduled to be "
1294"purged. <option>remove --purge</option> is equivalent to the "
1295"<option>purge</option> command. Configuration Item: "
1296"<literal>APT::Get::Purge</literal>."
2a52e8c5
DK
1297msgstr ""
1298
aec22160 1299#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1300#: apt-get.8.xml:1
2a52e8c5 1301msgid ""
7d76ea1d
DK
1302"Re-install packages that are already installed and at the newest version. "
1303"Configuration Item: <literal>APT::Get::ReInstall</literal>."
2a52e8c5
DK
1304msgstr ""
1305
aec22160 1306#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1307#: apt-get.8.xml:1
2a52e8c5 1308msgid ""
7d76ea1d
DK
1309"This option is on by default; use <literal>--no-list-cleanup</literal> to "
1310"turn it off. When it is on, <command>apt-get</command> will automatically "
1311"manage the contents of <filename>&statedir;/lists</filename> to ensure that "
1312"obsolete files are erased. The only reason to turn it off is if you "
1313"frequently change your sources list. Configuration Item: "
1314"<literal>APT::Get::List-Cleanup</literal>."
2a52e8c5
DK
1315msgstr ""
1316
aec22160 1317#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1318#: apt-get.8.xml:1
2a52e8c5 1319msgid ""
7d76ea1d
DK
1320"This option controls the default input to the policy engine; it creates a "
1321"default pin at priority 990 using the specified release string. This "
1322"overrides the general settings in "
1323"<filename>/etc/apt/preferences</filename>. Specifically pinned packages are "
1324"not affected by the value of this option. In short, this option lets you "
1325"have simple control over which distribution packages will be retrieved "
1326"from. Some common examples might be <option>-t '2.1*'</option>, <option>-t "
1327"unstable</option> or <option>-t sid</option>. Configuration Item: "
1328"<literal>APT::Default-Release</literal>; see also the &apt-preferences; "
1329"manual page."
2a52e8c5
DK
1330msgstr ""
1331
7d76ea1d 1332#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1333#: apt-get.8.xml:1
7d76ea1d
DK
1334msgid ""
1335"Only perform operations that are 'trivial'. Logically this can be considered "
1336"related to <option>--assume-yes</option>; where "
1337"<option>--assume-yes</option> will answer yes to any prompt, "
1338"<option>--trivial-only</option> will answer no. Configuration Item: "
1339"<literal>APT::Get::Trivial-Only</literal>."
2a52e8c5
DK
1340msgstr ""
1341
2a52e8c5 1342#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1343#: apt-get.8.xml:1
2a52e8c5 1344msgid ""
7d76ea1d
DK
1345"If any packages are to be removed apt-get immediately aborts without "
1346"prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
2a52e8c5
DK
1347msgstr ""
1348
2a52e8c5 1349#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1350#: apt-get.8.xml:1
2a52e8c5 1351msgid ""
7d76ea1d
DK
1352"If the command is either <literal>install</literal> or "
1353"<literal>remove</literal>, then this option acts like running the "
1354"<literal>autoremove</literal> command, removing unused dependency "
1355"packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>."
2a52e8c5
DK
1356msgstr ""
1357
2a52e8c5 1358#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1359#: apt-get.8.xml:1
2a52e8c5 1360msgid ""
7d76ea1d
DK
1361"Only has meaning for the <literal>source</literal> and "
1362"<literal>build-dep</literal> commands. Indicates that the given source "
1363"names are not to be mapped through the binary table. This means that if "
1364"this option is specified, these commands will only accept source package "
1365"names as arguments, rather than accepting binary package names and looking "
1366"up the corresponding source package. Configuration Item: "
1367"<literal>APT::Get::Only-Source</literal>."
2a52e8c5
DK
1368msgstr ""
1369
2a52e8c5 1370#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1371#: apt-get.8.xml:1
2a52e8c5 1372msgid ""
7d76ea1d
DK
1373"Download only the diff, dsc, or tar file of a source archive. Configuration "
1374"Item: <literal>APT::Get::Diff-Only</literal>, "
1375"<literal>APT::Get::Dsc-Only</literal>, and "
1376"<literal>APT::Get::Tar-Only</literal>."
2a52e8c5
DK
1377msgstr ""
1378
2a52e8c5 1379#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1380#: apt-get.8.xml:1
2a52e8c5 1381msgid ""
7d76ea1d
DK
1382"Only process architecture-dependent build-dependencies. Configuration Item: "
1383"<literal>APT::Get::Arch-Only</literal>."
2a52e8c5
DK
1384msgstr ""
1385
2a52e8c5 1386#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1387#: apt-get.8.xml:1
2a52e8c5 1388msgid ""
7d76ea1d 1389"Ignore if packages can't be authenticated and don't prompt about it. This "
864fe99c
MV
1390"can be useful while working with local repositories, but is a huge security "
1391"risk if data authenticity isn't ensured in another way by the user itself. "
1392"The usage of the <option>Trusted</option> option for &sources-list; entries "
1393"should usually be preferred over this global override. Configuration Item: "
7d76ea1d
DK
1394"<literal>APT::Get::AllowUnauthenticated</literal>."
1395msgstr ""
1396
ce34af08 1397#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1398#: apt-get.8.xml:1
ce34af08 1399msgid ""
5b1e4e86
MV
1400"Forbid the update command to acquire unverifiable data from configured "
1401"sources. Apt will fail at the update command for repositories without valid "
1402"cryptographically signatures. Configuration Item: "
1403"<literal>Acquire::AllowInsecureRepositories</literal>."
1404msgstr ""
1405
1406#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1407#: apt-get.8.xml:1
5b1e4e86 1408msgid ""
ce34af08
MV
1409"Show user friendly progress information in the terminal window when packages "
1410"are installed, upgraded or removed. For a machine parsable version of this "
1411"data see README.progress-reporting in the apt doc directory. Configuration "
506ab3c7 1412"Item: <literal>Dpkg::Progress</literal> and "
ce34af08
MV
1413"<literal>Dpkg::Progress-Fancy</literal>."
1414msgstr ""
1415
7d76ea1d 1416#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
1417#: apt-get.8.xml:1 apt-cache.8.xml:1 apt-key.8.xml:1 apt-mark.8.xml:1
1418#: apt.conf.5.xml:1 apt_preferences.5.xml:1
7d76ea1d
DK
1419msgid "Files"
1420msgstr ""
1421
2a52e8c5 1422#. type: Content of: <refentry><refsect1><para>
04f27fae 1423#: apt-get.8.xml:1
7d76ea1d 1424msgid ""
1c937475
MV
1425"&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
1426"&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
1427"APT Howto."
7d76ea1d
DK
1428msgstr ""
1429
2a52e8c5 1430#. type: Content of: <refentry><refsect1><para>
04f27fae 1431#: apt-get.8.xml:1
2a52e8c5 1432msgid ""
7d76ea1d
DK
1433"<command>apt-get</command> returns zero on normal operation, decimal 100 on "
1434"error."
2a52e8c5
DK
1435msgstr ""
1436
2a52e8c5 1437#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 1438#: apt-cache.8.xml:1
7d76ea1d 1439msgid "query the APT cache"
2a52e8c5
DK
1440msgstr ""
1441
2a52e8c5 1442#. type: Content of: <refentry><refsect1><para>
04f27fae 1443#: apt-cache.8.xml:1
2a52e8c5 1444msgid ""
7d76ea1d
DK
1445"<command>apt-cache</command> performs a variety of operations on APT's "
1446"package cache. <command>apt-cache</command> does not manipulate the state of "
1447"the system but does provide operations to search and generate interesting "
8561c2fe
DK
1448"output from the package metadata. The metadata is acquired and updated via "
1449"the 'update' command of e.g. <command>apt-get</command>, so that it can be "
1450"outdated if the last update is too long ago, but in exchange "
1451"<command>apt-cache</command> works independently of the availability of the "
1452"configured sources (e.g. offline)."
2a52e8c5
DK
1453msgstr ""
1454
2a52e8c5 1455#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1456#: apt-cache.8.xml:1
2a52e8c5 1457msgid ""
7d76ea1d
DK
1458"<literal>gencaches</literal> creates APT's package cache. This is done "
1459"implicitly by all commands needing this cache if it is missing or outdated."
2a52e8c5
DK
1460msgstr ""
1461
7d76ea1d 1462#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
04f27fae
MV
1463#: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
1464#: apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1 apt-cache.8.xml:1
7d76ea1d 1465msgid "&synopsis-pkg;"
2a52e8c5
DK
1466msgstr ""
1467
1468#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1469#: apt-cache.8.xml:1
2a52e8c5 1470msgid ""
7d76ea1d
DK
1471"<literal>showpkg</literal> displays information about the packages listed on "
1472"the command line. Remaining arguments are package names. The available "
1473"versions and reverse dependencies of each package listed are listed, as well "
1474"as forward dependencies for each version. Forward (normal) dependencies are "
1475"those packages upon which the package in question depends; reverse "
1476"dependencies are those packages that depend upon the package in "
1477"question. Thus, forward dependencies must be satisfied for a package, but "
1478"reverse dependencies need not be. For instance, <command>apt-cache showpkg "
1479"libreadline2</command> would produce output similar to the following:"
2a52e8c5
DK
1480msgstr ""
1481
7d76ea1d 1482#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
04f27fae 1483#: apt-cache.8.xml:1
7d76ea1d 1484#, no-wrap
2a52e8c5 1485msgid ""
7d76ea1d
DK
1486"Package: libreadline2\n"
1487"Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
1488"Reverse Depends: \n"
1489" libreadlineg2,libreadline2\n"
1490" libreadline2-altdev,libreadline2\n"
1491"Dependencies:\n"
1492"2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
1493"Provides:\n"
1494"2.1-12 - \n"
1495"Reverse Provides: \n"
2a52e8c5
DK
1496msgstr ""
1497
1498#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1499#: apt-cache.8.xml:1
7d76ea1d
DK
1500msgid ""
1501"Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
1502"ncurses3.0 which must be installed for libreadline2 to work. In turn, "
1503"libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
1504"libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
1505"installed; libreadlineg2 and libreadline2-altdev do not have to be "
1506"installed. For the specific meaning of the remainder of the output it is "
1507"best to consult the apt source code."
2a52e8c5
DK
1508msgstr ""
1509
aa2218b2 1510#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1511#: apt-cache.8.xml:1
aa2218b2 1512msgid ""
7d76ea1d
DK
1513"<literal>stats</literal> displays some statistics about the cache. No "
1514"further arguments are expected. Statistics reported are:"
aa2218b2
MV
1515msgstr ""
1516
7d76ea1d 1517#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1518#: apt-cache.8.xml:1
aa2218b2 1519msgid ""
7d76ea1d
DK
1520"<literal>Total package names</literal> is the number of package names found "
1521"in the cache."
aa2218b2
MV
1522msgstr ""
1523
7d76ea1d 1524#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1525#: apt-cache.8.xml:1
aa2218b2 1526msgid ""
7d76ea1d
DK
1527"<literal>Normal packages</literal> is the number of regular, ordinary "
1528"package names; these are packages that bear a one-to-one correspondence "
1529"between their names and the names used by other packages for them in "
1530"dependencies. The majority of packages fall into this category."
2a52e8c5
DK
1531msgstr ""
1532
7d76ea1d 1533#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1534#: apt-cache.8.xml:1
2a52e8c5 1535msgid ""
7d76ea1d
DK
1536"<literal>Pure virtual packages</literal> is the number of packages that "
1537"exist only as a virtual package name; that is, packages only \"provide\" the "
1538"virtual package name, and no package actually uses the name. For instance, "
1539"\"mail-transport-agent\" in the Debian system is a pure virtual package; "
1540"several packages provide \"mail-transport-agent\", but there is no package "
1541"named \"mail-transport-agent\"."
2a52e8c5
DK
1542msgstr ""
1543
7d76ea1d 1544#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1545#: apt-cache.8.xml:1
2a52e8c5 1546msgid ""
7d76ea1d
DK
1547"<literal>Single virtual packages</literal> is the number of packages with "
1548"only one package providing a particular virtual package. For example, in the "
1549"Debian system, \"X11-text-viewer\" is a virtual package, but only one "
1550"package, xless, provides \"X11-text-viewer\"."
2a52e8c5
DK
1551msgstr ""
1552
7d76ea1d 1553#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1554#: apt-cache.8.xml:1
7d76ea1d
DK
1555msgid ""
1556"<literal>Mixed virtual packages</literal> is the number of packages that "
1557"either provide a particular virtual package or have the virtual package name "
1558"as the package name. For instance, in the Debian system, \"debconf\" is both "
1559"an actual package, and provided by the debconf-tiny package."
2a52e8c5
DK
1560msgstr ""
1561
7d76ea1d 1562#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1563#: apt-cache.8.xml:1
2a52e8c5 1564msgid ""
7d76ea1d
DK
1565"<literal>Missing</literal> is the number of package names that were "
1566"referenced in a dependency but were not provided by any package. Missing "
1567"packages may be an evidence if a full distribution is not accessed, or if a "
1568"package (real or virtual) has been dropped from the distribution. Usually "
1569"they are referenced from Conflicts or Breaks statements."
2a52e8c5
DK
1570msgstr ""
1571
7d76ea1d 1572#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1573#: apt-cache.8.xml:1
2a52e8c5 1574msgid ""
7d76ea1d 1575"<literal>Total distinct</literal> versions is the number of package versions "
864fe99c 1576"found in the cache. If more than one distribution is being accessed (for "
7d76ea1d
DK
1577"instance, \"stable\" and \"unstable\"), this value can be considerably "
1578"larger than the number of total package names."
2a52e8c5
DK
1579msgstr ""
1580
7d76ea1d 1581#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1582#: apt-cache.8.xml:1
2a52e8c5 1583msgid ""
7d76ea1d
DK
1584"<literal>Total dependencies</literal> is the number of dependency "
1585"relationships claimed by all of the packages in the cache."
2a52e8c5
DK
1586msgstr ""
1587
2a52e8c5 1588#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1589#: apt-cache.8.xml:1
2a52e8c5 1590msgid ""
7d76ea1d
DK
1591"<literal>showsrc</literal> displays all the source package records that "
1592"match the given package names. All versions are shown, as well as all "
864fe99c
MV
1593"records that declare the name to be a binary package. Use "
1594"<option>--only-source</option> to display only source package names."
2a52e8c5
DK
1595msgstr ""
1596
2a52e8c5 1597#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1598#: apt-cache.8.xml:1
2a52e8c5 1599msgid ""
7d76ea1d
DK
1600"<literal>dump</literal> shows a short listing of every package in the "
1601"cache. It is primarily for debugging."
2a52e8c5
DK
1602msgstr ""
1603
7d76ea1d 1604#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1605#: apt-cache.8.xml:1
2a52e8c5 1606msgid ""
7d76ea1d
DK
1607"<literal>dumpavail</literal> prints out an available list to stdout. This is "
1608"suitable for use with &dpkg; and is used by the &dselect; method."
2a52e8c5
DK
1609msgstr ""
1610
7d76ea1d 1611#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1612#: apt-cache.8.xml:1
2a52e8c5 1613msgid ""
7d76ea1d
DK
1614"<literal>unmet</literal> displays a summary of all unmet dependencies in the "
1615"package cache."
2a52e8c5
DK
1616msgstr ""
1617
7d76ea1d 1618#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1619#: apt-cache.8.xml:1
2a52e8c5 1620msgid ""
7d76ea1d
DK
1621"<literal>show</literal> performs a function similar to <command>dpkg "
1622"--print-avail</command>; it displays the package records for the named "
1623"packages."
2a52e8c5
DK
1624msgstr ""
1625
7d76ea1d 1626#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
04f27fae 1627#: apt-cache.8.xml:1
7d76ea1d 1628msgid "&synopsis-regex;"
2a52e8c5
DK
1629msgstr ""
1630
2a52e8c5 1631#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1632#: apt-cache.8.xml:1
2a52e8c5 1633msgid ""
7d76ea1d
DK
1634"<literal>search</literal> performs a full text search on all available "
1635"package lists for the POSIX regex pattern given, see &regex;. It searches "
1636"the package names and the descriptions for an occurrence of the regular "
1637"expression and prints out the package name and the short description, "
1638"including virtual package names. If <option>--full</option> is given then "
1639"output identical to <literal>show</literal> is produced for each matched "
1640"package, and if <option>--names-only</option> is given then the long "
864fe99c
MV
1641"description is not searched, only the package name and provided packages "
1642"are."
2a52e8c5
DK
1643msgstr ""
1644
1645#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1646#: apt-cache.8.xml:1
7d76ea1d
DK
1647msgid ""
1648"Separate arguments can be used to specify multiple search patterns that are "
1649"and'ed together."
2a52e8c5
DK
1650msgstr ""
1651
2a52e8c5 1652#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1653#: apt-cache.8.xml:1
2a52e8c5 1654msgid ""
7d76ea1d
DK
1655"<literal>depends</literal> shows a listing of each dependency a package has "
1656"and all the possible other packages that can fulfill that dependency."
2a52e8c5
DK
1657msgstr ""
1658
1659#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1660#: apt-cache.8.xml:1
2a52e8c5 1661msgid ""
7d76ea1d
DK
1662"<literal>rdepends</literal> shows a listing of each reverse dependency a "
1663"package has."
2a52e8c5
DK
1664msgstr ""
1665
7d76ea1d 1666#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 1667#: apt-cache.8.xml:1
7d76ea1d 1668msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
2a52e8c5
DK
1669msgstr ""
1670
2a52e8c5 1671#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1672#: apt-cache.8.xml:1
2a52e8c5 1673msgid ""
7d76ea1d
DK
1674"This command prints the name of each package APT knows. The optional "
1675"argument is a prefix match to filter the name list. The output is suitable "
1676"for use in a shell tab complete function and the output is generated "
1677"extremely quickly. This command is best used with the "
1678"<option>--generate</option> option."
2a52e8c5
DK
1679msgstr ""
1680
2a52e8c5 1681#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1682#: apt-cache.8.xml:1
2a52e8c5 1683msgid ""
7d76ea1d
DK
1684"Note that a package which APT knows of is not necessarily available to "
1685"download, installable or installed, e.g. virtual packages are also listed in "
1686"the generated list."
2a52e8c5
DK
1687msgstr ""
1688
1689#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1690#: apt-cache.8.xml:1
2a52e8c5 1691msgid ""
7d76ea1d
DK
1692"<literal>dotty</literal> takes a list of packages on the command line and "
1693"generates output suitable for use by dotty from the <ulink "
1694"url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> "
1695"package. The result will be a set of nodes and edges representing the "
1696"relationships between the packages. By default the given packages will trace "
1697"out all dependent packages; this can produce a very large graph. To limit "
1698"the output to only the packages listed on the command line, set the "
1699"<literal>APT::Cache::GivenOnly</literal> option."
2a52e8c5
DK
1700msgstr ""
1701
2a52e8c5 1702#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1703#: apt-cache.8.xml:1
2a52e8c5 1704msgid ""
7d76ea1d
DK
1705"The resulting nodes will have several shapes; normal packages are boxes, "
1706"pure virtual packages are triangles, mixed virtual packages are diamonds, "
1707"missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
1708"packages), blue lines are pre-depends, green lines are conflicts."
2a52e8c5
DK
1709msgstr ""
1710
2a52e8c5 1711#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1712#: apt-cache.8.xml:1
7d76ea1d 1713msgid "Caution, dotty cannot graph larger sets of packages."
2a52e8c5
DK
1714msgstr ""
1715
7d76ea1d 1716#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1717#: apt-cache.8.xml:1
2a52e8c5 1718msgid ""
7d76ea1d
DK
1719"The same as <literal>dotty</literal>, only for xvcg from the <ulink "
1720"url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG "
1721"tool</ulink>."
2a52e8c5
DK
1722msgstr ""
1723
7d76ea1d 1724#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 1725#: apt-cache.8.xml:1
7d76ea1d 1726msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
2a52e8c5
DK
1727msgstr ""
1728
7d76ea1d 1729#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1730#: apt-cache.8.xml:1
2a52e8c5 1731msgid ""
7d76ea1d
DK
1732"<literal>policy</literal> is meant to help debug issues relating to the "
1733"preferences file. With no arguments it will print out the priorities of each "
1734"source. Otherwise it prints out detailed information about the priority "
1735"selection of the named package."
2a52e8c5
DK
1736msgstr ""
1737
7d76ea1d 1738#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1739#: apt-cache.8.xml:1
2a52e8c5 1740msgid ""
7d76ea1d
DK
1741"<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
1742"to mimic the output format and a subset of the functionality of the Debian "
1743"archive management tool, <literal>madison</literal>. It displays available "
1744"versions of a package in a tabular format. Unlike the original "
1745"<literal>madison</literal>, it can only display information for the "
1746"architecture for which APT has retrieved package lists "
1747"(<literal>APT::Architecture</literal>)."
2a52e8c5
DK
1748msgstr ""
1749
7d76ea1d 1750#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1751#: apt-cache.8.xml:1
7d76ea1d
DK
1752msgid ""
1753"Select the file to store the package cache. The package cache is the primary "
1754"cache used by all operations. Configuration Item: "
1755"<literal>Dir::Cache::pkgcache</literal>."
2a52e8c5
DK
1756msgstr ""
1757
7d76ea1d 1758#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1759#: apt-cache.8.xml:1
7d76ea1d
DK
1760msgid ""
1761"Select the file to store the source cache. The source is used only by "
1762"<literal>gencaches</literal> and it stores a parsed version of the package "
1763"information from remote sources. When building the package cache the source "
1764"cache is used to avoid reparsing all of the package files. Configuration "
1765"Item: <literal>Dir::Cache::srcpkgcache</literal>."
2a52e8c5
DK
1766msgstr ""
1767
7d76ea1d 1768#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1769#: apt-cache.8.xml:1
2a52e8c5 1770msgid ""
7d76ea1d
DK
1771"Quiet; produces output suitable for logging, omitting progress indicators. "
1772"More q's will produce more quietness up to a maximum of 2. You can also use "
1773"<option>-q=#</option> to set the quietness level, overriding the "
1774"configuration file. Configuration Item: <literal>quiet</literal>."
2a52e8c5
DK
1775msgstr ""
1776
7d76ea1d 1777#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1778#: apt-cache.8.xml:1
7d76ea1d
DK
1779msgid ""
1780"Print only important dependencies; for use with <literal>unmet</literal> and "
1781"<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
1782"be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
2a52e8c5
DK
1783msgstr ""
1784
7d76ea1d 1785#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1786#: apt-cache.8.xml:1
2a52e8c5 1787msgid ""
864fe99c 1788"Per default the <command>depends</command> and <command>rdepends</command> "
7d76ea1d
DK
1789"print all dependencies. This can be tweaked with these flags which will omit "
1790"the specified dependency type. Configuration Item: "
1791"<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> "
1792"e.g. <literal>APT::Cache::ShowRecommends</literal>."
2a52e8c5
DK
1793msgstr ""
1794
7d76ea1d 1795#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1796#: apt-cache.8.xml:1
864fe99c
MV
1797msgid ""
1798"Per default <command>depends</command> and <command>rdepends</command> print "
1799"only dependencies explicitly expressed in the metadata. With this flag it "
5ff8dd6b
JAK
1800"will also show dependencies implicitly added based on the encountered data. "
1801"A <literal>Conflicts: foo</literal> e.g. expresses implicitly that this "
1802"package also conflicts with the package foo from any other architecture. "
1803"Configuration Item: <literal>APT::Cache::ShowImplicit</literal>."
864fe99c
MV
1804msgstr ""
1805
1806#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1807#: apt-cache.8.xml:1
2a52e8c5 1808msgid ""
7d76ea1d
DK
1809"Print full package records when searching. Configuration Item: "
1810"<literal>APT::Cache::ShowFull</literal>."
2a52e8c5
DK
1811msgstr ""
1812
7d76ea1d 1813#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1814#: apt-cache.8.xml:1
2a52e8c5 1815msgid ""
7d76ea1d
DK
1816"Print full records for all available versions. This is the default; to turn "
1817"it off, use <option>--no-all-versions</option>. If "
1818"<option>--no-all-versions</option> is specified, only the candidate version "
1819"will be displayed (the one which would be selected for installation). This "
1820"option is only applicable to the <literal>show</literal> command. "
1821"Configuration Item: <literal>APT::Cache::AllVersions</literal>."
2a52e8c5
DK
1822msgstr ""
1823
7d76ea1d 1824#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1825#: apt-cache.8.xml:1
2a52e8c5 1826msgid ""
7d76ea1d
DK
1827"Perform automatic package cache regeneration, rather than use the cache as "
1828"it is. This is the default; to turn it off, use "
1829"<option>--no-generate</option>. Configuration Item: "
1830"<literal>APT::Cache::Generate</literal>."
2a52e8c5
DK
1831msgstr ""
1832
7d76ea1d 1833#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1834#: apt-cache.8.xml:1
2a52e8c5 1835msgid ""
864fe99c
MV
1836"Only search on the package and provided package names, not the long "
1837"descriptions. Configuration Item: <literal>APT::Cache::NamesOnly</literal>."
2a52e8c5
DK
1838msgstr ""
1839
7d76ea1d 1840#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1841#: apt-cache.8.xml:1
2a52e8c5 1842msgid ""
7d76ea1d
DK
1843"Make <literal>pkgnames</literal> print all names, including virtual packages "
1844"and missing dependencies. Configuration Item: "
1845"<literal>APT::Cache::AllNames</literal>."
2a52e8c5
DK
1846msgstr ""
1847
7d76ea1d 1848#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1849#: apt-cache.8.xml:1
2a52e8c5 1850msgid ""
7d76ea1d
DK
1851"Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1852"that all packages mentioned are printed once. Configuration Item: "
1853"<literal>APT::Cache::RecurseDepends</literal>."
b81dbe40
DK
1854msgstr ""
1855
7d76ea1d 1856#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1857#: apt-cache.8.xml:1
b81dbe40 1858msgid ""
7d76ea1d
DK
1859"Limit the output of <literal>depends</literal> and "
1860"<literal>rdepends</literal> to packages which are currently installed. "
1861"Configuration Item: <literal>APT::Cache::Installed</literal>."
2a52e8c5
DK
1862msgstr ""
1863
7d76ea1d 1864#. type: Content of: <refentry><refsect1><para>
04f27fae 1865#: apt-cache.8.xml:1
7d76ea1d 1866msgid "&apt-conf;, &sources-list;, &apt-get;"
2a52e8c5
DK
1867msgstr ""
1868
7d76ea1d 1869#. type: Content of: <refentry><refsect1><para>
04f27fae 1870#: apt-cache.8.xml:1
b81dbe40 1871msgid ""
7d76ea1d
DK
1872"<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1873"on error."
b81dbe40
DK
1874msgstr ""
1875
7d76ea1d 1876#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 1877#: apt-key.8.xml:1
7d76ea1d 1878msgid "APT key management utility"
2a52e8c5
DK
1879msgstr ""
1880
7d76ea1d 1881#. type: Content of: <refentry><refsect1><para>
04f27fae 1882#: apt-key.8.xml:1
2a52e8c5 1883msgid ""
7d76ea1d
DK
1884"<command>apt-key</command> is used to manage the list of keys used by apt to "
1885"authenticate packages. Packages which have been authenticated using these "
1886"keys will be considered trusted."
2a52e8c5
DK
1887msgstr ""
1888
7d76ea1d 1889#. type: Content of: <refentry><refsect1><title>
04f27fae 1890#: apt-key.8.xml:1
7d76ea1d 1891msgid "Commands"
2a52e8c5
DK
1892msgstr ""
1893
7d76ea1d 1894#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1895#: apt-key.8.xml:1
2a52e8c5 1896msgid ""
7d76ea1d
DK
1897"Add a new key to the list of trusted keys. The key is read from the "
1898"filename given with the parameter &synopsis-param-filename; or if the "
1899"filename is <literal>-</literal> from standard input."
2a52e8c5
DK
1900msgstr ""
1901
cbbee23e
DK
1902#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1903#: apt-key.8.xml:1
1904msgid ""
1905"It is critical that keys added manually via <command>apt-key</command> are "
1906"verified to belong to the owner of the repositories they claim to be for "
1907"otherwise the &apt-secure; infrastructure is completely undermined."
1908msgstr ""
1909
7d76ea1d 1910#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1911#: apt-key.8.xml:1
7d76ea1d 1912msgid "Remove a key from the list of trusted keys."
2a52e8c5
DK
1913msgstr ""
1914
7d76ea1d 1915#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1916#: apt-key.8.xml:1
7d76ea1d 1917msgid "Output the key &synopsis-param-keyid; to standard output."
2a52e8c5
DK
1918msgstr ""
1919
7d76ea1d 1920#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1921#: apt-key.8.xml:1
7d76ea1d 1922msgid "Output all trusted keys to standard output."
2a52e8c5
DK
1923msgstr ""
1924
7d76ea1d 1925#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1926#: apt-key.8.xml:1
7d76ea1d 1927msgid "List trusted keys."
2a52e8c5
DK
1928msgstr ""
1929
7d76ea1d 1930#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1931#: apt-key.8.xml:1
7d76ea1d 1932msgid "List fingerprints of trusted keys."
b81dbe40
DK
1933msgstr ""
1934
7d76ea1d 1935#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1936#: apt-key.8.xml:1
b81dbe40 1937msgid ""
cbbee23e
DK
1938"Pass advanced options to gpg. With <command>adv --recv-key</command> you can "
1939"e.g. download key from keyservers directly into the the trusted set of "
1940"keys. Note that there are <emphasis>no</emphasis> checks performed, so it is "
1941"easy to completely undermine the &apt-secure; infrastructure if used without "
1942"care."
b81dbe40
DK
1943msgstr ""
1944
7d76ea1d 1945#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1946#: apt-key.8.xml:1
2a52e8c5 1947msgid ""
7d76ea1d
DK
1948"Update the local keyring with the archive keyring and remove from the local "
1949"keyring the archive keys which are no longer valid. The archive keyring is "
1950"shipped in the <literal>archive-keyring</literal> package of your "
ce34af08 1951"distribution, e.g. the &keyring-package; package in &keyring-distro;."
2a52e8c5
DK
1952msgstr ""
1953
7d76ea1d 1954#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1955#: apt-key.8.xml:1
2a52e8c5 1956msgid ""
6072cbe1
JR
1957"Perform an update working similarly to the <command>update</command> command "
1958"above, but get the archive keyring from a URI instead and validate it "
1959"against a master key. This requires an installed &wget; and an APT build "
1960"configured to have a server to fetch from and a master keyring to validate. "
1961"APT in Debian does not support this command, relying on "
1962"<command>update</command> instead, but Ubuntu's APT does."
2a52e8c5
DK
1963msgstr ""
1964
7d76ea1d 1965#. type: Content of: <refentry><refsect1><title>
cbbee23e 1966#: apt-key.8.xml:1 apt-mark.8.xml:1 apt-mark.8.xml:1 apt-cdrom.8.xml:1
7d76ea1d 1967msgid "Options"
2a52e8c5
DK
1968msgstr ""
1969
7d76ea1d 1970#. type: Content of: <refentry><refsect1><para>
04f27fae 1971#: apt-key.8.xml:1
2a52e8c5 1972msgid ""
7d76ea1d
DK
1973"Note that options need to be defined before the commands described in the "
1974"previous section."
2a52e8c5
DK
1975msgstr ""
1976
7d76ea1d 1977#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1978#: apt-key.8.xml:1
2a52e8c5 1979msgid ""
6072cbe1 1980"With this option it is possible to specify a particular keyring file the "
7d76ea1d
DK
1981"command should operate on. The default is that a command is executed on the "
1982"<filename>trusted.gpg</filename> file as well as on all parts in the "
1983"<filename>trusted.gpg.d</filename> directory, though "
1984"<filename>trusted.gpg</filename> is the primary keyring which means that "
1985"e.g. new keys are added to this one."
2a52e8c5
DK
1986msgstr ""
1987
7d76ea1d 1988#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 1989#: apt-key.8.xml:1
7d76ea1d 1990msgid "<filename>/etc/apt/trustdb.gpg</filename>"
2a52e8c5
DK
1991msgstr ""
1992
7d76ea1d 1993#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1994#: apt-key.8.xml:1
7d76ea1d 1995msgid "Local trust database of archive keys."
2a52e8c5
DK
1996msgstr ""
1997
7d76ea1d 1998#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 1999#: apt-key.8.xml:1
694ef56e 2000msgid "&keyring-filename;"
2a52e8c5
DK
2001msgstr ""
2002
7d76ea1d 2003#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2004#: apt-key.8.xml:1
694ef56e 2005msgid "Keyring of &keyring-distro; archive trusted keys."
2a52e8c5
DK
2006msgstr ""
2007
7d76ea1d 2008#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 2009#: apt-key.8.xml:1
694ef56e 2010msgid "&keyring-removed-filename;"
2a52e8c5
DK
2011msgstr ""
2012
7d76ea1d 2013#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2014#: apt-key.8.xml:1
694ef56e 2015msgid "Keyring of &keyring-distro; archive removed trusted keys."
b39c1859
MV
2016msgstr ""
2017
7d76ea1d 2018#. type: Content of: <refentry><refsect1><para>
04f27fae 2019#: apt-key.8.xml:1
7d76ea1d 2020msgid "&apt-get;, &apt-secure;"
2a52e8c5
DK
2021msgstr ""
2022
7d76ea1d 2023#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2024#: apt-mark.8.xml:1
cbbee23e 2025msgid "show, set and unset various settings for a package"
2a52e8c5
DK
2026msgstr ""
2027
7d76ea1d 2028#. type: Content of: <refentry><refsect1><para>
04f27fae 2029#: apt-mark.8.xml:1
2a52e8c5 2030msgid ""
051029f8
DK
2031"<command>apt-mark</command> can be used as a unified front-end to set "
2032"various settings for a package, such as marking a package as being "
cbbee23e
DK
2033"automatically/manually installed or changing <command>dpkg</command> "
2034"selections such as hold, install, deinstall and purge which are respected "
2035"e.g. by <command>apt-get dselect-upgrade</command> or "
2036"<command>aptitude</command>."
2037msgstr ""
2038
2039#. type: Content of: <refentry><refsect1><title>
2040#: apt-mark.8.xml:1
051029f8 2041msgid "Automatically and Manually Installed Packages"
2a52e8c5
DK
2042msgstr ""
2043
7d76ea1d 2044#. type: Content of: <refentry><refsect1><para>
04f27fae 2045#: apt-mark.8.xml:1
2a52e8c5 2046msgid ""
7d76ea1d
DK
2047"When you request that a package is installed, and as a result other packages "
2048"are installed to satisfy its dependencies, the dependencies are marked as "
051029f8
DK
2049"being automatically installed, while the package you installed explicitly is "
2050"marked as manually installed. Once an automatically installed package is no "
cbbee23e
DK
2051"longer depended on by any manually installed package it is considered no "
2052"longer needed and e.g. <command>apt-get</command> or "
2053"<command>aptitude</command> will at least suggest removing them."
2a52e8c5
DK
2054msgstr ""
2055
7d76ea1d 2056#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2057#: apt-mark.8.xml:1
2a52e8c5 2058msgid ""
7d76ea1d
DK
2059"<literal>auto</literal> is used to mark a package as being automatically "
2060"installed, which will cause the package to be removed when no more manually "
2061"installed packages depend on this package."
2a52e8c5
DK
2062msgstr ""
2063
7d76ea1d 2064#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2065#: apt-mark.8.xml:1
7d76ea1d
DK
2066msgid ""
2067"<literal>manual</literal> is used to mark a package as being manually "
2068"installed, which will prevent the package from being automatically removed "
2069"if no other packages depend on it."
2a52e8c5
DK
2070msgstr ""
2071
7d76ea1d 2072#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2073#: apt-mark.8.xml:1
2a52e8c5 2074msgid ""
cbbee23e
DK
2075"<literal>showauto</literal> is used to print a list of automatically "
2076"installed packages with each package on a new line. All automatically "
2077"installed packages will be listed if no package is given. If packages are "
2078"given only those which are automatically installed will be shown."
2a52e8c5
DK
2079msgstr ""
2080
7d76ea1d 2081#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2082#: apt-mark.8.xml:1
7d76ea1d 2083msgid ""
cbbee23e
DK
2084"<literal>showmanual</literal> can be used in the same way as "
2085"<literal>showauto</literal> except that it will print a list of manually "
2086"installed packages instead."
2087msgstr ""
2088
2089#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2090#: apt-mark.8.xml:1
2091msgid ""
2092"Read/Write package stats from the filename given with the parameter "
2093"&synopsis-param-filename; instead of from the default location, which is "
2094"<filename>extended_status</filename> in the directory defined by the "
2095"Configuration Item: <literal>Dir::State</literal>."
2096msgstr ""
2097
2098#. type: Content of: <refentry><refsect1><title>
2099#: apt-mark.8.xml:1
051029f8 2100msgid "Prevent Changes for a Package"
2a52e8c5
DK
2101msgstr ""
2102
7d76ea1d 2103#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2104#: apt-mark.8.xml:1
2a52e8c5 2105msgid ""
cbbee23e
DK
2106"<literal>hold</literal> is used to mark a package as held back, which will "
2107"prevent the package from being automatically installed, upgraded or removed."
2a52e8c5
DK
2108msgstr ""
2109
7d76ea1d 2110#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2111#: apt-mark.8.xml:1
7d76ea1d 2112msgid ""
cbbee23e
DK
2113"<literal>unhold</literal> is used to cancel a previously set hold on a "
2114"package to allow all actions again."
2a52e8c5
DK
2115msgstr ""
2116
7d76ea1d 2117#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2118#: apt-mark.8.xml:1
2a52e8c5 2119msgid ""
7d76ea1d
DK
2120"<literal>showhold</literal> is used to print a list of packages on hold in "
2121"the same way as for the other show commands."
2a52e8c5
DK
2122msgstr ""
2123
cbbee23e
DK
2124#. type: Content of: <refentry><refsect1><title>
2125#: apt-mark.8.xml:1
051029f8 2126msgid "Schedule Packages for Install, Remove and Purge"
cbbee23e
DK
2127msgstr ""
2128
2129#. type: Content of: <refentry><refsect1><para>
04f27fae 2130#: apt-mark.8.xml:1
7d76ea1d 2131msgid ""
add81166 2132"Some front-ends like <command>apt-get dselect-upgrade</command> can be used "
051029f8
DK
2133"to apply previously scheduled changes to the install state of packages. Such "
2134"changes can be scheduled with the <option>install</option>, "
cbbee23e
DK
2135"<option>remove</option> (also known as <option>deinstall</option>) and "
2136"<option>purge</option> commands. Packages with a specific selection can be "
2137"displayed with <option>showinstall</option>, <option>showremove</option> and "
2138"<option>showpurge</option> respectively. More information about these so "
2139"called dpkg selections can be found in &dpkg;."
2a52e8c5
DK
2140msgstr ""
2141
7d76ea1d 2142#. type: Content of: <refentry><refsect1><para>
04f27fae 2143#: apt-mark.8.xml:1
7d76ea1d
DK
2144msgid ""
2145"<command>apt-mark</command> returns zero on normal operation, non-zero on "
2146"error."
2a52e8c5
DK
2147msgstr ""
2148
7d76ea1d 2149#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2150#: apt-secure.8.xml:1
7d76ea1d 2151msgid "Archive authentication support for APT"
2a52e8c5
DK
2152msgstr ""
2153
7d76ea1d 2154#. type: Content of: <refentry><refsect1><para>
04f27fae 2155#: apt-secure.8.xml:1
7d76ea1d 2156msgid ""
cbbee23e
DK
2157"Starting with version 0.6, <command>APT</command> contains code that does "
2158"signature checking of the Release file for all repositories. This ensures "
2159"that data like packages in the archive can't be modified by people who have "
2160"no access to the Release file signing key."
2a52e8c5
DK
2161msgstr ""
2162
7d76ea1d 2163#. type: Content of: <refentry><refsect1><para>
04f27fae 2164#: apt-secure.8.xml:1
7d76ea1d 2165msgid ""
051029f8
DK
2166"If an archive has an unsigned Release file or no Release file at all current "
2167"APT versions will raise a warning in <command>update</command> operations "
2168"and front-ends like <command>apt-get</command> will require explicit "
2169"confirmation if an installation request includes a package from such an "
2170"unauthenticated archive."
2a52e8c5
DK
2171msgstr ""
2172
2a52e8c5 2173#. type: Content of: <refentry><refsect1><para>
04f27fae 2174#: apt-secure.8.xml:1
2a52e8c5 2175msgid ""
cbbee23e
DK
2176"In the future APT will refuse to work with unauthenticated repositories by "
2177"default until support for them is removed entirely. Users have the option to "
2178"opt-in to this behavior already by setting the configuration option "
2179"<option>Acquire::AllowInsecureRepositories</option> to "
2180"<literal>false</literal>."
2181msgstr ""
2182
2183#. type: Content of: <refentry><refsect1><para>
2184#: apt-secure.8.xml:1
2185msgid ""
add81166 2186"Note: All APT-based package management front-ends like &apt-get;, &aptitude; "
cbbee23e
DK
2187"and &synaptic; support this authentication feature, so this manpage uses "
2188"<literal>APT</literal> to refer to them all for simplicity only."
2a52e8c5
DK
2189msgstr ""
2190
2191#. type: Content of: <refentry><refsect1><title>
04f27fae 2192#: apt-secure.8.xml:1
051029f8 2193msgid "Trusted Repositories"
2a52e8c5
DK
2194msgstr ""
2195
2196#. type: Content of: <refentry><refsect1><para>
04f27fae 2197#: apt-secure.8.xml:1
2a52e8c5 2198msgid ""
cbbee23e 2199"The chain of trust from an APT archive to the end user is made up of several "
75d9bdba
JR
2200"steps. <command>apt-secure</command> is the last step in this chain; "
2201"trusting an archive does not mean that you trust its packages not to contain "
2202"malicious code, but means that you trust the archive maintainer. It's the "
2203"archive maintainer's responsibility to ensure that the archive's integrity "
2204"is preserved."
2a52e8c5
DK
2205msgstr ""
2206
2207#. type: Content of: <refentry><refsect1><para>
04f27fae 2208#: apt-secure.8.xml:1
2a52e8c5 2209msgid ""
7d76ea1d
DK
2210"apt-secure does not review signatures at a package level. If you require "
2211"tools to do this you should look at <command>debsig-verify</command> and "
2212"<command>debsign</command> (provided in the debsig-verify and devscripts "
2213"packages respectively)."
2a52e8c5
DK
2214msgstr ""
2215
7d76ea1d 2216#. type: Content of: <refentry><refsect1><para>
04f27fae 2217#: apt-secure.8.xml:1
7d76ea1d 2218msgid ""
051029f8 2219"The chain of trust in Debian starts (e.g.) when a maintainer uploads a new "
cbbee23e
DK
2220"package or a new version of a package to the Debian archive. In order to "
2221"become effective, this upload needs to be signed by a key contained in one "
051029f8 2222"of the Debian package maintainer keyrings (available in the debian-keyring "
cbbee23e
DK
2223"package). Maintainers' keys are signed by other maintainers following "
2224"pre-established procedures to ensure the identity of the key holder. Similar "
2225"procedures exist in all Debian-based distributions."
2a52e8c5
DK
2226msgstr ""
2227
2228#. type: Content of: <refentry><refsect1><para>
04f27fae 2229#: apt-secure.8.xml:1
2a52e8c5 2230msgid ""
7d76ea1d 2231"Once the uploaded package is verified and included in the archive, the "
75d9bdba
JR
2232"maintainer signature is stripped off, and checksums of the package are "
2233"computed and put in the Packages file. The checksums of all of the Packages "
2234"files are then computed and put into the Release file. The Release file is "
ce34af08
MV
2235"then signed by the archive key for this &keyring-distro; release, and "
2236"distributed alongside the packages and the Packages files on "
2237"&keyring-distro; mirrors. The keys are in the &keyring-distro; archive "
2238"keyring available in the &keyring-package; package."
2a52e8c5
DK
2239msgstr ""
2240
7d76ea1d 2241#. type: Content of: <refentry><refsect1><para>
04f27fae 2242#: apt-secure.8.xml:1
7d76ea1d 2243msgid ""
75d9bdba
JR
2244"End users can check the signature of the Release file, extract a checksum of "
2245"a package from it and compare it with the checksum of the package they "
2246"downloaded by hand - or rely on APT doing this automatically."
2a52e8c5
DK
2247msgstr ""
2248
2249#. type: Content of: <refentry><refsect1><para>
04f27fae 2250#: apt-secure.8.xml:1
2a52e8c5 2251msgid ""
7d76ea1d
DK
2252"Notice that this is distinct from checking signatures on a per package "
2253"basis. It is designed to prevent two possible attacks:"
2a52e8c5
DK
2254msgstr ""
2255
7d76ea1d 2256#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2257#: apt-secure.8.xml:1
2a52e8c5 2258msgid ""
7d76ea1d 2259"<literal>Network \"man in the middle\" attacks</literal>. Without signature "
75d9bdba
JR
2260"checking, malicious agents can introduce themselves into the package "
2261"download process and provide malicious software either by controlling a "
2262"network element (router, switch, etc.) or by redirecting traffic to a rogue "
2263"server (through ARP or DNS spoofing attacks)."
2a52e8c5
DK
2264msgstr ""
2265
7d76ea1d 2266#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2267#: apt-secure.8.xml:1
2a52e8c5 2268msgid ""
7d76ea1d
DK
2269"<literal>Mirror network compromise</literal>. Without signature checking, a "
2270"malicious agent can compromise a mirror host and modify the files in it to "
2271"propagate malicious software to all users downloading packages from that "
2272"host."
2a52e8c5
DK
2273msgstr ""
2274
7d76ea1d 2275#. type: Content of: <refentry><refsect1><para>
04f27fae 2276#: apt-secure.8.xml:1
2a52e8c5 2277msgid ""
cbbee23e
DK
2278"However, it does not defend against a compromise of the master server itself "
2279"(which signs the packages) or against a compromise of the key used to sign "
2280"the Release files. In any case, this mechanism can complement a per-package "
2281"signature."
2a52e8c5
DK
2282msgstr ""
2283
7d76ea1d 2284#. type: Content of: <refentry><refsect1><title>
04f27fae 2285#: apt-secure.8.xml:1
051029f8 2286msgid "User Configuration"
2a52e8c5
DK
2287msgstr ""
2288
7d76ea1d 2289#. type: Content of: <refentry><refsect1><para>
04f27fae 2290#: apt-secure.8.xml:1
2a52e8c5 2291msgid ""
7d76ea1d 2292"<command>apt-key</command> is the program that manages the list of keys used "
cbbee23e
DK
2293"by APT to trust repositories. It can be used to add or remove keys as well "
2294"as list the trusted keys. Limiting which key(s) are able to sign which "
2295"archive is possible via the <option>Signed-By</option> in &sources-list;."
2296msgstr ""
2297
2298#. type: Content of: <refentry><refsect1><para>
2299#: apt-secure.8.xml:1
2300msgid ""
d04e44ac 2301"Note that a default installation already contains all keys to securely "
cbbee23e
DK
2302"acquire packages from the default repositories, so fiddling with "
2303"<command>apt-key</command> is only needed if third-party repositories are "
2304"added."
2a52e8c5
DK
2305msgstr ""
2306
7d76ea1d 2307#. type: Content of: <refentry><refsect1><para>
04f27fae 2308#: apt-secure.8.xml:1
2a52e8c5 2309msgid ""
7d76ea1d
DK
2310"In order to add a new key you need to first download it (you should make "
2311"sure you are using a trusted communication channel when retrieving it), add "
2312"it with <command>apt-key</command> and then run <command>apt-get "
2313"update</command> so that apt can download and verify the "
2314"<filename>InRelease</filename> or <filename>Release.gpg</filename> files "
2315"from the archives you have configured."
2a52e8c5
DK
2316msgstr ""
2317
7d76ea1d 2318#. type: Content of: <refentry><refsect1><title>
04f27fae 2319#: apt-secure.8.xml:1
051029f8 2320msgid "Archive Configuration"
7d76ea1d
DK
2321msgstr ""
2322
2323#. type: Content of: <refentry><refsect1><para>
04f27fae 2324#: apt-secure.8.xml:1
2a52e8c5 2325msgid ""
7d76ea1d
DK
2326"If you want to provide archive signatures in an archive under your "
2327"maintenance you have to:"
2a52e8c5
DK
2328msgstr ""
2329
7d76ea1d 2330#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2331#: apt-secure.8.xml:1
43be0ac4 2332msgid ""
7d76ea1d
DK
2333"<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
2334"already. You can do this by running <command>apt-ftparchive "
2335"release</command> (provided in apt-utils)."
0fd68707
MV
2336msgstr ""
2337
7d76ea1d 2338#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2339#: apt-secure.8.xml:1
0fd68707 2340msgid ""
7d76ea1d
DK
2341"<emphasis>Sign it</emphasis>. You can do this by running <command>gpg "
2342"--clearsign -o InRelease Release</command> and <command>gpg -abs -o "
2343"Release.gpg Release</command>."
b39c1859
MV
2344msgstr ""
2345
7d76ea1d 2346#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2347#: apt-secure.8.xml:1
b39c1859 2348msgid ""
051029f8 2349"<emphasis>Publish the key fingerprint</emphasis>, so that your users will "
7d76ea1d 2350"know what key they need to import in order to authenticate the files in the "
cbbee23e
DK
2351"archive. It is best to ship your key in its own keyring package like "
2352"&keyring-distro; does with &keyring-package; to be able to distribute "
2353"updates and key transitions automatically later."
2354msgstr ""
2355
2356#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2357#: apt-secure.8.xml:1
2358msgid ""
2359"<emphasis>Provide instructions on how to add your archive and "
d04e44ac 2360"key</emphasis>. If your users can't acquire your key securely the chain of "
cbbee23e
DK
2361"trust described above is broken. How you can help users add your key "
2362"depends on your archive and target audience ranging from having your keyring "
2363"package included in another archive users already have configured (like the "
051029f8 2364"default repositories of their distribution) to leveraging the web of trust."
43be0ac4
MV
2365msgstr ""
2366
7d76ea1d 2367#. type: Content of: <refentry><refsect1><para>
04f27fae 2368#: apt-secure.8.xml:1
7d76ea1d 2369msgid ""
75d9bdba
JR
2370"Whenever the contents of the archive change (new packages are added or "
2371"removed) the archive maintainer has to follow the first two steps outlined "
2372"above."
2a52e8c5
DK
2373msgstr ""
2374
7d76ea1d 2375#. type: Content of: <refentry><refsect1><para>
04f27fae 2376#: apt-secure.8.xml:1
2a52e8c5 2377msgid ""
7d76ea1d 2378"&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
480c2414 2379"&debsign;, &debsig-verify;, &gpg;"
2a52e8c5
DK
2380msgstr ""
2381
2382#. type: Content of: <refentry><refsect1><para>
04f27fae 2383#: apt-secure.8.xml:1
2a52e8c5 2384msgid ""
7d76ea1d 2385"For more background information you might want to review the <ulink "
cbbee23e 2386"url=\"https://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
051029f8
DK
2387"Security Infrastructure</ulink> chapter of the Securing Debian Manual (also "
2388"available in the harden-doc package) and the <ulink "
7d76ea1d
DK
2389"url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
2390"Distribution HOWTO</ulink> by V. Alex Brennen."
2391msgstr ""
2392
2393#. type: Content of: <refentry><refsect1><title>
04f27fae 2394#: apt-secure.8.xml:1
7d76ea1d 2395msgid "Manpage Authors"
2a52e8c5
DK
2396msgstr ""
2397
2398#. type: Content of: <refentry><refsect1><para>
04f27fae 2399#: apt-secure.8.xml:1
2a52e8c5 2400msgid ""
7d76ea1d
DK
2401"This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
2402"Jones, Colin Walters, Florian Weimer and Michael Vogt."
2a52e8c5
DK
2403msgstr ""
2404
2a52e8c5 2405#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2406#: apt-cdrom.8.xml:1
7d76ea1d 2407msgid "APT CD-ROM management utility"
2a52e8c5
DK
2408msgstr ""
2409
2a52e8c5 2410#. type: Content of: <refentry><refsect1><para>
04f27fae 2411#: apt-cdrom.8.xml:1
2a52e8c5 2412msgid ""
7d76ea1d
DK
2413"<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
2414"available sources. <command>apt-cdrom</command> takes care of determining "
2415"the structure of the disc as well as correcting for several possible "
2416"mis-burns and verifying the index files."
2a52e8c5
DK
2417msgstr ""
2418
7d76ea1d 2419#. type: Content of: <refentry><refsect1><para>
04f27fae 2420#: apt-cdrom.8.xml:1
2a52e8c5 2421msgid ""
7d76ea1d
DK
2422"It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
2423"system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
2424"must be inserted and scanned separately to account for possible mis-burns."
2a52e8c5
DK
2425msgstr ""
2426
2a52e8c5 2427#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2428#: apt-cdrom.8.xml:1
2a52e8c5 2429msgid ""
7d76ea1d
DK
2430"<literal>add</literal> is used to add a new disc to the source list. It will "
2431"unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
2432"to scan it and copy the index files. If the disc does not have a proper "
2433"<filename>.disk</filename> directory you will be prompted for a descriptive "
2434"title."
2a52e8c5
DK
2435msgstr ""
2436
2a52e8c5 2437#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2438#: apt-cdrom.8.xml:1
2a52e8c5 2439msgid ""
7d76ea1d
DK
2440"APT uses a CD-ROM ID to track which disc is currently in the drive and "
2441"maintains a database of these IDs in "
2442"<filename>&statedir;/cdroms.list</filename>"
2a52e8c5
DK
2443msgstr ""
2444
2a52e8c5 2445#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2446#: apt-cdrom.8.xml:1
2a52e8c5 2447msgid ""
7d76ea1d
DK
2448"A debugging tool to report the identity of the current disc as well as the "
2449"stored file name"
2a52e8c5
DK
2450msgstr ""
2451
2a52e8c5 2452#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2453#: apt-cdrom.8.xml:1
ce34af08
MV
2454msgid ""
2455"Do not try to auto-detect the CD-ROM path. Usually combined with the "
2456"<option>--cdrom</option> option. Configuration Item: "
2457"<literal>Acquire::cdrom::AutoDetect</literal>."
2458msgstr ""
2459
2460#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2461#: apt-cdrom.8.xml:1
2a52e8c5 2462msgid ""
7d76ea1d
DK
2463"Mount point; specify the location to mount the CD-ROM. This mount point must "
2464"be listed in <filename>/etc/fstab</filename> and properly configured. "
2465"Configuration Item: <literal>Acquire::cdrom::mount</literal>."
2a52e8c5
DK
2466msgstr ""
2467
2468#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2469#: apt-cdrom.8.xml:1
2a52e8c5 2470msgid ""
7d76ea1d
DK
2471"Rename a disc; change the label of a disc or override the disc's given "
2472"label. This option will cause <command>apt-cdrom</command> to prompt for a "
2473"new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
2a52e8c5
DK
2474msgstr ""
2475
2476#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2477#: apt-cdrom.8.xml:1
2a52e8c5 2478msgid ""
7d76ea1d
DK
2479"No mounting; prevent <command>apt-cdrom</command> from mounting and "
2480"unmounting the mount point. Configuration Item: "
2481"<literal>APT::CDROM::NoMount</literal>."
2a52e8c5
DK
2482msgstr ""
2483
2484#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2485#: apt-cdrom.8.xml:1
2a52e8c5 2486msgid ""
7d76ea1d
DK
2487"Fast Copy; Assume the package files are valid and do not check every "
2488"package. This option should be used only if <command>apt-cdrom</command> has "
2489"been run on this disc before and did not detect any errors. Configuration "
2490"Item: <literal>APT::CDROM::Fast</literal>."
2a52e8c5
DK
2491msgstr ""
2492
2493#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2494#: apt-cdrom.8.xml:1
2a52e8c5 2495msgid ""
7d76ea1d
DK
2496"Thorough Package Scan; This option may be needed with some old Debian "
2497"1.1/1.2 discs that have Package files in strange places. It takes much "
2498"longer to scan the CD but will pick them all up."
2a52e8c5
DK
2499msgstr ""
2500
2501#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2502#: apt-cdrom.8.xml:1
2a52e8c5 2503msgid ""
7d76ea1d
DK
2504"No Changes; Do not change the &sources-list; file and do not write index "
2505"files. Everything is still checked however. Configuration Item: "
2506"<literal>APT::CDROM::NoAct</literal>."
2a52e8c5
DK
2507msgstr ""
2508
7d76ea1d 2509#. type: Content of: <refentry><refsect1><para>
04f27fae 2510#: apt-cdrom.8.xml:1
7d76ea1d 2511msgid "&apt-conf;, &apt-get;, &sources-list;"
2a52e8c5
DK
2512msgstr ""
2513
7d76ea1d 2514#. type: Content of: <refentry><refsect1><para>
04f27fae 2515#: apt-cdrom.8.xml:1
2a52e8c5 2516msgid ""
7d76ea1d
DK
2517"<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
2518"on error."
2a52e8c5
DK
2519msgstr ""
2520
7d76ea1d 2521#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2522#: apt-config.8.xml:1
7d76ea1d 2523msgid "APT Configuration Query program"
2a52e8c5
DK
2524msgstr ""
2525
7d76ea1d 2526#. type: Content of: <refentry><refsect1><para>
04f27fae 2527#: apt-config.8.xml:1
bcf91c1b 2528msgid ""
7d76ea1d
DK
2529"<command>apt-config</command> is an internal program used by various "
2530"portions of the APT suite to provide consistent configurability. It accesses "
2531"the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
2532"manner that is easy to use for scripted applications."
bcf91c1b
DK
2533msgstr ""
2534
2535#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2536#: apt-config.8.xml:1
bcf91c1b 2537msgid ""
7d76ea1d
DK
2538"shell is used to access the configuration information from a shell "
2539"script. It is given pairs of arguments, the first being a shell variable and "
2540"the second the configuration value to query. As output it lists shell "
2541"assignment commands for each value present. In a shell script it should be "
2542"used as follows:"
bcf91c1b
DK
2543msgstr ""
2544
7d76ea1d 2545#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
04f27fae 2546#: apt-config.8.xml:1
7d76ea1d 2547#, no-wrap
2a52e8c5 2548msgid ""
7d76ea1d
DK
2549"OPTS=\"-f\"\n"
2550"RES=`apt-config shell OPTS MyApp::options`\n"
2551"eval $RES\n"
2a52e8c5
DK
2552msgstr ""
2553
2554#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2555#: apt-config.8.xml:1
2a52e8c5 2556msgid ""
7d76ea1d
DK
2557"This will set the shell environment variable $OPTS to the value of "
2558"MyApp::options with a default of <option>-f</option>."
2a52e8c5
DK
2559msgstr ""
2560
2a52e8c5 2561#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2562#: apt-config.8.xml:1
2a52e8c5 2563msgid ""
7d76ea1d
DK
2564"The configuration item may be postfixed with a /[fdbi]. f returns file "
2565"names, d returns directories, b returns true or false and i returns an "
2566"integer. Each of the returns is normalized and verified internally."
2a52e8c5
DK
2567msgstr ""
2568
2a52e8c5 2569#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2570#: apt-config.8.xml:1
7d76ea1d 2571msgid "Just show the contents of the configuration space."
2a52e8c5
DK
2572msgstr ""
2573
2574#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2575#: apt-config.8.xml:1
2a52e8c5 2576msgid ""
7d76ea1d
DK
2577"Include options which have an empty value. This is the default, so use "
2578"--no-empty to remove them from the output."
30549c0c
MV
2579msgstr ""
2580
7d76ea1d 2581#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
04f27fae 2582#: apt-config.8.xml:1
7d76ea1d 2583msgid "&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n"
2a52e8c5
DK
2584msgstr ""
2585
2a52e8c5 2586#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2587#: apt-config.8.xml:1
2a52e8c5 2588msgid ""
7d76ea1d
DK
2589"Defines the output of each config option. &percnt;t will be replaced with "
2590"its individual name, &percnt;f with its full hierarchical name and &percnt;v "
2591"with its value. Use uppercase letters and special characters in the value "
2592"will be encoded to ensure that it can e.g. be safely used in a quoted-string "
2593"as defined by RFC822. Additionally &percnt;n will be replaced by a newline, "
2594"and &percnt;N by a tab. A &percnt; can be printed by using &percnt;&percnt;."
2a52e8c5
DK
2595msgstr ""
2596
7d76ea1d 2597#. type: Content of: <refentry><refsect1><para>
04f27fae
MV
2598#: apt-config.8.xml:1 apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1
2599#: apt-ftparchive.1.xml:1
7d76ea1d 2600msgid "&apt-conf;"
2a52e8c5
DK
2601msgstr ""
2602
7d76ea1d 2603#. type: Content of: <refentry><refsect1><para>
04f27fae 2604#: apt-config.8.xml:1
2a52e8c5 2605msgid ""
7d76ea1d
DK
2606"<command>apt-config</command> returns zero on normal operation, decimal 100 "
2607"on error."
30549c0c
MV
2608msgstr ""
2609
7d76ea1d 2610#. type: Content of: <refentry><refentryinfo><author><contrib>
04f27fae 2611#: apt.conf.5.xml:1
7d76ea1d 2612msgid "Initial documentation of Debug::*."
2a52e8c5
DK
2613msgstr ""
2614
7d76ea1d 2615#. type: Content of: <refentry><refentryinfo><author><email>
04f27fae 2616#: apt.conf.5.xml:1
7d76ea1d
DK
2617msgid "dburrows@debian.org"
2618msgstr ""
2619
2620#. type: Content of: <refentry><refmeta><manvolnum>
04f27fae 2621#: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
7d76ea1d
DK
2622msgid "5"
2623msgstr ""
2624
2625#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2626#: apt.conf.5.xml:1
7d76ea1d
DK
2627msgid "Configuration file for APT"
2628msgstr ""
2629
2630#. type: Content of: <refentry><refsect1><para>
04f27fae 2631#: apt.conf.5.xml:1
30549c0c 2632msgid ""
5723791e
JR
2633"<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
2634"by all the tools in the APT suite of tools, though it is by no means the "
2635"only place options can be set. The suite also shares a common command line "
2636"parser to provide a uniform environment."
30549c0c
MV
2637msgstr ""
2638
7d76ea1d 2639#. type: Content of: <refentry><refsect1><orderedlist><para>
04f27fae 2640#: apt.conf.5.xml:1
2a52e8c5 2641msgid ""
7d76ea1d
DK
2642"When an APT tool starts up it will read the configuration files in the "
2643"following order:"
2a52e8c5
DK
2644msgstr ""
2645
7d76ea1d 2646#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2647#: apt.conf.5.xml:1
2a52e8c5 2648msgid ""
7d76ea1d
DK
2649"the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
2650"any)"
2a52e8c5
DK
2651msgstr ""
2652
7d76ea1d 2653#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2654#: apt.conf.5.xml:1
2a52e8c5 2655msgid ""
7d76ea1d
DK
2656"all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
2657"order which have either no or \"<literal>conf</literal>\" as filename "
2658"extension and which only contain alphanumeric, hyphen (-), underscore (_) "
2659"and period (.) characters. Otherwise APT will print a notice that it has "
44477002 2660"ignored a file, unless that file matches a pattern in the "
5723791e 2661"<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
7d76ea1d 2662"case it will be silently ignored."
2a52e8c5
DK
2663msgstr ""
2664
7d76ea1d 2665#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2666#: apt.conf.5.xml:1
7d76ea1d 2667msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>"
2a52e8c5
DK
2668msgstr ""
2669
cbbee23e
DK
2670#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2671#: apt.conf.5.xml:1
2672msgid ""
2673"all options set in the binary specific configuration subtree are moved into "
2674"the root of the tree."
2675msgstr ""
2676
7d76ea1d 2677#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2678#: apt.conf.5.xml:1
2a52e8c5 2679msgid ""
7d76ea1d
DK
2680"the command line options are applied to override the configuration "
2681"directives or to load even more configuration files."
2a52e8c5
DK
2682msgstr ""
2683
7d76ea1d 2684#. type: Content of: <refentry><refsect1><title>
04f27fae 2685#: apt.conf.5.xml:1
7d76ea1d 2686msgid "Syntax"
2a52e8c5
DK
2687msgstr ""
2688
7d76ea1d 2689#. type: Content of: <refentry><refsect1><para>
04f27fae 2690#: apt.conf.5.xml:1
2a52e8c5 2691msgid ""
7d76ea1d
DK
2692"The configuration file is organized in a tree with options organized into "
2693"functional groups. Option specification is given with a double colon "
5723791e 2694"notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
7d76ea1d
DK
2695"within the APT tool group, for the Get tool. Options do not inherit from "
2696"their parent groups."
2a52e8c5
DK
2697msgstr ""
2698
7d76ea1d 2699#. type: Content of: <refentry><refsect1><para>
04f27fae 2700#: apt.conf.5.xml:1
2a52e8c5 2701msgid ""
7d76ea1d
DK
2702"Syntactically the configuration language is modeled after what the ISC tools "
2703"such as bind and dhcp use. Lines starting with <literal>//</literal> are "
2704"treated as comments (ignored), as well as all text between "
2705"<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. "
5723791e
JR
2706"Each line is of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. "
2707"The quotation marks and trailing semicolon are required. The value must be "
2708"on one line, and there is no kind of string concatenation. Values must not "
2709"include backslashes or extra quotation marks. Option names are made up of "
2710"alphanumeric characters and the characters \"/-:._+\". A new scope can be "
2711"opened with curly braces, like this:"
2a52e8c5
DK
2712msgstr ""
2713
7d76ea1d 2714#. type: Content of: <refentry><refsect1><informalexample><programlisting>
04f27fae 2715#: apt.conf.5.xml:1
7d76ea1d 2716#, no-wrap
2a52e8c5 2717msgid ""
7d76ea1d
DK
2718"APT {\n"
2719" Get {\n"
2720" Assume-Yes \"true\";\n"
2721" Fix-Broken \"true\";\n"
2722" };\n"
2723"};\n"
2a52e8c5
DK
2724msgstr ""
2725
7d76ea1d 2726#. type: Content of: <refentry><refsect1><para>
04f27fae 2727#: apt.conf.5.xml:1
2a52e8c5 2728msgid ""
7d76ea1d
DK
2729"with newlines placed to make it more readable. Lists can be created by "
2730"opening a scope and including a single string enclosed in quotes followed by "
5723791e 2731"a semicolon. Multiple entries can be included, separated by a semicolon."
2a52e8c5
DK
2732msgstr ""
2733
7d76ea1d 2734#. type: Content of: <refentry><refsect1><informalexample><programlisting>
04f27fae 2735#: apt.conf.5.xml:1
7d76ea1d
DK
2736#, no-wrap
2737msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
c77d6597
MV
2738msgstr ""
2739
7d76ea1d 2740#. type: Content of: <refentry><refsect1><para>
04f27fae 2741#: apt.conf.5.xml:1
c77d6597 2742msgid ""
00612a8c
DK
2743"In general the sample configuration file &configureindex; is a good guide "
2744"for how it should look."
c77d6597
MV
2745msgstr ""
2746
7d76ea1d 2747#. type: Content of: <refentry><refsect1><para>
04f27fae 2748#: apt.conf.5.xml:1
2a52e8c5 2749msgid ""
5723791e
JR
2750"Case is not significant in names of configuration items, so in the previous "
2751"example you could use <literal>dpkg::pre-install-pkgs</literal>."
2a52e8c5
DK
2752msgstr ""
2753
7d76ea1d 2754#. type: Content of: <refentry><refsect1><para>
04f27fae 2755#: apt.conf.5.xml:1
2a52e8c5 2756msgid ""
5723791e
JR
2757"Names for the configuration items are optional if a list is defined as can "
2758"be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
2759"you don't specify a name a new entry will simply add a new option to the "
2760"list. If you specify a name you can override the option in the same way as "
2761"any other option by reassigning a new value to the option."
2a52e8c5
DK
2762msgstr ""
2763
7d76ea1d 2764#. type: Content of: <refentry><refsect1><para>
04f27fae 2765#: apt.conf.5.xml:1
c77d6597 2766msgid ""
5723791e
JR
2767"Two special commands are defined: <literal>#include</literal> (which is "
2768"deprecated and not supported by alternative implementations) and "
2769"<literal>#clear</literal>. <literal>#include</literal> will include the "
2770"given file, unless the filename ends in a slash, in which case the whole "
2771"directory is included. <literal>#clear</literal> is used to erase a part of "
2772"the configuration tree. The specified element and all its descendants are "
7d76ea1d 2773"erased. (Note that these lines also need to end with a semicolon.)"
c77d6597
MV
2774msgstr ""
2775
7d76ea1d 2776#. type: Content of: <refentry><refsect1><para>
04f27fae 2777#: apt.conf.5.xml:1
2a52e8c5 2778msgid ""
5723791e
JR
2779"The <literal>#clear</literal> command is the only way to delete a list or a "
2780"complete scope. Reopening a scope (or using the syntax described below with "
2781"an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
2782"previously written entries. Options can only be overridden by addressing a "
2783"new value to them - lists and scopes can't be overridden, only cleared."
2a52e8c5
DK
2784msgstr ""
2785
7d76ea1d 2786#. type: Content of: <refentry><refsect1><para>
04f27fae 2787#: apt.conf.5.xml:1
2a52e8c5 2788msgid ""
5723791e 2789"All of the APT tools take an -o option which allows an arbitrary "
7d76ea1d
DK
2790"configuration directive to be specified on the command line. The syntax is a "
2791"full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
2792"followed by an equals sign then the new value of the option. To append a new "
5723791e
JR
2793"element to a list, add a trailing <literal>::</literal> to the name of the "
2794"list. (As you might suspect, the scope syntax can't be used on the command "
2795"line.)"
2a52e8c5
DK
2796msgstr ""
2797
7d76ea1d 2798#. type: Content of: <refentry><refsect1><para>
04f27fae 2799#: apt.conf.5.xml:1
5723791e
JR
2800msgid ""
2801"Note that appending items to a list using <literal>::</literal> only works "
2802"for one item per line, and that you should not use it in combination with "
2803"the scope syntax (which adds <literal>::</literal> implicitly). Using both "
2804"syntaxes together will trigger a bug which some users unfortunately depend "
2805"on: an option with the unusual name \"<literal>::</literal>\" which acts "
2806"like every other option with a name. This introduces many problems; for one "
2807"thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
2808"syntax in the hope of appending to a list will achieve the opposite, as only "
2809"the last assignment for this option \"<literal>::</literal>\" will be "
2810"used. Future versions of APT will raise errors and stop working if they "
2811"encounter this misuse, so please correct such statements now while APT "
2812"doesn't explicitly complain about them."
a7307a87
DK
2813msgstr ""
2814
7d76ea1d 2815#. type: Content of: <refentry><refsect1><title>
04f27fae 2816#: apt.conf.5.xml:1
7d76ea1d 2817msgid "The APT Group"
2a52e8c5
DK
2818msgstr ""
2819
7d76ea1d 2820#. type: Content of: <refentry><refsect1><para>
04f27fae 2821#: apt.conf.5.xml:1
2a52e8c5 2822msgid ""
7d76ea1d
DK
2823"This group of options controls general APT behavior as well as holding the "
2824"options for all of the tools."
2a52e8c5
DK
2825msgstr ""
2826
2a52e8c5 2827#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2828#: apt.conf.5.xml:1
2a52e8c5 2829msgid ""
7d76ea1d
DK
2830"System Architecture; sets the architecture to use when fetching files and "
2831"parsing package lists. The internal default is the architecture apt was "
2832"compiled for."
a7307a87
DK
2833msgstr ""
2834
a7307a87 2835#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2836#: apt.conf.5.xml:1
a7307a87 2837msgid ""
5723791e
JR
2838"All Architectures the system supports. For instance, CPUs implementing the "
2839"<literal>amd64</literal> (also called <literal>x86-64</literal>) "
2840"instruction set are also able to execute binaries compiled for the "
2841"<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
2842"is used when fetching files and parsing package lists. The initial default "
2843"is always the system's native architecture "
2844"(<literal>APT::Architecture</literal>), and foreign architectures are added "
2845"to the default list when they are registered via <command>dpkg "
2846"--add-architecture</command>."
2a52e8c5
DK
2847msgstr ""
2848
5ff8dd6b
JAK
2849#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2850#: apt.conf.5.xml:1
2851msgid ""
2852"This scope defines which compression formats are supported, how compression "
2853"and decompression can be performed if support for this format isn't built "
2854"into apt directly and a cost-value indicating how costly it is to compress "
2855"something in this format. As an example the following configuration stanza "
2856"would allow apt to download and uncompress as well as create and store files "
2857"with the low-cost <literal>.reversed</literal> file extension which it will "
2858"pass to the command <command>rev</command> without additional commandline "
2859"parameters for compression and uncompression:"
2860msgstr ""
2861
2862#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><informalexample><programlisting>
2863#: apt.conf.5.xml:1
2864#, no-wrap
2865msgid ""
2866"APT::Compressor::rev {\n"
2867"\tName \"rev\";\n"
2868"\tExtension \".reversed\";\n"
2869"\tBinary \"rev\";\n"
2870"\tCompressArg {};\n"
2871"\tUncompressArg {};\n"
2872"\tCost \"10\";\n"
2873"};\n"
2874msgstr ""
2875
2a52e8c5 2876#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2877#: apt.conf.5.xml:1
7ffbb475
MV
2878msgid ""
2879"List of all build profiles enabled for build-dependency resolution, without "
2880"the \"<literal>profile.</literal>\" namespace prefix. By default this list "
2881"is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by "
2882"&dpkg-buildpackage; overrides the list notation."
2883msgstr ""
2884
2885#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2886#: apt.conf.5.xml:1
2a52e8c5 2887msgid ""
5723791e 2888"Default release to install packages from if more than one version is "
7d76ea1d 2889"available. Contains release name, codename or release version. Examples: "
9feb98eb
DK
2890"'stable', 'testing', 'unstable', '&debian-stable-codename;', "
2891"'&debian-testing-codename;', '4.0', '5.0*'. See also &apt-preferences;."
2a52e8c5
DK
2892msgstr ""
2893
2a52e8c5 2894#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2895#: apt.conf.5.xml:1
2a52e8c5 2896msgid ""
5723791e 2897"Ignore held packages; this global option causes the problem resolver to "
7d76ea1d 2898"ignore held packages in its decision making."
2a52e8c5
DK
2899msgstr ""
2900
2a52e8c5 2901#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2902#: apt.conf.5.xml:1
2a52e8c5 2903msgid ""
7d76ea1d
DK
2904"Defaults to on. When turned on the autoclean feature will remove any "
2905"packages which can no longer be downloaded from the cache. If turned off "
2906"then packages that are locally installed are also excluded from cleaning - "
2907"but note that APT provides no direct means to reinstall them."
2a52e8c5
DK
2908msgstr ""
2909
2a52e8c5 2910#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2911#: apt.conf.5.xml:1
2a52e8c5 2912msgid ""
5723791e
JR
2913"Defaults to on, which will cause APT to install essential and important "
2914"packages as soon as possible in an install/upgrade operation, in order to "
2915"limit the effect of a failing &dpkg; call. If this option is disabled, APT "
2916"treats an important package in the same way as an extra package: between the "
2917"unpacking of the package A and its configuration there can be many other "
2918"unpack or configuration calls for other unrelated packages B, C etc. If "
2919"these cause the &dpkg; call to fail (e.g. because package B's maintainer "
2920"scripts generate an error), this results in a system state in which package "
2921"A is unpacked but unconfigured - so any package depending on A is now no "
2922"longer guaranteed to work, as its dependency on A is no longer satisfied."
2a52e8c5
DK
2923msgstr ""
2924
2a52e8c5 2925#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2926#: apt.conf.5.xml:1
2a52e8c5 2927msgid ""
5723791e
JR
2928"The immediate configuration marker is also applied in the potentially "
2929"problematic case of circular dependencies, since a dependency with the "
2930"immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
2931"to recognise a situation in which it is unable to perform immediate "
2932"configuration, abort, and suggest to the user that the option should be "
2933"temporarily deactivated in order to allow the operation to proceed. Note "
2934"the use of the word \"theory\" here; in the real world this problem has "
2935"rarely been encountered, in non-stable distribution versions, and was caused "
2936"by wrong dependencies of the package in question or by a system in an "
2937"already broken state; so you should not blindly disable this option, as the "
2938"scenario mentioned above is not the only problem it can help to prevent in "
2939"the first place."
2a52e8c5
DK
2940msgstr ""
2941
2a52e8c5 2942#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2943#: apt.conf.5.xml:1
2a52e8c5 2944msgid ""
5723791e
JR
2945"Before a big operation like <literal>dist-upgrade</literal> is run with this "
2946"option disabled you should try to explicitly <literal>install</literal> the "
2947"package APT is unable to configure immediately; but please make sure you "
2948"also report your problem to your distribution and to the APT team with the "
2949"buglink below, so they can work on improving or correcting the upgrade "
2950"process."
2a52e8c5
DK
2951msgstr ""
2952
2a52e8c5 2953#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2954#: apt.conf.5.xml:1
2a52e8c5 2955msgid ""
5723791e
JR
2956"Never enable this option unless you <emphasis>really</emphasis> know what "
2957"you are doing. It permits APT to temporarily remove an essential package to "
2958"break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
2959"essential packages. <emphasis>Such a loop should never exist and is a grave "
2960"bug</emphasis>. This option will work if the essential packages are not "
2961"<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
2962"<command>dpkg</command>, <command>dash</command> or anything that those "
2963"packages depend on."
2a52e8c5
DK
2964msgstr ""
2965
2a52e8c5 2966#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2967#: apt.conf.5.xml:1
2a52e8c5 2968msgid ""
7d76ea1d 2969"APT uses since version 0.7.26 a resizable memory mapped cache file to store "
5723791e
JR
2970"the available information. <literal>Cache-Start</literal> acts as a hint of "
2971"the size the cache will grow to, and is therefore the amount of memory APT "
7d76ea1d 2972"will request at startup. The default value is 20971520 bytes (~20 MB). Note "
5723791e 2973"that this amount of space needs to be available for APT; otherwise it will "
7d76ea1d
DK
2974"likely fail ungracefully, so for memory restricted devices this value should "
2975"be lowered while on systems with a lot of configured sources it should be "
2976"increased. <literal>Cache-Grow</literal> defines in bytes with the default "
5723791e
JR
2977"of 1048576 (~1 MB) how much the cache size will be increased in the event "
2978"the space defined by <literal>Cache-Start</literal> is not enough. This "
7d76ea1d
DK
2979"value will be applied again and again until either the cache is big enough "
2980"to store all information or the size of the cache reaches the "
2981"<literal>Cache-Limit</literal>. The default of "
2982"<literal>Cache-Limit</literal> is 0 which stands for no limit. If "
5723791e
JR
2983"<literal>Cache-Grow</literal> is set to 0 the automatic growth of the cache "
2984"is disabled."
2a52e8c5
DK
2985msgstr ""
2986
2a52e8c5 2987#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2988#: apt.conf.5.xml:1
5723791e 2989msgid "Defines which packages are considered essential build dependencies."
2a52e8c5
DK
2990msgstr ""
2991
2a52e8c5 2992#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2993#: apt.conf.5.xml:1
2a52e8c5 2994msgid ""
5723791e 2995"The Get subsection controls the &apt-get; tool; please see its documentation "
7d76ea1d 2996"for more information about the options here."
2a52e8c5
DK
2997msgstr ""
2998
2a52e8c5 2999#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3000#: apt.conf.5.xml:1
2a52e8c5 3001msgid ""
5723791e 3002"The Cache subsection controls the &apt-cache; tool; please see its "
7d76ea1d 3003"documentation for more information about the options here."
2a52e8c5
DK
3004msgstr ""
3005
2a52e8c5 3006#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3007#: apt.conf.5.xml:1
2a52e8c5 3008msgid ""
5723791e 3009"The CDROM subsection controls the &apt-cdrom; tool; please see its "
7d76ea1d 3010"documentation for more information about the options here."
2a52e8c5
DK
3011msgstr ""
3012
7d76ea1d 3013#. type: Content of: <refentry><refsect1><title>
04f27fae 3014#: apt.conf.5.xml:1
7d76ea1d 3015msgid "The Acquire Group"
2a52e8c5
DK
3016msgstr ""
3017
3018#. type: Content of: <refentry><refsect1><para>
04f27fae 3019#: apt.conf.5.xml:1
2a52e8c5 3020msgid ""
7d76ea1d 3021"The <literal>Acquire</literal> group of options controls the download of "
5723791e
JR
3022"packages as well as the various \"acquire methods\" responsible for the "
3023"download itself (see also &sources-list;)."
2a52e8c5
DK
3024msgstr ""
3025
5723791e 3026#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3027#: apt.conf.5.xml:1
7d76ea1d 3028msgid ""
5723791e
JR
3029"Security related option defaulting to true, as giving a Release file's "
3030"validation an expiration date prevents replay attacks over a long timescale, "
3031"and can also for example help users to identify mirrors that are no longer "
3032"updated - but the feature depends on the correctness of the clock on the "
3033"user system. Archive maintainers are encouraged to create Release files with "
3034"the <literal>Valid-Until</literal> header, but if they don't or a stricter "
3035"value is desired the <literal>Max-ValidTime</literal> option below can be "
864fe99c
MV
3036"used. The <option>Check-Valid-Until</option> option of &sources-list; "
3037"entries should be preferred to disable the check selectively instead of "
3038"using this global override."
2a52e8c5
DK
3039msgstr ""
3040
5723791e 3041#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3042#: apt.conf.5.xml:1
2a52e8c5 3043msgid ""
5723791e
JR
3044"Maximum time (in seconds) after its creation (as indicated by the "
3045"<literal>Date</literal> header) that the <filename>Release</filename> file "
3046"should be considered valid. If the Release file itself includes a "
3047"<literal>Valid-Until</literal> header the earlier date of the two is used as "
3048"the expiration date. The default value is <literal>0</literal> which stands "
3049"for \"valid forever\". Archive specific settings can be made by appending "
864fe99c
MV
3050"the label of the archive to the option name. Preferably, the same can be "
3051"achieved for specific &sources-list; entries by using the "
3052"<option>Valid-Until-Max</option> option there."
2a52e8c5
DK
3053msgstr ""
3054
5723791e 3055#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3056#: apt.conf.5.xml:1
7d76ea1d 3057msgid ""
5723791e
JR
3058"Minimum time (in seconds) after its creation (as indicated by the "
3059"<literal>Date</literal> header) that the <filename>Release</filename> file "
3060"should be considered valid. Use this if you need to use a seldom updated "
3061"(local) mirror of a more frequently updated archive with a "
3062"<literal>Valid-Until</literal> header instead of completely disabling the "
3063"expiration date checking. Archive specific settings can and should be used "
864fe99c
MV
3064"by appending the label of the archive to the option name. Preferably, the "
3065"same can be achieved for specific &sources-list; entries by using the "
3066"<option>Valid-Until-Min</option> option there."
2a52e8c5
DK
3067msgstr ""
3068
2a52e8c5 3069#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3070#: apt.conf.5.xml:1
2a52e8c5 3071msgid ""
5723791e
JR
3072"Try to download deltas called <literal>PDiffs</literal> for indexes (like "
3073"<filename>Packages</filename> files) instead of downloading whole ones. True "
e49dd9d3
MV
3074"by default. Preferably, this can be set for specific &sources-list; entries "
3075"or index files by using the <option>PDiffs</option> option there."
2a52e8c5
DK
3076msgstr ""
3077
2a52e8c5 3078#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3079#: apt.conf.5.xml:1
7d76ea1d 3080msgid ""
5723791e
JR
3081"Two sub-options to limit the use of PDiffs are also available: "
3082"<literal>FileLimit</literal> can be used to specify a maximum number of "
3083"PDiff files should be downloaded to update a "
3084"file. <literal>SizeLimit</literal> on the other hand is the maximum "
3085"percentage of the size of all patches compared to the size of the targeted "
3086"file. If one of these limits is exceeded the complete file is downloaded "
3087"instead of the patches."
2a52e8c5
DK
3088msgstr ""
3089
2a52e8c5 3090#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae
MV
3091#: apt.conf.5.xml:1
3092msgid ""
3093"Try to download indexes via an URI constructed from a hashsum of the "
3094"expected file rather than downloaded via a well-known stable filename. True "
3095"by default, but automatically disabled if the source indicates no support "
3096"for it. Usage can be forced with the special value \"force\". Preferably, "
3097"this can be set for specific &sources-list; entries or index files by using "
3098"the <option>By-Hash</option> option there."
3099msgstr ""
3100
3101#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3102#: apt.conf.5.xml:1
7d76ea1d
DK
3103msgid ""
3104"Queuing mode; <literal>Queue-Mode</literal> can be one of "
3105"<literal>host</literal> or <literal>access</literal> which determines how "
3106"APT parallelizes outgoing connections. <literal>host</literal> means that "
3107"one connection per target host will be opened, <literal>access</literal> "
3108"means that one connection per URI type will be opened."
2a52e8c5
DK
3109msgstr ""
3110
2a52e8c5 3111#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3112#: apt.conf.5.xml:1
7d76ea1d
DK
3113msgid ""
3114"Number of retries to perform. If this is non-zero APT will retry failed "
3115"files the given number of times."
2a52e8c5
DK
3116msgstr ""
3117
2a52e8c5 3118#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3119#: apt.conf.5.xml:1
2a52e8c5 3120msgid ""
7d76ea1d
DK
3121"Use symlinks for source archives. If set to true then source archives will "
3122"be symlinked when possible instead of copying. True is the default."
2a52e8c5
DK
3123msgstr ""
3124
2a52e8c5 3125#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3126#: apt.conf.5.xml:1
2a52e8c5 3127msgid ""
5723791e
JR
3128"<literal>http::Proxy</literal> sets the default proxy to use for HTTP "
3129"URIs. It is in the standard form of "
3130"<literal>http://[[user][:pass]@]host[:port]/</literal>. Per host proxies "
3131"can also be specified by using the form "
7d76ea1d
DK
3132"<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
3133"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
3134"settings is specified, <envar>http_proxy</envar> environment variable will "
3135"be used."
2a52e8c5
DK
3136msgstr ""
3137
2a52e8c5 3138#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3139#: apt.conf.5.xml:1
2a52e8c5 3140msgid ""
7d76ea1d 3141"Three settings are provided for cache control with HTTP/1.1 compliant proxy "
5723791e
JR
3142"caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
3143"response under any circumstances. <literal>Max-Age</literal> sets the "
3144"allowed maximum age (in seconds) of an index file in the cache of the "
3145"proxy. <literal>No-Store</literal> specifies that the proxy should not "
3146"store the requested archive files in its cache, which can be used to prevent "
3147"the proxy from polluting its cache with (big) .deb files."
2a52e8c5
DK
3148msgstr ""
3149
3150#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3151#: apt.conf.5.xml:1 apt.conf.5.xml:1
2a52e8c5 3152msgid ""
7d76ea1d 3153"The option <literal>timeout</literal> sets the timeout timer used by the "
5723791e 3154"method; this value applies to the connection as well as the data timeout."
2a52e8c5
DK
3155msgstr ""
3156
782486e8 3157#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3158#: apt.conf.5.xml:1
782486e8 3159msgid ""
7d76ea1d 3160"The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
5723791e
JR
3161"enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial "
3162"e.g. on high-latency connections. It specifies how many requests are sent in "
5b1e4e86
MV
3163"a pipeline. APT tries to detect and workaround misbehaving webservers and "
3164"proxies at runtime, but if you know that yours does not conform to the "
3165"HTTP/1.1 specification pipelining can be disabled by setting the value to "
3166"0. It is enabled by default with the value 10."
782486e8
MV
3167msgstr ""
3168
5723791e 3169#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3170#: apt.conf.5.xml:1
b39c1859 3171msgid ""
5723791e
JR
3172"<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
3173"follow redirects, which is enabled by default."
b39c1859
MV
3174msgstr ""
3175
2a52e8c5 3176#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3177#: apt.conf.5.xml:1
b39c1859 3178msgid ""
7d76ea1d
DK
3179"The used bandwidth can be limited with "
3180"<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in "
ce34af08
MV
3181"kilobytes per second. The default value is 0 which deactivates the limit and "
3182"tries to use all available bandwidth. Note that this option implicitly "
3183"disables downloading from multiple servers at the same time."
b39c1859
MV
3184msgstr ""
3185
5723791e 3186#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3187#: apt.conf.5.xml:1
7d76ea1d
DK
3188msgid ""
3189"<literal>Acquire::http::User-Agent</literal> can be used to set a different "
3190"User-Agent for the http download method as some proxies allow access for "
3191"clients only if the client uses a known identifier."
2a52e8c5
DK
3192msgstr ""
3193
3194#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3195#: apt.conf.5.xml:1
7d76ea1d 3196msgid ""
ce34af08
MV
3197"<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
3198"an external command to discover the http proxy to use. Apt expects the "
3199"command to output the proxy on stdout in the style "
3200"<literal>http://proxy:port/</literal>. This will override the generic "
3201"<literal>Acquire::http::Proxy</literal> but not any specific host proxy "
3202"configuration set via <literal>Acquire::http::Proxy::$HOST</literal>. See "
3203"the &squid-deb-proxy-client; package for an example implementation that uses "
3204"avahi. This option takes precedence over the legacy option name "
3205"<literal>ProxyAutoDetect</literal>."
3206msgstr ""
3207
3208#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3209#: apt.conf.5.xml:1
ce34af08 3210msgid ""
5723791e
JR
3211"The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
3212"<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
3213"<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
3214"the <literal>http</literal> method, and default to the same values if they "
3215"are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
3216"yet supported."
2a52e8c5
DK
3217msgstr ""
3218
5723791e 3219#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3220#: apt.conf.5.xml:1
7d76ea1d
DK
3221msgid ""
3222"<literal>CaInfo</literal> suboption specifies place of file that holds info "
5723791e 3223"about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is the "
7d76ea1d 3224"corresponding per-host option. <literal>Verify-Peer</literal> boolean "
5723791e
JR
3225"suboption determines whether or not the server's host certificate should be "
3226"verified against trusted certificates. "
3227"<literal>&lt;host&gt;::Verify-Peer</literal> is the corresponding per-host "
3228"option. <literal>Verify-Host</literal> boolean suboption determines whether "
3229"or not the server's hostname should be verified. "
3230"<literal>&lt;host&gt;::Verify-Host</literal> is the corresponding per-host "
7d76ea1d 3231"option. <literal>SslCert</literal> determines what certificate to use for "
5723791e 3232"client authentication. <literal>&lt;host&gt;::SslCert</literal> is the "
7d76ea1d
DK
3233"corresponding per-host option. <literal>SslKey</literal> determines what "
3234"private key to use for client "
5723791e 3235"authentication. <literal>&lt;host&gt;::SslKey</literal> is the corresponding "
7d76ea1d 3236"per-host option. <literal>SslForceVersion</literal> overrides default SSL "
5723791e
JR
3237"version to use. It can contain either of the strings "
3238"'<literal>TLSv1</literal>' or '<literal>SSLv3</literal>'. "
3239"<literal>&lt;host&gt;::SslForceVersion</literal> is the corresponding "
3240"per-host option."
2a52e8c5
DK
3241msgstr ""
3242
3243#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3244#: apt.conf.5.xml:1
7d76ea1d 3245msgid ""
5723791e
JR
3246"<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
3247"It is in the standard form of "
3248"<literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host proxies can "
3249"also be specified by using the form "
7d76ea1d
DK
3250"<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
3251"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
3252"settings is specified, <envar>ftp_proxy</envar> environment variable will be "
5723791e 3253"used. To use an FTP proxy you will have to set the "
7d76ea1d
DK
3254"<literal>ftp::ProxyLogin</literal> script in the configuration file. This "
3255"entry specifies the commands to send to tell the proxy server what to "
3256"connect to. Please see &configureindex; for an example of how to do "
5723791e
JR
3257"this. The substitution variables representing the corresponding URI "
3258"component are <literal>$(PROXY_USER)</literal>, "
3259"<literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, "
3260"<literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal> and "
3261"<literal>$(SITE_PORT)</literal>."
2a52e8c5
DK
3262msgstr ""
3263
5723791e 3264#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3265#: apt.conf.5.xml:1
7d76ea1d
DK
3266msgid ""
3267"Several settings are provided to control passive mode. Generally it is safe "
5723791e
JR
3268"to leave passive mode on; it works in nearly every environment. However, "
3269"some situations require that passive mode be disabled and port mode FTP used "
3270"instead. This can be done globally or for connections that go through a "
3271"proxy or for a specific host (see the sample config file for examples)."
2a52e8c5
DK
3272msgstr ""
3273
3274#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3275#: apt.conf.5.xml:1
7d76ea1d
DK
3276msgid ""
3277"It is possible to proxy FTP over HTTP by setting the "
5723791e 3278"<envar>ftp_proxy</envar> environment variable to an HTTP URL - see the "
7d76ea1d
DK
3279"discussion of the http method above for syntax. You cannot set this in the "
3280"configuration file and it is not recommended to use FTP over HTTP due to its "
3281"low efficiency."
2a52e8c5
DK
3282msgstr ""
3283
5723791e 3284#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3285#: apt.conf.5.xml:1
2a52e8c5 3286msgid ""
7d76ea1d
DK
3287"The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
3288"<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
3289"false, which means these commands are only used if the control connection is "
3290"IPv6. Setting this to true forces their use even on IPv4 connections. Note "
3291"that most FTP servers do not support RFC2428."
2a52e8c5
DK
3292msgstr ""
3293
5723791e 3294#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
04f27fae 3295#: apt.conf.5.xml:1
7d76ea1d
DK
3296#, no-wrap
3297msgid "/cdrom/::Mount \"foo\";"
2a52e8c5
DK
3298msgstr ""
3299
5723791e 3300#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3301#: apt.conf.5.xml:1
2a52e8c5 3302msgid ""
5723791e
JR
3303"For URIs using the <literal>cdrom</literal> method, the only configurable "
3304"option is the mount point, <literal>cdrom::Mount</literal>, which must be "
3305"the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
3306"<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
3307"and unmount commands if your mount point cannot be listed in the fstab. The "
7d76ea1d 3308"syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
5723791e
JR
3309"<literal>cdrom</literal> block. It is important to have the trailing slash. "
3310"Unmount commands can be specified using UMount."
2a52e8c5
DK
3311msgstr ""
3312
5723791e 3313#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3314#: apt.conf.5.xml:1
2a52e8c5 3315msgid ""
5723791e
JR
3316"For GPGV URIs the only configurable option is "
3317"<literal>gpgv::Options</literal>, which passes additional parameters to "
3318"gpgv."
2a52e8c5
DK
3319msgstr ""
3320
5723791e 3321#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
04f27fae 3322#: apt.conf.5.xml:1
7d76ea1d 3323#, no-wrap
2a52e8c5 3324msgid ""
7d76ea1d
DK
3325"Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> "
3326"\"<replaceable>Methodname</replaceable>\";"
2a52e8c5
DK
3327msgstr ""
3328
2a52e8c5 3329#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3330#: apt.conf.5.xml:1
2a52e8c5 3331msgid ""
7d76ea1d
DK
3332"List of compression types which are understood by the acquire methods. "
3333"Files like <filename>Packages</filename> can be available in various "
5ff8dd6b
JAK
3334"compression formats. By default the acquire methods can decompress and "
3335"recompress many common formats like <command>xz</command> and "
3336"<command>gzip</command>; with this scope the supported formats can be "
3337"queried, modified as well as support for more formats added (see also "
3338"<option>APT::Compressor</option>). The syntax for this is: <placeholder "
3339"type=\"synopsis\" id=\"0\"/>"
7d76ea1d
DK
3340msgstr ""
3341
5723791e 3342#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
04f27fae 3343#: apt.conf.5.xml:1
7d76ea1d
DK
3344#, no-wrap
3345msgid "Acquire::CompressionTypes::Order:: \"gz\";"
3346msgstr ""
3347
5723791e 3348#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
04f27fae 3349#: apt.conf.5.xml:1
7d76ea1d 3350#, no-wrap
5ff8dd6b 3351msgid "Acquire::CompressionTypes::Order { \"xz\"; \"gz\"; };"
2a52e8c5
DK
3352msgstr ""
3353
bcf91c1b 3354#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3355#: apt.conf.5.xml:1
bcf91c1b 3356msgid ""
5723791e 3357"Also, the <literal>Order</literal> subgroup can be used to define in which "
7d76ea1d
DK
3358"order the acquire system will try to download the compressed files. The "
3359"acquire system will try the first and proceed with the next compression type "
5723791e 3360"in this list on error, so to prefer one over the other type simply add the "
5ff8dd6b
JAK
3361"preferred type first - types not already added will be implicitly appended "
3362"to the end of the list, so e.g. <placeholder type=\"synopsis\" id=\"0\"/> "
3363"can be used to prefer <command>gzip</command> compressed files over all "
3364"other compression formats. If <command>xz</command> should be preferred "
3365"over <command>gzip</command> and <command>bzip2</command> the configure "
3366"setting should look like this: <placeholder type=\"synopsis\" id=\"1\"/> It "
3367"is not needed to add <literal>bz2</literal> to the list explicitly as it "
3368"will be added automatically."
7d76ea1d
DK
3369msgstr ""
3370
5723791e 3371#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
04f27fae 3372#: apt.conf.5.xml:1
7d76ea1d
DK
3373#, no-wrap
3374msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
bcf91c1b
DK
3375msgstr ""
3376
782486e8 3377#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3378#: apt.conf.5.xml:1
782486e8 3379msgid ""
5723791e 3380"Note that the "
7d76ea1d 3381"<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be "
5ff8dd6b
JAK
3382"checked at run time. If this option has been set and support for this format "
3383"isn't directly built into apt, the method will only be used if this file "
3384"exists; e.g. for the <literal>bzip2</literal> method (the inbuilt) setting "
3385"is: <placeholder type=\"literallayout\" id=\"0\"/> Note also that list "
3386"entries specified on the command line will be added at the end of the list "
3387"specified in the configuration files, but before the default entries. To "
3388"prefer a type in this case over the ones specified in the configuration "
3389"files you can set the option direct - not in list style. This will not "
3390"override the defined list; it will only prefix the list with this type."
2a52e8c5
DK
3391msgstr ""
3392
2a52e8c5 3393#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3394#: apt.conf.5.xml:1
2a52e8c5 3395msgid ""
7d76ea1d
DK
3396"The special type <literal>uncompressed</literal> can be used to give "
3397"uncompressed files a preference, but note that most archives don't provide "
3398"uncompressed files so this is mostly only useable for local mirrors."
2a52e8c5
DK
3399msgstr ""
3400
782486e8 3401#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3402#: apt.conf.5.xml:1
782486e8 3403msgid ""
7d76ea1d
DK
3404"When downloading <literal>gzip</literal> compressed indexes (Packages, "
3405"Sources, or Translations), keep them gzip compressed locally instead of "
3406"unpacking them. This saves quite a lot of disk space at the expense of more "
3407"CPU requirements when building the local package caches. False by default."
2a52e8c5
DK
3408msgstr ""
3409
2a52e8c5 3410#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3411#: apt.conf.5.xml:1
782486e8 3412msgid ""
7d76ea1d
DK
3413"The Languages subsection controls which <filename>Translation</filename> "
3414"files are downloaded and in which order APT tries to display the "
5723791e
JR
3415"description-translations. APT will try to display the first available "
3416"description in the language which is listed first. Languages can be defined "
3417"with their short or long language codes. Note that not all archives provide "
3418"<filename>Translation</filename> files for every language - the long "
3419"language codes are especially rare."
2a52e8c5
DK
3420msgstr ""
3421
5723791e 3422#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
04f27fae 3423#: apt.conf.5.xml:1
7d76ea1d
DK
3424#, no-wrap
3425msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
2a52e8c5
DK
3426msgstr ""
3427
2a52e8c5 3428#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3429#: apt.conf.5.xml:1
782486e8 3430msgid ""
7d76ea1d 3431"The default list includes \"environment\" and "
5723791e
JR
3432"\"en\". \"<literal>environment</literal>\" has a special meaning here: it "
3433"will be replaced at runtime with the language codes extracted from the "
7d76ea1d
DK
3434"<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
3435"that these codes are not included twice in the list. If "
3436"<literal>LC_MESSAGES</literal> is set to \"C\" only the "
3437"<filename>Translation-en</filename> file (if available) will be used. To "
5723791e 3438"force APT to use no Translation file use the setting "
7d76ea1d 3439"<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is "
5723791e
JR
3440"another special meaning code which will stop the search for a suitable "
3441"<filename>Translation</filename> file. This tells APT to download these "
3442"translations too, without actually using them unless the environment "
3443"specifies the languages. So the following example configuration will result "
3444"in the order \"en, de\" in an English locale or \"de, en\" in a German "
3445"one. Note that \"fr\" is downloaded, but not used unless APT is used in a "
3446"French locale (where the order would be \"fr, de, en\"). <placeholder "
3447"type=\"programlisting\" id=\"0\"/>"
bcf91c1b
DK
3448msgstr ""
3449
5723791e 3450#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3451#: apt.conf.5.xml:1
2a52e8c5 3452msgid ""
7d76ea1d
DK
3453"Note: To prevent problems resulting from APT being executed in different "
3454"environments (e.g. by different users or by other programs) all Translation "
3455"files which are found in <filename>/var/lib/apt/lists/</filename> will be "
3456"added to the end of the list (after an implicit "
3457"\"<literal>none</literal>\")."
2a52e8c5
DK
3458msgstr ""
3459
c1b21367 3460#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3461#: apt.conf.5.xml:1
c1b21367
MV
3462msgid "When downloading, force to use only the IPv4 protocol."
3463msgstr ""
3464
3465#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3466#: apt.conf.5.xml:1
c1b21367
MV
3467msgid "When downloading, force to use only the IPv6 protocol."
3468msgstr ""
3469
5b1e4e86 3470#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3471#: apt.conf.5.xml:1
5b1e4e86
MV
3472msgid ""
3473"The maximum file size of Release/Release.gpg/InRelease files. The default "
3474"is 10MB."
3475msgstr ""
3476
3477#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3478#: apt.conf.5.xml:1
864fe99c
MV
3479msgid ""
3480"This option controls if apt will use the DNS SRV server record as specified "
3481"in RFC 2782 to select an alternative server to connect to. The default is "
3482"\"true\"."
3483msgstr ""
3484
3485#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3486#: apt.conf.5.xml:1
5b1e4e86
MV
3487msgid ""
3488"Allow the update operation to load data files from a repository without a "
3489"trusted signature. If enabled this option no data files will be loaded and "
3490"the update operation fails with a error for this source. The default is "
3491"false for backward compatibility. This will be changed in the future."
3492msgstr ""
3493
3494#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3495#: apt.conf.5.xml:1
5b1e4e86
MV
3496msgid ""
3497"Allow that a repository that was previously gpg signed to become unsigned "
40ebab6a 3498"durign a update operation. When there is no valid signature of a previously "
5b1e4e86
MV
3499"trusted repository apt will refuse the update. This option can be used to "
3500"override this protection. You almost certainly never want to enable "
3501"this. The default is false. Note that apt will still consider packages from "
3502"this source untrusted and warn about them if you try to install them."
3503msgstr ""
3504
864fe99c 3505#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 3506#: apt.conf.5.xml:1
864fe99c
MV
3507msgid "scope"
3508msgstr ""
3509
3510#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3511#: apt.conf.5.xml:1
864fe99c
MV
3512msgid ""
3513"Acquiring changelogs can only be done if an URI is known from where to get "
3514"them. Preferable the Release file indicates this in a 'Changelogs' "
3515"field. If this isn't available the Label/Origin field of the Release file is "
3516"used to check if a "
3517"<literal>Acquire::Changelogs::URI::Label::<replaceable>LABEL</replaceable></literal> "
3518"or "
3519"<literal>Acquire::Changelogs::URI::Origin::<replaceable>ORIGIN</replaceable></literal> "
3520"option exists and if so this value is taken. The value in the Release file "
3521"can be overridden with "
3522"<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</replaceable></literal> "
3523"or "
3524"<literal>Acquire::Changelogs::URI::Override::Origin::<replaceable>ORIGIN</replaceable></literal>. "
2ffd3535 3525"The value should be a normal URI to a text file, except that package "
864fe99c 3526"specific data is replaced with the placeholder "
430481e7 3527"<literal>@CHANGEPATH@</literal>. The value for it is: 1. if the package is "
864fe99c 3528"from a component (e.g. <literal>main</literal>) this is the first part "
2ffd3535 3529"otherwise it is omitted, 2. the first letter of source package name, except "
864fe99c
MV
3530"if the source package name starts with '<literal>lib</literal>' in which "
3531"case it will be the first four letters. 3. The complete source package "
3532"name. 4. the complete name again and 5. the source version. The first (if "
3533"present), second, third and fourth part are separated by a slash "
3534"('<literal>/</literal>') and between the fourth and fifth part is an "
3535"underscore ('<literal>_</literal>'). The special value "
3536"'<literal>no</literal>' is available for this option indicating that this "
3537"source can't be used to acquire changelog files from. Another source will be "
3538"tried if available in this case."
3539msgstr ""
3540
cbbee23e
DK
3541#. type: Content of: <refentry><refsect1><title>
3542#: apt.conf.5.xml:1
3543msgid "Binary specific configuration"
3544msgstr ""
3545
3546#. type: Content of: <refentry><refsect1><para>
3547#: apt.conf.5.xml:1
3548msgid ""
3549"Especially with the introduction of the <command>apt</command> binary it can "
3550"be useful to set certain options only for a specific binary as even options "
3551"which look like they would effect only a certain binary like "
3552"<option>APT::Get::Show-Versions</option> effect <command>apt-get</command> "
3553"as well as <command>apt</command>."
3554msgstr ""
3555
3556#. type: Content of: <refentry><refsect1><para>
3557#: apt.conf.5.xml:1
3558msgid ""
3559"Setting an option for a specific binary only can be achieved by setting the "
3560"option inside the "
3561"<option>Binary::<replaceable>specific-binary</replaceable></option> "
3562"scope. Setting the option <option>APT::Get::Show-Versions</option> for the "
3563"<command>apt</command> only can e.g. by done by setting "
3564"<option>Binary::apt::APT::Get::Show-Versions</option> instead."
3565msgstr ""
3566
3567#. type: Content of: <refentry><refsect1><para>
3568#: apt.conf.5.xml:1
3569msgid ""
3570"Note that as seen in the DESCRIPTION section further above you can't set "
3571"binary-specific options on the commandline itself nor in configuration files "
3572"loaded via the commandline."
3573msgstr ""
3574
7d76ea1d 3575#. type: Content of: <refentry><refsect1><title>
04f27fae 3576#: apt.conf.5.xml:1
7d76ea1d 3577msgid "Directories"
2a52e8c5
DK
3578msgstr ""
3579
3580#. type: Content of: <refentry><refsect1><para>
04f27fae 3581#: apt.conf.5.xml:1
2a52e8c5 3582msgid ""
7d76ea1d
DK
3583"The <literal>Dir::State</literal> section has directories that pertain to "
3584"local state information. <literal>lists</literal> is the directory to place "
3585"downloaded package lists in and <literal>status</literal> is the name of the "
5723791e 3586"&dpkg; status file. <literal>preferences</literal> is the name of the APT "
7d76ea1d 3587"<filename>preferences</filename> file. <literal>Dir::State</literal> "
5723791e 3588"contains the default directory to prefix on all sub-items if they do not "
7d76ea1d 3589"start with <filename>/</filename> or <filename>./</filename>."
2a52e8c5
DK
3590msgstr ""
3591
3592#. type: Content of: <refentry><refsect1><para>
04f27fae 3593#: apt.conf.5.xml:1
2a52e8c5 3594msgid ""
7d76ea1d
DK
3595"<literal>Dir::Cache</literal> contains locations pertaining to local cache "
3596"information, such as the two package caches <literal>srcpkgcache</literal> "
3597"and <literal>pkgcache</literal> as well as the location to place downloaded "
3598"archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
1e7ec0d8
MV
3599"be turned off by setting <literal>pkgcache</literal> or "
3600"<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow "
5723791e 3601"down startup but save disk space. It is probably preferable to turn off the "
1e7ec0d8
MV
3602"pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> "
3603"the default directory is contained in <literal>Dir::Cache</literal>"
2a52e8c5
DK
3604msgstr ""
3605
2a52e8c5 3606#. type: Content of: <refentry><refsect1><para>
04f27fae 3607#: apt.conf.5.xml:1
2a52e8c5 3608msgid ""
7d76ea1d
DK
3609"<literal>Dir::Etc</literal> contains the location of configuration files, "
3610"<literal>sourcelist</literal> gives the location of the sourcelist and "
3611"<literal>main</literal> is the default configuration file (setting has no "
3612"effect, unless it is done from the config file specified by "
3613"<envar>APT_CONFIG</envar>)."
2a52e8c5
DK
3614msgstr ""
3615
3616#. type: Content of: <refentry><refsect1><para>
04f27fae 3617#: apt.conf.5.xml:1
2a52e8c5 3618msgid ""
7d76ea1d
DK
3619"The <literal>Dir::Parts</literal> setting reads in all the config fragments "
3620"in lexical order from the directory specified. After this is done then the "
3621"main config file is loaded."
2a52e8c5
DK
3622msgstr ""
3623
3624#. type: Content of: <refentry><refsect1><para>
04f27fae 3625#: apt.conf.5.xml:1
2a52e8c5 3626msgid ""
7d76ea1d
DK
3627"Binary programs are pointed to by "
3628"<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies "
3629"the location of the method handlers and <literal>gzip</literal>, "
3630"<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, "
3631"<literal>apt-get</literal> <literal>dpkg-source</literal> "
3632"<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> "
3633"specify the location of the respective programs."
2a52e8c5
DK
3634msgstr ""
3635
3636#. type: Content of: <refentry><refsect1><para>
04f27fae 3637#: apt.conf.5.xml:1
2a52e8c5 3638msgid ""
7d76ea1d 3639"The configuration item <literal>RootDir</literal> has a special meaning. If "
864fe99c
MV
3640"set, all paths will be relative to <literal>RootDir</literal>, "
3641"<emphasis>even paths that are specified absolutely</emphasis>. So, for "
3642"instance, if <literal>RootDir</literal> is set to "
3643"<filename>/tmp/staging</filename> and <literal>Dir::State::status</literal> "
3644"is set to <filename>/var/lib/dpkg/status</filename>, then the status file "
3645"will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>. "
3646"If you want to prefix only relative paths, set <literal>Dir</literal> "
3647"instead."
2a52e8c5
DK
3648msgstr ""
3649
3650#. type: Content of: <refentry><refsect1><para>
04f27fae 3651#: apt.conf.5.xml:1
2a52e8c5 3652msgid ""
7d76ea1d
DK
3653"The <literal>Ignore-Files-Silently</literal> list can be used to specify "
3654"which files APT should silently ignore while parsing the files in the "
3655"fragment directories. Per default a file which end with "
3656"<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> "
3657"or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last "
3658"default value these patterns can use regular expression syntax."
2a52e8c5
DK
3659msgstr ""
3660
7d76ea1d 3661#. type: Content of: <refentry><refsect1><title>
04f27fae 3662#: apt.conf.5.xml:1
7d76ea1d 3663msgid "APT in DSelect"
2a52e8c5
DK
3664msgstr ""
3665
3666#. type: Content of: <refentry><refsect1><para>
04f27fae 3667#: apt.conf.5.xml:1
2a52e8c5 3668msgid ""
7d76ea1d 3669"When APT is used as a &dselect; method several configuration directives "
5723791e 3670"control the default behavior. These are in the <literal>DSelect</literal> "
7d76ea1d 3671"section."
2a52e8c5
DK
3672msgstr ""
3673
7d76ea1d 3674#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3675#: apt.conf.5.xml:1
2a52e8c5 3676msgid ""
5723791e
JR
3677"Cache Clean mode; this value may be one of <literal>always</literal>, "
3678"<literal>prompt</literal>, <literal>auto</literal>, "
3679"<literal>pre-auto</literal> and <literal>never</literal>. "
3680"<literal>always</literal> and <literal>prompt</literal> will remove all "
3681"packages from the cache after upgrading, <literal>prompt</literal> (the "
3682"default) does so conditionally. <literal>auto</literal> removes only those "
3683"packages which are no longer downloadable (replaced with a new version for "
3684"instance). <literal>pre-auto</literal> performs this action before "
3685"downloading new packages."
2a52e8c5
DK
3686msgstr ""
3687
7d76ea1d 3688#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3689#: apt.conf.5.xml:1
2a52e8c5 3690msgid ""
5723791e
JR
3691"The contents of this variable are passed to &apt-get; as command line "
3692"options when it is run for the install phase."
2a52e8c5
DK
3693msgstr ""
3694
7d76ea1d 3695#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3696#: apt.conf.5.xml:1
2a52e8c5 3697msgid ""
5723791e
JR
3698"The contents of this variable are passed to &apt-get; as command line "
3699"options when it is run for the update phase."
2a52e8c5
DK
3700msgstr ""
3701
7d76ea1d 3702#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3703#: apt.conf.5.xml:1
2a52e8c5 3704msgid ""
7d76ea1d
DK
3705"If true the [U]pdate operation in &dselect; will always prompt to continue. "
3706"The default is to prompt only on error."
2a52e8c5
DK
3707msgstr ""
3708
3709#. type: Content of: <refentry><refsect1><title>
04f27fae 3710#: apt.conf.5.xml:1
5723791e 3711msgid "How APT calls &dpkg;"
2a52e8c5
DK
3712msgstr ""
3713
3714#. type: Content of: <refentry><refsect1><para>
04f27fae 3715#: apt.conf.5.xml:1
2a52e8c5 3716msgid ""
7d76ea1d
DK
3717"Several configuration directives control how APT invokes &dpkg;. These are "
3718"in the <literal>DPkg</literal> section."
2a52e8c5
DK
3719msgstr ""
3720
7d76ea1d 3721#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3722#: apt.conf.5.xml:1
2a52e8c5 3723msgid ""
5723791e 3724"This is a list of options to pass to &dpkg;. The options must be specified "
7d76ea1d
DK
3725"using the list notation and each list item is passed as a single argument to "
3726"&dpkg;."
2a52e8c5
DK
3727msgstr ""
3728
7d76ea1d 3729#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3730#: apt.conf.5.xml:1
2a52e8c5 3731msgid ""
7d76ea1d
DK
3732"This is a list of shell commands to run before/after invoking &dpkg;. Like "
3733"<literal>options</literal> this must be specified in list notation. The "
5723791e 3734"commands are invoked in order using <filename>/bin/sh</filename>; should any "
7d76ea1d 3735"fail APT will abort."
2a52e8c5
DK
3736msgstr ""
3737
7d76ea1d 3738#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3739#: apt.conf.5.xml:1
2a52e8c5 3740msgid ""
5723791e 3741"This is a list of shell commands to run before invoking &dpkg;. Like "
7d76ea1d 3742"<literal>options</literal> this must be specified in list notation. The "
5723791e
JR
3743"commands are invoked in order using <filename>/bin/sh</filename>; should any "
3744"fail APT will abort. APT will pass the filenames of all .deb files it is "
ce34af08
MV
3745"going to install to the commands, one per line on the requested file "
3746"descriptor, defaulting to standard input."
2a52e8c5
DK
3747msgstr ""
3748
7d76ea1d 3749#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3750#: apt.conf.5.xml:1
2a52e8c5 3751msgid ""
864fe99c
MV
3752"Version 2 of this protocol sends more information through the requested file "
3753"descriptor: a line with the text <literal>VERSION 2</literal>, the APT "
3754"configuration space, and a list of package actions with filename and version "
3755"information."
ce34af08
MV
3756msgstr ""
3757
3758#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3759#: apt.conf.5.xml:1
864fe99c
MV
3760msgid ""
3761"Each configuration directive line has the form "
3762"<literal>key=value</literal>. Special characters (equal signs, newlines, "
3763"nonprintable characters, quotation marks, and percent signs in "
3764"<literal>key</literal> and newlines, nonprintable characters, and percent "
3765"signs in <literal>value</literal>) are %-encoded. Lists are represented by "
3766"multiple <literal>key::=value</literal> lines with the same key. The "
3767"configuration section ends with a blank line."
3768msgstr ""
3769
3770#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3771#: apt.conf.5.xml:1
864fe99c 3772msgid ""
2ffd3535
BT
3773"Package action lines consist of five fields in Version 2: package name "
3774"(without architecture qualification even if foreign), old version, direction "
3775"of version change (&lt; for upgrades, &gt; for downgrades, = for no change), "
3776"new version, action. The version fields are \"-\" for no version at all (for "
3777"example when installing a package for the first time; no version is treated "
3778"as earlier than any real version, so that is an upgrade, indicated as "
3779"<literal>- &lt; 1.23.4</literal>). The action field is \"**CONFIGURE**\" if "
3780"the package is being configured, \"**REMOVE**\" if it is being removed, or "
3781"the filename of a .deb file if it is being unpacked."
864fe99c
MV
3782msgstr ""
3783
3784#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3785#: apt.conf.5.xml:1
864fe99c
MV
3786msgid ""
3787"In Version 3 after each version field follows the architecture of this "
3788"version, which is \"-\" if there is no version, and a field showing the "
2ffd3535 3789"MultiArch type \"same\", \"foreign\", \"allowed\" or \"none\". Note that "
864fe99c
MV
3790"\"none\" is an incorrect typename which is just kept to remain compatible, "
3791"it should be read as \"no\" and users are encouraged to support both."
3792msgstr ""
3793
3794#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3795#: apt.conf.5.xml:1
ce34af08
MV
3796msgid ""
3797"The version of the protocol to be used for the command "
3798"<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
3799"<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</literal> "
3800"accordingly, the default being version 1. If APT isn't supporting the "
3801"requested version it will send the information in the highest version it has "
3802"support for instead."
3803msgstr ""
3804
3805#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3806#: apt.conf.5.xml:1
ce34af08
MV
3807msgid ""
3808"The file descriptor to be used to send the information can be requested with "
3809"<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</literal> "
3810"which defaults to <literal>0</literal> for standard input and is available "
3811"since version 0.9.11. Support for the option can be detected by looking for "
3812"the environment variable <envar>APT_HOOK_INFO_FD</envar> which contains the "
3813"number of the used file descriptor as a confirmation."
2a52e8c5
DK
3814msgstr ""
3815
7d76ea1d 3816#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3817#: apt.conf.5.xml:1
2a52e8c5 3818msgid ""
5723791e 3819"APT chdirs to this directory before invoking &dpkg;, the default is "
7d76ea1d 3820"<filename>/</filename>."
2a52e8c5
DK
3821msgstr ""
3822
7d76ea1d 3823#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3824#: apt.conf.5.xml:1
2a52e8c5 3825msgid ""
5723791e 3826"These options are passed to &dpkg-buildpackage; when compiling packages; the "
7d76ea1d 3827"default is to disable signing and produce all binaries."
2a52e8c5
DK
3828msgstr ""
3829
7d76ea1d 3830#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 3831#: apt.conf.5.xml:1
7d76ea1d 3832msgid "dpkg trigger usage (and related options)"
2a52e8c5
DK
3833msgstr ""
3834
7d76ea1d 3835#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 3836#: apt.conf.5.xml:1
2a52e8c5 3837msgid ""
5723791e
JR
3838"APT can call &dpkg; in such a way as to let it make aggressive use of "
3839"triggers over multiple calls of &dpkg;. Without further options &dpkg; will "
3840"use triggers once each time it runs. Activating these options can therefore "
3841"decrease the time needed to perform the install or upgrade. Note that it is "
3842"intended to activate these options per default in the future, but as it "
3843"drastically changes the way APT calls &dpkg; it needs a lot more testing. "
3844"<emphasis>These options are therefore currently experimental and should not "
3845"be used in production environments.</emphasis> It also breaks progress "
3846"reporting such that all front-ends will currently stay around half (or more) "
3847"of the time in the 100% state while it actually configures all packages."
2a52e8c5
DK
3848msgstr ""
3849
7d76ea1d 3850#. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
04f27fae 3851#: apt.conf.5.xml:1
7d76ea1d 3852#, no-wrap
2a52e8c5 3853msgid ""
7d76ea1d
DK
3854"DPkg::NoTriggers \"true\";\n"
3855"PackageManager::Configure \"smart\";\n"
3856"DPkg::ConfigurePending \"true\";\n"
3857"DPkg::TriggersPending \"true\";"
2a52e8c5
DK
3858msgstr ""
3859
7d76ea1d 3860#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 3861#: apt.conf.5.xml:1
2a52e8c5 3862msgid ""
7d76ea1d
DK
3863"Note that it is not guaranteed that APT will support these options or that "
3864"these options will not cause (big) trouble in the future. If you have "
3865"understand the current risks and problems with these options, but are brave "
5723791e 3866"enough to help testing them, create a new configuration file and test a "
7d76ea1d
DK
3867"combination of options. Please report any bugs, problems and improvements "
3868"you encounter and make sure to note which options you have used in your "
5723791e 3869"reports. Asking &dpkg; for help could also be useful for debugging proposes, "
7d76ea1d
DK
3870"see e.g. <command>dpkg --audit</command>. A defensive option combination "
3871"would be <placeholder type=\"literallayout\" id=\"0\"/>"
2a52e8c5
DK
3872msgstr ""
3873
7d76ea1d 3874#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 3875#: apt.conf.5.xml:1
2a52e8c5 3876msgid ""
5723791e 3877"Add the no triggers flag to all &dpkg; calls (except the ConfigurePending "
7d76ea1d 3878"call). See &dpkg; if you are interested in what this actually means. In "
5723791e
JR
3879"short: &dpkg; will not run the triggers when this flag is present unless it "
3880"is explicitly called to do so in an extra call. Note that this option "
3881"exists (undocumented) also in older APT versions with a slightly different "
3882"meaning: Previously these option only append --no-triggers to the configure "
3883"calls to &dpkg; - now APT will also add this flag to the unpack and remove "
3884"calls."
2a52e8c5
DK
3885msgstr ""
3886
7d76ea1d 3887#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 3888#: apt.conf.5.xml:1
2a52e8c5 3889msgid ""
7d76ea1d 3890"Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
5723791e
JR
3891"and \"<literal>no</literal>\". The default value is "
3892"\"<literal>all</literal>\", which causes APT to configure all packages. The "
3893"\"<literal>smart</literal>\" way is to configure only packages which need to "
3894"be configured before another package can be unpacked (Pre-Depends), and let "
3895"the rest be configured by &dpkg; with a call generated by the "
3896"ConfigurePending option (see below). On the other hand, "
3897"\"<literal>no</literal>\" will not configure anything, and totally relies on "
3898"&dpkg; for configuration (which at the moment will fail if a Pre-Depends is "
3899"encountered). Setting this option to any value other than "
3900"<literal>all</literal> will implicitly also activate the next option by "
3901"default, as otherwise the system could end in an unconfigured and "
3902"potentially unbootable state."
2a52e8c5
DK
3903msgstr ""
3904
7d76ea1d 3905#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 3906#: apt.conf.5.xml:1
2a52e8c5 3907msgid ""
5723791e
JR
3908"If this option is set APT will call <command>dpkg --configure "
3909"--pending</command> to let &dpkg; handle all required configurations and "
3910"triggers. This option is activated automatically per default if the previous "
3911"option is not set to <literal>all</literal>, but deactivating it could be "
7d76ea1d
DK
3912"useful if you want to run APT multiple times in a row - e.g. in an "
3913"installer. In these sceneries you could deactivate this option in all but "
3914"the last run."
2a52e8c5
DK
3915msgstr ""
3916
7d76ea1d 3917#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 3918#: apt.conf.5.xml:1
2a52e8c5 3919msgid ""
5723791e
JR
3920"Useful for the <literal>smart</literal> configuration as a package which has "
3921"pending triggers is not considered as <literal>installed</literal>, and "
3922"&dpkg; treats them as <literal>unpacked</literal> currently which is a "
3923"showstopper for Pre-Dependencies (see debbugs #526774). Note that this will "
3924"process all triggers, not only the triggers needed to configure this "
3925"package."
2a52e8c5
DK
3926msgstr ""
3927
7d76ea1d 3928#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
04f27fae 3929#: apt.conf.5.xml:1
7d76ea1d 3930#, no-wrap
2a52e8c5 3931msgid ""
7d76ea1d
DK
3932"OrderList::Score {\n"
3933"\tDelete 500;\n"
3934"\tEssential 200;\n"
3935"\tImmediate 10;\n"
3936"\tPreDepends 50;\n"
3937"};"
2a52e8c5
DK
3938msgstr ""
3939
7d76ea1d 3940#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 3941#: apt.conf.5.xml:1
7d76ea1d 3942msgid ""
5723791e
JR
3943"Essential packages (and their dependencies) should be configured immediately "
3944"after unpacking. It is a good idea to do this quite early in the upgrade "
3945"process as these configure calls also currently require "
7d76ea1d 3946"<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
5723791e
JR
3947"(which may not be needed). Essentials get per default a high score but the "
3948"immediate flag is relatively low (a package which has a Pre-Depends is rated "
3949"higher). These option and the others in the same group can be used to "
3950"change the scoring. The following example shows the settings with their "
7d76ea1d 3951"default values. <placeholder type=\"literallayout\" id=\"0\"/>"
2a52e8c5
DK
3952msgstr ""
3953
7d76ea1d 3954#. type: Content of: <refentry><refsect1><title>
04f27fae 3955#: apt.conf.5.xml:1
7d76ea1d 3956msgid "Periodic and Archives options"
89fd753d
MV
3957msgstr ""
3958
7d76ea1d 3959#. type: Content of: <refentry><refsect1><para>
04f27fae 3960#: apt.conf.5.xml:1
7d76ea1d
DK
3961msgid ""
3962"<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
5723791e
JR
3963"of options configure behavior of apt periodic updates, which is done by the "
3964"<literal>/etc/cron.daily/apt</literal> script. See the top of this script "
3965"for the brief documentation of these options."
2a52e8c5
DK
3966msgstr ""
3967
7d76ea1d 3968#. type: Content of: <refentry><refsect1><title>
04f27fae 3969#: apt.conf.5.xml:1
7d76ea1d 3970msgid "Debug options"
2a52e8c5
DK
3971msgstr ""
3972
3973#. type: Content of: <refentry><refsect1><para>
04f27fae 3974#: apt.conf.5.xml:1
2a52e8c5 3975msgid ""
7d76ea1d
DK
3976"Enabling options in the <literal>Debug::</literal> section will cause "
3977"debugging information to be sent to the standard error stream of the program "
3978"utilizing the <literal>apt</literal> libraries, or enable special program "
3979"modes that are primarily useful for debugging the behavior of "
3980"<literal>apt</literal>. Most of these options are not interesting to a "
3981"normal user, but a few may be:"
b39c1859
MV
3982msgstr ""
3983
7d76ea1d 3984#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3985#: apt.conf.5.xml:1
b39c1859 3986msgid ""
7d76ea1d
DK
3987"<literal>Debug::pkgProblemResolver</literal> enables output about the "
3988"decisions made by <literal>dist-upgrade, upgrade, install, remove, "
3989"purge</literal>."
b39c1859
MV
3990msgstr ""
3991
7d76ea1d 3992#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3993#: apt.conf.5.xml:1
b39c1859 3994msgid ""
7d76ea1d
DK
3995"<literal>Debug::NoLocking</literal> disables all file locking. This can be "
3996"used to run some operations (for instance, <literal>apt-get -s "
3997"install</literal>) as a non-root user."
b39c1859
MV
3998msgstr ""
3999
7d76ea1d 4000#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 4001#: apt.conf.5.xml:1
b39c1859 4002msgid ""
7d76ea1d
DK
4003"<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
4004"time that <literal>apt</literal> invokes &dpkg;."
b39c1859
MV
4005msgstr ""
4006
7d76ea1d
DK
4007#. TODO: provide a
4008#. motivating example, except I haven't a clue why you'd want
4009#. to do this.
4010#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 4011#: apt.conf.5.xml:1
b39c1859 4012msgid ""
7d76ea1d
DK
4013"<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
4014"in CD-ROM IDs."
2a52e8c5
DK
4015msgstr ""
4016
4017#. type: Content of: <refentry><refsect1><para>
04f27fae 4018#: apt.conf.5.xml:1
7d76ea1d 4019msgid "A full list of debugging options to apt follows."
2a52e8c5
DK
4020msgstr ""
4021
7d76ea1d 4022#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4023#: apt.conf.5.xml:1
7d76ea1d 4024msgid "Print information related to accessing <literal>cdrom://</literal> sources."
2a52e8c5
DK
4025msgstr ""
4026
7d76ea1d 4027#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4028#: apt.conf.5.xml:1
7d76ea1d 4029msgid "Print information related to downloading packages using FTP."
2a52e8c5
DK
4030msgstr ""
4031
7d76ea1d 4032#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4033#: apt.conf.5.xml:1
7d76ea1d 4034msgid "Print information related to downloading packages using HTTP."
2a52e8c5
DK
4035msgstr ""
4036
7d76ea1d 4037#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4038#: apt.conf.5.xml:1
7d76ea1d 4039msgid "Print information related to downloading packages using HTTPS."
2a52e8c5
DK
4040msgstr ""
4041
7d76ea1d 4042#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4043#: apt.conf.5.xml:1
2a52e8c5 4044msgid ""
7d76ea1d
DK
4045"Print information related to verifying cryptographic signatures using "
4046"<literal>gpg</literal>."
2a52e8c5
DK
4047msgstr ""
4048
7d76ea1d 4049#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4050#: apt.conf.5.xml:1
2a52e8c5 4051msgid ""
7d76ea1d
DK
4052"Output information about the process of accessing collections of packages "
4053"stored on CD-ROMs."
2a52e8c5
DK
4054msgstr ""
4055
7d76ea1d 4056#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4057#: apt.conf.5.xml:1
7d76ea1d 4058msgid "Describes the process of resolving build-dependencies in &apt-get;."
63fc5550
DK
4059msgstr ""
4060
7d76ea1d 4061#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4062#: apt.conf.5.xml:1
63fc5550 4063msgid ""
7d76ea1d
DK
4064"Output each cryptographic hash that is generated by the "
4065"<literal>apt</literal> libraries."
2a52e8c5
DK
4066msgstr ""
4067
7d76ea1d 4068#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4069#: apt.conf.5.xml:1
63fc5550 4070msgid ""
7d76ea1d
DK
4071"Do not include information from <literal>statfs</literal>, namely the number "
4072"of used and free blocks on the CD-ROM filesystem, when generating an ID for "
4073"a CD-ROM."
63fc5550
DK
4074msgstr ""
4075
7d76ea1d 4076#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4077#: apt.conf.5.xml:1
2a52e8c5 4078msgid ""
7d76ea1d
DK
4079"Disable all file locking. For instance, this will allow two instances of "
4080"<quote><literal>apt-get update</literal></quote> to run at the same time."
63fc5550
DK
4081msgstr ""
4082
7d76ea1d 4083#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4084#: apt.conf.5.xml:1
7d76ea1d 4085msgid "Log when items are added to or removed from the global download queue."
2a52e8c5
DK
4086msgstr ""
4087
7d76ea1d 4088#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4089#: apt.conf.5.xml:1
63fc5550 4090msgid ""
7d76ea1d
DK
4091"Output status messages and errors related to verifying checksums and "
4092"cryptographic signatures of downloaded files."
2a52e8c5
DK
4093msgstr ""
4094
7d76ea1d 4095#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4096#: apt.conf.5.xml:1
2a52e8c5 4097msgid ""
7d76ea1d
DK
4098"Output information about downloading and applying package index list diffs, "
4099"and errors relating to package index list diffs."
2a52e8c5
DK
4100msgstr ""
4101
2a52e8c5 4102#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4103#: apt.conf.5.xml:1
2a52e8c5 4104msgid ""
7d76ea1d
DK
4105"Output information related to patching apt package lists when downloading "
4106"index diffs instead of full indices."
2a52e8c5
DK
4107msgstr ""
4108
c77d6597 4109#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4110#: apt.conf.5.xml:1
7d76ea1d 4111msgid "Log all interactions with the sub-processes that actually perform downloads."
c77d6597
MV
4112msgstr ""
4113
2a52e8c5 4114#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4115#: apt.conf.5.xml:1
2a52e8c5 4116msgid ""
7d76ea1d
DK
4117"Log events related to the automatically-installed status of packages and to "
4118"the removal of unused packages."
2a52e8c5
DK
4119msgstr ""
4120
2a52e8c5 4121#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4122#: apt.conf.5.xml:1
2a52e8c5 4123msgid ""
7d76ea1d
DK
4124"Generate debug messages describing which packages are being automatically "
4125"installed to resolve dependencies. This corresponds to the initial "
4126"auto-install pass performed in, e.g., <literal>apt-get install</literal>, "
4127"and not to the full <literal>apt</literal> dependency resolver; see "
4128"<literal>Debug::pkgProblemResolver</literal> for that."
2a52e8c5
DK
4129msgstr ""
4130
2a52e8c5 4131#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4132#: apt.conf.5.xml:1
2a52e8c5 4133msgid ""
5723791e 4134"Generate debug messages describing which packages are marked as "
7d76ea1d
DK
4135"keep/install/remove while the ProblemResolver does his work. Each addition "
4136"or deletion may trigger additional actions; they are shown indented two "
5723791e 4137"additional spaces under the original entry. The format for each line is "
7d76ea1d
DK
4138"<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
4139"<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c "
4140"-&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> "
4141"is the current version of the package, <literal>d.e.f</literal> is the "
4142"version considered for installation and <literal>x.y.z</literal> is a newer "
4143"version, but not considered for installation (because of a low pin "
4144"score). The later two can be omitted if there is none or if it is the same "
5723791e 4145"as the installed version. <literal>section</literal> is the name of the "
7d76ea1d 4146"section the package appears in."
2a52e8c5
DK
4147msgstr ""
4148
2a52e8c5 4149#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4150#: apt.conf.5.xml:1
2a52e8c5 4151msgid ""
7d76ea1d
DK
4152"When invoking &dpkg;, output the precise command line with which it is being "
4153"invoked, with arguments separated by a single space character."
2a52e8c5
DK
4154msgstr ""
4155
2a52e8c5 4156#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4157#: apt.conf.5.xml:1
2a52e8c5 4158msgid ""
7d76ea1d
DK
4159"Output all the data received from &dpkg; on the status file descriptor and "
4160"any errors encountered while parsing it."
2a52e8c5
DK
4161msgstr ""
4162
2a52e8c5 4163#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4164#: apt.conf.5.xml:1
2a52e8c5 4165msgid ""
7d76ea1d
DK
4166"Generate a trace of the algorithm that decides the order in which "
4167"<literal>apt</literal> should pass packages to &dpkg;."
2a52e8c5
DK
4168msgstr ""
4169
2a52e8c5 4170#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4171#: apt.conf.5.xml:1
7d76ea1d 4172msgid "Output status messages tracing the steps performed when invoking &dpkg;."
2a52e8c5
DK
4173msgstr ""
4174
2a52e8c5 4175#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4176#: apt.conf.5.xml:1
7d76ea1d 4177msgid "Output the priority of each package list on startup."
2a52e8c5
DK
4178msgstr ""
4179
2a52e8c5 4180#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4181#: apt.conf.5.xml:1
2a52e8c5 4182msgid ""
7d76ea1d
DK
4183"Trace the execution of the dependency resolver (this applies only to what "
4184"happens when a complex dependency problem is encountered)."
2a52e8c5
DK
4185msgstr ""
4186
2a52e8c5 4187#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4188#: apt.conf.5.xml:1
2a52e8c5 4189msgid ""
7d76ea1d
DK
4190"Display a list of all installed packages with their calculated score used by "
4191"the pkgProblemResolver. The description of the package is the same as "
4192"described in <literal>Debug::pkgDepCache::Marker</literal>"
2a52e8c5
DK
4193msgstr ""
4194
2a52e8c5 4195#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4196#: apt.conf.5.xml:1
2a52e8c5 4197msgid ""
7d76ea1d
DK
4198"Print information about the vendors read from "
4199"<filename>/etc/apt/vendors.list</filename>."
2a52e8c5
DK
4200msgstr ""
4201
93ae7f7f 4202#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4203#: apt.conf.5.xml:1
93ae7f7f
MV
4204msgid ""
4205"Display the external commands that are called by apt hooks. This includes "
4206"e.g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
4207"<literal>APT::Update::{Pre,Post}-Invoke</literal>."
4208msgstr ""
4209
2a52e8c5 4210#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
4211#: apt.conf.5.xml:1 apt_preferences.5.xml:1 sources.list.5.xml:1
4212#: apt-ftparchive.1.xml:1
7d76ea1d 4213msgid "Examples"
2a52e8c5
DK
4214msgstr ""
4215
aec22160 4216#. type: Content of: <refentry><refsect1><para>
04f27fae 4217#: apt.conf.5.xml:1
aec22160 4218msgid ""
7d76ea1d
DK
4219"&configureindex; is a configuration file showing example values for all "
4220"possible options."
aec22160
DK
4221msgstr ""
4222
7d76ea1d
DK
4223#. ? reading apt.conf
4224#. type: Content of: <refentry><refsect1><para>
04f27fae 4225#: apt.conf.5.xml:1
7d76ea1d 4226msgid "&apt-cache;, &apt-config;, &apt-preferences;."
b6c6b52f
MV
4227msgstr ""
4228
7d76ea1d 4229#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 4230#: apt_preferences.5.xml:1
7d76ea1d 4231msgid "Preference control file for APT"
c77d6597
MV
4232msgstr ""
4233
aec22160 4234#. type: Content of: <refentry><refsect1><para>
04f27fae 4235#: apt_preferences.5.xml:1
b6c6b52f 4236msgid ""
7d76ea1d
DK
4237"The APT preferences file <filename>/etc/apt/preferences</filename> and the "
4238"fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
4239"can be used to control which versions of packages will be selected for "
4240"installation."
b6c6b52f
MV
4241msgstr ""
4242
7d76ea1d 4243#. type: Content of: <refentry><refsect1><para>
04f27fae 4244#: apt_preferences.5.xml:1
2a52e8c5 4245msgid ""
7d76ea1d
DK
4246"Several versions of a package may be available for installation when the "
4247"&sources-list; file contains references to more than one distribution (for "
4248"example, <literal>stable</literal> and <literal>testing</literal>). APT "
4249"assigns a priority to each version that is available. Subject to dependency "
4250"constraints, <command>apt-get</command> selects the version with the highest "
44477002
JR
4251"priority for installation. The APT preferences override the priorities that "
4252"APT assigns to package versions by default, thus giving the user control "
4253"over which one is selected for installation."
2a52e8c5
DK
4254msgstr ""
4255
7d76ea1d 4256#. type: Content of: <refentry><refsect1><para>
04f27fae 4257#: apt_preferences.5.xml:1
b39c1859 4258msgid ""
7d76ea1d
DK
4259"Several instances of the same version of a package may be available when the "
4260"&sources-list; file contains references to more than one source. In this "
4261"case <command>apt-get</command> downloads the instance listed earliest in "
44477002
JR
4262"the &sources-list; file. The APT preferences do not affect the choice of "
4263"instance, only the choice of version."
b39c1859
MV
4264msgstr ""
4265
7d76ea1d 4266#. type: Content of: <refentry><refsect1><para>
04f27fae 4267#: apt_preferences.5.xml:1
2a52e8c5 4268msgid ""
7d76ea1d
DK
4269"Preferences are a strong power in the hands of a system administrator but "
4270"they can become also their biggest nightmare if used without care! APT will "
44477002
JR
4271"not question the preferences, so wrong settings can lead to uninstallable "
4272"packages or wrong decisions while upgrading packages. Even more problems "
4273"will arise if multiple distribution releases are mixed without a good "
4274"understanding of the following paragraphs. Packages included in a specific "
4275"release aren't tested in (and therefore don't always work as expected in) "
4276"older or newer releases, or together with other packages from different "
4277"releases. You have been warned."
2a52e8c5
DK
4278msgstr ""
4279
7d76ea1d 4280#. type: Content of: <refentry><refsect1><para>
04f27fae 4281#: apt_preferences.5.xml:1
2a52e8c5 4282msgid ""
7d76ea1d
DK
4283"Note that the files in the <filename>/etc/apt/preferences.d</filename> "
4284"directory are parsed in alphanumeric ascending order and need to obey the "
4285"following naming convention: The files have either no or "
4286"\"<literal>pref</literal>\" as filename extension and only contain "
4287"alphanumeric, hyphen (-), underscore (_) and period (.) characters. "
44477002
JR
4288"Otherwise APT will print a notice that it has ignored a file, unless that "
4289"file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
5723791e 4290"configuration list - in which case it will be silently ignored."
2a52e8c5
DK
4291msgstr ""
4292
7d76ea1d 4293#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4294#: apt_preferences.5.xml:1
7d76ea1d 4295msgid "APT's Default Priority Assignments"
2a52e8c5
DK
4296msgstr ""
4297
7d76ea1d 4298#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 4299#: apt_preferences.5.xml:1
7d76ea1d 4300#, no-wrap
2a52e8c5 4301msgid ""
7d76ea1d
DK
4302"<command>apt-get install -t testing "
4303"<replaceable>some-package</replaceable></command>\n"
2a52e8c5
DK
4304msgstr ""
4305
7d76ea1d 4306#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 4307#: apt_preferences.5.xml:1
7d76ea1d
DK
4308#, no-wrap
4309msgid "APT::Default-Release \"stable\";\n"
4310msgstr ""
2a52e8c5 4311
7d76ea1d 4312#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4313#: apt_preferences.5.xml:1
2a52e8c5 4314msgid ""
7d76ea1d
DK
4315"If there is no preferences file or if there is no entry in the file that "
4316"applies to a particular version then the priority assigned to that version "
4317"is the priority of the distribution to which that version belongs. It is "
4318"possible to single out a distribution, \"the target release\", which "
4319"receives a higher priority than other distributions do by default. The "
4320"target release can be set on the <command>apt-get</command> command line or "
4321"in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
4322"that this has precedence over any general priority you set in the "
4323"<filename>/etc/apt/preferences</filename> file described later, but not over "
4324"specifically pinned packages. For example, <placeholder "
4325"type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" "
4326"id=\"1\"/>"
2a52e8c5
DK
4327msgstr ""
4328
7d76ea1d 4329#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4330#: apt_preferences.5.xml:1
2a52e8c5 4331msgid ""
7d76ea1d
DK
4332"If the target release has been specified then APT uses the following "
4333"algorithm to set the priorities of the versions of a package. Assign:"
2a52e8c5
DK
4334msgstr ""
4335
7d76ea1d 4336#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4337#: apt_preferences.5.xml:1
7d76ea1d 4338msgid "priority 1"
c086ac18
DK
4339msgstr ""
4340
7d76ea1d 4341#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4342#: apt_preferences.5.xml:1
63fc5550 4343msgid ""
7d76ea1d
DK
4344"to the versions coming from archives which in their "
4345"<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but "
44477002 4346"<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
7d76ea1d 4347"<literal>experimental</literal> archive."
63fc5550
DK
4348msgstr ""
4349
7d76ea1d 4350#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4351#: apt_preferences.5.xml:1
7d76ea1d 4352msgid "priority 100"
bf5c3fe8
MV
4353msgstr ""
4354
7d76ea1d 4355#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4356#: apt_preferences.5.xml:1
2a52e8c5 4357msgid ""
7d76ea1d
DK
4358"to the version that is already installed (if any) and to the versions coming "
4359"from archives which in their <filename>Release</filename> files are marked "
44477002 4360"as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
7d76ea1d 4361"backports archive since <literal>squeeze-backports</literal>."
2a52e8c5
DK
4362msgstr ""
4363
7d76ea1d 4364#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4365#: apt_preferences.5.xml:1
7d76ea1d 4366msgid "priority 500"
2a52e8c5
DK
4367msgstr ""
4368
7d76ea1d 4369#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4370#: apt_preferences.5.xml:1
864fe99c 4371msgid "to the versions that do not belong to the target release."
2a52e8c5
DK
4372msgstr ""
4373
7d76ea1d 4374#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4375#: apt_preferences.5.xml:1
7d76ea1d 4376msgid "priority 990"
c086ac18
DK
4377msgstr ""
4378
7d76ea1d 4379#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4380#: apt_preferences.5.xml:1
864fe99c
MV
4381msgid "to the versions that belong to the target release."
4382msgstr ""
4383
4384#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4385#: apt_preferences.5.xml:1
864fe99c
MV
4386msgid ""
4387"The highest of those priorities whose description matches the version is "
4388"assigned to the version."
63fc5550
DK
4389msgstr ""
4390
7d76ea1d 4391#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4392#: apt_preferences.5.xml:1
2a52e8c5 4393msgid ""
7d76ea1d
DK
4394"If the target release has not been specified then APT simply assigns "
4395"priority 100 to all installed package versions and priority 500 to all "
4396"uninstalled package versions, except versions coming from archives which in "
4397"their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
4398"- these versions get the priority 1 or priority 100 if it is additionally "
4399"marked as \"ButAutomaticUpgrades: yes\"."
2a52e8c5
DK
4400msgstr ""
4401
7d76ea1d 4402#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4403#: apt_preferences.5.xml:1
2a52e8c5 4404msgid ""
7d76ea1d
DK
4405"APT then applies the following rules, listed in order of precedence, to "
4406"determine which version of a package to install."
2a52e8c5
DK
4407msgstr ""
4408
7d76ea1d 4409#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4410#: apt_preferences.5.xml:1
2a52e8c5 4411msgid ""
7d76ea1d
DK
4412"Never downgrade unless the priority of an available version exceeds 1000. "
4413"(\"Downgrading\" is installing a less recent version of a package in place "
4414"of a more recent version. Note that none of APT's default priorities "
4415"exceeds 1000; such high priorities can only be set in the preferences file. "
4416"Note also that downgrading a package can be risky.)"
2a52e8c5
DK
4417msgstr ""
4418
7d76ea1d 4419#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4420#: apt_preferences.5.xml:1
7d76ea1d 4421msgid "Install the highest priority version."
2a52e8c5
DK
4422msgstr ""
4423
7d76ea1d 4424#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4425#: apt_preferences.5.xml:1
2a52e8c5 4426msgid ""
7d76ea1d
DK
4427"If two or more versions have the same priority, install the most recent one "
4428"(that is, the one with the higher version number)."
2a52e8c5
DK
4429msgstr ""
4430
7d76ea1d 4431#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4432#: apt_preferences.5.xml:1
2a52e8c5 4433msgid ""
7d76ea1d
DK
4434"If two or more versions have the same priority and version number but either "
4435"the packages differ in some of their metadata or the "
4436"<literal>--reinstall</literal> option is given, install the uninstalled one."
2a52e8c5
DK
4437msgstr ""
4438
7d76ea1d 4439#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4440#: apt_preferences.5.xml:1
bcf91c1b 4441msgid ""
7d76ea1d
DK
4442"In a typical situation, the installed version of a package (priority 100) "
4443"is not as recent as one of the versions available from the sources listed in "
4444"the &sources-list; file (priority 500 or 990). Then the package will be "
4445"upgraded when <command>apt-get install "
4446"<replaceable>some-package</replaceable></command> or <command>apt-get "
4447"upgrade</command> is executed."
bcf91c1b
DK
4448msgstr ""
4449
7d76ea1d 4450#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4451#: apt_preferences.5.xml:1
bcf91c1b 4452msgid ""
7d76ea1d
DK
4453"More rarely, the installed version of a package is <emphasis>more</emphasis> "
4454"recent than any of the other available versions. The package will not be "
4455"downgraded when <command>apt-get install "
4456"<replaceable>some-package</replaceable></command> or <command>apt-get "
4457"upgrade</command> is executed."
bcf91c1b
DK
4458msgstr ""
4459
7d76ea1d 4460#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4461#: apt_preferences.5.xml:1
2a52e8c5 4462msgid ""
7d76ea1d
DK
4463"Sometimes the installed version of a package is more recent than the version "
4464"belonging to the target release, but not as recent as a version belonging to "
4465"some other distribution. Such a package will indeed be upgraded when "
4466"<command>apt-get install <replaceable>some-package</replaceable></command> "
4467"or <command>apt-get upgrade</command> is executed, because at least "
4468"<emphasis>one</emphasis> of the available versions has a higher priority "
4469"than the installed version."
bcf91c1b
DK
4470msgstr ""
4471
7d76ea1d 4472#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4473#: apt_preferences.5.xml:1
7d76ea1d 4474msgid "The Effect of APT Preferences"
bcf91c1b
DK
4475msgstr ""
4476
7d76ea1d 4477#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4478#: apt_preferences.5.xml:1
bcf91c1b 4479msgid ""
7d76ea1d
DK
4480"The APT preferences file allows the system administrator to control the "
4481"assignment of priorities. The file consists of one or more multi-line "
4482"records separated by blank lines. Records can have one of two forms, a "
4483"specific form and a general form."
bcf91c1b
DK
4484msgstr ""
4485
7d76ea1d 4486#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4487#: apt_preferences.5.xml:1
bcf91c1b 4488msgid ""
7d76ea1d 4489"The specific form assigns a priority (a \"Pin-Priority\") to one or more "
44477002
JR
4490"specified packages with a specified version or version range. For example, "
4491"the following record assigns a high priority to all versions of the "
7d76ea1d 4492"<filename>perl</filename> package whose version number begins with "
75d9bdba
JR
4493"\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
4494"spaces."
bcf91c1b
DK
4495msgstr ""
4496
7d76ea1d 4497#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4498#: apt_preferences.5.xml:1
bcf91c1b 4499#, no-wrap
7d76ea1d
DK
4500msgid ""
4501"Package: perl\n"
75d9bdba 4502"Pin: version &good-perl;*\n"
7d76ea1d 4503"Pin-Priority: 1001\n"
bcf91c1b
DK
4504msgstr ""
4505
7d76ea1d 4506#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4507#: apt_preferences.5.xml:1
bcf91c1b 4508msgid ""
7d76ea1d
DK
4509"The general form assigns a priority to all of the package versions in a "
4510"given distribution (that is, to all the versions of packages that are listed "
4511"in a certain <filename>Release</filename> file) or to all of the package "
4512"versions coming from a particular Internet site, as identified by the site's "
4513"fully qualified domain name."
bcf91c1b
DK
4514msgstr ""
4515
7d76ea1d 4516#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4517#: apt_preferences.5.xml:1
bcf91c1b 4518msgid ""
7d76ea1d
DK
4519"This general-form entry in the APT preferences file applies only to groups "
4520"of packages. For example, the following record assigns a high priority to "
4521"all package versions available from the local site."
bcf91c1b
DK
4522msgstr ""
4523
7d76ea1d 4524#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4525#: apt_preferences.5.xml:1
bcf91c1b 4526#, no-wrap
de2c243c 4527msgid ""
7d76ea1d
DK
4528"Package: *\n"
4529"Pin: origin \"\"\n"
4530"Pin-Priority: 999\n"
de2c243c 4531msgstr ""
4532
7d76ea1d 4533#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4534#: apt_preferences.5.xml:1
bf5c3fe8 4535msgid ""
7d76ea1d
DK
4536"A note of caution: the keyword used here is \"<literal>origin</literal>\" "
4537"which can be used to match a hostname. The following record will assign a "
4538"high priority to all versions available from the server identified by the "
4539"hostname \"ftp.de.debian.org\""
bf5c3fe8
MV
4540msgstr ""
4541
7d76ea1d 4542#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4543#: apt_preferences.5.xml:1
bf5c3fe8 4544#, no-wrap
bcf91c1b 4545msgid ""
7d76ea1d
DK
4546"Package: *\n"
4547"Pin: origin \"ftp.de.debian.org\"\n"
4548"Pin-Priority: 999\n"
bf5c3fe8
MV
4549msgstr ""
4550
7d76ea1d 4551#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4552#: apt_preferences.5.xml:1
bf5c3fe8 4553msgid ""
7d76ea1d
DK
4554"This should <emphasis>not</emphasis> be confused with the Origin of a "
4555"distribution as specified in a <filename>Release</filename> file. What "
4556"follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
4557"Internet address but an author or vendor name, such as \"Debian\" or "
4558"\"Ximian\"."
bf5c3fe8
MV
4559msgstr ""
4560
7d76ea1d 4561#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4562#: apt_preferences.5.xml:1
c086ac18 4563msgid ""
7d76ea1d
DK
4564"The following record assigns a low priority to all package versions "
4565"belonging to any distribution whose Archive name is "
4566"\"<literal>unstable</literal>\"."
2a52e8c5
DK
4567msgstr ""
4568
7d76ea1d 4569#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4570#: apt_preferences.5.xml:1
bf5c3fe8 4571#, no-wrap
2a52e8c5 4572msgid ""
7d76ea1d
DK
4573"Package: *\n"
4574"Pin: release a=unstable\n"
4575"Pin-Priority: 50\n"
2a52e8c5
DK
4576msgstr ""
4577
7d76ea1d 4578#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4579#: apt_preferences.5.xml:1
2a52e8c5 4580msgid ""
7d76ea1d
DK
4581"The following record assigns a high priority to all package versions "
4582"belonging to any distribution whose Codename is "
9feb98eb 4583"\"<literal>&debian-testing-codename;</literal>\"."
2a52e8c5
DK
4584msgstr ""
4585
7d76ea1d 4586#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4587#: apt_preferences.5.xml:1
7d76ea1d 4588#, no-wrap
2a52e8c5 4589msgid ""
7d76ea1d 4590"Package: *\n"
9feb98eb 4591"Pin: release n=&debian-testing-codename;\n"
7d76ea1d 4592"Pin-Priority: 900\n"
2a52e8c5
DK
4593msgstr ""
4594
7d76ea1d 4595#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4596#: apt_preferences.5.xml:1
2a52e8c5 4597msgid ""
7d76ea1d
DK
4598"The following record assigns a high priority to all package versions "
4599"belonging to any release whose Archive name is \"<literal>stable</literal>\" "
9feb98eb
DK
4600"and whose release Version number is "
4601"\"<literal>&debian-stable-version;</literal>\"."
2a52e8c5
DK
4602msgstr ""
4603
7d76ea1d 4604#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4605#: apt_preferences.5.xml:1
7d76ea1d 4606#, no-wrap
2a52e8c5 4607msgid ""
7d76ea1d 4608"Package: *\n"
9feb98eb 4609"Pin: release a=stable, v=&debian-stable-version;\n"
7d76ea1d 4610"Pin-Priority: 500\n"
2a52e8c5
DK
4611msgstr ""
4612
864fe99c 4613#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4614#: apt_preferences.5.xml:1
864fe99c
MV
4615msgid ""
4616"The effect of the comma operator is similar to an \"and\" in logic: All "
4617"conditions must be satisfied for the pin to match. There is one exception: "
4618"For any type of condition (such as two \"a\" conditions), only the last such "
4619"condition is checked."
4620msgstr ""
4621
4622#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4623#: apt_preferences.5.xml:1
44477002 4624msgid "Regular expressions and &glob; syntax"
2a52e8c5
DK
4625msgstr ""
4626
7d76ea1d 4627#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4628#: apt_preferences.5.xml:1
b6c6b52f 4629msgid ""
44477002
JR
4630"APT also supports pinning by &glob; expressions, and regular expressions "
4631"surrounded by slashes. For example, the following example assigns the "
4632"priority 500 to all packages from experimental where the name starts with "
4633"gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
4634"extended regular expression surrounded by slashes)."
b6c6b52f
MV
4635msgstr ""
4636
7d76ea1d 4637#. type: Content of: <refentry><refsect1><refsect2><programlisting>
04f27fae 4638#: apt_preferences.5.xml:1
7d76ea1d 4639#, no-wrap
2a52e8c5 4640msgid ""
7d76ea1d 4641"Package: gnome* /kde/\n"
14c50b58 4642"Pin: release a=experimental\n"
7d76ea1d 4643"Pin-Priority: 500\n"
2a52e8c5
DK
4644msgstr ""
4645
7d76ea1d 4646#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4647#: apt_preferences.5.xml:1
2a52e8c5 4648msgid ""
7d76ea1d
DK
4649"The rule for those expressions is that they can occur anywhere where a "
4650"string can occur. Thus, the following pin assigns the priority 990 to all "
44477002 4651"packages from a release starting with &ubuntu-codename;."
2a52e8c5
DK
4652msgstr ""
4653
7d76ea1d 4654#. type: Content of: <refentry><refsect1><refsect2><programlisting>
04f27fae 4655#: apt_preferences.5.xml:1
7d76ea1d 4656#, no-wrap
2a52e8c5 4657msgid ""
7d76ea1d 4658"Package: *\n"
44477002 4659"Pin: release n=&ubuntu-codename;*\n"
7d76ea1d 4660"Pin-Priority: 990\n"
2a52e8c5
DK
4661msgstr ""
4662
7d76ea1d 4663#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4664#: apt_preferences.5.xml:1
2a52e8c5 4665msgid ""
7d76ea1d
DK
4666"If a regular expression occurs in a <literal>Package</literal> field, the "
4667"behavior is the same as if this regular expression were replaced with a list "
4668"of all package names it matches. It is undecided whether this will change in "
44477002 4669"the future; thus you should always list wild-card pins first, so later "
7d76ea1d 4670"specific pins override it. The pattern \"<literal>*</literal>\" in a "
44477002 4671"Package field is not considered a &glob; expression in itself."
2a52e8c5
DK
4672msgstr ""
4673
7d76ea1d 4674#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4675#: apt_preferences.5.xml:1
7d76ea1d 4676msgid "How APT Interprets Priorities"
2a52e8c5
DK
4677msgstr ""
4678
7d76ea1d 4679#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4680#: apt_preferences.5.xml:1
2a52e8c5 4681msgid ""
7d76ea1d
DK
4682"Priorities (P) assigned in the APT preferences file must be positive or "
4683"negative integers. They are interpreted as follows (roughly speaking):"
2a52e8c5
DK
4684msgstr ""
4685
7d76ea1d 4686#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4687#: apt_preferences.5.xml:1
5e594b30 4688msgid "P &gt;= 1000"
2a52e8c5
DK
4689msgstr ""
4690
7d76ea1d 4691#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4692#: apt_preferences.5.xml:1
2a52e8c5 4693msgid ""
7d76ea1d
DK
4694"causes a version to be installed even if this constitutes a downgrade of the "
4695"package"
2a52e8c5
DK
4696msgstr ""
4697
7d76ea1d 4698#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4699#: apt_preferences.5.xml:1
5e594b30 4700msgid "990 &lt;= P &lt; 1000"
2a52e8c5
DK
4701msgstr ""
4702
7d76ea1d 4703#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4704#: apt_preferences.5.xml:1
2a52e8c5 4705msgid ""
7d76ea1d
DK
4706"causes a version to be installed even if it does not come from the target "
4707"release, unless the installed version is more recent"
2a52e8c5
DK
4708msgstr ""
4709
7d76ea1d 4710#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4711#: apt_preferences.5.xml:1
5e594b30 4712msgid "500 &lt;= P &lt; 990"
2a52e8c5
DK
4713msgstr ""
4714
7d76ea1d 4715#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4716#: apt_preferences.5.xml:1
2a52e8c5 4717msgid ""
7d76ea1d
DK
4718"causes a version to be installed unless there is a version available "
4719"belonging to the target release or the installed version is more recent"
2a52e8c5
DK
4720msgstr ""
4721
7d76ea1d 4722#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4723#: apt_preferences.5.xml:1
5e594b30 4724msgid "100 &lt;= P &lt; 500"
2a52e8c5
DK
4725msgstr ""
4726
7d76ea1d 4727#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4728#: apt_preferences.5.xml:1
2a52e8c5 4729msgid ""
7d76ea1d
DK
4730"causes a version to be installed unless there is a version available "
4731"belonging to some other distribution or the installed version is more recent"
2a52e8c5
DK
4732msgstr ""
4733
7d76ea1d 4734#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4735#: apt_preferences.5.xml:1
5e594b30 4736msgid "0 &lt; P &lt; 100"
3e9c4f70
DK
4737msgstr ""
4738
7d76ea1d 4739#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4740#: apt_preferences.5.xml:1
3e9c4f70 4741msgid ""
7d76ea1d
DK
4742"causes a version to be installed only if there is no installed version of "
4743"the package"
3e9c4f70
DK
4744msgstr ""
4745
7d76ea1d 4746#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4747#: apt_preferences.5.xml:1
7d76ea1d 4748msgid "P &lt; 0"
3e9c4f70
DK
4749msgstr ""
4750
7d76ea1d 4751#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4752#: apt_preferences.5.xml:1
7d76ea1d 4753msgid "prevents the version from being installed"
3e9c4f70
DK
4754msgstr ""
4755
864fe99c 4756#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4757#: apt_preferences.5.xml:1
864fe99c
MV
4758msgid "P = 0"
4759msgstr ""
4760
4761#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4762#: apt_preferences.5.xml:1
864fe99c
MV
4763msgid "has undefined behaviour, do not use it."
4764msgstr ""
4765
7d76ea1d 4766#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4767#: apt_preferences.5.xml:1
3e9c4f70 4768msgid ""
864fe99c
MV
4769"The first specific-form record matching an available package version "
4770"determines the priority of the package version. Failing that, the priority "
4771"of the package is defined as the maximum of all priorities defined by "
4772"generic-form records matching the version. Records defined using patterns "
4773"in the Pin field other than \"*\" are treated like specific-form records."
3e9c4f70
DK
4774msgstr ""
4775
3e9c4f70 4776#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4777#: apt_preferences.5.xml:1
5e312de7 4778msgid ""
7d76ea1d
DK
4779"For example, suppose the APT preferences file contains the three records "
4780"presented earlier:"
3e9c4f70
DK
4781msgstr ""
4782
7d76ea1d 4783#. type: Content of: <refentry><refsect1><refsect2><programlisting>
04f27fae 4784#: apt_preferences.5.xml:1
3e9c4f70 4785#, no-wrap
5e312de7 4786msgid ""
7d76ea1d 4787"Package: perl\n"
75d9bdba 4788"Pin: version &good-perl;*\n"
7d76ea1d
DK
4789"Pin-Priority: 1001\n"
4790"\n"
4791"Package: *\n"
4792"Pin: origin \"\"\n"
4793"Pin-Priority: 999\n"
4794"\n"
4795"Package: *\n"
4796"Pin: release unstable\n"
4797"Pin-Priority: 50\n"
5e312de7
DK
4798msgstr ""
4799
3e9c4f70 4800#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4801#: apt_preferences.5.xml:1
7d76ea1d 4802msgid "Then:"
5e312de7
DK
4803msgstr ""
4804
7d76ea1d 4805#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4806#: apt_preferences.5.xml:1
5e312de7 4807msgid ""
7d76ea1d
DK
4808"The most recent available version of the <literal>perl</literal> package "
4809"will be installed, so long as that version's version number begins with "
75d9bdba
JR
4810"\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> "
4811"&good-perl;* version of <literal>perl</literal> is available and the "
4812"installed version is &bad-perl;*, then <literal>perl</literal> will be "
4813"downgraded."
5e312de7
DK
4814msgstr ""
4815
7d76ea1d 4816#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4817#: apt_preferences.5.xml:1
5e312de7 4818msgid ""
7d76ea1d
DK
4819"A version of any package other than <literal>perl</literal> that is "
4820"available from the local system has priority over other versions, even "
4821"versions belonging to the target release."
2a52e8c5
DK
4822msgstr ""
4823
7d76ea1d 4824#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4825#: apt_preferences.5.xml:1
2a52e8c5 4826msgid ""
7d76ea1d
DK
4827"A version of a package whose origin is not the local system but some other "
4828"site listed in &sources-list; and which belongs to an "
4829"<literal>unstable</literal> distribution is only installed if it is selected "
4830"for installation and no version of the package is already installed."
2a52e8c5
DK
4831msgstr ""
4832
7d76ea1d 4833#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4834#: apt_preferences.5.xml:1
7d76ea1d 4835msgid "Determination of Package Version and Distribution Properties"
2a52e8c5
DK
4836msgstr ""
4837
7d76ea1d 4838#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4839#: apt_preferences.5.xml:1
2a52e8c5 4840msgid ""
7d76ea1d
DK
4841"The locations listed in the &sources-list; file should provide "
4842"<filename>Packages</filename> and <filename>Release</filename> files to "
4843"describe the packages available at that location."
2a52e8c5
DK
4844msgstr ""
4845
7d76ea1d 4846#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4847#: apt_preferences.5.xml:1
2a52e8c5 4848msgid ""
7d76ea1d
DK
4849"The <filename>Packages</filename> file is normally found in the directory "
4850"<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: "
4851"for example, "
4852"<filename>.../dists/stable/main/binary-i386/Packages</filename>. It "
4853"consists of a series of multi-line records, one for each package available "
4854"in that directory. Only two lines in each record are relevant for setting "
4855"APT priorities:"
2a52e8c5
DK
4856msgstr ""
4857
7d76ea1d 4858#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4859#: apt_preferences.5.xml:1
7d76ea1d 4860msgid "the <literal>Package:</literal> line"
2a52e8c5
DK
4861msgstr ""
4862
7d76ea1d 4863#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4864#: apt_preferences.5.xml:1
7d76ea1d 4865msgid "gives the package name"
2a52e8c5
DK
4866msgstr ""
4867
7d76ea1d 4868#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4869#: apt_preferences.5.xml:1 apt_preferences.5.xml:1
7d76ea1d 4870msgid "the <literal>Version:</literal> line"
2a52e8c5
DK
4871msgstr ""
4872
7d76ea1d 4873#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4874#: apt_preferences.5.xml:1
7d76ea1d 4875msgid "gives the version number for the named package"
2a52e8c5
DK
4876msgstr ""
4877
7d76ea1d 4878#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4879#: apt_preferences.5.xml:1
5e312de7 4880msgid ""
7d76ea1d
DK
4881"The <filename>Release</filename> file is normally found in the directory "
4882"<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
4883"example, <filename>.../dists/stable/Release</filename>, or "
9feb98eb
DK
4884"<filename>.../dists/&debian-stable-codename;/Release</filename>. It "
4885"consists of a single multi-line record which applies to "
4886"<emphasis>all</emphasis> of the packages in the directory tree below its "
4887"parent. Unlike the <filename>Packages</filename> file, nearly all of the "
4888"lines in a <filename>Release</filename> file are relevant for setting APT "
4889"priorities:"
2a52e8c5
DK
4890msgstr ""
4891
7d76ea1d 4892#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4893#: apt_preferences.5.xml:1
7d76ea1d 4894msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
2a52e8c5
DK
4895msgstr ""
4896
7d76ea1d 4897#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4898#: apt_preferences.5.xml:1
2a52e8c5 4899msgid ""
7d76ea1d
DK
4900"names the archive to which all the packages in the directory tree belong. "
4901"For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
4902"that all of the packages in the directory tree below the parent of the "
4903"<filename>Release</filename> file are in a <literal>stable</literal> "
4904"archive. Specifying this value in the APT preferences file would require "
4905"the line:"
2a52e8c5
DK
4906msgstr ""
4907
7d76ea1d 4908#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 4909#: apt_preferences.5.xml:1
7d76ea1d
DK
4910#, no-wrap
4911msgid "Pin: release a=stable\n"
2a52e8c5
DK
4912msgstr ""
4913
7d76ea1d 4914#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4915#: apt_preferences.5.xml:1
7d76ea1d 4916msgid "the <literal>Codename:</literal> line"
2a52e8c5
DK
4917msgstr ""
4918
7d76ea1d 4919#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4920#: apt_preferences.5.xml:1
2a52e8c5 4921msgid ""
7d76ea1d 4922"names the codename to which all the packages in the directory tree belong. "
9feb98eb
DK
4923"For example, the line \"Codename: &debian-testing-codename;\" specifies that "
4924"all of the packages in the directory tree below the parent of the "
7d76ea1d 4925"<filename>Release</filename> file belong to a version named "
9feb98eb
DK
4926"<literal>&debian-testing-codename;</literal>. Specifying this value in the "
4927"APT preferences file would require the line:"
2a52e8c5
DK
4928msgstr ""
4929
7d76ea1d 4930#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 4931#: apt_preferences.5.xml:1
7d76ea1d 4932#, no-wrap
9feb98eb 4933msgid "Pin: release n=&debian-testing-codename;\n"
2a52e8c5
DK
4934msgstr ""
4935
7d76ea1d 4936#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4937#: apt_preferences.5.xml:1
2a52e8c5 4938msgid ""
7d76ea1d 4939"names the release version. For example, the packages in the tree might "
9feb98eb
DK
4940"belong to Debian release version &debian-stable-version;. Note that there "
4941"is normally no version number for the <literal>testing</literal> and "
7d76ea1d
DK
4942"<literal>unstable</literal> distributions because they have not been "
4943"released yet. Specifying this in the APT preferences file would require one "
4944"of the following lines."
2a52e8c5
DK
4945msgstr ""
4946
7d76ea1d 4947#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 4948#: apt_preferences.5.xml:1
7d76ea1d 4949#, no-wrap
2a52e8c5 4950msgid ""
9feb98eb
DK
4951"Pin: release v=&debian-stable-version;\n"
4952"Pin: release a=stable, v=&debian-stable-version;\n"
4953"Pin: release &debian-stable-version;\n"
2a52e8c5
DK
4954msgstr ""
4955
7d76ea1d 4956#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4957#: apt_preferences.5.xml:1
7d76ea1d 4958msgid "the <literal>Component:</literal> line"
2a52e8c5
DK
4959msgstr ""
4960
7d76ea1d 4961#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4962#: apt_preferences.5.xml:1
2a52e8c5 4963msgid ""
7d76ea1d
DK
4964"names the licensing component associated with the packages in the directory "
4965"tree of the <filename>Release</filename> file. For example, the line "
4966"\"Component: main\" specifies that all the packages in the directory tree "
4967"are from the <literal>main</literal> component, which entails that they are "
4968"licensed under terms listed in the Debian Free Software Guidelines. "
4969"Specifying this component in the APT preferences file would require the "
4970"line:"
2a52e8c5
DK
4971msgstr ""
4972
7d76ea1d 4973#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 4974#: apt_preferences.5.xml:1
7d76ea1d
DK
4975#, no-wrap
4976msgid "Pin: release c=main\n"
2a52e8c5
DK
4977msgstr ""
4978
7d76ea1d 4979#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4980#: apt_preferences.5.xml:1
7d76ea1d 4981msgid "the <literal>Origin:</literal> line"
2a52e8c5
DK
4982msgstr ""
4983
7d76ea1d 4984#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4985#: apt_preferences.5.xml:1
2a52e8c5 4986msgid ""
7d76ea1d
DK
4987"names the originator of the packages in the directory tree of the "
4988"<filename>Release</filename> file. Most commonly, this is "
4989"<literal>Debian</literal>. Specifying this origin in the APT preferences "
4990"file would require the line:"
2a52e8c5
DK
4991msgstr ""
4992
7d76ea1d 4993#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 4994#: apt_preferences.5.xml:1
7d76ea1d
DK
4995#, no-wrap
4996msgid "Pin: release o=Debian\n"
2a52e8c5
DK
4997msgstr ""
4998
7d76ea1d 4999#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5000#: apt_preferences.5.xml:1
7d76ea1d 5001msgid "the <literal>Label:</literal> line"
2a52e8c5
DK
5002msgstr ""
5003
7d76ea1d 5004#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5005#: apt_preferences.5.xml:1
2a52e8c5 5006msgid ""
7d76ea1d
DK
5007"names the label of the packages in the directory tree of the "
5008"<filename>Release</filename> file. Most commonly, this is "
5009"<literal>Debian</literal>. Specifying this label in the APT preferences "
5010"file would require the line:"
2a52e8c5
DK
5011msgstr ""
5012
7d76ea1d 5013#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5014#: apt_preferences.5.xml:1
7d76ea1d
DK
5015#, no-wrap
5016msgid "Pin: release l=Debian\n"
2a52e8c5
DK
5017msgstr ""
5018
7d76ea1d 5019#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5020#: apt_preferences.5.xml:1
2a52e8c5 5021msgid ""
7d76ea1d
DK
5022"All of the <filename>Packages</filename> and <filename>Release</filename> "
5023"files retrieved from locations listed in the &sources-list; file are stored "
5024"in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
5025"named by the variable <literal>Dir::State::Lists</literal> in the "
5026"<filename>apt.conf</filename> file. For example, the file "
5027"<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
5028"contains the <filename>Release</filename> file retrieved from the site "
5029"<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
5030"architecture files from the <literal>contrib</literal> component of the "
5031"<literal>unstable</literal> distribution."
2a52e8c5
DK
5032msgstr ""
5033
7d76ea1d 5034#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5035#: apt_preferences.5.xml:1
7d76ea1d 5036msgid "Optional Lines in an APT Preferences Record"
2a52e8c5
DK
5037msgstr ""
5038
7d76ea1d 5039#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5040#: apt_preferences.5.xml:1
2a52e8c5 5041msgid ""
7d76ea1d
DK
5042"Each record in the APT preferences file can optionally begin with one or "
5043"more lines beginning with the word <literal>Explanation:</literal>. This "
5044"provides a place for comments."
2a52e8c5
DK
5045msgstr ""
5046
7d76ea1d 5047#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5048#: apt_preferences.5.xml:1
7d76ea1d 5049msgid "Tracking Stable"
2a52e8c5
DK
5050msgstr ""
5051
7d76ea1d 5052#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5053#: apt_preferences.5.xml:1
7d76ea1d 5054#, no-wrap
2a52e8c5 5055msgid ""
7d76ea1d
DK
5056"Explanation: Uninstall or do not install any Debian-originated\n"
5057"Explanation: package versions other than those in the stable distro\n"
5058"Package: *\n"
5059"Pin: release a=stable\n"
5060"Pin-Priority: 900\n"
5061"\n"
5062"Package: *\n"
5063"Pin: release o=Debian\n"
5064"Pin-Priority: -10\n"
2a52e8c5
DK
5065msgstr ""
5066
7d76ea1d 5067#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5068#: apt_preferences.5.xml:1
2a52e8c5 5069msgid ""
7d76ea1d
DK
5070"The following APT preferences file will cause APT to assign a priority "
5071"higher than the default (500) to all package versions belonging to a "
5072"<literal>stable</literal> distribution and a prohibitively low priority to "
5073"package versions belonging to other <literal>Debian</literal> "
5074"distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
5075msgstr ""
5076
7d76ea1d 5077#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5078#: apt_preferences.5.xml:1 apt_preferences.5.xml:1 apt_preferences.5.xml:1
7d76ea1d 5079#, no-wrap
2a52e8c5 5080msgid ""
7d76ea1d
DK
5081"apt-get install <replaceable>package-name</replaceable>\n"
5082"apt-get upgrade\n"
5083"apt-get dist-upgrade\n"
2a52e8c5
DK
5084msgstr ""
5085
7d76ea1d 5086#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5087#: apt_preferences.5.xml:1
2a52e8c5 5088msgid ""
7d76ea1d
DK
5089"With a suitable &sources-list; file and the above preferences file, any of "
5090"the following commands will cause APT to upgrade to the latest "
5091"<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
5092"id=\"0\"/>"
2a52e8c5
DK
5093msgstr ""
5094
7d76ea1d 5095#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5096#: apt_preferences.5.xml:1
7d76ea1d
DK
5097#, no-wrap
5098msgid "apt-get install <replaceable>package</replaceable>/testing\n"
2a52e8c5
DK
5099msgstr ""
5100
7d76ea1d 5101#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5102#: apt_preferences.5.xml:1
2a52e8c5 5103msgid ""
7d76ea1d
DK
5104"The following command will cause APT to upgrade the specified package to the "
5105"latest version from the <literal>testing</literal> distribution; the package "
5106"will not be upgraded again unless this command is given again. <placeholder "
5107"type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
5108msgstr ""
5109
7d76ea1d 5110#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5111#: apt_preferences.5.xml:1
7d76ea1d 5112msgid "Tracking Testing or Unstable"
2a52e8c5
DK
5113msgstr ""
5114
7d76ea1d 5115#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5116#: apt_preferences.5.xml:1
7d76ea1d 5117#, no-wrap
2a52e8c5 5118msgid ""
7d76ea1d
DK
5119"Package: *\n"
5120"Pin: release a=testing\n"
5121"Pin-Priority: 900\n"
5122"\n"
5123"Package: *\n"
5124"Pin: release a=unstable\n"
5125"Pin-Priority: 800\n"
5126"\n"
5127"Package: *\n"
5128"Pin: release o=Debian\n"
5129"Pin-Priority: -10\n"
2a52e8c5
DK
5130msgstr ""
5131
7d76ea1d 5132#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5133#: apt_preferences.5.xml:1
2a52e8c5 5134msgid ""
7d76ea1d
DK
5135"The following APT preferences file will cause APT to assign a high priority "
5136"to package versions from the <literal>testing</literal> distribution, a "
5137"lower priority to package versions from the <literal>unstable</literal> "
5138"distribution, and a prohibitively low priority to package versions from "
5139"other <literal>Debian</literal> distributions. <placeholder "
5140"type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
5141msgstr ""
5142
7d76ea1d 5143#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5144#: apt_preferences.5.xml:1
2a52e8c5 5145msgid ""
7d76ea1d
DK
5146"With a suitable &sources-list; file and the above preferences file, any of "
5147"the following commands will cause APT to upgrade to the latest "
5148"<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
5149"id=\"0\"/>"
2a52e8c5
DK
5150msgstr ""
5151
7d76ea1d 5152#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5153#: apt_preferences.5.xml:1
7d76ea1d
DK
5154#, no-wrap
5155msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
2a52e8c5
DK
5156msgstr ""
5157
7d76ea1d 5158#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5159#: apt_preferences.5.xml:1
7d76ea1d
DK
5160msgid ""
5161"The following command will cause APT to upgrade the specified package to the "
5162"latest version from the <literal>unstable</literal> distribution. "
5163"Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
5164"the most recent <literal>testing</literal> version if that is more recent "
5165"than the installed version, otherwise, to the most recent "
5166"<literal>unstable</literal> version if that is more recent than the "
5167"installed version. <placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
5168msgstr ""
5169
7d76ea1d 5170#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5171#: apt_preferences.5.xml:1
7d76ea1d 5172msgid "Tracking the evolution of a codename release"
2a52e8c5
DK
5173msgstr ""
5174
7d76ea1d 5175#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5176#: apt_preferences.5.xml:1
7d76ea1d 5177#, no-wrap
2a52e8c5 5178msgid ""
7d76ea1d
DK
5179"Explanation: Uninstall or do not install any Debian-originated package "
5180"versions\n"
5181"Explanation: other than those in the distribution codenamed with "
9feb98eb 5182"&debian-testing-codename; or sid\n"
7d76ea1d 5183"Package: *\n"
9feb98eb 5184"Pin: release n=&debian-testing-codename;\n"
7d76ea1d
DK
5185"Pin-Priority: 900\n"
5186"\n"
5187"Explanation: Debian unstable is always codenamed with sid\n"
5188"Package: *\n"
5189"Pin: release n=sid\n"
5190"Pin-Priority: 800\n"
5191"\n"
5192"Package: *\n"
5193"Pin: release o=Debian\n"
5194"Pin-Priority: -10\n"
2a52e8c5
DK
5195msgstr ""
5196
7d76ea1d 5197#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5198#: apt_preferences.5.xml:1
2a52e8c5 5199msgid ""
7d76ea1d
DK
5200"The following APT preferences file will cause APT to assign a priority "
5201"higher than the default (500) to all package versions belonging to a "
5202"specified codename of a distribution and a prohibitively low priority to "
5203"package versions belonging to other <literal>Debian</literal> distributions, "
5204"codenames and archives. Note that with this APT preference APT will follow "
5205"the migration of a release from the archive <literal>testing</literal> to "
5206"<literal>stable</literal> and later <literal>oldstable</literal>. If you "
5207"want to follow for example the progress in <literal>testing</literal> "
5208"notwithstanding the codename changes you should use the example "
5209"configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
5210msgstr ""
5211
7d76ea1d 5212#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5213#: apt_preferences.5.xml:1
2a52e8c5 5214msgid ""
7d76ea1d
DK
5215"With a suitable &sources-list; file and the above preferences file, any of "
5216"the following commands will cause APT to upgrade to the latest version(s) in "
9feb98eb 5217"the release codenamed with <literal>&debian-testing-codename;</literal>. "
7d76ea1d 5218"<placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
5219msgstr ""
5220
7d76ea1d 5221#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5222#: apt_preferences.5.xml:1
7d76ea1d
DK
5223#, no-wrap
5224msgid "apt-get install <replaceable>package</replaceable>/sid\n"
5225msgstr ""
5226
5227#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5228#: apt_preferences.5.xml:1
7d76ea1d
DK
5229msgid ""
5230"The following command will cause APT to upgrade the specified package to the "
5231"latest version from the <literal>sid</literal> distribution. Thereafter, "
5232"<command>apt-get upgrade</command> will upgrade the package to the most "
9feb98eb
DK
5233"recent <literal>&debian-testing-codename;</literal> version if that is more "
5234"recent than the installed version, otherwise, to the most recent "
7d76ea1d
DK
5235"<literal>sid</literal> version if that is more recent than the installed "
5236"version. <placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
5237msgstr ""
5238
b39c1859 5239#. type: Content of: <refentry><refsect1><para>
04f27fae 5240#: apt_preferences.5.xml:1
7d76ea1d 5241msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
2a52e8c5
DK
5242msgstr ""
5243
7d76ea1d 5244#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 5245#: sources.list.5.xml:1
dabb215c 5246msgid "List of configured APT data sources"
2a52e8c5
DK
5247msgstr ""
5248
5249#. type: Content of: <refentry><refsect1><para>
04f27fae 5250#: sources.list.5.xml:1
b39c1859 5251msgid ""
051029f8 5252"The source list <filename>/etc/apt/sources.list</filename> and the files "
864fe99c
MV
5253"contained in <filename>/etc/apt/sources.list.d/</filename> are designed to "
5254"support any number of active sources and a variety of source media. The "
051029f8 5255"files list one source per line (one-line style) or contain multiline stanzas "
864fe99c
MV
5256"defining one or more sources per stanza (deb822 style), with the most "
5257"preferred source listed first (in case a single version is available from "
5258"more than one source). The information available from the configured sources "
5259"is acquired by <command>apt-get update</command> (or by an equivalent "
5260"command from another APT front-end)."
5261msgstr ""
5262
5263#. type: Content of: <refentry><refsect1><title>
04f27fae 5264#: sources.list.5.xml:1
864fe99c 5265msgid "sources.list.d"
0fd68707
MV
5266msgstr ""
5267
5268#. type: Content of: <refentry><refsect1><para>
04f27fae 5269#: sources.list.5.xml:1
0fd68707 5270msgid ""
864fe99c
MV
5271"The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
5272"add sources.list entries in separate files. Two different file formats are "
5273"allowed as described in the next two sections. Filenames need to have "
5274"either the extension <filename>.list</filename> or "
5275"<filename>.sources</filename> depending on the contained format. The "
5276"filenames may only contain letters (a-z and A-Z), digits (0-9), underscore "
5277"(_), hyphen (-) and period (.) characters. Otherwise APT will print a "
5278"notice that it has ignored a file, unless that file matches a pattern in the "
5279"<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
5280"case it will be silently ignored."
5281msgstr ""
5282
5283#. type: Content of: <refentry><refsect1><title>
04f27fae 5284#: sources.list.5.xml:1
051029f8 5285msgid "One-Line-Style Format"
864fe99c
MV
5286msgstr ""
5287
5288#. type: Content of: <refentry><refsect1><para>
04f27fae 5289#: sources.list.5.xml:1
864fe99c
MV
5290msgid ""
5291"Files in this format have the extension <filename>.list</filename>. Each "
5292"line specifying a source starts with a type "
5723791e
JR
5293"(e.g. <literal>deb-src</literal>) followed by options and arguments for "
5294"this type. Individual entries cannot be continued onto a following "
5295"line. Empty lines are ignored, and a <literal>#</literal> character anywhere "
864fe99c
MV
5296"on a line marks the remainder of that line as a comment. Consequently an "
5297"entry can be disabled by commenting out the entire line. If options should "
5298"be provided they are separated by spaces and all of them together are "
5299"enclosed by square brackets (<literal>[]</literal>) included in the line "
5300"after the type separated from it with a space. If an option allows multiple "
5301"values these are separated from each other with a comma "
051029f8
DK
5302"(<literal>,</literal>). An option name is separated from its value(s) by an "
5303"equals sign (<literal>=</literal>). Multivalue options also have "
5304"<literal>-=</literal> and <literal>+=</literal> as separators, which instead "
864fe99c
MV
5305"of replacing the default with the given value(s) modify the default value(s) "
5306"to remove or include the given values."
5307msgstr ""
5308
5309#. type: Content of: <refentry><refsect1><para>
04f27fae 5310#: sources.list.5.xml:1
864fe99c
MV
5311msgid ""
5312"This is the traditional format and supported by all apt versions. Note that "
5313"not all options as described below are supported by all apt versions. Note "
051029f8 5314"also that some older applications parsing this format on their own might not "
864fe99c
MV
5315"expect to encounter options as they were uncommon before the introduction of "
5316"multi-architecture support."
b39c1859
MV
5317msgstr ""
5318
7d76ea1d 5319#. type: Content of: <refentry><refsect1><title>
04f27fae 5320#: sources.list.5.xml:1
051029f8 5321msgid "deb822-Style Format"
2a52e8c5
DK
5322msgstr ""
5323
0fd68707 5324#. type: Content of: <refentry><refsect1><para>
04f27fae 5325#: sources.list.5.xml:1
864fe99c
MV
5326msgid ""
5327"Files in this format have the extension <filename>.sources</filename>. The "
5328"format is similar in syntax to other files used by Debian and its "
051029f8
DK
5329"derivatives, such as the metadata files that apt will download from the "
5330"configured sources or the <filename>debian/control</filename> file in a "
5331"Debian source package. Individual entries are separated by an empty line; "
5332"additional empty lines are ignored, and a <literal>#</literal> character at "
5333"the start of the line marks the entire line as a comment. An entry can hence "
5334"be disabled by commenting out each line belonging to the stanza, but it is "
864fe99c
MV
5335"usually easier to add the field \"Enabled: no\" to the stanza to disable the "
5336"entry. Removing the field or setting it to yes reenables it. Options have "
5337"the same syntax as every other field: A fieldname separated by a colon "
5338"(<literal>:</literal>) and optionally spaces from its value(s). Note "
5339"especially that multiple values are separated by spaces, not by commas as in "
051029f8 5340"the one-line format. Multivalue fields like <literal>Architectures</literal> "
864fe99c
MV
5341"also have <literal>Architectures-Add</literal> and "
5342"<literal>Architectures-Remove</literal> to modify the default value rather "
5343"than replacing it."
5344msgstr ""
5345
5346#. type: Content of: <refentry><refsect1><para>
04f27fae 5347#: sources.list.5.xml:1
2a52e8c5 5348msgid ""
864fe99c
MV
5349"This is a new format supported by apt itself since version 1.1. Previous "
5350"versions ignore such files with a notice message as described earlier. It "
051029f8
DK
5351"is intended to make this format gradually the default format, deprecating "
5352"the previously described one-line-style format, as it is easier to create, "
5353"extend and modify for humans and machines alike especially if a lot of "
864fe99c
MV
5354"sources and/or options are involved. Developers who are working with and/or "
5355"parsing apt sources are highly encouraged to add support for this format and "
5356"to contact the APT team to coordinate and share this work. Users can freely "
051029f8 5357"adopt this format already, but may encounter problems with software not "
864fe99c 5358"supporting the format yet."
2a52e8c5
DK
5359msgstr ""
5360
7d76ea1d 5361#. type: Content of: <refentry><refsect1><title>
04f27fae 5362#: sources.list.5.xml:1
051029f8 5363msgid "The deb and deb-src Types: General Format"
2a52e8c5
DK
5364msgstr ""
5365
7d76ea1d 5366#. type: Content of: <refentry><refsect1><para>
04f27fae 5367#: sources.list.5.xml:1
2a52e8c5 5368msgid ""
5723791e
JR
5369"The <literal>deb</literal> type references a typical two-level Debian "
5370"archive, <filename>distribution/component</filename>. The "
864fe99c 5371"<literal>distribution</literal> is generally a suite name like "
7d76ea1d 5372"<literal>stable</literal> or <literal>testing</literal> or a codename like "
9feb98eb
DK
5373"<literal>&debian-stable-codename;</literal> or "
5374"<literal>&debian-testing-codename;</literal> while component is one of "
5723791e
JR
5375"<literal>main</literal>, <literal>contrib</literal> or "
5376"<literal>non-free</literal>. The <literal>deb-src</literal> type references "
5377"a Debian distribution's source code in the same form as the "
7d76ea1d
DK
5378"<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
5379"to fetch source indexes."
2a52e8c5
DK
5380msgstr ""
5381
7d76ea1d 5382#. type: Content of: <refentry><refsect1><para>
04f27fae 5383#: sources.list.5.xml:1
aec22160 5384msgid ""
051029f8 5385"The format for two one-line-style entries using the <literal>deb</literal> "
864fe99c 5386"and <literal>deb-src</literal> types is:"
aec22160
DK
5387msgstr ""
5388
7d76ea1d 5389#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5390#: sources.list.5.xml:1
2a52e8c5 5391#, no-wrap
864fe99c
MV
5392msgid ""
5393"deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] "
5394"[...]\n"
5395"deb-src [ option1=value1 option2=value2 ] uri suite [component1] "
5396"[component2] [...]"
609bb2ea
MV
5397msgstr ""
5398
5399#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5400#: sources.list.5.xml:1
609bb2ea
MV
5401#, no-wrap
5402msgid ""
b18dd45f 5403" Types: deb deb-src\n"
864fe99c
MV
5404" URIs: uri\n"
5405" Suites: suite\n"
5406" Components: [component1] [component2] [...]\n"
5407" option1: value1\n"
5408" option2: value2\n"
609bb2ea 5409" "
2a52e8c5
DK
5410msgstr ""
5411
7d76ea1d 5412#. type: Content of: <refentry><refsect1><para>
04f27fae 5413#: sources.list.5.xml:1
609bb2ea 5414msgid ""
864fe99c
MV
5415"Alternatively the equivalent entry in deb822 style looks like this: "
5416"<placeholder type=\"literallayout\" id=\"0\"/>"
609bb2ea
MV
5417msgstr ""
5418
5419#. type: Content of: <refentry><refsect1><para>
04f27fae 5420#: sources.list.5.xml:1
b6c6b52f 5421msgid ""
7d76ea1d
DK
5422"The URI for the <literal>deb</literal> type must specify the base of the "
5423"Debian distribution, from which APT will find the information it needs. "
609bb2ea
MV
5424"<literal>suite</literal> can specify an exact path, in which case the "
5425"components must be omitted and <literal>suite</literal> must end with a "
5426"slash (<literal>/</literal>). This is useful for the case when only a "
864fe99c
MV
5427"particular sub-directory of the archive denoted by the URI is of interest. "
5428"If <literal>suite</literal> does not specify an exact path, at least one "
7d76ea1d 5429"<literal>component</literal> must be present."
b6c6b52f
MV
5430msgstr ""
5431
7d76ea1d 5432#. type: Content of: <refentry><refsect1><para>
04f27fae 5433#: sources.list.5.xml:1
aec22160 5434msgid ""
609bb2ea 5435"<literal>suite</literal> may also contain a variable, "
5723791e
JR
5436"<literal>$(ARCH)</literal> which expands to the Debian architecture (such as "
5437"<literal>amd64</literal> or <literal>armel</literal>) used on the "
5438"system. This permits architecture-independent "
5439"<filename>sources.list</filename> files to be used. In general this is only "
051029f8 5440"of interest when specifying an exact path; <literal>APT</literal> will "
5723791e 5441"automatically generate a URI with the current architecture otherwise."
b6c6b52f
MV
5442msgstr ""
5443
7d76ea1d 5444#. type: Content of: <refentry><refsect1><para>
04f27fae 5445#: sources.list.5.xml:1
782486e8 5446msgid ""
051029f8 5447"Especially in the one-line-style format since only one distribution can be "
864fe99c
MV
5448"specified per line it may be necessary to have multiple lines for the same "
5449"URI, if a subset of all available distributions or components at that "
609bb2ea
MV
5450"location is desired. APT will sort the URI list after it has generated a "
5451"complete set internally, and will collapse multiple references to the same "
5452"Internet host, for instance, into a single connection, so that it does not "
864fe99c
MV
5453"inefficiently establish a connection, close it, do something else, and then "
5454"re-establish a connection to that same host. APT also parallelizes "
5455"connections to different hosts to more effectively deal with sites with low "
5456"bandwidth."
5457msgstr ""
5458
5459#. type: Content of: <refentry><refsect1><para>
04f27fae 5460#: sources.list.5.xml:1
864fe99c
MV
5461msgid ""
5462"It is important to list sources in order of preference, with the most "
5463"preferred source listed first. Typically this will result in sorting by "
5464"speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
5465"followed by distant Internet hosts, for example)."
5466msgstr ""
5467
5468#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5469#: sources.list.5.xml:1
864fe99c
MV
5470#, no-wrap
5471msgid "&sourceslist-list-format;"
5472msgstr ""
5473
5474#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5475#: sources.list.5.xml:1
864fe99c
MV
5476#, no-wrap
5477msgid "&sourceslist-sources-format;"
2a52e8c5
DK
5478msgstr ""
5479
7d76ea1d 5480#. type: Content of: <refentry><refsect1><para>
04f27fae 5481#: sources.list.5.xml:1
b6c6b52f 5482msgid ""
051029f8
DK
5483"As an example, the sources for your distribution could look like this in "
5484"one-line-style format: <placeholder type=\"literallayout\" id=\"0\"/> or "
5485"like this in deb822 style format: <placeholder type=\"literallayout\" "
5486"id=\"1\"/>"
864fe99c
MV
5487msgstr ""
5488
5489#. type: Content of: <refentry><refsect1><title>
04f27fae 5490#: sources.list.5.xml:1
864fe99c
MV
5491msgid "The deb and deb-src types: Options"
5492msgstr ""
5493
5494#. type: Content of: <refentry><refsect1><para>
04f27fae 5495#: sources.list.5.xml:1
864fe99c 5496msgid ""
051029f8
DK
5497"Each source entry can have options specified to modify which source is "
5498"accessed and how data is acquired from it. Format, syntax and names of the "
5499"options vary between the one-line-style and deb822-style formats as "
5500"described, but they both have the same options available. For simplicity we "
5501"list the deb822 fieldname and provide the one-line name in brackets. "
5502"Remember that besides setting multivalue options explicitly, there is also "
864fe99c
MV
5503"the option to modify them based on the default, but we aren't listing those "
5504"names explicitly here. Unsupported options are silently ignored by all APT "
5505"versions."
2a52e8c5
DK
5506msgstr ""
5507
7d76ea1d 5508#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5509#: sources.list.5.xml:1
2a52e8c5 5510msgid ""
864fe99c
MV
5511"<option>Architectures</option> (<option>arch</option>) is a multivalue "
5512"option defining for which architectures information should be downloaded. If "
5513"this option isn't set the default is all architectures as defined by the "
5514"<option>APT::Architectures</option> config option."
2a52e8c5
DK
5515msgstr ""
5516
7d76ea1d 5517#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5518#: sources.list.5.xml:1
ce34af08 5519msgid ""
864fe99c 5520"<option>Languages</option> (<option>lang</option>) is a multivalue option "
051029f8 5521"defining for which languages information such as translated package "
864fe99c
MV
5522"descriptions should be downloaded. If this option isn't set the default is "
5523"all languages as defined by the <option>Acquire::Languages</option> config "
5524"option."
ce34af08
MV
5525msgstr ""
5526
5527#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5528#: sources.list.5.xml:1
782486e8 5529msgid ""
864fe99c
MV
5530"<option>Targets</option> (<option>target</option>) is a multivalue option "
5531"defining which download targets apt will try to acquire from this source. If "
5532"not specified, the default set is defined by the "
5b057748
JAK
5533"<option>Acquire::IndexTargets</option> configuration scope (targets are "
5534"specified by their name in the <literal>Created-By</literal> field). "
5535"Additionally, targets can be enabled or disabled by using the "
5536"<literal>Identifier</literal> field as an option with a boolean value "
5537"instead of using this multivalue option."
2a52e8c5
DK
5538msgstr ""
5539
e49dd9d3 5540#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5541#: sources.list.5.xml:1
e49dd9d3
MV
5542msgid ""
5543"<option>PDiffs</option> (<option>pdiffs</option>) is a yes/no value which "
5544"controls if APT should try to use PDiffs to update old indexes instead of "
5545"downloading the new indexes entirely. The value of this option is ignored if "
5546"the repository doesn't announce the availability of PDiffs. Defaults to the "
5547"value of the option with the same name for a specific index file defined in "
051029f8 5548"the <option>Acquire::IndexTargets</option> scope, which itself defaults to "
e49dd9d3
MV
5549"the value of configuration option <option>Acquire::PDiffs</option> which "
5550"defaults to <literal>yes</literal>."
5551msgstr ""
5552
04f27fae
MV
5553#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5554#: sources.list.5.xml:1
5555msgid ""
5556"<option>By-Hash</option> (<option>by-hash</option>) can have the value "
051029f8
DK
5557"<literal>yes</literal>, <literal>no</literal> or <literal>force</literal> "
5558"and controls if APT should try to acquire indexes via a URI constructed from "
5559"a hashsum of the expected file instead of using the well-known stable "
5560"filename of the index. Using this can avoid hashsum mismatches, but requires "
5561"a supporting mirror. A <literal>yes</literal> or <literal>no</literal> value "
5562"activates/disables the use of this feature if this source indicates support "
5563"for it, while <literal>force</literal> will enable the feature regardless of "
5564"what the source indicates. Defaults to the value of the option of the same "
5565"name for a specific index file defined in the "
04f27fae
MV
5566"<option>Acquire::IndexTargets</option> scope, which itself defaults to the "
5567"value of configuration option <option>Acquire::By-Hash</option> which "
5568"defaults to <literal>yes</literal>."
5569msgstr ""
5570
7d76ea1d 5571#. type: Content of: <refentry><refsect1><para>
04f27fae 5572#: sources.list.5.xml:1
7d76ea1d 5573msgid ""
051029f8 5574"Furthermore, there are options which if set affect <emphasis>all</emphasis> "
864fe99c
MV
5575"sources with the same URI and Suite, so they have to be set on all such "
5576"entries and can not be varied between different components. APT will try to "
5577"detect and error out on such anomalies."
2a52e8c5
DK
5578msgstr ""
5579
864fe99c 5580#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
cbbee23e
DK
5581#: sources.list.5.xml:1
5582msgid ""
5583"<option>Trusted</option> (<option>trusted</option>) is a tri-state value "
5584"which defaults to APT deciding if a source is considered trusted or if "
5585"warnings should be raised before e.g. packages are installed from this "
4c482ac5
MV
5586"source. This option can be used to override that decision. The value "
5587"<literal>yes</literal> tells APT always to consider this source as trusted, "
5588"even if it doesn't pass authentication checks. It disables parts of "
5589"&apt-secure;, and should therefore only be used in a local and trusted "
5590"context (if at all) as otherwise security is breached. The value "
5591"<literal>no</literal> does the opposite, causing the source to be handled as "
5592"untrusted even if the authentication checks passed successfully. The default "
5593"value can't be set explicitly."
cbbee23e
DK
5594msgstr ""
5595
5596#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5597#: sources.list.5.xml:1
864fe99c
MV
5598msgid ""
5599"<option>Signed-By</option> (<option>signed-by</option>) is either an "
5600"absolute path to a keyring file (has to be accessible and readable for the "
5601"<literal>_apt</literal> user, so ensure everyone has read-permissions on the "
5b057748
JAK
5602"file) or one or more fingerprints of keys either in the "
5603"<filename>trusted.gpg</filename> keyring or in the keyrings in the "
864fe99c 5604"<filename>trusted.gpg.d/</filename> directory (see <command>apt-key "
051029f8 5605"fingerprint</command>). If the option is set, only the key(s) in this "
5b057748
JAK
5606"keyring or only the keys with these fingerprints are used for the "
5607"&apt-secure; verification of this repository. Defaults to the value of the "
5608"option with the same name if set in the previously acquired "
5609"<filename>Release</filename> file. Otherwise all keys in the trusted "
5610"keyrings are considered valid signers for this repository."
2a52e8c5
DK
5611msgstr ""
5612
864fe99c 5613#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5614#: sources.list.5.xml:1
2a52e8c5 5615msgid ""
864fe99c
MV
5616"<option>Check-Valid-Until</option> (<option>check-valid-until</option>) is "
5617"a yes/no value which controls if APT should try to detect replay attacks. A "
051029f8
DK
5618"repository creator can declare a time until which the data provided in the "
5619"repository should be considered valid, and if this time is reached, but no "
5620"new data is provided, the data is considered expired and an error is "
5621"raised. Besides increasing security, as a malicious attacker can't send old "
5622"data forever to prevent a user from upgrading to a new version, this also "
5623"helps users identify mirrors which are no longer updated. However, some "
5624"repositories such as historic archives are not updated any more by design, "
5625"so this check can be disabled by setting this option to "
5626"<literal>no</literal>. Defaults to the value of configuration option "
864fe99c
MV
5627"<option>Acquire::Check-Valid-Until</option> which itself defaults to "
5628"<literal>yes</literal>."
5629msgstr ""
5630
5631#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5632#: sources.list.5.xml:1
864fe99c 5633msgid ""
e49dd9d3 5634"<option>Valid-Until-Min</option> (<option>valid-until-min</option>) and "
864fe99c
MV
5635"<option>Valid-Until-Max</option> (<option>valid-until-max</option>) can be "
5636"used to raise or lower the time period in seconds in which the data from "
5637"this repository is considered valid. -Max can be especially useful if the "
5638"repository provides no Valid-Until field on its Release file to set your own "
bf33c3bd 5639"value, while -Min can be used to increase the valid time on seldom updated "
864fe99c
MV
5640"(local) mirrors of a more frequently updated but less accessible archive "
5641"(which is in the sources.list as well) instead of disabling the check "
5642"entirely. Default to the value of the configuration options "
5643"<option>Acquire::Min-ValidTime</option> and "
5644"<option>Acquire::Max-ValidTime</option> which are both unset by default."
2a52e8c5
DK
5645msgstr ""
5646
7d76ea1d 5647#. type: Content of: <refentry><refsect1><title>
04f27fae 5648#: sources.list.5.xml:1
051029f8 5649msgid "URI Specification"
2a52e8c5
DK
5650msgstr ""
5651
7d76ea1d 5652#. type: Content of: <refentry><refsect1><para>
04f27fae 5653#: sources.list.5.xml:1
7d76ea1d 5654msgid "The currently recognized URI types are:"
2a52e8c5
DK
5655msgstr ""
5656
7d76ea1d 5657#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5658#: sources.list.5.xml:1
2a52e8c5 5659msgid ""
7d76ea1d
DK
5660"The file scheme allows an arbitrary directory in the file system to be "
5661"considered an archive. This is useful for NFS mounts and local mirrors or "
5662"archives."
2a52e8c5
DK
5663msgstr ""
5664
7d76ea1d 5665#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5666#: sources.list.5.xml:1
2a52e8c5 5667msgid ""
7d76ea1d
DK
5668"The cdrom scheme allows APT to use a local CD-ROM drive with media "
5669"swapping. Use the &apt-cdrom; program to create cdrom entries in the source "
5670"list."
2a52e8c5
DK
5671msgstr ""
5672
7d76ea1d 5673#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5674#: sources.list.5.xml:1
2a52e8c5 5675msgid ""
7d76ea1d
DK
5676"The http scheme specifies an HTTP server for the archive. If an environment "
5677"variable <envar>http_proxy</envar> is set with the format "
5678"http://server:port/, the proxy server specified in <envar>http_proxy</envar> "
5679"will be used. Users of authenticated HTTP/1.1 proxies may use a string of "
5680"the format http://user:pass@server:port/. Note that this is an insecure "
5681"method of authentication."
2a52e8c5
DK
5682msgstr ""
5683
7d76ea1d 5684#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5685#: sources.list.5.xml:1
2a52e8c5 5686msgid ""
7d76ea1d
DK
5687"The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
5688"is highly configurable; for more information see the &apt-conf; manual "
5723791e
JR
5689"page. Please note that an FTP proxy can be specified by using the "
5690"<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
5691"HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
dabb215c 5692"environment variable and <emphasis>only</emphasis> this environment "
5723791e
JR
5693"variable. Proxies using HTTP specified in the configuration file will be "
5694"ignored."
2a52e8c5
DK
5695msgstr ""
5696
7d76ea1d 5697#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5698#: sources.list.5.xml:1
2a52e8c5 5699msgid ""
7d76ea1d
DK
5700"The copy scheme is identical to the file scheme except that packages are "
5701"copied into the cache directory instead of used directly at their location. "
5723791e
JR
5702"This is useful for people using removable media to copy files around with "
5703"APT."
2a52e8c5
DK
5704msgstr ""
5705
7d76ea1d 5706#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5707#: sources.list.5.xml:1
2a52e8c5 5708msgid ""
5723791e
JR
5709"The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
5710"the files as a given user. Prior configuration of rhosts or RSA keys is "
5711"recommended. The standard <command>find</command> and <command>dd</command> "
5712"commands are used to perform the file transfers from the remote host."
2a52e8c5
DK
5713msgstr ""
5714
7d76ea1d 5715#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
04f27fae 5716#: sources.list.5.xml:1
7d76ea1d 5717msgid "adding more recognizable URI types"
2a52e8c5
DK
5718msgstr ""
5719
7d76ea1d 5720#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5721#: sources.list.5.xml:1
2a52e8c5 5722msgid ""
5723791e
JR
5723"APT can be extended with more methods shipped in other optional packages, "
5724"which should follow the naming scheme "
5725"<package>apt-transport-<replaceable>method</replaceable></package>. For "
5726"instance, the APT team also maintains the package "
5727"<package>apt-transport-https</package>, which provides access methods for "
5728"HTTPS URIs with features similar to the http method. Methods for using "
5729"e.g. debtorrent are also available - see &apt-transport-debtorrent;."
2a52e8c5
DK
5730msgstr ""
5731
7d76ea1d 5732#. type: Content of: <refentry><refsect1><para>
04f27fae 5733#: sources.list.5.xml:1
2a52e8c5 5734msgid ""
864fe99c 5735"Uses the archive stored locally (or NFS mounted) at /home/apt/debian for "
7d76ea1d 5736"stable/main, stable/contrib, and stable/non-free."
2a52e8c5
DK
5737msgstr ""
5738
7d76ea1d 5739#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5740#: sources.list.5.xml:1
7d76ea1d 5741#, no-wrap
864fe99c
MV
5742msgid "deb file:/home/apt/debian stable main contrib non-free"
5743msgstr ""
5744
5745#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5746#: sources.list.5.xml:1
864fe99c
MV
5747#, no-wrap
5748msgid ""
5749"Types: deb\n"
5750"URIs: file:/home/apt/debian\n"
5751"Suites: stable\n"
5752"Components: main contrib non-free"
2a52e8c5
DK
5753msgstr ""
5754
7d76ea1d 5755#. type: Content of: <refentry><refsect1><para>
04f27fae 5756#: sources.list.5.xml:1
7d76ea1d 5757msgid "As above, except this uses the unstable (development) distribution."
2a52e8c5
DK
5758msgstr ""
5759
7d76ea1d 5760#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5761#: sources.list.5.xml:1
2a52e8c5 5762#, no-wrap
864fe99c
MV
5763msgid "deb file:/home/apt/debian unstable main contrib non-free"
5764msgstr ""
5765
5766#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5767#: sources.list.5.xml:1
864fe99c
MV
5768#, no-wrap
5769msgid ""
5770"Types: deb\n"
5771"URIs: file:/home/apt/debian\n"
5772"Suites: unstable\n"
5773"Components: main contrib non-free"
2a52e8c5
DK
5774msgstr ""
5775
7d76ea1d 5776#. type: Content of: <refentry><refsect1><para>
04f27fae 5777#: sources.list.5.xml:1
051029f8 5778msgid "Sources specification for the above."
2a52e8c5
DK
5779msgstr ""
5780
7d76ea1d 5781#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5782#: sources.list.5.xml:1
864fe99c
MV
5783#, no-wrap
5784msgid "deb-src file:/home/apt/debian unstable main contrib non-free"
5785msgstr ""
5786
5787#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5788#: sources.list.5.xml:1
2a52e8c5 5789#, no-wrap
864fe99c
MV
5790msgid ""
5791"Types: deb-src\n"
5792"URIs: file:/home/apt/debian\n"
5793"Suites: unstable\n"
5794"Components: main contrib non-free"
b81dbe40
DK
5795msgstr ""
5796
7d76ea1d 5797#. type: Content of: <refentry><refsect1><para>
04f27fae 5798#: sources.list.5.xml:1
b81dbe40 5799msgid ""
7d76ea1d
DK
5800"The first line gets package information for the architectures in "
5801"<literal>APT::Architectures</literal> while the second always retrieves "
5802"<literal>amd64</literal> and <literal>armel</literal>."
2a52e8c5
DK
5803msgstr ""
5804
7d76ea1d 5805#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5806#: sources.list.5.xml:1
864fe99c
MV
5807#, no-wrap
5808msgid ""
9feb98eb 5809"deb http://httpredir.debian.org/debian &debian-stable-codename; main\n"
864fe99c 5810"deb [ arch=amd64,armel ] http://httpredir.debian.org/debian "
9feb98eb 5811"&debian-stable-codename; main"
864fe99c
MV
5812msgstr ""
5813
5814#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5815#: sources.list.5.xml:1
7d76ea1d 5816#, no-wrap
b81dbe40 5817msgid ""
864fe99c
MV
5818"Types: deb\n"
5819"URIs: http://httpredir.debian.org/debian\n"
9feb98eb 5820"Suites: &debian-stable-codename;\n"
864fe99c
MV
5821"Components: main\n"
5822"\n"
5823"Types: deb\n"
5824"URIs: http://httpredir.debian.org/debian\n"
9feb98eb 5825"Suites: &debian-stable-codename;\n"
864fe99c
MV
5826"Components: main\n"
5827"Architectures: amd64 armel\n"
b81dbe40
DK
5828msgstr ""
5829
7d76ea1d 5830#. type: Content of: <refentry><refsect1><para>
04f27fae 5831#: sources.list.5.xml:1
2a52e8c5 5832msgid ""
7d76ea1d
DK
5833"Uses HTTP to access the archive at archive.debian.org, and uses only the "
5834"hamm/main area."
2a52e8c5
DK
5835msgstr ""
5836
7d76ea1d 5837#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5838#: sources.list.5.xml:1
2a52e8c5 5839#, no-wrap
7d76ea1d 5840msgid "deb http://archive.debian.org/debian-archive hamm main"
2a52e8c5
DK
5841msgstr ""
5842
864fe99c 5843#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5844#: sources.list.5.xml:1
864fe99c
MV
5845#, no-wrap
5846msgid ""
5847"Types: deb\n"
5848"URIs: http://archive.debian.org/debian-archive\n"
5849"Suites: hamm\n"
5850"Components: main"
5851msgstr ""
5852
7d76ea1d 5853#. type: Content of: <refentry><refsect1><para>
04f27fae 5854#: sources.list.5.xml:1
2a52e8c5 5855msgid ""
7d76ea1d 5856"Uses FTP to access the archive at ftp.debian.org, under the debian "
9feb98eb 5857"directory, and uses only the &debian-stable-codename;/contrib area."
2a52e8c5
DK
5858msgstr ""
5859
7d76ea1d 5860#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5861#: sources.list.5.xml:1
2a52e8c5 5862#, no-wrap
9feb98eb 5863msgid "deb ftp://ftp.debian.org/debian &debian-stable-codename; contrib"
2a52e8c5
DK
5864msgstr ""
5865
864fe99c 5866#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5867#: sources.list.5.xml:1
864fe99c
MV
5868#, no-wrap
5869msgid ""
5870"Types: deb\n"
5871"URIs: ftp://ftp.debian.org/debian\n"
9feb98eb 5872"Suites: &debian-stable-codename;\n"
864fe99c
MV
5873"Components: contrib"
5874msgstr ""
5875
7d76ea1d 5876#. type: Content of: <refentry><refsect1><para>
04f27fae 5877#: sources.list.5.xml:1
2a52e8c5 5878msgid ""
7d76ea1d
DK
5879"Uses FTP to access the archive at ftp.debian.org, under the debian "
5880"directory, and uses only the unstable/contrib area. If this line appears as "
5881"well as the one in the previous example in <filename>sources.list</filename> "
5882"a single FTP session will be used for both resource lines."
2a52e8c5
DK
5883msgstr ""
5884
7d76ea1d 5885#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5886#: sources.list.5.xml:1
2a52e8c5 5887#, no-wrap
7d76ea1d 5888msgid "deb ftp://ftp.debian.org/debian unstable contrib"
2a52e8c5
DK
5889msgstr ""
5890
864fe99c 5891#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5892#: sources.list.5.xml:1
864fe99c
MV
5893#, no-wrap
5894msgid ""
5895"Types: deb\n"
5896"URIs: ftp://ftp.debian.org/debian\n"
5897"Suites: unstable\n"
5898"Components: contrib"
5899msgstr ""
5900
7d76ea1d 5901#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5902#: sources.list.5.xml:1
2a52e8c5 5903#, no-wrap
7d76ea1d 5904msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
782486e8
MV
5905msgstr ""
5906
864fe99c 5907#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5908#: sources.list.5.xml:1
864fe99c
MV
5909#, no-wrap
5910msgid ""
5911"Types: deb\n"
5912"URIs: http://ftp.tlh.debian.org/universe\n"
5913"Suites: unstable/binary-$(ARCH)/"
5914msgstr ""
5915
7d76ea1d 5916#. type: Content of: <refentry><refsect1><para>
04f27fae 5917#: sources.list.5.xml:1
782486e8 5918msgid ""
7d76ea1d
DK
5919"Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
5920"directory, and uses only files found under "
5921"<filename>unstable/binary-i386</filename> on i386 machines, "
5922"<filename>unstable/binary-amd64</filename> on amd64, and so forth for other "
5923"supported architectures. [Note this example only illustrates how to use the "
5924"substitution variable; official debian archives are not structured like "
864fe99c
MV
5925"this] <placeholder type=\"literallayout\" id=\"0\"/> <placeholder "
5926"type=\"literallayout\" id=\"1\"/>"
5927msgstr ""
5928
5929#. type: Content of: <refentry><refsect1><para>
04f27fae 5930#: sources.list.5.xml:1
864fe99c
MV
5931msgid ""
5932"Uses HTTP to get binary packages as well as sources from the stable, testing "
5933"and unstable suites and the components main and contrib."
5934msgstr ""
5935
5936#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5937#: sources.list.5.xml:1
864fe99c
MV
5938#, no-wrap
5939msgid ""
5940"deb http://httpredir.debian.org/debian stable main contrib\n"
5941"deb-src http://httpredir.debian.org/debian stable main contrib\n"
5942"deb http://httpredir.debian.org/debian testing main contrib\n"
5943"deb-src http://httpredir.debian.org/debian testing main contrib\n"
5944"deb http://httpredir.debian.org/debian unstable main contrib\n"
5945"deb-src http://httpredir.debian.org/debian unstable main contrib"
5946msgstr ""
5947
5948#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5949#: sources.list.5.xml:1
864fe99c
MV
5950#, no-wrap
5951msgid ""
5952"Types: deb deb-src\n"
5953"URIs: http://httpredir.debian.org/debian\n"
5954"Suites: stable testing unstable\n"
5955"Components: main contrib\n"
782486e8
MV
5956msgstr ""
5957
7d76ea1d 5958#. type: Content of: <refentry><refsect1><para>
04f27fae 5959#: sources.list.5.xml:1
5b057748 5960msgid "&apt-get;, &apt-conf;, &apt-acquire-additional-files;"
782486e8
MV
5961msgstr ""
5962
7d76ea1d 5963#. type: Content of: <refentry><refmeta><manvolnum>
04f27fae 5964#: apt-extracttemplates.1.xml:1 apt-sortpkgs.1.xml:1 apt-ftparchive.1.xml:1
7d76ea1d 5965msgid "1"
782486e8
MV
5966msgstr ""
5967
7d76ea1d 5968#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 5969#: apt-extracttemplates.1.xml:1
782486e8 5970msgid ""
7d76ea1d
DK
5971"Utility to extract <command>debconf</command> config and templates from "
5972"Debian packages"
782486e8
MV
5973msgstr ""
5974
7d76ea1d 5975#. type: Content of: <refentry><refsect1><para>
04f27fae 5976#: apt-extracttemplates.1.xml:1
2b9b27c3 5977msgid ""
7d76ea1d
DK
5978"<command>apt-extracttemplates</command> will take one or more Debian package "
5979"files as input and write out (to a temporary directory) all associated "
5980"config scripts and template files. For each passed in package that contains "
5981"config scripts and templates, one line of output will be generated in the "
5982"format:"
782486e8
MV
5983msgstr ""
5984
7d76ea1d 5985#. type: Content of: <refentry><refsect1><para>
04f27fae 5986#: apt-extracttemplates.1.xml:1
7d76ea1d 5987msgid "package version template-file config-script"
2a52e8c5
DK
5988msgstr ""
5989
7d76ea1d 5990#. type: Content of: <refentry><refsect1><para>
04f27fae 5991#: apt-extracttemplates.1.xml:1
aec22160 5992msgid ""
7d76ea1d
DK
5993"template-file and config-script are written to the temporary directory "
5994"specified by the <option>-t</option> or <option>--tempdir</option> "
5995"(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
93ae7f7f
MV
5996"filenames of the form <filename>package.template.XXXXXX</filename> and "
5997"<filename>package.config.XXXXXX</filename>"
aec22160
DK
5998msgstr ""
5999
7d76ea1d 6000#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6001#: apt-extracttemplates.1.xml:1
782486e8 6002msgid ""
7d76ea1d
DK
6003"Temporary directory in which to write extracted <command>debconf</command> "
6004"template files and config scripts. Configuration Item: "
6005"<literal>APT::ExtractTemplates::TempDir</literal>"
2a52e8c5
DK
6006msgstr ""
6007
7d76ea1d 6008#. type: Content of: <refentry><refsect1><para>
04f27fae 6009#: apt-extracttemplates.1.xml:1
2a52e8c5 6010msgid ""
7d76ea1d
DK
6011"<command>apt-extracttemplates</command> returns zero on normal operation, "
6012"decimal 100 on error."
2a52e8c5
DK
6013msgstr ""
6014
7d76ea1d 6015#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 6016#: apt-sortpkgs.1.xml:1
7d76ea1d 6017msgid "Utility to sort package index files"
2a52e8c5
DK
6018msgstr ""
6019
7d76ea1d 6020#. type: Content of: <refentry><refsect1><para>
04f27fae 6021#: apt-sortpkgs.1.xml:1
2a52e8c5 6022msgid ""
14301cf3
JR
6023"<command>apt-sortpkgs</command> will take an index file (source index or "
6024"package index) and sort the records so that they are ordered by the package "
7d76ea1d
DK
6025"name. It will also sort the internal fields of each record according to the "
6026"internal sorting rules."
2a52e8c5
DK
6027msgstr ""
6028
7d76ea1d 6029#. type: Content of: <refentry><refsect1><para>
04f27fae 6030#: apt-sortpkgs.1.xml:1
5723791e 6031msgid "All output is sent to standard output; the input must be a seekable file."
2a52e8c5
DK
6032msgstr ""
6033
7d76ea1d 6034#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6035#: apt-sortpkgs.1.xml:1
2a52e8c5 6036msgid ""
14301cf3 6037"Use source index field ordering. Configuration Item: "
7d76ea1d 6038"<literal>APT::SortPkgs::Source</literal>."
2a52e8c5
DK
6039msgstr ""
6040
7d76ea1d 6041#. type: Content of: <refentry><refsect1><para>
04f27fae 6042#: apt-sortpkgs.1.xml:1
2a52e8c5 6043msgid ""
7d76ea1d
DK
6044"<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
6045"100 on error."
2a52e8c5
DK
6046msgstr ""
6047
7d76ea1d 6048#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 6049#: apt-ftparchive.1.xml:1
7d76ea1d 6050msgid "Utility to generate index files"
2a52e8c5
DK
6051msgstr ""
6052
7d76ea1d 6053#. type: Content of: <refentry><refsect1><para>
04f27fae 6054#: apt-ftparchive.1.xml:1
2a52e8c5 6055msgid ""
7d76ea1d
DK
6056"<command>apt-ftparchive</command> is the command line tool that generates "
6057"the index files that APT uses to access a distribution source. The index "
6058"files should be generated on the origin site based on the content of that "
6059"site."
2a52e8c5
DK
6060msgstr ""
6061
7d76ea1d 6062#. type: Content of: <refentry><refsect1><para>
04f27fae 6063#: apt-ftparchive.1.xml:1
2a52e8c5 6064msgid ""
7d76ea1d
DK
6065"<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
6066"program, incorporating its entire functionality via the "
6067"<literal>packages</literal> command. It also contains a contents file "
6068"generator, <literal>contents</literal>, and an elaborate means to 'script' "
6069"the generation process for a complete archive."
2a52e8c5
DK
6070msgstr ""
6071
7d76ea1d 6072#. type: Content of: <refentry><refsect1><para>
04f27fae 6073#: apt-ftparchive.1.xml:1
2a52e8c5 6074msgid ""
7d76ea1d
DK
6075"Internally <command>apt-ftparchive</command> can make use of binary "
6076"databases to cache the contents of a .deb file and it does not rely on any "
6077"external programs aside from &gzip;. When doing a full generate it "
6078"automatically performs file-change checks and builds the desired compressed "
6079"output files."
2a52e8c5
DK
6080msgstr ""
6081
7d76ea1d 6082#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6083#: apt-ftparchive.1.xml:1
2a52e8c5 6084msgid ""
7d76ea1d
DK
6085"The packages command generates a package file from a directory tree. It "
6086"takes the given directory and recursively searches it for .deb files, "
6087"emitting a package record to stdout for each. This command is approximately "
6088"equivalent to &dpkg-scanpackages;."
2a52e8c5
DK
6089msgstr ""
6090
7d76ea1d 6091#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6092#: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
7d76ea1d 6093msgid "The option <option>--db</option> can be used to specify a binary caching DB."
2a52e8c5
DK
6094msgstr ""
6095
7d76ea1d 6096#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6097#: apt-ftparchive.1.xml:1
2a52e8c5 6098msgid ""
7d76ea1d
DK
6099"The <literal>sources</literal> command generates a source index file from a "
6100"directory tree. It takes the given directory and recursively searches it "
6101"for .dsc files, emitting a source record to stdout for each. This command is "
6102"approximately equivalent to &dpkg-scansources;."
2a52e8c5
DK
6103msgstr ""
6104
7d76ea1d 6105#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6106#: apt-ftparchive.1.xml:1
2a52e8c5 6107msgid ""
7d76ea1d
DK
6108"If an override file is specified then a source override file will be looked "
6109"for with an extension of .src. The --source-override option can be used to "
6110"change the source override file that will be used."
2a52e8c5
DK
6111msgstr ""
6112
7d76ea1d 6113#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6114#: apt-ftparchive.1.xml:1
2a52e8c5 6115msgid ""
7d76ea1d
DK
6116"The <literal>contents</literal> command generates a contents file from a "
6117"directory tree. It takes the given directory and recursively searches it for "
6118".deb files, and reads the file list from each file. It then sorts and writes "
6119"to stdout the list of files matched to packages. Directories are not written "
6120"to the output. If multiple packages own the same file then each package is "
6121"separated by a comma in the output."
2a52e8c5
DK
6122msgstr ""
6123
7d76ea1d 6124#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6125#: apt-ftparchive.1.xml:1
2a52e8c5 6126msgid ""
7d76ea1d
DK
6127"The <literal>release</literal> command generates a Release file from a "
6128"directory tree. It recursively searches the given directory for uncompressed "
5ff8dd6b
JAK
6129"and compressed <filename>Packages</filename>, <filename>Sources</filename>, "
6130"<filename>Contents</filename>, <filename>Components</filename> and "
6131"<filename>icons</filename> files as well as <filename>Release</filename>, "
6132"<filename>Index</filename> and <filename>md5sum.txt</filename> files by "
6133"default (<literal>APT::FTPArchive::Release::Default-Patterns</literal>). "
6134"Additional filename patterns can be added by listing them in "
7d76ea1d 6135"<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
04f27fae
MV
6136"stdout a <filename>Release</filename> file containing (by default) an MD5, "
6137"SHA1, SHA256 and SHA512 digest for each file."
2a52e8c5
DK
6138msgstr ""
6139
7d76ea1d 6140#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6141#: apt-ftparchive.1.xml:1
2a52e8c5 6142msgid ""
7d76ea1d
DK
6143"Values for the additional metadata fields in the Release file are taken from "
6144"the corresponding variables under "
6145"<literal>APT::FTPArchive::Release</literal>, "
5ff8dd6b
JAK
6146"e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported "
6147"fields are <literal>Origin</literal>, <literal>Label</literal>, "
7d76ea1d
DK
6148"<literal>Suite</literal>, <literal>Version</literal>, "
6149"<literal>Codename</literal>, <literal>Date</literal>, "
5ff8dd6b
JAK
6150"<literal>Valid-Until</literal>, <literal>Signed-By</literal>, "
6151"<literal>Architectures</literal>, <literal>Components</literal> and "
6152"<literal>Description</literal>."
2a52e8c5
DK
6153msgstr ""
6154
7d76ea1d 6155#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6156#: apt-ftparchive.1.xml:1
2a52e8c5 6157msgid ""
7d76ea1d
DK
6158"The <literal>generate</literal> command is designed to be runnable from a "
6159"cron script and builds indexes according to the given config file. The "
6160"config language provides a flexible means of specifying which index files "
6161"are built from which directories, as well as providing a simple means of "
6162"maintaining the required settings."
2a52e8c5
DK
6163msgstr ""
6164
7d76ea1d 6165#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6166#: apt-ftparchive.1.xml:1
aec22160 6167msgid ""
7d76ea1d
DK
6168"The <literal>clean</literal> command tidies the databases used by the given "
6169"configuration file by removing any records that are no longer necessary."
aec22160
DK
6170msgstr ""
6171
7d76ea1d 6172#. type: Content of: <refentry><refsect1><title>
04f27fae 6173#: apt-ftparchive.1.xml:1
7d76ea1d 6174msgid "The Generate Configuration"
2a52e8c5
DK
6175msgstr ""
6176
7d76ea1d 6177#. type: Content of: <refentry><refsect1><para>
04f27fae 6178#: apt-ftparchive.1.xml:1
2a52e8c5 6179msgid ""
7d76ea1d
DK
6180"The <literal>generate</literal> command uses a configuration file to "
6181"describe the archives that are going to be generated. It follows the typical "
6182"ISC configuration format as seen in ISC tools like bind 8 and dhcpd. "
6183"&apt-conf; contains a description of the syntax. Note that the generate "
6184"configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
6185"tree manner. This only effects how the scope tag is handled."
2a52e8c5
DK
6186msgstr ""
6187
7d76ea1d 6188#. type: Content of: <refentry><refsect1><para>
04f27fae 6189#: apt-ftparchive.1.xml:1
7d76ea1d 6190msgid "The generate configuration has four separate sections, each described below."
2a52e8c5
DK
6191msgstr ""
6192
2a52e8c5 6193#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6194#: apt-ftparchive.1.xml:1
7d76ea1d 6195msgid "<literal>Dir</literal> Section"
2a52e8c5
DK
6196msgstr ""
6197
6198#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6199#: apt-ftparchive.1.xml:1
2a52e8c5 6200msgid ""
7d76ea1d
DK
6201"The <literal>Dir</literal> section defines the standard directories needed "
6202"to locate the files required during the generation process. These "
6203"directories are prepended certain relative paths defined in later sections "
6204"to produce a complete an absolute path."
2a52e8c5
DK
6205msgstr ""
6206
7d76ea1d 6207#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6208#: apt-ftparchive.1.xml:1
2a52e8c5 6209msgid ""
7d76ea1d
DK
6210"Specifies the root of the FTP archive, in a standard Debian configuration "
6211"this is the directory that contains the <filename>ls-LR</filename> and dist "
6212"nodes."
2a52e8c5
DK
6213msgstr ""
6214
7d76ea1d 6215#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6216#: apt-ftparchive.1.xml:1
7d76ea1d 6217msgid "Specifies the location of the override files."
2a52e8c5
DK
6218msgstr ""
6219
7d76ea1d 6220#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6221#: apt-ftparchive.1.xml:1
7d76ea1d 6222msgid "Specifies the location of the cache files."
2a52e8c5
DK
6223msgstr ""
6224
7d76ea1d 6225#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6226#: apt-ftparchive.1.xml:1
2a52e8c5 6227msgid ""
7d76ea1d
DK
6228"Specifies the location of the file list files, if the "
6229"<literal>FileList</literal> setting is used below."
2a52e8c5
DK
6230msgstr ""
6231
7d76ea1d 6232#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6233#: apt-ftparchive.1.xml:1
7d76ea1d 6234msgid "<literal>Default</literal> Section"
2a52e8c5
DK
6235msgstr ""
6236
2a52e8c5 6237#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6238#: apt-ftparchive.1.xml:1
2a52e8c5 6239msgid ""
7d76ea1d
DK
6240"The <literal>Default</literal> section specifies default values, and "
6241"settings that control the operation of the generator. Other sections may "
6242"override these defaults with a per-section setting."
2a52e8c5
DK
6243msgstr ""
6244
7d76ea1d 6245#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6246#: apt-ftparchive.1.xml:1
2a52e8c5 6247msgid ""
14301cf3 6248"Sets the default compression schemes to use for the package index files. It "
5ff8dd6b
JAK
6249"is a string that contains a space separated list of at least one of the "
6250"compressors configured via the <option>APT::Compressor</option> "
6251"configuration scope. The default for all compression schemes is '. gzip'."
2a52e8c5
DK
6252msgstr ""
6253
7d76ea1d 6254#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6255#: apt-ftparchive.1.xml:1
2a52e8c5 6256msgid ""
7d76ea1d
DK
6257"Sets the default list of file extensions that are package files. This "
6258"defaults to '.deb'."
2a52e8c5 6259msgstr ""
2a52e8c5 6260
7d76ea1d 6261#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6262#: apt-ftparchive.1.xml:1
2a52e8c5 6263msgid ""
7d76ea1d
DK
6264"This is similar to <literal>Packages::Compress</literal> except that it "
6265"controls the compression for the Sources files."
2a52e8c5
DK
6266msgstr ""
6267
7d76ea1d 6268#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6269#: apt-ftparchive.1.xml:1
2a52e8c5 6270msgid ""
7d76ea1d
DK
6271"Sets the default list of file extensions that are source files. This "
6272"defaults to '.dsc'."
2a52e8c5
DK
6273msgstr ""
6274
7d76ea1d 6275#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6276#: apt-ftparchive.1.xml:1
2a52e8c5 6277msgid ""
7d76ea1d
DK
6278"This is similar to <literal>Packages::Compress</literal> except that it "
6279"controls the compression for the Contents files."
2a52e8c5
DK
6280msgstr ""
6281
7d76ea1d 6282#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6283#: apt-ftparchive.1.xml:1
2a52e8c5 6284msgid ""
7d76ea1d
DK
6285"This is similar to <literal>Packages::Compress</literal> except that it "
6286"controls the compression for the Translation-en master file."
2a52e8c5
DK
6287msgstr ""
6288
7d76ea1d 6289#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6290#: apt-ftparchive.1.xml:1
2a52e8c5 6291msgid ""
7d76ea1d
DK
6292"Specifies the number of kilobytes to delink (and replace with hard links) "
6293"per run. This is used in conjunction with the per-section "
6294"<literal>External-Links</literal> setting."
2a52e8c5
DK
6295msgstr ""
6296
7d76ea1d 6297#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6298#: apt-ftparchive.1.xml:1
2a52e8c5 6299msgid ""
7d76ea1d
DK
6300"Specifies the mode of all created index files. It defaults to 0644. All "
6301"index files are set to this mode with no regard to the umask."
2a52e8c5
DK
6302msgstr ""
6303
7d76ea1d 6304#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6305#: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
2a52e8c5 6306msgid ""
7d76ea1d
DK
6307"Specifies whether long descriptions should be included in the "
6308"<filename>Packages</filename> file or split out into a master "
6309"<filename>Translation-en</filename> file."
2a52e8c5
DK
6310msgstr ""
6311
6312#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6313#: apt-ftparchive.1.xml:1
7d76ea1d 6314msgid "<literal>TreeDefault</literal> Section"
2a52e8c5
DK
6315msgstr ""
6316
6317#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6318#: apt-ftparchive.1.xml:1
2a52e8c5 6319msgid ""
7d76ea1d
DK
6320"Sets defaults specific to <literal>Tree</literal> sections. All of these "
6321"variables are substitution variables and have the strings $(DIST), "
6322"$(SECTION) and $(ARCH) replaced with their respective values."
2a52e8c5
DK
6323msgstr ""
6324
7d76ea1d 6325#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6326#: apt-ftparchive.1.xml:1
7d76ea1d
DK
6327msgid ""
6328"Sets the number of kilobytes of contents files that are generated each "
6329"day. The contents files are round-robined so that over several days they "
6330"will all be rebuilt."
2a52e8c5
DK
6331msgstr ""
6332
7d76ea1d 6333#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6334#: apt-ftparchive.1.xml:1
2a52e8c5 6335msgid ""
7d76ea1d
DK
6336"Controls the number of days a contents file is allowed to be checked without "
6337"changing. If this limit is passed the mtime of the contents file is "
6338"updated. This case can occur if the package file is changed in such a way "
6339"that does not result in a new contents file [override edit for instance]. A "
6340"hold off is allowed in hopes that new .debs will be installed, requiring a "
6341"new file anyhow. The default is 10, the units are in days."
2a52e8c5
DK
6342msgstr ""
6343
7d76ea1d 6344#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6345#: apt-ftparchive.1.xml:1
2a52e8c5 6346msgid ""
7d76ea1d
DK
6347"Sets the top of the .deb directory tree. Defaults to "
6348"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>"
2a52e8c5
DK
6349msgstr ""
6350
7d76ea1d 6351#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6352#: apt-ftparchive.1.xml:1
2a52e8c5 6353msgid ""
7d76ea1d
DK
6354"Sets the top of the source package directory tree. Defaults to "
6355"<filename>$(DIST)/$(SECTION)/source/</filename>"
2a52e8c5
DK
6356msgstr ""
6357
7d76ea1d 6358#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6359#: apt-ftparchive.1.xml:1
2a52e8c5 6360msgid ""
7d76ea1d
DK
6361"Sets the output Packages file. Defaults to "
6362"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>"
2a52e8c5
DK
6363msgstr ""
6364
7d76ea1d 6365#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6366#: apt-ftparchive.1.xml:1
2a52e8c5 6367msgid ""
7d76ea1d
DK
6368"Sets the output Sources file. Defaults to "
6369"<filename>$(DIST)/$(SECTION)/source/Sources</filename>"
2a52e8c5
DK
6370msgstr ""
6371
7d76ea1d 6372#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6373#: apt-ftparchive.1.xml:1
2a52e8c5 6374msgid ""
7d76ea1d
DK
6375"Sets the output Translation-en master file with the long descriptions if "
6376"they should be not included in the Packages file. Defaults to "
6377"<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
2a52e8c5
DK
6378msgstr ""
6379
7d76ea1d 6380#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6381#: apt-ftparchive.1.xml:1
2a52e8c5 6382msgid ""
7d76ea1d
DK
6383"Sets the path prefix that causes a symlink to be considered an internal link "
6384"instead of an external link. Defaults to "
6385"<filename>$(DIST)/$(SECTION)/</filename>"
2a52e8c5
DK
6386msgstr ""
6387
7d76ea1d 6388#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6389#: apt-ftparchive.1.xml:1
2a52e8c5 6390msgid ""
7d76ea1d 6391"Sets the output Contents file. Defaults to "
3adddfa8
DK
6392"<filename>$(DIST)/$(SECTION)/Contents-$(ARCH)</filename>. If this setting "
6393"causes multiple Packages files to map onto a single Contents file (as is the "
7d76ea1d
DK
6394"default) then <command>apt-ftparchive</command> will integrate those "
6395"package files together automatically."
2a52e8c5
DK
6396msgstr ""
6397
7d76ea1d 6398#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6399#: apt-ftparchive.1.xml:1
7d76ea1d 6400msgid "Sets header file to prepend to the contents output."
2a52e8c5
DK
6401msgstr ""
6402
7d76ea1d 6403#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6404#: apt-ftparchive.1.xml:1
2a52e8c5 6405msgid ""
7d76ea1d
DK
6406"Sets the binary cache database to use for this section. Multiple sections "
6407"can share the same database."
2a52e8c5
DK
6408msgstr ""
6409
7d76ea1d 6410#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6411#: apt-ftparchive.1.xml:1
7d76ea1d
DK
6412msgid ""
6413"Specifies that instead of walking the directory tree, "
6414"<command>apt-ftparchive</command> should read the list of files from the "
6415"given file. Relative files names are prefixed with the archive directory."
2a52e8c5
DK
6416msgstr ""
6417
7d76ea1d 6418#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6419#: apt-ftparchive.1.xml:1
2a52e8c5 6420msgid ""
7d76ea1d
DK
6421"Specifies that instead of walking the directory tree, "
6422"<command>apt-ftparchive</command> should read the list of files from the "
6423"given file. Relative files names are prefixed with the archive directory. "
6424"This is used when processing source indexes."
2a52e8c5
DK
6425msgstr ""
6426
6427#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6428#: apt-ftparchive.1.xml:1
7d76ea1d 6429msgid "<literal>Tree</literal> Section"
2a52e8c5
DK
6430msgstr ""
6431
7d76ea1d 6432#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6433#: apt-ftparchive.1.xml:1
2a52e8c5 6434msgid ""
7d76ea1d
DK
6435"The <literal>Tree</literal> section defines a standard Debian file tree "
6436"which consists of a base directory, then multiple sections in that base "
6437"directory and finally multiple Architectures in each section. The exact "
6438"pathing used is defined by the <literal>Directory</literal> substitution "
6439"variable."
2a52e8c5
DK
6440msgstr ""
6441
6442#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6443#: apt-ftparchive.1.xml:1
2a52e8c5 6444msgid ""
7d76ea1d
DK
6445"The <literal>Tree</literal> section takes a scope tag which sets the "
6446"<literal>$(DIST)</literal> variable and defines the root of the tree (the "
6447"path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
9feb98eb 6448"setting such as <filename>dists/&debian-stable-codename;</filename>."
2a52e8c5
DK
6449msgstr ""
6450
6451#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6452#: apt-ftparchive.1.xml:1
2a52e8c5 6453msgid ""
7d76ea1d
DK
6454"All of the settings defined in the <literal>TreeDefault</literal> section "
6455"can be used in a <literal>Tree</literal> section as well as three new "
6456"variables."
2a52e8c5
DK
6457msgstr ""
6458
6459#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 6460#: apt-ftparchive.1.xml:1
2a52e8c5 6461#, no-wrap
7d76ea1d
DK
6462msgid ""
6463"for i in Sections do \n"
6464" for j in Architectures do\n"
6465" Generate for DIST=scope SECTION=i ARCH=j\n"
6466" "
2a52e8c5
DK
6467msgstr ""
6468
6469#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6470#: apt-ftparchive.1.xml:1
2a52e8c5 6471msgid ""
7d76ea1d
DK
6472"When processing a <literal>Tree</literal> section "
6473"<command>apt-ftparchive</command> performs an operation similar to: "
6474"<placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
6475msgstr ""
6476
7d76ea1d 6477#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6478#: apt-ftparchive.1.xml:1
7d76ea1d
DK
6479msgid ""
6480"This is a space separated list of sections which appear under the "
6481"distribution; typically this is something like <literal>main contrib "
6482"non-free</literal>"
2a52e8c5
DK
6483msgstr ""
6484
7d76ea1d 6485#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6486#: apt-ftparchive.1.xml:1
2a52e8c5 6487msgid ""
7d76ea1d
DK
6488"This is a space separated list of all the architectures that appear under "
6489"search section. The special architecture 'source' is used to indicate that "
051029f8
DK
6490"this tree has a source archive. The architecture 'all' signals that "
6491"architecture specific files like <filename>Packages</filename> should not "
6492"include information about architecture <literal>all</literal> packages in "
6493"all files as they will be available in a dedicated file."
2a52e8c5
DK
6494msgstr ""
6495
7d76ea1d 6496#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6497#: apt-ftparchive.1.xml:1
2a52e8c5 6498msgid ""
7d76ea1d
DK
6499"Sets the binary override file. The override file contains section, priority "
6500"and maintainer address information."
2a52e8c5
DK
6501msgstr ""
6502
7d76ea1d 6503#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6504#: apt-ftparchive.1.xml:1
2a52e8c5 6505msgid ""
7d76ea1d
DK
6506"Sets the source override file. The override file contains section "
6507"information."
2a52e8c5
DK
6508msgstr ""
6509
7d76ea1d 6510#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6511#: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
7d76ea1d 6512msgid "Sets the binary extra override file."
2a52e8c5
DK
6513msgstr ""
6514
7d76ea1d 6515#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6516#: apt-ftparchive.1.xml:1 apt-ftparchive.1.xml:1
7d76ea1d 6517msgid "Sets the source extra override file."
2a52e8c5
DK
6518msgstr ""
6519
7d76ea1d 6520#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6521#: apt-ftparchive.1.xml:1
7d76ea1d 6522msgid "<literal>BinDirectory</literal> Section"
2a52e8c5
DK
6523msgstr ""
6524
2a52e8c5 6525#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6526#: apt-ftparchive.1.xml:1
2a52e8c5 6527msgid ""
7d76ea1d
DK
6528"The <literal>bindirectory</literal> section defines a binary directory tree "
6529"with no special structure. The scope tag specifies the location of the "
6530"binary directory and the settings are similar to the <literal>Tree</literal> "
6531"section with no substitution variables or "
6532"<literal>Section</literal><literal>Architecture</literal> settings."
2a52e8c5
DK
6533msgstr ""
6534
7d76ea1d 6535#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6536#: apt-ftparchive.1.xml:1
7d76ea1d 6537msgid "Sets the Packages file output."
2a52e8c5
DK
6538msgstr ""
6539
7d76ea1d 6540#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6541#: apt-ftparchive.1.xml:1
2a52e8c5 6542msgid ""
7d76ea1d
DK
6543"Sets the Sources file output. At least one of <literal>Packages</literal> or "
6544"<literal>Sources</literal> is required."
2a52e8c5
DK
6545msgstr ""
6546
7d76ea1d 6547#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6548#: apt-ftparchive.1.xml:1
7d76ea1d 6549msgid "Sets the Contents file output (optional)."
2a52e8c5
DK
6550msgstr ""
6551
7d76ea1d 6552#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6553#: apt-ftparchive.1.xml:1
7d76ea1d 6554msgid "Sets the binary override file."
2a52e8c5
DK
6555msgstr ""
6556
7d76ea1d 6557#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6558#: apt-ftparchive.1.xml:1
7d76ea1d 6559msgid "Sets the source override file."
2a52e8c5
DK
6560msgstr ""
6561
7d76ea1d 6562#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6563#: apt-ftparchive.1.xml:1
7d76ea1d 6564msgid "Sets the cache DB."
2a52e8c5
DK
6565msgstr ""
6566
7d76ea1d 6567#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6568#: apt-ftparchive.1.xml:1
7d76ea1d 6569msgid "Appends a path to all the output paths."
2a52e8c5
DK
6570msgstr ""
6571
7d76ea1d 6572#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6573#: apt-ftparchive.1.xml:1
7d76ea1d
DK
6574msgid "Specifies the file list file."
6575msgstr ""
6576
6577#. type: Content of: <refentry><refsect1><title>
04f27fae 6578#: apt-ftparchive.1.xml:1
7d76ea1d 6579msgid "The Binary Override File"
2a52e8c5
DK
6580msgstr ""
6581
6582#. type: Content of: <refentry><refsect1><para>
04f27fae 6583#: apt-ftparchive.1.xml:1
2a52e8c5 6584msgid ""
7d76ea1d
DK
6585"The binary override file is fully compatible with &dpkg-scanpackages;. It "
6586"contains four fields separated by spaces. The first field is the package "
6587"name, the second is the priority to force that package to, the third is the "
6588"section to force that package to and the final field is the maintainer "
6589"permutation field."
2a52e8c5
DK
6590msgstr ""
6591
7d76ea1d 6592#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6593#: apt-ftparchive.1.xml:1
2a52e8c5 6594#, no-wrap
7d76ea1d 6595msgid "old [// oldn]* => new"
2a52e8c5
DK
6596msgstr ""
6597
7d76ea1d 6598#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6599#: apt-ftparchive.1.xml:1
7d76ea1d
DK
6600#, no-wrap
6601msgid "new"
2a52e8c5
DK
6602msgstr ""
6603
6604#. type: Content of: <refentry><refsect1><para>
04f27fae 6605#: apt-ftparchive.1.xml:1
2a52e8c5 6606msgid ""
7d76ea1d
DK
6607"The general form of the maintainer field is: <placeholder "
6608"type=\"literallayout\" id=\"0\"/> or simply, <placeholder "
6609"type=\"literallayout\" id=\"1\"/> The first form allows a double-slash "
6610"separated list of old email addresses to be specified. If any of those are "
6611"found then new is substituted for the maintainer field. The second form "
6612"unconditionally substitutes the maintainer field."
c77d6597
MV
6613msgstr ""
6614
7d76ea1d 6615#. type: Content of: <refentry><refsect1><title>
04f27fae 6616#: apt-ftparchive.1.xml:1
7d76ea1d 6617msgid "The Source Override File"
c77d6597
MV
6618msgstr ""
6619
2a52e8c5 6620#. type: Content of: <refentry><refsect1><para>
04f27fae 6621#: apt-ftparchive.1.xml:1
c77d6597 6622msgid ""
7d76ea1d
DK
6623"The source override file is fully compatible with &dpkg-scansources;. It "
6624"contains two fields separated by spaces. The first field is the source "
6625"package name, the second is the section to assign it."
c77d6597
MV
6626msgstr ""
6627
7d76ea1d 6628#. type: Content of: <refentry><refsect1><title>
04f27fae 6629#: apt-ftparchive.1.xml:1
7d76ea1d 6630msgid "The Extra Override File"
c77d6597
MV
6631msgstr ""
6632
6633#. type: Content of: <refentry><refsect1><para>
04f27fae 6634#: apt-ftparchive.1.xml:1
c77d6597 6635msgid ""
7d76ea1d
DK
6636"The extra override file allows any arbitrary tag to be added or replaced in "
6637"the output. It has three columns, the first is the package, the second is "
6638"the tag and the remainder of the line is the new value."
2a52e8c5
DK
6639msgstr ""
6640
7d76ea1d 6641#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6642#: apt-ftparchive.1.xml:1
7d76ea1d
DK
6643msgid ""
6644"Generate the given checksum. These options default to on, when turned off "
6645"the generated index files will not have the checksum fields where possible. "
6646"Configuration Items: "
6647"<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and "
6648"<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> "
6649"where <literal><replaceable>Index</replaceable></literal> can be "
6650"<literal>Packages</literal>, <literal>Sources</literal> or "
6651"<literal>Release</literal> and "
6652"<literal><replaceable>Checksum</replaceable></literal> can be "
04f27fae
MV
6653"<literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA256</literal> "
6654"or <literal>SHA512</literal>."
2a52e8c5
DK
6655msgstr ""
6656
7d76ea1d 6657#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6658#: apt-ftparchive.1.xml:1
2a52e8c5 6659msgid ""
7d76ea1d
DK
6660"Use a binary caching DB. This has no effect on the generate command. "
6661"Configuration Item: <literal>APT::FTPArchive::DB</literal>."
2a52e8c5
DK
6662msgstr ""
6663
7d76ea1d 6664#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6665#: apt-ftparchive.1.xml:1
7d76ea1d
DK
6666msgid ""
6667"Quiet; produces output suitable for logging, omitting progress indicators. "
6668"More q's will produce more quiet up to a maximum of 2. You can also use "
6669"<option>-q=#</option> to set the quiet level, overriding the configuration "
6670"file. Configuration Item: <literal>quiet</literal>."
2a52e8c5
DK
6671msgstr ""
6672
7d76ea1d 6673#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6674#: apt-ftparchive.1.xml:1
7d76ea1d
DK
6675msgid ""
6676"Perform Delinking. If the <literal>External-Links</literal> setting is used "
6677"then this option actually enables delinking of the files. It defaults to on "
6678"and can be turned off with <option>--no-delink</option>. Configuration "
6679"Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
2a52e8c5
DK
6680msgstr ""
6681
7d76ea1d 6682#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6683#: apt-ftparchive.1.xml:1
2a52e8c5 6684msgid ""
7d76ea1d
DK
6685"Perform contents generation. When this option is set and package indexes are "
6686"being generated with a cache DB then the file listing will also be extracted "
6687"and stored in the DB for later use. When using the generate command this "
6688"option also allows the creation of any Contents files. The default is on. "
6689"Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
2a52e8c5
DK
6690msgstr ""
6691
7d76ea1d 6692#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6693#: apt-ftparchive.1.xml:1
2a52e8c5 6694msgid ""
7d76ea1d
DK
6695"Select the source override file to use with the <literal>sources</literal> "
6696"command. Configuration Item: "
6697"<literal>APT::FTPArchive::SourceOverride</literal>."
2a52e8c5
DK
6698msgstr ""
6699
7d76ea1d 6700#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6701#: apt-ftparchive.1.xml:1
2a52e8c5 6702msgid ""
7d76ea1d
DK
6703"Make the caching databases read only. Configuration Item: "
6704"<literal>APT::FTPArchive::ReadOnlyDB</literal>."
2a52e8c5
DK
6705msgstr ""
6706
7d76ea1d 6707#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6708#: apt-ftparchive.1.xml:1
2a52e8c5 6709msgid ""
7d76ea1d
DK
6710"Accept in the <literal>packages</literal> and <literal>contents</literal> "
6711"commands only package files matching <literal>*_arch.deb</literal> or "
6712"<literal>*_all.deb</literal> instead of all package files in the given "
6713"path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
2a52e8c5
DK
6714msgstr ""
6715
7d76ea1d 6716#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6717#: apt-ftparchive.1.xml:1
2a52e8c5 6718msgid ""
7d76ea1d
DK
6719"&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
6720"packages are recompiled and/or republished with the same version again, this "
6721"will lead to problems as the now outdated cached metadata like size and "
6722"checksums will be used. With this option enabled this will no longer happen "
6723"as it will be checked if the file was changed. Note that this option is set "
6724"to \"<literal>false</literal>\" by default as it is not recommend to upload "
6725"multiply versions/builds of a package with the same versionnumber, so in "
6726"theory nobody will have these problems and therefore all these extra checks "
6727"are useless."
2a52e8c5
DK
6728msgstr ""
6729
7d76ea1d 6730#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6731#: apt-ftparchive.1.xml:1
2a52e8c5 6732msgid ""
7d76ea1d
DK
6733"This configuration option defaults to \"<literal>true</literal>\" and should "
6734"only be set to <literal>\"false\"</literal> if the Archive generated with "
6735"&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
6736"that the <filename>Translation-en</filename> master file can only be created "
6737"in the generate command."
2a52e8c5
DK
6738msgstr ""
6739
7d76ea1d 6740#. type: Content of: <refentry><refsect1><para><programlisting>
04f27fae 6741#: apt-ftparchive.1.xml:1
7d76ea1d
DK
6742#, no-wrap
6743msgid ""
6744"<command>apt-ftparchive</command> packages "
6745"<replaceable>directory</replaceable> | <command>gzip</command> > "
6746"<filename>Packages.gz</filename>\n"
43be0ac4
MV
6747msgstr ""
6748
7d76ea1d 6749#. type: Content of: <refentry><refsect1><para>
04f27fae 6750#: apt-ftparchive.1.xml:1
43be0ac4 6751msgid ""
7d76ea1d
DK
6752"To create a compressed Packages file for a directory containing binary "
6753"packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
43be0ac4
MV
6754msgstr ""
6755
2a52e8c5 6756#. type: Content of: <refentry><refsect1><para>
04f27fae 6757#: apt-ftparchive.1.xml:1
2a52e8c5 6758msgid ""
7d76ea1d
DK
6759"<command>apt-ftparchive</command> returns zero on normal operation, decimal "
6760"100 on error."
2a52e8c5
DK
6761msgstr ""
6762
521dd27d 6763#. type: Attribute 'lang' of: <book>
04f27fae 6764#: guide.dbk:1 offline.dbk:1
521dd27d
GJ
6765msgid "en"
6766msgstr ""
6767
6768#. type: Content of: <book><title>
04f27fae 6769#: guide.dbk:1
43be0ac4
MV
6770msgid "APT User's Guide"
6771msgstr ""
6772
521dd27d 6773#. type: Content of: <book><bookinfo><authorgroup><author><personname>
04f27fae 6774#: guide.dbk:1 offline.dbk:1
521dd27d
GJ
6775msgid "Jason Gunthorpe"
6776msgstr ""
6777
6778#. type: Content of: <book><bookinfo><authorgroup><author><email>
04f27fae 6779#: guide.dbk:1 offline.dbk:1
521dd27d 6780msgid "jgg@debian.org"
43be0ac4
MV
6781msgstr ""
6782
521dd27d 6783#. type: Content of: <book><bookinfo><releaseinfo>
04f27fae 6784#: guide.dbk:1 offline.dbk:1
521dd27d 6785msgid "Version &apt-product-version;"
43be0ac4
MV
6786msgstr ""
6787
521dd27d 6788#. type: Content of: <book><bookinfo><abstract><para>
04f27fae 6789#: guide.dbk:1
43be0ac4
MV
6790msgid ""
6791"This document provides an overview of how to use the the APT package "
6792"manager."
6793msgstr ""
6794
521dd27d 6795#. type: Content of: <book><bookinfo>
04f27fae 6796#: guide.dbk:1
521dd27d 6797msgid "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
43be0ac4
MV
6798msgstr ""
6799
521dd27d 6800#. type: Content of: <book><bookinfo><legalnotice><title>
04f27fae 6801#: guide.dbk:1 offline.dbk:1
521dd27d
GJ
6802msgid "License Notice"
6803msgstr ""
6804
6805#. type: Content of: <book><bookinfo><legalnotice><para>
04f27fae 6806#: guide.dbk:1 offline.dbk:1
43be0ac4
MV
6807msgid ""
6808"\"APT\" and this document are free software; you can redistribute them "
6809"and/or modify them under the terms of the GNU General Public License as "
6810"published by the Free Software Foundation; either version 2 of the License, "
6811"or (at your option) any later version."
6812msgstr ""
6813
521dd27d 6814#. type: Content of: <book><bookinfo><legalnotice><para>
04f27fae 6815#: guide.dbk:1 offline.dbk:1
43be0ac4 6816msgid ""
b176de3a 6817"For more details, on Debian systems, see the file "
43be0ac4
MV
6818"/usr/share/common-licenses/GPL for the full license."
6819msgstr ""
6820
521dd27d 6821#. type: Content of: <book><chapter><title>
04f27fae 6822#: guide.dbk:1
43be0ac4
MV
6823msgid "General"
6824msgstr ""
6825
521dd27d 6826#. type: Content of: <book><chapter><para>
04f27fae 6827#: guide.dbk:1
43be0ac4
MV
6828msgid ""
6829"The APT package currently contains two sections, the APT "
521dd27d
GJ
6830"<command>dselect</command> method and the <command>apt-get</command> command "
6831"line user interface. Both provide a way to install and remove packages as "
6832"well as download new packages from the Internet."
43be0ac4
MV
6833msgstr ""
6834
521dd27d 6835#. type: Content of: <book><chapter><section><title>
04f27fae 6836#: guide.dbk:1
43be0ac4
MV
6837msgid "Anatomy of the Package System"
6838msgstr ""
6839
521dd27d 6840#. type: Content of: <book><chapter><section><para>
04f27fae 6841#: guide.dbk:1
43be0ac4
MV
6842msgid ""
6843"The Debian packaging system has a large amount of information associated "
6844"with each package to help assure that it integrates cleanly and easily into "
6845"the system. The most prominent of its features is the dependency system."
6846msgstr ""
6847
521dd27d 6848#. type: Content of: <book><chapter><section><para>
04f27fae 6849#: guide.dbk:1
43be0ac4
MV
6850msgid ""
6851"The dependency system allows individual programs to make use of shared "
6852"elements in the system such as libraries. It simplifies placing infrequently "
6853"used portions of a program in separate packages to reduce the number of "
6854"things the average user is required to install. Also, it allows for choices "
6855"in mail transport agents, X servers and so on."
6856msgstr ""
6857
521dd27d 6858#. type: Content of: <book><chapter><section><para>
04f27fae 6859#: guide.dbk:1
43be0ac4
MV
6860msgid ""
6861"The first step to understanding the dependency system is to grasp the "
6862"concept of a simple dependency. The meaning of a simple dependency is that a "
6863"package requires another package to be installed at the same time to work "
6864"properly."
6865msgstr ""
6866
521dd27d 6867#. type: Content of: <book><chapter><section><para>
04f27fae 6868#: guide.dbk:1
43be0ac4
MV
6869msgid ""
6870"For instance, mailcrypt is an emacs extension that aids in encrypting email "
b39c1859 6871"with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
43be0ac4
MV
6872"simple dependency on GPG. Also, because it is an emacs extension it has a "
6873"simple dependency on emacs, without emacs it is completely useless."
6874msgstr ""
6875
521dd27d 6876#. type: Content of: <book><chapter><section><para>
04f27fae 6877#: guide.dbk:1
43be0ac4
MV
6878msgid ""
6879"The other important dependency to understand is a conflicting dependency. It "
6880"means that a package, when installed with another package, will not work and "
6881"may possibly be extremely harmful to the system. As an example consider a "
6882"mail transport agent such as sendmail, exim or qmail. It is not possible to "
6883"have two mail transport agents installed because both need to listen to the "
6884"network to receive mail. Attempting to install two will seriously damage the "
6885"system so all mail transport agents have a conflicting dependency with all "
6886"other mail transport agents."
6887msgstr ""
6888
521dd27d 6889#. type: Content of: <book><chapter><section><para>
04f27fae 6890#: guide.dbk:1
43be0ac4
MV
6891msgid ""
6892"As an added complication there is the possibility for a package to pretend "
6893"to be another package. Consider that exim and sendmail for many intents are "
6894"identical, they both deliver mail and understand a common interface. Hence, "
6895"the package system has a way for them to declare that they are both "
6896"mail-transport-agents. So, exim and sendmail both declare that they provide "
6897"a mail-transport-agent and other packages that need a mail transport agent "
6898"depend on mail-transport-agent. This can add a great deal of confusion when "
6899"trying to manually fix packages."
6900msgstr ""
6901
521dd27d 6902#. type: Content of: <book><chapter><section><para>
04f27fae 6903#: guide.dbk:1
43be0ac4
MV
6904msgid ""
6905"At any given time a single dependency may be met by packages that are "
6906"already installed or it may not be. APT attempts to help resolve dependency "
6907"issues by providing a number of automatic algorithms that help in selecting "
6908"packages for installation."
6909msgstr ""
6910
521dd27d 6911#. type: Content of: <book><chapter><title>
04f27fae 6912#: guide.dbk:1
9aa80d52
DK
6913msgid "apt-get"
6914msgstr ""
6915
521dd27d 6916#. type: Content of: <book><chapter><para>
04f27fae 6917#: guide.dbk:1
43be0ac4 6918msgid ""
521dd27d
GJ
6919"<command>apt-get</command> provides a simple way to install packages from "
6920"the command line. Unlike <command>dpkg</command>, <command>apt-get</command> "
6921"does not understand .deb files, it works with the package's proper name and "
6922"can only install .deb archives from a <emphasis>Source</emphasis>."
43be0ac4
MV
6923msgstr ""
6924
521dd27d 6925#. type: Content of: <book><chapter><para><footnote><para>
04f27fae 6926#: guide.dbk:1
43be0ac4 6927msgid ""
521dd27d
GJ
6928"If you are using an http proxy server you must set the http_proxy "
6929"environment variable first, see sources.list(5)"
43be0ac4
MV
6930msgstr ""
6931
521dd27d 6932#. type: Content of: <book><chapter><para>
04f27fae 6933#: guide.dbk:1
521dd27d
GJ
6934msgid ""
6935"The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be "
6936"done before using <command>apt-get</command> is to fetch the package lists "
6937"from the <emphasis>Sources</emphasis> so that it knows what packages are "
6938"available. This is done with <literal>apt-get update</literal>. For "
6939"instance,"
6940msgstr ""
6941
6942#. type: Content of: <book><chapter><screen>
04f27fae 6943#: guide.dbk:1
43be0ac4
MV
6944#, no-wrap
6945msgid ""
6946"# apt-get update\n"
6947"Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
6948"Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
6949"Reading Package Lists... Done\n"
521dd27d 6950"Building Dependency Tree... Done\n"
43be0ac4
MV
6951msgstr ""
6952
521dd27d 6953#. type: Content of: <book><chapter><para>
04f27fae 6954#: guide.dbk:1
43be0ac4
MV
6955msgid "Once updated there are several commands that can be used:"
6956msgstr ""
6957
521dd27d 6958#. type: Content of: <book><chapter><variablelist><varlistentry><term>
04f27fae 6959#: guide.dbk:1
2b9b27c3
DK
6960msgid "upgrade"
6961msgstr ""
6962
521dd27d 6963#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 6964#: guide.dbk:1
43be0ac4
MV
6965msgid ""
6966"Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
6967"install a new package or remove an existing package, nor will it ever "
6968"upgrade a package that might cause some other package to break. This can be "
6969"used daily to relatively safely upgrade the system. Upgrade will list all of "
6970"the packages that it could not upgrade, this usually means that they depend "
521dd27d
GJ
6971"on new packages or conflict with some other "
6972"package. <command>dselect</command> or <literal>apt-get install</literal> "
6973"can be used to force these packages to install."
43be0ac4
MV
6974msgstr ""
6975
521dd27d 6976#. type: Content of: <book><chapter><variablelist><varlistentry><term>
04f27fae 6977#: guide.dbk:1
2b9b27c3
DK
6978msgid "install"
6979msgstr ""
6980
521dd27d 6981#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 6982#: guide.dbk:1
43be0ac4
MV
6983msgid ""
6984"Install is used to install packages by name. The package is automatically "
6985"fetched and installed. This can be useful if you already know the name of "
6986"the package to install and do not want to go into a GUI to select it. Any "
6987"number of packages may be passed to install, they will all be "
6988"fetched. Install automatically attempts to resolve dependency problems with "
6989"the listed packages and will print a summary and ask for confirmation if "
6990"anything other than its arguments are changed."
6991msgstr ""
6992
521dd27d 6993#. type: Content of: <book><chapter><variablelist><varlistentry><term>
04f27fae 6994#: guide.dbk:1
2b9b27c3
DK
6995msgid "dist-upgrade"
6996msgstr ""
6997
521dd27d 6998#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 6999#: guide.dbk:1
43be0ac4
MV
7000msgid ""
7001"Dist-upgrade is a complete upgrader designed to simplify upgrading between "
7002"releases of Debian. It uses a sophisticated algorithm to determine the best "
7003"set of packages to install, upgrade and remove to get as much of the system "
7004"to the newest release. In some situations it may be desired to use "
7005"dist-upgrade rather than spend the time manually resolving dependencies in "
521dd27d
GJ
7006"<command>dselect</command>. Once dist-upgrade has completed then "
7007"<command>dselect</command> can be used to install any packages that may have "
7008"been left out."
43be0ac4
MV
7009msgstr ""
7010
521dd27d 7011#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 7012#: guide.dbk:1
43be0ac4
MV
7013msgid ""
7014"It is important to closely look at what dist-upgrade is going to do, its "
7015"decisions may sometimes be quite surprising."
7016msgstr ""
7017
521dd27d 7018#. type: Content of: <book><chapter><para>
04f27fae 7019#: guide.dbk:1
43be0ac4 7020msgid ""
521dd27d
GJ
7021"<command>apt-get</command> has several command line options that are "
7022"detailed in its man page, "
7023"<citerefentry><refentrytitle>apt-get</refentrytitle><manvolnum>8</manvolnum></citerefentry>. "
7024"The most useful option is <literal>-d</literal> which does not install the "
7025"fetched files. If the system has to download a large number of package it "
7026"would be undesired to start installing them in case something goes "
7027"wrong. When <literal>-d</literal> is used the downloaded archives can be "
7028"installed by simply running the command that caused them to be downloaded "
7029"again without <literal>-d</literal>."
43be0ac4
MV
7030msgstr ""
7031
521dd27d 7032#. type: Content of: <book><chapter><title>
04f27fae 7033#: guide.dbk:1
43be0ac4
MV
7034msgid "DSelect"
7035msgstr ""
7036
521dd27d 7037#. type: Content of: <book><chapter><para>
04f27fae 7038#: guide.dbk:1
43be0ac4 7039msgid ""
521dd27d
GJ
7040"The APT <command>dselect</command> method provides the complete APT system "
7041"with the <command>dselect</command> package selection "
7042"GUI. <command>dselect</command> is used to select the packages to be "
7043"installed or removed and APT actually installs them."
43be0ac4
MV
7044msgstr ""
7045
521dd27d 7046#. type: Content of: <book><chapter><para>
04f27fae 7047#: guide.dbk:1
43be0ac4 7048msgid ""
521dd27d
GJ
7049"To enable the APT method you need to select [A]ccess in "
7050"<command>dselect</command> and then choose the APT method. You will be "
7051"prompted for a set of <emphasis>Sources</emphasis> which are places to fetch "
7052"archives from. These can be remote Internet sites, local Debian mirrors or "
7053"CD-ROMs. Each source can provide a fragment of the total Debian archive, APT "
7054"will automatically combine them to form a complete set of packages. If you "
7055"have a CD-ROM then it is a good idea to specify it first and then specify a "
7056"mirror so that you have access to the latest bug fixes. APT will "
7057"automatically use packages on your CD-ROM before downloading from the "
7058"Internet."
43be0ac4
MV
7059msgstr ""
7060
521dd27d 7061#. type: Content of: <book><chapter><screen>
04f27fae 7062#: guide.dbk:1
43be0ac4
MV
7063#, no-wrap
7064msgid ""
7065" Set up a list of distribution source locations\n"
521dd27d 7066"\n"
43be0ac4
MV
7067" Please give the base URL of the debian distribution.\n"
7068" The access schemes I know about are: http file\n"
521dd27d 7069"\n"
43be0ac4
MV
7070" For example:\n"
7071" file:/mnt/debian,\n"
7072" ftp://ftp.debian.org/debian,\n"
7073" http://ftp.de.debian.org/debian,\n"
521dd27d
GJ
7074"\n"
7075"\n"
7076" URL [http://llug.sep.bnl.gov/debian]:\n"
43be0ac4
MV
7077msgstr ""
7078
521dd27d 7079#. type: Content of: <book><chapter><para>
04f27fae 7080#: guide.dbk:1
43be0ac4 7081msgid ""
521dd27d
GJ
7082"The <emphasis>Sources</emphasis> setup starts by asking for the base of the "
7083"Debian archive, defaulting to a HTTP mirror. Next it asks for the "
7084"distribution to get."
43be0ac4
MV
7085msgstr ""
7086
521dd27d 7087#. type: Content of: <book><chapter><screen>
04f27fae 7088#: guide.dbk:1
43be0ac4
MV
7089#, no-wrap
7090msgid ""
7091" Please give the distribution tag to get or a path to the\n"
7092" package file ending in a /. The distribution\n"
7093" tags are typically something like: stable unstable testing non-US\n"
521dd27d
GJ
7094"\n"
7095" Distribution [stable]:\n"
43be0ac4
MV
7096msgstr ""
7097
521dd27d 7098#. type: Content of: <book><chapter><para>
04f27fae 7099#: guide.dbk:1
43be0ac4
MV
7100msgid ""
7101"The distribution refers to the Debian version in the archive, "
521dd27d
GJ
7102"<emphasis>stable</emphasis> refers to the latest released version and "
7103"<emphasis>unstable</emphasis> refers to the developmental "
7104"version. <emphasis>non-US</emphasis> is only available on some mirrors and "
7105"refers to packages that contain encryption technology or other things that "
7106"cannot be exported from the United States. Importing these packages into the "
7107"US is legal however."
43be0ac4
MV
7108msgstr ""
7109
521dd27d 7110#. type: Content of: <book><chapter><screen>
04f27fae 7111#: guide.dbk:1
43be0ac4
MV
7112#, no-wrap
7113msgid ""
7114" Please give the components to get\n"
7115" The components are typically something like: main contrib non-free\n"
521dd27d
GJ
7116"\n"
7117" Components [main contrib non-free]:\n"
43be0ac4
MV
7118msgstr ""
7119
521dd27d 7120#. type: Content of: <book><chapter><para>
04f27fae 7121#: guide.dbk:1
43be0ac4
MV
7122msgid ""
7123"The components list refers to the list of sub distributions to fetch. The "
7124"distribution is split up based on software licenses, main being DFSG free "
7125"packages while contrib and non-free contain things that have various "
7126"restrictions placed on their use and distribution."
7127msgstr ""
7128
521dd27d 7129#. type: Content of: <book><chapter><para>
04f27fae 7130#: guide.dbk:1
43be0ac4
MV
7131msgid ""
7132"Any number of sources can be added, the setup script will continue to prompt "
7133"until you have specified all that you want."
7134msgstr ""
7135
521dd27d 7136#. type: Content of: <book><chapter><para>
04f27fae 7137#: guide.dbk:1
43be0ac4 7138msgid ""
521dd27d
GJ
7139"Before starting to use <command>dselect</command> it is necessary to update "
7140"the available list by selecting [U]pdate from the menu. This is a superset "
7141"of <literal>apt-get update</literal> that makes the fetched information "
7142"available to <command>dselect</command>. [U]pdate must be performed even if "
7143"<literal>apt-get update</literal> has been run before."
43be0ac4
MV
7144msgstr ""
7145
521dd27d 7146#. type: Content of: <book><chapter><para>
04f27fae 7147#: guide.dbk:1
43be0ac4
MV
7148msgid ""
7149"You can then go on and make your selections using [S]elect and then perform "
7150"the installation using [I]nstall. When using the APT method the [C]onfig and "
7151"[R]emove commands have no meaning, the [I]nstall command performs both of "
7152"them together."
7153msgstr ""
7154
521dd27d 7155#. type: Content of: <book><chapter><para>
04f27fae 7156#: guide.dbk:1
43be0ac4
MV
7157msgid ""
7158"By default APT will automatically remove the package (.deb) files once they "
7159"have been successfully installed. To change this behavior place "
521dd27d 7160"<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf."
43be0ac4
MV
7161msgstr ""
7162
521dd27d 7163#. type: Content of: <book><chapter><title>
04f27fae 7164#: guide.dbk:1
43be0ac4
MV
7165msgid "The Interface"
7166msgstr ""
7167
521dd27d 7168#. type: Content of: <book><chapter><para><footnote><para>
04f27fae 7169#: guide.dbk:1
521dd27d
GJ
7170msgid ""
7171"The <command>dselect</command> method actually is a set of wrapper scripts "
7172"to <command>apt-get</command>. The method actually provides more "
7173"functionality than is present in <command>apt-get</command> alone."
7174msgstr ""
7175
7176#. type: Content of: <book><chapter><para>
04f27fae 7177#: guide.dbk:1
43be0ac4 7178msgid ""
521dd27d
GJ
7179"Both that APT <command>dselect</command> method and "
7180"<command>apt-get</command> share the same interface. It is a simple system "
7181"that generally tells you what it will do and then goes and does "
7182"it. <placeholder type=\"footnote\" id=\"0\"/> After printing out a summary "
7183"of what will happen APT then will print out some informative status messages "
7184"so that you can estimate how far along it is and how much is left to do."
43be0ac4
MV
7185msgstr ""
7186
521dd27d 7187#. type: Content of: <book><chapter><section><title>
04f27fae 7188#: guide.dbk:1
43be0ac4
MV
7189msgid "Startup"
7190msgstr ""
7191
521dd27d 7192#. type: Content of: <book><chapter><section><para>
04f27fae 7193#: guide.dbk:1
43be0ac4
MV
7194msgid ""
7195"Before all operations except update, APT performs a number of actions to "
7196"prepare its internal state. It also does some checks of the system's "
521dd27d
GJ
7197"state. At any time these operations can be performed by running "
7198"<literal>apt-get check</literal>."
43be0ac4
MV
7199msgstr ""
7200
521dd27d 7201#. type: Content of: <book><chapter><section><screen>
04f27fae 7202#: guide.dbk:1
43be0ac4
MV
7203#, no-wrap
7204msgid ""
7205"# apt-get check\n"
7206"Reading Package Lists... Done\n"
521dd27d 7207"Building Dependency Tree... Done\n"
43be0ac4
MV
7208msgstr ""
7209
521dd27d 7210#. type: Content of: <book><chapter><section><para>
04f27fae 7211#: guide.dbk:1
43be0ac4
MV
7212msgid ""
7213"The first thing it does is read all the package files into memory. APT uses "
7214"a caching scheme so this operation will be faster the second time it is "
7215"run. If some of the package files are not found then they will be ignored "
7216"and a warning will be printed when apt-get exits."
7217msgstr ""
7218
521dd27d 7219#. type: Content of: <book><chapter><section><para>
04f27fae 7220#: guide.dbk:1
43be0ac4
MV
7221msgid ""
7222"The final operation performs a detailed analysis of the system's "
7223"dependencies. It checks every dependency of every installed or unpacked "
7224"package and considers if it is OK. Should this find a problem then a report "
521dd27d 7225"will be printed out and <command>apt-get</command> will refuse to run."
43be0ac4
MV
7226msgstr ""
7227
521dd27d 7228#. type: Content of: <book><chapter><section><screen>
04f27fae 7229#: guide.dbk:1
43be0ac4
MV
7230#, no-wrap
7231msgid ""
7232"# apt-get check\n"
7233"Reading Package Lists... Done\n"
7234"Building Dependency Tree... Done\n"
7235"You might want to run apt-get -f install' to correct these.\n"
7236"Sorry, but the following packages have unmet dependencies:\n"
7237" 9fonts: Depends: xlib6g but it is not installed\n"
7238" uucp: Depends: mailx but it is not installed\n"
521dd27d 7239" blast: Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
43be0ac4
MV
7240" adduser: Depends: perl-base but it is not installed\n"
7241" aumix: Depends: libgpmg1 but it is not installed\n"
7242" debiandoc-sgml: Depends: sgml-base but it is not installed\n"
521dd27d 7243" bash-builtins: Depends: bash (&gt;= 2.01) but 2.0-3 is installed\n"
43be0ac4 7244" cthugha: Depends: svgalibg1 but it is not installed\n"
521dd27d
GJ
7245" Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
7246" libreadlineg2: Conflicts:libreadline2 (&lt;&lt; 2.1-2.1)\n"
43be0ac4
MV
7247msgstr ""
7248
521dd27d 7249#. type: Content of: <book><chapter><section><para>
04f27fae 7250#: guide.dbk:1
43be0ac4
MV
7251msgid ""
7252"In this example the system has many problems, including a serious problem "
7253"with libreadlineg2. For each package that has unmet dependencies a line is "
7254"printed out indicating the package with the problem and the dependencies "
7255"that are unmet. A short explanation of why the package has a dependency "
7256"problem is also included."
7257msgstr ""
7258
521dd27d 7259#. type: Content of: <book><chapter><section><para><footnote><para>
04f27fae 7260#: guide.dbk:1
521dd27d
GJ
7261msgid ""
7262"APT however considers all known dependencies and attempts to prevent broken "
7263"packages"
7264msgstr ""
7265
7266#. type: Content of: <book><chapter><section><para>
04f27fae 7267#: guide.dbk:1
43be0ac4
MV
7268msgid ""
7269"There are two ways a system can get into a broken state like this. The first "
521dd27d
GJ
7270"is caused by <command>dpkg</command> missing some subtle relationships "
7271"between packages when performing upgrades. <placeholder type=\"footnote\" "
7272"id=\"0\"/>. The second is if a package installation fails during an "
7273"operation. In this situation a package may have been unpacked without its "
7274"dependents being installed."
43be0ac4
MV
7275msgstr ""
7276
521dd27d 7277#. type: Content of: <book><chapter><section><para>
04f27fae 7278#: guide.dbk:1
43be0ac4
MV
7279msgid ""
7280"The second situation is much less serious than the first because APT places "
7281"certain constraints on the order that packages are installed. In both cases "
521dd27d
GJ
7282"supplying the <literal>-f</literal> option to <command>apt-get</command> "
7283"will cause APT to deduce a possible solution to the problem and then "
7284"continue on. The APT <command>dselect</command> method always supplies the "
7285"<literal>-f</literal> option to allow for easy continuation of failed "
7286"maintainer scripts."
43be0ac4
MV
7287msgstr ""
7288
521dd27d 7289#. type: Content of: <book><chapter><section><para>
04f27fae 7290#: guide.dbk:1
43be0ac4 7291msgid ""
521dd27d
GJ
7292"However, if the <literal>-f</literal> option is used to correct a seriously "
7293"broken system caused by the first case then it is possible that it will "
7294"either fail immediately or the installation sequence will fail. In either "
7295"case it is necessary to manually use dpkg (possibly with forcing options) to "
7296"correct the situation enough to allow APT to proceed."
43be0ac4
MV
7297msgstr ""
7298
521dd27d 7299#. type: Content of: <book><chapter><section><title>
04f27fae 7300#: guide.dbk:1
43be0ac4
MV
7301msgid "The Status Report"
7302msgstr ""
7303
521dd27d 7304#. type: Content of: <book><chapter><section><para>
04f27fae 7305#: guide.dbk:1
43be0ac4 7306msgid ""
521dd27d
GJ
7307"Before proceeding <command>apt-get</command> will present a report on what "
7308"will happen. Generally the report reflects the type of operation being "
7309"performed but there are several common elements. In all cases the lists "
7310"reflect the final state of things, taking into account the "
7311"<literal>-f</literal> option and any other relevant activities to the "
7312"command being executed."
43be0ac4
MV
7313msgstr ""
7314
521dd27d 7315#. type: Content of: <book><chapter><section><section><title>
04f27fae 7316#: guide.dbk:1
43be0ac4
MV
7317msgid "The Extra Package list"
7318msgstr ""
7319
521dd27d 7320#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7321#: guide.dbk:1
43be0ac4
MV
7322#, no-wrap
7323msgid ""
7324"The following extra packages will be installed:\n"
7325" libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
7326" mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
7327" bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
7328" squake pgp-i python-base debmake ldso perl libreadlineg2\n"
521dd27d 7329" ssh\n"
43be0ac4
MV
7330msgstr ""
7331
521dd27d 7332#. type: Content of: <book><chapter><section><section><para>
04f27fae 7333#: guide.dbk:1
43be0ac4
MV
7334msgid ""
7335"The Extra Package list shows all of the packages that will be installed or "
7336"upgraded in excess of the ones mentioned on the command line. It is only "
521dd27d
GJ
7337"generated for an <literal>install</literal> command. The listed packages are "
7338"often the result of an Auto Install."
43be0ac4
MV
7339msgstr ""
7340
521dd27d 7341#. type: Content of: <book><chapter><section><section><title>
04f27fae 7342#: guide.dbk:1
43be0ac4
MV
7343msgid "The Packages to Remove"
7344msgstr ""
7345
521dd27d 7346#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7347#: guide.dbk:1
43be0ac4
MV
7348#, no-wrap
7349msgid ""
7350"The following packages will be REMOVED:\n"
7351" xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
7352" xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
7353" xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
521dd27d 7354" nas xpilot xfig\n"
43be0ac4
MV
7355msgstr ""
7356
521dd27d 7357#. type: Content of: <book><chapter><section><section><para>
04f27fae 7358#: guide.dbk:1
43be0ac4
MV
7359msgid ""
7360"The Packages to Remove list shows all of the packages that will be removed "
7361"from the system. It can be shown for any of the operations and should be "
7362"given a careful inspection to ensure nothing important is to be taken "
521dd27d
GJ
7363"off. The <literal>-f</literal> option is especially good at generating "
7364"packages to remove so extreme care should be used in that case. The list may "
7365"contain packages that are going to be removed because they are only "
7366"partially installed, possibly due to an aborted installation."
43be0ac4
MV
7367msgstr ""
7368
521dd27d 7369#. type: Content of: <book><chapter><section><section><title>
04f27fae 7370#: guide.dbk:1
43be0ac4
MV
7371msgid "The New Packages list"
7372msgstr ""
7373
521dd27d 7374#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7375#: guide.dbk:1
43be0ac4
MV
7376#, no-wrap
7377msgid ""
7378"The following NEW packages will installed:\n"
521dd27d 7379" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
43be0ac4
MV
7380msgstr ""
7381
521dd27d 7382#. type: Content of: <book><chapter><section><section><para>
04f27fae 7383#: guide.dbk:1
43be0ac4
MV
7384msgid ""
7385"The New Packages list is simply a reminder of what will happen. The packages "
7386"listed are not presently installed in the system but will be when APT is "
7387"done."
7388msgstr ""
7389
521dd27d 7390#. type: Content of: <book><chapter><section><section><title>
04f27fae 7391#: guide.dbk:1
43be0ac4
MV
7392msgid "The Kept Back list"
7393msgstr ""
7394
521dd27d 7395#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7396#: guide.dbk:1
43be0ac4
MV
7397#, no-wrap
7398msgid ""
7399"The following packages have been kept back\n"
7400" compface man-db tetex-base msql libpaper svgalib1\n"
521dd27d 7401" gs snmp arena lynx xpat2 groff xscreensaver\n"
43be0ac4
MV
7402msgstr ""
7403
521dd27d 7404#. type: Content of: <book><chapter><section><section><para>
04f27fae 7405#: guide.dbk:1
43be0ac4
MV
7406msgid ""
7407"Whenever the whole system is being upgraded there is the possibility that "
7408"new versions of packages cannot be installed because they require new things "
7409"or conflict with already installed things. In this case the package will "
7410"appear in the Kept Back list. The best way to convince packages listed there "
521dd27d
GJ
7411"to install is with <literal>apt-get install</literal> or by using "
7412"<command>dselect</command> to resolve their problems."
43be0ac4
MV
7413msgstr ""
7414
521dd27d 7415#. type: Content of: <book><chapter><section><section><title>
04f27fae 7416#: guide.dbk:1
43be0ac4
MV
7417msgid "Held Packages warning"
7418msgstr ""
7419
521dd27d 7420#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7421#: guide.dbk:1
43be0ac4
MV
7422#, no-wrap
7423msgid ""
7424"The following held packages will be changed:\n"
521dd27d 7425" cvs\n"
43be0ac4
MV
7426msgstr ""
7427
521dd27d 7428#. type: Content of: <book><chapter><section><section><para>
04f27fae 7429#: guide.dbk:1
43be0ac4
MV
7430msgid ""
7431"Sometimes you can ask APT to install a package that is on hold, in such a "
7432"case it prints out a warning that the held package is going to be "
7433"changed. This should only happen during dist-upgrade or install."
7434msgstr ""
7435
521dd27d 7436#. type: Content of: <book><chapter><section><section><title>
04f27fae 7437#: guide.dbk:1
43be0ac4
MV
7438msgid "Final summary"
7439msgstr ""
7440
521dd27d 7441#. type: Content of: <book><chapter><section><section><para>
04f27fae 7442#: guide.dbk:1
43be0ac4
MV
7443msgid "Finally, APT will print out a summary of all the changes that will occur."
7444msgstr ""
7445
521dd27d 7446#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7447#: guide.dbk:1
43be0ac4
MV
7448#, no-wrap
7449msgid ""
7450"206 packages upgraded, 8 newly installed, 23 to remove and 51 not "
7451"upgraded.\n"
7452"12 packages not fully installed or removed.\n"
521dd27d 7453"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
43be0ac4
MV
7454msgstr ""
7455
521dd27d 7456#. type: Content of: <book><chapter><section><section><para>
04f27fae 7457#: guide.dbk:1
43be0ac4
MV
7458msgid ""
7459"The first line of the summary simply is a reduced version of all of the "
7460"lists and includes the number of upgrades - that is packages already "
7461"installed that have new versions available. The second line indicates the "
7462"number of poorly configured packages, possibly the result of an aborted "
7463"installation. The final line shows the space requirements that the "
7464"installation needs. The first pair of numbers refer to the size of the "
7465"archive files. The first number indicates the number of bytes that must be "
7466"fetched from remote locations and the second indicates the total size of all "
7467"the archives required. The next number indicates the size difference between "
7468"the presently installed packages and the newly installed packages. It is "
7469"roughly equivalent to the space required in /usr after everything is "
7470"done. If a large number of packages are being removed then the value may "
7471"indicate the amount of space that will be freed."
7472msgstr ""
7473
521dd27d 7474#. type: Content of: <book><chapter><section><section><para>
04f27fae 7475#: guide.dbk:1
43be0ac4
MV
7476msgid ""
7477"Some other reports can be generated by using the -u option to show packages "
7478"to upgrade, they are similar to the previous examples."
7479msgstr ""
7480
521dd27d 7481#. type: Content of: <book><chapter><section><title>
04f27fae 7482#: guide.dbk:1
43be0ac4
MV
7483msgid "The Status Display"
7484msgstr ""
7485
521dd27d 7486#. type: Content of: <book><chapter><section><para>
04f27fae 7487#: guide.dbk:1
43be0ac4
MV
7488msgid ""
7489"During the download of archives and package files APT prints out a series of "
7490"status messages."
7491msgstr ""
7492
521dd27d 7493#. type: Content of: <book><chapter><section><screen>
04f27fae 7494#: guide.dbk:1
43be0ac4
MV
7495#, no-wrap
7496msgid ""
7497"# apt-get update\n"
7498"Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
7499"Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7500"Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
7501"Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ "
7502"Packages\n"
7503"Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
521dd27d 7504"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
43be0ac4
MV
7505msgstr ""
7506
521dd27d 7507#. type: Content of: <book><chapter><section><para>
04f27fae 7508#: guide.dbk:1
43be0ac4 7509msgid ""
521dd27d
GJ
7510"The lines starting with <emphasis>Get</emphasis> are printed out when APT "
7511"begins to fetch a file while the last line indicates the progress of the "
7512"download. The first percent value on the progress line indicates the total "
7513"percent done of all files. Unfortunately since the size of the Package files "
7514"is unknown <literal>apt-get update</literal> estimates the percent done "
7515"which causes some inaccuracies."
43be0ac4
MV
7516msgstr ""
7517
521dd27d 7518#. type: Content of: <book><chapter><section><para>
04f27fae 7519#: guide.dbk:1
43be0ac4
MV
7520msgid ""
7521"The next section of the status line is repeated once for each download "
7522"thread and indicates the operation being performed and some useful "
7523"information about what is happening. Sometimes this section will simply read "
521dd27d
GJ
7524"<emphasis>Forking</emphasis> which means the OS is loading the download "
7525"module. The first word after the [ is the fetch number as shown on the "
7526"history lines. The next word is the short form name of the object being "
43be0ac4
MV
7527"downloaded. For archives it will contain the name of the package that is "
7528"being fetched."
7529msgstr ""
7530
521dd27d 7531#. type: Content of: <book><chapter><section><para>
04f27fae 7532#: guide.dbk:1
43be0ac4
MV
7533msgid ""
7534"Inside of the single quote is an informative string indicating the progress "
7535"of the negotiation phase of the download. Typically it progresses from "
521dd27d
GJ
7536"<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to "
7537"<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final "
7538"value is the number of bytes downloaded from the remote site. Once the "
7539"download begins this is represented as <literal>102/10.2k</literal> "
7540"indicating that 102 bytes have been fetched and 10.2 kilobytes is "
7541"expected. The total size is always shown in 4 figure notation to preserve "
7542"space. After the size display is a percent meter for the file itself. The "
7543"second last element is the instantaneous average speed. This values is "
7544"updated every 5 seconds and reflects the rate of data transfer for that "
7545"period. Finally is shown the estimated transfer time. This is updated "
43be0ac4
MV
7546"regularly and reflects the time to complete everything at the shown transfer "
7547"rate."
7548msgstr ""
7549
521dd27d 7550#. type: Content of: <book><chapter><section><para>
04f27fae 7551#: guide.dbk:1
43be0ac4
MV
7552msgid ""
7553"The status display updates every half second to provide a constant feedback "
7554"on the download progress while the Get lines scroll back whenever a new file "
7555"is started. Since the status display is constantly updated it is unsuitable "
521dd27d
GJ
7556"for logging to a file, use the <literal>-q</literal> option to remove the "
7557"status display."
43be0ac4
MV
7558msgstr ""
7559
521dd27d 7560#. type: Content of: <book><chapter><section><title>
04f27fae 7561#: guide.dbk:1
43be0ac4
MV
7562msgid "Dpkg"
7563msgstr ""
7564
521dd27d 7565#. type: Content of: <book><chapter><section><para>
04f27fae 7566#: guide.dbk:1
43be0ac4 7567msgid ""
521dd27d
GJ
7568"APT uses <command>dpkg</command> for installing the archives and will switch "
7569"over to the <command>dpkg</command> interface once downloading is "
7570"completed. <command>dpkg</command> will also ask a number of questions as it "
43be0ac4
MV
7571"processes the packages and the packages themselves may also ask several "
7572"questions. Before each question there is usually a description of what it is "
7573"asking and the questions are too varied to discuss completely here."
7574msgstr ""
7575
521dd27d 7576#. type: Content of: <book><title>
04f27fae 7577#: offline.dbk:1
43be0ac4
MV
7578msgid "Using APT Offline"
7579msgstr ""
7580
521dd27d 7581#. type: Content of: <book><bookinfo><abstract><para>
04f27fae 7582#: offline.dbk:1
43be0ac4
MV
7583msgid ""
7584"This document describes how to use APT in a non-networked environment, "
7585"specifically a 'sneaker-net' approach for performing upgrades."
7586msgstr ""
7587
521dd27d 7588#. type: Content of: <book><bookinfo>
04f27fae 7589#: offline.dbk:1
521dd27d 7590msgid "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
43be0ac4
MV
7591msgstr ""
7592
521dd27d 7593#. type: Content of: <book><chapter><title>
04f27fae 7594#: offline.dbk:1
43be0ac4
MV
7595msgid "Introduction"
7596msgstr ""
7597
521dd27d 7598#. type: Content of: <book><chapter><section><title>
04f27fae 7599#: offline.dbk:1 offline.dbk:1 offline.dbk:1
43be0ac4
MV
7600msgid "Overview"
7601msgstr ""
7602
521dd27d 7603#. type: Content of: <book><chapter><section><para>
04f27fae 7604#: offline.dbk:1
43be0ac4
MV
7605msgid ""
7606"Normally APT requires direct access to a Debian archive, either from a local "
7607"media or through a network. Another common complaint is that a Debian "
7608"machine is on a slow link, such as a modem and another machine has a very "
7609"fast connection but they are physically distant."
7610msgstr ""
7611
521dd27d 7612#. type: Content of: <book><chapter><section><para>
04f27fae 7613#: offline.dbk:1
43be0ac4
MV
7614msgid ""
7615"The solution to this is to use large removable media such as a Zip disc or a "
7616"SuperDisk disc. These discs are not large enough to store the entire Debian "
7617"archive but can easily fit a subset large enough for most users. The idea is "
7618"to use APT to generate a list of packages that are required and then fetch "
7619"them onto the disc using another machine with good connectivity. It is even "
7620"possible to use another Debian machine with APT or to use a completely "
521dd27d
GJ
7621"different OS and a download tool like wget. Let <emphasis>remote "
7622"host</emphasis> mean the machine downloading the packages, and "
7623"<emphasis>target host</emphasis> the one with bad or no connection."
43be0ac4
MV
7624msgstr ""
7625
521dd27d 7626#. type: Content of: <book><chapter><section><para>
04f27fae 7627#: offline.dbk:1
43be0ac4
MV
7628msgid ""
7629"This is achieved by creatively manipulating the APT configuration file. The "
b39c1859 7630"essential premise to tell APT to look on a disc for it's archive files. Note "
bf33c3bd
JAK
7631"that the disc should be formatted with a filesystem that can handle long "
7632"file names such as ext2, fat32 or vfat."
43be0ac4
MV
7633msgstr ""
7634
521dd27d 7635#. type: Content of: <book><chapter><title>
04f27fae 7636#: offline.dbk:1
43be0ac4
MV
7637msgid "Using APT on both machines"
7638msgstr ""
7639
521dd27d 7640#. type: Content of: <book><chapter><section><para>
04f27fae 7641#: offline.dbk:1
43be0ac4
MV
7642msgid ""
7643"APT being available on both machines gives the simplest configuration. The "
7644"basic idea is to place a copy of the status file on the disc and use the "
7645"remote machine to fetch the latest package files and decide which packages "
7646"to download. The disk directory structure should look like:"
7647msgstr ""
7648
521dd27d 7649#. type: Content of: <book><chapter><section><screen>
04f27fae 7650#: offline.dbk:1
43be0ac4
MV
7651#, no-wrap
7652msgid ""
7653" /disc/\n"
7654" archives/\n"
7655" partial/\n"
7656" lists/\n"
7657" partial/\n"
7658" status\n"
7659" sources.list\n"
521dd27d 7660" apt.conf\n"
43be0ac4
MV
7661msgstr ""
7662
521dd27d 7663#. type: Content of: <book><chapter><section><title>
04f27fae 7664#: offline.dbk:1
43be0ac4
MV
7665msgid "The configuration file"
7666msgstr ""
7667
521dd27d 7668#. type: Content of: <book><chapter><section><para>
04f27fae 7669#: offline.dbk:1
43be0ac4
MV
7670msgid ""
7671"The configuration file should tell APT to store its files on the disc and to "
7672"use the configuration files on the disc as well. The sources.list should "
7673"contain the proper sites that you wish to use from the remote machine, and "
521dd27d
GJ
7674"the status file should be a copy of "
7675"<emphasis>/var/lib/dpkg/status</emphasis> from the <emphasis>target "
7676"host</emphasis>. Please note, if you are using a local archive you must use "
7677"copy URIs, the syntax is identical to file URIs."
43be0ac4
MV
7678msgstr ""
7679
521dd27d 7680#. type: Content of: <book><chapter><section><para>
04f27fae 7681#: offline.dbk:1
43be0ac4 7682msgid ""
521dd27d
GJ
7683"<emphasis>apt.conf</emphasis> must contain the necessary information to make "
7684"APT use the disc:"
43be0ac4
MV
7685msgstr ""
7686
521dd27d 7687#. type: Content of: <book><chapter><section><screen>
04f27fae 7688#: offline.dbk:1
43be0ac4
MV
7689#, no-wrap
7690msgid ""
7691" APT\n"
7692" {\n"
7693" /* This is not necessary if the two machines are the same arch, it "
7694"tells\n"
7695" the remote APT what architecture the target machine is */\n"
7696" Architecture \"i386\";\n"
521dd27d 7697"\n"
43be0ac4
MV
7698" Get::Download-Only \"true\";\n"
7699" };\n"
521dd27d 7700"\n"
43be0ac4
MV
7701" Dir\n"
7702" {\n"
7703" /* Use the disc for state information and redirect the status file from\n"
7704" the /var/lib/dpkg default */\n"
7705" State \"/disc/\";\n"
7706" State::status \"status\";\n"
7707"\n"
7708" // Binary caches will be stored locally\n"
7709" Cache::archives \"/disc/archives/\";\n"
7710" Cache \"/tmp/\";\n"
521dd27d 7711"\n"
43be0ac4
MV
7712" // Location of the source list.\n"
7713" Etc \"/disc/\";\n"
521dd27d 7714" };\n"
43be0ac4
MV
7715msgstr ""
7716
521dd27d 7717#. type: Content of: <book><chapter><section><para>
04f27fae 7718#: offline.dbk:1
43be0ac4
MV
7719msgid ""
7720"More details can be seen by examining the apt.conf man page and the sample "
521dd27d
GJ
7721"configuration file in "
7722"<emphasis>/usr/share/doc/apt/examples/apt.conf</emphasis>."
43be0ac4
MV
7723msgstr ""
7724
521dd27d 7725#. type: Content of: <book><chapter><section><para>
04f27fae 7726#: offline.dbk:1
43be0ac4
MV
7727msgid ""
7728"On the target machine the first thing to do is mount the disc and copy "
521dd27d
GJ
7729"<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to "
7730"create the directories outlined in the Overview, "
7731"<emphasis>archives/partial/</emphasis> and "
7732"<emphasis>lists/partial/</emphasis>. Then take the disc to the remote "
7733"machine and configure the sources.list. On the remote machine execute the "
7734"following:"
43be0ac4
MV
7735msgstr ""
7736
521dd27d 7737#. type: Content of: <book><chapter><section><screen>
04f27fae 7738#: offline.dbk:1
43be0ac4
MV
7739#, no-wrap
7740msgid ""
7741" # export APT_CONFIG=\"/disc/apt.conf\"\n"
7742" # apt-get update\n"
7743" [ APT fetches the package files ]\n"
7744" # apt-get dist-upgrade\n"
521dd27d 7745" [ APT fetches all the packages needed to upgrade the target machine ]\n"
43be0ac4
MV
7746msgstr ""
7747
521dd27d 7748#. type: Content of: <book><chapter><section><para>
04f27fae 7749#: offline.dbk:1
43be0ac4 7750msgid ""
b39c1859 7751"The dist-upgrade command can be replaced with any other standard APT "
43be0ac4 7752"commands, particularly dselect-upgrade. You can even use an APT front end "
521dd27d
GJ
7753"such as <emphasis>dselect</emphasis>. However this presents a problem in "
7754"communicating your selections back to the local computer."
43be0ac4
MV
7755msgstr ""
7756
521dd27d 7757#. type: Content of: <book><chapter><section><para>
04f27fae 7758#: offline.dbk:1
43be0ac4
MV
7759msgid ""
7760"Now the disc contains all of the index files and archives needed to upgrade "
7761"the target machine. Take the disc back and run:"
7762msgstr ""
7763
521dd27d 7764#. type: Content of: <book><chapter><section><screen>
04f27fae 7765#: offline.dbk:1
43be0ac4
MV
7766#, no-wrap
7767msgid ""
7768" # export APT_CONFIG=\"/disc/apt.conf\"\n"
7769" # apt-get check\n"
7770" [ APT generates a local copy of the cache files ]\n"
7771" # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
521dd27d 7772" [ Or any other APT command ]\n"
43be0ac4
MV
7773msgstr ""
7774
521dd27d 7775#. type: Content of: <book><chapter><section><para>
04f27fae 7776#: offline.dbk:1
43be0ac4
MV
7777msgid ""
7778"It is necessary for proper function to re-specify the status file to be the "
7779"local one. This is very important!"
7780msgstr ""
7781
521dd27d 7782#. type: Content of: <book><chapter><section><para>
04f27fae 7783#: offline.dbk:1
43be0ac4
MV
7784msgid ""
7785"If you are using dselect you can do the very risky operation of copying "
7786"disc/status to /var/lib/dpkg/status so that any selections you made on the "
7787"remote machine are updated. I highly recommend that people only make "
7788"selections on the local machine - but this may not always be possible. DO "
7789"NOT copy the status file if dpkg or APT have been run in the mean time!!"
7790msgstr ""
7791
521dd27d 7792#. type: Content of: <book><chapter><title>
04f27fae 7793#: offline.dbk:1
43be0ac4
MV
7794msgid "Using APT and wget"
7795msgstr ""
7796
521dd27d 7797#. type: Content of: <book><chapter><section><para>
04f27fae 7798#: offline.dbk:1
43be0ac4 7799msgid ""
521dd27d
GJ
7800"<emphasis>wget</emphasis> is a popular and portable download tool that can "
7801"run on nearly any machine. Unlike the method above this requires that the "
7802"Debian machine already has a list of available packages."
43be0ac4
MV
7803msgstr ""
7804
521dd27d 7805#. type: Content of: <book><chapter><section><para>
04f27fae 7806#: offline.dbk:1
43be0ac4
MV
7807msgid ""
7808"The basic idea is to create a disc that has only the archive files "
7809"downloaded from the remote site. This is done by using the --print-uris "
7810"option to apt-get and then preparing a wget script to actually fetch the "
7811"packages."
7812msgstr ""
7813
521dd27d 7814#. type: Content of: <book><chapter><section><title>
04f27fae 7815#: offline.dbk:1
43be0ac4
MV
7816msgid "Operation"
7817msgstr ""
7818
521dd27d 7819#. type: Content of: <book><chapter><section><para>
04f27fae 7820#: offline.dbk:1
43be0ac4
MV
7821msgid ""
7822"Unlike the previous technique no special configuration files are "
7823"required. We merely use the standard APT commands to generate the file list."
7824msgstr ""
7825
521dd27d 7826#. type: Content of: <book><chapter><section><screen>
04f27fae 7827#: offline.dbk:1
43be0ac4
MV
7828#, no-wrap
7829msgid ""
521dd27d 7830" # apt-get dist-upgrade\n"
43be0ac4 7831" [ Press no when prompted, make sure you are happy with the actions ]\n"
521dd27d
GJ
7832" # apt-get -qq --print-uris dist-upgrade &gt; uris\n"
7833" # awk '{print \"wget -O \" $2 \" \" $1}' &lt; uris &gt; /disc/wget-script\n"
43be0ac4
MV
7834msgstr ""
7835
521dd27d 7836#. type: Content of: <book><chapter><section><para>
04f27fae 7837#: offline.dbk:1
43be0ac4
MV
7838msgid ""
7839"Any command other than dist-upgrade could be used here, including "
7840"dselect-upgrade."
7841msgstr ""
7842
521dd27d 7843#. type: Content of: <book><chapter><section><para>
04f27fae 7844#: offline.dbk:1
43be0ac4
MV
7845msgid ""
7846"The /disc/wget-script file will now contain a list of wget commands to "
7847"execute in order to fetch the necessary archives. This script should be run "
7848"with the current directory as the disc's mount point so as to save the "
7849"output on the disc."
7850msgstr ""
7851
521dd27d 7852#. type: Content of: <book><chapter><section><para>
04f27fae 7853#: offline.dbk:1
43be0ac4
MV
7854msgid "The remote machine would do something like"
7855msgstr ""
7856
521dd27d 7857#. type: Content of: <book><chapter><section><screen>
04f27fae 7858#: offline.dbk:1
43be0ac4
MV
7859#, no-wrap
7860msgid ""
7861" # cd /disc\n"
7862" # sh -x ./wget-script\n"
521dd27d 7863" [ wait.. ]\n"
43be0ac4
MV
7864msgstr ""
7865
521dd27d 7866#. type: Content of: <book><chapter><section><para>
04f27fae 7867#: offline.dbk:1
43be0ac4
MV
7868msgid ""
7869"Once the archives are downloaded and the disc returned to the Debian machine "
7870"installation can proceed using,"
7871msgstr ""
7872
521dd27d 7873#. type: Content of: <book><chapter><section><screen>
04f27fae 7874#: offline.dbk:1
43be0ac4 7875#, no-wrap
521dd27d 7876msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
43be0ac4
MV
7877msgstr ""
7878
521dd27d 7879#. type: Content of: <book><chapter><section><para>
04f27fae 7880#: offline.dbk:1
43be0ac4
MV
7881msgid "Which will use the already fetched archives on the disc."
7882msgstr ""