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