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