* sources.list.5.xml:
[ntk/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 ""
6cbb88de 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"
14301cf3 11"POT-Creation-Date: 2012-06-07 00:01+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
7d76ea1d
DK
550#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
551#: apt-get.8.xml:61
552msgid ""
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
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
7d76ea1d
DK
581#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
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
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
7d76ea1d
DK
676#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
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
7d76ea1d
DK
688#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
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
2a52e8c5 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
2a52e8c5 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
7d76ea1d
DK
743#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
744#: apt-get.8.xml:209
745msgid ""
746"<literal>download</literal> will download the given binary package into the "
747"current directory."
2a52e8c5
DK
748msgstr ""
749
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
2a52e8c5 774#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 775#: apt-get.8.xml:235
2a52e8c5 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."
2a52e8c5
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
63fc5550 809#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 810#: apt-get.8.xml:268
63fc5550 811msgid ""
7d76ea1d
DK
812"Consider suggested packages as a dependency for installing. Configuration "
813"Item: <literal>APT::Install-Suggests</literal>."
63fc5550
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
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
2a52e8c5 902#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 903#: apt-get.8.xml:346
2a52e8c5 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>."
2a52e8c5
DK
910msgstr ""
911
b6c6b52f 912#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 913#: apt-get.8.xml:354
b6c6b52f 914msgid ""
7d76ea1d
DK
915"Automatic \"no\" to all prompts. Configuration Item: "
916"<literal>APT::Get::Assume-No</literal>."
b6c6b52f
MV
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>
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:1118 apt_preferences.5.xml:698
1109msgid "Files"
1110msgstr ""
1111
1112#. type: Content of: <refentry><refsect1><title>
75d9bdba 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:1124 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
1214msgid ""
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."
aa2218b2
MV
1226msgstr ""
1227
7d76ea1d
DK
1228#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1229#: apt-cache.8.xml:100
1230msgid ""
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
c6b21d22 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
1279msgid ""
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
7d76ea1d
DK
1284#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
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
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
2a52e8c5 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
7d76ea1d
DK
1405#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
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
1498msgid ""
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
2a52e8c5 1612msgid ""
7d76ea1d
DK
1613"Pass advanced options to gpg. With adv --recv-key you can download the "
1614"public key."
2a52e8c5
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
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>"
b39c1859
MV
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."
2a52e8c5
DK
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
1720msgid ""
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
1770msgid ""
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
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
7d76ea1d
DK
1822#. type: Content of: <refentry><refsect1><title>
1823#: apt-secure.8.xml:74
1824msgid "Trusted archives"
2a52e8c5
DK
1825msgstr ""
1826
7d76ea1d
DK
1827#. type: Content of: <refentry><refsect1><para>
1828#: apt-secure.8.xml:77
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 "
1865"then signed by the archive key for this Debian release and distributed "
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."
2025msgstr ""
2026
2027#. type: Content of: <refentry><refsect1><para>
2028#: apt-cdrom.8.xml:45
2029msgid ""
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
6cbb88de 2060#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2061#: apt-cdrom.8.xml:85
6cbb88de 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>."
6cbb88de
JR
2066msgstr ""
2067
2a52e8c5 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
2a52e8c5 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."
2a52e8c5
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
bcf91c1b 2148msgid ""
7d76ea1d
DK
2149"OPTS=\"-f\"\n"
2150"RES=`apt-config shell OPTS MyApp::options`\n"
2151"eval $RES\n"
bcf91c1b
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
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
2a52e8c5 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."
2a52e8c5
DK
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"
30549c0c
MV
2184msgstr ""
2185
2186#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2187#: apt-config.8.xml:96
30549c0c 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."
2a52e8c5
DK
2207msgstr ""
2208
7d76ea1d
DK
2209#. type: Content of: <refentry><refentryinfo><author><contrib>
2210#: apt.conf.5.xml:20
2211msgid "Initial documentation of Debug::*."
30549c0c
MV
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 ""
7d76ea1d
DK
2232"<filename>apt.conf</filename> is the main configuration file for the APT "
2233"suite of tools, but by far not the only place changes to options can be "
2234"made. All tools therefore share the configuration files and also use a "
2235"common command line parser to provide a uniform environment."
2a52e8c5
DK
2236msgstr ""
2237
7d76ea1d
DK
2238#. type: Content of: <refentry><refsect1><orderedlist><para>
2239#: apt.conf.5.xml:47
30549c0c 2240msgid ""
7d76ea1d
DK
2241"When an APT tool starts up it will read the configuration files in the "
2242"following order:"
30549c0c
MV
2243msgstr ""
2244
7d76ea1d
DK
2245#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2246#: apt.conf.5.xml:49
2a52e8c5 2247msgid ""
7d76ea1d
DK
2248"the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
2249"any)"
2a52e8c5
DK
2250msgstr ""
2251
7d76ea1d
DK
2252#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2253#: apt.conf.5.xml:51
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 "
7d76ea1d
DK
2260"<literal>Dir::Ignore-Files-Silently</literal> configuration list - in this "
2261"case it will be silently ignored."
2a52e8c5
DK
2262msgstr ""
2263
7d76ea1d
DK
2264#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2265#: apt.conf.5.xml:58
2266msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>"
2a52e8c5
DK
2267msgstr ""
2268
7d76ea1d
DK
2269#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2270#: apt.conf.5.xml:60
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
DK
2276#. type: Content of: <refentry><refsect1><title>
2277#: apt.conf.5.xml:64
2278msgid "Syntax"
2a52e8c5
DK
2279msgstr ""
2280
7d76ea1d
DK
2281#. type: Content of: <refentry><refsect1><para>
2282#: apt.conf.5.xml:65
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 "
2286"notation, for instance <literal>APT::Get::Assume-Yes</literal> is an option "
2287"within the APT tool group, for the Get tool. Options do not inherit from "
2288"their parent groups."
2a52e8c5
DK
2289msgstr ""
2290
7d76ea1d
DK
2291#. type: Content of: <refentry><refsect1><para>
2292#: apt.conf.5.xml:71
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. "
2298"Each line is of the form <literal>APT::Get::Assume-Yes "
2299"\"true\";</literal>. The trailing semicolon and the quotes are required. The "
2300"value must be on one line, and there is no kind of string concatenation. It "
2301"must not include inside quotes. The behavior of the backslash \"\\\" and "
2302"escaped characters inside a value is undefined and it should not be used. An "
2303"option name may include alphanumerical characters and the \"/-:._+\" "
2304"characters. A new scope can be opened with curly braces, like:"
2a52e8c5
DK
2305msgstr ""
2306
7d76ea1d
DK
2307#. type: Content of: <refentry><refsect1><informalexample><programlisting>
2308#: apt.conf.5.xml:85
2309#, no-wrap
2a52e8c5 2310msgid ""
7d76ea1d
DK
2311"APT {\n"
2312" Get {\n"
2313" Assume-Yes \"true\";\n"
2314" Fix-Broken \"true\";\n"
2315" };\n"
2316"};\n"
2a52e8c5
DK
2317msgstr ""
2318
7d76ea1d
DK
2319#. type: Content of: <refentry><refsect1><para>
2320#: apt.conf.5.xml:93
2a52e8c5 2321msgid ""
7d76ea1d
DK
2322"with newlines placed to make it more readable. Lists can be created by "
2323"opening a scope and including a single string enclosed in quotes followed by "
2324"a semicolon. Multiple entries can be included, each separated by a "
2325"semicolon."
2a52e8c5
DK
2326msgstr ""
2327
7d76ea1d
DK
2328#. type: Content of: <refentry><refsect1><informalexample><programlisting>
2329#: apt.conf.5.xml:98
2330#, no-wrap
2331msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
c77d6597
MV
2332msgstr ""
2333
7d76ea1d
DK
2334#. type: Content of: <refentry><refsect1><para>
2335#: apt.conf.5.xml:101
2a52e8c5 2336msgid ""
7d76ea1d
DK
2337"In general the sample configuration file in "
2338"<filename>&docdir;examples/apt.conf</filename> &configureindex; is a good "
2339"guide for how it should look."
2a52e8c5
DK
2340msgstr ""
2341
7d76ea1d
DK
2342#. type: Content of: <refentry><refsect1><para>
2343#: apt.conf.5.xml:105
2a52e8c5 2344msgid ""
7d76ea1d
DK
2345"The names of the configuration items are not case-sensitive. So in the "
2346"previous example you could use <literal>dpkg::pre-install-pkgs</literal>."
2a52e8c5
DK
2347msgstr ""
2348
7d76ea1d
DK
2349#. type: Content of: <refentry><refsect1><para>
2350#: apt.conf.5.xml:108
c77d6597 2351msgid ""
7d76ea1d
DK
2352"Names for the configuration items are optional if a list is defined as it "
2353"can be see in the <literal>DPkg::Pre-Install-Pkgs</literal> example "
2354"above. If you don't specify a name a new entry will simply add a new option "
2355"to the list. If you specify a name you can override the option as every "
2356"other option by reassigning a new value to the option."
c77d6597
MV
2357msgstr ""
2358
7d76ea1d
DK
2359#. type: Content of: <refentry><refsect1><para>
2360#: apt.conf.5.xml:113
2a52e8c5 2361msgid ""
7d76ea1d
DK
2362"Two specials are allowed, <literal>#include</literal> (which is deprecated "
2363"and not supported by alternative implementations) and "
2364"<literal>#clear</literal>: <literal>#include</literal> will include the "
2365"given file, unless the filename ends in a slash, then the whole directory is "
2366"included. <literal>#clear</literal> is used to erase a part of the "
2367"configuration tree. The specified element and all its descendants are "
2368"erased. (Note that these lines also need to end with a semicolon.)"
2a52e8c5
DK
2369msgstr ""
2370
7d76ea1d
DK
2371#. type: Content of: <refentry><refsect1><para>
2372#: apt.conf.5.xml:121
2a52e8c5 2373msgid ""
7d76ea1d
DK
2374"The #clear command is the only way to delete a list or a complete scope. "
2375"Reopening a scope or the ::-style described below will "
2376"<emphasis>not</emphasis> override previously written entries. Only options "
2377"can be overridden by addressing a new value to it - lists and scopes can't "
2378"be overridden, only cleared."
2a52e8c5
DK
2379msgstr ""
2380
7d76ea1d
DK
2381#. type: Content of: <refentry><refsect1><para>
2382#: apt.conf.5.xml:126
2a52e8c5 2383msgid ""
7d76ea1d
DK
2384"All of the APT tools take a -o option which allows an arbitrary "
2385"configuration directive to be specified on the command line. The syntax is a "
2386"full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
2387"followed by an equals sign then the new value of the option. To append a new "
2388"element to a list, add a trailing :: to the name of the list. (As you might "
2389"suspect: The scope syntax can't be used on the command line.)"
2a52e8c5
DK
2390msgstr ""
2391
7d76ea1d
DK
2392#. type: Content of: <refentry><refsect1><para>
2393#: apt.conf.5.xml:133
2a52e8c5 2394msgid ""
7d76ea1d
DK
2395"Note that you can use :: only for appending one item per line to a list and "
2396"that you should not use it in combination with the scope syntax. (The scope "
2397"syntax implicit insert ::) Using both syntaxes together will trigger a bug "
2398"which some users unfortunately depend on: An option with the unusual name "
2399"\"<literal>::</literal>\" which acts like every other option with a "
2400"name. These introduces many problems including that a user who writes "
2401"multiple lines in this <emphasis>wrong</emphasis> syntax in the hope to "
2402"append to a list will gain the opposite as only the last assignment for this "
2403"option \"<literal>::</literal>\" will be used. Upcoming APT versions will "
2404"raise errors and will stop working if they encounter this misuse, so please "
2405"correct such statements now as long as APT doesn't complain explicit about "
2406"them."
a7307a87
DK
2407msgstr ""
2408
7d76ea1d
DK
2409#. type: Content of: <refentry><refsect1><title>
2410#: apt.conf.5.xml:145
2411msgid "The APT Group"
2a52e8c5
DK
2412msgstr ""
2413
7d76ea1d
DK
2414#. type: Content of: <refentry><refsect1><para>
2415#: apt.conf.5.xml:146
2a52e8c5 2416msgid ""
7d76ea1d
DK
2417"This group of options controls general APT behavior as well as holding the "
2418"options for all of the tools."
2a52e8c5
DK
2419msgstr ""
2420
2a52e8c5 2421#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2422#: apt.conf.5.xml:151
2a52e8c5 2423msgid ""
7d76ea1d
DK
2424"System Architecture; sets the architecture to use when fetching files and "
2425"parsing package lists. The internal default is the architecture apt was "
2426"compiled for."
2a52e8c5
DK
2427msgstr ""
2428
2a52e8c5 2429#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2430#: apt.conf.5.xml:157
2a52e8c5 2431msgid ""
7d76ea1d
DK
2432"All Architectures the system supports. Processors implementing the "
2433"<literal>amd64</literal> (also called <literal>x86-64</literal>) instruction "
2434"set are e.g. also able to execute binaries compiled for the "
2435"<literal>i386</literal> (<literal>x86</literal>) instruction set; This list "
2436"is use when fetching files and parsing package lists. The internal default "
2437"is always the native architecture (<literal>APT::Architecture</literal>) "
2438"and all foreign architectures it can retrieve by calling <command>dpkg "
2439"--print-foreign-architectures</command>."
2a52e8c5
DK
2440msgstr ""
2441
2a52e8c5 2442#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2443#: apt.conf.5.xml:167
2a52e8c5 2444msgid ""
7d76ea1d
DK
2445"Default release to install packages from if more than one version "
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>
7d76ea1d 2452#: apt.conf.5.xml:173
2a52e8c5 2453msgid ""
7d76ea1d
DK
2454"Ignore Held packages; This global option causes the problem resolver to "
2455"ignore held packages in its decision making."
2a52e8c5
DK
2456msgstr ""
2457
2a52e8c5 2458#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2459#: apt.conf.5.xml:178
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>
7d76ea1d 2468#: apt.conf.5.xml:185
2a52e8c5 2469msgid ""
7d76ea1d
DK
2470"Defaults to on which will cause APT to install essential and important "
2471"packages as fast as possible in the install/upgrade operation. This is done "
2472"to limit the effect of a failing &dpkg; call: If this option is disabled APT "
2473"does treat an important package in the same way as an extra package: Between "
2474"the unpacking of the important package A and his configuration can then be "
2475"many other unpack or configuration calls, e.g. for package B which has no "
2476"relation to A, but causes the dpkg call to fail (e.g. because maintainer "
2477"script of package B generates an error) which results in a system state in "
2478"which package A is unpacked but unconfigured - each package depending on A "
2479"is now no longer guaranteed to work as their dependency on A is not longer "
2480"satisfied. The immediate configuration marker is also applied to all "
2481"dependencies which can generate a problem if the dependencies e.g. form a "
2482"circle as a dependency with the immediate flag is comparable with a "
2483"Pre-Dependency. So in theory it is possible that APT encounters a situation "
2484"in which it is unable to perform immediate configuration, errors out and "
2485"refers to this option so the user can deactivate the immediate configuration "
2486"temporarily to be able to perform an install/upgrade again. Note the use of "
2487"the word \"theory\" here as this problem was only encountered by now in real "
2488"world a few times in non-stable distribution versions and was caused by "
2489"wrong dependencies of the package in question or by a system in an already "
2490"broken state, so you should not blindly disable this option as the mentioned "
2491"scenario above is not the only problem immediate configuration can help to "
2492"prevent in the first place. Before a big operation like "
2493"<literal>dist-upgrade</literal> is run with this option disabled it should "
2494"be tried to explicitly <literal>install</literal> the package APT is unable "
2495"to configure immediately, but please make sure to report your problem also "
2496"to your distribution and to the APT team with the buglink below so they can "
2497"work on improving or correcting the upgrade process."
2a52e8c5
DK
2498msgstr ""
2499
2a52e8c5 2500#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2501#: apt.conf.5.xml:208
2a52e8c5 2502msgid ""
7d76ea1d
DK
2503"Never Enable this option unless you -really- know what you are doing. It "
2504"permits APT to temporarily remove an essential package to break a "
2505"Conflicts/Conflicts or Conflicts/Pre-Depend loop between two essential "
2506"packages. SUCH A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option "
2507"will work if the essential packages are not tar, gzip, libc, dpkg, bash or "
2508"anything that those packages depend on."
2a52e8c5
DK
2509msgstr ""
2510
2a52e8c5 2511#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2512#: apt.conf.5.xml:217
2a52e8c5 2513msgid ""
7d76ea1d
DK
2514"APT uses since version 0.7.26 a resizable memory mapped cache file to store "
2515"the 'available' information. <literal>Cache-Start</literal> acts as a hint "
2516"to which size the Cache will grow and is therefore the amount of memory APT "
2517"will request at startup. The default value is 20971520 bytes (~20 MB). Note "
2518"that this amount of space needs to be available for APT otherwise it will "
2519"likely fail ungracefully, so for memory restricted devices this value should "
2520"be lowered while on systems with a lot of configured sources it should be "
2521"increased. <literal>Cache-Grow</literal> defines in bytes with the default "
2522"of 1048576 (~1 MB) how much the Cache size will be increased in the event "
2523"the space defined by <literal>Cache-Start</literal> is not enough. These "
2524"value will be applied again and again until either the cache is big enough "
2525"to store all information or the size of the cache reaches the "
2526"<literal>Cache-Limit</literal>. The default of "
2527"<literal>Cache-Limit</literal> is 0 which stands for no limit. If "
2528"<literal>Cache-Grow</literal> is set to 0 the automatic grow of the cache is "
2529"disabled."
2a52e8c5
DK
2530msgstr ""
2531
2a52e8c5 2532#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d
DK
2533#: apt.conf.5.xml:233
2534msgid "Defines which package(s) are considered essential build dependencies."
2a52e8c5
DK
2535msgstr ""
2536
2a52e8c5 2537#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2538#: apt.conf.5.xml:237
2a52e8c5 2539msgid ""
7d76ea1d
DK
2540"The Get subsection controls the &apt-get; tool, please see its documentation "
2541"for more information about the options here."
2a52e8c5
DK
2542msgstr ""
2543
2a52e8c5 2544#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 2545#: apt.conf.5.xml:242
2a52e8c5 2546msgid ""
7d76ea1d
DK
2547"The Cache subsection controls the &apt-cache; tool, please see its "
2548"documentation for more information about the options here."
2a52e8c5
DK
2549msgstr ""
2550
7d76ea1d
DK
2551#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2552#: apt.conf.5.xml:247
2a52e8c5 2553msgid ""
7d76ea1d
DK
2554"The CDROM subsection controls the &apt-cdrom; tool, please see its "
2555"documentation for more information about the options here."
2a52e8c5
DK
2556msgstr ""
2557
7d76ea1d
DK
2558#. type: Content of: <refentry><refsect1><title>
2559#: apt.conf.5.xml:253
2560msgid "The Acquire Group"
2a52e8c5
DK
2561msgstr ""
2562
2a52e8c5 2563#. type: Content of: <refentry><refsect1><para>
7d76ea1d 2564#: apt.conf.5.xml:254
2a52e8c5 2565msgid ""
7d76ea1d
DK
2566"The <literal>Acquire</literal> group of options controls the download of "
2567"packages and the URI handlers."
2a52e8c5
DK
2568msgstr ""
2569
7d76ea1d
DK
2570#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2571#: apt.conf.5.xml:259
2572msgid ""
2573"Security related option defaulting to true as an expiring validation for a "
2574"Release file prevents longtime replay attacks and can e.g. also help users "
2575"to identify no longer updated mirrors - but the feature depends on the "
2576"correctness of the time on the user system. Archive maintainers are "
2577"encouraged to create Release files with the <literal>Valid-Until</literal> "
2578"header, but if they don't or a stricter value is volitional the following "
2579"<literal>Max-ValidTime</literal> option can be used."
2a52e8c5
DK
2580msgstr ""
2581
7d76ea1d
DK
2582#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2583#: apt.conf.5.xml:270
2a52e8c5 2584msgid ""
7d76ea1d
DK
2585"Seconds the Release file should be considered valid after it was created "
2586"(indicated by the <literal>Date</literal> header). If the Release file "
2587"itself includes a <literal>Valid-Until</literal> header the earlier date of "
2588"the two is used as the expiration date. The default value is "
2589"<literal>0</literal> which stands for \"for ever valid\". Archive specific "
2590"settings can be made by appending the label of the archive to the option "
2591"name."
2a52e8c5
DK
2592msgstr ""
2593
7d76ea1d
DK
2594#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2595#: apt.conf.5.xml:281
2596msgid ""
2597"Minimum of seconds the Release file should be considered valid after it was "
2598"created (indicated by the <literal>Date</literal> header). Use this if you "
2599"need to use a seldomly updated (local) mirror of a more regular updated "
2600"archive with a <literal>Valid-Until</literal> header instead of completely "
2601"disabling the expiration date checking. Archive specific settings can and "
2602"should be used by appending the label of the archive to the option name."
2a52e8c5
DK
2603msgstr ""
2604
7d76ea1d
DK
2605#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2606#: apt.conf.5.xml:292
2607msgid ""
2608"Try to download deltas called <literal>PDiffs</literal> for Packages or "
2609"Sources files instead of downloading whole ones. True by default."
2a52e8c5
DK
2610msgstr ""
2611
7d76ea1d
DK
2612#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2613#: apt.conf.5.xml:295
2614msgid ""
2615"Two sub-options to limit the use of PDiffs are also available: With "
2616"<literal>FileLimit</literal> can be specified how many PDiff files are "
2617"downloaded at most to update a file. <literal>SizeLimit</literal> on the "
2618"other hand is the maximum percentage of the size of all patches compared to "
2619"the size of the targeted file. If one of these limits is exceeded the "
2620"complete file is downloaded instead of the patches."
2a52e8c5
DK
2621msgstr ""
2622
7d76ea1d
DK
2623#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2624#: apt.conf.5.xml:305
2625msgid ""
2626"Queuing mode; <literal>Queue-Mode</literal> can be one of "
2627"<literal>host</literal> or <literal>access</literal> which determines how "
2628"APT parallelizes outgoing connections. <literal>host</literal> means that "
2629"one connection per target host will be opened, <literal>access</literal> "
2630"means that one connection per URI type will be opened."
2a52e8c5
DK
2631msgstr ""
2632
7d76ea1d
DK
2633#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2634#: apt.conf.5.xml:313
2635msgid ""
2636"Number of retries to perform. If this is non-zero APT will retry failed "
2637"files the given number of times."
2a52e8c5
DK
2638msgstr ""
2639
7d76ea1d
DK
2640#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2641#: apt.conf.5.xml:318
2a52e8c5 2642msgid ""
7d76ea1d
DK
2643"Use symlinks for source archives. If set to true then source archives will "
2644"be symlinked when possible instead of copying. True is the default."
2a52e8c5
DK
2645msgstr ""
2646
7d76ea1d
DK
2647#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2648#: apt.conf.5.xml:323
2a52e8c5 2649msgid ""
7d76ea1d
DK
2650"HTTP URIs; http::Proxy is the default http proxy to use. It is in the "
2651"standard form of <literal>http://[[user][:pass]@]host[:port]/</literal>. Per "
2652"host proxies can also be specified by using the form "
2653"<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
2654"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
2655"settings is specified, <envar>http_proxy</envar> environment variable will "
2656"be used."
2a52e8c5
DK
2657msgstr ""
2658
7d76ea1d
DK
2659#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2660#: apt.conf.5.xml:331
782486e8 2661msgid ""
7d76ea1d
DK
2662"Three settings are provided for cache control with HTTP/1.1 compliant proxy "
2663"caches. <literal>No-Cache</literal> tells the proxy to not use its cached "
2664"response under any circumstances, <literal>Max-Age</literal> is sent only "
2665"for index files and tells the cache to refresh its object if it is older "
2666"than the given number of seconds. Debian updates its index files daily so "
2667"the default is 1 day. <literal>No-Store</literal> specifies that the cache "
2668"should never store this request, it is only set for archive files. This may "
2669"be useful to prevent polluting a proxy cache with very large .deb "
2670"files. Note: Squid 2.0.2 does not support any of these options."
782486e8
MV
2671msgstr ""
2672
7d76ea1d
DK
2673#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2674#: apt.conf.5.xml:341 apt.conf.5.xml:407
b39c1859 2675msgid ""
7d76ea1d
DK
2676"The option <literal>timeout</literal> sets the timeout timer used by the "
2677"method, this applies to all things including connection timeout and data "
2678"timeout."
b39c1859
MV
2679msgstr ""
2680
7d76ea1d
DK
2681#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2682#: apt.conf.5.xml:344
b39c1859 2683msgid ""
7d76ea1d
DK
2684"The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
2685"enabled HTTP pipeling (RFC 2616 section 8.1.2.2) which can be beneficial "
2686"e.g. on high-latency connections. It specifies how many requests are send in "
2687"a pipeline. Previous APT versions had a default of 10 for this setting, but "
2688"the default value is now 0 (= disabled) to avoid problems with the "
2689"ever-growing amount of webservers and proxies which choose to not conform to "
2690"the HTTP/1.1 specification."
b39c1859
MV
2691msgstr ""
2692
7d76ea1d
DK
2693#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2694#: apt.conf.5.xml:351
2695msgid ""
2696"<literal>Acquire::http::AllowRedirect</literal> controls if APT will follow "
2697"redirects, which is enabled by default."
2a52e8c5
DK
2698msgstr ""
2699
7d76ea1d
DK
2700#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2701#: apt.conf.5.xml:354
2702msgid ""
2703"The used bandwidth can be limited with "
2704"<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in "
2705"kilobyte. The default value is 0 which deactivates the limit and tries uses "
2706"as much as possible of the bandwidth (Note that this option implicit "
2707"deactivates the download from multiple servers at the same time.)"
2a52e8c5
DK
2708msgstr ""
2709
7d76ea1d
DK
2710#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2711#: apt.conf.5.xml:359
2712msgid ""
2713"<literal>Acquire::http::User-Agent</literal> can be used to set a different "
2714"User-Agent for the http download method as some proxies allow access for "
2715"clients only if the client uses a known identifier."
2a52e8c5
DK
2716msgstr ""
2717
7d76ea1d
DK
2718#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2719#: apt.conf.5.xml:366
2720msgid ""
2721"HTTPS URIs. Cache-control, Timeout, AllowRedirect, Dl-Limit and proxy "
2722"options are the same as for <literal>http</literal> method and will also "
2723"default to the options from the <literal>http</literal> method if they are "
2724"not explicitly set for https. <literal>Pipeline-Depth</literal> option is "
2725"not supported yet."
2a52e8c5
DK
2726msgstr ""
2727
7d76ea1d
DK
2728#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2729#: apt.conf.5.xml:372
2730msgid ""
2731"<literal>CaInfo</literal> suboption specifies place of file that holds info "
2732"about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is "
2733"corresponding per-host option. <literal>Verify-Peer</literal> boolean "
2734"suboption determines whether verify server's host certificate against "
2735"trusted certificates or not. <literal>&lt;host&gt;::Verify-Peer</literal> "
2736"is corresponding per-host option. <literal>Verify-Host</literal> boolean "
2737"suboption determines whether verify server's hostname or not. "
2738"<literal>&lt;host&gt;::Verify-Host</literal> is corresponding per-host "
2739"option. <literal>SslCert</literal> determines what certificate to use for "
2740"client authentication. <literal>&lt;host&gt;::SslCert</literal> is "
2741"corresponding per-host option. <literal>SslKey</literal> determines what "
2742"private key to use for client "
2743"authentication. <literal>&lt;host&gt;::SslKey</literal> is corresponding "
2744"per-host option. <literal>SslForceVersion</literal> overrides default SSL "
2745"version to use. Can contain 'TLSv1' or 'SSLv3' string. "
2746"<literal>&lt;host&gt;::SslForceVersion</literal> is corresponding per-host "
2747"option."
2a52e8c5
DK
2748msgstr ""
2749
7d76ea1d
DK
2750#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2751#: apt.conf.5.xml:391
2752msgid ""
2753"FTP URIs; ftp::Proxy is the default ftp proxy to use. It is in the standard "
2754"form of <literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host "
2755"proxies can also be specified by using the form "
2756"<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
2757"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
2758"settings is specified, <envar>ftp_proxy</envar> environment variable will be "
2759"used. To use a ftp proxy you will have to set the "
2760"<literal>ftp::ProxyLogin</literal> script in the configuration file. This "
2761"entry specifies the commands to send to tell the proxy server what to "
2762"connect to. Please see &configureindex; for an example of how to do "
2763"this. The substitution variables available are "
2764"<literal>$(PROXY_USER)</literal> <literal>$(PROXY_PASS)</literal> "
2765"<literal>$(SITE_USER)</literal> <literal>$(SITE_PASS)</literal> "
2766"<literal>$(SITE)</literal> and <literal>$(SITE_PORT)</literal> Each is taken "
2767"from it's respective URI component."
2a52e8c5
DK
2768msgstr ""
2769
7d76ea1d
DK
2770#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2771#: apt.conf.5.xml:410
2772msgid ""
2773"Several settings are provided to control passive mode. Generally it is safe "
2774"to leave passive mode on, it works in nearly every environment. However "
2775"some situations require that passive mode be disabled and port mode ftp used "
2776"instead. This can be done globally, for connections that go through a proxy "
2777"or for a specific host (See the sample config file for examples)."
2a52e8c5
DK
2778msgstr ""
2779
7d76ea1d
DK
2780#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2781#: apt.conf.5.xml:417
2782msgid ""
2783"It is possible to proxy FTP over HTTP by setting the "
2784"<envar>ftp_proxy</envar> environment variable to a http url - see the "
2785"discussion of the http method above for syntax. You cannot set this in the "
2786"configuration file and it is not recommended to use FTP over HTTP due to its "
2787"low efficiency."
2a52e8c5
DK
2788msgstr ""
2789
7d76ea1d
DK
2790#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2791#: apt.conf.5.xml:422
2a52e8c5 2792msgid ""
7d76ea1d
DK
2793"The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
2794"<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
2795"false, which means these commands are only used if the control connection is "
2796"IPv6. Setting this to true forces their use even on IPv4 connections. Note "
2797"that most FTP servers do not support RFC2428."
2a52e8c5
DK
2798msgstr ""
2799
7d76ea1d
DK
2800#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
2801#: apt.conf.5.xml:435
2802#, no-wrap
2803msgid "/cdrom/::Mount \"foo\";"
2804msgstr ""
2805
2806#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2807#: apt.conf.5.xml:430
2a52e8c5 2808msgid ""
7d76ea1d
DK
2809"CD-ROM URIs; the only setting for CD-ROM URIs is the mount point, "
2810"<literal>cdrom::Mount</literal> which must be the mount point for the CD-ROM "
2811"drive as specified in <filename>/etc/fstab</filename>. It is possible to "
2812"provide alternate mount and unmount commands if your mount point cannot be "
2813"listed in the fstab (such as an SMB mount and old mount packages). The "
2814"syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
2815"cdrom block. It is important to have the trailing slash. Unmount commands "
2816"can be specified using UMount."
2a52e8c5
DK
2817msgstr ""
2818
7d76ea1d
DK
2819#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2820#: apt.conf.5.xml:441
2a52e8c5 2821msgid ""
7d76ea1d
DK
2822"GPGV URIs; the only option for GPGV URIs is the option to pass additional "
2823"parameters to gpgv. <literal>gpgv::Options</literal> Additional options "
2824"passed to gpgv."
2825msgstr ""
2826
2827#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
2828#: apt.conf.5.xml:452
2829#, no-wrap
2830msgid ""
2831"Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> "
2832"\"<replaceable>Methodname</replaceable>\";"
2833msgstr ""
2834
2835#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2836#: apt.conf.5.xml:447
2837msgid ""
2838"List of compression types which are understood by the acquire methods. "
2839"Files like <filename>Packages</filename> can be available in various "
2840"compression formats. Per default the acquire methods can decompress "
2841"<command>bzip2</command>, <command>lzma</command> and "
2842"<command>gzip</command> compressed files, with this setting more formats can "
2843"be added on the fly or the used method can be changed. The syntax for this "
2844"is: <placeholder type=\"synopsis\" id=\"0\"/>"
2845msgstr ""
2846
2847#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
2848#: apt.conf.5.xml:457
2849#, no-wrap
2850msgid "Acquire::CompressionTypes::Order:: \"gz\";"
2851msgstr ""
2852
2853#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
2854#: apt.conf.5.xml:460
2855#, no-wrap
2856msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
2857msgstr ""
2858
2859#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2860#: apt.conf.5.xml:453
2861msgid ""
2862"Also the <literal>Order</literal> subgroup can be used to define in which "
2863"order the acquire system will try to download the compressed files. The "
2864"acquire system will try the first and proceed with the next compression type "
2865"in this list on error, so to prefer one over the other type simple add the "
2866"preferred type at first - not already added default types will be added at "
2867"run time to the end of the list, so e.g. <placeholder type=\"synopsis\" "
2868"id=\"0\"/> can be used to prefer <command>gzip</command> compressed files "
2869"over <command>bzip2</command> and <command>lzma</command>. If "
2870"<command>lzma</command> should be preferred over <command>gzip</command> and "
2871"<command>bzip2</command> the configure setting should look like this "
2872"<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
2873"<literal>bz2</literal> explicit to the list as it will be added automatic."
2874msgstr ""
2875
2876#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
2877#: apt.conf.5.xml:464
2878#, no-wrap
2879msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
2880msgstr ""
2881
2882#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2883#: apt.conf.5.xml:462
2884msgid ""
2885"Note that at run time the "
2886"<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be "
2887"checked: If this setting exists the method will only be used if this file "
2888"exists, e.g. for the bzip2 method (the inbuilt) setting is: <placeholder "
2889"type=\"literallayout\" id=\"0\"/> Note also that list entries specified on "
2890"the command line will be added at the end of the list specified in the "
2891"configuration files, but before the default entries. To prefer a type in "
2892"this case over the ones specified in the configuration files you can set the "
2893"option direct - not in list style. This will not override the defined list, "
2894"it will only prefix the list with this type."
2a52e8c5
DK
2895msgstr ""
2896
7d76ea1d
DK
2897#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2898#: apt.conf.5.xml:469
2a52e8c5 2899msgid ""
7d76ea1d
DK
2900"The special type <literal>uncompressed</literal> can be used to give "
2901"uncompressed files a preference, but note that most archives don't provide "
2902"uncompressed files so this is mostly only useable for local mirrors."
2a52e8c5
DK
2903msgstr ""
2904
7d76ea1d
DK
2905#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2906#: apt.conf.5.xml:476
bcf91c1b 2907msgid ""
7d76ea1d
DK
2908"When downloading <literal>gzip</literal> compressed indexes (Packages, "
2909"Sources, or Translations), keep them gzip compressed locally instead of "
2910"unpacking them. This saves quite a lot of disk space at the expense of more "
2911"CPU requirements when building the local package caches. False by default."
bcf91c1b
DK
2912msgstr ""
2913
7d76ea1d
DK
2914#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2915#: apt.conf.5.xml:484
782486e8 2916msgid ""
7d76ea1d
DK
2917"The Languages subsection controls which <filename>Translation</filename> "
2918"files are downloaded and in which order APT tries to display the "
2919"Description-Translations. APT will try to display the first available "
2920"Description in the Language which is listed at first. Languages can be "
2921"defined with their short or long Languagecodes. Note that not all archives "
2922"provide <filename>Translation</filename> files for every Language - "
2923"especially the long Languagecodes are rare, so please inform you which ones "
2924"are available before you set here impossible values."
2a52e8c5
DK
2925msgstr ""
2926
7d76ea1d
DK
2927#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><programlisting>
2928#: apt.conf.5.xml:500
2929#, no-wrap
2930msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
2a52e8c5
DK
2931msgstr ""
2932
7d76ea1d
DK
2933#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2934#: apt.conf.5.xml:490
782486e8 2935msgid ""
7d76ea1d
DK
2936"The default list includes \"environment\" and "
2937"\"en\". \"<literal>environment</literal>\" has a special meaning here: It "
2938"will be replaced at runtime with the languagecodes extracted from the "
2939"<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
2940"that these codes are not included twice in the list. If "
2941"<literal>LC_MESSAGES</literal> is set to \"C\" only the "
2942"<filename>Translation-en</filename> file (if available) will be used. To "
2943"force apt to use no Translation file use the setting "
2944"<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is "
2945"another special meaning code which will stop the search for a fitting "
2946"<filename>Translation</filename> file. This can be used by the system "
2947"administrator to let APT know that it should download also this files "
2948"without actually use them if the environment doesn't specify this "
2949"languages. So the following example configuration will result in the order "
2950"\"en, de\" in an english and in \"de, en\" in a german localization. Note "
2951"that \"fr\" is downloaded, but not used if APT is not used in a french "
2952"localization, in such an environment the order would be \"fr, de, en\". "
2953"<placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
2954msgstr ""
2955
7d76ea1d
DK
2956#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
2957#: apt.conf.5.xml:501
782486e8 2958msgid ""
7d76ea1d
DK
2959"Note: To prevent problems resulting from APT being executed in different "
2960"environments (e.g. by different users or by other programs) all Translation "
2961"files which are found in <filename>/var/lib/apt/lists/</filename> will be "
2962"added to the end of the list (after an implicit "
2963"\"<literal>none</literal>\")."
2a52e8c5
DK
2964msgstr ""
2965
7d76ea1d
DK
2966#. type: Content of: <refentry><refsect1><title>
2967#: apt.conf.5.xml:512
2968msgid "Directories"
bcf91c1b
DK
2969msgstr ""
2970
2a52e8c5 2971#. type: Content of: <refentry><refsect1><para>
7d76ea1d 2972#: apt.conf.5.xml:514
2a52e8c5 2973msgid ""
7d76ea1d
DK
2974"The <literal>Dir::State</literal> section has directories that pertain to "
2975"local state information. <literal>lists</literal> is the directory to place "
2976"downloaded package lists in and <literal>status</literal> is the name of the "
2977"dpkg status file. <literal>preferences</literal> is the name of the APT "
2978"<filename>preferences</filename> file. <literal>Dir::State</literal> "
2979"contains the default directory to prefix on all sub items if they do not "
2980"start with <filename>/</filename> or <filename>./</filename>."
2a52e8c5
DK
2981msgstr ""
2982
2983#. type: Content of: <refentry><refsect1><para>
7d76ea1d 2984#: apt.conf.5.xml:521
2a52e8c5 2985msgid ""
7d76ea1d
DK
2986"<literal>Dir::Cache</literal> contains locations pertaining to local cache "
2987"information, such as the two package caches <literal>srcpkgcache</literal> "
2988"and <literal>pkgcache</literal> as well as the location to place downloaded "
2989"archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
2990"be turned off by setting their names to be blank. This will slow down "
2991"startup but save disk space. It is probably preferred to turn off the "
2992"pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the "
2993"default directory is contained in <literal>Dir::Cache</literal>"
2a52e8c5
DK
2994msgstr ""
2995
2996#. type: Content of: <refentry><refsect1><para>
7d76ea1d 2997#: apt.conf.5.xml:530
2a52e8c5 2998msgid ""
7d76ea1d
DK
2999"<literal>Dir::Etc</literal> contains the location of configuration files, "
3000"<literal>sourcelist</literal> gives the location of the sourcelist and "
3001"<literal>main</literal> is the default configuration file (setting has no "
3002"effect, unless it is done from the config file specified by "
3003"<envar>APT_CONFIG</envar>)."
2a52e8c5
DK
3004msgstr ""
3005
3006#. type: Content of: <refentry><refsect1><para>
7d76ea1d 3007#: apt.conf.5.xml:536
2a52e8c5 3008msgid ""
7d76ea1d
DK
3009"The <literal>Dir::Parts</literal> setting reads in all the config fragments "
3010"in lexical order from the directory specified. After this is done then the "
3011"main config file is loaded."
2a52e8c5
DK
3012msgstr ""
3013
3014#. type: Content of: <refentry><refsect1><para>
7d76ea1d 3015#: apt.conf.5.xml:540
2a52e8c5 3016msgid ""
7d76ea1d
DK
3017"Binary programs are pointed to by "
3018"<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies "
3019"the location of the method handlers and <literal>gzip</literal>, "
3020"<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, "
3021"<literal>apt-get</literal> <literal>dpkg-source</literal> "
3022"<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> "
3023"specify the location of the respective programs."
2a52e8c5
DK
3024msgstr ""
3025
3026#. type: Content of: <refentry><refsect1><para>
7d76ea1d 3027#: apt.conf.5.xml:548
2a52e8c5 3028msgid ""
7d76ea1d
DK
3029"The configuration item <literal>RootDir</literal> has a special meaning. If "
3030"set, all paths in <literal>Dir::</literal> will be relative to "
3031"<literal>RootDir</literal>, <emphasis>even paths that are specified "
3032"absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
3033"set to <filename>/tmp/staging</filename> and "
3034"<literal>Dir::State::status</literal> is set to "
3035"<filename>/var/lib/dpkg/status</filename>, then the status file will be "
3036"looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>."
2a52e8c5
DK
3037msgstr ""
3038
3039#. type: Content of: <refentry><refsect1><para>
7d76ea1d 3040#: apt.conf.5.xml:561
2a52e8c5 3041msgid ""
7d76ea1d
DK
3042"The <literal>Ignore-Files-Silently</literal> list can be used to specify "
3043"which files APT should silently ignore while parsing the files in the "
3044"fragment directories. Per default a file which end with "
3045"<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> "
3046"or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last "
3047"default value these patterns can use regular expression syntax."
2a52e8c5
DK
3048msgstr ""
3049
7d76ea1d
DK
3050#. type: Content of: <refentry><refsect1><title>
3051#: apt.conf.5.xml:570
3052msgid "APT in DSelect"
2a52e8c5
DK
3053msgstr ""
3054
3055#. type: Content of: <refentry><refsect1><para>
7d76ea1d 3056#: apt.conf.5.xml:572
2a52e8c5 3057msgid ""
7d76ea1d
DK
3058"When APT is used as a &dselect; method several configuration directives "
3059"control the default behaviour. These are in the <literal>DSelect</literal> "
3060"section."
2a52e8c5
DK
3061msgstr ""
3062
7d76ea1d
DK
3063#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3064#: apt.conf.5.xml:577
2a52e8c5 3065msgid ""
7d76ea1d
DK
3066"Cache Clean mode; this value may be one of always, prompt, auto, pre-auto "
3067"and never. always and prompt will remove all packages from the cache after "
3068"upgrading, prompt (the default) does so conditionally. auto removes only "
3069"those packages which are no longer downloadable (replaced with a new version "
3070"for instance). pre-auto performs this action before downloading new "
3071"packages."
2a52e8c5
DK
3072msgstr ""
3073
7d76ea1d
DK
3074#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3075#: apt.conf.5.xml:586
2a52e8c5 3076msgid ""
7d76ea1d
DK
3077"The contents of this variable is passed to &apt-get; as command line options "
3078"when it is run for the install phase."
2a52e8c5
DK
3079msgstr ""
3080
7d76ea1d
DK
3081#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3082#: apt.conf.5.xml:591
2a52e8c5 3083msgid ""
7d76ea1d
DK
3084"The contents of this variable is passed to &apt-get; as command line options "
3085"when it is run for the update phase."
2a52e8c5
DK
3086msgstr ""
3087
7d76ea1d
DK
3088#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3089#: apt.conf.5.xml:596
3090msgid ""
3091"If true the [U]pdate operation in &dselect; will always prompt to continue. "
3092"The default is to prompt only on error."
2a52e8c5
DK
3093msgstr ""
3094
3095#. type: Content of: <refentry><refsect1><title>
7d76ea1d
DK
3096#: apt.conf.5.xml:602
3097msgid "How APT calls dpkg"
2a52e8c5
DK
3098msgstr ""
3099
3100#. type: Content of: <refentry><refsect1><para>
7d76ea1d 3101#: apt.conf.5.xml:603
2a52e8c5 3102msgid ""
7d76ea1d
DK
3103"Several configuration directives control how APT invokes &dpkg;. These are "
3104"in the <literal>DPkg</literal> section."
2a52e8c5
DK
3105msgstr ""
3106
7d76ea1d
DK
3107#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3108#: apt.conf.5.xml:608
2a52e8c5 3109msgid ""
7d76ea1d
DK
3110"This is a list of options to pass to dpkg. The options must be specified "
3111"using the list notation and each list item is passed as a single argument to "
3112"&dpkg;."
2a52e8c5
DK
3113msgstr ""
3114
7d76ea1d
DK
3115#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3116#: apt.conf.5.xml:614
3117msgid ""
3118"This is a list of shell commands to run before/after invoking &dpkg;. Like "
3119"<literal>options</literal> this must be specified in list notation. The "
3120"commands are invoked in order using <filename>/bin/sh</filename>, should any "
3121"fail APT will abort."
2a52e8c5
DK
3122msgstr ""
3123
7d76ea1d
DK
3124#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3125#: apt.conf.5.xml:621
2a52e8c5 3126msgid ""
7d76ea1d
DK
3127"This is a list of shell commands to run before invoking dpkg. Like "
3128"<literal>options</literal> this must be specified in list notation. The "
3129"commands are invoked in order using <filename>/bin/sh</filename>, should any "
3130"fail APT will abort. APT will pass to the commands on standard input the "
3131"filenames of all .deb files it is going to install, one per line."
2a52e8c5
DK
3132msgstr ""
3133
7d76ea1d
DK
3134#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3135#: apt.conf.5.xml:627
2a52e8c5 3136msgid ""
7d76ea1d
DK
3137"Version 2 of this protocol dumps more information, including the protocol "
3138"version, the APT configuration space and the packages, files and versions "
3139"being changed. Version 2 is enabled by setting "
3140"<literal>DPkg::Tools::options::cmd::Version</literal> to "
3141"2. <literal>cmd</literal> is a command given to "
3142"<literal>Pre-Install-Pkgs</literal>."
2a52e8c5
DK
3143msgstr ""
3144
7d76ea1d
DK
3145#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3146#: apt.conf.5.xml:635
2a52e8c5 3147msgid ""
7d76ea1d
DK
3148"APT chdirs to this directory before invoking dpkg, the default is "
3149"<filename>/</filename>."
2a52e8c5
DK
3150msgstr ""
3151
7d76ea1d
DK
3152#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3153#: apt.conf.5.xml:640
2a52e8c5 3154msgid ""
7d76ea1d
DK
3155"These options are passed to &dpkg-buildpackage; when compiling packages, the "
3156"default is to disable signing and produce all binaries."
2a52e8c5
DK
3157msgstr ""
3158
7d76ea1d
DK
3159#. type: Content of: <refentry><refsect1><refsect2><title>
3160#: apt.conf.5.xml:645
3161msgid "dpkg trigger usage (and related options)"
2a52e8c5
DK
3162msgstr ""
3163
7d76ea1d
DK
3164#. type: Content of: <refentry><refsect1><refsect2><para>
3165#: apt.conf.5.xml:646
2a52e8c5 3166msgid ""
7d76ea1d
DK
3167"APT can call dpkg in a way so it can make aggressive use of triggers over "
3168"multiple calls of dpkg. Without further options dpkg will use triggers only "
3169"in between his own run. Activating these options can therefore decrease the "
3170"time needed to perform the install / upgrade. Note that it is intended to "
3171"activate these options per default in the future, but as it changes the way "
3172"APT calling dpkg drastically it needs a lot more testing. <emphasis>These "
3173"options are therefore currently experimental and should not be used in "
3174"productive environments.</emphasis> Also it breaks the progress reporting so "
3175"all frontends will currently stay around half (or more) of the time in the "
3176"100% state while it actually configures all packages."
2a52e8c5
DK
3177msgstr ""
3178
7d76ea1d
DK
3179#. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
3180#: apt.conf.5.xml:661
3181#, no-wrap
2a52e8c5 3182msgid ""
7d76ea1d
DK
3183"DPkg::NoTriggers \"true\";\n"
3184"PackageManager::Configure \"smart\";\n"
3185"DPkg::ConfigurePending \"true\";\n"
3186"DPkg::TriggersPending \"true\";"
2a52e8c5
DK
3187msgstr ""
3188
7d76ea1d
DK
3189#. type: Content of: <refentry><refsect1><refsect2><para>
3190#: apt.conf.5.xml:655
3191msgid ""
3192"Note that it is not guaranteed that APT will support these options or that "
3193"these options will not cause (big) trouble in the future. If you have "
3194"understand the current risks and problems with these options, but are brave "
3195"enough to help testing them create a new configuration file and test a "
3196"combination of options. Please report any bugs, problems and improvements "
3197"you encounter and make sure to note which options you have used in your "
3198"reports. Asking dpkg for help could also be useful for debugging proposes, "
3199"see e.g. <command>dpkg --audit</command>. A defensive option combination "
3200"would be <placeholder type=\"literallayout\" id=\"0\"/>"
2a52e8c5
DK
3201msgstr ""
3202
7d76ea1d
DK
3203#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3204#: apt.conf.5.xml:668
2a52e8c5 3205msgid ""
7d76ea1d
DK
3206"Add the no triggers flag to all dpkg calls (except the ConfigurePending "
3207"call). See &dpkg; if you are interested in what this actually means. In "
3208"short: dpkg will not run the triggers when this flag is present unless it is "
3209"explicitly called to do so in an extra call. Note that this option exists "
3210"(undocumented) also in older apt versions with a slightly different meaning: "
3211"Previously these option only append --no-triggers to the configure calls to "
3212"dpkg - now apt will add these flag also to the unpack and remove calls."
2a52e8c5
DK
3213msgstr ""
3214
7d76ea1d
DK
3215#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3216#: apt.conf.5.xml:676
3217msgid ""
3218"Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
3219"and \"<literal>no</literal>\". \"<literal>all</literal>\" is the default "
3220"value and causes APT to configure all packages explicit. The "
3221"\"<literal>smart</literal>\" way is it to configure only packages which need "
3222"to be configured before another package can be unpacked (Pre-Depends) and "
3223"let the rest configure by dpkg with a call generated by the next "
3224"option. \"<literal>no</literal>\" on the other hand will not configure "
3225"anything and totally rely on dpkg for configuration (which will at the "
3226"moment fail if a Pre-Depends is encountered). Setting this option to "
3227"another than the all value will implicitly activate also the next option per "
3228"default as otherwise the system could end in an unconfigured status which "
3229"could be unbootable!"
2a52e8c5
DK
3230msgstr ""
3231
7d76ea1d
DK
3232#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3233#: apt.conf.5.xml:687
2a52e8c5 3234msgid ""
7d76ea1d
DK
3235"If this option is set apt will call <command>dpkg --configure "
3236"--pending</command> to let dpkg handle all required configurations and "
3237"triggers. This option is activated automatic per default if the previous "
3238"option is not set to <literal>all</literal>, but deactivating could be "
3239"useful if you want to run APT multiple times in a row - e.g. in an "
3240"installer. In these sceneries you could deactivate this option in all but "
3241"the last run."
2a52e8c5
DK
3242msgstr ""
3243
7d76ea1d
DK
3244#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3245#: apt.conf.5.xml:694
3246msgid ""
3247"Useful for <literal>smart</literal> configuration as a package which has "
3248"pending triggers is not considered as <literal>installed</literal> and dpkg "
3249"treats them as <literal>unpacked</literal> currently which is a dealbreaker "
3250"for Pre-Dependencies (see debbugs #526774). Note that this will process all "
3251"triggers, not only the triggers needed to configure this package."
2a52e8c5
DK
3252msgstr ""
3253
7d76ea1d
DK
3254#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3255#: apt.conf.5.xml:700
2a52e8c5 3256msgid ""
7d76ea1d
DK
3257"As the configuration can be deferred to be done at the end by dpkg it can be "
3258"tried to order the unpack series only by critical needs, e.g. by "
3259"Pre-Depends. Default is true and therefore the \"old\" method of ordering in "
3260"various steps by everything. While both method were present in earlier APT "
3261"versions the <literal>OrderCritical</literal> method was unused, so this "
3262"method is very experimental and needs further improvements before becoming "
3263"really useful."
2a52e8c5
DK
3264msgstr ""
3265
7d76ea1d
DK
3266#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
3267#: apt.conf.5.xml:715
3268#, no-wrap
2a52e8c5 3269msgid ""
7d76ea1d
DK
3270"OrderList::Score {\n"
3271"\tDelete 500;\n"
3272"\tEssential 200;\n"
3273"\tImmediate 10;\n"
3274"\tPreDepends 50;\n"
3275"};"
2a52e8c5
DK
3276msgstr ""
3277
7d76ea1d
DK
3278#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3279#: apt.conf.5.xml:708
3280msgid ""
3281"Essential packages (and there dependencies) should be configured immediately "
3282"after unpacking. It will be a good idea to do this quite early in the "
3283"upgrade process as these these configure calls require currently also "
3284"<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
3285"(which maybe not needed). Essentials get per default a high score but the "
3286"immediate flag is relatively low (a package which has a Pre-Depends is "
3287"higher rated). These option and the others in the same group can be used to "
3288"change the scoring. The following example shows the settings with there "
3289"default values. <placeholder type=\"literallayout\" id=\"0\"/>"
2a52e8c5
DK
3290msgstr ""
3291
7d76ea1d
DK
3292#. type: Content of: <refentry><refsect1><title>
3293#: apt.conf.5.xml:728
3294msgid "Periodic and Archives options"
89fd753d
MV
3295msgstr ""
3296
7d76ea1d
DK
3297#. type: Content of: <refentry><refsect1><para>
3298#: apt.conf.5.xml:729
3299msgid ""
3300"<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
3301"of options configure behavior of apt periodic updates, which is done by "
3302"<literal>/etc/cron.daily/apt</literal> script. See header of this script for "
3303"the brief documentation of these options."
2a52e8c5
DK
3304msgstr ""
3305
7d76ea1d
DK
3306#. type: Content of: <refentry><refsect1><title>
3307#: apt.conf.5.xml:737
3308msgid "Debug options"
2a52e8c5
DK
3309msgstr ""
3310
3311#. type: Content of: <refentry><refsect1><para>
7d76ea1d 3312#: apt.conf.5.xml:739
2a52e8c5 3313msgid ""
7d76ea1d
DK
3314"Enabling options in the <literal>Debug::</literal> section will cause "
3315"debugging information to be sent to the standard error stream of the program "
3316"utilizing the <literal>apt</literal> libraries, or enable special program "
3317"modes that are primarily useful for debugging the behavior of "
3318"<literal>apt</literal>. Most of these options are not interesting to a "
3319"normal user, but a few may be:"
b39c1859
MV
3320msgstr ""
3321
7d76ea1d
DK
3322#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3323#: apt.conf.5.xml:750
b39c1859 3324msgid ""
7d76ea1d
DK
3325"<literal>Debug::pkgProblemResolver</literal> enables output about the "
3326"decisions made by <literal>dist-upgrade, upgrade, install, remove, "
3327"purge</literal>."
b39c1859
MV
3328msgstr ""
3329
7d76ea1d
DK
3330#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3331#: apt.conf.5.xml:758
b39c1859 3332msgid ""
7d76ea1d
DK
3333"<literal>Debug::NoLocking</literal> disables all file locking. This can be "
3334"used to run some operations (for instance, <literal>apt-get -s "
3335"install</literal>) as a non-root user."
b39c1859
MV
3336msgstr ""
3337
7d76ea1d
DK
3338#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3339#: apt.conf.5.xml:767
b39c1859 3340msgid ""
7d76ea1d
DK
3341"<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
3342"time that <literal>apt</literal> invokes &dpkg;."
b39c1859
MV
3343msgstr ""
3344
7d76ea1d
DK
3345#. TODO: provide a
3346#. motivating example, except I haven't a clue why you'd want
3347#. to do this.
3348#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3349#: apt.conf.5.xml:775
3350msgid ""
3351"<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
3352"in CD-ROM IDs."
b39c1859
MV
3353msgstr ""
3354
7d76ea1d
DK
3355#. type: Content of: <refentry><refsect1><para>
3356#: apt.conf.5.xml:785
3357msgid "A full list of debugging options to apt follows."
b39c1859
MV
3358msgstr ""
3359
7d76ea1d
DK
3360#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3361#: apt.conf.5.xml:794
3362msgid "Print information related to accessing <literal>cdrom://</literal> sources."
2a52e8c5
DK
3363msgstr ""
3364
7d76ea1d
DK
3365#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3366#: apt.conf.5.xml:805
3367msgid "Print information related to downloading packages using FTP."
2a52e8c5
DK
3368msgstr ""
3369
7d76ea1d
DK
3370#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3371#: apt.conf.5.xml:816
3372msgid "Print information related to downloading packages using HTTP."
2a52e8c5
DK
3373msgstr ""
3374
7d76ea1d
DK
3375#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3376#: apt.conf.5.xml:827
3377msgid "Print information related to downloading packages using HTTPS."
3378msgstr ""
3379
3380#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3381#: apt.conf.5.xml:838
2a52e8c5 3382msgid ""
7d76ea1d
DK
3383"Print information related to verifying cryptographic signatures using "
3384"<literal>gpg</literal>."
2a52e8c5
DK
3385msgstr ""
3386
7d76ea1d
DK
3387#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3388#: apt.conf.5.xml:849
2a52e8c5 3389msgid ""
7d76ea1d
DK
3390"Output information about the process of accessing collections of packages "
3391"stored on CD-ROMs."
2a52e8c5
DK
3392msgstr ""
3393
7d76ea1d
DK
3394#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3395#: apt.conf.5.xml:859
3396msgid "Describes the process of resolving build-dependencies in &apt-get;."
2a52e8c5
DK
3397msgstr ""
3398
7d76ea1d
DK
3399#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3400#: apt.conf.5.xml:869
2a52e8c5 3401msgid ""
7d76ea1d
DK
3402"Output each cryptographic hash that is generated by the "
3403"<literal>apt</literal> libraries."
2a52e8c5
DK
3404msgstr ""
3405
7d76ea1d
DK
3406#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3407#: apt.conf.5.xml:879
2a52e8c5 3408msgid ""
7d76ea1d
DK
3409"Do not include information from <literal>statfs</literal>, namely the number "
3410"of used and free blocks on the CD-ROM filesystem, when generating an ID for "
3411"a CD-ROM."
2a52e8c5
DK
3412msgstr ""
3413
7d76ea1d
DK
3414#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3415#: apt.conf.5.xml:890
2a52e8c5 3416msgid ""
7d76ea1d
DK
3417"Disable all file locking. For instance, this will allow two instances of "
3418"<quote><literal>apt-get update</literal></quote> to run at the same time."
63fc5550
DK
3419msgstr ""
3420
7d76ea1d
DK
3421#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3422#: apt.conf.5.xml:902
3423msgid "Log when items are added to or removed from the global download queue."
2a52e8c5
DK
3424msgstr ""
3425
7d76ea1d
DK
3426#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3427#: apt.conf.5.xml:912
63fc5550 3428msgid ""
7d76ea1d
DK
3429"Output status messages and errors related to verifying checksums and "
3430"cryptographic signatures of downloaded files."
63fc5550
DK
3431msgstr ""
3432
7d76ea1d
DK
3433#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3434#: apt.conf.5.xml:922
2a52e8c5 3435msgid ""
7d76ea1d
DK
3436"Output information about downloading and applying package index list diffs, "
3437"and errors relating to package index list diffs."
63fc5550
DK
3438msgstr ""
3439
7d76ea1d
DK
3440#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3441#: apt.conf.5.xml:934
63fc5550 3442msgid ""
7d76ea1d
DK
3443"Output information related to patching apt package lists when downloading "
3444"index diffs instead of full indices."
2a52e8c5
DK
3445msgstr ""
3446
7d76ea1d
DK
3447#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3448#: apt.conf.5.xml:945
3449msgid "Log all interactions with the sub-processes that actually perform downloads."
2a52e8c5
DK
3450msgstr ""
3451
7d76ea1d
DK
3452#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3453#: apt.conf.5.xml:956
2a52e8c5 3454msgid ""
7d76ea1d
DK
3455"Log events related to the automatically-installed status of packages and to "
3456"the removal of unused packages."
2a52e8c5
DK
3457msgstr ""
3458
2a52e8c5 3459#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 3460#: apt.conf.5.xml:966
2a52e8c5 3461msgid ""
7d76ea1d
DK
3462"Generate debug messages describing which packages are being automatically "
3463"installed to resolve dependencies. This corresponds to the initial "
3464"auto-install pass performed in, e.g., <literal>apt-get install</literal>, "
3465"and not to the full <literal>apt</literal> dependency resolver; see "
3466"<literal>Debug::pkgProblemResolver</literal> for that."
2a52e8c5
DK
3467msgstr ""
3468
c77d6597 3469#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 3470#: apt.conf.5.xml:980
c77d6597 3471msgid ""
7d76ea1d
DK
3472"Generate debug messages describing which package is marked as "
3473"keep/install/remove while the ProblemResolver does his work. Each addition "
3474"or deletion may trigger additional actions; they are shown indented two "
3475"additional space under the original entry. The format for each line is "
3476"<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
3477"<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c "
3478"-&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> "
3479"is the current version of the package, <literal>d.e.f</literal> is the "
3480"version considered for installation and <literal>x.y.z</literal> is a newer "
3481"version, but not considered for installation (because of a low pin "
3482"score). The later two can be omitted if there is none or if it is the same "
3483"version as the installed. <literal>section</literal> is the name of the "
3484"section the package appears in."
c77d6597
MV
3485msgstr ""
3486
2a52e8c5 3487#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d
DK
3488#: apt.conf.5.xml:1002
3489msgid "Dump the default configuration to standard error on startup."
2a52e8c5
DK
3490msgstr ""
3491
2a52e8c5 3492#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 3493#: apt.conf.5.xml:1012
2a52e8c5 3494msgid ""
7d76ea1d
DK
3495"When invoking &dpkg;, output the precise command line with which it is being "
3496"invoked, with arguments separated by a single space character."
2a52e8c5
DK
3497msgstr ""
3498
2a52e8c5 3499#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 3500#: apt.conf.5.xml:1023
2a52e8c5 3501msgid ""
7d76ea1d
DK
3502"Output all the data received from &dpkg; on the status file descriptor and "
3503"any errors encountered while parsing it."
2a52e8c5
DK
3504msgstr ""
3505
2a52e8c5 3506#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 3507#: apt.conf.5.xml:1034
2a52e8c5 3508msgid ""
7d76ea1d
DK
3509"Generate a trace of the algorithm that decides the order in which "
3510"<literal>apt</literal> should pass packages to &dpkg;."
2a52e8c5
DK
3511msgstr ""
3512
2a52e8c5 3513#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d
DK
3514#: apt.conf.5.xml:1046
3515msgid "Output status messages tracing the steps performed when invoking &dpkg;."
2a52e8c5
DK
3516msgstr ""
3517
2a52e8c5 3518#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d
DK
3519#: apt.conf.5.xml:1057
3520msgid "Output the priority of each package list on startup."
2a52e8c5
DK
3521msgstr ""
3522
2a52e8c5 3523#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d
DK
3524#: apt.conf.5.xml:1067
3525msgid ""
3526"Trace the execution of the dependency resolver (this applies only to what "
3527"happens when a complex dependency problem is encountered)."
2a52e8c5
DK
3528msgstr ""
3529
2a52e8c5 3530#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 3531#: apt.conf.5.xml:1078
2a52e8c5 3532msgid ""
7d76ea1d
DK
3533"Display a list of all installed packages with their calculated score used by "
3534"the pkgProblemResolver. The description of the package is the same as "
3535"described in <literal>Debug::pkgDepCache::Marker</literal>"
2a52e8c5
DK
3536msgstr ""
3537
2a52e8c5 3538#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
7d76ea1d 3539#: apt.conf.5.xml:1090
2a52e8c5 3540msgid ""
7d76ea1d
DK
3541"Print information about the vendors read from "
3542"<filename>/etc/apt/vendors.list</filename>."
2a52e8c5
DK
3543msgstr ""
3544
7d76ea1d
DK
3545#. type: Content of: <refentry><refsect1><title>
3546#: apt.conf.5.xml:1112 apt_preferences.5.xml:545 sources.list.5.xml:211 apt-ftparchive.1.xml:596
3547msgid "Examples"
3548msgstr ""
3549
3550#. type: Content of: <refentry><refsect1><para>
3551#: apt.conf.5.xml:1113
2a52e8c5 3552msgid ""
7d76ea1d
DK
3553"&configureindex; is a configuration file showing example values for all "
3554"possible options."
2a52e8c5
DK
3555msgstr ""
3556
7d76ea1d
DK
3557#. ? reading apt.conf
3558#. type: Content of: <refentry><refsect1><para>
3559#: apt.conf.5.xml:1125
3560msgid "&apt-cache;, &apt-config;, &apt-preferences;."
3561msgstr ""
3562
3563#. type: Content of: <refentry><refnamediv><refpurpose>
3564#: apt_preferences.5.xml:32
3565msgid "Preference control file for APT"
2a52e8c5
DK
3566msgstr ""
3567
aec22160 3568#. type: Content of: <refentry><refsect1><para>
7d76ea1d 3569#: apt_preferences.5.xml:37
aec22160 3570msgid ""
7d76ea1d
DK
3571"The APT preferences file <filename>/etc/apt/preferences</filename> and the "
3572"fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
3573"can be used to control which versions of packages will be selected for "
3574"installation."
aec22160
DK
3575msgstr ""
3576
7d76ea1d
DK
3577#. type: Content of: <refentry><refsect1><para>
3578#: apt_preferences.5.xml:42
b6c6b52f 3579msgid ""
7d76ea1d
DK
3580"Several versions of a package may be available for installation when the "
3581"&sources-list; file contains references to more than one distribution (for "
3582"example, <literal>stable</literal> and <literal>testing</literal>). APT "
3583"assigns a priority to each version that is available. Subject to dependency "
3584"constraints, <command>apt-get</command> selects the version with the highest "
44477002
JR
3585"priority for installation. The APT preferences override the priorities that "
3586"APT assigns to package versions by default, thus giving the user control "
3587"over which one is selected for installation."
b6c6b52f
MV
3588msgstr ""
3589
7d76ea1d
DK
3590#. type: Content of: <refentry><refsect1><para>
3591#: apt_preferences.5.xml:52
c77d6597 3592msgid ""
7d76ea1d
DK
3593"Several instances of the same version of a package may be available when the "
3594"&sources-list; file contains references to more than one source. In this "
3595"case <command>apt-get</command> downloads the instance listed earliest in "
44477002
JR
3596"the &sources-list; file. The APT preferences do not affect the choice of "
3597"instance, only the choice of version."
c77d6597
MV
3598msgstr ""
3599
7d76ea1d
DK
3600#. type: Content of: <refentry><refsect1><para>
3601#: apt_preferences.5.xml:59
b6c6b52f 3602msgid ""
7d76ea1d
DK
3603"Preferences are a strong power in the hands of a system administrator but "
3604"they can become also their biggest nightmare if used without care! APT will "
44477002
JR
3605"not question the preferences, so wrong settings can lead to uninstallable "
3606"packages or wrong decisions while upgrading packages. Even more problems "
3607"will arise if multiple distribution releases are mixed without a good "
3608"understanding of the following paragraphs. Packages included in a specific "
3609"release aren't tested in (and therefore don't always work as expected in) "
3610"older or newer releases, or together with other packages from different "
3611"releases. You have been warned."
b6c6b52f
MV
3612msgstr ""
3613
7d76ea1d
DK
3614#. type: Content of: <refentry><refsect1><para>
3615#: apt_preferences.5.xml:70
2a52e8c5 3616msgid ""
7d76ea1d
DK
3617"Note that the files in the <filename>/etc/apt/preferences.d</filename> "
3618"directory are parsed in alphanumeric ascending order and need to obey the "
3619"following naming convention: The files have either no or "
3620"\"<literal>pref</literal>\" as filename extension and only contain "
3621"alphanumeric, hyphen (-), underscore (_) and period (.) characters. "
44477002
JR
3622"Otherwise APT will print a notice that it has ignored a file, unless that "
3623"file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
7d76ea1d 3624"configuration list - in this case it will be silently ignored."
2a52e8c5
DK
3625msgstr ""
3626
7d76ea1d
DK
3627#. type: Content of: <refentry><refsect1><refsect2><title>
3628#: apt_preferences.5.xml:79
3629msgid "APT's Default Priority Assignments"
3630msgstr ""
3631
3632#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
3633#: apt_preferences.5.xml:94
3634#, no-wrap
b39c1859 3635msgid ""
7d76ea1d
DK
3636"<command>apt-get install -t testing "
3637"<replaceable>some-package</replaceable></command>\n"
b39c1859
MV
3638msgstr ""
3639
7d76ea1d
DK
3640#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
3641#: apt_preferences.5.xml:97
3642#, no-wrap
3643msgid "APT::Default-Release \"stable\";\n"
3644msgstr ""
3645
3646#. type: Content of: <refentry><refsect1><refsect2><para>
3647#: apt_preferences.5.xml:81
2a52e8c5 3648msgid ""
7d76ea1d
DK
3649"If there is no preferences file or if there is no entry in the file that "
3650"applies to a particular version then the priority assigned to that version "
3651"is the priority of the distribution to which that version belongs. It is "
3652"possible to single out a distribution, \"the target release\", which "
3653"receives a higher priority than other distributions do by default. The "
3654"target release can be set on the <command>apt-get</command> command line or "
3655"in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
3656"that this has precedence over any general priority you set in the "
3657"<filename>/etc/apt/preferences</filename> file described later, but not over "
3658"specifically pinned packages. For example, <placeholder "
3659"type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" "
3660"id=\"1\"/>"
3661msgstr ""
3662
3663#. type: Content of: <refentry><refsect1><refsect2><para>
3664#: apt_preferences.5.xml:101
3665msgid ""
3666"If the target release has been specified then APT uses the following "
3667"algorithm to set the priorities of the versions of a package. Assign:"
2a52e8c5
DK
3668msgstr ""
3669
7d76ea1d
DK
3670#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3671#: apt_preferences.5.xml:106
3672msgid "priority 1"
2a52e8c5
DK
3673msgstr ""
3674
7d76ea1d
DK
3675#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3676#: apt_preferences.5.xml:107
2a52e8c5 3677msgid ""
7d76ea1d
DK
3678"to the versions coming from archives which in their "
3679"<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but "
44477002 3680"<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
7d76ea1d 3681"<literal>experimental</literal> archive."
2a52e8c5
DK
3682msgstr ""
3683
7d76ea1d
DK
3684#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3685#: apt_preferences.5.xml:113
3686msgid "priority 100"
2a52e8c5
DK
3687msgstr ""
3688
7d76ea1d
DK
3689#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3690#: apt_preferences.5.xml:114
2a52e8c5 3691msgid ""
7d76ea1d
DK
3692"to the version that is already installed (if any) and to the versions coming "
3693"from archives which in their <filename>Release</filename> files are marked "
44477002 3694"as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
7d76ea1d 3695"backports archive since <literal>squeeze-backports</literal>."
2a52e8c5
DK
3696msgstr ""
3697
7d76ea1d
DK
3698#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3699#: apt_preferences.5.xml:121
3700msgid "priority 500"
2a52e8c5
DK
3701msgstr ""
3702
7d76ea1d
DK
3703#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3704#: apt_preferences.5.xml:122
2a52e8c5 3705msgid ""
7d76ea1d
DK
3706"to the versions that are not installed and do not belong to the target "
3707"release."
2a52e8c5
DK
3708msgstr ""
3709
7d76ea1d
DK
3710#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3711#: apt_preferences.5.xml:126
3712msgid "priority 990"
c086ac18
DK
3713msgstr ""
3714
7d76ea1d
DK
3715#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3716#: apt_preferences.5.xml:127
3717msgid "to the versions that are not installed and belong to the target release."
63fc5550
DK
3718msgstr ""
3719
7d76ea1d
DK
3720#. type: Content of: <refentry><refsect1><refsect2><para>
3721#: apt_preferences.5.xml:132
bf5c3fe8 3722msgid ""
7d76ea1d
DK
3723"If the target release has not been specified then APT simply assigns "
3724"priority 100 to all installed package versions and priority 500 to all "
3725"uninstalled package versions, except versions coming from archives which in "
3726"their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
3727"- these versions get the priority 1 or priority 100 if it is additionally "
3728"marked as \"ButAutomaticUpgrades: yes\"."
bf5c3fe8
MV
3729msgstr ""
3730
7d76ea1d
DK
3731#. type: Content of: <refentry><refsect1><refsect2><para>
3732#: apt_preferences.5.xml:139
2a52e8c5 3733msgid ""
7d76ea1d
DK
3734"APT then applies the following rules, listed in order of precedence, to "
3735"determine which version of a package to install."
2a52e8c5
DK
3736msgstr ""
3737
7d76ea1d
DK
3738#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3739#: apt_preferences.5.xml:142
2a52e8c5 3740msgid ""
7d76ea1d
DK
3741"Never downgrade unless the priority of an available version exceeds 1000. "
3742"(\"Downgrading\" is installing a less recent version of a package in place "
3743"of a more recent version. Note that none of APT's default priorities "
3744"exceeds 1000; such high priorities can only be set in the preferences file. "
3745"Note also that downgrading a package can be risky.)"
2a52e8c5
DK
3746msgstr ""
3747
7d76ea1d
DK
3748#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3749#: apt_preferences.5.xml:148
3750msgid "Install the highest priority version."
2a52e8c5
DK
3751msgstr ""
3752
7d76ea1d
DK
3753#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3754#: apt_preferences.5.xml:149
2a52e8c5 3755msgid ""
7d76ea1d
DK
3756"If two or more versions have the same priority, install the most recent one "
3757"(that is, the one with the higher version number)."
2a52e8c5
DK
3758msgstr ""
3759
7d76ea1d
DK
3760#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3761#: apt_preferences.5.xml:152
2a52e8c5 3762msgid ""
7d76ea1d
DK
3763"If two or more versions have the same priority and version number but either "
3764"the packages differ in some of their metadata or the "
3765"<literal>--reinstall</literal> option is given, install the uninstalled one."
2a52e8c5
DK
3766msgstr ""
3767
7d76ea1d
DK
3768#. type: Content of: <refentry><refsect1><refsect2><para>
3769#: apt_preferences.5.xml:158
2a52e8c5 3770msgid ""
7d76ea1d
DK
3771"In a typical situation, the installed version of a package (priority 100) "
3772"is not as recent as one of the versions available from the sources listed in "
3773"the &sources-list; file (priority 500 or 990). Then the package will be "
3774"upgraded when <command>apt-get install "
3775"<replaceable>some-package</replaceable></command> or <command>apt-get "
3776"upgrade</command> is executed."
2a52e8c5
DK
3777msgstr ""
3778
7d76ea1d
DK
3779#. type: Content of: <refentry><refsect1><refsect2><para>
3780#: apt_preferences.5.xml:165
3781msgid ""
3782"More rarely, the installed version of a package is <emphasis>more</emphasis> "
3783"recent than any of the other available versions. The package will not be "
3784"downgraded when <command>apt-get install "
3785"<replaceable>some-package</replaceable></command> or <command>apt-get "
3786"upgrade</command> is executed."
2a52e8c5
DK
3787msgstr ""
3788
7d76ea1d
DK
3789#. type: Content of: <refentry><refsect1><refsect2><para>
3790#: apt_preferences.5.xml:170
2a52e8c5 3791msgid ""
7d76ea1d
DK
3792"Sometimes the installed version of a package is more recent than the version "
3793"belonging to the target release, but not as recent as a version belonging to "
3794"some other distribution. Such a package will indeed be upgraded when "
3795"<command>apt-get install <replaceable>some-package</replaceable></command> "
3796"or <command>apt-get upgrade</command> is executed, because at least "
3797"<emphasis>one</emphasis> of the available versions has a higher priority "
3798"than the installed version."
2a52e8c5
DK
3799msgstr ""
3800
7d76ea1d
DK
3801#. type: Content of: <refentry><refsect1><refsect2><title>
3802#: apt_preferences.5.xml:179
3803msgid "The Effect of APT Preferences"
2a52e8c5
DK
3804msgstr ""
3805
7d76ea1d
DK
3806#. type: Content of: <refentry><refsect1><refsect2><para>
3807#: apt_preferences.5.xml:181
bcf91c1b 3808msgid ""
7d76ea1d
DK
3809"The APT preferences file allows the system administrator to control the "
3810"assignment of priorities. The file consists of one or more multi-line "
3811"records separated by blank lines. Records can have one of two forms, a "
3812"specific form and a general form."
bcf91c1b 3813msgstr ""
7d76ea1d
DK
3814
3815#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3816#: apt_preferences.5.xml:187
bcf91c1b 3817msgid ""
7d76ea1d 3818"The specific form assigns a priority (a \"Pin-Priority\") to one or more "
44477002
JR
3819"specified packages with a specified version or version range. For example, "
3820"the following record assigns a high priority to all versions of the "
7d76ea1d 3821"<filename>perl</filename> package whose version number begins with "
75d9bdba
JR
3822"\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
3823"spaces."
bcf91c1b
DK
3824msgstr ""
3825
7d76ea1d
DK
3826#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3827#: apt_preferences.5.xml:194
bcf91c1b 3828#, no-wrap
7d76ea1d
DK
3829msgid ""
3830"Package: perl\n"
75d9bdba 3831"Pin: version &good-perl;*\n"
7d76ea1d 3832"Pin-Priority: 1001\n"
bcf91c1b
DK
3833msgstr ""
3834
7d76ea1d
DK
3835#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3836#: apt_preferences.5.xml:200
3837msgid ""
3838"The general form assigns a priority to all of the package versions in a "
3839"given distribution (that is, to all the versions of packages that are listed "
3840"in a certain <filename>Release</filename> file) or to all of the package "
3841"versions coming from a particular Internet site, as identified by the site's "
3842"fully qualified domain name."
bcf91c1b
DK
3843msgstr ""
3844
7d76ea1d
DK
3845#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3846#: apt_preferences.5.xml:206
bcf91c1b 3847msgid ""
7d76ea1d
DK
3848"This general-form entry in the APT preferences file applies only to groups "
3849"of packages. For example, the following record assigns a high priority to "
3850"all package versions available from the local site."
bcf91c1b
DK
3851msgstr ""
3852
7d76ea1d
DK
3853#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3854#: apt_preferences.5.xml:211
bcf91c1b 3855#, no-wrap
7d76ea1d
DK
3856msgid ""
3857"Package: *\n"
3858"Pin: origin \"\"\n"
3859"Pin-Priority: 999\n"
bcf91c1b
DK
3860msgstr ""
3861
7d76ea1d
DK
3862#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3863#: apt_preferences.5.xml:216
bcf91c1b 3864msgid ""
7d76ea1d
DK
3865"A note of caution: the keyword used here is \"<literal>origin</literal>\" "
3866"which can be used to match a hostname. The following record will assign a "
3867"high priority to all versions available from the server identified by the "
3868"hostname \"ftp.de.debian.org\""
bcf91c1b
DK
3869msgstr ""
3870
7d76ea1d
DK
3871#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3872#: apt_preferences.5.xml:220
3873#, no-wrap
bcf91c1b 3874msgid ""
7d76ea1d
DK
3875"Package: *\n"
3876"Pin: origin \"ftp.de.debian.org\"\n"
3877"Pin-Priority: 999\n"
bcf91c1b
DK
3878msgstr ""
3879
7d76ea1d
DK
3880#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3881#: apt_preferences.5.xml:224
de2c243c 3882msgid ""
7d76ea1d
DK
3883"This should <emphasis>not</emphasis> be confused with the Origin of a "
3884"distribution as specified in a <filename>Release</filename> file. What "
3885"follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
3886"Internet address but an author or vendor name, such as \"Debian\" or "
3887"\"Ximian\"."
de2c243c 3888msgstr ""
3889
7d76ea1d
DK
3890#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3891#: apt_preferences.5.xml:229
bf5c3fe8 3892msgid ""
7d76ea1d
DK
3893"The following record assigns a low priority to all package versions "
3894"belonging to any distribution whose Archive name is "
3895"\"<literal>unstable</literal>\"."
bf5c3fe8
MV
3896msgstr ""
3897
7d76ea1d
DK
3898#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3899#: apt_preferences.5.xml:233
bf5c3fe8 3900#, no-wrap
bf5c3fe8 3901msgid ""
7d76ea1d
DK
3902"Package: *\n"
3903"Pin: release a=unstable\n"
3904"Pin-Priority: 50\n"
bf5c3fe8
MV
3905msgstr ""
3906
7d76ea1d
DK
3907#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3908#: apt_preferences.5.xml:238
c086ac18 3909msgid ""
7d76ea1d
DK
3910"The following record assigns a high priority to all package versions "
3911"belonging to any distribution whose Codename is "
3912"\"<literal>&testing-codename;</literal>\"."
c086ac18
DK
3913msgstr ""
3914
7d76ea1d
DK
3915#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3916#: apt_preferences.5.xml:242
3917#, no-wrap
3918msgid ""
3919"Package: *\n"
3920"Pin: release n=&testing-codename;\n"
3921"Pin-Priority: 900\n"
2a52e8c5
DK
3922msgstr ""
3923
7d76ea1d
DK
3924#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3925#: apt_preferences.5.xml:247
2a52e8c5 3926msgid ""
7d76ea1d
DK
3927"The following record assigns a high priority to all package versions "
3928"belonging to any release whose Archive name is \"<literal>stable</literal>\" "
44477002 3929"and whose release Version number is \"<literal>&stable-version;</literal>\"."
2a52e8c5
DK
3930msgstr ""
3931
7d76ea1d
DK
3932#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3933#: apt_preferences.5.xml:252
3934#, no-wrap
2a52e8c5 3935msgid ""
7d76ea1d 3936"Package: *\n"
44477002 3937"Pin: release a=stable, v=&stable-version;\n"
7d76ea1d 3938"Pin-Priority: 500\n"
2a52e8c5
DK
3939msgstr ""
3940
7d76ea1d
DK
3941#. type: Content of: <refentry><refsect1><refsect2><title>
3942#: apt_preferences.5.xml:262
44477002 3943msgid "Regular expressions and &glob; syntax"
2a52e8c5
DK
3944msgstr ""
3945
7d76ea1d
DK
3946#. type: Content of: <refentry><refsect1><refsect2><para>
3947#: apt_preferences.5.xml:264
2a52e8c5 3948msgid ""
44477002
JR
3949"APT also supports pinning by &glob; expressions, and regular expressions "
3950"surrounded by slashes. For example, the following example assigns the "
3951"priority 500 to all packages from experimental where the name starts with "
3952"gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
3953"extended regular expression surrounded by slashes)."
2a52e8c5
DK
3954msgstr ""
3955
7d76ea1d
DK
3956#. type: Content of: <refentry><refsect1><refsect2><programlisting>
3957#: apt_preferences.5.xml:273
3958#, no-wrap
2a52e8c5 3959msgid ""
7d76ea1d
DK
3960"Package: gnome* /kde/\n"
3961"Pin: release n=experimental\n"
3962"Pin-Priority: 500\n"
2a52e8c5
DK
3963msgstr ""
3964
7d76ea1d
DK
3965#. type: Content of: <refentry><refsect1><refsect2><para>
3966#: apt_preferences.5.xml:279
2a52e8c5 3967msgid ""
7d76ea1d
DK
3968"The rule for those expressions is that they can occur anywhere where a "
3969"string can occur. Thus, the following pin assigns the priority 990 to all "
44477002 3970"packages from a release starting with &ubuntu-codename;."
2a52e8c5
DK
3971msgstr ""
3972
7d76ea1d
DK
3973#. type: Content of: <refentry><refsect1><refsect2><programlisting>
3974#: apt_preferences.5.xml:285
3975#, no-wrap
b6c6b52f 3976msgid ""
7d76ea1d 3977"Package: *\n"
44477002 3978"Pin: release n=&ubuntu-codename;*\n"
7d76ea1d 3979"Pin-Priority: 990\n"
b6c6b52f
MV
3980msgstr ""
3981
7d76ea1d
DK
3982#. type: Content of: <refentry><refsect1><refsect2><para>
3983#: apt_preferences.5.xml:291
3984msgid ""
3985"If a regular expression occurs in a <literal>Package</literal> field, the "
3986"behavior is the same as if this regular expression were replaced with a list "
3987"of all package names it matches. It is undecided whether this will change in "
44477002 3988"the future; thus you should always list wild-card pins first, so later "
7d76ea1d 3989"specific pins override it. The pattern \"<literal>*</literal>\" in a "
44477002 3990"Package field is not considered a &glob; expression in itself."
2a52e8c5
DK
3991msgstr ""
3992
7d76ea1d
DK
3993#. type: Content of: <refentry><refsect1><refsect2><title>
3994#: apt_preferences.5.xml:307
3995msgid "How APT Interprets Priorities"
2a52e8c5
DK
3996msgstr ""
3997
7d76ea1d
DK
3998#. type: Content of: <refentry><refsect1><refsect2><para>
3999#: apt_preferences.5.xml:310
2a52e8c5 4000msgid ""
7d76ea1d
DK
4001"Priorities (P) assigned in the APT preferences file must be positive or "
4002"negative integers. They are interpreted as follows (roughly speaking):"
2a52e8c5
DK
4003msgstr ""
4004
7d76ea1d
DK
4005#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4006#: apt_preferences.5.xml:315
4007msgid "P &gt; 1000"
2a52e8c5
DK
4008msgstr ""
4009
7d76ea1d
DK
4010#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4011#: apt_preferences.5.xml:316
2a52e8c5 4012msgid ""
7d76ea1d
DK
4013"causes a version to be installed even if this constitutes a downgrade of the "
4014"package"
2a52e8c5
DK
4015msgstr ""
4016
7d76ea1d
DK
4017#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4018#: apt_preferences.5.xml:320
4019msgid "990 &lt; P &lt;=1000"
4020msgstr ""
4021
4022#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4023#: apt_preferences.5.xml:321
2a52e8c5 4024msgid ""
7d76ea1d
DK
4025"causes a version to be installed even if it does not come from the target "
4026"release, unless the installed version is more recent"
2a52e8c5
DK
4027msgstr ""
4028
7d76ea1d
DK
4029#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4030#: apt_preferences.5.xml:326
4031msgid "500 &lt; P &lt;=990"
2a52e8c5
DK
4032msgstr ""
4033
7d76ea1d
DK
4034#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4035#: apt_preferences.5.xml:327
2a52e8c5 4036msgid ""
7d76ea1d
DK
4037"causes a version to be installed unless there is a version available "
4038"belonging to the target release or the installed version is more recent"
2a52e8c5
DK
4039msgstr ""
4040
7d76ea1d
DK
4041#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4042#: apt_preferences.5.xml:332
4043msgid "100 &lt; P &lt;=500"
2a52e8c5
DK
4044msgstr ""
4045
7d76ea1d
DK
4046#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4047#: apt_preferences.5.xml:333
2a52e8c5 4048msgid ""
7d76ea1d
DK
4049"causes a version to be installed unless there is a version available "
4050"belonging to some other distribution or the installed version is more recent"
2a52e8c5
DK
4051msgstr ""
4052
7d76ea1d
DK
4053#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4054#: apt_preferences.5.xml:338
4055msgid "0 &lt; P &lt;=100"
2a52e8c5
DK
4056msgstr ""
4057
7d76ea1d
DK
4058#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4059#: apt_preferences.5.xml:339
2a52e8c5 4060msgid ""
7d76ea1d
DK
4061"causes a version to be installed only if there is no installed version of "
4062"the package"
2a52e8c5
DK
4063msgstr ""
4064
7d76ea1d
DK
4065#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4066#: apt_preferences.5.xml:343
4067msgid "P &lt; 0"
2a52e8c5
DK
4068msgstr ""
4069
7d76ea1d
DK
4070#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4071#: apt_preferences.5.xml:344
4072msgid "prevents the version from being installed"
2a52e8c5
DK
4073msgstr ""
4074
7d76ea1d
DK
4075#. type: Content of: <refentry><refsect1><refsect2><para>
4076#: apt_preferences.5.xml:349
4077msgid ""
4078"If any specific-form records match an available package version then the "
4079"first such record determines the priority of the package version. Failing "
4080"that, if any general-form records match an available package version then "
4081"the first such record determines the priority of the package version."
3e9c4f70
DK
4082msgstr ""
4083
4084#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 4085#: apt_preferences.5.xml:355
3e9c4f70 4086msgid ""
7d76ea1d
DK
4087"For example, suppose the APT preferences file contains the three records "
4088"presented earlier:"
3e9c4f70
DK
4089msgstr ""
4090
7d76ea1d
DK
4091#. type: Content of: <refentry><refsect1><refsect2><programlisting>
4092#: apt_preferences.5.xml:359
3e9c4f70
DK
4093#, no-wrap
4094msgid ""
7d76ea1d 4095"Package: perl\n"
75d9bdba 4096"Pin: version &good-perl;*\n"
7d76ea1d
DK
4097"Pin-Priority: 1001\n"
4098"\n"
4099"Package: *\n"
4100"Pin: origin \"\"\n"
4101"Pin-Priority: 999\n"
4102"\n"
4103"Package: *\n"
4104"Pin: release unstable\n"
4105"Pin-Priority: 50\n"
3e9c4f70
DK
4106msgstr ""
4107
4108#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d
DK
4109#: apt_preferences.5.xml:372
4110msgid "Then:"
4111msgstr ""
4112
4113#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4114#: apt_preferences.5.xml:374
3e9c4f70 4115msgid ""
7d76ea1d
DK
4116"The most recent available version of the <literal>perl</literal> package "
4117"will be installed, so long as that version's version number begins with "
75d9bdba
JR
4118"\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> "
4119"&good-perl;* version of <literal>perl</literal> is available and the "
4120"installed version is &bad-perl;*, then <literal>perl</literal> will be "
4121"downgraded."
3e9c4f70
DK
4122msgstr ""
4123
7d76ea1d
DK
4124#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4125#: apt_preferences.5.xml:379
3e9c4f70 4126msgid ""
7d76ea1d
DK
4127"A version of any package other than <literal>perl</literal> that is "
4128"available from the local system has priority over other versions, even "
4129"versions belonging to the target release."
3e9c4f70
DK
4130msgstr ""
4131
7d76ea1d
DK
4132#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4133#: apt_preferences.5.xml:383
5e312de7 4134msgid ""
7d76ea1d
DK
4135"A version of a package whose origin is not the local system but some other "
4136"site listed in &sources-list; and which belongs to an "
4137"<literal>unstable</literal> distribution is only installed if it is selected "
4138"for installation and no version of the package is already installed."
4139msgstr ""
4140
4141#. type: Content of: <refentry><refsect1><refsect2><title>
4142#: apt_preferences.5.xml:393
4143msgid "Determination of Package Version and Distribution Properties"
4144msgstr ""
4145
4146#. type: Content of: <refentry><refsect1><refsect2><para>
4147#: apt_preferences.5.xml:395
4148msgid ""
4149"The locations listed in the &sources-list; file should provide "
4150"<filename>Packages</filename> and <filename>Release</filename> files to "
4151"describe the packages available at that location."
3e9c4f70
DK
4152msgstr ""
4153
7d76ea1d
DK
4154#. type: Content of: <refentry><refsect1><refsect2><para>
4155#: apt_preferences.5.xml:399
3e9c4f70 4156msgid ""
7d76ea1d
DK
4157"The <filename>Packages</filename> file is normally found in the directory "
4158"<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: "
4159"for example, "
4160"<filename>.../dists/stable/main/binary-i386/Packages</filename>. It "
4161"consists of a series of multi-line records, one for each package available "
4162"in that directory. Only two lines in each record are relevant for setting "
4163"APT priorities:"
5e312de7
DK
4164msgstr ""
4165
7d76ea1d
DK
4166#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4167#: apt_preferences.5.xml:407
4168msgid "the <literal>Package:</literal> line"
5e312de7
DK
4169msgstr ""
4170
7d76ea1d
DK
4171#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4172#: apt_preferences.5.xml:408
4173msgid "gives the package name"
5e312de7
DK
4174msgstr ""
4175
7d76ea1d
DK
4176#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4177#: apt_preferences.5.xml:411 apt_preferences.5.xml:461
4178msgid "the <literal>Version:</literal> line"
5e312de7
DK
4179msgstr ""
4180
7d76ea1d
DK
4181#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4182#: apt_preferences.5.xml:412
4183msgid "gives the version number for the named package"
4184msgstr ""
4185
4186#. type: Content of: <refentry><refsect1><refsect2><para>
4187#: apt_preferences.5.xml:417
5e312de7 4188msgid ""
7d76ea1d
DK
4189"The <filename>Release</filename> file is normally found in the directory "
4190"<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
4191"example, <filename>.../dists/stable/Release</filename>, or "
4192"<filename>.../dists/&stable-codename;/Release</filename>. It consists of a "
4193"single multi-line record which applies to <emphasis>all</emphasis> of the "
4194"packages in the directory tree below its parent. Unlike the "
4195"<filename>Packages</filename> file, nearly all of the lines in a "
4196"<filename>Release</filename> file are relevant for setting APT priorities:"
3e9c4f70
DK
4197msgstr ""
4198
7d76ea1d
DK
4199#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4200#: apt_preferences.5.xml:428
4201msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
2a52e8c5
DK
4202msgstr ""
4203
7d76ea1d
DK
4204#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4205#: apt_preferences.5.xml:429
2a52e8c5 4206msgid ""
7d76ea1d
DK
4207"names the archive to which all the packages in the directory tree belong. "
4208"For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
4209"that all of the packages in the directory tree below the parent of the "
4210"<filename>Release</filename> file are in a <literal>stable</literal> "
4211"archive. Specifying this value in the APT preferences file would require "
4212"the line:"
2a52e8c5
DK
4213msgstr ""
4214
7d76ea1d
DK
4215#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4216#: apt_preferences.5.xml:439
4217#, no-wrap
4218msgid "Pin: release a=stable\n"
2a52e8c5
DK
4219msgstr ""
4220
7d76ea1d
DK
4221#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4222#: apt_preferences.5.xml:445
4223msgid "the <literal>Codename:</literal> line"
2a52e8c5
DK
4224msgstr ""
4225
7d76ea1d
DK
4226#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4227#: apt_preferences.5.xml:446
2a52e8c5 4228msgid ""
7d76ea1d
DK
4229"names the codename to which all the packages in the directory tree belong. "
4230"For example, the line \"Codename: &testing-codename;\" specifies that all of "
4231"the packages in the directory tree below the parent of the "
4232"<filename>Release</filename> file belong to a version named "
4233"<literal>&testing-codename;</literal>. Specifying this value in the APT "
4234"preferences file would require the line:"
2a52e8c5
DK
4235msgstr ""
4236
7d76ea1d
DK
4237#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4238#: apt_preferences.5.xml:455
4239#, no-wrap
4240msgid "Pin: release n=&testing-codename;\n"
2a52e8c5
DK
4241msgstr ""
4242
7d76ea1d
DK
4243#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4244#: apt_preferences.5.xml:462
2a52e8c5 4245msgid ""
7d76ea1d 4246"names the release version. For example, the packages in the tree might "
44477002
JR
4247"belong to Debian release version &stable-version;. Note that there is "
4248"normally no version number for the <literal>testing</literal> and "
7d76ea1d
DK
4249"<literal>unstable</literal> distributions because they have not been "
4250"released yet. Specifying this in the APT preferences file would require one "
4251"of the following lines."
2a52e8c5
DK
4252msgstr ""
4253
7d76ea1d
DK
4254#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4255#: apt_preferences.5.xml:471
4256#, no-wrap
2a52e8c5 4257msgid ""
44477002
JR
4258"Pin: release v=&stable-version;\n"
4259"Pin: release a=stable, v=&stable-version;\n"
4260"Pin: release &stable-version;\n"
2a52e8c5
DK
4261msgstr ""
4262
7d76ea1d
DK
4263#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4264#: apt_preferences.5.xml:480
4265msgid "the <literal>Component:</literal> line"
2a52e8c5
DK
4266msgstr ""
4267
7d76ea1d
DK
4268#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4269#: apt_preferences.5.xml:481
4270msgid ""
4271"names the licensing component associated with the packages in the directory "
4272"tree of the <filename>Release</filename> file. For example, the line "
4273"\"Component: main\" specifies that all the packages in the directory tree "
4274"are from the <literal>main</literal> component, which entails that they are "
4275"licensed under terms listed in the Debian Free Software Guidelines. "
4276"Specifying this component in the APT preferences file would require the "
4277"line:"
2a52e8c5
DK
4278msgstr ""
4279
7d76ea1d
DK
4280#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4281#: apt_preferences.5.xml:490
4282#, no-wrap
4283msgid "Pin: release c=main\n"
2a52e8c5
DK
4284msgstr ""
4285
7d76ea1d
DK
4286#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4287#: apt_preferences.5.xml:496
4288msgid "the <literal>Origin:</literal> line"
2a52e8c5
DK
4289msgstr ""
4290
7d76ea1d
DK
4291#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4292#: apt_preferences.5.xml:497
4293msgid ""
4294"names the originator of the packages in the directory tree of the "
4295"<filename>Release</filename> file. Most commonly, this is "
4296"<literal>Debian</literal>. Specifying this origin in the APT preferences "
4297"file would require the line:"
2a52e8c5
DK
4298msgstr ""
4299
7d76ea1d
DK
4300#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4301#: apt_preferences.5.xml:503
4302#, no-wrap
4303msgid "Pin: release o=Debian\n"
2a52e8c5
DK
4304msgstr ""
4305
7d76ea1d
DK
4306#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4307#: apt_preferences.5.xml:509
4308msgid "the <literal>Label:</literal> line"
4309msgstr ""
4310
4311#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4312#: apt_preferences.5.xml:510
2a52e8c5 4313msgid ""
7d76ea1d
DK
4314"names the label of the packages in the directory tree of the "
4315"<filename>Release</filename> file. Most commonly, this is "
4316"<literal>Debian</literal>. Specifying this label in the APT preferences "
4317"file would require the line:"
2a52e8c5
DK
4318msgstr ""
4319
7d76ea1d
DK
4320#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4321#: apt_preferences.5.xml:516
4322#, no-wrap
4323msgid "Pin: release l=Debian\n"
2a52e8c5
DK
4324msgstr ""
4325
7d76ea1d
DK
4326#. type: Content of: <refentry><refsect1><refsect2><para>
4327#: apt_preferences.5.xml:523
2a52e8c5 4328msgid ""
7d76ea1d
DK
4329"All of the <filename>Packages</filename> and <filename>Release</filename> "
4330"files retrieved from locations listed in the &sources-list; file are stored "
4331"in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
4332"named by the variable <literal>Dir::State::Lists</literal> in the "
4333"<filename>apt.conf</filename> file. For example, the file "
4334"<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
4335"contains the <filename>Release</filename> file retrieved from the site "
4336"<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
4337"architecture files from the <literal>contrib</literal> component of the "
4338"<literal>unstable</literal> distribution."
2a52e8c5
DK
4339msgstr ""
4340
7d76ea1d
DK
4341#. type: Content of: <refentry><refsect1><refsect2><title>
4342#: apt_preferences.5.xml:536
4343msgid "Optional Lines in an APT Preferences Record"
2a52e8c5
DK
4344msgstr ""
4345
7d76ea1d
DK
4346#. type: Content of: <refentry><refsect1><refsect2><para>
4347#: apt_preferences.5.xml:538
2a52e8c5 4348msgid ""
7d76ea1d
DK
4349"Each record in the APT preferences file can optionally begin with one or "
4350"more lines beginning with the word <literal>Explanation:</literal>. This "
4351"provides a place for comments."
2a52e8c5
DK
4352msgstr ""
4353
7d76ea1d
DK
4354#. type: Content of: <refentry><refsect1><refsect2><title>
4355#: apt_preferences.5.xml:547
4356msgid "Tracking Stable"
2a52e8c5
DK
4357msgstr ""
4358
7d76ea1d
DK
4359#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4360#: apt_preferences.5.xml:555
4361#, no-wrap
2a52e8c5 4362msgid ""
7d76ea1d
DK
4363"Explanation: Uninstall or do not install any Debian-originated\n"
4364"Explanation: package versions other than those in the stable distro\n"
4365"Package: *\n"
4366"Pin: release a=stable\n"
4367"Pin-Priority: 900\n"
4368"\n"
4369"Package: *\n"
4370"Pin: release o=Debian\n"
4371"Pin-Priority: -10\n"
2a52e8c5
DK
4372msgstr ""
4373
7d76ea1d
DK
4374#. type: Content of: <refentry><refsect1><refsect2><para>
4375#: apt_preferences.5.xml:549
2a52e8c5 4376msgid ""
7d76ea1d
DK
4377"The following APT preferences file will cause APT to assign a priority "
4378"higher than the default (500) to all package versions belonging to a "
4379"<literal>stable</literal> distribution and a prohibitively low priority to "
4380"package versions belonging to other <literal>Debian</literal> "
4381"distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
4382msgstr ""
4383
7d76ea1d
DK
4384#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4385#: apt_preferences.5.xml:572 apt_preferences.5.xml:618 apt_preferences.5.xml:676
4386#, no-wrap
2a52e8c5 4387msgid ""
7d76ea1d
DK
4388"apt-get install <replaceable>package-name</replaceable>\n"
4389"apt-get upgrade\n"
4390"apt-get dist-upgrade\n"
2a52e8c5
DK
4391msgstr ""
4392
7d76ea1d
DK
4393#. type: Content of: <refentry><refsect1><refsect2><para>
4394#: apt_preferences.5.xml:567
2a52e8c5 4395msgid ""
7d76ea1d
DK
4396"With a suitable &sources-list; file and the above preferences file, any of "
4397"the following commands will cause APT to upgrade to the latest "
4398"<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
4399"id=\"0\"/>"
2a52e8c5
DK
4400msgstr ""
4401
7d76ea1d
DK
4402#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4403#: apt_preferences.5.xml:584
4404#, no-wrap
4405msgid "apt-get install <replaceable>package</replaceable>/testing\n"
2a52e8c5
DK
4406msgstr ""
4407
7d76ea1d
DK
4408#. type: Content of: <refentry><refsect1><refsect2><para>
4409#: apt_preferences.5.xml:578
2a52e8c5 4410msgid ""
7d76ea1d
DK
4411"The following command will cause APT to upgrade the specified package to the "
4412"latest version from the <literal>testing</literal> distribution; the package "
4413"will not be upgraded again unless this command is given again. <placeholder "
4414"type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
4415msgstr ""
4416
7d76ea1d
DK
4417#. type: Content of: <refentry><refsect1><refsect2><title>
4418#: apt_preferences.5.xml:590
4419msgid "Tracking Testing or Unstable"
2a52e8c5
DK
4420msgstr ""
4421
7d76ea1d
DK
4422#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4423#: apt_preferences.5.xml:599
4424#, no-wrap
2a52e8c5 4425msgid ""
7d76ea1d
DK
4426"Package: *\n"
4427"Pin: release a=testing\n"
4428"Pin-Priority: 900\n"
4429"\n"
4430"Package: *\n"
4431"Pin: release a=unstable\n"
4432"Pin-Priority: 800\n"
4433"\n"
4434"Package: *\n"
4435"Pin: release o=Debian\n"
4436"Pin-Priority: -10\n"
2a52e8c5
DK
4437msgstr ""
4438
7d76ea1d
DK
4439#. type: Content of: <refentry><refsect1><refsect2><para>
4440#: apt_preferences.5.xml:592
2a52e8c5 4441msgid ""
7d76ea1d
DK
4442"The following APT preferences file will cause APT to assign a high priority "
4443"to package versions from the <literal>testing</literal> distribution, a "
4444"lower priority to package versions from the <literal>unstable</literal> "
4445"distribution, and a prohibitively low priority to package versions from "
4446"other <literal>Debian</literal> distributions. <placeholder "
4447"type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
4448msgstr ""
4449
7d76ea1d
DK
4450#. type: Content of: <refentry><refsect1><refsect2><para>
4451#: apt_preferences.5.xml:613
2a52e8c5 4452msgid ""
7d76ea1d
DK
4453"With a suitable &sources-list; file and the above preferences file, any of "
4454"the following commands will cause APT to upgrade to the latest "
4455"<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
4456"id=\"0\"/>"
2a52e8c5
DK
4457msgstr ""
4458
7d76ea1d
DK
4459#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4460#: apt_preferences.5.xml:633
4461#, no-wrap
4462msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
2a52e8c5
DK
4463msgstr ""
4464
7d76ea1d
DK
4465#. type: Content of: <refentry><refsect1><refsect2><para>
4466#: apt_preferences.5.xml:624
4467msgid ""
4468"The following command will cause APT to upgrade the specified package to the "
4469"latest version from the <literal>unstable</literal> distribution. "
4470"Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
4471"the most recent <literal>testing</literal> version if that is more recent "
4472"than the installed version, otherwise, to the most recent "
4473"<literal>unstable</literal> version if that is more recent than the "
4474"installed version. <placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
4475msgstr ""
4476
7d76ea1d
DK
4477#. type: Content of: <refentry><refsect1><refsect2><title>
4478#: apt_preferences.5.xml:640
4479msgid "Tracking the evolution of a codename release"
2a52e8c5
DK
4480msgstr ""
4481
7d76ea1d
DK
4482#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4483#: apt_preferences.5.xml:654
4484#, no-wrap
2a52e8c5 4485msgid ""
7d76ea1d
DK
4486"Explanation: Uninstall or do not install any Debian-originated package "
4487"versions\n"
4488"Explanation: other than those in the distribution codenamed with "
4489"&testing-codename; or sid\n"
4490"Package: *\n"
4491"Pin: release n=&testing-codename;\n"
4492"Pin-Priority: 900\n"
4493"\n"
4494"Explanation: Debian unstable is always codenamed with sid\n"
4495"Package: *\n"
4496"Pin: release n=sid\n"
4497"Pin-Priority: 800\n"
4498"\n"
4499"Package: *\n"
4500"Pin: release o=Debian\n"
4501"Pin-Priority: -10\n"
2a52e8c5
DK
4502msgstr ""
4503
7d76ea1d
DK
4504#. type: Content of: <refentry><refsect1><refsect2><para>
4505#: apt_preferences.5.xml:642
2a52e8c5 4506msgid ""
7d76ea1d
DK
4507"The following APT preferences file will cause APT to assign a priority "
4508"higher than the default (500) to all package versions belonging to a "
4509"specified codename of a distribution and a prohibitively low priority to "
4510"package versions belonging to other <literal>Debian</literal> distributions, "
4511"codenames and archives. Note that with this APT preference APT will follow "
4512"the migration of a release from the archive <literal>testing</literal> to "
4513"<literal>stable</literal> and later <literal>oldstable</literal>. If you "
4514"want to follow for example the progress in <literal>testing</literal> "
4515"notwithstanding the codename changes you should use the example "
4516"configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
4517msgstr ""
4518
7d76ea1d
DK
4519#. type: Content of: <refentry><refsect1><refsect2><para>
4520#: apt_preferences.5.xml:671
2a52e8c5 4521msgid ""
7d76ea1d
DK
4522"With a suitable &sources-list; file and the above preferences file, any of "
4523"the following commands will cause APT to upgrade to the latest version(s) in "
4524"the release codenamed with <literal>&testing-codename;</literal>. "
4525"<placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
4526msgstr ""
4527
7d76ea1d
DK
4528#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4529#: apt_preferences.5.xml:691
4530#, no-wrap
4531msgid "apt-get install <replaceable>package</replaceable>/sid\n"
4532msgstr ""
4533
4534#. type: Content of: <refentry><refsect1><refsect2><para>
4535#: apt_preferences.5.xml:682
4536msgid ""
4537"The following command will cause APT to upgrade the specified package to the "
4538"latest version from the <literal>sid</literal> distribution. Thereafter, "
4539"<command>apt-get upgrade</command> will upgrade the package to the most "
4540"recent <literal>&testing-codename;</literal> version if that is more recent "
4541"than the installed version, otherwise, to the most recent "
4542"<literal>sid</literal> version if that is more recent than the installed "
4543"version. <placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
4544msgstr ""
4545
7d76ea1d
DK
4546#. type: Content of: <refentry><refsect1><para>
4547#: apt_preferences.5.xml:706
4548msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
2a52e8c5
DK
4549msgstr ""
4550
7d76ea1d
DK
4551#. type: Content of: <refentry><refnamediv><refpurpose>
4552#: sources.list.5.xml:33
4553msgid "Package resource list for APT"
2a52e8c5
DK
4554msgstr ""
4555
4556#. type: Content of: <refentry><refsect1><para>
7d76ea1d 4557#: sources.list.5.xml:37
2a52e8c5 4558msgid ""
7d76ea1d
DK
4559"The package resource list is used to locate archives of the package "
4560"distribution system in use on the system. At this time, this manual page "
4561"documents only the packaging system used by the Debian system. This control "
4562"file is <filename>/etc/apt/sources.list</filename>."
2a52e8c5
DK
4563msgstr ""
4564
4565#. type: Content of: <refentry><refsect1><para>
7d76ea1d 4566#: sources.list.5.xml:42
2a52e8c5 4567msgid ""
7d76ea1d
DK
4568"The source list is designed to support any number of active sources and a "
4569"variety of source media. The file lists one source per line, with the most "
4570"preferred source listed first. The format of each line is: <literal>type uri "
4571"args</literal> The first item, <literal>type</literal> determines the format "
4572"for <literal>args</literal>. <literal>uri</literal> is a Universal Resource "
4573"Identifier (URI), which is a superset of the more specific and well-known "
4574"Universal Resource Locator, or URL. The rest of the line can be marked as a "
4575"comment by using a #."
2a52e8c5
DK
4576msgstr ""
4577
7d76ea1d
DK
4578#. type: Content of: <refentry><refsect1><title>
4579#: sources.list.5.xml:53
4580msgid "sources.list.d"
0fd68707
MV
4581msgstr ""
4582
4583#. type: Content of: <refentry><refsect1><para>
7d76ea1d 4584#: sources.list.5.xml:54
0fd68707 4585msgid ""
7d76ea1d
DK
4586"The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
4587"add sources.list entries in separate files. The format is the same as for "
4588"the regular <filename>sources.list</filename> file. File names need to end "
4589"with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
4590"digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
44477002
JR
4591"Otherwise APT will print a notice that it has ignored a file, unless that "
4592"file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
30549c0c 4593"configuration list - in this case it will be silently ignored."
b39c1859
MV
4594msgstr ""
4595
7d76ea1d
DK
4596#. type: Content of: <refentry><refsect1><title>
4597#: sources.list.5.xml:65
4598msgid "The deb and deb-src types"
2a52e8c5
DK
4599msgstr ""
4600
7d76ea1d
DK
4601#. type: Content of: <refentry><refsect1><para>
4602#: sources.list.5.xml:66
2a52e8c5 4603msgid ""
7d76ea1d
DK
4604"The <literal>deb</literal> type describes a typical two-level Debian "
4605"archive, <filename>distribution/component</filename>. Typically, "
4606"<literal>distribution</literal> is generally an archivename like "
4607"<literal>stable</literal> or <literal>testing</literal> or a codename like "
4608"<literal>&stable-codename;</literal> or "
4609"<literal>&testing-codename;</literal> while component is one of "
4610"<literal>main</literal> <literal>contrib</literal> or "
4611"<literal>non-free</literal>. The <literal>deb-src</literal> type describes a "
4612"debian distribution's source code in the same form as the "
4613"<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
4614"to fetch source indexes."
2a52e8c5
DK
4615msgstr ""
4616
7d76ea1d
DK
4617#. type: Content of: <refentry><refsect1><para>
4618#: sources.list.5.xml:78
4619msgid ""
4620"The format for a <filename>sources.list</filename> entry using the "
4621"<literal>deb</literal> and <literal>deb-src</literal> types is:"
4622msgstr ""
4623
4624#. type: Content of: <refentry><refsect1><literallayout>
4625#: sources.list.5.xml:81
2a52e8c5 4626#, no-wrap
7d76ea1d 4627msgid "deb [ options ] uri distribution [component1] [component2] [...]"
2a52e8c5
DK
4628msgstr ""
4629
7d76ea1d
DK
4630#. type: Content of: <refentry><refsect1><para>
4631#: sources.list.5.xml:83
2a52e8c5 4632msgid ""
7d76ea1d
DK
4633"The URI for the <literal>deb</literal> type must specify the base of the "
4634"Debian distribution, from which APT will find the information it needs. "
4635"<literal>distribution</literal> can specify an exact path, in which case the "
4636"components must be omitted and <literal>distribution</literal> must end with "
4637"a slash (/). This is useful for when the case only a particular sub-section "
4638"of the archive denoted by the URI is of interest. If "
4639"<literal>distribution</literal> does not specify an exact path, at least one "
4640"<literal>component</literal> must be present."
2a52e8c5
DK
4641msgstr ""
4642
7d76ea1d
DK
4643#. type: Content of: <refentry><refsect1><para>
4644#: sources.list.5.xml:92
aec22160 4645msgid ""
7d76ea1d
DK
4646"<literal>distribution</literal> may also contain a variable, "
4647"<literal>$(ARCH)</literal> which expands to the Debian architecture (i386, "
4648"m68k, powerpc, ...) used on the system. This permits "
4649"architecture-independent <filename>sources.list</filename> files to be "
4650"used. In general this is only of interest when specifying an exact path, "
4651"<literal>APT</literal> will automatically generate a URI with the current "
4652"architecture otherwise."
aec22160
DK
4653msgstr ""
4654
7d76ea1d
DK
4655#. type: Content of: <refentry><refsect1><para>
4656#: sources.list.5.xml:100
4657msgid ""
4658"Since only one distribution can be specified per line it may be necessary to "
4659"have multiple lines for the same URI, if a subset of all available "
4660"distributions or components at that location is desired. APT will sort the "
4661"URI list after it has generated a complete set internally, and will collapse "
4662"multiple references to the same Internet host, for instance, into a single "
4663"connection, so that it does not inefficiently establish an FTP connection, "
4664"close it, do something else, and then re-establish a connection to that same "
4665"host. This feature is useful for accessing busy FTP sites with limits on the "
4666"number of simultaneous anonymous users. APT also parallelizes connections to "
4667"different hosts to more effectively deal with sites with low bandwidth."
2a52e8c5
DK
4668msgstr ""
4669
7d76ea1d
DK
4670#. type: Content of: <refentry><refsect1><para>
4671#: sources.list.5.xml:112
b6c6b52f 4672msgid ""
7d76ea1d
DK
4673"<literal>options</literal> is always optional and needs to be surounded by "
4674"square brackets. It can consist of multiple settings in the form "
4675"<literal><replaceable>setting</replaceable>=<replaceable>value</replaceable></literal>. "
4676"Multiple settings are separated by spaces. The following settings are "
4677"supported by APT, note though that unsupported settings will be ignored "
4678"silently:"
b6c6b52f
MV
4679msgstr ""
4680
7d76ea1d
DK
4681#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4682#: sources.list.5.xml:117
4683msgid ""
4684"<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</replaceable>,…</literal> "
4685"can be used to specify for which architectures packages information should "
4686"be downloaded. If this option is not set all architectures defined by the "
4687"<literal>APT::Architectures</literal> option will be downloaded."
b6c6b52f
MV
4688msgstr ""
4689
7d76ea1d
DK
4690#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4691#: sources.list.5.xml:121
782486e8 4692msgid ""
7d76ea1d
DK
4693"<literal>trusted=yes</literal> can be set to indicate that packages from "
4694"this source are always authenticated even if the "
4695"<filename>Release</filename> file is not signed or the signature can't be "
4696"checked. This disables parts of &apt-secure; and should therefore only be "
4697"used in a local and trusted context. <literal>trusted=no</literal> is the "
4698"opposite which handles even correctly authenticated sources as not "
4699"authenticated."
2a52e8c5
DK
4700msgstr ""
4701
7d76ea1d
DK
4702#. type: Content of: <refentry><refsect1><para>
4703#: sources.list.5.xml:128
4704msgid ""
4705"It is important to list sources in order of preference, with the most "
4706"preferred source listed first. Typically this will result in sorting by "
4707"speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
4708"followed by distant Internet hosts, for example)."
2a52e8c5
DK
4709msgstr ""
4710
7d76ea1d
DK
4711#. type: Content of: <refentry><refsect1><para>
4712#: sources.list.5.xml:133
4713msgid "Some examples:"
4714msgstr ""
4715
4716#. type: Content of: <refentry><refsect1><literallayout>
4717#: sources.list.5.xml:135
4718#, no-wrap
2a52e8c5 4719msgid ""
7d76ea1d
DK
4720"deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
4721"deb http://security.debian.org/ &stable-codename;/updates main contrib "
4722"non-free\n"
4723" "
2a52e8c5
DK
4724msgstr ""
4725
7d76ea1d
DK
4726#. type: Content of: <refentry><refsect1><title>
4727#: sources.list.5.xml:141
4728msgid "URI specification"
2a52e8c5
DK
4729msgstr ""
4730
7d76ea1d
DK
4731#. type: Content of: <refentry><refsect1><para>
4732#: sources.list.5.xml:143
4733msgid "The currently recognized URI types are:"
2a52e8c5
DK
4734msgstr ""
4735
7d76ea1d
DK
4736#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4737#: sources.list.5.xml:147
2a52e8c5 4738msgid ""
7d76ea1d
DK
4739"The file scheme allows an arbitrary directory in the file system to be "
4740"considered an archive. This is useful for NFS mounts and local mirrors or "
4741"archives."
4742msgstr ""
4743
4744#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4745#: sources.list.5.xml:154
4746msgid ""
4747"The cdrom scheme allows APT to use a local CD-ROM drive with media "
4748"swapping. Use the &apt-cdrom; program to create cdrom entries in the source "
4749"list."
2a52e8c5
DK
4750msgstr ""
4751
7d76ea1d
DK
4752#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4753#: sources.list.5.xml:161
2a52e8c5 4754msgid ""
7d76ea1d
DK
4755"The http scheme specifies an HTTP server for the archive. If an environment "
4756"variable <envar>http_proxy</envar> is set with the format "
4757"http://server:port/, the proxy server specified in <envar>http_proxy</envar> "
4758"will be used. Users of authenticated HTTP/1.1 proxies may use a string of "
4759"the format http://user:pass@server:port/. Note that this is an insecure "
4760"method of authentication."
2a52e8c5
DK
4761msgstr ""
4762
7d76ea1d
DK
4763#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4764#: sources.list.5.xml:172
2a52e8c5 4765msgid ""
7d76ea1d
DK
4766"The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
4767"is highly configurable; for more information see the &apt-conf; manual "
4768"page. Please note that a ftp proxy can be specified by using the "
4769"<envar>ftp_proxy</envar> environment variable. It is possible to specify a "
4770"http proxy (http proxy servers often understand ftp urls) using this method "
4771"and ONLY this method. ftp proxies using http specified in the configuration "
4772"file will be ignored."
2a52e8c5
DK
4773msgstr ""
4774
7d76ea1d
DK
4775#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4776#: sources.list.5.xml:183
4777msgid ""
4778"The copy scheme is identical to the file scheme except that packages are "
4779"copied into the cache directory instead of used directly at their location. "
4780"This is useful for people using a zip disk to copy files around with APT."
2a52e8c5
DK
4781msgstr ""
4782
7d76ea1d
DK
4783#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4784#: sources.list.5.xml:190
2a52e8c5 4785msgid ""
7d76ea1d
DK
4786"The rsh/ssh method invokes rsh/ssh to connect to a remote host as a given "
4787"user and access the files. It is a good idea to do prior arrangements with "
4788"RSA keys or rhosts. Access to files on the remote uses standard "
4789"<command>find</command> and <command>dd</command> commands to perform the "
4790"file transfers from the remote."
2a52e8c5
DK
4791msgstr ""
4792
7d76ea1d
DK
4793#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4794#: sources.list.5.xml:198
4795msgid "adding more recognizable URI types"
2a52e8c5
DK
4796msgstr ""
4797
7d76ea1d
DK
4798#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4799#: sources.list.5.xml:200
2a52e8c5 4800msgid ""
7d76ea1d
DK
4801"APT can be extended with more methods shipped in other optional packages "
4802"which should follow the nameing scheme "
4803"<package>apt-transport-<replaceable>method</replaceable></package>. The APT "
4804"team e.g. maintains also the <package>apt-transport-https</package> package "
4805"which provides access methods for https-URIs with features similar to the "
4806"http method, but other methods for using e.g. debtorrent are also available, "
4807"see &apt-transport-debtorrent;."
2a52e8c5
DK
4808msgstr ""
4809
7d76ea1d
DK
4810#. type: Content of: <refentry><refsect1><para>
4811#: sources.list.5.xml:212
2a52e8c5 4812msgid ""
7d76ea1d
DK
4813"Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
4814"stable/main, stable/contrib, and stable/non-free."
2a52e8c5
DK
4815msgstr ""
4816
7d76ea1d
DK
4817#. type: Content of: <refentry><refsect1><literallayout>
4818#: sources.list.5.xml:214
4819#, no-wrap
4820msgid "deb file:/home/jason/debian stable main contrib non-free"
2a52e8c5
DK
4821msgstr ""
4822
7d76ea1d
DK
4823#. type: Content of: <refentry><refsect1><para>
4824#: sources.list.5.xml:216
4825msgid "As above, except this uses the unstable (development) distribution."
2a52e8c5
DK
4826msgstr ""
4827
7d76ea1d
DK
4828#. type: Content of: <refentry><refsect1><literallayout>
4829#: sources.list.5.xml:217
4830#, no-wrap
4831msgid "deb file:/home/jason/debian unstable main contrib non-free"
2a52e8c5
DK
4832msgstr ""
4833
7d76ea1d
DK
4834#. type: Content of: <refentry><refsect1><para>
4835#: sources.list.5.xml:219
4836msgid "Source line for the above"
2a52e8c5
DK
4837msgstr ""
4838
7d76ea1d
DK
4839#. type: Content of: <refentry><refsect1><literallayout>
4840#: sources.list.5.xml:220
2a52e8c5 4841#, no-wrap
7d76ea1d
DK
4842msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
4843msgstr ""
4844
4845#. type: Content of: <refentry><refsect1><para>
4846#: sources.list.5.xml:222
2a52e8c5 4847msgid ""
7d76ea1d
DK
4848"The first line gets package information for the architectures in "
4849"<literal>APT::Architectures</literal> while the second always retrieves "
4850"<literal>amd64</literal> and <literal>armel</literal>."
2a52e8c5
DK
4851msgstr ""
4852
7d76ea1d
DK
4853#. type: Content of: <refentry><refsect1><literallayout>
4854#: sources.list.5.xml:224
4855#, no-wrap
2a52e8c5 4856msgid ""
7d76ea1d
DK
4857"deb http://ftp.debian.org/debian &stable-codename; main\n"
4858"deb [ arch=amd64,armel ] http://ftp.debian.org/debian &stable-codename; main"
2a52e8c5
DK
4859msgstr ""
4860
7d76ea1d
DK
4861#. type: Content of: <refentry><refsect1><para>
4862#: sources.list.5.xml:227
2a52e8c5 4863msgid ""
7d76ea1d
DK
4864"Uses HTTP to access the archive at archive.debian.org, and uses only the "
4865"hamm/main area."
2a52e8c5
DK
4866msgstr ""
4867
7d76ea1d
DK
4868#. type: Content of: <refentry><refsect1><literallayout>
4869#: sources.list.5.xml:229
2a52e8c5 4870#, no-wrap
7d76ea1d 4871msgid "deb http://archive.debian.org/debian-archive hamm main"
2a52e8c5
DK
4872msgstr ""
4873
7d76ea1d
DK
4874#. type: Content of: <refentry><refsect1><para>
4875#: sources.list.5.xml:231
2a52e8c5 4876msgid ""
7d76ea1d
DK
4877"Uses FTP to access the archive at ftp.debian.org, under the debian "
4878"directory, and uses only the &stable-codename;/contrib area."
b81dbe40
DK
4879msgstr ""
4880
7d76ea1d
DK
4881#. type: Content of: <refentry><refsect1><literallayout>
4882#: sources.list.5.xml:233
b81dbe40 4883#, no-wrap
7d76ea1d 4884msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
2a52e8c5
DK
4885msgstr ""
4886
7d76ea1d
DK
4887#. type: Content of: <refentry><refsect1><para>
4888#: sources.list.5.xml:235
b81dbe40 4889msgid ""
7d76ea1d
DK
4890"Uses FTP to access the archive at ftp.debian.org, under the debian "
4891"directory, and uses only the unstable/contrib area. If this line appears as "
4892"well as the one in the previous example in <filename>sources.list</filename> "
4893"a single FTP session will be used for both resource lines."
b81dbe40
DK
4894msgstr ""
4895
7d76ea1d
DK
4896#. type: Content of: <refentry><refsect1><literallayout>
4897#: sources.list.5.xml:239
4898#, no-wrap
4899msgid "deb ftp://ftp.debian.org/debian unstable contrib"
2a52e8c5
DK
4900msgstr ""
4901
7d76ea1d
DK
4902#. type: Content of: <refentry><refsect1><para><literallayout>
4903#: sources.list.5.xml:248
2a52e8c5 4904#, no-wrap
7d76ea1d 4905msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
2a52e8c5
DK
4906msgstr ""
4907
7d76ea1d
DK
4908#. type: Content of: <refentry><refsect1><para>
4909#: sources.list.5.xml:241
2a52e8c5 4910msgid ""
7d76ea1d
DK
4911"Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
4912"directory, and uses only files found under "
4913"<filename>unstable/binary-i386</filename> on i386 machines, "
4914"<filename>unstable/binary-amd64</filename> on amd64, and so forth for other "
4915"supported architectures. [Note this example only illustrates how to use the "
4916"substitution variable; official debian archives are not structured like "
4917"this] <placeholder type=\"literallayout\" id=\"0\"/>"
2a52e8c5
DK
4918msgstr ""
4919
7d76ea1d
DK
4920#. type: Content of: <refentry><refsect1><para>
4921#: sources.list.5.xml:253
4922msgid "&apt-cache; &apt-conf;"
4923msgstr ""
4924
4925#. type: Content of: <refentry><refmeta><manvolnum>
4926#: apt-extracttemplates.1.xml:26 apt-sortpkgs.1.xml:26 apt-ftparchive.1.xml:26
4927msgid "1"
2a52e8c5
DK
4928msgstr ""
4929
7d76ea1d
DK
4930#. type: Content of: <refentry><refnamediv><refpurpose>
4931#: apt-extracttemplates.1.xml:33
2a52e8c5 4932msgid ""
7d76ea1d
DK
4933"Utility to extract <command>debconf</command> config and templates from "
4934"Debian packages"
2a52e8c5
DK
4935msgstr ""
4936
7d76ea1d
DK
4937#. type: Content of: <refentry><refsect1><para>
4938#: apt-extracttemplates.1.xml:39
2a52e8c5 4939msgid ""
7d76ea1d
DK
4940"<command>apt-extracttemplates</command> will take one or more Debian package "
4941"files as input and write out (to a temporary directory) all associated "
4942"config scripts and template files. For each passed in package that contains "
4943"config scripts and templates, one line of output will be generated in the "
4944"format:"
2a52e8c5
DK
4945msgstr ""
4946
7d76ea1d
DK
4947#. type: Content of: <refentry><refsect1><para>
4948#: apt-extracttemplates.1.xml:44
4949msgid "package version template-file config-script"
782486e8
MV
4950msgstr ""
4951
7d76ea1d
DK
4952#. type: Content of: <refentry><refsect1><para>
4953#: apt-extracttemplates.1.xml:45
782486e8 4954msgid ""
7d76ea1d
DK
4955"template-file and config-script are written to the temporary directory "
4956"specified by the <option>-t</option> or <option>--tempdir</option> "
4957"(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
4958"filenames of the form <filename>package.template.XXXX</filename> and "
4959"<filename>package.config.XXXX</filename>"
782486e8
MV
4960msgstr ""
4961
7d76ea1d
DK
4962#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4963#: apt-extracttemplates.1.xml:58
782486e8 4964msgid ""
7d76ea1d
DK
4965"Temporary directory in which to write extracted <command>debconf</command> "
4966"template files and config scripts. Configuration Item: "
4967"<literal>APT::ExtractTemplates::TempDir</literal>"
782486e8
MV
4968msgstr ""
4969
7d76ea1d
DK
4970#. type: Content of: <refentry><refsect1><para>
4971#: apt-extracttemplates.1.xml:75
782486e8 4972msgid ""
7d76ea1d
DK
4973"<command>apt-extracttemplates</command> returns zero on normal operation, "
4974"decimal 100 on error."
782486e8
MV
4975msgstr ""
4976
7d76ea1d
DK
4977#. type: Content of: <refentry><refnamediv><refpurpose>
4978#: apt-sortpkgs.1.xml:33
4979msgid "Utility to sort package index files"
782486e8
MV
4980msgstr ""
4981
7d76ea1d
DK
4982#. type: Content of: <refentry><refsect1><para>
4983#: apt-sortpkgs.1.xml:39
2b9b27c3 4984msgid ""
14301cf3
JR
4985"<command>apt-sortpkgs</command> will take an index file (source index or "
4986"package index) and sort the records so that they are ordered by the package "
7d76ea1d
DK
4987"name. It will also sort the internal fields of each record according to the "
4988"internal sorting rules."
782486e8
MV
4989msgstr ""
4990
7d76ea1d
DK
4991#. type: Content of: <refentry><refsect1><para>
4992#: apt-sortpkgs.1.xml:45
4993msgid "All output is sent to stdout, the input must be a seekable file."
2a52e8c5
DK
4994msgstr ""
4995
7d76ea1d
DK
4996#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4997#: apt-sortpkgs.1.xml:54
aec22160 4998msgid ""
14301cf3 4999"Use source index field ordering. Configuration Item: "
7d76ea1d 5000"<literal>APT::SortPkgs::Source</literal>."
2a52e8c5
DK
5001msgstr ""
5002
7d76ea1d
DK
5003#. type: Content of: <refentry><refsect1><para>
5004#: apt-sortpkgs.1.xml:68
2a52e8c5 5005msgid ""
7d76ea1d
DK
5006"<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
5007"100 on error."
2a52e8c5
DK
5008msgstr ""
5009
7d76ea1d
DK
5010#. type: Content of: <refentry><refnamediv><refpurpose>
5011#: apt-ftparchive.1.xml:33
5012msgid "Utility to generate index files"
2a52e8c5
DK
5013msgstr ""
5014
7d76ea1d
DK
5015#. type: Content of: <refentry><refsect1><para>
5016#: apt-ftparchive.1.xml:39
2a52e8c5 5017msgid ""
7d76ea1d
DK
5018"<command>apt-ftparchive</command> is the command line tool that generates "
5019"the index files that APT uses to access a distribution source. The index "
5020"files should be generated on the origin site based on the content of that "
5021"site."
2a52e8c5
DK
5022msgstr ""
5023
7d76ea1d
DK
5024#. type: Content of: <refentry><refsect1><para>
5025#: apt-ftparchive.1.xml:43
2a52e8c5 5026msgid ""
7d76ea1d
DK
5027"<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
5028"program, incorporating its entire functionality via the "
5029"<literal>packages</literal> command. It also contains a contents file "
5030"generator, <literal>contents</literal>, and an elaborate means to 'script' "
5031"the generation process for a complete archive."
2a52e8c5
DK
5032msgstr ""
5033
7d76ea1d
DK
5034#. type: Content of: <refentry><refsect1><para>
5035#: apt-ftparchive.1.xml:49
5036msgid ""
5037"Internally <command>apt-ftparchive</command> can make use of binary "
5038"databases to cache the contents of a .deb file and it does not rely on any "
5039"external programs aside from &gzip;. When doing a full generate it "
5040"automatically performs file-change checks and builds the desired compressed "
5041"output files."
2a52e8c5
DK
5042msgstr ""
5043
7d76ea1d
DK
5044#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5045#: apt-ftparchive.1.xml:60
2a52e8c5 5046msgid ""
7d76ea1d
DK
5047"The packages command generates a package file from a directory tree. It "
5048"takes the given directory and recursively searches it for .deb files, "
5049"emitting a package record to stdout for each. This command is approximately "
5050"equivalent to &dpkg-scanpackages;."
2a52e8c5
DK
5051msgstr ""
5052
7d76ea1d
DK
5053#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5054#: apt-ftparchive.1.xml:65 apt-ftparchive.1.xml:89
5055msgid "The option <option>--db</option> can be used to specify a binary caching DB."
2a52e8c5
DK
5056msgstr ""
5057
7d76ea1d
DK
5058#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5059#: apt-ftparchive.1.xml:70
2a52e8c5 5060msgid ""
7d76ea1d
DK
5061"The <literal>sources</literal> command generates a source index file from a "
5062"directory tree. It takes the given directory and recursively searches it "
5063"for .dsc files, emitting a source record to stdout for each. This command is "
5064"approximately equivalent to &dpkg-scansources;."
2a52e8c5
DK
5065msgstr ""
5066
7d76ea1d
DK
5067#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5068#: apt-ftparchive.1.xml:75
5069msgid ""
5070"If an override file is specified then a source override file will be looked "
5071"for with an extension of .src. The --source-override option can be used to "
5072"change the source override file that will be used."
2a52e8c5
DK
5073msgstr ""
5074
7d76ea1d
DK
5075#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5076#: apt-ftparchive.1.xml:82
5077msgid ""
5078"The <literal>contents</literal> command generates a contents file from a "
5079"directory tree. It takes the given directory and recursively searches it for "
5080".deb files, and reads the file list from each file. It then sorts and writes "
5081"to stdout the list of files matched to packages. Directories are not written "
5082"to the output. If multiple packages own the same file then each package is "
5083"separated by a comma in the output."
2a52e8c5
DK
5084msgstr ""
5085
7d76ea1d
DK
5086#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5087#: apt-ftparchive.1.xml:94
2a52e8c5 5088msgid ""
7d76ea1d
DK
5089"The <literal>release</literal> command generates a Release file from a "
5090"directory tree. It recursively searches the given directory for uncompressed "
5091"<filename>Packages</filename> and <filename>Sources</filename> files and "
5092"ones compressed with <command>gzip</command>, <command>bzip2</command> or "
5093"<command>lzma</command> as well as <filename>Release</filename> and "
5094"<filename>md5sum.txt</filename> files by default "
5095"(<literal>APT::FTPArchive::Release::Default-Patterns</literal>). Additional "
5096"filename patterns can be added by listing them in "
5097"<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
5098"stdout a <filename>Release</filename> file containing an MD5, SHA1 and "
5099"SHA256 digest for each file."
2a52e8c5
DK
5100msgstr ""
5101
7d76ea1d
DK
5102#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5103#: apt-ftparchive.1.xml:104
2a52e8c5 5104msgid ""
7d76ea1d
DK
5105"Values for the additional metadata fields in the Release file are taken from "
5106"the corresponding variables under "
5107"<literal>APT::FTPArchive::Release</literal>, "
5108"e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported "
5109"fields are: <literal>Origin</literal>, <literal>Label</literal>, "
5110"<literal>Suite</literal>, <literal>Version</literal>, "
5111"<literal>Codename</literal>, <literal>Date</literal>, "
5112"<literal>Valid-Until</literal>, <literal>Architectures</literal>, "
5113"<literal>Components</literal>, <literal>Description</literal>."
2a52e8c5
DK
5114msgstr ""
5115
7d76ea1d
DK
5116#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5117#: apt-ftparchive.1.xml:117
2a52e8c5 5118msgid ""
7d76ea1d
DK
5119"The <literal>generate</literal> command is designed to be runnable from a "
5120"cron script and builds indexes according to the given config file. The "
5121"config language provides a flexible means of specifying which index files "
5122"are built from which directories, as well as providing a simple means of "
5123"maintaining the required settings."
2a52e8c5
DK
5124msgstr ""
5125
7d76ea1d
DK
5126#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5127#: apt-ftparchive.1.xml:126
5128msgid ""
5129"The <literal>clean</literal> command tidies the databases used by the given "
5130"configuration file by removing any records that are no longer necessary."
2a52e8c5
DK
5131msgstr ""
5132
7d76ea1d
DK
5133#. type: Content of: <refentry><refsect1><title>
5134#: apt-ftparchive.1.xml:132
5135msgid "The Generate Configuration"
2a52e8c5
DK
5136msgstr ""
5137
7d76ea1d
DK
5138#. type: Content of: <refentry><refsect1><para>
5139#: apt-ftparchive.1.xml:134
2a52e8c5 5140msgid ""
7d76ea1d
DK
5141"The <literal>generate</literal> command uses a configuration file to "
5142"describe the archives that are going to be generated. It follows the typical "
5143"ISC configuration format as seen in ISC tools like bind 8 and dhcpd. "
5144"&apt-conf; contains a description of the syntax. Note that the generate "
5145"configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
5146"tree manner. This only effects how the scope tag is handled."
2a52e8c5
DK
5147msgstr ""
5148
7d76ea1d
DK
5149#. type: Content of: <refentry><refsect1><para>
5150#: apt-ftparchive.1.xml:142
5151msgid "The generate configuration has four separate sections, each described below."
2a52e8c5
DK
5152msgstr ""
5153
5154#. type: Content of: <refentry><refsect1><refsect2><title>
7d76ea1d
DK
5155#: apt-ftparchive.1.xml:144
5156msgid "<literal>Dir</literal> Section"
2a52e8c5
DK
5157msgstr ""
5158
5159#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5160#: apt-ftparchive.1.xml:146
2a52e8c5 5161msgid ""
7d76ea1d
DK
5162"The <literal>Dir</literal> section defines the standard directories needed "
5163"to locate the files required during the generation process. These "
5164"directories are prepended certain relative paths defined in later sections "
5165"to produce a complete an absolute path."
2a52e8c5
DK
5166msgstr ""
5167
7d76ea1d
DK
5168#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5169#: apt-ftparchive.1.xml:153
aec22160 5170msgid ""
7d76ea1d
DK
5171"Specifies the root of the FTP archive, in a standard Debian configuration "
5172"this is the directory that contains the <filename>ls-LR</filename> and dist "
5173"nodes."
aec22160
DK
5174msgstr ""
5175
7d76ea1d
DK
5176#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5177#: apt-ftparchive.1.xml:160
5178msgid "Specifies the location of the override files."
2a52e8c5
DK
5179msgstr ""
5180
7d76ea1d
DK
5181#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5182#: apt-ftparchive.1.xml:165
5183msgid "Specifies the location of the cache files."
2a52e8c5
DK
5184msgstr ""
5185
7d76ea1d
DK
5186#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5187#: apt-ftparchive.1.xml:170
5188msgid ""
5189"Specifies the location of the file list files, if the "
5190"<literal>FileList</literal> setting is used below."
2a52e8c5
DK
5191msgstr ""
5192
7d76ea1d
DK
5193#. type: Content of: <refentry><refsect1><refsect2><title>
5194#: apt-ftparchive.1.xml:176
5195msgid "<literal>Default</literal> Section"
2a52e8c5
DK
5196msgstr ""
5197
5198#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5199#: apt-ftparchive.1.xml:178
2a52e8c5 5200msgid ""
7d76ea1d
DK
5201"The <literal>Default</literal> section specifies default values, and "
5202"settings that control the operation of the generator. Other sections may "
5203"override these defaults with a per-section setting."
2a52e8c5
DK
5204msgstr ""
5205
7d76ea1d
DK
5206#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5207#: apt-ftparchive.1.xml:184
2a52e8c5 5208msgid ""
14301cf3 5209"Sets the default compression schemes to use for the package index files. It "
7d76ea1d
DK
5210"is a string that contains a space separated list of at least one of: '.' (no "
5211"compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
5212"'. gzip'."
2a52e8c5
DK
5213msgstr ""
5214
7d76ea1d
DK
5215#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5216#: apt-ftparchive.1.xml:192
5217msgid ""
5218"Sets the default list of file extensions that are package files. This "
5219"defaults to '.deb'."
2a52e8c5
DK
5220msgstr ""
5221
7d76ea1d
DK
5222#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5223#: apt-ftparchive.1.xml:198
2a52e8c5 5224msgid ""
7d76ea1d
DK
5225"This is similar to <literal>Packages::Compress</literal> except that it "
5226"controls the compression for the Sources files."
2a52e8c5
DK
5227msgstr ""
5228
7d76ea1d
DK
5229#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5230#: apt-ftparchive.1.xml:204
5231msgid ""
5232"Sets the default list of file extensions that are source files. This "
5233"defaults to '.dsc'."
2a52e8c5
DK
5234msgstr ""
5235
7d76ea1d
DK
5236#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5237#: apt-ftparchive.1.xml:210
2a52e8c5 5238msgid ""
7d76ea1d
DK
5239"This is similar to <literal>Packages::Compress</literal> except that it "
5240"controls the compression for the Contents files."
2a52e8c5
DK
5241msgstr ""
5242
7d76ea1d
DK
5243#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5244#: apt-ftparchive.1.xml:216
2a52e8c5 5245msgid ""
7d76ea1d
DK
5246"This is similar to <literal>Packages::Compress</literal> except that it "
5247"controls the compression for the Translation-en master file."
2a52e8c5
DK
5248msgstr ""
5249
7d76ea1d
DK
5250#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5251#: apt-ftparchive.1.xml:222
5252msgid ""
5253"Specifies the number of kilobytes to delink (and replace with hard links) "
5254"per run. This is used in conjunction with the per-section "
5255"<literal>External-Links</literal> setting."
2a52e8c5
DK
5256msgstr ""
5257
7d76ea1d
DK
5258#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5259#: apt-ftparchive.1.xml:229
2a52e8c5 5260msgid ""
7d76ea1d
DK
5261"Specifies the mode of all created index files. It defaults to 0644. All "
5262"index files are set to this mode with no regard to the umask."
2a52e8c5
DK
5263msgstr ""
5264
7d76ea1d
DK
5265#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5266#: apt-ftparchive.1.xml:236 apt-ftparchive.1.xml:382
5267msgid ""
5268"Specifies whether long descriptions should be included in the "
5269"<filename>Packages</filename> file or split out into a master "
5270"<filename>Translation-en</filename> file."
2a52e8c5
DK
5271msgstr ""
5272
7d76ea1d
DK
5273#. type: Content of: <refentry><refsect1><refsect2><title>
5274#: apt-ftparchive.1.xml:242
5275msgid "<literal>TreeDefault</literal> Section"
2a52e8c5
DK
5276msgstr ""
5277
7d76ea1d
DK
5278#. type: Content of: <refentry><refsect1><refsect2><para>
5279#: apt-ftparchive.1.xml:244
2a52e8c5 5280msgid ""
7d76ea1d
DK
5281"Sets defaults specific to <literal>Tree</literal> sections. All of these "
5282"variables are substitution variables and have the strings $(DIST), "
5283"$(SECTION) and $(ARCH) replaced with their respective values."
2a52e8c5
DK
5284msgstr ""
5285
7d76ea1d
DK
5286#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5287#: apt-ftparchive.1.xml:251
5288msgid ""
5289"Sets the number of kilobytes of contents files that are generated each "
5290"day. The contents files are round-robined so that over several days they "
5291"will all be rebuilt."
2a52e8c5
DK
5292msgstr ""
5293
7d76ea1d
DK
5294#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5295#: apt-ftparchive.1.xml:258
5296msgid ""
5297"Controls the number of days a contents file is allowed to be checked without "
5298"changing. If this limit is passed the mtime of the contents file is "
5299"updated. This case can occur if the package file is changed in such a way "
5300"that does not result in a new contents file [override edit for instance]. A "
5301"hold off is allowed in hopes that new .debs will be installed, requiring a "
5302"new file anyhow. The default is 10, the units are in days."
2a52e8c5
DK
5303msgstr ""
5304
7d76ea1d
DK
5305#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5306#: apt-ftparchive.1.xml:269
2a52e8c5 5307msgid ""
7d76ea1d
DK
5308"Sets the top of the .deb directory tree. Defaults to "
5309"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>"
2a52e8c5
DK
5310msgstr ""
5311
7d76ea1d
DK
5312#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5313#: apt-ftparchive.1.xml:275
2a52e8c5 5314msgid ""
7d76ea1d
DK
5315"Sets the top of the source package directory tree. Defaults to "
5316"<filename>$(DIST)/$(SECTION)/source/</filename>"
2a52e8c5
DK
5317msgstr ""
5318
7d76ea1d
DK
5319#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5320#: apt-ftparchive.1.xml:281
5321msgid ""
5322"Sets the output Packages file. Defaults to "
5323"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>"
2a52e8c5
DK
5324msgstr ""
5325
7d76ea1d
DK
5326#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5327#: apt-ftparchive.1.xml:287
2a52e8c5 5328msgid ""
7d76ea1d
DK
5329"Sets the output Sources file. Defaults to "
5330"<filename>$(DIST)/$(SECTION)/source/Sources</filename>"
2a52e8c5
DK
5331msgstr ""
5332
7d76ea1d
DK
5333#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5334#: apt-ftparchive.1.xml:293
5335msgid ""
5336"Sets the output Translation-en master file with the long descriptions if "
5337"they should be not included in the Packages file. Defaults to "
5338"<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
2a52e8c5
DK
5339msgstr ""
5340
7d76ea1d
DK
5341#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5342#: apt-ftparchive.1.xml:300
2a52e8c5 5343msgid ""
7d76ea1d
DK
5344"Sets the path prefix that causes a symlink to be considered an internal link "
5345"instead of an external link. Defaults to "
5346"<filename>$(DIST)/$(SECTION)/</filename>"
2a52e8c5
DK
5347msgstr ""
5348
7d76ea1d
DK
5349#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5350#: apt-ftparchive.1.xml:307
2a52e8c5 5351msgid ""
7d76ea1d
DK
5352"Sets the output Contents file. Defaults to "
5353"<filename>$(DIST)/Contents-$(ARCH)</filename>. If this setting causes "
5354"multiple Packages files to map onto a single Contents file (as is the "
5355"default) then <command>apt-ftparchive</command> will integrate those "
5356"package files together automatically."
2a52e8c5
DK
5357msgstr ""
5358
7d76ea1d
DK
5359#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5360#: apt-ftparchive.1.xml:316
5361msgid "Sets header file to prepend to the contents output."
2a52e8c5
DK
5362msgstr ""
5363
7d76ea1d
DK
5364#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5365#: apt-ftparchive.1.xml:321
2a52e8c5 5366msgid ""
7d76ea1d
DK
5367"Sets the binary cache database to use for this section. Multiple sections "
5368"can share the same database."
2a52e8c5
DK
5369msgstr ""
5370
7d76ea1d
DK
5371#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5372#: apt-ftparchive.1.xml:327
5373msgid ""
5374"Specifies that instead of walking the directory tree, "
5375"<command>apt-ftparchive</command> should read the list of files from the "
5376"given file. Relative files names are prefixed with the archive directory."
2a52e8c5
DK
5377msgstr ""
5378
7d76ea1d
DK
5379#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5380#: apt-ftparchive.1.xml:334
2a52e8c5 5381msgid ""
7d76ea1d
DK
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. "
5385"This is used when processing source indexes."
2a52e8c5
DK
5386msgstr ""
5387
5388#. type: Content of: <refentry><refsect1><refsect2><title>
7d76ea1d
DK
5389#: apt-ftparchive.1.xml:342
5390msgid "<literal>Tree</literal> Section"
2a52e8c5
DK
5391msgstr ""
5392
7d76ea1d
DK
5393#. type: Content of: <refentry><refsect1><refsect2><para>
5394#: apt-ftparchive.1.xml:344
2a52e8c5 5395msgid ""
7d76ea1d
DK
5396"The <literal>Tree</literal> section defines a standard Debian file tree "
5397"which consists of a base directory, then multiple sections in that base "
5398"directory and finally multiple Architectures in each section. The exact "
5399"pathing used is defined by the <literal>Directory</literal> substitution "
5400"variable."
2a52e8c5
DK
5401msgstr ""
5402
5403#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5404#: apt-ftparchive.1.xml:349
2a52e8c5 5405msgid ""
7d76ea1d
DK
5406"The <literal>Tree</literal> section takes a scope tag which sets the "
5407"<literal>$(DIST)</literal> variable and defines the root of the tree (the "
5408"path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
5409"setting such as <filename>dists/&stable-codename;</filename>."
2a52e8c5
DK
5410msgstr ""
5411
5412#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5413#: apt-ftparchive.1.xml:354
2a52e8c5 5414msgid ""
7d76ea1d
DK
5415"All of the settings defined in the <literal>TreeDefault</literal> section "
5416"can be used in a <literal>Tree</literal> section as well as three new "
5417"variables."
2a52e8c5
DK
5418msgstr ""
5419
5420#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7d76ea1d 5421#: apt-ftparchive.1.xml:360
2a52e8c5 5422#, no-wrap
7d76ea1d
DK
5423msgid ""
5424"for i in Sections do \n"
5425" for j in Architectures do\n"
5426" Generate for DIST=scope SECTION=i ARCH=j\n"
5427" "
2a52e8c5
DK
5428msgstr ""
5429
5430#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5431#: apt-ftparchive.1.xml:357
2a52e8c5 5432msgid ""
7d76ea1d
DK
5433"When processing a <literal>Tree</literal> section "
5434"<command>apt-ftparchive</command> performs an operation similar to: "
5435"<placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
5436msgstr ""
5437
7d76ea1d
DK
5438#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5439#: apt-ftparchive.1.xml:368
5440msgid ""
5441"This is a space separated list of sections which appear under the "
5442"distribution; typically this is something like <literal>main contrib "
5443"non-free</literal>"
2a52e8c5
DK
5444msgstr ""
5445
7d76ea1d
DK
5446#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5447#: apt-ftparchive.1.xml:375
2a52e8c5 5448msgid ""
7d76ea1d
DK
5449"This is a space separated list of all the architectures that appear under "
5450"search section. The special architecture 'source' is used to indicate that "
5451"this tree has a source archive."
2a52e8c5
DK
5452msgstr ""
5453
7d76ea1d
DK
5454#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5455#: apt-ftparchive.1.xml:388
2a52e8c5 5456msgid ""
7d76ea1d
DK
5457"Sets the binary override file. The override file contains section, priority "
5458"and maintainer address information."
5459msgstr ""
5460
5461#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5462#: apt-ftparchive.1.xml:394
5463msgid ""
5464"Sets the source override file. The override file contains section "
5465"information."
5466msgstr ""
5467
5468#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5469#: apt-ftparchive.1.xml:400 apt-ftparchive.1.xml:446
5470msgid "Sets the binary extra override file."
2a52e8c5
DK
5471msgstr ""
5472
7d76ea1d
DK
5473#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5474#: apt-ftparchive.1.xml:405 apt-ftparchive.1.xml:451
5475msgid "Sets the source extra override file."
2a52e8c5
DK
5476msgstr ""
5477
7d76ea1d
DK
5478#. type: Content of: <refentry><refsect1><refsect2><title>
5479#: apt-ftparchive.1.xml:410
5480msgid "<literal>BinDirectory</literal> Section"
2a52e8c5
DK
5481msgstr ""
5482
5483#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5484#: apt-ftparchive.1.xml:412
2a52e8c5 5485msgid ""
7d76ea1d
DK
5486"The <literal>bindirectory</literal> section defines a binary directory tree "
5487"with no special structure. The scope tag specifies the location of the "
5488"binary directory and the settings are similar to the <literal>Tree</literal> "
5489"section with no substitution variables or "
5490"<literal>Section</literal><literal>Architecture</literal> settings."
2a52e8c5
DK
5491msgstr ""
5492
7d76ea1d
DK
5493#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5494#: apt-ftparchive.1.xml:420
5495msgid "Sets the Packages file output."
2a52e8c5
DK
5496msgstr ""
5497
7d76ea1d
DK
5498#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5499#: apt-ftparchive.1.xml:425
5500msgid ""
5501"Sets the Sources file output. At least one of <literal>Packages</literal> or "
5502"<literal>Sources</literal> is required."
2a52e8c5
DK
5503msgstr ""
5504
7d76ea1d
DK
5505#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5506#: apt-ftparchive.1.xml:431
5507msgid "Sets the Contents file output (optional)."
2a52e8c5
DK
5508msgstr ""
5509
7d76ea1d
DK
5510#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5511#: apt-ftparchive.1.xml:436
5512msgid "Sets the binary override file."
2a52e8c5
DK
5513msgstr ""
5514
7d76ea1d
DK
5515#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5516#: apt-ftparchive.1.xml:441
5517msgid "Sets the source override file."
2a52e8c5
DK
5518msgstr ""
5519
7d76ea1d
DK
5520#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5521#: apt-ftparchive.1.xml:456
5522msgid "Sets the cache DB."
2a52e8c5
DK
5523msgstr ""
5524
7d76ea1d
DK
5525#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5526#: apt-ftparchive.1.xml:461
5527msgid "Appends a path to all the output paths."
2a52e8c5
DK
5528msgstr ""
5529
7d76ea1d
DK
5530#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5531#: apt-ftparchive.1.xml:466
5532msgid "Specifies the file list file."
5533msgstr ""
5534
5535#. type: Content of: <refentry><refsect1><title>
5536#: apt-ftparchive.1.xml:473
5537msgid "The Binary Override File"
2a52e8c5
DK
5538msgstr ""
5539
5540#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5541#: apt-ftparchive.1.xml:474
2a52e8c5 5542msgid ""
7d76ea1d
DK
5543"The binary override file is fully compatible with &dpkg-scanpackages;. It "
5544"contains four fields separated by spaces. The first field is the package "
5545"name, the second is the priority to force that package to, the third is the "
5546"section to force that package to and the final field is the maintainer "
5547"permutation field."
2a52e8c5
DK
5548msgstr ""
5549
7d76ea1d
DK
5550#. type: Content of: <refentry><refsect1><para><literallayout>
5551#: apt-ftparchive.1.xml:480
2a52e8c5 5552#, no-wrap
7d76ea1d 5553msgid "old [// oldn]* => new"
2a52e8c5
DK
5554msgstr ""
5555
7d76ea1d
DK
5556#. type: Content of: <refentry><refsect1><para><literallayout>
5557#: apt-ftparchive.1.xml:482
5558#, no-wrap
5559msgid "new"
2a52e8c5
DK
5560msgstr ""
5561
5562#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5563#: apt-ftparchive.1.xml:479
2a52e8c5 5564msgid ""
7d76ea1d
DK
5565"The general form of the maintainer field is: <placeholder "
5566"type=\"literallayout\" id=\"0\"/> or simply, <placeholder "
5567"type=\"literallayout\" id=\"1\"/> The first form allows a double-slash "
5568"separated list of old email addresses to be specified. If any of those are "
5569"found then new is substituted for the maintainer field. The second form "
5570"unconditionally substitutes the maintainer field."
2a52e8c5
DK
5571msgstr ""
5572
7d76ea1d
DK
5573#. type: Content of: <refentry><refsect1><title>
5574#: apt-ftparchive.1.xml:490
5575msgid "The Source Override File"
2a52e8c5
DK
5576msgstr ""
5577
5578#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5579#: apt-ftparchive.1.xml:492
c77d6597 5580msgid ""
7d76ea1d
DK
5581"The source override file is fully compatible with &dpkg-scansources;. It "
5582"contains two fields separated by spaces. The first field is the source "
5583"package name, the second is the section to assign it."
c77d6597
MV
5584msgstr ""
5585
7d76ea1d
DK
5586#. type: Content of: <refentry><refsect1><title>
5587#: apt-ftparchive.1.xml:497
5588msgid "The Extra Override File"
c77d6597
MV
5589msgstr ""
5590
5591#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5592#: apt-ftparchive.1.xml:499
c77d6597 5593msgid ""
7d76ea1d
DK
5594"The extra override file allows any arbitrary tag to be added or replaced in "
5595"the output. It has three columns, the first is the package, the second is "
5596"the tag and the remainder of the line is the new value."
2a52e8c5
DK
5597msgstr ""
5598
7d76ea1d
DK
5599#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5600#: apt-ftparchive.1.xml:510
5601msgid ""
5602"Generate the given checksum. These options default to on, when turned off "
5603"the generated index files will not have the checksum fields where possible. "
5604"Configuration Items: "
5605"<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and "
5606"<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> "
5607"where <literal><replaceable>Index</replaceable></literal> can be "
5608"<literal>Packages</literal>, <literal>Sources</literal> or "
5609"<literal>Release</literal> and "
5610"<literal><replaceable>Checksum</replaceable></literal> can be "
5611"<literal>MD5</literal>, <literal>SHA1</literal> or "
5612"<literal>SHA256</literal>."
2a52e8c5
DK
5613msgstr ""
5614
7d76ea1d
DK
5615#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5616#: apt-ftparchive.1.xml:521
2a52e8c5 5617msgid ""
7d76ea1d
DK
5618"Use a binary caching DB. This has no effect on the generate command. "
5619"Configuration Item: <literal>APT::FTPArchive::DB</literal>."
2a52e8c5
DK
5620msgstr ""
5621
7d76ea1d
DK
5622#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5623#: apt-ftparchive.1.xml:527
5624msgid ""
5625"Quiet; produces output suitable for logging, omitting progress indicators. "
5626"More q's will produce more quiet up to a maximum of 2. You can also use "
5627"<option>-q=#</option> to set the quiet level, overriding the configuration "
5628"file. Configuration Item: <literal>quiet</literal>."
2a52e8c5
DK
5629msgstr ""
5630
7d76ea1d
DK
5631#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5632#: apt-ftparchive.1.xml:535
5633msgid ""
5634"Perform Delinking. If the <literal>External-Links</literal> setting is used "
5635"then this option actually enables delinking of the files. It defaults to on "
5636"and can be turned off with <option>--no-delink</option>. Configuration "
5637"Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
2a52e8c5
DK
5638msgstr ""
5639
7d76ea1d
DK
5640#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5641#: apt-ftparchive.1.xml:543
2a52e8c5 5642msgid ""
7d76ea1d
DK
5643"Perform contents generation. When this option is set and package indexes are "
5644"being generated with a cache DB then the file listing will also be extracted "
5645"and stored in the DB for later use. When using the generate command this "
5646"option also allows the creation of any Contents files. The default is on. "
5647"Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
2a52e8c5
DK
5648msgstr ""
5649
7d76ea1d
DK
5650#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5651#: apt-ftparchive.1.xml:553
2a52e8c5 5652msgid ""
7d76ea1d
DK
5653"Select the source override file to use with the <literal>sources</literal> "
5654"command. Configuration Item: "
5655"<literal>APT::FTPArchive::SourceOverride</literal>."
2a52e8c5
DK
5656msgstr ""
5657
7d76ea1d
DK
5658#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5659#: apt-ftparchive.1.xml:559
2a52e8c5 5660msgid ""
7d76ea1d
DK
5661"Make the caching databases read only. Configuration Item: "
5662"<literal>APT::FTPArchive::ReadOnlyDB</literal>."
2a52e8c5
DK
5663msgstr ""
5664
7d76ea1d
DK
5665#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5666#: apt-ftparchive.1.xml:564
2a52e8c5 5667msgid ""
7d76ea1d
DK
5668"Accept in the <literal>packages</literal> and <literal>contents</literal> "
5669"commands only package files matching <literal>*_arch.deb</literal> or "
5670"<literal>*_all.deb</literal> instead of all package files in the given "
5671"path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
2a52e8c5
DK
5672msgstr ""
5673
7d76ea1d
DK
5674#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5675#: apt-ftparchive.1.xml:572
2a52e8c5 5676msgid ""
7d76ea1d
DK
5677"&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
5678"packages are recompiled and/or republished with the same version again, this "
5679"will lead to problems as the now outdated cached metadata like size and "
5680"checksums will be used. With this option enabled this will no longer happen "
5681"as it will be checked if the file was changed. Note that this option is set "
5682"to \"<literal>false</literal>\" by default as it is not recommend to upload "
5683"multiply versions/builds of a package with the same versionnumber, so in "
5684"theory nobody will have these problems and therefore all these extra checks "
5685"are useless."
2a52e8c5
DK
5686msgstr ""
5687
7d76ea1d
DK
5688#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5689#: apt-ftparchive.1.xml:584
2a52e8c5 5690msgid ""
7d76ea1d
DK
5691"This configuration option defaults to \"<literal>true</literal>\" and should "
5692"only be set to <literal>\"false\"</literal> if the Archive generated with "
5693"&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
5694"that the <filename>Translation-en</filename> master file can only be created "
5695"in the generate command."
2a52e8c5
DK
5696msgstr ""
5697
7d76ea1d
DK
5698#. type: Content of: <refentry><refsect1><para><programlisting>
5699#: apt-ftparchive.1.xml:602
5700#, no-wrap
5701msgid ""
5702"<command>apt-ftparchive</command> packages "
5703"<replaceable>directory</replaceable> | <command>gzip</command> > "
5704"<filename>Packages.gz</filename>\n"
43be0ac4
MV
5705msgstr ""
5706
7d76ea1d
DK
5707#. type: Content of: <refentry><refsect1><para>
5708#: apt-ftparchive.1.xml:598
43be0ac4 5709msgid ""
7d76ea1d
DK
5710"To create a compressed Packages file for a directory containing binary "
5711"packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
43be0ac4
MV
5712msgstr ""
5713
2a52e8c5 5714#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5715#: apt-ftparchive.1.xml:612
2a52e8c5 5716msgid ""
7d76ea1d
DK
5717"<command>apt-ftparchive</command> returns zero on normal operation, decimal "
5718"100 on error."
2a52e8c5
DK
5719msgstr ""
5720
7d76ea1d
DK
5721#. type: TH
5722#: apt.8:17
2a52e8c5 5723#, no-wrap
7d76ea1d 5724msgid "apt"
2a52e8c5
DK
5725msgstr ""
5726
7d76ea1d
DK
5727#. type: TH
5728#: apt.8:17
5729#, no-wrap
5730msgid "16 June 1998"
2a52e8c5
DK
5731msgstr ""
5732
7d76ea1d
DK
5733#. type: TH
5734#: apt.8:17
2a52e8c5 5735#, no-wrap
7d76ea1d 5736msgid "Debian"
2a52e8c5
DK
5737msgstr ""
5738
7d76ea1d
DK
5739#. type: SH
5740#: apt.8:18
5741#, no-wrap
5742msgid "NAME"
2a52e8c5
DK
5743msgstr ""
5744
7d76ea1d
DK
5745#. type: Plain text
5746#: apt.8:20
5747msgid "apt - Advanced Package Tool"
5748msgstr ""
5749
5750#. type: SH
5751#: apt.8:20
2a52e8c5 5752#, no-wrap
7d76ea1d 5753msgid "SYNOPSIS"
2a52e8c5
DK
5754msgstr ""
5755
7d76ea1d
DK
5756#. type: Plain text
5757#: apt.8:22
5758msgid "B<apt>"
c77d6597
MV
5759msgstr ""
5760
7d76ea1d
DK
5761#. type: SH
5762#: apt.8:22
c77d6597 5763#, no-wrap
7d76ea1d 5764msgid "DESCRIPTION"
c77d6597
MV
5765msgstr ""
5766
7d76ea1d
DK
5767#. type: Plain text
5768#: apt.8:31
2a52e8c5 5769msgid ""
7d76ea1d
DK
5770"APT is a management system for software packages. For normal day to day "
5771"package management there are several frontends available, such as "
5772"B<aptitude>(8) for the command line or B<synaptic>(8) for the X Window "
5773"System. Some options are only implemented in B<apt-get>(8) though."
2a52e8c5
DK
5774msgstr ""
5775
7d76ea1d
DK
5776#. type: SH
5777#: apt.8:31
2a52e8c5 5778#, no-wrap
7d76ea1d 5779msgid "SEE ALSO"
2a52e8c5
DK
5780msgstr ""
5781
7d76ea1d
DK
5782#. type: Plain text
5783#: apt.8:38
2a52e8c5 5784msgid ""
7d76ea1d
DK
5785"B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
5786"B<apt_preferences>(5), B<apt-secure>(8)"
2a52e8c5
DK
5787msgstr ""
5788
7d76ea1d
DK
5789#. type: SH
5790#: apt.8:38
2a52e8c5 5791#, no-wrap
7d76ea1d 5792msgid "DIAGNOSTICS"
2a52e8c5
DK
5793msgstr ""
5794
7d76ea1d
DK
5795#. type: Plain text
5796#: apt.8:40
5797msgid "apt returns zero on normal operation, decimal 100 on error."
2a52e8c5
DK
5798msgstr ""
5799
7d76ea1d
DK
5800#. type: SH
5801#: apt.8:40
2a52e8c5 5802#, no-wrap
7d76ea1d 5803msgid "BUGS"
2a52e8c5
DK
5804msgstr ""
5805
7d76ea1d
DK
5806#. type: Plain text
5807#: apt.8:42
5808msgid "This manpage isn't even started."
2a52e8c5
DK
5809msgstr ""
5810
7d76ea1d
DK
5811#. type: Plain text
5812#: apt.8:51
2a52e8c5 5813msgid ""
7d76ea1d
DK
5814"See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
5815"B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
5816"B<reportbug>(1) command."
2a52e8c5
DK
5817msgstr ""
5818
7d76ea1d
DK
5819#. type: SH
5820#: apt.8:51
5821#, no-wrap
5822msgid "AUTHOR"
5823msgstr ""
5824
5825#. type: Plain text
5826#: apt.8:52
5827msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
2a52e8c5 5828msgstr ""
43be0ac4
MV
5829
5830#. type: <title></title>
5831#: guide.sgml:4
5832msgid "APT User's Guide"
5833msgstr ""
5834
5835#. type: <author></author>
5836#: guide.sgml:6 offline.sgml:6
5837msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
5838msgstr ""
5839
5840#. type: <version></version>
5841#: guide.sgml:7
5842msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $"
5843msgstr ""
5844
5845#. type: <abstract></abstract>
5846#: guide.sgml:11
5847msgid ""
5848"This document provides an overview of how to use the the APT package "
5849"manager."
5850msgstr ""
5851
5852#. type: <copyrightsummary></copyrightsummary>
5853#: guide.sgml:15
5854msgid "Copyright &copy; Jason Gunthorpe, 1998."
5855msgstr ""
5856
5857#. type: <p></p>
5858#: guide.sgml:21 offline.sgml:22
5859msgid ""
5860"\"APT\" and this document are free software; you can redistribute them "
5861"and/or modify them under the terms of the GNU General Public License as "
5862"published by the Free Software Foundation; either version 2 of the License, "
5863"or (at your option) any later version."
5864msgstr ""
5865
5866#. type: <p></p>
5867#: guide.sgml:24 offline.sgml:25
5868msgid ""
b176de3a 5869"For more details, on Debian systems, see the file "
43be0ac4
MV
5870"/usr/share/common-licenses/GPL for the full license."
5871msgstr ""
5872
5873#. type: <heading></heading>
5874#: guide.sgml:32
5875msgid "General"
5876msgstr ""
5877
5878#. type: <p></p>
5879#: guide.sgml:38
5880msgid ""
5881"The APT package currently contains two sections, the APT "
5882"<prgn>dselect</prgn> method and the <prgn>apt-get</prgn> command line user "
5883"interface. Both provide a way to install and remove packages as well as "
5884"download new packages from the Internet."
5885msgstr ""
5886
5887#. type: <heading></heading>
5888#: guide.sgml:39
5889msgid "Anatomy of the Package System"
5890msgstr ""
5891
5892#. type: <p></p>
5893#: guide.sgml:44
5894msgid ""
5895"The Debian packaging system has a large amount of information associated "
5896"with each package to help assure that it integrates cleanly and easily into "
5897"the system. The most prominent of its features is the dependency system."
5898msgstr ""
5899
5900#. type: <p></p>
5901#: guide.sgml:52
5902msgid ""
5903"The dependency system allows individual programs to make use of shared "
5904"elements in the system such as libraries. It simplifies placing infrequently "
5905"used portions of a program in separate packages to reduce the number of "
5906"things the average user is required to install. Also, it allows for choices "
5907"in mail transport agents, X servers and so on."
5908msgstr ""
5909
5910#. type: <p></p>
5911#: guide.sgml:57
5912msgid ""
5913"The first step to understanding the dependency system is to grasp the "
5914"concept of a simple dependency. The meaning of a simple dependency is that a "
5915"package requires another package to be installed at the same time to work "
5916"properly."
5917msgstr ""
5918
5919#. type: <p></p>
5920#: guide.sgml:63
5921msgid ""
5922"For instance, mailcrypt is an emacs extension that aids in encrypting email "
b39c1859 5923"with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
43be0ac4
MV
5924"simple dependency on GPG. Also, because it is an emacs extension it has a "
5925"simple dependency on emacs, without emacs it is completely useless."
5926msgstr ""
5927
5928#. type: <p></p>
5929#: guide.sgml:73
5930msgid ""
5931"The other important dependency to understand is a conflicting dependency. It "
5932"means that a package, when installed with another package, will not work and "
5933"may possibly be extremely harmful to the system. As an example consider a "
5934"mail transport agent such as sendmail, exim or qmail. It is not possible to "
5935"have two mail transport agents installed because both need to listen to the "
5936"network to receive mail. Attempting to install two will seriously damage the "
5937"system so all mail transport agents have a conflicting dependency with all "
5938"other mail transport agents."
5939msgstr ""
5940
5941#. type: <p></p>
5942#: guide.sgml:83
5943msgid ""
5944"As an added complication there is the possibility for a package to pretend "
5945"to be another package. Consider that exim and sendmail for many intents are "
5946"identical, they both deliver mail and understand a common interface. Hence, "
5947"the package system has a way for them to declare that they are both "
5948"mail-transport-agents. So, exim and sendmail both declare that they provide "
5949"a mail-transport-agent and other packages that need a mail transport agent "
5950"depend on mail-transport-agent. This can add a great deal of confusion when "
5951"trying to manually fix packages."
5952msgstr ""
5953
5954#. type: <p></p>
5955#: guide.sgml:88
5956msgid ""
5957"At any given time a single dependency may be met by packages that are "
5958"already installed or it may not be. APT attempts to help resolve dependency "
5959"issues by providing a number of automatic algorithms that help in selecting "
5960"packages for installation."
5961msgstr ""
5962
9aa80d52
DK
5963#. type: <heading></heading>
5964#: guide.sgml:96
5965msgid "apt-get"
5966msgstr ""
5967
43be0ac4
MV
5968#. type: <p></p>
5969#: guide.sgml:102
5970msgid ""
5971"<prgn>apt-get</prgn> provides a simple way to install packages from the "
5972"command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not "
5973"understand .deb files, it works with the package's proper name and can only "
5974"install .deb archives from a <em>Source</em>."
5975msgstr ""
5976
5977#. type: <p></p>
5978#: guide.sgml:109
5979msgid ""
5980"The first <footnote><p>If you are using an http proxy server you must set "
5981"the http_proxy environment variable first, see "
5982"sources.list(5)</p></footnote> thing that should be done before using "
5983"<prgn>apt-get</prgn> is to fetch the package lists from the <em>Sources</em> "
5984"so that it knows what packages are available. This is done with <tt>apt-get "
5985"update</tt>. For instance,"
5986msgstr ""
5987
5988#. type: <example></example>
5989#: guide.sgml:116
5990#, no-wrap
5991msgid ""
5992"# apt-get update\n"
5993"Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
5994"Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
5995"Reading Package Lists... Done\n"
5996"Building Dependency Tree... Done"
5997msgstr ""
5998
5999#. type: <p><taglist>
6000#: guide.sgml:120
6001msgid "Once updated there are several commands that can be used:"
6002msgstr ""
6003
2b9b27c3
DK
6004#. type: <tag></tag>
6005#: guide.sgml:121
6006msgid "upgrade"
6007msgstr ""
6008
43be0ac4
MV
6009#. type: <p></p>
6010#: guide.sgml:131
6011msgid ""
6012"Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
6013"install a new package or remove an existing package, nor will it ever "
6014"upgrade a package that might cause some other package to break. This can be "
6015"used daily to relatively safely upgrade the system. Upgrade will list all of "
6016"the packages that it could not upgrade, this usually means that they depend "
6017"on new packages or conflict with some other package. <prgn>dselect</prgn> or "
6018"<tt>apt-get install</tt> can be used to force these packages to install."
6019msgstr ""
6020
2b9b27c3
DK
6021#. type: <tag></tag>
6022#: guide.sgml:131
6023msgid "install"
6024msgstr ""
6025
43be0ac4
MV
6026#. type: <p></p>
6027#: guide.sgml:140
6028msgid ""
6029"Install is used to install packages by name. The package is automatically "
6030"fetched and installed. This can be useful if you already know the name of "
6031"the package to install and do not want to go into a GUI to select it. Any "
6032"number of packages may be passed to install, they will all be "
6033"fetched. Install automatically attempts to resolve dependency problems with "
6034"the listed packages and will print a summary and ask for confirmation if "
6035"anything other than its arguments are changed."
6036msgstr ""
6037
2b9b27c3
DK
6038#. type: <tag></tag>
6039#: guide.sgml:140
6040msgid "dist-upgrade"
6041msgstr ""
6042
43be0ac4
MV
6043#. type: <p></p>
6044#: guide.sgml:149
6045msgid ""
6046"Dist-upgrade is a complete upgrader designed to simplify upgrading between "
6047"releases of Debian. It uses a sophisticated algorithm to determine the best "
6048"set of packages to install, upgrade and remove to get as much of the system "
6049"to the newest release. In some situations it may be desired to use "
6050"dist-upgrade rather than spend the time manually resolving dependencies in "
6051"<prgn>dselect</prgn>. Once dist-upgrade has completed then "
6052"<prgn>dselect</prgn> can be used to install any packages that may have been "
6053"left out."
6054msgstr ""
6055
6056#. type: <p></p>
6057#: guide.sgml:152
6058msgid ""
6059"It is important to closely look at what dist-upgrade is going to do, its "
6060"decisions may sometimes be quite surprising."
6061msgstr ""
6062
6063#. type: <p></p>
6064#: guide.sgml:163
6065msgid ""
6066"<prgn>apt-get</prgn> has several command line options that are detailed in "
6067"its man page, <manref section=\"8\" name=\"apt-get\">. The most useful "
6068"option is <tt>-d</tt> which does not install the fetched files. If the "
6069"system has to download a large number of package it would be undesired to "
6070"start installing them in case something goes wrong. When <tt>-d</tt> is used "
6071"the downloaded archives can be installed by simply running the command that "
6072"caused them to be downloaded again without <tt>-d</tt>."
6073msgstr ""
6074
6075#. type: <heading></heading>
6076#: guide.sgml:168
6077msgid "DSelect"
6078msgstr ""
6079
6080#. type: <p></p>
6081#: guide.sgml:173
6082msgid ""
6083"The APT <prgn>dselect</prgn> method provides the complete APT system with "
6084"the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used "
6085"to select the packages to be installed or removed and APT actually installs "
6086"them."
6087msgstr ""
6088
6089#. type: <p></p>
6090#: guide.sgml:184
6091msgid ""
b39c1859
MV
6092"To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> "
6093"and then choose the APT method. You will be prompted for a set of "
6094"<em>Sources</em> which are places to fetch archives from. These can be "
25838be6 6095"remote Internet sites, local Debian mirrors or CD-ROMs. Each source can "
b39c1859 6096"provide a fragment of the total Debian archive, APT will automatically "
6f33340f
JR
6097"combine them to form a complete set of packages. If you have a CD-ROM then "
6098"it is a good idea to specify it first and then specify a mirror so that you "
43be0ac4 6099"have access to the latest bug fixes. APT will automatically use packages on "
25838be6 6100"your CD-ROM before downloading from the Internet."
43be0ac4
MV
6101msgstr ""
6102
6103#. type: <example></example>
6104#: guide.sgml:198
6105#, no-wrap
6106msgid ""
6107" Set up a list of distribution source locations\n"
6108"\t \n"
6109" Please give the base URL of the debian distribution.\n"
6110" The access schemes I know about are: http file\n"
6111"\t \n"
6112" For example:\n"
6113" file:/mnt/debian,\n"
6114" ftp://ftp.debian.org/debian,\n"
6115" http://ftp.de.debian.org/debian,\n"
6116" \n"
6117" \n"
6118" URL [http://llug.sep.bnl.gov/debian]:"
6119msgstr ""
6120
6121#. type: <p></p>
6122#: guide.sgml:205
6123msgid ""
6124"The <em>Sources</em> setup starts by asking for the base of the Debian "
6125"archive, defaulting to a HTTP mirror. Next it asks for the distribution to "
6126"get."
6127msgstr ""
6128
6129#. type: <example></example>
6130#: guide.sgml:212
6131#, no-wrap
6132msgid ""
6133" Please give the distribution tag to get or a path to the\n"
6134" package file ending in a /. The distribution\n"
6135" tags are typically something like: stable unstable testing non-US\n"
6136" \n"
6137" Distribution [stable]:"
6138msgstr ""
6139
6140#. type: <p></p>
6141#: guide.sgml:222
6142msgid ""
6143"The distribution refers to the Debian version in the archive, "
6144"<em>stable</em> refers to the latest released version and <em>unstable</em> "
6145"refers to the developmental version. <em>non-US</em> is only available on "
6146"some mirrors and refers to packages that contain encryption technology or "
6147"other things that cannot be exported from the United States. Importing these "
6148"packages into the US is legal however."
6149msgstr ""
6150
6151#. type: <example></example>
6152#: guide.sgml:228
6153#, no-wrap
6154msgid ""
6155" Please give the components to get\n"
6156" The components are typically something like: main contrib non-free\n"
6157" \n"
6158" Components [main contrib non-free]:"
6159msgstr ""
6160
6161#. type: <p></p>
6162#: guide.sgml:236
6163msgid ""
6164"The components list refers to the list of sub distributions to fetch. The "
6165"distribution is split up based on software licenses, main being DFSG free "
6166"packages while contrib and non-free contain things that have various "
6167"restrictions placed on their use and distribution."
6168msgstr ""
6169
6170#. type: <p></p>
6171#: guide.sgml:240
6172msgid ""
6173"Any number of sources can be added, the setup script will continue to prompt "
6174"until you have specified all that you want."
6175msgstr ""
6176
6177#. type: <p></p>
6178#: guide.sgml:247
6179msgid ""
6180"Before starting to use <prgn>dselect</prgn> it is necessary to update the "
b39c1859 6181"available list by selecting [U]pdate from the menu. This is a superset of "
43be0ac4
MV
6182"<tt>apt-get update</tt> that makes the fetched information available to "
6183"<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get "
6184"update</tt> has been run before."
6185msgstr ""
6186
6187#. type: <p></p>
6188#: guide.sgml:253
6189msgid ""
6190"You can then go on and make your selections using [S]elect and then perform "
6191"the installation using [I]nstall. When using the APT method the [C]onfig and "
6192"[R]emove commands have no meaning, the [I]nstall command performs both of "
6193"them together."
6194msgstr ""
6195
6196#. type: <p></p>
6197#: guide.sgml:258
6198msgid ""
6199"By default APT will automatically remove the package (.deb) files once they "
6200"have been successfully installed. To change this behavior place "
6201"<tt>Dselect::clean \"prompt\";</tt> in /etc/apt/apt.conf."
6202msgstr ""
6203
6204#. type: <heading></heading>
6205#: guide.sgml:264
6206msgid "The Interface"
6207msgstr ""
6208
6209#. type: <p></p>
6210#: guide.sgml:278
6211msgid ""
6212"Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the "
6213"same interface. It is a simple system that generally tells you what it will "
6214"do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method "
6215"actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method "
6216"actually provides more functionality than is present in <prgn>apt-get</prgn> "
6217"alone.</p></footnote> After printing out a summary of what will happen APT "
6218"then will print out some informative status messages so that you can "
6219"estimate how far along it is and how much is left to do."
6220msgstr ""
6221
6222#. type: <heading></heading>
6223#: guide.sgml:280
6224msgid "Startup"
6225msgstr ""
6226
6227#. type: <p></p>
6228#: guide.sgml:284
6229msgid ""
6230"Before all operations except update, APT performs a number of actions to "
6231"prepare its internal state. It also does some checks of the system's "
6232"state. At any time these operations can be performed by running <tt>apt-get "
6233"check</tt>."
6234msgstr ""
6235
6236#. type: <example></example>
6237#: guide.sgml:289
6238#, no-wrap
6239msgid ""
6240"# apt-get check\n"
6241"Reading Package Lists... Done\n"
6242"Building Dependency Tree... Done"
6243msgstr ""
6244
6245#. type: <p></p>
6246#: guide.sgml:297
6247msgid ""
6248"The first thing it does is read all the package files into memory. APT uses "
6249"a caching scheme so this operation will be faster the second time it is "
6250"run. If some of the package files are not found then they will be ignored "
6251"and a warning will be printed when apt-get exits."
6252msgstr ""
6253
6254#. type: <p></p>
6255#: guide.sgml:303
6256msgid ""
6257"The final operation performs a detailed analysis of the system's "
6258"dependencies. It checks every dependency of every installed or unpacked "
6259"package and considers if it is OK. Should this find a problem then a report "
6260"will be printed out and <prgn>apt-get</prgn> will refuse to run."
6261msgstr ""
6262
6263#. type: <example></example>
6264#: guide.sgml:320
6265#, no-wrap
6266msgid ""
6267"# apt-get check\n"
6268"Reading Package Lists... Done\n"
6269"Building Dependency Tree... Done\n"
6270"You might want to run apt-get -f install' to correct these.\n"
6271"Sorry, but the following packages have unmet dependencies:\n"
6272" 9fonts: Depends: xlib6g but it is not installed\n"
6273" uucp: Depends: mailx but it is not installed\n"
6274" blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6275" adduser: Depends: perl-base but it is not installed\n"
6276" aumix: Depends: libgpmg1 but it is not installed\n"
6277" debiandoc-sgml: Depends: sgml-base but it is not installed\n"
6278" bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
6279" cthugha: Depends: svgalibg1 but it is not installed\n"
6280" Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6281" libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
6282msgstr ""
6283
6284#. type: <p></p>
6285#: guide.sgml:329
6286msgid ""
6287"In this example the system has many problems, including a serious problem "
6288"with libreadlineg2. For each package that has unmet dependencies a line is "
6289"printed out indicating the package with the problem and the dependencies "
6290"that are unmet. A short explanation of why the package has a dependency "
6291"problem is also included."
6292msgstr ""
6293
6294#. type: <p></p>
6295#: guide.sgml:337
6296msgid ""
6297"There are two ways a system can get into a broken state like this. The first "
6298"is caused by <prgn>dpkg</prgn> missing some subtle relationships between "
6299"packages when performing upgrades. <footnote><p>APT however considers all "
6300"known dependencies and attempts to prevent broken "
6301"packages</p></footnote>. The second is if a package installation fails "
6302"during an operation. In this situation a package may have been unpacked "
6303"without its dependents being installed."
6304msgstr ""
6305
6306#. type: <p></p>
6307#: guide.sgml:345
6308msgid ""
6309"The second situation is much less serious than the first because APT places "
6310"certain constraints on the order that packages are installed. In both cases "
6311"supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to "
6312"deduce a possible solution to the problem and then continue on. The APT "
6313"<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow "
6314"for easy continuation of failed maintainer scripts."
6315msgstr ""
6316
6317#. type: <p></p>
6318#: guide.sgml:351
6319msgid ""
6320"However, if the <tt>-f</tt> option is used to correct a seriously broken "
6321"system caused by the first case then it is possible that it will either fail "
6322"immediately or the installation sequence will fail. In either case it is "
6323"necessary to manually use dpkg (possibly with forcing options) to correct "
6324"the situation enough to allow APT to proceed."
6325msgstr ""
6326
6327#. type: <heading></heading>
6328#: guide.sgml:356
6329msgid "The Status Report"
6330msgstr ""
6331
6332#. type: <p></p>
6333#: guide.sgml:363
6334msgid ""
6335"Before proceeding <prgn>apt-get</prgn> will present a report on what will "
6336"happen. Generally the report reflects the type of operation being performed "
6337"but there are several common elements. In all cases the lists reflect the "
6338"final state of things, taking into account the <tt>-f</tt> option and any "
6339"other relevant activities to the command being executed."
6340msgstr ""
6341
6342#. type: <heading></heading>
6343#: guide.sgml:364
6344msgid "The Extra Package list"
6345msgstr ""
6346
6347#. type: <example></example>
6348#: guide.sgml:372
6349#, no-wrap
6350msgid ""
6351"The following extra packages will be installed:\n"
6352" libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
6353" mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
6354" bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
6355" squake pgp-i python-base debmake ldso perl libreadlineg2\n"
6356" ssh"
6357msgstr ""
6358
6359#. type: <p></p>
6360#: guide.sgml:379
6361msgid ""
6362"The Extra Package list shows all of the packages that will be installed or "
6363"upgraded in excess of the ones mentioned on the command line. It is only "
6364"generated for an <tt>install</tt> command. The listed packages are often the "
6365"result of an Auto Install."
6366msgstr ""
6367
6368#. type: <heading></heading>
6369#: guide.sgml:382
6370msgid "The Packages to Remove"
6371msgstr ""
6372
6373#. type: <example></example>
6374#: guide.sgml:389
6375#, no-wrap
6376msgid ""
6377"The following packages will be REMOVED:\n"
6378" xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
6379" xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
6380" xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
6381" nas xpilot xfig"
6382msgstr ""
6383
6384#. type: <p></p>
6385#: guide.sgml:399
6386msgid ""
6387"The Packages to Remove list shows all of the packages that will be removed "
6388"from the system. It can be shown for any of the operations and should be "
6389"given a careful inspection to ensure nothing important is to be taken "
6390"off. The <tt>-f</tt> option is especially good at generating packages to "
6391"remove so extreme care should be used in that case. The list may contain "
6392"packages that are going to be removed because they are only partially "
6393"installed, possibly due to an aborted installation."
6394msgstr ""
6395
6396#. type: <heading></heading>
6397#: guide.sgml:402
6398msgid "The New Packages list"
6399msgstr ""
6400
6401#. type: <example></example>
6402#: guide.sgml:406
6403#, no-wrap
6404msgid ""
6405"The following NEW packages will installed:\n"
6406" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
6407msgstr ""
6408
6409#. type: <p></p>
6410#: guide.sgml:411
6411msgid ""
6412"The New Packages list is simply a reminder of what will happen. The packages "
6413"listed are not presently installed in the system but will be when APT is "
6414"done."
6415msgstr ""
6416
6417#. type: <heading></heading>
6418#: guide.sgml:414
6419msgid "The Kept Back list"
6420msgstr ""
6421
6422#. type: <example></example>
6423#: guide.sgml:419
6424#, no-wrap
6425msgid ""
6426"The following packages have been kept back\n"
6427" compface man-db tetex-base msql libpaper svgalib1\n"
6428" gs snmp arena lynx xpat2 groff xscreensaver"
6429msgstr ""
6430
6431#. type: <p></p>
6432#: guide.sgml:428
6433msgid ""
6434"Whenever the whole system is being upgraded there is the possibility that "
6435"new versions of packages cannot be installed because they require new things "
6436"or conflict with already installed things. In this case the package will "
6437"appear in the Kept Back list. The best way to convince packages listed there "
6438"to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> "
6439"to resolve their problems."
6440msgstr ""
6441
6442#. type: <heading></heading>
6443#: guide.sgml:431
6444msgid "Held Packages warning"
6445msgstr ""
6446
6447#. type: <example></example>
6448#: guide.sgml:435
6449#, no-wrap
6450msgid ""
6451"The following held packages will be changed:\n"
6452" cvs"
6453msgstr ""
6454
6455#. type: <p></p>
6456#: guide.sgml:441
6457msgid ""
6458"Sometimes you can ask APT to install a package that is on hold, in such a "
6459"case it prints out a warning that the held package is going to be "
6460"changed. This should only happen during dist-upgrade or install."
6461msgstr ""
6462
6463#. type: <heading></heading>
6464#: guide.sgml:444
6465msgid "Final summary"
6466msgstr ""
6467
6468#. type: <p></p>
6469#: guide.sgml:447
6470msgid "Finally, APT will print out a summary of all the changes that will occur."
6471msgstr ""
6472
6473#. type: <example></example>
6474#: guide.sgml:452
6475#, no-wrap
6476msgid ""
6477"206 packages upgraded, 8 newly installed, 23 to remove and 51 not "
6478"upgraded.\n"
6479"12 packages not fully installed or removed.\n"
6480"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
6481msgstr ""
6482
6483#. type: <p></p>
6484#: guide.sgml:470
6485msgid ""
6486"The first line of the summary simply is a reduced version of all of the "
6487"lists and includes the number of upgrades - that is packages already "
6488"installed that have new versions available. The second line indicates the "
6489"number of poorly configured packages, possibly the result of an aborted "
6490"installation. The final line shows the space requirements that the "
6491"installation needs. The first pair of numbers refer to the size of the "
6492"archive files. The first number indicates the number of bytes that must be "
6493"fetched from remote locations and the second indicates the total size of all "
6494"the archives required. The next number indicates the size difference between "
6495"the presently installed packages and the newly installed packages. It is "
6496"roughly equivalent to the space required in /usr after everything is "
6497"done. If a large number of packages are being removed then the value may "
6498"indicate the amount of space that will be freed."
6499msgstr ""
6500
6501#. type: <p></p>
6502#: guide.sgml:473
6503msgid ""
6504"Some other reports can be generated by using the -u option to show packages "
6505"to upgrade, they are similar to the previous examples."
6506msgstr ""
6507
6508#. type: <heading></heading>
6509#: guide.sgml:477
6510msgid "The Status Display"
6511msgstr ""
6512
6513#. type: <p></p>
6514#: guide.sgml:481
6515msgid ""
6516"During the download of archives and package files APT prints out a series of "
6517"status messages."
6518msgstr ""
6519
6520#. type: <example></example>
6521#: guide.sgml:490
6522#, no-wrap
6523msgid ""
6524"# apt-get update\n"
6525"Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
6526"Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
6527"Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
6528"Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ "
6529"Packages\n"
6530"Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
6531"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
6532msgstr ""
6533
6534#. type: <p></p>
6535#: guide.sgml:500
6536msgid ""
6537"The lines starting with <em>Get</em> are printed out when APT begins to "
6538"fetch a file while the last line indicates the progress of the download. The "
6539"first percent value on the progress line indicates the total percent done of "
6540"all files. Unfortunately since the size of the Package files is unknown "
6541"<tt>apt-get update</tt> estimates the percent done which causes some "
6542"inaccuracies."
6543msgstr ""
6544
6545#. type: <p></p>
6546#: guide.sgml:509
6547msgid ""
6548"The next section of the status line is repeated once for each download "
6549"thread and indicates the operation being performed and some useful "
6550"information about what is happening. Sometimes this section will simply read "
6551"<em>Forking</em> which means the OS is loading the download module. The "
6552"first word after the [ is the fetch number as shown on the history "
6553"lines. The next word is the short form name of the object being "
6554"downloaded. For archives it will contain the name of the package that is "
6555"being fetched."
6556msgstr ""
6557
6558#. type: <p></p>
6559#: guide.sgml:524
6560msgid ""
6561"Inside of the single quote is an informative string indicating the progress "
6562"of the negotiation phase of the download. Typically it progresses from "
6563"<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or "
6564"<em>Resuming</em>. The final value is the number of bytes downloaded from "
6565"the remote site. Once the download begins this is represented as "
6566"<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 "
6567"kilobytes is expected. The total size is always shown in 4 figure notation "
6568"to preserve space. After the size display is a percent meter for the file "
6569"itself. The second last element is the instantaneous average speed. This "
6570"values is updated every 5 seconds and reflects the rate of data transfer for "
6571"that period. Finally is shown the estimated transfer time. This is updated "
6572"regularly and reflects the time to complete everything at the shown transfer "
6573"rate."
6574msgstr ""
6575
6576#. type: <p></p>
6577#: guide.sgml:530
6578msgid ""
6579"The status display updates every half second to provide a constant feedback "
6580"on the download progress while the Get lines scroll back whenever a new file "
6581"is started. Since the status display is constantly updated it is unsuitable "
6582"for logging to a file, use the <tt>-q</tt> option to remove the status "
6583"display."
6584msgstr ""
6585
6586#. type: <heading></heading>
6587#: guide.sgml:535
6588msgid "Dpkg"
6589msgstr ""
6590
6591#. type: <p></p>
6592#: guide.sgml:542
6593msgid ""
6594"APT uses <prgn>dpkg</prgn> for installing the archives and will switch over "
6595"to the <prgn>dpkg</prgn> interface once downloading is "
6596"completed. <prgn>dpkg</prgn> will also ask a number of questions as it "
6597"processes the packages and the packages themselves may also ask several "
6598"questions. Before each question there is usually a description of what it is "
6599"asking and the questions are too varied to discuss completely here."
6600msgstr ""
6601
6602#. type: <title></title>
6603#: offline.sgml:4
6604msgid "Using APT Offline"
6605msgstr ""
6606
6607#. type: <version></version>
6608#: offline.sgml:7
6609msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
6610msgstr ""
6611
6612#. type: <abstract></abstract>
6613#: offline.sgml:12
6614msgid ""
6615"This document describes how to use APT in a non-networked environment, "
6616"specifically a 'sneaker-net' approach for performing upgrades."
6617msgstr ""
6618
6619#. type: <copyrightsummary></copyrightsummary>
6620#: offline.sgml:16
6621msgid "Copyright &copy; Jason Gunthorpe, 1999."
6622msgstr ""
6623
6624#. type: <heading></heading>
6625#: offline.sgml:32
6626msgid "Introduction"
6627msgstr ""
6628
6629#. type: <heading></heading>
6630#: offline.sgml:34 offline.sgml:65 offline.sgml:180
6631msgid "Overview"
6632msgstr ""
6633
6634#. type: <p></p>
6635#: offline.sgml:40
6636msgid ""
6637"Normally APT requires direct access to a Debian archive, either from a local "
6638"media or through a network. Another common complaint is that a Debian "
6639"machine is on a slow link, such as a modem and another machine has a very "
6640"fast connection but they are physically distant."
6641msgstr ""
6642
6643#. type: <p></p>
6644#: offline.sgml:51
6645msgid ""
6646"The solution to this is to use large removable media such as a Zip disc or a "
6647"SuperDisk disc. These discs are not large enough to store the entire Debian "
6648"archive but can easily fit a subset large enough for most users. The idea is "
6649"to use APT to generate a list of packages that are required and then fetch "
6650"them onto the disc using another machine with good connectivity. It is even "
6651"possible to use another Debian machine with APT or to use a completely "
6652"different OS and a download tool like wget. Let <em>remote host</em> mean "
6653"the machine downloading the packages, and <em>target host</em> the one with "
6654"bad or no connection."
6655msgstr ""
6656
6657#. type: <p></p>
6658#: offline.sgml:57
6659msgid ""
6660"This is achieved by creatively manipulating the APT configuration file. The "
b39c1859 6661"essential premise to tell APT to look on a disc for it's archive files. Note "
43be0ac4
MV
6662"that the disc should be formated with a filesystem that can handle long file "
6663"names such as ext2, fat32 or vfat."
6664msgstr ""
6665
6666#. type: <heading></heading>
6667#: offline.sgml:63
6668msgid "Using APT on both machines"
6669msgstr ""
6670
6671#. type: <p><example>
6672#: offline.sgml:71
6673msgid ""
6674"APT being available on both machines gives the simplest configuration. The "
6675"basic idea is to place a copy of the status file on the disc and use the "
6676"remote machine to fetch the latest package files and decide which packages "
6677"to download. The disk directory structure should look like:"
6678msgstr ""
6679
6680#. type: <example></example>
6681#: offline.sgml:80
6682#, no-wrap
6683msgid ""
6684" /disc/\n"
6685" archives/\n"
6686" partial/\n"
6687" lists/\n"
6688" partial/\n"
6689" status\n"
6690" sources.list\n"
6691" apt.conf"
6692msgstr ""
6693
6694#. type: <heading></heading>
6695#: offline.sgml:88
6696msgid "The configuration file"
6697msgstr ""
6698
6699#. type: <p></p>
6700#: offline.sgml:96
6701msgid ""
6702"The configuration file should tell APT to store its files on the disc and to "
6703"use the configuration files on the disc as well. The sources.list should "
6704"contain the proper sites that you wish to use from the remote machine, and "
6705"the status file should be a copy of <em>/var/lib/dpkg/status</em> from the "
6706"<em>target host</em>. Please note, if you are using a local archive you must "
6707"use copy URIs, the syntax is identical to file URIs."
6708msgstr ""
6709
6710#. type: <p><example>
6711#: offline.sgml:100
6712msgid ""
6713"<em>apt.conf</em> must contain the necessary information to make APT use the "
6714"disc:"
6715msgstr ""
6716
6717#. type: <example></example>
6718#: offline.sgml:124
6719#, no-wrap
6720msgid ""
6721" APT\n"
6722" {\n"
6723" /* This is not necessary if the two machines are the same arch, it "
6724"tells\n"
6725" the remote APT what architecture the target machine is */\n"
6726" Architecture \"i386\";\n"
6727" \n"
6728" Get::Download-Only \"true\";\n"
6729" };\n"
6730" \n"
6731" Dir\n"
6732" {\n"
6733" /* Use the disc for state information and redirect the status file from\n"
6734" the /var/lib/dpkg default */\n"
6735" State \"/disc/\";\n"
6736" State::status \"status\";\n"
6737"\n"
6738" // Binary caches will be stored locally\n"
6739" Cache::archives \"/disc/archives/\";\n"
6740" Cache \"/tmp/\";\n"
6741" \n"
6742" // Location of the source list.\n"
6743" Etc \"/disc/\";\n"
6744" };"
6745msgstr ""
6746
6747#. type: </example></p>
6748#: offline.sgml:129
6749msgid ""
6750"More details can be seen by examining the apt.conf man page and the sample "
6751"configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>."
6752msgstr ""
6753
6754#. type: <p><example>
6755#: offline.sgml:136
6756msgid ""
6757"On the target machine the first thing to do is mount the disc and copy "
6758"<em>/var/lib/dpkg/status</em> to it. You will also need to create the "
6759"directories outlined in the Overview, <em>archives/partial/</em> and "
b39c1859 6760"<em>lists/partial/</em>. Then take the disc to the remote machine and "
43be0ac4
MV
6761"configure the sources.list. On the remote machine execute the following:"
6762msgstr ""
6763
6764#. type: <example></example>
6765#: offline.sgml:142
6766#, no-wrap
6767msgid ""
6768" # export APT_CONFIG=\"/disc/apt.conf\"\n"
6769" # apt-get update\n"
6770" [ APT fetches the package files ]\n"
6771" # apt-get dist-upgrade\n"
6772" [ APT fetches all the packages needed to upgrade the target machine ]"
6773msgstr ""
6774
6775#. type: </example></p>
6776#: offline.sgml:149
6777msgid ""
b39c1859 6778"The dist-upgrade command can be replaced with any other standard APT "
43be0ac4 6779"commands, particularly dselect-upgrade. You can even use an APT front end "
b39c1859 6780"such as <em>dselect</em>. However this presents a problem in communicating "
43be0ac4
MV
6781"your selections back to the local computer."
6782msgstr ""
6783
6784#. type: <p><example>
6785#: offline.sgml:153
6786msgid ""
6787"Now the disc contains all of the index files and archives needed to upgrade "
6788"the target machine. Take the disc back and run:"
6789msgstr ""
6790
6791#. type: <example></example>
6792#: offline.sgml:159
6793#, no-wrap
6794msgid ""
6795" # export APT_CONFIG=\"/disc/apt.conf\"\n"
6796" # apt-get check\n"
6797" [ APT generates a local copy of the cache files ]\n"
6798" # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
6799" [ Or any other APT command ]"
6800msgstr ""
6801
6802#. type: <p></p>
6803#: offline.sgml:165
6804msgid ""
6805"It is necessary for proper function to re-specify the status file to be the "
6806"local one. This is very important!"
6807msgstr ""
6808
6809#. type: <p></p>
6810#: offline.sgml:172
6811msgid ""
6812"If you are using dselect you can do the very risky operation of copying "
6813"disc/status to /var/lib/dpkg/status so that any selections you made on the "
6814"remote machine are updated. I highly recommend that people only make "
6815"selections on the local machine - but this may not always be possible. DO "
6816"NOT copy the status file if dpkg or APT have been run in the mean time!!"
6817msgstr ""
6818
6819#. type: <heading></heading>
6820#: offline.sgml:178
6821msgid "Using APT and wget"
6822msgstr ""
6823
6824#. type: <p></p>
6825#: offline.sgml:185
6826msgid ""
6827"<em>wget</em> is a popular and portable download tool that can run on nearly "
6828"any machine. Unlike the method above this requires that the Debian machine "
6829"already has a list of available packages."
6830msgstr ""
6831
6832#. type: <p></p>
6833#: offline.sgml:190
6834msgid ""
6835"The basic idea is to create a disc that has only the archive files "
6836"downloaded from the remote site. This is done by using the --print-uris "
6837"option to apt-get and then preparing a wget script to actually fetch the "
6838"packages."
6839msgstr ""
6840
6841#. type: <heading></heading>
6842#: offline.sgml:196
6843msgid "Operation"
6844msgstr ""
6845
6846#. type: <p><example>
6847#: offline.sgml:200
6848msgid ""
6849"Unlike the previous technique no special configuration files are "
6850"required. We merely use the standard APT commands to generate the file list."
6851msgstr ""
6852
6853#. type: <example></example>
6854#: offline.sgml:205
6855#, no-wrap
6856msgid ""
6857" # apt-get dist-upgrade \n"
6858" [ Press no when prompted, make sure you are happy with the actions ]\n"
6859" # apt-get -qq --print-uris dist-upgrade > uris\n"
6860" # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
6861msgstr ""
6862
6863#. type: </example></p>
6864#: offline.sgml:210
6865msgid ""
6866"Any command other than dist-upgrade could be used here, including "
6867"dselect-upgrade."
6868msgstr ""
6869
6870#. type: <p></p>
6871#: offline.sgml:216
6872msgid ""
6873"The /disc/wget-script file will now contain a list of wget commands to "
6874"execute in order to fetch the necessary archives. This script should be run "
6875"with the current directory as the disc's mount point so as to save the "
6876"output on the disc."
6877msgstr ""
6878
6879#. type: <p><example>
6880#: offline.sgml:219
6881msgid "The remote machine would do something like"
6882msgstr ""
6883
6884#. type: <example></example>
6885#: offline.sgml:223
6886#, no-wrap
6887msgid ""
6888" # cd /disc\n"
6889" # sh -x ./wget-script\n"
6890" [ wait.. ]"
6891msgstr ""
6892
6893#. type: </example><example>
6894#: offline.sgml:228
6895msgid ""
6896"Once the archives are downloaded and the disc returned to the Debian machine "
6897"installation can proceed using,"
6898msgstr ""
6899
6900#. type: <example></example>
6901#: offline.sgml:230
6902#, no-wrap
6903msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
6904msgstr ""
6905
6906#. type: </example></p>
6907#: offline.sgml:234
6908msgid "Which will use the already fetched archives on the disc."
6909msgstr ""