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