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