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