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