]> git.saurik.com Git - apt.git/blame - doc/po/it.po
reorder the translatable files in the pot in a way that at least partly
[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"
7d76ea1d 13"POT-Creation-Date: 2012-06-04 14:00+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
1075#: apt-secure.8.xml:192 apt-cdrom.8.xml:144 apt-config.8.xml:109
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 ""
7d76ea1d
DK
1596"Work similar to the <command>update</command> command above, but get the "
1597"archive keyring from an URI instead and validate it against a master key. "
1598"This requires an installed &wget; and an APT build configured to have a "
1599"server to fetch from and a master keyring to validate. APT in Debian does "
1600"not support this command and relies on <command>update</command> instead, "
1601"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 ""
7d76ea1d
DK
1619"With this option it is possible to specify a specific keyring file the "
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 ""
7d76ea1d
DK
1704"<literal>hold</literal> is used to mark a package as hold back, which will "
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 "
1708"effected 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 ""
7d76ea1d
DK
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 "
1777"installing it will result in a big warning. <command>apt-get</command> will "
1778"currently only warn for unsigned archives, future releases might force all "
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 ""
1797"The chain of trust from an apt archive to the end user is made up of "
1798"different steps. <command>apt-secure</command> is the last step in this "
1799"chain, trusting an archive does not mean that the packages that you trust it "
1800"do not contain malicious code but means that you trust the archive "
1801"maintainer. It's the archive maintainer responsibility to ensure that the "
1802"archive integrity is correct."
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 "
1818"or a new version of a package to the Debian archive. This upload in order to "
1819"become effective needs to be signed by a key of a maintainer within the "
1820"Debian maintainer's keyring (available in the debian-keyring package). "
1821"Maintainer's keys are signed by other maintainers following pre-established "
1822"procedures to 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 "
1829"maintainer signature is stripped off, an MD5 sum of the package is computed "
1830"and put in the Packages file. The MD5 sum of all of the packages files are "
1831"then computed and put into the Release file. The Release file is then signed "
1832"by the archive key (which is created once a year) and distributed through "
1833"the FTP server. This key is also on the Debian keyring."
071fa62e
DK
1834msgstr ""
1835
7d76ea1d
DK
1836#. type: Content of: <refentry><refsect1><para>
1837#: apt-secure.8.xml:112
1838msgid ""
1839"Any end user can check the signature of the Release file, extract the MD5 "
1840"sum of a package from it and compare it with the MD5 sum of the package he "
1841"downloaded. Prior to version 0.6 only the MD5 sum of the downloaded Debian "
1842"package was checked. Now both the MD5 sum and the signature of the Release "
1843"file are checked."
071fa62e
DK
1844msgstr ""
1845
1846#. type: Content of: <refentry><refsect1><para>
7d76ea1d 1847#: apt-secure.8.xml:119
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
DK
1853#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1854#: apt-secure.8.xml:124
1855msgid ""
1856"<literal>Network \"man in the middle\" attacks</literal>. Without signature "
1857"checking, a malicious agent can introduce himself in the package download "
1858"process and provide malicious software either by controlling a network "
1859"element (router, switch, etc.) or by redirecting traffic to a rogue server "
1860"(through arp or DNS spoofing attacks)."
071fa62e
DK
1861msgstr ""
1862
7d76ea1d
DK
1863#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1864#: apt-secure.8.xml:132
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>
7d76ea1d 1873#: apt-secure.8.xml:139
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>
7d76ea1d
DK
1882#: apt-secure.8.xml:145
1883msgid "User configuration"
071fa62e
DK
1884msgstr ""
1885
1886#. type: Content of: <refentry><refsect1><para>
7d76ea1d 1887#: apt-secure.8.xml:147
071fa62e 1888msgid ""
7d76ea1d
DK
1889"<command>apt-key</command> is the program that manages the list of keys used "
1890"by apt. It can be used to add or remove keys although an installation of "
1891"this release will automatically provide the default Debian archive signing "
1892"keys used in the Debian package repositories."
071fa62e
DK
1893msgstr ""
1894
1895#. type: Content of: <refentry><refsect1><para>
7d76ea1d 1896#: apt-secure.8.xml:154
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
DK
1906#. type: Content of: <refentry><refsect1><title>
1907#: apt-secure.8.xml:163
1908msgid "Archive configuration"
071fa62e
DK
1909msgstr ""
1910
7d76ea1d
DK
1911#. type: Content of: <refentry><refsect1><para>
1912#: apt-secure.8.xml:165
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
DK
1918#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1919#: apt-secure.8.xml:170
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
DK
1926#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1927#: apt-secure.8.xml:175
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
DK
1934#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
1935#: apt-secure.8.xml:179
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
DK
1942#. type: Content of: <refentry><refsect1><para>
1943#: apt-secure.8.xml:186
071fa62e 1944msgid ""
7d76ea1d
DK
1945"Whenever the contents of the archive changes (new packages are added or "
1946"removed) the archive maintainer has to follow the first two steps previously "
1947"outlined."
071fa62e
DK
1948msgstr ""
1949
7d76ea1d
DK
1950#. type: Content of: <refentry><refsect1><para>
1951#: apt-secure.8.xml:194
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
DK
1957#. type: Content of: <refentry><refsect1><para>
1958#: apt-secure.8.xml:198
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
DK
1968#. type: Content of: <refentry><refsect1><title>
1969#: apt-secure.8.xml:211
1970msgid "Manpage Authors"
b39c1859
MV
1971msgstr ""
1972
7d76ea1d
DK
1973#. type: Content of: <refentry><refsect1><para>
1974#: apt-secure.8.xml:213
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 "
2227"ignored a file if the file doesn't match a pattern in the <literal>Dir::"
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 "
3543"priority for installation. The APT preferences file overrides the "
3544"priorities that APT assigns to package versions by default, thus giving the "
3545"user control 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 "
3554"the &sources-list; file. The APT preferences file does not affect the "
3555"choice of instance, only the choice of version."
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 "
3563"not questioning the preferences so wrong settings will therefore lead to "
3564"uninstallable packages or wrong decisions while upgrading packages. Even "
3565"more problems will arise if multiply distribution releases are mixed without "
3566"a good understanding of the following paragraphs. Packages included in a "
3567"specific release aren't tested in and therefore doesn't always work as "
3568"expected in older or newer releases or together with other packages from "
3569"different releases. You have been warned."
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 "
3580"that it has ignored a file if the file doesn't match a pattern in the "
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</"
3635"emphasis> as \"ButAutomaticUpgrades: yes\" like the debian "
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 "
3649"as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the debian "
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
DK
3772"The specific form assigns a priority (a \"Pin-Priority\") to one or more "
3773"specified packages and specified version or version range. For example, the "
3774"following record assigns a high priority to all versions of the "
3775"<filename>perl</filename> package whose version number begins with "
3776"\"<literal>5.8</literal>\". Multiple packages can be separated by spaces."
071fa62e
DK
3777msgstr ""
3778
7d76ea1d
DK
3779#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3780#: apt_preferences.5.xml:194
071fa62e 3781#, no-wrap
7d76ea1d
DK
3782msgid ""
3783"Package: perl\n"
3784"Pin: version 5.8*\n"
3785"Pin-Priority: 1001\n"
071fa62e
DK
3786msgstr ""
3787
7d76ea1d
DK
3788#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3789#: apt_preferences.5.xml:200
071fa62e 3790msgid ""
7d76ea1d
DK
3791"The general form assigns a priority to all of the package versions in a "
3792"given distribution (that is, to all the versions of packages that are listed "
3793"in a certain <filename>Release</filename> file) or to all of the package "
3794"versions coming from a particular Internet site, as identified by the site's "
3795"fully qualified domain name."
071fa62e
DK
3796msgstr ""
3797
7d76ea1d
DK
3798#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3799#: apt_preferences.5.xml:206
3800msgid ""
3801"This general-form entry in the APT preferences file applies only to groups "
3802"of packages. For example, the following record assigns a high priority to "
3803"all package versions available from the local site."
071fa62e
DK
3804msgstr ""
3805
7d76ea1d
DK
3806#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3807#: apt_preferences.5.xml:211
071fa62e 3808#, no-wrap
7d76ea1d
DK
3809msgid ""
3810"Package: *\n"
3811"Pin: origin \"\"\n"
3812"Pin-Priority: 999\n"
071fa62e
DK
3813msgstr ""
3814
7d76ea1d
DK
3815#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3816#: apt_preferences.5.xml:216
071fa62e 3817msgid ""
7d76ea1d
DK
3818"A note of caution: the keyword used here is \"<literal>origin</literal>\" "
3819"which can be used to match a hostname. The following record will assign a "
3820"high priority to all versions available from the server identified by the "
3821"hostname \"ftp.de.debian.org\""
071fa62e
DK
3822msgstr ""
3823
7d76ea1d
DK
3824#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3825#: apt_preferences.5.xml:220
071fa62e 3826#, no-wrap
7d76ea1d
DK
3827msgid ""
3828"Package: *\n"
3829"Pin: origin \"ftp.de.debian.org\"\n"
3830"Pin-Priority: 999\n"
071fa62e
DK
3831msgstr ""
3832
7d76ea1d
DK
3833#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3834#: apt_preferences.5.xml:224
071fa62e 3835msgid ""
7d76ea1d
DK
3836"This should <emphasis>not</emphasis> be confused with the Origin of a "
3837"distribution as specified in a <filename>Release</filename> file. What "
3838"follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
3839"Internet address but an author or vendor name, such as \"Debian\" or \"Ximian"
3840"\"."
071fa62e
DK
3841msgstr ""
3842
7d76ea1d
DK
3843#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3844#: apt_preferences.5.xml:229
071fa62e 3845msgid ""
7d76ea1d
DK
3846"The following record assigns a low priority to all package versions "
3847"belonging to any distribution whose Archive name is \"<literal>unstable</"
3848"literal>\"."
071fa62e
DK
3849msgstr ""
3850
7d76ea1d
DK
3851#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3852#: apt_preferences.5.xml:233
3853#, no-wrap
3184b4cf 3854msgid ""
7d76ea1d
DK
3855"Package: *\n"
3856"Pin: release a=unstable\n"
3857"Pin-Priority: 50\n"
3184b4cf
DK
3858msgstr ""
3859
7d76ea1d
DK
3860#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3861#: apt_preferences.5.xml:238
bf5c3fe8 3862msgid ""
7d76ea1d
DK
3863"The following record assigns a high priority to all package versions "
3864"belonging to any distribution whose Codename is \"<literal>&testing-codename;"
3865"</literal>\"."
bf5c3fe8
MV
3866msgstr ""
3867
7d76ea1d
DK
3868#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3869#: apt_preferences.5.xml:242
bf5c3fe8 3870#, no-wrap
bf5c3fe8 3871msgid ""
7d76ea1d
DK
3872"Package: *\n"
3873"Pin: release n=&testing-codename;\n"
3874"Pin-Priority: 900\n"
bf5c3fe8
MV
3875msgstr ""
3876
7d76ea1d
DK
3877#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
3878#: apt_preferences.5.xml:247
c086ac18 3879msgid ""
7d76ea1d
DK
3880"The following record assigns a high priority to all package versions "
3881"belonging to any release whose Archive name is \"<literal>stable</literal>\" "
3882"and whose release Version number is \"<literal>3.0</literal>\"."
c086ac18
DK
3883msgstr ""
3884
7d76ea1d
DK
3885#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
3886#: apt_preferences.5.xml:252
3887#, no-wrap
3888msgid ""
3889"Package: *\n"
3890"Pin: release a=stable, v=3.0\n"
3891"Pin-Priority: 500\n"
071fa62e
DK
3892msgstr ""
3893
7d76ea1d
DK
3894#. type: Content of: <refentry><refsect1><refsect2><title>
3895#: apt_preferences.5.xml:262
3896msgid "Regular expressions and glob() syntax"
071fa62e
DK
3897msgstr ""
3898
7d76ea1d
DK
3899#. type: Content of: <refentry><refsect1><refsect2><para>
3900#: apt_preferences.5.xml:264
071fa62e 3901msgid ""
7d76ea1d
DK
3902"APT also supports pinning by glob() expressions and regular expressions "
3903"surrounded by /. For example, the following example assigns the priority 500 "
3904"to all packages from experimental where the name starts with gnome (as a glob"
3905"()-like expression) or contains the word kde (as a POSIX extended regular "
3906"expression surrounded by slashes)."
071fa62e
DK
3907msgstr ""
3908
7d76ea1d
DK
3909#. type: Content of: <refentry><refsect1><refsect2><programlisting>
3910#: apt_preferences.5.xml:273
3911#, no-wrap
071fa62e 3912msgid ""
7d76ea1d
DK
3913"Package: gnome* /kde/\n"
3914"Pin: release n=experimental\n"
3915"Pin-Priority: 500\n"
071fa62e
DK
3916msgstr ""
3917
7d76ea1d
DK
3918#. type: Content of: <refentry><refsect1><refsect2><para>
3919#: apt_preferences.5.xml:279
071fa62e 3920msgid ""
7d76ea1d
DK
3921"The rule for those expressions is that they can occur anywhere where a "
3922"string can occur. Thus, the following pin assigns the priority 990 to all "
3923"packages from a release starting with karmic."
071fa62e
DK
3924msgstr ""
3925
7d76ea1d
DK
3926#. type: Content of: <refentry><refsect1><refsect2><programlisting>
3927#: apt_preferences.5.xml:285
3928#, no-wrap
071fa62e 3929msgid ""
7d76ea1d
DK
3930"Package: *\n"
3931"Pin: release n=karmic*\n"
3932"Pin-Priority: 990\n"
071fa62e
DK
3933msgstr ""
3934
7d76ea1d
DK
3935#. type: Content of: <refentry><refsect1><refsect2><para>
3936#: apt_preferences.5.xml:291
071fa62e 3937msgid ""
7d76ea1d
DK
3938"If a regular expression occurs in a <literal>Package</literal> field, the "
3939"behavior is the same as if this regular expression were replaced with a list "
3940"of all package names it matches. It is undecided whether this will change in "
3941"the future, thus you should always list wild-card pins first, so later "
3942"specific pins override it. The pattern \"<literal>*</literal>\" in a "
3943"Package field is not considered a glob() expression in itself."
071fa62e
DK
3944msgstr ""
3945
7d76ea1d
DK
3946#. type: Content of: <refentry><refsect1><refsect2><title>
3947#: apt_preferences.5.xml:307
3948msgid "How APT Interprets Priorities"
3949msgstr ""
3950
3951#. type: Content of: <refentry><refsect1><refsect2><para>
3952#: apt_preferences.5.xml:310
b6c6b52f 3953msgid ""
7d76ea1d
DK
3954"Priorities (P) assigned in the APT preferences file must be positive or "
3955"negative integers. They are interpreted as follows (roughly speaking):"
b6c6b52f
MV
3956msgstr ""
3957
7d76ea1d
DK
3958#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3959#: apt_preferences.5.xml:315
3960msgid "P &gt; 1000"
3961msgstr ""
071fa62e 3962
7d76ea1d
DK
3963#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3964#: apt_preferences.5.xml:316
071fa62e 3965msgid ""
7d76ea1d
DK
3966"causes a version to be installed even if this constitutes a downgrade of the "
3967"package"
071fa62e
DK
3968msgstr ""
3969
7d76ea1d
DK
3970#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3971#: apt_preferences.5.xml:320
3972msgid "990 &lt; P &lt;=1000"
071fa62e
DK
3973msgstr ""
3974
7d76ea1d
DK
3975#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3976#: apt_preferences.5.xml:321
071fa62e 3977msgid ""
7d76ea1d
DK
3978"causes a version to be installed even if it does not come from the target "
3979"release, unless the installed version is more recent"
071fa62e
DK
3980msgstr ""
3981
7d76ea1d
DK
3982#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3983#: apt_preferences.5.xml:326
3984msgid "500 &lt; P &lt;=990"
071fa62e
DK
3985msgstr ""
3986
7d76ea1d
DK
3987#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3988#: apt_preferences.5.xml:327
071fa62e 3989msgid ""
7d76ea1d
DK
3990"causes a version to be installed unless there is a version available "
3991"belonging to the target release or the installed version is more recent"
071fa62e
DK
3992msgstr ""
3993
7d76ea1d
DK
3994#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3995#: apt_preferences.5.xml:332
3996msgid "100 &lt; P &lt;=500"
071fa62e
DK
3997msgstr ""
3998
7d76ea1d
DK
3999#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4000#: apt_preferences.5.xml:333
071fa62e 4001msgid ""
7d76ea1d
DK
4002"causes a version to be installed unless there is a version available "
4003"belonging to some other distribution or the installed version is more recent"
071fa62e
DK
4004msgstr ""
4005
7d76ea1d
DK
4006#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4007#: apt_preferences.5.xml:338
4008msgid "0 &lt; P &lt;=100"
071fa62e
DK
4009msgstr ""
4010
7d76ea1d
DK
4011#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4012#: apt_preferences.5.xml:339
071fa62e 4013msgid ""
7d76ea1d
DK
4014"causes a version to be installed only if there is no installed version of "
4015"the package"
071fa62e
DK
4016msgstr ""
4017
7d76ea1d
DK
4018#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4019#: apt_preferences.5.xml:343
4020msgid "P &lt; 0"
071fa62e
DK
4021msgstr ""
4022
7d76ea1d
DK
4023#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4024#: apt_preferences.5.xml:344
4025msgid "prevents the version from being installed"
071fa62e
DK
4026msgstr ""
4027
7d76ea1d
DK
4028#. type: Content of: <refentry><refsect1><refsect2><para>
4029#: apt_preferences.5.xml:349
071fa62e 4030msgid ""
7d76ea1d
DK
4031"If any specific-form records match an available package version then the "
4032"first such record determines the priority of the package version. Failing "
4033"that, if any general-form records match an available package version then "
4034"the first such record determines the priority of the package version."
071fa62e
DK
4035msgstr ""
4036
7d76ea1d
DK
4037#. type: Content of: <refentry><refsect1><refsect2><para>
4038#: apt_preferences.5.xml:355
071fa62e 4039msgid ""
7d76ea1d
DK
4040"For example, suppose the APT preferences file contains the three records "
4041"presented earlier:"
071fa62e
DK
4042msgstr ""
4043
7d76ea1d
DK
4044#. type: Content of: <refentry><refsect1><refsect2><programlisting>
4045#: apt_preferences.5.xml:359
4046#, no-wrap
4047msgid ""
4048"Package: perl\n"
4049"Pin: version 5.8*\n"
4050"Pin-Priority: 1001\n"
4051"\n"
4052"Package: *\n"
4053"Pin: origin \"\"\n"
4054"Pin-Priority: 999\n"
4055"\n"
4056"Package: *\n"
4057"Pin: release unstable\n"
4058"Pin-Priority: 50\n"
071fa62e
DK
4059msgstr ""
4060
4061#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d
DK
4062#: apt_preferences.5.xml:372
4063msgid "Then:"
4064msgstr ""
4065
4066#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4067#: apt_preferences.5.xml:374
071fa62e 4068msgid ""
7d76ea1d
DK
4069"The most recent available version of the <literal>perl</literal> package "
4070"will be installed, so long as that version's version number begins with "
4071"\"<literal>5.8</literal>\". If <emphasis>any</emphasis> 5.8* version of "
4072"<literal>perl</literal> is available and the installed version is 5.9*, then "
4073"<literal>perl</literal> will be downgraded."
071fa62e
DK
4074msgstr ""
4075
7d76ea1d
DK
4076#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4077#: apt_preferences.5.xml:379
071fa62e 4078msgid ""
7d76ea1d
DK
4079"A version of any package other than <literal>perl</literal> that is "
4080"available from the local system has priority over other versions, even "
4081"versions belonging to the target release."
071fa62e
DK
4082msgstr ""
4083
7d76ea1d
DK
4084#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4085#: apt_preferences.5.xml:383
071fa62e 4086msgid ""
7d76ea1d
DK
4087"A version of a package whose origin is not the local system but some other "
4088"site listed in &sources-list; and which belongs to an <literal>unstable</"
4089"literal> distribution is only installed if it is selected for installation "
4090"and no version of the package is already installed."
4091msgstr ""
4092
4093#. type: Content of: <refentry><refsect1><refsect2><title>
4094#: apt_preferences.5.xml:393
4095msgid "Determination of Package Version and Distribution Properties"
071fa62e
DK
4096msgstr ""
4097
7d76ea1d
DK
4098#. type: Content of: <refentry><refsect1><refsect2><para>
4099#: apt_preferences.5.xml:395
071fa62e 4100msgid ""
7d76ea1d
DK
4101"The locations listed in the &sources-list; file should provide "
4102"<filename>Packages</filename> and <filename>Release</filename> files to "
4103"describe the packages available at that location."
071fa62e
DK
4104msgstr ""
4105
7d76ea1d
DK
4106#. type: Content of: <refentry><refsect1><refsect2><para>
4107#: apt_preferences.5.xml:399
071fa62e 4108msgid ""
7d76ea1d
DK
4109"The <filename>Packages</filename> file is normally found in the directory "
4110"<filename>.../dists/<replaceable>dist-name</replaceable>/"
4111"<replaceable>component</replaceable>/<replaceable>arch</replaceable></"
4112"filename>: for example, <filename>.../dists/stable/main/binary-i386/"
4113"Packages</filename>. It consists of a series of multi-line records, one for "
4114"each package available in that directory. Only two lines in each record are "
4115"relevant for setting APT priorities:"
071fa62e
DK
4116msgstr ""
4117
7d76ea1d
DK
4118#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4119#: apt_preferences.5.xml:407
4120msgid "the <literal>Package:</literal> line"
071fa62e
DK
4121msgstr ""
4122
7d76ea1d
DK
4123#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4124#: apt_preferences.5.xml:408
4125msgid "gives the package name"
071fa62e
DK
4126msgstr ""
4127
7d76ea1d
DK
4128#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4129#: apt_preferences.5.xml:411 apt_preferences.5.xml:461
4130msgid "the <literal>Version:</literal> line"
071fa62e
DK
4131msgstr ""
4132
7d76ea1d
DK
4133#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4134#: apt_preferences.5.xml:412
4135msgid "gives the version number for the named package"
071fa62e
DK
4136msgstr ""
4137
7d76ea1d
DK
4138#. type: Content of: <refentry><refsect1><refsect2><para>
4139#: apt_preferences.5.xml:417
071fa62e 4140msgid ""
7d76ea1d
DK
4141"The <filename>Release</filename> file is normally found in the directory "
4142"<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
4143"example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
4144"dists/&stable-codename;/Release</filename>. It consists of a single multi-"
4145"line record which applies to <emphasis>all</emphasis> of the packages in the "
4146"directory tree below its parent. Unlike the <filename>Packages</filename> "
4147"file, nearly all of the lines in a <filename>Release</filename> file are "
4148"relevant for setting APT priorities:"
071fa62e
DK
4149msgstr ""
4150
7d76ea1d
DK
4151#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4152#: apt_preferences.5.xml:428
4153msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
071fa62e
DK
4154msgstr ""
4155
7d76ea1d
DK
4156#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4157#: apt_preferences.5.xml:429
071fa62e 4158msgid ""
7d76ea1d
DK
4159"names the archive to which all the packages in the directory tree belong. "
4160"For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
4161"that all of the packages in the directory tree below the parent of the "
4162"<filename>Release</filename> file are in a <literal>stable</literal> "
4163"archive. Specifying this value in the APT preferences file would require "
4164"the line:"
071fa62e
DK
4165msgstr ""
4166
7d76ea1d
DK
4167#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4168#: apt_preferences.5.xml:439
4169#, no-wrap
4170msgid "Pin: release a=stable\n"
071fa62e
DK
4171msgstr ""
4172
7d76ea1d
DK
4173#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4174#: apt_preferences.5.xml:445
4175msgid "the <literal>Codename:</literal> line"
071fa62e
DK
4176msgstr ""
4177
7d76ea1d
DK
4178#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4179#: apt_preferences.5.xml:446
071fa62e 4180msgid ""
7d76ea1d
DK
4181"names the codename to which all the packages in the directory tree belong. "
4182"For example, the line \"Codename: &testing-codename;\" specifies that all of "
4183"the packages in the directory tree below the parent of the "
4184"<filename>Release</filename> file belong to a version named "
4185"<literal>&testing-codename;</literal>. Specifying this value in the APT "
4186"preferences file would require the line:"
071fa62e
DK
4187msgstr ""
4188
7d76ea1d
DK
4189#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4190#: apt_preferences.5.xml:455
4191#, no-wrap
4192msgid "Pin: release n=&testing-codename;\n"
071fa62e
DK
4193msgstr ""
4194
7d76ea1d
DK
4195#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4196#: apt_preferences.5.xml:462
071fa62e 4197msgid ""
7d76ea1d
DK
4198"names the release version. For example, the packages in the tree might "
4199"belong to Debian release version 3.0. Note that there is normally no "
4200"version number for the <literal>testing</literal> and <literal>unstable</"
4201"literal> distributions because they have not been released yet. Specifying "
4202"this in the APT preferences file would require one of the following lines."
071fa62e
DK
4203msgstr ""
4204
7d76ea1d
DK
4205#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4206#: apt_preferences.5.xml:471
4207#, no-wrap
071fa62e 4208msgid ""
7d76ea1d
DK
4209"Pin: release v=3.0\n"
4210"Pin: release a=stable, v=3.0\n"
4211"Pin: release 3.0\n"
071fa62e
DK
4212msgstr ""
4213
7d76ea1d
DK
4214#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4215#: apt_preferences.5.xml:480
4216msgid "the <literal>Component:</literal> line"
071fa62e
DK
4217msgstr ""
4218
7d76ea1d
DK
4219#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4220#: apt_preferences.5.xml:481
071fa62e 4221msgid ""
7d76ea1d
DK
4222"names the licensing component associated with the packages in the directory "
4223"tree of the <filename>Release</filename> file. For example, the line "
4224"\"Component: main\" specifies that all the packages in the directory tree "
4225"are from the <literal>main</literal> component, which entails that they are "
4226"licensed under terms listed in the Debian Free Software Guidelines. "
4227"Specifying this component in the APT preferences file would require the line:"
071fa62e
DK
4228msgstr ""
4229
7d76ea1d
DK
4230#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4231#: apt_preferences.5.xml:490
4232#, no-wrap
4233msgid "Pin: release c=main\n"
071fa62e
DK
4234msgstr ""
4235
7d76ea1d
DK
4236#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4237#: apt_preferences.5.xml:496
4238msgid "the <literal>Origin:</literal> line"
071fa62e
DK
4239msgstr ""
4240
7d76ea1d
DK
4241#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4242#: apt_preferences.5.xml:497
071fa62e 4243msgid ""
7d76ea1d
DK
4244"names the originator of the packages in the directory tree of the "
4245"<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
4246"literal>. Specifying this origin in the APT preferences file would require "
4247"the line:"
071fa62e
DK
4248msgstr ""
4249
7d76ea1d
DK
4250#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4251#: apt_preferences.5.xml:503
4252#, no-wrap
4253msgid "Pin: release o=Debian\n"
071fa62e
DK
4254msgstr ""
4255
7d76ea1d
DK
4256#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4257#: apt_preferences.5.xml:509
4258msgid "the <literal>Label:</literal> line"
071fa62e
DK
4259msgstr ""
4260
7d76ea1d
DK
4261#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4262#: apt_preferences.5.xml:510
071fa62e 4263msgid ""
7d76ea1d
DK
4264"names the label of the packages in the directory tree of the "
4265"<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
4266"literal>. Specifying this label in the APT preferences file would require "
4267"the line:"
071fa62e
DK
4268msgstr ""
4269
7d76ea1d
DK
4270#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4271#: apt_preferences.5.xml:516
4272#, no-wrap
4273msgid "Pin: release l=Debian\n"
071fa62e
DK
4274msgstr ""
4275
7d76ea1d
DK
4276#. type: Content of: <refentry><refsect1><refsect2><para>
4277#: apt_preferences.5.xml:523
071fa62e 4278msgid ""
7d76ea1d
DK
4279"All of the <filename>Packages</filename> and <filename>Release</filename> "
4280"files retrieved from locations listed in the &sources-list; file are stored "
4281"in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
4282"named by the variable <literal>Dir::State::Lists</literal> in the "
4283"<filename>apt.conf</filename> file. For example, the file <filename>debian."
4284"lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
4285"contains the <filename>Release</filename> file retrieved from the site "
4286"<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
4287"architecture files from the <literal>contrib</literal> component of the "
4288"<literal>unstable</literal> distribution."
071fa62e
DK
4289msgstr ""
4290
7d76ea1d
DK
4291#. type: Content of: <refentry><refsect1><refsect2><title>
4292#: apt_preferences.5.xml:536
4293msgid "Optional Lines in an APT Preferences Record"
071fa62e
DK
4294msgstr ""
4295
7d76ea1d
DK
4296#. type: Content of: <refentry><refsect1><refsect2><para>
4297#: apt_preferences.5.xml:538
071fa62e 4298msgid ""
7d76ea1d
DK
4299"Each record in the APT preferences file can optionally begin with one or "
4300"more lines beginning with the word <literal>Explanation:</literal>. This "
4301"provides a place for comments."
071fa62e
DK
4302msgstr ""
4303
7d76ea1d
DK
4304#. type: Content of: <refentry><refsect1><refsect2><title>
4305#: apt_preferences.5.xml:547
4306msgid "Tracking Stable"
071fa62e
DK
4307msgstr ""
4308
7d76ea1d
DK
4309#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4310#: apt_preferences.5.xml:555
4311#, no-wrap
071fa62e 4312msgid ""
7d76ea1d
DK
4313"Explanation: Uninstall or do not install any Debian-originated\n"
4314"Explanation: package versions other than those in the stable distro\n"
4315"Package: *\n"
4316"Pin: release a=stable\n"
4317"Pin-Priority: 900\n"
4318"\n"
4319"Package: *\n"
4320"Pin: release o=Debian\n"
4321"Pin-Priority: -10\n"
071fa62e
DK
4322msgstr ""
4323
7d76ea1d
DK
4324#. type: Content of: <refentry><refsect1><refsect2><para>
4325#: apt_preferences.5.xml:549
071fa62e 4326msgid ""
7d76ea1d
DK
4327"The following APT preferences file will cause APT to assign a priority "
4328"higher than the default (500) to all package versions belonging to a "
4329"<literal>stable</literal> distribution and a prohibitively low priority to "
4330"package versions belonging to other <literal>Debian</literal> "
4331"distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
071fa62e
DK
4332msgstr ""
4333
7d76ea1d
DK
4334#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4335#: apt_preferences.5.xml:572 apt_preferences.5.xml:618
4336#: apt_preferences.5.xml:676
4337#, no-wrap
071fa62e 4338msgid ""
7d76ea1d
DK
4339"apt-get install <replaceable>package-name</replaceable>\n"
4340"apt-get upgrade\n"
4341"apt-get dist-upgrade\n"
071fa62e
DK
4342msgstr ""
4343
7d76ea1d
DK
4344#. type: Content of: <refentry><refsect1><refsect2><para>
4345#: apt_preferences.5.xml:567
071fa62e 4346msgid ""
7d76ea1d
DK
4347"With a suitable &sources-list; file and the above preferences file, any of "
4348"the following commands will cause APT to upgrade to the latest "
4349"<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
4350"id=\"0\"/>"
071fa62e
DK
4351msgstr ""
4352
7d76ea1d
DK
4353#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4354#: apt_preferences.5.xml:584
4355#, no-wrap
4356msgid "apt-get install <replaceable>package</replaceable>/testing\n"
4357msgstr ""
4358
4359#. type: Content of: <refentry><refsect1><refsect2><para>
4360#: apt_preferences.5.xml:578
071fa62e 4361msgid ""
7d76ea1d
DK
4362"The following command will cause APT to upgrade the specified package to the "
4363"latest version from the <literal>testing</literal> distribution; the package "
4364"will not be upgraded again unless this command is given again. <placeholder "
4365"type=\"programlisting\" id=\"0\"/>"
071fa62e
DK
4366msgstr ""
4367
7d76ea1d
DK
4368#. type: Content of: <refentry><refsect1><refsect2><title>
4369#: apt_preferences.5.xml:590
4370msgid "Tracking Testing or Unstable"
071fa62e
DK
4371msgstr ""
4372
7d76ea1d
DK
4373#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4374#: apt_preferences.5.xml:599
4375#, no-wrap
071fa62e 4376msgid ""
7d76ea1d
DK
4377"Package: *\n"
4378"Pin: release a=testing\n"
4379"Pin-Priority: 900\n"
4380"\n"
4381"Package: *\n"
4382"Pin: release a=unstable\n"
4383"Pin-Priority: 800\n"
4384"\n"
4385"Package: *\n"
4386"Pin: release o=Debian\n"
4387"Pin-Priority: -10\n"
071fa62e
DK
4388msgstr ""
4389
7d76ea1d
DK
4390#. type: Content of: <refentry><refsect1><refsect2><para>
4391#: apt_preferences.5.xml:592
071fa62e 4392msgid ""
7d76ea1d
DK
4393"The following APT preferences file will cause APT to assign a high priority "
4394"to package versions from the <literal>testing</literal> distribution, a "
4395"lower priority to package versions from the <literal>unstable</literal> "
4396"distribution, and a prohibitively low priority to package versions from "
4397"other <literal>Debian</literal> distributions. <placeholder type="
4398"\"programlisting\" id=\"0\"/>"
071fa62e
DK
4399msgstr ""
4400
7d76ea1d
DK
4401#. type: Content of: <refentry><refsect1><refsect2><para>
4402#: apt_preferences.5.xml:613
071fa62e 4403msgid ""
7d76ea1d
DK
4404"With a suitable &sources-list; file and the above preferences file, any of "
4405"the following commands will cause APT to upgrade to the latest "
4406"<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
4407"id=\"0\"/>"
071fa62e
DK
4408msgstr ""
4409
7d76ea1d
DK
4410#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4411#: apt_preferences.5.xml:633
4412#, no-wrap
4413msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
4414msgstr ""
4415
4416#. type: Content of: <refentry><refsect1><refsect2><para>
4417#: apt_preferences.5.xml:624
071fa62e 4418msgid ""
7d76ea1d
DK
4419"The following command will cause APT to upgrade the specified package to the "
4420"latest version from the <literal>unstable</literal> distribution. "
4421"Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
4422"the most recent <literal>testing</literal> version if that is more recent "
4423"than the installed version, otherwise, to the most recent <literal>unstable</"
4424"literal> version if that is more recent than the installed version. "
4425"<placeholder type=\"programlisting\" id=\"0\"/>"
071fa62e
DK
4426msgstr ""
4427
7d76ea1d
DK
4428#. type: Content of: <refentry><refsect1><refsect2><title>
4429#: apt_preferences.5.xml:640
4430msgid "Tracking the evolution of a codename release"
071fa62e
DK
4431msgstr ""
4432
7d76ea1d
DK
4433#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4434#: apt_preferences.5.xml:654
4435#, no-wrap
071fa62e 4436msgid ""
7d76ea1d
DK
4437"Explanation: Uninstall or do not install any Debian-originated package versions\n"
4438"Explanation: other than those in the distribution codenamed with &testing-codename; or sid\n"
4439"Package: *\n"
4440"Pin: release n=&testing-codename;\n"
4441"Pin-Priority: 900\n"
4442"\n"
4443"Explanation: Debian unstable is always codenamed with sid\n"
4444"Package: *\n"
4445"Pin: release n=sid\n"
4446"Pin-Priority: 800\n"
4447"\n"
4448"Package: *\n"
4449"Pin: release o=Debian\n"
4450"Pin-Priority: -10\n"
071fa62e
DK
4451msgstr ""
4452
7d76ea1d
DK
4453#. type: Content of: <refentry><refsect1><refsect2><para>
4454#: apt_preferences.5.xml:642
071fa62e 4455msgid ""
7d76ea1d
DK
4456"The following APT preferences file will cause APT to assign a priority "
4457"higher than the default (500) to all package versions belonging to a "
4458"specified codename of a distribution and a prohibitively low priority to "
4459"package versions belonging to other <literal>Debian</literal> distributions, "
4460"codenames and archives. Note that with this APT preference APT will follow "
4461"the migration of a release from the archive <literal>testing</literal> to "
4462"<literal>stable</literal> and later <literal>oldstable</literal>. If you "
4463"want to follow for example the progress in <literal>testing</literal> "
4464"notwithstanding the codename changes you should use the example "
4465"configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
071fa62e
DK
4466msgstr ""
4467
7d76ea1d
DK
4468#. type: Content of: <refentry><refsect1><refsect2><para>
4469#: apt_preferences.5.xml:671
071fa62e 4470msgid ""
7d76ea1d
DK
4471"With a suitable &sources-list; file and the above preferences file, any of "
4472"the following commands will cause APT to upgrade to the latest version(s) in "
4473"the release codenamed with <literal>&testing-codename;</literal>. "
4474"<placeholder type=\"programlisting\" id=\"0\"/>"
4475msgstr ""
4476
4477#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4478#: apt_preferences.5.xml:691
4479#, no-wrap
4480msgid "apt-get install <replaceable>package</replaceable>/sid\n"
071fa62e
DK
4481msgstr ""
4482
7d76ea1d
DK
4483#. type: Content of: <refentry><refsect1><refsect2><para>
4484#: apt_preferences.5.xml:682
071fa62e 4485msgid ""
7d76ea1d
DK
4486"The following command will cause APT to upgrade the specified package to the "
4487"latest version from the <literal>sid</literal> distribution. Thereafter, "
4488"<command>apt-get upgrade</command> will upgrade the package to the most "
4489"recent <literal>&testing-codename;</literal> version if that is more recent "
4490"than the installed version, otherwise, to the most recent <literal>sid</"
4491"literal> version if that is more recent than the installed version. "
4492"<placeholder type=\"programlisting\" id=\"0\"/>"
071fa62e
DK
4493msgstr ""
4494
071fa62e 4495#. type: Content of: <refentry><refsect1><para>
7d76ea1d
DK
4496#: apt_preferences.5.xml:706
4497msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
071fa62e
DK
4498msgstr ""
4499
071fa62e 4500#. type: Content of: <refentry><refnamediv><refpurpose>
7d76ea1d
DK
4501#: sources.list.5.xml:33
4502msgid "Package resource list for APT"
071fa62e
DK
4503msgstr ""
4504
4505#. type: Content of: <refentry><refsect1><para>
7d76ea1d 4506#: sources.list.5.xml:37
071fa62e 4507msgid ""
7d76ea1d
DK
4508"The package resource list is used to locate archives of the package "
4509"distribution system in use on the system. At this time, this manual page "
4510"documents only the packaging system used by the Debian system. This control "
4511"file is <filename>/etc/apt/sources.list</filename>."
071fa62e
DK
4512msgstr ""
4513
4514#. type: Content of: <refentry><refsect1><para>
7d76ea1d 4515#: sources.list.5.xml:42
071fa62e 4516msgid ""
7d76ea1d
DK
4517"The source list is designed to support any number of active sources and a "
4518"variety of source media. The file lists one source per line, with the most "
4519"preferred source listed first. The format of each line is: <literal>type uri "
4520"args</literal> The first item, <literal>type</literal> determines the format "
4521"for <literal>args</literal>. <literal>uri</literal> is a Universal Resource "
4522"Identifier (URI), which is a superset of the more specific and well-known "
4523"Universal Resource Locator, or URL. The rest of the line can be marked as a "
4524"comment by using a #."
071fa62e
DK
4525msgstr ""
4526
7d76ea1d
DK
4527#. type: Content of: <refentry><refsect1><title>
4528#: sources.list.5.xml:53
4529msgid "sources.list.d"
071fa62e
DK
4530msgstr ""
4531
b39c1859 4532#. type: Content of: <refentry><refsect1><para>
7d76ea1d 4533#: sources.list.5.xml:54
b39c1859 4534msgid ""
7d76ea1d
DK
4535"The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
4536"add sources.list entries in separate files. The format is the same as for "
4537"the regular <filename>sources.list</filename> file. File names need to end "
4538"with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
4539"digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
4540"Otherwise APT will print a notice that it has ignored a file if the file "
4541"doesn't match a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
4542"configuration list - in this case it will be silently ignored."
0fd68707
MV
4543msgstr ""
4544
7d76ea1d
DK
4545#. type: Content of: <refentry><refsect1><title>
4546#: sources.list.5.xml:65
4547msgid "The deb and deb-src types"
b39c1859
MV
4548msgstr ""
4549
7d76ea1d
DK
4550#. type: Content of: <refentry><refsect1><para>
4551#: sources.list.5.xml:66
4552msgid ""
4553"The <literal>deb</literal> type describes a typical two-level Debian "
4554"archive, <filename>distribution/component</filename>. Typically, "
4555"<literal>distribution</literal> is generally an archivename like "
4556"<literal>stable</literal> or <literal>testing</literal> or a codename like "
4557"<literal>&stable-codename;</literal> or <literal>&testing-codename;</"
4558"literal> while component is one of <literal>main</literal> <literal>contrib</"
4559"literal> or <literal>non-free</literal>. The <literal>deb-src</literal> type "
4560"describes a debian distribution's source code in the same form as the "
4561"<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
4562"to fetch source indexes."
071fa62e
DK
4563msgstr ""
4564
7d76ea1d
DK
4565#. type: Content of: <refentry><refsect1><para>
4566#: sources.list.5.xml:78
4567msgid ""
4568"The format for a <filename>sources.list</filename> entry using the "
4569"<literal>deb</literal> and <literal>deb-src</literal> types is:"
071fa62e
DK
4570msgstr ""
4571
7d76ea1d
DK
4572#. type: Content of: <refentry><refsect1><literallayout>
4573#: sources.list.5.xml:81
071fa62e 4574#, no-wrap
7d76ea1d 4575msgid "deb [ options ] uri distribution [component1] [component2] [...]"
071fa62e
DK
4576msgstr ""
4577
7d76ea1d
DK
4578#. type: Content of: <refentry><refsect1><para>
4579#: sources.list.5.xml:83
071fa62e 4580msgid ""
7d76ea1d
DK
4581"The URI for the <literal>deb</literal> type must specify the base of the "
4582"Debian distribution, from which APT will find the information it needs. "
4583"<literal>distribution</literal> can specify an exact path, in which case the "
4584"components must be omitted and <literal>distribution</literal> must end with "
4585"a slash (/). This is useful for when the case only a particular sub-section "
4586"of the archive denoted by the URI is of interest. If <literal>distribution</"
4587"literal> does not specify an exact path, at least one <literal>component</"
4588"literal> must be present."
071fa62e
DK
4589msgstr ""
4590
7d76ea1d
DK
4591#. type: Content of: <refentry><refsect1><para>
4592#: sources.list.5.xml:92
187aa32e 4593msgid ""
7d76ea1d
DK
4594"<literal>distribution</literal> may also contain a variable, <literal>$(ARCH)"
4595"</literal> which expands to the Debian architecture (i386, m68k, "
4596"powerpc, ...) used on the system. This permits architecture-independent "
4597"<filename>sources.list</filename> files to be used. In general this is only "
4598"of interest when specifying an exact path, <literal>APT</literal> will "
4599"automatically generate a URI with the current architecture otherwise."
071fa62e
DK
4600msgstr ""
4601
7d76ea1d
DK
4602#. type: Content of: <refentry><refsect1><para>
4603#: sources.list.5.xml:100
b6c6b52f 4604msgid ""
7d76ea1d
DK
4605"Since only one distribution can be specified per line it may be necessary to "
4606"have multiple lines for the same URI, if a subset of all available "
4607"distributions or components at that location is desired. APT will sort the "
4608"URI list after it has generated a complete set internally, and will collapse "
4609"multiple references to the same Internet host, for instance, into a single "
4610"connection, so that it does not inefficiently establish an FTP connection, "
4611"close it, do something else, and then re-establish a connection to that same "
4612"host. This feature is useful for accessing busy FTP sites with limits on the "
4613"number of simultaneous anonymous users. APT also parallelizes connections to "
4614"different hosts to more effectively deal with sites with low bandwidth."
b6c6b52f
MV
4615msgstr ""
4616
7d76ea1d
DK
4617#. type: Content of: <refentry><refsect1><para>
4618#: sources.list.5.xml:112
782486e8 4619msgid ""
7d76ea1d
DK
4620"<literal>options</literal> is always optional and needs to be surounded by "
4621"square brackets. It can consist of multiple settings in the form "
4622"<literal><replaceable>setting</replaceable>=<replaceable>value</"
4623"replaceable></literal>. Multiple settings are separated by spaces. The "
4624"following settings are supported by APT, note though that unsupported "
4625"settings will be ignored silently:"
071fa62e
DK
4626msgstr ""
4627
7d76ea1d
DK
4628#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4629#: sources.list.5.xml:117
4630msgid ""
4631"<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</"
4632"replaceable>,…</literal> can be used to specify for which architectures "
4633"packages information should be downloaded. If this option is not set all "
4634"architectures defined by the <literal>APT::Architectures</literal> option "
4635"will be downloaded."
071fa62e
DK
4636msgstr ""
4637
7d76ea1d
DK
4638#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
4639#: sources.list.5.xml:121
071fa62e 4640msgid ""
7d76ea1d
DK
4641"<literal>trusted=yes</literal> can be set to indicate that packages from "
4642"this source are always authenticated even if the <filename>Release</"
4643"filename> file is not signed or the signature can't be checked. This "
4644"disables parts of &apt-secure; and should therefore only be used in a local "
4645"and trusted context. <literal>trusted=no</literal> is the opposite which "
4646"handles even correctly authenticated sources as not authenticated."
071fa62e
DK
4647msgstr ""
4648
7d76ea1d
DK
4649#. type: Content of: <refentry><refsect1><para>
4650#: sources.list.5.xml:128
4651msgid ""
4652"It is important to list sources in order of preference, with the most "
4653"preferred source listed first. Typically this will result in sorting by "
4654"speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
4655"followed by distant Internet hosts, for example)."
071fa62e
DK
4656msgstr ""
4657
7d76ea1d
DK
4658#. type: Content of: <refentry><refsect1><para>
4659#: sources.list.5.xml:133
4660msgid "Some examples:"
071fa62e
DK
4661msgstr ""
4662
7d76ea1d
DK
4663#. type: Content of: <refentry><refsect1><literallayout>
4664#: sources.list.5.xml:135
4665#, no-wrap
071fa62e 4666msgid ""
7d76ea1d
DK
4667"deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
4668"deb http://security.debian.org/ &stable-codename;/updates main contrib non-free\n"
4669" "
071fa62e
DK
4670msgstr ""
4671
7d76ea1d
DK
4672#. type: Content of: <refentry><refsect1><title>
4673#: sources.list.5.xml:141
4674msgid "URI specification"
071fa62e
DK
4675msgstr ""
4676
7d76ea1d
DK
4677#. type: Content of: <refentry><refsect1><para>
4678#: sources.list.5.xml:143
4679msgid "The currently recognized URI types are:"
071fa62e
DK
4680msgstr ""
4681
7d76ea1d
DK
4682#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4683#: sources.list.5.xml:147
4684msgid ""
4685"The file scheme allows an arbitrary directory in the file system to be "
4686"considered an archive. This is useful for NFS mounts and local mirrors or "
4687"archives."
071fa62e
DK
4688msgstr ""
4689
7d76ea1d
DK
4690#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4691#: sources.list.5.xml:154
071fa62e 4692msgid ""
7d76ea1d
DK
4693"The cdrom scheme allows APT to use a local CD-ROM drive with media swapping. "
4694"Use the &apt-cdrom; program to create cdrom entries in the source list."
071fa62e
DK
4695msgstr ""
4696
7d76ea1d
DK
4697#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4698#: sources.list.5.xml:161
071fa62e 4699msgid ""
7d76ea1d
DK
4700"The http scheme specifies an HTTP server for the archive. If an environment "
4701"variable <envar>http_proxy</envar> is set with the format http://server:"
4702"port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
4703"Users of authenticated HTTP/1.1 proxies may use a string of the format "
4704"http://user:pass@server:port/. Note that this is an insecure method of "
4705"authentication."
071fa62e
DK
4706msgstr ""
4707
7d76ea1d
DK
4708#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4709#: sources.list.5.xml:172
071fa62e 4710msgid ""
7d76ea1d
DK
4711"The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
4712"is highly configurable; for more information see the &apt-conf; manual page. "
4713"Please note that a ftp proxy can be specified by using the <envar>ftp_proxy</"
4714"envar> environment variable. It is possible to specify a http proxy (http "
4715"proxy servers often understand ftp urls) using this method and ONLY this "
4716"method. ftp proxies using http specified in the configuration file will be "
4717"ignored."
071fa62e
DK
4718msgstr ""
4719
7d76ea1d
DK
4720#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4721#: sources.list.5.xml:183
071fa62e 4722msgid ""
7d76ea1d
DK
4723"The copy scheme is identical to the file scheme except that packages are "
4724"copied into the cache directory instead of used directly at their location. "
4725"This is useful for people using a zip disk to copy files around with APT."
071fa62e
DK
4726msgstr ""
4727
7d76ea1d
DK
4728#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4729#: sources.list.5.xml:190
071fa62e 4730msgid ""
7d76ea1d
DK
4731"The rsh/ssh method invokes rsh/ssh to connect to a remote host as a given "
4732"user and access the files. It is a good idea to do prior arrangements with "
4733"RSA keys or rhosts. Access to files on the remote uses standard "
4734"<command>find</command> and <command>dd</command> commands to perform the "
4735"file transfers from the remote."
071fa62e
DK
4736msgstr ""
4737
7d76ea1d
DK
4738#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4739#: sources.list.5.xml:198
4740msgid "adding more recognizable URI types"
071fa62e
DK
4741msgstr ""
4742
7d76ea1d
DK
4743#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4744#: sources.list.5.xml:200
071fa62e 4745msgid ""
7d76ea1d
DK
4746"APT can be extended with more methods shipped in other optional packages "
4747"which should follow the nameing scheme <package>apt-transport-"
4748"<replaceable>method</replaceable></package>. The APT team e.g. maintains "
4749"also the <package>apt-transport-https</package> package which provides "
4750"access methods for https-URIs with features similar to the http method, but "
4751"other methods for using e.g. debtorrent are also available, see &apt-"
4752"transport-debtorrent;."
071fa62e
DK
4753msgstr ""
4754
7d76ea1d
DK
4755#. type: Content of: <refentry><refsect1><para>
4756#: sources.list.5.xml:212
071fa62e 4757msgid ""
7d76ea1d
DK
4758"Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
4759"stable/main, stable/contrib, and stable/non-free."
071fa62e
DK
4760msgstr ""
4761
7d76ea1d
DK
4762#. type: Content of: <refentry><refsect1><literallayout>
4763#: sources.list.5.xml:214
071fa62e 4764#, no-wrap
7d76ea1d 4765msgid "deb file:/home/jason/debian stable main contrib non-free"
071fa62e
DK
4766msgstr ""
4767
7d76ea1d
DK
4768#. type: Content of: <refentry><refsect1><para>
4769#: sources.list.5.xml:216
4770msgid "As above, except this uses the unstable (development) distribution."
071fa62e
DK
4771msgstr ""
4772
7d76ea1d
DK
4773#. type: Content of: <refentry><refsect1><literallayout>
4774#: sources.list.5.xml:217
4775#, no-wrap
4776msgid "deb file:/home/jason/debian unstable main contrib non-free"
071fa62e
DK
4777msgstr ""
4778
7d76ea1d
DK
4779#. type: Content of: <refentry><refsect1><para>
4780#: sources.list.5.xml:219
4781msgid "Source line for the above"
4782msgstr ""
4783
4784#. type: Content of: <refentry><refsect1><literallayout>
4785#: sources.list.5.xml:220
071fa62e 4786#, no-wrap
7d76ea1d 4787msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
071fa62e
DK
4788msgstr ""
4789
7d76ea1d
DK
4790#. type: Content of: <refentry><refsect1><para>
4791#: sources.list.5.xml:222
071fa62e 4792msgid ""
7d76ea1d
DK
4793"The first line gets package information for the architectures in "
4794"<literal>APT::Architectures</literal> while the second always retrieves "
4795"<literal>amd64</literal> and <literal>armel</literal>."
b81dbe40
DK
4796msgstr ""
4797
7d76ea1d
DK
4798#. type: Content of: <refentry><refsect1><literallayout>
4799#: sources.list.5.xml:224
b81dbe40
DK
4800#, no-wrap
4801msgid ""
7d76ea1d
DK
4802"deb http://ftp.debian.org/debian &stable-codename; main\n"
4803"deb [ arch=amd64,armel ] http://ftp.debian.org/debian &stable-codename; main"
071fa62e
DK
4804msgstr ""
4805
7d76ea1d
DK
4806#. type: Content of: <refentry><refsect1><para>
4807#: sources.list.5.xml:227
b81dbe40 4808msgid ""
7d76ea1d
DK
4809"Uses HTTP to access the archive at archive.debian.org, and uses only the "
4810"hamm/main area."
b81dbe40
DK
4811msgstr ""
4812
7d76ea1d
DK
4813#. type: Content of: <refentry><refsect1><literallayout>
4814#: sources.list.5.xml:229
4815#, no-wrap
4816msgid "deb http://archive.debian.org/debian-archive hamm main"
4817msgstr ""
4818
4819#. type: Content of: <refentry><refsect1><para>
4820#: sources.list.5.xml:231
071fa62e 4821msgid ""
7d76ea1d
DK
4822"Uses FTP to access the archive at ftp.debian.org, under the debian "
4823"directory, and uses only the &stable-codename;/contrib area."
071fa62e
DK
4824msgstr ""
4825
7d76ea1d
DK
4826#. type: Content of: <refentry><refsect1><literallayout>
4827#: sources.list.5.xml:233
071fa62e 4828#, no-wrap
7d76ea1d 4829msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
071fa62e
DK
4830msgstr ""
4831
7d76ea1d
DK
4832#. type: Content of: <refentry><refsect1><para>
4833#: sources.list.5.xml:235
071fa62e 4834msgid ""
7d76ea1d
DK
4835"Uses FTP to access the archive at ftp.debian.org, under the debian "
4836"directory, and uses only the unstable/contrib area. If this line appears as "
4837"well as the one in the previous example in <filename>sources.list</filename> "
4838"a single FTP session will be used for both resource lines."
071fa62e
DK
4839msgstr ""
4840
7d76ea1d
DK
4841#. type: Content of: <refentry><refsect1><literallayout>
4842#: sources.list.5.xml:239
071fa62e 4843#, no-wrap
7d76ea1d 4844msgid "deb ftp://ftp.debian.org/debian unstable contrib"
071fa62e
DK
4845msgstr ""
4846
7d76ea1d
DK
4847#. type: Content of: <refentry><refsect1><para><literallayout>
4848#: sources.list.5.xml:248
4849#, no-wrap
4850msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
071fa62e
DK
4851msgstr ""
4852
7d76ea1d
DK
4853#. type: Content of: <refentry><refsect1><para>
4854#: sources.list.5.xml:241
071fa62e 4855msgid ""
7d76ea1d
DK
4856"Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
4857"directory, and uses only files found under <filename>unstable/binary-i386</"
4858"filename> on i386 machines, <filename>unstable/binary-amd64</filename> on "
4859"amd64, and so forth for other supported architectures. [Note this example "
4860"only illustrates how to use the substitution variable; official debian "
4861"archives are not structured like this] <placeholder type=\"literallayout\" "
4862"id=\"0\"/>"
071fa62e
DK
4863msgstr ""
4864
7d76ea1d
DK
4865#. type: Content of: <refentry><refsect1><para>
4866#: sources.list.5.xml:253
4867msgid "&apt-cache; &apt-conf;"
782486e8
MV
4868msgstr ""
4869
7d76ea1d
DK
4870#. type: Content of: <refentry><refmeta><manvolnum>
4871#: apt-extracttemplates.1.xml:26 apt-sortpkgs.1.xml:26 apt-ftparchive.1.xml:26
4872msgid "1"
782486e8
MV
4873msgstr ""
4874
7d76ea1d
DK
4875#. type: Content of: <refentry><refnamediv><refpurpose>
4876#: apt-extracttemplates.1.xml:33
782486e8 4877msgid ""
7d76ea1d
DK
4878"Utility to extract <command>debconf</command> config and templates from "
4879"Debian packages"
782486e8
MV
4880msgstr ""
4881
7d76ea1d
DK
4882#. type: Content of: <refentry><refsect1><para>
4883#: apt-extracttemplates.1.xml:39
782486e8 4884msgid ""
7d76ea1d
DK
4885"<command>apt-extracttemplates</command> will take one or more Debian package "
4886"files as input and write out (to a temporary directory) all associated "
4887"config scripts and template files. For each passed in package that contains "
4888"config scripts and templates, one line of output will be generated in the "
4889"format:"
782486e8
MV
4890msgstr ""
4891
7d76ea1d
DK
4892#. type: Content of: <refentry><refsect1><para>
4893#: apt-extracttemplates.1.xml:44
4894msgid "package version template-file config-script"
782486e8
MV
4895msgstr ""
4896
7d76ea1d
DK
4897#. type: Content of: <refentry><refsect1><para>
4898#: apt-extracttemplates.1.xml:45
2b9b27c3 4899msgid ""
7d76ea1d
DK
4900"template-file and config-script are written to the temporary directory "
4901"specified by the <option>-t</option> or <option>--tempdir</option> "
4902"(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
4903"filenames of the form <filename>package.template.XXXX</filename> and "
4904"<filename>package.config.XXXX</filename>"
782486e8
MV
4905msgstr ""
4906
7d76ea1d
DK
4907#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4908#: apt-extracttemplates.1.xml:58
4909msgid ""
4910"Temporary directory in which to write extracted <command>debconf</command> "
4911"template files and config scripts. Configuration Item: <literal>APT::"
4912"ExtractTemplates::TempDir</literal>"
071fa62e
DK
4913msgstr ""
4914
7d76ea1d
DK
4915#. type: Content of: <refentry><refsect1><para>
4916#: apt-extracttemplates.1.xml:75
187aa32e 4917msgid ""
7d76ea1d
DK
4918"<command>apt-extracttemplates</command> returns zero on normal operation, "
4919"decimal 100 on error."
187aa32e
DK
4920msgstr ""
4921
7d76ea1d
DK
4922#. type: Content of: <refentry><refnamediv><refpurpose>
4923#: apt-sortpkgs.1.xml:33
4924msgid "Utility to sort package index files"
071fa62e
DK
4925msgstr ""
4926
7d76ea1d
DK
4927#. type: Content of: <refentry><refsect1><para>
4928#: apt-sortpkgs.1.xml:39
071fa62e 4929msgid ""
7d76ea1d
DK
4930"<command>apt-sortpkgs</command> will take an index file (Source index or "
4931"Package index) and sort the records so that they are ordered by the package "
4932"name. It will also sort the internal fields of each record according to the "
4933"internal sorting rules."
071fa62e
DK
4934msgstr ""
4935
7d76ea1d
DK
4936#. type: Content of: <refentry><refsect1><para>
4937#: apt-sortpkgs.1.xml:45
4938msgid "All output is sent to stdout, the input must be a seekable file."
071fa62e
DK
4939msgstr ""
4940
7d76ea1d
DK
4941#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4942#: apt-sortpkgs.1.xml:54
071fa62e 4943msgid ""
7d76ea1d
DK
4944"Use Source index field ordering. Configuration Item: <literal>APT::"
4945"SortPkgs::Source</literal>."
071fa62e
DK
4946msgstr ""
4947
7d76ea1d
DK
4948#. type: Content of: <refentry><refsect1><para>
4949#: apt-sortpkgs.1.xml:68
4950msgid ""
4951"<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
4952"100 on error."
071fa62e
DK
4953msgstr ""
4954
7d76ea1d
DK
4955#. type: Content of: <refentry><refnamediv><refpurpose>
4956#: apt-ftparchive.1.xml:33
4957msgid "Utility to generate index files"
4958msgstr ""
4959
4960#. type: Content of: <refentry><refsect1><para>
4961#: apt-ftparchive.1.xml:39
071fa62e 4962msgid ""
7d76ea1d
DK
4963"<command>apt-ftparchive</command> is the command line tool that generates "
4964"the index files that APT uses to access a distribution source. The index "
4965"files should be generated on the origin site based on the content of that "
4966"site."
071fa62e
DK
4967msgstr ""
4968
7d76ea1d
DK
4969#. type: Content of: <refentry><refsect1><para>
4970#: apt-ftparchive.1.xml:43
4971msgid ""
4972"<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
4973"program, incorporating its entire functionality via the <literal>packages</"
4974"literal> command. It also contains a contents file generator, "
4975"<literal>contents</literal>, and an elaborate means to 'script' the "
4976"generation process for a complete archive."
071fa62e
DK
4977msgstr ""
4978
7d76ea1d
DK
4979#. type: Content of: <refentry><refsect1><para>
4980#: apt-ftparchive.1.xml:49
071fa62e 4981msgid ""
7d76ea1d
DK
4982"Internally <command>apt-ftparchive</command> can make use of binary "
4983"databases to cache the contents of a .deb file and it does not rely on any "
4984"external programs aside from &gzip;. When doing a full generate it "
4985"automatically performs file-change checks and builds the desired compressed "
4986"output files."
071fa62e
DK
4987msgstr ""
4988
7d76ea1d
DK
4989#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4990#: apt-ftparchive.1.xml:60
4991msgid ""
4992"The packages command generates a package file from a directory tree. It "
4993"takes the given directory and recursively searches it for .deb files, "
4994"emitting a package record to stdout for each. This command is approximately "
4995"equivalent to &dpkg-scanpackages;."
071fa62e
DK
4996msgstr ""
4997
7d76ea1d
DK
4998#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4999#: apt-ftparchive.1.xml:65 apt-ftparchive.1.xml:89
071fa62e 5000msgid ""
7d76ea1d 5001"The option <option>--db</option> can be used to specify a binary caching DB."
071fa62e
DK
5002msgstr ""
5003
7d76ea1d
DK
5004#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5005#: apt-ftparchive.1.xml:70
5006msgid ""
5007"The <literal>sources</literal> command generates a source index file from a "
5008"directory tree. It takes the given directory and recursively searches it "
5009"for .dsc files, emitting a source record to stdout for each. This command is "
5010"approximately equivalent to &dpkg-scansources;."
071fa62e
DK
5011msgstr ""
5012
7d76ea1d
DK
5013#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5014#: apt-ftparchive.1.xml:75
5015msgid ""
5016"If an override file is specified then a source override file will be looked "
5017"for with an extension of .src. The --source-override option can be used to "
5018"change the source override file that will be used."
071fa62e
DK
5019msgstr ""
5020
7d76ea1d
DK
5021#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5022#: apt-ftparchive.1.xml:82
071fa62e 5023msgid ""
7d76ea1d
DK
5024"The <literal>contents</literal> command generates a contents file from a "
5025"directory tree. It takes the given directory and recursively searches it "
5026"for .deb files, and reads the file list from each file. It then sorts and "
5027"writes to stdout the list of files matched to packages. Directories are not "
5028"written to the output. If multiple packages own the same file then each "
5029"package is separated by a comma in the output."
071fa62e
DK
5030msgstr ""
5031
7d76ea1d
DK
5032#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5033#: apt-ftparchive.1.xml:94
071fa62e 5034msgid ""
7d76ea1d
DK
5035"The <literal>release</literal> command generates a Release file from a "
5036"directory tree. It recursively searches the given directory for uncompressed "
5037"<filename>Packages</filename> and <filename>Sources</filename> files and "
5038"ones compressed with <command>gzip</command>, <command>bzip2</command> or "
5039"<command>lzma</command> as well as <filename>Release</filename> and "
5040"<filename>md5sum.txt</filename> files by default (<literal>APT::FTPArchive::"
5041"Release::Default-Patterns</literal>). Additional filename patterns can be "
5042"added by listing them in <literal>APT::FTPArchive::Release::Patterns</"
5043"literal>. It then writes to stdout a <filename>Release</filename> file "
5044"containing an MD5, SHA1 and SHA256 digest for each file."
071fa62e
DK
5045msgstr ""
5046
7d76ea1d
DK
5047#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5048#: apt-ftparchive.1.xml:104
071fa62e 5049msgid ""
7d76ea1d
DK
5050"Values for the additional metadata fields in the Release file are taken from "
5051"the corresponding variables under <literal>APT::FTPArchive::Release</"
5052"literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
5053"supported fields are: <literal>Origin</literal>, <literal>Label</literal>, "
5054"<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
5055"literal>, <literal>Date</literal>, <literal>Valid-Until</literal>, "
5056"<literal>Architectures</literal>, <literal>Components</literal>, "
5057"<literal>Description</literal>."
071fa62e
DK
5058msgstr ""
5059
7d76ea1d
DK
5060#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5061#: apt-ftparchive.1.xml:117
5062msgid ""
5063"The <literal>generate</literal> command is designed to be runnable from a "
5064"cron script and builds indexes according to the given config file. The "
5065"config language provides a flexible means of specifying which index files "
5066"are built from which directories, as well as providing a simple means of "
5067"maintaining the required settings."
071fa62e
DK
5068msgstr ""
5069
7d76ea1d
DK
5070#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5071#: apt-ftparchive.1.xml:126
071fa62e 5072msgid ""
7d76ea1d
DK
5073"The <literal>clean</literal> command tidies the databases used by the given "
5074"configuration file by removing any records that are no longer necessary."
071fa62e
DK
5075msgstr ""
5076
7d76ea1d
DK
5077#. type: Content of: <refentry><refsect1><title>
5078#: apt-ftparchive.1.xml:132
5079msgid "The Generate Configuration"
5080msgstr ""
5081
5082#. type: Content of: <refentry><refsect1><para>
5083#: apt-ftparchive.1.xml:134
071fa62e 5084msgid ""
7d76ea1d
DK
5085"The <literal>generate</literal> command uses a configuration file to "
5086"describe the archives that are going to be generated. It follows the typical "
5087"ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
5088"conf; contains a description of the syntax. Note that the generate "
5089"configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
5090"tree manner. This only effects how the scope tag is handled."
071fa62e
DK
5091msgstr ""
5092
7d76ea1d
DK
5093#. type: Content of: <refentry><refsect1><para>
5094#: apt-ftparchive.1.xml:142
071fa62e 5095msgid ""
7d76ea1d 5096"The generate configuration has four separate sections, each described below."
071fa62e
DK
5097msgstr ""
5098
5099#. type: Content of: <refentry><refsect1><refsect2><title>
7d76ea1d
DK
5100#: apt-ftparchive.1.xml:144
5101msgid "<literal>Dir</literal> Section"
071fa62e
DK
5102msgstr ""
5103
5104#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5105#: apt-ftparchive.1.xml:146
071fa62e 5106msgid ""
7d76ea1d
DK
5107"The <literal>Dir</literal> section defines the standard directories needed "
5108"to locate the files required during the generation process. These "
5109"directories are prepended certain relative paths defined in later sections "
5110"to produce a complete an absolute path."
071fa62e
DK
5111msgstr ""
5112
7d76ea1d
DK
5113#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5114#: apt-ftparchive.1.xml:153
187aa32e 5115msgid ""
7d76ea1d
DK
5116"Specifies the root of the FTP archive, in a standard Debian configuration "
5117"this is the directory that contains the <filename>ls-LR</filename> and dist "
5118"nodes."
187aa32e
DK
5119msgstr ""
5120
7d76ea1d
DK
5121#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5122#: apt-ftparchive.1.xml:160
5123msgid "Specifies the location of the override files."
071fa62e
DK
5124msgstr ""
5125
7d76ea1d
DK
5126#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5127#: apt-ftparchive.1.xml:165
5128msgid "Specifies the location of the cache files."
071fa62e
DK
5129msgstr ""
5130
7d76ea1d
DK
5131#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5132#: apt-ftparchive.1.xml:170
5133msgid ""
5134"Specifies the location of the file list files, if the <literal>FileList</"
5135"literal> setting is used below."
071fa62e
DK
5136msgstr ""
5137
7d76ea1d
DK
5138#. type: Content of: <refentry><refsect1><refsect2><title>
5139#: apt-ftparchive.1.xml:176
5140msgid "<literal>Default</literal> Section"
071fa62e
DK
5141msgstr ""
5142
5143#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5144#: apt-ftparchive.1.xml:178
071fa62e 5145msgid ""
7d76ea1d
DK
5146"The <literal>Default</literal> section specifies default values, and "
5147"settings that control the operation of the generator. Other sections may "
5148"override these defaults with a per-section setting."
071fa62e
DK
5149msgstr ""
5150
7d76ea1d
DK
5151#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5152#: apt-ftparchive.1.xml:184
5153msgid ""
5154"Sets the default compression schemes to use for the Package index files. It "
5155"is a string that contains a space separated list of at least one of: '.' (no "
5156"compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
5157"'. gzip'."
071fa62e
DK
5158msgstr ""
5159
7d76ea1d
DK
5160#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5161#: apt-ftparchive.1.xml:192
071fa62e 5162msgid ""
7d76ea1d
DK
5163"Sets the default list of file extensions that are package files. This "
5164"defaults to '.deb'."
071fa62e
DK
5165msgstr ""
5166
7d76ea1d
DK
5167#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5168#: apt-ftparchive.1.xml:198
5169msgid ""
5170"This is similar to <literal>Packages::Compress</literal> except that it "
5171"controls the compression for the Sources files."
071fa62e
DK
5172msgstr ""
5173
7d76ea1d
DK
5174#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5175#: apt-ftparchive.1.xml:204
5176msgid ""
5177"Sets the default list of file extensions that are source files. This "
5178"defaults to '.dsc'."
071fa62e
DK
5179msgstr ""
5180
7d76ea1d
DK
5181#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5182#: apt-ftparchive.1.xml:210
071fa62e 5183msgid ""
7d76ea1d
DK
5184"This is similar to <literal>Packages::Compress</literal> except that it "
5185"controls the compression for the Contents files."
071fa62e
DK
5186msgstr ""
5187
7d76ea1d
DK
5188#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5189#: apt-ftparchive.1.xml:216
5190msgid ""
5191"This is similar to <literal>Packages::Compress</literal> except that it "
5192"controls the compression for the Translation-en master file."
071fa62e
DK
5193msgstr ""
5194
7d76ea1d
DK
5195#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5196#: apt-ftparchive.1.xml:222
071fa62e 5197msgid ""
7d76ea1d
DK
5198"Specifies the number of kilobytes to delink (and replace with hard links) "
5199"per run. This is used in conjunction with the per-section <literal>External-"
5200"Links</literal> setting."
071fa62e
DK
5201msgstr ""
5202
7d76ea1d
DK
5203#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5204#: apt-ftparchive.1.xml:229
071fa62e 5205msgid ""
7d76ea1d
DK
5206"Specifies the mode of all created index files. It defaults to 0644. All "
5207"index files are set to this mode with no regard to the umask."
071fa62e
DK
5208msgstr ""
5209
7d76ea1d
DK
5210#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5211#: apt-ftparchive.1.xml:236 apt-ftparchive.1.xml:382
5212msgid ""
5213"Specifies whether long descriptions should be included in the "
5214"<filename>Packages</filename> file or split out into a master "
5215"<filename>Translation-en</filename> file."
071fa62e
DK
5216msgstr ""
5217
7d76ea1d
DK
5218#. type: Content of: <refentry><refsect1><refsect2><title>
5219#: apt-ftparchive.1.xml:242
5220msgid "<literal>TreeDefault</literal> Section"
5221msgstr ""
5222
5223#. type: Content of: <refentry><refsect1><refsect2><para>
5224#: apt-ftparchive.1.xml:244
071fa62e 5225msgid ""
7d76ea1d
DK
5226"Sets defaults specific to <literal>Tree</literal> sections. All of these "
5227"variables are substitution variables and have the strings $(DIST), "
5228"$(SECTION) and $(ARCH) replaced with their respective values."
071fa62e
DK
5229msgstr ""
5230
7d76ea1d
DK
5231#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5232#: apt-ftparchive.1.xml:251
5233msgid ""
5234"Sets the number of kilobytes of contents files that are generated each day. "
5235"The contents files are round-robined so that over several days they will all "
5236"be rebuilt."
071fa62e
DK
5237msgstr ""
5238
7d76ea1d
DK
5239#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5240#: apt-ftparchive.1.xml:258
5241msgid ""
5242"Controls the number of days a contents file is allowed to be checked without "
5243"changing. If this limit is passed the mtime of the contents file is updated. "
5244"This case can occur if the package file is changed in such a way that does "
5245"not result in a new contents file [override edit for instance]. A hold off "
5246"is allowed in hopes that new .debs will be installed, requiring a new file "
5247"anyhow. The default is 10, the units are in days."
5248msgstr ""
5249
5250#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5251#: apt-ftparchive.1.xml:269
5252msgid ""
5253"Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
5254"$(SECTION)/binary-$(ARCH)/</filename>"
071fa62e
DK
5255msgstr ""
5256
7d76ea1d
DK
5257#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5258#: apt-ftparchive.1.xml:275
071fa62e 5259msgid ""
7d76ea1d
DK
5260"Sets the top of the source package directory tree. Defaults to <filename>"
5261"$(DIST)/$(SECTION)/source/</filename>"
071fa62e
DK
5262msgstr ""
5263
7d76ea1d
DK
5264#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5265#: apt-ftparchive.1.xml:281
5266msgid ""
5267"Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
5268"binary-$(ARCH)/Packages</filename>"
071fa62e
DK
5269msgstr ""
5270
7d76ea1d
DK
5271#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5272#: apt-ftparchive.1.xml:287
5273msgid ""
5274"Sets the output Sources file. Defaults to <filename>$(DIST)/$(SECTION)/"
5275"source/Sources</filename>"
071fa62e
DK
5276msgstr ""
5277
7d76ea1d
DK
5278#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5279#: apt-ftparchive.1.xml:293
071fa62e 5280msgid ""
7d76ea1d
DK
5281"Sets the output Translation-en master file with the long descriptions if "
5282"they should be not included in the Packages file. Defaults to <filename>"
5283"$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
071fa62e
DK
5284msgstr ""
5285
7d76ea1d
DK
5286#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5287#: apt-ftparchive.1.xml:300
5288msgid ""
5289"Sets the path prefix that causes a symlink to be considered an internal link "
5290"instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
5291"filename>"
071fa62e
DK
5292msgstr ""
5293
7d76ea1d
DK
5294#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5295#: apt-ftparchive.1.xml:307
071fa62e 5296msgid ""
7d76ea1d
DK
5297"Sets the output Contents file. Defaults to <filename>$(DIST)/Contents-$(ARCH)"
5298"</filename>. If this setting causes multiple Packages files to map onto a "
5299"single Contents file (as is the default) then <command>apt-ftparchive</"
5300"command> will integrate those package files together automatically."
071fa62e
DK
5301msgstr ""
5302
7d76ea1d
DK
5303#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5304#: apt-ftparchive.1.xml:316
5305msgid "Sets header file to prepend to the contents output."
071fa62e
DK
5306msgstr ""
5307
7d76ea1d
DK
5308#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5309#: apt-ftparchive.1.xml:321
071fa62e 5310msgid ""
7d76ea1d
DK
5311"Sets the binary cache database to use for this section. Multiple sections "
5312"can share the same database."
071fa62e
DK
5313msgstr ""
5314
7d76ea1d
DK
5315#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5316#: apt-ftparchive.1.xml:327
5317msgid ""
5318"Specifies that instead of walking the directory tree, <command>apt-"
5319"ftparchive</command> should read the list of files from the given file. "
5320"Relative files names are prefixed with the archive directory."
071fa62e
DK
5321msgstr ""
5322
7d76ea1d
DK
5323#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5324#: apt-ftparchive.1.xml:334
071fa62e 5325msgid ""
7d76ea1d
DK
5326"Specifies that instead of walking the directory tree, <command>apt-"
5327"ftparchive</command> should read the list of files from the given file. "
5328"Relative files names are prefixed with the archive directory. This is used "
5329"when processing source indexes."
5330msgstr ""
5331
5332#. type: Content of: <refentry><refsect1><refsect2><title>
5333#: apt-ftparchive.1.xml:342
5334msgid "<literal>Tree</literal> Section"
071fa62e
DK
5335msgstr ""
5336
5337#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5338#: apt-ftparchive.1.xml:344
071fa62e 5339msgid ""
7d76ea1d
DK
5340"The <literal>Tree</literal> section defines a standard Debian file tree "
5341"which consists of a base directory, then multiple sections in that base "
5342"directory and finally multiple Architectures in each section. The exact "
5343"pathing used is defined by the <literal>Directory</literal> substitution "
5344"variable."
071fa62e
DK
5345msgstr ""
5346
7d76ea1d
DK
5347#. type: Content of: <refentry><refsect1><refsect2><para>
5348#: apt-ftparchive.1.xml:349
071fa62e 5349msgid ""
7d76ea1d
DK
5350"The <literal>Tree</literal> section takes a scope tag which sets the "
5351"<literal>$(DIST)</literal> variable and defines the root of the tree (the "
5352"path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
5353"setting such as <filename>dists/&stable-codename;</filename>."
071fa62e
DK
5354msgstr ""
5355
5356#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5357#: apt-ftparchive.1.xml:354
071fa62e 5358msgid ""
7d76ea1d
DK
5359"All of the settings defined in the <literal>TreeDefault</literal> section "
5360"can be used in a <literal>Tree</literal> section as well as three new "
5361"variables."
071fa62e
DK
5362msgstr ""
5363
5364#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7d76ea1d 5365#: apt-ftparchive.1.xml:360
071fa62e 5366#, no-wrap
7d76ea1d
DK
5367msgid ""
5368"for i in Sections do \n"
5369" for j in Architectures do\n"
5370" Generate for DIST=scope SECTION=i ARCH=j\n"
5371" "
071fa62e
DK
5372msgstr ""
5373
5374#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5375#: apt-ftparchive.1.xml:357
071fa62e 5376msgid ""
7d76ea1d
DK
5377"When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
5378"command> performs an operation similar to: <placeholder type=\"programlisting"
5379"\" id=\"0\"/>"
071fa62e
DK
5380msgstr ""
5381
7d76ea1d
DK
5382#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5383#: apt-ftparchive.1.xml:368
071fa62e 5384msgid ""
7d76ea1d
DK
5385"This is a space separated list of sections which appear under the "
5386"distribution; typically this is something like <literal>main contrib non-"
5387"free</literal>"
071fa62e
DK
5388msgstr ""
5389
7d76ea1d
DK
5390#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5391#: apt-ftparchive.1.xml:375
071fa62e 5392msgid ""
7d76ea1d
DK
5393"This is a space separated list of all the architectures that appear under "
5394"search section. The special architecture 'source' is used to indicate that "
5395"this tree has a source archive."
071fa62e
DK
5396msgstr ""
5397
7d76ea1d
DK
5398#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5399#: apt-ftparchive.1.xml:388
071fa62e 5400msgid ""
7d76ea1d
DK
5401"Sets the binary override file. The override file contains section, priority "
5402"and maintainer address information."
071fa62e
DK
5403msgstr ""
5404
7d76ea1d
DK
5405#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5406#: apt-ftparchive.1.xml:394
071fa62e 5407msgid ""
7d76ea1d
DK
5408"Sets the source override file. The override file contains section "
5409"information."
071fa62e
DK
5410msgstr ""
5411
7d76ea1d
DK
5412#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5413#: apt-ftparchive.1.xml:400 apt-ftparchive.1.xml:446
5414msgid "Sets the binary extra override file."
071fa62e
DK
5415msgstr ""
5416
7d76ea1d
DK
5417#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5418#: apt-ftparchive.1.xml:405 apt-ftparchive.1.xml:451
5419msgid "Sets the source extra override file."
071fa62e
DK
5420msgstr ""
5421
7d76ea1d
DK
5422#. type: Content of: <refentry><refsect1><refsect2><title>
5423#: apt-ftparchive.1.xml:410
5424msgid "<literal>BinDirectory</literal> Section"
071fa62e
DK
5425msgstr ""
5426
5427#. type: Content of: <refentry><refsect1><refsect2><para>
7d76ea1d 5428#: apt-ftparchive.1.xml:412
071fa62e 5429msgid ""
7d76ea1d
DK
5430"The <literal>bindirectory</literal> section defines a binary directory tree "
5431"with no special structure. The scope tag specifies the location of the "
5432"binary directory and the settings are similar to the <literal>Tree</literal> "
5433"section with no substitution variables or <literal>Section</"
5434"literal><literal>Architecture</literal> settings."
071fa62e
DK
5435msgstr ""
5436
7d76ea1d
DK
5437#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5438#: apt-ftparchive.1.xml:420
5439msgid "Sets the Packages file output."
071fa62e
DK
5440msgstr ""
5441
7d76ea1d
DK
5442#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5443#: apt-ftparchive.1.xml:425
071fa62e 5444msgid ""
7d76ea1d
DK
5445"Sets the Sources file output. At least one of <literal>Packages</literal> or "
5446"<literal>Sources</literal> is required."
071fa62e
DK
5447msgstr ""
5448
7d76ea1d
DK
5449#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5450#: apt-ftparchive.1.xml:431
5451msgid "Sets the Contents file output (optional)."
071fa62e
DK
5452msgstr ""
5453
7d76ea1d
DK
5454#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5455#: apt-ftparchive.1.xml:436
5456msgid "Sets the binary override file."
071fa62e
DK
5457msgstr ""
5458
7d76ea1d
DK
5459#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5460#: apt-ftparchive.1.xml:441
5461msgid "Sets the source override file."
071fa62e
DK
5462msgstr ""
5463
7d76ea1d
DK
5464#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5465#: apt-ftparchive.1.xml:456
5466msgid "Sets the cache DB."
071fa62e
DK
5467msgstr ""
5468
7d76ea1d
DK
5469#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5470#: apt-ftparchive.1.xml:461
5471msgid "Appends a path to all the output paths."
071fa62e
DK
5472msgstr ""
5473
7d76ea1d
DK
5474#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5475#: apt-ftparchive.1.xml:466
5476msgid "Specifies the file list file."
071fa62e
DK
5477msgstr ""
5478
5479#. type: Content of: <refentry><refsect1><title>
7d76ea1d
DK
5480#: apt-ftparchive.1.xml:473
5481msgid "The Binary Override File"
071fa62e
DK
5482msgstr ""
5483
5484#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5485#: apt-ftparchive.1.xml:474
071fa62e 5486msgid ""
7d76ea1d
DK
5487"The binary override file is fully compatible with &dpkg-scanpackages;. It "
5488"contains four fields separated by spaces. The first field is the package "
5489"name, the second is the priority to force that package to, the third is the "
5490"section to force that package to and the final field is the maintainer "
5491"permutation field."
071fa62e
DK
5492msgstr ""
5493
7d76ea1d
DK
5494#. type: Content of: <refentry><refsect1><para><literallayout>
5495#: apt-ftparchive.1.xml:480
071fa62e 5496#, no-wrap
7d76ea1d 5497msgid "old [// oldn]* => new"
071fa62e
DK
5498msgstr ""
5499
7d76ea1d
DK
5500#. type: Content of: <refentry><refsect1><para><literallayout>
5501#: apt-ftparchive.1.xml:482
5502#, no-wrap
5503msgid "new"
071fa62e
DK
5504msgstr ""
5505
5506#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5507#: apt-ftparchive.1.xml:479
071fa62e 5508msgid ""
7d76ea1d
DK
5509"The general form of the maintainer field is: <placeholder type="
5510"\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
5511"id=\"1\"/> The first form allows a double-slash separated list of old email "
5512"addresses to be specified. If any of those are found then new is substituted "
5513"for the maintainer field. The second form unconditionally substitutes the "
5514"maintainer field."
071fa62e
DK
5515msgstr ""
5516
7d76ea1d
DK
5517#. type: Content of: <refentry><refsect1><title>
5518#: apt-ftparchive.1.xml:490
5519msgid "The Source Override File"
071fa62e
DK
5520msgstr ""
5521
5522#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5523#: apt-ftparchive.1.xml:492
c77d6597 5524msgid ""
7d76ea1d
DK
5525"The source override file is fully compatible with &dpkg-scansources;. It "
5526"contains two fields separated by spaces. The first field is the source "
5527"package name, the second is the section to assign it."
c77d6597
MV
5528msgstr ""
5529
7d76ea1d
DK
5530#. type: Content of: <refentry><refsect1><title>
5531#: apt-ftparchive.1.xml:497
5532msgid "The Extra Override File"
c77d6597
MV
5533msgstr ""
5534
5535#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5536#: apt-ftparchive.1.xml:499
c77d6597 5537msgid ""
7d76ea1d
DK
5538"The extra override file allows any arbitrary tag to be added or replaced in "
5539"the output. It has three columns, the first is the package, the second is "
5540"the tag and the remainder of the line is the new value."
071fa62e
DK
5541msgstr ""
5542
7d76ea1d
DK
5543#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5544#: apt-ftparchive.1.xml:510
071fa62e 5545msgid ""
7d76ea1d
DK
5546"Generate the given checksum. These options default to on, when turned off "
5547"the generated index files will not have the checksum fields where possible. "
5548"Configuration Items: <literal>APT::FTPArchive::<replaceable>Checksum</"
5549"replaceable></literal> and <literal>APT::FTPArchive::<replaceable>Index</"
5550"replaceable>::<replaceable>Checksum</replaceable></literal> where "
5551"<literal><replaceable>Index</replaceable></literal> can be "
5552"<literal>Packages</literal>, <literal>Sources</literal> or <literal>Release</"
5553"literal> and <literal><replaceable>Checksum</replaceable></literal> can be "
5554"<literal>MD5</literal>, <literal>SHA1</literal> or <literal>SHA256</literal>."
071fa62e
DK
5555msgstr ""
5556
7d76ea1d
DK
5557#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5558#: apt-ftparchive.1.xml:521
5559msgid ""
5560"Use a binary caching DB. This has no effect on the generate command. "
5561"Configuration Item: <literal>APT::FTPArchive::DB</literal>."
071fa62e
DK
5562msgstr ""
5563
7d76ea1d
DK
5564#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5565#: apt-ftparchive.1.xml:527
5566msgid ""
5567"Quiet; produces output suitable for logging, omitting progress indicators. "
5568"More q's will produce more quiet up to a maximum of 2. You can also use "
5569"<option>-q=#</option> to set the quiet level, overriding the configuration "
5570"file. Configuration Item: <literal>quiet</literal>."
071fa62e
DK
5571msgstr ""
5572
7d76ea1d
DK
5573#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5574#: apt-ftparchive.1.xml:535
071fa62e 5575msgid ""
7d76ea1d
DK
5576"Perform Delinking. If the <literal>External-Links</literal> setting is used "
5577"then this option actually enables delinking of the files. It defaults to on "
5578"and can be turned off with <option>--no-delink</option>. Configuration "
5579"Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
071fa62e
DK
5580msgstr ""
5581
7d76ea1d
DK
5582#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5583#: apt-ftparchive.1.xml:543
071fa62e 5584msgid ""
7d76ea1d
DK
5585"Perform contents generation. When this option is set and package indexes are "
5586"being generated with a cache DB then the file listing will also be extracted "
5587"and stored in the DB for later use. When using the generate command this "
5588"option also allows the creation of any Contents files. The default is on. "
5589"Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
071fa62e
DK
5590msgstr ""
5591
7d76ea1d
DK
5592#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5593#: apt-ftparchive.1.xml:553
071fa62e 5594msgid ""
7d76ea1d
DK
5595"Select the source override file to use with the <literal>sources</literal> "
5596"command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
5597"literal>."
071fa62e
DK
5598msgstr ""
5599
7d76ea1d
DK
5600#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5601#: apt-ftparchive.1.xml:559
071fa62e 5602msgid ""
7d76ea1d
DK
5603"Make the caching databases read only. Configuration Item: <literal>APT::"
5604"FTPArchive::ReadOnlyDB</literal>."
071fa62e
DK
5605msgstr ""
5606
7d76ea1d
DK
5607#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5608#: apt-ftparchive.1.xml:564
071fa62e 5609msgid ""
7d76ea1d
DK
5610"Accept in the <literal>packages</literal> and <literal>contents</literal> "
5611"commands only package files matching <literal>*_arch.deb</literal> or "
5612"<literal>*_all.deb</literal> instead of all package files in the given "
5613"path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
071fa62e
DK
5614msgstr ""
5615
7d76ea1d
DK
5616#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5617#: apt-ftparchive.1.xml:572
071fa62e 5618msgid ""
7d76ea1d
DK
5619"&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
5620"packages are recompiled and/or republished with the same version again, this "
5621"will lead to problems as the now outdated cached metadata like size and "
5622"checksums will be used. With this option enabled this will no longer happen "
5623"as it will be checked if the file was changed. Note that this option is set "
5624"to \"<literal>false</literal>\" by default as it is not recommend to upload "
5625"multiply versions/builds of a package with the same versionnumber, so in "
5626"theory nobody will have these problems and therefore all these extra checks "
5627"are useless."
071fa62e
DK
5628msgstr ""
5629
7d76ea1d
DK
5630#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5631#: apt-ftparchive.1.xml:584
5632msgid ""
5633"This configuration option defaults to \"<literal>true</literal>\" and should "
5634"only be set to <literal>\"false\"</literal> if the Archive generated with "
5635"&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
5636"that the <filename>Translation-en</filename> master file can only be created "
5637"in the generate command."
071fa62e
DK
5638msgstr ""
5639
7d76ea1d
DK
5640#. type: Content of: <refentry><refsect1><para><programlisting>
5641#: apt-ftparchive.1.xml:602
5642#, no-wrap
5643msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
5644msgstr ""
5645
5646#. type: Content of: <refentry><refsect1><para>
5647#: apt-ftparchive.1.xml:598
071fa62e 5648msgid ""
7d76ea1d
DK
5649"To create a compressed Packages file for a directory containing binary "
5650"packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
071fa62e
DK
5651msgstr ""
5652
5653#. type: Content of: <refentry><refsect1><para>
7d76ea1d 5654#: apt-ftparchive.1.xml:612
071fa62e 5655msgid ""
7d76ea1d
DK
5656"<command>apt-ftparchive</command> returns zero on normal operation, decimal "
5657"100 on error."
071fa62e
DK
5658msgstr ""
5659
7d76ea1d
DK
5660#. type: TH
5661#: apt.8:17
071fa62e 5662#, no-wrap
7d76ea1d
DK
5663msgid "apt"
5664msgstr "apt"
5665
5666#. type: TH
5667#: apt.8:17
5668#, no-wrap
5669msgid "16 June 1998"
071fa62e
DK
5670msgstr ""
5671
7d76ea1d
DK
5672#. type: TH
5673#: apt.8:17
5674#, no-wrap
5675msgid "Debian"
071fa62e
DK
5676msgstr ""
5677
7d76ea1d
DK
5678#. type: SH
5679#: apt.8:18
071fa62e 5680#, no-wrap
7d76ea1d 5681msgid "NAME"
071fa62e
DK
5682msgstr ""
5683
7d76ea1d
DK
5684#. type: Plain text
5685#: apt.8:20
5686msgid "apt - Advanced Package Tool"
071fa62e
DK
5687msgstr ""
5688
7d76ea1d
DK
5689#. type: SH
5690#: apt.8:20
071fa62e 5691#, no-wrap
7d76ea1d 5692msgid "SYNOPSIS"
071fa62e
DK
5693msgstr ""
5694
7d76ea1d
DK
5695#. type: Plain text
5696#: apt.8:22
5697msgid "B<apt>"
c77d6597
MV
5698msgstr ""
5699
7d76ea1d
DK
5700#. type: SH
5701#: apt.8:22
c77d6597 5702#, no-wrap
7d76ea1d 5703msgid "DESCRIPTION"
c77d6597
MV
5704msgstr ""
5705
7d76ea1d
DK
5706#. type: Plain text
5707#: apt.8:31
071fa62e 5708msgid ""
7d76ea1d
DK
5709"APT is a management system for software packages. For normal day to day "
5710"package management there are several frontends available, such as B<aptitude>"
5711"(8) for the command line or B<synaptic>(8) for the X Window System. Some "
5712"options are only implemented in B<apt-get>(8) though."
071fa62e
DK
5713msgstr ""
5714
7d76ea1d
DK
5715#. type: SH
5716#: apt.8:31
071fa62e 5717#, no-wrap
7d76ea1d 5718msgid "SEE ALSO"
071fa62e
DK
5719msgstr ""
5720
7d76ea1d
DK
5721#. type: Plain text
5722#: apt.8:38
071fa62e 5723msgid ""
7d76ea1d
DK
5724"B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
5725"B<apt_preferences>(5), B<apt-secure>(8)"
071fa62e
DK
5726msgstr ""
5727
7d76ea1d
DK
5728#. type: SH
5729#: apt.8:38
071fa62e 5730#, no-wrap
7d76ea1d 5731msgid "DIAGNOSTICS"
071fa62e
DK
5732msgstr ""
5733
7d76ea1d
DK
5734#. type: Plain text
5735#: apt.8:40
5736msgid "apt returns zero on normal operation, decimal 100 on error."
071fa62e
DK
5737msgstr ""
5738
7d76ea1d
DK
5739#. type: SH
5740#: apt.8:40
071fa62e 5741#, no-wrap
7d76ea1d 5742msgid "BUGS"
071fa62e
DK
5743msgstr ""
5744
7d76ea1d
DK
5745#. type: Plain text
5746#: apt.8:42
5747msgid "This manpage isn't even started."
071fa62e
DK
5748msgstr ""
5749
7d76ea1d
DK
5750#. type: Plain text
5751#: apt.8:51
071fa62e 5752msgid ""
7d76ea1d
DK
5753"See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
5754"B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
5755"B<reportbug>(1) command."
071fa62e
DK
5756msgstr ""
5757
7d76ea1d
DK
5758#. type: SH
5759#: apt.8:51
5760#, no-wrap
5761msgid "AUTHOR"
5762msgstr ""
5763
5764#. type: Plain text
5765#: apt.8:52
5766msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
071fa62e
DK
5767msgstr ""
5768
5769#. type: <title></title>
5770#: guide.sgml:4
5771#, fuzzy
5772msgid "APT User's Guide"
5773msgstr "Guida dell'utente di APT"
5774
5775#. type: <author></author>
5776#: guide.sgml:6 offline.sgml:6
5777#, fuzzy
5778msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
5779msgstr "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
5780
5781#. type: <version></version>
5782#: guide.sgml:7
5783#, fuzzy
5784msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $"
5785msgstr "$Id: guide.it.sgml,v 1.5 2003/04/26 23:26:13 doogie Exp $"
5786
5787#. type: <abstract></abstract>
5788#: guide.sgml:11
5789#, fuzzy
5790msgid ""
5791"This document provides an overview of how to use the the APT package manager."
5792msgstr "Guida per l'uso del gestore di pacchetti APT."
5793
5794#. type: <copyrightsummary></copyrightsummary>
5795#: guide.sgml:15
5796#, fuzzy
5797msgid "Copyright &copy; Jason Gunthorpe, 1998."
5798msgstr "Copyright &copy; Jason Gunthorpe, 1998."
5799
5800#. type: <p></p>
5801#: guide.sgml:21 offline.sgml:22
5802#, fuzzy
5803msgid ""
5804"\"APT\" and this document are free software; you can redistribute them and/"
5805"or modify them under the terms of the GNU General Public License as "
5806"published by the Free Software Foundation; either version 2 of the License, "
5807"or (at your option) any later version."
5808msgstr ""
5809"\"APT\" e questo documento sono software libero, e li si può ridistribuire e/"
5810"o modificare secondo i termini della Licenza Pubblica Generica GNU (GPL), "
5811"pubblicata dalla Free Software Foundation, nella versione 2 o (se preferite) "
5812"qualsiasi versione successiva."
5813
5814#. type: <p></p>
5815#: guide.sgml:24 offline.sgml:25
5816#, fuzzy
5817msgid ""
c7c71e20
JR
5818"For more details, on Debian systems, see the file /usr/share/common-licenses/"
5819"GPL for the full license."
071fa62e 5820msgstr ""
c7c71e20
JR
5821"Per ulteriori dettagli sui sistemi si veda il testo completo della licenza "
5822"nel file /usr/share/common-licenses/GPL."
071fa62e
DK
5823
5824#. type: <heading></heading>
5825#: guide.sgml:32
5826#, fuzzy
5827msgid "General"
5828msgstr "Descrizione generale"
5829
5830#. type: <p></p>
5831#: guide.sgml:38
5832#, fuzzy
5833msgid ""
5834"The APT package currently contains two sections, the APT <prgn>dselect</"
5835"prgn> method and the <prgn>apt-get</prgn> command line user interface. Both "
5836"provide a way to install and remove packages as well as download new "
5837"packages from the Internet."
5838msgstr ""
5839"Il pacchetto APT al momento contiene due sezioni, il metodo APT "
5840"<prgn>dselect</prgn> e l'interfaccia utente a linea di comando <prgn>apt-"
5841"get</prgn>; entrambi danno modo di installare e rimuovere pacchetti, e di "
5842"scaricarne altri da Internet."
5843
5844#. type: <heading></heading>
5845#: guide.sgml:39
5846#, fuzzy
5847msgid "Anatomy of the Package System"
5848msgstr "Anatomia del sistema di pacchettizzazione"
5849
5850#. type: <p></p>
5851#: guide.sgml:44
5852#, fuzzy
5853msgid ""
5854"The Debian packaging system has a large amount of information associated "
5855"with each package to help assure that it integrates cleanly and easily into "
5856"the system. The most prominent of its features is the dependency system."
5857msgstr ""
5858"Il sistema di pacchettizzazione di Debian contiene un gran numero di "
5859"informazioni associate a ciascun pacchetto, per assicurarsi che si integri "
5860"facilmente ed in maniera pulita nel sistema; la più importante di esse è il "
5861"sistema di dipendenze."
5862
5863#. type: <p></p>
5864#: guide.sgml:52
5865#, fuzzy
5866msgid ""
5867"The dependency system allows individual programs to make use of shared "
5868"elements in the system such as libraries. It simplifies placing infrequently "
5869"used portions of a program in separate packages to reduce the number of "
5870"things the average user is required to install. Also, it allows for choices "
5871"in mail transport agents, X servers and so on."
5872msgstr ""
5873"Il sistema di dipendenze permette ai singoli programmi di fare uso degli "
5874"elementi condivisi del sistema, quali le librerie; per ridurre il numero di "
5875"elementi che l'utente medio debba installare, le porzioni di programmi che "
5876"non vengono usate spesso vengono poste in pacchetti separati. Inoltre, è "
5877"possibile avere più di una scelta per cose quali i programmi di posta "
5878"elettronica, i server X e così via."
5879
5880#. type: <p></p>
5881#: guide.sgml:57
5882#, fuzzy
5883msgid ""
5884"The first step to understanding the dependency system is to grasp the "
5885"concept of a simple dependency. The meaning of a simple dependency is that a "
5886"package requires another package to be installed at the same time to work "
5887"properly."
5888msgstr ""
5889"Il primo passo per capire il sistema di dipendenze è la comprensione del "
5890"concetto di dipendenza semplice: un pacchetto richiede che un altro sia "
5891"installato insieme ad esso per poter funzionare."
5892
5893#. type: <p></p>
5894#: guide.sgml:63
5895#, fuzzy
5896msgid ""
5897"For instance, mailcrypt is an emacs extension that aids in encrypting email "
b39c1859 5898"with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
071fa62e
DK
5899"simple dependency on GPG. Also, because it is an emacs extension it has a "
5900"simple dependency on emacs, without emacs it is completely useless."
5901msgstr ""
5902"Ad esempio, mail-crypt è un'estensione di emacs che aiuta a criptare le mail "
5903"con PGP. Se PGP non è installato, mail-crypt è inutile, quindi mail-crypt ha "
5904"una dipendenza semplice da PGP. Inoltre, dato che si tratta di un'estensione "
5905"di emacs, mail-crypt dipende anche da emacs, senza il quale è totalmente "
5906"inutile."
5907
5908#. type: <p></p>
5909#: guide.sgml:73
5910#, fuzzy
5911msgid ""
5912"The other important dependency to understand is a conflicting dependency. It "
5913"means that a package, when installed with another package, will not work and "
5914"may possibly be extremely harmful to the system. As an example consider a "
5915"mail transport agent such as sendmail, exim or qmail. It is not possible to "
5916"have two mail transport agents installed because both need to listen to the "
5917"network to receive mail. Attempting to install two will seriously damage the "
5918"system so all mail transport agents have a conflicting dependency with all "
5919"other mail transport agents."
5920msgstr ""
5921"L'altro tipo di dipendenza importante da capire è la dipendenza di "
5922"conflitto; con questa, un pacchetto che venga installato insieme ad un altro "
5923"pacchetto non funziona, e si hanno seri problemi al sistema. Come esempio, "
5924"si consideri un programma di trasporto della posta, quale sendmail, exim o "
5925"qmail: non è possibile averne due contemporaneamente, perché entrambi hanno "
5926"bisogno di restare in ascolto sulla stessa porta di rete per ricevere la "
5927"posta. Tentare di installarne due danneggerebbe seriamente il sistema, "
5928"quindi ciascun programma di trasporto della posta ha una dipendenza di "
5929"conflitto con tutti gli altri."
5930
5931#. type: <p></p>
5932#: guide.sgml:83
5933#, fuzzy
5934msgid ""
5935"As an added complication there is the possibility for a package to pretend "
5936"to be another package. Consider that exim and sendmail for many intents are "
5937"identical, they both deliver mail and understand a common interface. Hence, "
5938"the package system has a way for them to declare that they are both mail-"
5939"transport-agents. So, exim and sendmail both declare that they provide a "
5940"mail-transport-agent and other packages that need a mail transport agent "
5941"depend on mail-transport-agent. This can add a great deal of confusion when "
5942"trying to manually fix packages."
5943msgstr ""
5944"Come ulteriore complicazione, c'è la possibilità che un pacchetto voglia "
5945"prendere il posto di un altro; ad esempio, exim e sendmail per molte cose "
5946"sono identici, dato che entrambi gestiscono la posta e comprendono "
5947"un'interfaccia comune, quindi il sistema di pacchettizzazione deve "
5948"dichiarare che sono entrambi agenti di trasporto della posta, e che gli "
5949"altri pacchetti a cui serve uno dei due devono dipendere da un pacchetto "
5950"fittizio agente-di-trasporto-della-posta. Quando si modificano a mano i "
5951"pacchetti, questo può portare a moltissima confusione."
5952
5953#. type: <p></p>
5954#: guide.sgml:88
5955#, fuzzy
5956msgid ""
5957"At any given time a single dependency may be met by packages that are "
5958"already installed or it may not be. APT attempts to help resolve dependency "
5959"issues by providing a number of automatic algorithms that help in selecting "
5960"packages for installation."
5961msgstr ""
5962"In ciascun momento una singola dipendenza può essere soddisfatta o meno dai "
5963"pacchetti già installati; APT cerca di risolvere i problemi di dipendenze "
5964"con un buon numero di algoritmi automatici, che aiutano a selezionare i "
5965"pacchetti da installare."
5966
9aa80d52
DK
5967#. type: <heading></heading>
5968#: guide.sgml:96
5969#, fuzzy
5970msgid "apt-get"
5971msgstr "apt-get"
5972
071fa62e
DK
5973#. type: <p></p>
5974#: guide.sgml:102
5975#, fuzzy
5976msgid ""
5977"<prgn>apt-get</prgn> provides a simple way to install packages from the "
5978"command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not "
5979"understand .deb files, it works with the package's proper name and can only "
5980"install .deb archives from a <em>Source</em>."
5981msgstr ""
5982"<prgn>apt-get</prgn> fornisce un modo semplice di installare i pacchetti "
5983"dalla linea di comando. Diversamente da <prgn>dpkg</prgn>, <prgn>apt-get</"
5984"prgn> non capisce i nomi dei file .deb, ma utilizza il vero nome dei "
5985"pacchetti, e può installare archivi .deb solo da una fonte."
5986
5987#. type: <p></p>
5988#: guide.sgml:109
5989#, fuzzy
5990msgid ""
5991"The first <footnote><p>If you are using an http proxy server you must set "
5992"the http_proxy environment variable first, see sources.list(5)</p></"
5993"footnote> thing that should be done before using <prgn>apt-get</prgn> is to "
5994"fetch the package lists from the <em>Sources</em> so that it knows what "
5995"packages are available. This is done with <tt>apt-get update</tt>. For "
5996"instance,"
5997msgstr ""
5998"La prima <footnote><p>Se state usando un proxy server http, dovete prima "
5999"ancora impostare la variabile d'ambiente http_proxy; vedere sources.list(5)."
6000"</p></footnote> cosa da fare prima di usare <prgn>apt-get</prgn> è impostare "
6001"l'elenco dei pacchetti dalle fonti in modo che il programma sappia quali "
6002"pacchetti sono disponibili. Lo si fa con <tt>apt-get update</tt>. Ad esempio,"
6003
6004#. type: <example></example>
6005#: guide.sgml:116
6006#, fuzzy, no-wrap
6007msgid ""
6008"# apt-get update\n"
6009"Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
6010"Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
6011"Reading Package Lists... Done\n"
6012"Building Dependency Tree... Done"
6013msgstr ""
6014"# apt-get update\n"
6015"Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
6016"Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
6017"Reading Package Lists... Done\n"
6018"Building Dependency Tree... Done"
6019
6020#. type: <p><taglist>
6021#: guide.sgml:120
6022#, fuzzy
6023msgid "Once updated there are several commands that can be used:"
6024msgstr "Dopo aver aggiornato l'elenco si possono usare molti comandi:"
6025
2b9b27c3
DK
6026#. type: <tag></tag>
6027#: guide.sgml:121
6028#, fuzzy
6029msgid "upgrade"
6030msgstr "upgrade"
6031
071fa62e
DK
6032#. type: <p></p>
6033#: guide.sgml:131
6034#, fuzzy
6035msgid ""
6036"Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
6037"install a new package or remove an existing package, nor will it ever "
6038"upgrade a package that might cause some other package to break. This can be "
6039"used daily to relatively safely upgrade the system. Upgrade will list all of "
6040"the packages that it could not upgrade, this usually means that they depend "
6041"on new packages or conflict with some other package. <prgn>dselect</prgn> or "
6042"<tt>apt-get install</tt> can be used to force these packages to install."
6043msgstr ""
6044"Upgrade tenterà di fare un aggiornamento indolore del sistema completo, "
6045"senza installare nuovi pacchetti o rimuoverne di esistenti, e senza "
6046"aggiornare un pacchetto che possa rovinarne altri. Upgrade farà un elenco di "
6047"tutti i pacchetti che non avrà potuto aggiornare, cosa che in genere "
6048"significa che questi dipendono da nuovi pacchetti o vanno in conflitto con "
6049"altri. Per forzare la loro installazione si può usare <prgn>dselect</prgn> o "
6050"<tt>apt-get install</tt>."
6051
2b9b27c3
DK
6052#. type: <tag></tag>
6053#: guide.sgml:131
6054#, fuzzy
6055msgid "install"
6056msgstr "install"
6057
071fa62e
DK
6058#. type: <p></p>
6059#: guide.sgml:140
6060#, fuzzy
6061msgid ""
6062"Install is used to install packages by name. The package is automatically "
6063"fetched and installed. This can be useful if you already know the name of "
6064"the package to install and do not want to go into a GUI to select it. Any "
6065"number of packages may be passed to install, they will all be fetched. "
6066"Install automatically attempts to resolve dependency problems with the "
6067"listed packages and will print a summary and ask for confirmation if "
6068"anything other than its arguments are changed."
6069msgstr ""
6070"Install viene usato per installare i singoli pacchetti dando il loro nome. "
6071"Il pacchetto viene automaticamente scaricato ed installato, cosa molto utile "
6072"se già se ne conosce il nome e non si vuole entrare in grafica per "
6073"selezionarlo. Al comando si possono passare anche più pacchetti, che saranno "
6074"tutti scaricati. L'installazione automatica cerca di risolvere i problemi di "
6075"dipendenze con gli altri pacchetti elencati, stampa un riassunto e chiede "
6076"conferma se si devono modificare altri pacchetti che non siano quelli sulla "
6077"linea di comando."
6078
2b9b27c3
DK
6079#. type: <tag></tag>
6080#: guide.sgml:140
6081#, fuzzy
6082msgid "dist-upgrade"
6083msgstr "dist-upgrade"
6084
071fa62e
DK
6085#. type: <p></p>
6086#: guide.sgml:149
6087#, fuzzy
6088msgid ""
6089"Dist-upgrade is a complete upgrader designed to simplify upgrading between "
6090"releases of Debian. It uses a sophisticated algorithm to determine the best "
6091"set of packages to install, upgrade and remove to get as much of the system "
6092"to the newest release. In some situations it may be desired to use dist-"
6093"upgrade rather than spend the time manually resolving dependencies in "
6094"<prgn>dselect</prgn>. Once dist-upgrade has completed then <prgn>dselect</"
6095"prgn> can be used to install any packages that may have been left out."
6096msgstr ""
6097"Dist-upgrade fa un aggiornamento completo, progettato in modo da rendere "
6098"semplici gli aggiornamenti tra versioni di Debian. Usa un algoritmo "
6099"sofisticato per determinare il miglior insieme di pacchetti da installare, "
6100"aggiornare e rimuovere per arrivare alla versione più aggiornata del sistema "
6101"possibile. In alcune situazioni può essere vantaggioso usare dist-upgrade "
6102"invece che sprecare tempo a risolvere manualmente le dipendenze con "
6103"<prgn>dselect</prgn>. Una volta completato dist-upgrade, si può usare "
6104"<prgn>dselect</prgn> per installare eventuali pacchetti che sono stati "
6105"tralasciati."
6106
6107#. type: <p></p>
6108#: guide.sgml:152
6109#, fuzzy
6110msgid ""
6111"It is important to closely look at what dist-upgrade is going to do, its "
6112"decisions may sometimes be quite surprising."
6113msgstr ""
6114"È importante controllare attentamente cosa intende fare dist-upgrade, dato "
6115"che le sue decisioni a volte possono essere abbastanza sorprendenti."
6116
6117#. type: <p></p>
6118#: guide.sgml:163
6119#, fuzzy
6120msgid ""
6121"<prgn>apt-get</prgn> has several command line options that are detailed in "
6122"its man page, <manref section=\"8\" name=\"apt-get\">. The most useful "
6123"option is <tt>-d</tt> which does not install the fetched files. If the "
6124"system has to download a large number of package it would be undesired to "
6125"start installing them in case something goes wrong. When <tt>-d</tt> is used "
6126"the downloaded archives can be installed by simply running the command that "
6127"caused them to be downloaded again without <tt>-d</tt>."
6128msgstr ""
6129"<prgn>apt-get</prgn> ha diverse opzioni a linea di comando, che vengono "
6130"documentate dettagliatamente nella sua pagina man, <manref section=\"8\" "
6131"name=\"apt-get\">. L'opzione più utile è <tt>-d</tt>, che non installa i "
6132"file scaricati: se il sistema deve scaricare un gran numero di pacchetti, "
6133"non è bene farglieli installare subito, in caso dovesse andare male "
6134"qualcosa. Dopo aver usato <tt>-d</tt>, gli archivi scaricati possono essere "
6135"installati semplicemente dando di nuovo lo stesso comando senza l'opzione "
6136"<tt>-d</tt>."
6137
6138#. type: <heading></heading>
6139#: guide.sgml:168
6140#, fuzzy
6141msgid "DSelect"
6142msgstr "DSelect"
6143
6144#. type: <p></p>
6145#: guide.sgml:173
6146#, fuzzy
6147msgid ""
6148"The APT <prgn>dselect</prgn> method provides the complete APT system with "
6149"the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used "
6150"to select the packages to be installed or removed and APT actually installs "
6151"them."
6152msgstr ""
6153"Il metodo APT di <prgn>dselect</prgn> fornisce tutte le funzionalità di APT "
6154"all'interno dell'interfaccia grafica di selezione dei pacchetti "
6155"<prgn>dselect</prgn>. <prgn>dselect</prgn> viene usato per selezionare i "
6156"pacchetti da installare o rimuovere, ed APT li installa."
6157
6158#. type: <p></p>
6159#: guide.sgml:184
6160#, fuzzy
6161msgid ""
b39c1859
MV
6162"To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> "
6163"and then choose the APT method. You will be prompted for a set of "
071fa62e 6164"<em>Sources</em> which are places to fetch archives from. These can be "
25838be6 6165"remote Internet sites, local Debian mirrors or CD-ROMs. Each source can "
071fa62e 6166"provide a fragment of the total Debian archive, APT will automatically "
25838be6
JR
6167"combine them to form a complete set of packages. If you have a CD-ROM then "
6168"it is a good idea to specify it first and then specify a mirror so that you "
071fa62e 6169"have access to the latest bug fixes. APT will automatically use packages on "
25838be6 6170"your CD-ROM before downloading from the Internet."
071fa62e
DK
6171msgstr ""
6172"Per abilitare il metodo APT dovete selezionare [A]ccess in <prgn>dselect</"
6173"prgn> e scegliere il metodo APT; vi verrà chiesto un insieme di fonti "
6174"(<em>Sources</em>), cioè di posti da cui scaricare gli archivi. Tali fonti "
6175"possono essere siti Internet remoti, mirror locali di Debian o CDROM; "
6176"ciascuna di esse può fornire una parte dell'archivio Debian, ed APT le "
6177"combinerà insieme in un set completo di pacchetti. Se avete un CDROM è una "
6178"buona idea indicare quello per primo, e poi i mirror, in modo da avere "
6179"accesso alle ultime versioni; APT userà in questo modo automaticamente i "
6180"pacchetti sul CDROM prima di scaricarli da Internet."
6181
6182#. type: <example></example>
6183#: guide.sgml:198
6184#, fuzzy, no-wrap
6185msgid ""
6186" Set up a list of distribution source locations\n"
6187"\t \n"
6188" Please give the base URL of the debian distribution.\n"
6189" The access schemes I know about are: http file\n"
6190"\t \n"
6191" For example:\n"
6192" file:/mnt/debian,\n"
6193" ftp://ftp.debian.org/debian,\n"
6194" http://ftp.de.debian.org/debian,\n"
6195" \n"
6196" \n"
6197" URL [http://llug.sep.bnl.gov/debian]:"
6198msgstr ""
6199" Set up a list of distribution source locations\n"
6200"\t \n"
6201" Please give the base URL of the debian distribution.\n"
6202" The access schemes I know about are: http file\n"
6203"\t \n"
6204" For example:\n"
6205" file:/mnt/debian,\n"
6206" ftp://ftp.debian.org/debian,\n"
6207" http://ftp.de.debian.org/debian,\n"
6208" \n"
6209" \n"
6210" URL [http://llug.sep.bnl.gov/debian]:"
6211
6212#. type: <p></p>
6213#: guide.sgml:205
6214#, fuzzy
6215msgid ""
6216"The <em>Sources</em> setup starts by asking for the base of the Debian "
6217"archive, defaulting to a HTTP mirror. Next it asks for the distribution to "
6218"get."
6219msgstr ""
6220"La configurazione delle fonti inizia chiedendo la base dell'archivio Debian, "
6221"propone come default un mirror HTTP, e poi chiede la distribuzione da "
6222"scaricare."
6223
6224#. type: <example></example>
6225#: guide.sgml:212
6226#, fuzzy, no-wrap
6227msgid ""
6228" Please give the distribution tag to get or a path to the\n"
6229" package file ending in a /. The distribution\n"
6230" tags are typically something like: stable unstable testing non-US\n"
6231" \n"
6232" Distribution [stable]:"
6233msgstr ""
6234" Please give the distribution tag to get or a path to the\n"
6235" package file ending in a /. The distribution\n"
6236" tags are typically something like: stable unstable testing non-US\n"
6237" \n"
6238" Distribution [stable]:"
6239
6240#. type: <p></p>
6241#: guide.sgml:222
6242#, fuzzy
6243msgid ""
6244"The distribution refers to the Debian version in the archive, <em>stable</"
6245"em> refers to the latest released version and <em>unstable</em> refers to "
6246"the developmental version. <em>non-US</em> is only available on some mirrors "
6247"and refers to packages that contain encryption technology or other things "
6248"that cannot be exported from the United States. Importing these packages "
6249"into the US is legal however."
6250msgstr ""
6251"La distribuzione (``distribution'') fa riferimento alla versione Debian "
6252"dell'archivio: <em>stable</em> è l'ultima rilasciata, ed <em>unstable</em> è "
6253"quella di sviluppo. <em>non-US</em> è disponibile solo su alcuni mirror, e "
6254"contiene dei pacchetti in cui viene usata della tecnologia di criptazione o "
6255"altre cose che non possano essere esportate dagli Stati Uniti; importare "
6256"questi pacchetti negli US è però legale."
6257
6258#. type: <example></example>
6259#: guide.sgml:228
6260#, fuzzy, no-wrap
6261msgid ""
6262" Please give the components to get\n"
6263" The components are typically something like: main contrib non-free\n"
6264" \n"
6265" Components [main contrib non-free]:"
6266msgstr ""
6267" Please give the components to get\n"
6268" The components are typically something like: main contrib non-free\n"
6269" \n"
6270" Components [main contrib non-free]:"
6271
6272#. type: <p></p>
6273#: guide.sgml:236
6274#, fuzzy
6275msgid ""
6276"The components list refers to the list of sub distributions to fetch. The "
6277"distribution is split up based on software licenses, main being DFSG free "
6278"packages while contrib and non-free contain things that have various "
6279"restrictions placed on their use and distribution."
6280msgstr ""
6281"L'elenco dei componenti (``components'') si riferisce alla lista di sotto-"
6282"distribuzioni da scaricare. Ciascuna distribuzione viene divisa in base al "
6283"copyright del software: la main contiene pacchetti la cui licenza soddisfa "
6284"le DFSG, mentre contrib e non-free contengono software che ha diverse "
6285"restrizioni sull'uso e sulla distribuzione."
6286
6287#. type: <p></p>
6288#: guide.sgml:240
6289#, fuzzy
6290msgid ""
6291"Any number of sources can be added, the setup script will continue to prompt "
6292"until you have specified all that you want."
6293msgstr ""
6294"Si possono inserire un qualsiasi numero di fonti, e lo script di "
6295"configurazione continuerà a chiedere fino a che abbiate specificato tutti "
6296"gli elementi che volete."
6297
6298#. type: <p></p>
6299#: guide.sgml:247
6300#, fuzzy
6301msgid ""
6302"Before starting to use <prgn>dselect</prgn> it is necessary to update the "
b39c1859 6303"available list by selecting [U]pdate from the menu. This is a superset of "
071fa62e
DK
6304"<tt>apt-get update</tt> that makes the fetched information available to "
6305"<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get update</"
6306"tt> has been run before."
6307msgstr ""
6308"Prima di cominciare ad usare <prgn>dselect</prgn> è necessario aggiornare "
6309"l'elenco dei pacchetti disponibili selezionando [U]pdate dal menù: si tratta "
6310"di un sovrainsieme di ciò che fa <tt>apt-get update</tt>, che rende "
6311"l'informazione scaricata disponibile a <prgn>dselect</prgn>. [U]pdate deve "
6312"essere fatto anche se prima è stato dato <tt>apt-get update</tt>."
6313
6314#. type: <p></p>
6315#: guide.sgml:253
6316#, fuzzy
6317msgid ""
6318"You can then go on and make your selections using [S]elect and then perform "
6319"the installation using [I]nstall. When using the APT method the [C]onfig and "
6320"[R]emove commands have no meaning, the [I]nstall command performs both of "
6321"them together."
6322msgstr ""
6323"Si può a questo punto continuare selezionando i pacchetti desiderati usando "
6324"[S]elect e poi installando con [I]nstall. Se si usa il metodo APT, i comandi "
6325"[C]onfig e [R]emove non hanno significato, dato che entrambe le fasi sono "
6326"contenute in [I]nstall."
6327
6328#. type: <p></p>
6329#: guide.sgml:258
6330#, fuzzy
6331msgid ""
6332"By default APT will automatically remove the package (.deb) files once they "
6333"have been successfully installed. To change this behavior place <tt>Dselect::"
6334"clean \"prompt\";</tt> in /etc/apt/apt.conf."
6335msgstr ""
6336"Per default APT rimuoverà automaticamente i pacchetti che sono stati "
6337"installati con successo. Per modificare questo comportamento, si inserisca "
6338"<tt>Dselect::clean \"prompt\";</tt> in /etc/apt/apt.conf."
6339
6340#. type: <heading></heading>
6341#: guide.sgml:264
6342#, fuzzy
6343msgid "The Interface"
6344msgstr "L'interfaccia"
6345
6346#. type: <p></p>
6347#: guide.sgml:278
6348#, fuzzy
6349msgid ""
6350"Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the "
6351"same interface. It is a simple system that generally tells you what it will "
6352"do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method "
6353"actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method "
6354"actually provides more functionality than is present in <prgn>apt-get</prgn> "
6355"alone.</p></footnote> After printing out a summary of what will happen APT "
6356"then will print out some informative status messages so that you can "
6357"estimate how far along it is and how much is left to do."
6358msgstr ""
6359"Entrambi i metodi, <prgn>dselect</prgn> APT ed <prgn>apt-get</prgn>, "
6360"condividono la stessa interfaccia; si tratta di un sistema semplice che "
6361"indica in genere cosa sta per fare, e poi lo fa. <footnote><p>Il metodo "
6362"<prgn>dselect</prgn> è in realtà un insieme di script di wrapper ad "
6363"<prgn>apt-get</prgn>. Il metodo fornisce delle funzionalità maggiori del "
6364"solo <prgn>apt-get</prgn>.</p></footnote> Dopo la stampa di un riassunto "
6365"delle operazioni che saranno fatte, APT stampa dei messaggi informativi "
6366"sullo stato del sistema, in modo che possiate avere davanti agli occhi a "
6367"quale punto dell'operazione si trova, e quanto ancora si deve aspettare."
6368
6369#. type: <heading></heading>
6370#: guide.sgml:280
6371#, fuzzy
6372msgid "Startup"
6373msgstr "Avvio"
6374
6375#. type: <p></p>
6376#: guide.sgml:284
6377#, fuzzy
6378msgid ""
6379"Before all operations except update, APT performs a number of actions to "
6380"prepare its internal state. It also does some checks of the system's state. "
6381"At any time these operations can be performed by running <tt>apt-get check</"
6382"tt>."
6383msgstr ""
6384"Prima di ciascuna operazione, eccetto l'aggiornamento della lista, APT "
6385"compie alcune operazioni per prepararsi, oltre a dei controlli dello stato "
6386"del sistema. In qualsiasi momento le stesse operazioni possono essere fatte "
6387"con <tt>apt-get check</tt>"
6388
6389#. type: <example></example>
6390#: guide.sgml:289
6391#, fuzzy, no-wrap
6392msgid ""
6393"# apt-get check\n"
6394"Reading Package Lists... Done\n"
6395"Building Dependency Tree... Done"
6396msgstr ""
6397"# apt-get check\n"
6398"Reading Package Lists... Done\n"
6399"Building Dependancy Tree... Done"
6400
6401#. type: <p></p>
6402#: guide.sgml:297
6403#, fuzzy
6404msgid ""
6405"The first thing it does is read all the package files into memory. APT uses "
6406"a caching scheme so this operation will be faster the second time it is run. "
6407"If some of the package files are not found then they will be ignored and a "
6408"warning will be printed when apt-get exits."
6409msgstr ""
6410"La prima cosa che fa è leggere tutti i file dei pacchetti in memoria, usando "
6411"uno schema di caching in modo da rendere la stessa operazione più veloce la "
6412"seconda volta che la si fa. Se alcuni dei file dei pacchetti non vengono "
6413"trovati, sono ignorati e viene stampato un avvertimento all'uscita di apt-"
6414"get."
6415
6416#. type: <p></p>
6417#: guide.sgml:303
6418#, fuzzy
6419msgid ""
6420"The final operation performs a detailed analysis of the system's "
6421"dependencies. It checks every dependency of every installed or unpacked "
6422"package and considers if it is OK. Should this find a problem then a report "
6423"will be printed out and <prgn>apt-get</prgn> will refuse to run."
6424msgstr ""
6425"L'operazione finale consiste in un'analisi dettagliata delle dipendenze del "
6426"sistema: viene controllato che tutte le dipendenze dei singoli pacchetti "
6427"installati o non scompattati siano soddisfatte. Se vengono individuati dei "
6428"problemi, viene stampato un resoconto, ed <prgn>apt-get</prgn> esce senza "
6429"eseguire alcuna operazione."
6430
6431#. type: <example></example>
6432#: guide.sgml:320
6433#, fuzzy, no-wrap
6434msgid ""
6435"# apt-get check\n"
6436"Reading Package Lists... Done\n"
6437"Building Dependency Tree... Done\n"
6438"You might want to run apt-get -f install' to correct these.\n"
6439"Sorry, but the following packages have unmet dependencies:\n"
6440" 9fonts: Depends: xlib6g but it is not installed\n"
6441" uucp: Depends: mailx but it is not installed\n"
6442" blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6443" adduser: Depends: perl-base but it is not installed\n"
6444" aumix: Depends: libgpmg1 but it is not installed\n"
6445" debiandoc-sgml: Depends: sgml-base but it is not installed\n"
6446" bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
6447" cthugha: Depends: svgalibg1 but it is not installed\n"
6448" Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6449" libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
6450msgstr ""
6451"# apt-get check\n"
6452"Reading Package Lists... Done\n"
6453"Building Dependancy Tree... Done\n"
6454"You might want to run apt-get -f install' to correct these.\n"
6455"Sorry, but the following packages have unmet dependencies:\n"
6456" 9fonts: Depends: xlib6g but it is not installed\n"
6457" uucp: Depends: mailx but it is not installed\n"
6458" blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6459" adduser: Depends: perl-base but it is not installed\n"
6460" aumix: Depends: libgpmg1 but it is not installed\n"
6461" debiandoc-sgml: Depends: sgml-base but it is not installed\n"
6462" bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
6463" cthugha: Depends: svgalibg1 but it is not installed\n"
6464" Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6465" libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
6466
6467#. type: <p></p>
6468#: guide.sgml:329
6469#, fuzzy
6470msgid ""
6471"In this example the system has many problems, including a serious problem "
6472"with libreadlineg2. For each package that has unmet dependencies a line is "
6473"printed out indicating the package with the problem and the dependencies "
6474"that are unmet. A short explanation of why the package has a dependency "
6475"problem is also included."
6476msgstr ""
6477"In questo esempio il sistema ha molti problemi, tra cui uno piuttosto serio "
6478"con la libreadlineg2. Per ciascun pacchetto che ha dipendenze non "
6479"soddisfatte, viene stampata una linea che indica il pacchetto che crea il "
6480"problema e quali problemi ci sono. Viene inclusa inoltre una breve "
6481"spiegazione del perché il pacchetto ha un problema di dipendenze."
6482
6483#. type: <p></p>
6484#: guide.sgml:337
6485#, fuzzy
6486msgid ""
6487"There are two ways a system can get into a broken state like this. The first "
6488"is caused by <prgn>dpkg</prgn> missing some subtle relationships between "
6489"packages when performing upgrades. <footnote><p>APT however considers all "
6490"known dependencies and attempts to prevent broken packages</p></footnote>. "
6491"The second is if a package installation fails during an operation. In this "
6492"situation a package may have been unpacked without its dependents being "
6493"installed."
6494msgstr ""
6495"Ci sono due modi in cui un sistema possa arrivare in uno stato problematico "
6496"di questo genere: il primo è causato dal fatto che <prgn>dpkg</prgn> possa "
6497"mancare alcune relazioni sottili tra pacchetti durante un aggiornamento del "
6498"sistema<footnote><p>APT considera comunque tutte le dipendenze note, e cerca "
6499"di prevenire problemi ai pacchetti</p></footnote>; il secondo è possibile se "
6500"l'installazione di un pacchetto fallisce, ed in questo caso è possibile che "
6501"un pacchetto venga scompattato senza che tutti quelli da cui dipende siano "
6502"stati installati."
6503
6504#. type: <p></p>
6505#: guide.sgml:345
6506#, fuzzy
6507msgid ""
6508"The second situation is much less serious than the first because APT places "
6509"certain constraints on the order that packages are installed. In both cases "
6510"supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to "
6511"deduce a possible solution to the problem and then continue on. The APT "
6512"<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow "
6513"for easy continuation of failed maintainer scripts."
6514msgstr ""
6515"La seconda possibilità è meno seria della prima, dato che APT gestisce "
6516"l'ordine di installazione dei pacchetti; in entrambi i casi l'opzione <tt>-"
6517"f</tt> di <prgn>apt-get</prgn> gli farà trovare una soluzione e lo farà "
6518"continuare. Il metodo APT di <prgn>dselect</prgn> comprende sempre l'opzione "
6519"<tt>-f</tt> per permettere di configurare facilmente anche i pacchetti con "
6520"script errati."
6521
6522#. type: <p></p>
6523#: guide.sgml:351
6524#, fuzzy
6525msgid ""
6526"However, if the <tt>-f</tt> option is used to correct a seriously broken "
6527"system caused by the first case then it is possible that it will either fail "
6528"immediately or the installation sequence will fail. In either case it is "
6529"necessary to manually use dpkg (possibly with forcing options) to correct "
6530"the situation enough to allow APT to proceed."
6531msgstr ""
6532"Se viene usata però l'opzione <tt>-f</tt> per correggere un sistema in uno "
6533"stato molto problematico, è possibile che anche con l'opzione il programma "
6534"fallisca, subito o durante la sequenza di installazione. In entrambi i casi "
6535"è necessario usare dpkg a mano (probabilmente usando delle opzioni di "
6536"forzatura) per correggere quanto basta per poter fare continuare APT."
6537
6538#. type: <heading></heading>
6539#: guide.sgml:356
6540#, fuzzy
6541msgid "The Status Report"
6542msgstr "Il resoconto sullo stato"
6543
6544#. type: <p></p>
6545#: guide.sgml:363
6546#, fuzzy
6547msgid ""
6548"Before proceeding <prgn>apt-get</prgn> will present a report on what will "
6549"happen. Generally the report reflects the type of operation being performed "
6550"but there are several common elements. In all cases the lists reflect the "
6551"final state of things, taking into account the <tt>-f</tt> option and any "
6552"other relevant activities to the command being executed."
6553msgstr ""
6554"Prima di procedere, <prgn>apt-get</prgn> presenterà un resoconto delle "
6555"operazioni che sta per fare. In genere tale resoconto varierà con il tipo di "
6556"operazioni da fare, ma ci sono alcuni elementi comuni: in tutti i casi gli "
6557"elenchi dipendono dallo stato finale delle cose, e tengono conto "
6558"dell'opzione <tt>-f</tt> e di altre attività rilevanti per il comando da "
6559"eseguire."
6560
6561#. type: <heading></heading>
6562#: guide.sgml:364
6563#, fuzzy
6564msgid "The Extra Package list"
6565msgstr "L'elenco dei pacchetti Extra"
6566
6567#. type: <example></example>
6568#: guide.sgml:372
6569#, fuzzy, no-wrap
6570msgid ""
6571"The following extra packages will be installed:\n"
6572" libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
6573" mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
6574" bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
6575" squake pgp-i python-base debmake ldso perl libreadlineg2\n"
6576" ssh"
6577msgstr ""
6578"The following extra packages will be installed:\n"
6579" libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
6580" mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
6581" bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
6582" squake pgp-i python-base debmake ldso perl libreadlineg2\n"
6583" ssh"
6584
6585#. type: <p></p>
6586#: guide.sgml:379
6587#, fuzzy
6588msgid ""
6589"The Extra Package list shows all of the packages that will be installed or "
6590"upgraded in excess of the ones mentioned on the command line. It is only "
6591"generated for an <tt>install</tt> command. The listed packages are often the "
6592"result of an Auto Install."
6593msgstr ""
6594"L'elenco dei pacchetti Extra mostra tutti i pacchetti che verranno "
6595"installati o aggiornati oltre a quelli indicati sulla linea di comando. "
6596"Viene generato solo per il comando <tt>install</tt>. I pacchetti elencati "
6597"sono spesso il risultato di un'operazione di auto installazione (Auto "
6598"Install)."
6599
6600#. type: <heading></heading>
6601#: guide.sgml:382
6602#, fuzzy
6603msgid "The Packages to Remove"
6604msgstr "I pacchetti da rimuovere"
6605
6606#. type: <example></example>
6607#: guide.sgml:389
6608#, fuzzy, no-wrap
6609msgid ""
6610"The following packages will be REMOVED:\n"
6611" xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
6612" xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
6613" xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
6614" nas xpilot xfig"
6615msgstr ""
6616"The following packages will be REMOVED:\n"
6617" xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
6618" xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
6619" xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
6620" nas xpilot xfig"
6621
6622#. type: <p></p>
6623#: guide.sgml:399
6624#, fuzzy
6625msgid ""
6626"The Packages to Remove list shows all of the packages that will be removed "
6627"from the system. It can be shown for any of the operations and should be "
6628"given a careful inspection to ensure nothing important is to be taken off. "
6629"The <tt>-f</tt> option is especially good at generating packages to remove "
6630"so extreme care should be used in that case. The list may contain packages "
6631"that are going to be removed because they are only partially installed, "
6632"possibly due to an aborted installation."
6633msgstr ""
6634"L'elenco dei pacchetti da rimuovere (Remove) indica tutti i pacchetti che "
6635"verranno rimossi dal sistema. Può essere mostrato per una qualsiasi delle "
6636"operazioni, e deve sempre essere esaminato attentamente per assicurarsi che "
6637"non venga eliminato qualcosa di importante. Con l'opzione <tt>-f</tt> è "
6638"particolarmente probabile che vengano eliminati dei pacchetti, ed in questo "
6639"caso va fatta estrema attenzione. La lista può contenere dei pacchetti che "
6640"verranno rimossi perché sono già rimossi parzialmente, forse a causa di "
6641"un'installazione non terminata correttamente."
6642
6643#. type: <heading></heading>
6644#: guide.sgml:402
6645#, fuzzy
6646msgid "The New Packages list"
6647msgstr "L'elenco dei nuovi pacchetti installati"
6648
6649#. type: <example></example>
6650#: guide.sgml:406
6651#, fuzzy, no-wrap
6652msgid ""
6653"The following NEW packages will installed:\n"
6654" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
6655msgstr ""
6656"The following NEW packages will installed:\n"
6657" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
6658
6659#. type: <p></p>
6660#: guide.sgml:411
6661#, fuzzy
6662msgid ""
6663"The New Packages list is simply a reminder of what will happen. The packages "
6664"listed are not presently installed in the system but will be when APT is "
6665"done."
6666msgstr ""
6667"L'elenco dei nuovi pacchetti installati (New) è semplicemente un appunto su "
6668"quello che accadrà. I pacchetti nell'elenco non sono al momento installati "
6669"nel sistema, ma lo saranno alla fine delle operazioni di APT."
6670
6671#. type: <heading></heading>
6672#: guide.sgml:414
6673#, fuzzy
6674msgid "The Kept Back list"
6675msgstr "L'elenco dei pacchetti trattenuti"
6676
6677#. type: <example></example>
6678#: guide.sgml:419
6679#, fuzzy, no-wrap
6680msgid ""
6681"The following packages have been kept back\n"
6682" compface man-db tetex-base msql libpaper svgalib1\n"
6683" gs snmp arena lynx xpat2 groff xscreensaver"
6684msgstr ""
6685"The following packages have been kept back\n"
6686" compface man-db tetex-base msql libpaper svgalib1\n"
6687" gs snmp arena lynx xpat2 groff xscreensaver"
6688
6689#. type: <p></p>
6690#: guide.sgml:428
6691#, fuzzy
6692msgid ""
6693"Whenever the whole system is being upgraded there is the possibility that "
6694"new versions of packages cannot be installed because they require new things "
6695"or conflict with already installed things. In this case the package will "
6696"appear in the Kept Back list. The best way to convince packages listed there "
6697"to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> "
6698"to resolve their problems."
6699msgstr ""
6700"In ogni caso in cui il sistema viene aggiornato nel suo insieme, c'è la "
6701"possibilità che non possano venire installate nuove versioni di alcuni "
6702"pacchetti, dato che potrebbero richiedere l'installazione di pacchetti non "
6703"presenti nel sistema, o entrare in conflitto con altri già presenti. In "
6704"questo caso, il pacchetto viene elencato nella lista di quelli trattenuti "
6705"(Kept Back). Il miglior modo per convincere i pacchetti elencati in questa "
6706"lista è di installarli con <tt>apt-get install</tt> o usare <prgn>dselect</"
6707"prgn> per risolvere i problemi."
6708
6709#. type: <heading></heading>
6710#: guide.sgml:431
6711#, fuzzy
6712msgid "Held Packages warning"
6713msgstr "Messaggi di attenzione sui pacchetti trattenuti"
6714
6715#. type: <example></example>
6716#: guide.sgml:435
6717#, fuzzy, no-wrap
6718msgid ""
6719"The following held packages will be changed:\n"
6720" cvs"
6721msgstr ""
6722"The following held packages will be changed:\n"
6723" cvs"
6724
6725#. type: <p></p>
6726#: guide.sgml:441
6727#, fuzzy
6728msgid ""
6729"Sometimes you can ask APT to install a package that is on hold, in such a "
6730"case it prints out a warning that the held package is going to be changed. "
6731"This should only happen during dist-upgrade or install."
6732msgstr ""
6733"A volte si può richiedere ad APT di installare un pacchetto che è stato "
6734"trattenuto; in questi casi viene stampato un messaggio di attenzione, che "
6735"avverte che il pacchetto verrà modificato. Questo dovrebbe accadere solo "
6736"durante operazioni di dist-upgrade o di install."
6737
6738#. type: <heading></heading>
6739#: guide.sgml:444
6740#, fuzzy
6741msgid "Final summary"
6742msgstr "Resoconto finale"
6743
6744#. type: <p></p>
6745#: guide.sgml:447
6746#, fuzzy
6747msgid ""
6748"Finally, APT will print out a summary of all the changes that will occur."
6749msgstr ""
6750"Infine, APT stamperà un riassunto di tutte le modifiche che accadranno."
6751
6752#. type: <example></example>
6753#: guide.sgml:452
6754#, fuzzy, no-wrap
6755msgid ""
6756"206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
6757"12 packages not fully installed or removed.\n"
6758"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
6759msgstr ""
6760"206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
6761"12 packages not fully installed or removed.\n"
6762"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
6763
6764#. type: <p></p>
6765#: guide.sgml:470
6766#, fuzzy
6767msgid ""
6768"The first line of the summary simply is a reduced version of all of the "
6769"lists and includes the number of upgrades - that is packages already "
6770"installed that have new versions available. The second line indicates the "
6771"number of poorly configured packages, possibly the result of an aborted "
6772"installation. The final line shows the space requirements that the "
6773"installation needs. The first pair of numbers refer to the size of the "
6774"archive files. The first number indicates the number of bytes that must be "
6775"fetched from remote locations and the second indicates the total size of all "
6776"the archives required. The next number indicates the size difference between "
6777"the presently installed packages and the newly installed packages. It is "
6778"roughly equivalent to the space required in /usr after everything is done. "
6779"If a large number of packages are being removed then the value may indicate "
6780"the amount of space that will be freed."
6781msgstr ""
6782"La prima linea del riassunto è semplicemente una versione ridotta di tutte "
6783"le liste, ed include il numero di aggiornamenti -- cioè dei pacchetti già "
6784"installati per cui sono disponibili nuove versioni. La seconda linea indica "
6785"il numero di pacchetti con problemi di configurazione, probabilmente in "
6786"conseguenza di un'installazione non andata a buon fine. La linea finale "
6787"indica i requisiti di spazio dell'installazione: i primi due numeri indicano "
6788"rispettivamente il numero di byte che devono essere trasferiti da posizioni "
6789"remote, ed il secondo la dimensione totale di tutti gli archivi necessari "
6790"per l'installazione. Il numero successivo indica la differenza in dimensione "
6791"tra i pacchetti già installati e quelli che lo saranno, ed è "
6792"approssimativamente equivalente allo spazio richiesto in /usr dopo "
6793"l'installazione. Se si stanno rimuovendo dei pacchetti, il valore può "
6794"indicare lo spazio che verrà liberato."
6795
6796#. type: <p></p>
6797#: guide.sgml:473
6798#, fuzzy
6799msgid ""
6800"Some other reports can be generated by using the -u option to show packages "
6801"to upgrade, they are similar to the previous examples."
6802msgstr ""
6803"Si possono generare altri resoconti usando l'opzione -u per mostrare i "
6804"pacchetti da aggiornare, ma sono simili all'esempio precedente."
6805
6806#. type: <heading></heading>
6807#: guide.sgml:477
6808#, fuzzy
6809msgid "The Status Display"
6810msgstr "La visualizzazione dello stato"
6811
6812#. type: <p></p>
6813#: guide.sgml:481
6814#, fuzzy
6815msgid ""
6816"During the download of archives and package files APT prints out a series of "
6817"status messages."
6818msgstr ""
6819"Durante il download degli archivi e dei file dei pacchetti, APT stampa una "
6820"serie di messaggi di stato."
6821
6822#. type: <example></example>
6823#: guide.sgml:490
6824#, fuzzy, no-wrap
6825msgid ""
6826"# apt-get update\n"
6827"Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
6828"Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
6829"Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
6830"Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
6831"Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
6832"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
6833msgstr ""
6834"# apt-get update\n"
6835"Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
6836"Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
6837"Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
6838"Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
6839"Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
6840"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
6841
6842#. type: <p></p>
6843#: guide.sgml:500
6844#, fuzzy
6845msgid ""
6846"The lines starting with <em>Get</em> are printed out when APT begins to "
6847"fetch a file while the last line indicates the progress of the download. The "
6848"first percent value on the progress line indicates the total percent done of "
6849"all files. Unfortunately since the size of the Package files is unknown "
6850"<tt>apt-get update</tt> estimates the percent done which causes some "
6851"inaccuracies."
6852msgstr ""
6853"Le linee che cominciano con <em>Get</em> vengono stampate quando APT inizia "
6854"a scaricare un file, e l'ultima linea indica il progresso dell'operazione. "
6855"Il primo valore in percentuale indica la percentuale totale di tutti i file; "
6856"dato che la dimensione dei file Package non è nota, purtroppo a volte "
6857"<tt>apt-get update</tt> fa una stima poco accurata."
6858
6859#. type: <p></p>
6860#: guide.sgml:509
6861#, fuzzy
6862msgid ""
6863"The next section of the status line is repeated once for each download "
6864"thread and indicates the operation being performed and some useful "
6865"information about what is happening. Sometimes this section will simply read "
6866"<em>Forking</em> which means the OS is loading the download module. The "
6867"first word after the [ is the fetch number as shown on the history lines. "
6868"The next word is the short form name of the object being downloaded. For "
6869"archives it will contain the name of the package that is being fetched."
6870msgstr ""
6871"La sezione successiva della linea di stato viene ripetuta una volta per "
6872"ciascuna fase del download, ed indica l'operazione in corso, insieme ad "
6873"alcune informazioni utili su cosa stia accadendo. A volte questa sezione "
6874"contiene solamente <em>Forking</em>, che significa che il sistema operativo "
6875"sta caricando il modulo. La prima parola dopo la parentesi quadra aperta è "
6876"il nome breve dell'oggetto che si sta scaricando, che per gli archivi è il "
6877"nome del pacchetto."
6878
6879#. type: <p></p>
6880#: guide.sgml:524
6881#, fuzzy
6882msgid ""
6883"Inside of the single quote is an informative string indicating the progress "
6884"of the negotiation phase of the download. Typically it progresses from "
6885"<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or "
6886"<em>Resuming</em>. The final value is the number of bytes downloaded from "
6887"the remote site. Once the download begins this is represented as "
6888"<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 "
6889"kilobytes is expected. The total size is always shown in 4 figure notation "
6890"to preserve space. After the size display is a percent meter for the file "
6891"itself. The second last element is the instantaneous average speed. This "
6892"values is updated every 5 seconds and reflects the rate of data transfer for "
6893"that period. Finally is shown the estimated transfer time. This is updated "
6894"regularly and reflects the time to complete everything at the shown transfer "
6895"rate."
6896msgstr ""
6897"All'interno delle virgolette c'è una stringa informativa, che indica il "
6898"progresso della fase di negoziazione del download. Tipicamente comincia con "
6899"<em>Connecting</em>, procede con <em>Waiting for file</em> e poi con "
6900"<em>Downloading</em> o <em>Resuming</em>. Il valore finale è il numero di "
6901"byte che sono stati scaricati dal sito remoto: una volta cominciato il "
6902"download viene rappresentato come <tt>102/10.2k</tt>, che indica che sono "
6903"stati scaricati 102 byte di 10.2 kilobyte. La dimensione totale viene sempre "
6904"espressa in notazione a quattro cifre, per risparmiare spazio. Dopo la "
6905"dimensione viene indicato un indicatore progressivo della percentuale del "
6906"file. Il penultimo elemento è la velocità istantanea media, che viene "
6907"aggiornata ogni 5 secondi, e riflette la velocità di trasferimento dei dati "
6908"in quel periodo. Infine, viene visualizzato il tempo stimato per il "
6909"trasferimento, che viene aggiornato periodicamente e riflette il tempo "
6910"necessario per completare tutte le operazioni alla velocità di trasferimento "
6911"mostrata."
6912
6913#. type: <p></p>
6914#: guide.sgml:530
6915#, fuzzy
6916msgid ""
6917"The status display updates every half second to provide a constant feedback "
6918"on the download progress while the Get lines scroll back whenever a new file "
6919"is started. Since the status display is constantly updated it is unsuitable "
6920"for logging to a file, use the <tt>-q</tt> option to remove the status "
6921"display."
6922msgstr ""
6923"La visualizzazione dello stato viene aggiornata ogni mezzo secondo per "
6924"fornire un feedback costante del processo di download, e le linee Get "
6925"scorrono indietro quando viene cominciato il download di un nuovo file. Dato "
6926"che la visualizzazione dello stato viene costantemente aggiornata, non è "
6927"adatta per essere registrata in un file; per non visualizzarla si può usare "
6928"l'opzione <tt>-q</tt>."
6929
6930#. type: <heading></heading>
6931#: guide.sgml:535
6932#, fuzzy
6933msgid "Dpkg"
6934msgstr "Dpkg"
6935
6936#. type: <p></p>
6937#: guide.sgml:542
6938#, fuzzy
6939msgid ""
6940"APT uses <prgn>dpkg</prgn> for installing the archives and will switch over "
6941"to the <prgn>dpkg</prgn> interface once downloading is completed. "
6942"<prgn>dpkg</prgn> will also ask a number of questions as it processes the "
6943"packages and the packages themselves may also ask several questions. Before "
6944"each question there is usually a description of what it is asking and the "
6945"questions are too varied to discuss completely here."
6946msgstr ""
6947"APT usa <prgn>dpkg</prgn> per installare gli archivi e passerà "
6948"all'interfaccia <prgn>dpkg</prgn> una volta finito il download. <prgn>dpkg</"
6949"prgn> porrà anche alcune domande durante la manipolazione dei pacchetti, ed "
6950"i pacchetti stessi potranno farne altre. Prima di ciascuna domanda viene "
6951"proposta una descrizione di quello che sta per chiedere, e le domande sono "
6952"troppo diverse per poter essere discusse in maniera completa in questa "
6953"occasione."
6954
6955#. type: <title></title>
6956#: offline.sgml:4
6957msgid "Using APT Offline"
6958msgstr ""
6959
6960#. type: <version></version>
6961#: offline.sgml:7
6962#, fuzzy
6963msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
6964msgstr "$Id: guide.it.sgml,v 1.5 2003/04/26 23:26:13 doogie Exp $"
6965
6966#. type: <abstract></abstract>
6967#: offline.sgml:12
6968msgid ""
6969"This document describes how to use APT in a non-networked environment, "
6970"specifically a 'sneaker-net' approach for performing upgrades."
6971msgstr ""
6972
6973#. type: <copyrightsummary></copyrightsummary>
6974#: offline.sgml:16
6975#, fuzzy
6976msgid "Copyright &copy; Jason Gunthorpe, 1999."
6977msgstr "Copyright &copy; Jason Gunthorpe, 1998."
6978
6979#. type: <heading></heading>
6980#: offline.sgml:32
6981msgid "Introduction"
6982msgstr ""
6983
6984#. type: <heading></heading>
6985#: offline.sgml:34 offline.sgml:65 offline.sgml:180
6986msgid "Overview"
6987msgstr ""
6988
6989#. type: <p></p>
6990#: offline.sgml:40
6991msgid ""
6992"Normally APT requires direct access to a Debian archive, either from a local "
6993"media or through a network. Another common complaint is that a Debian "
6994"machine is on a slow link, such as a modem and another machine has a very "
6995"fast connection but they are physically distant."
6996msgstr ""
6997
6998#. type: <p></p>
6999#: offline.sgml:51
7000msgid ""
7001"The solution to this is to use large removable media such as a Zip disc or a "
7002"SuperDisk disc. These discs are not large enough to store the entire Debian "
7003"archive but can easily fit a subset large enough for most users. The idea is "
7004"to use APT to generate a list of packages that are required and then fetch "
7005"them onto the disc using another machine with good connectivity. It is even "
7006"possible to use another Debian machine with APT or to use a completely "
7007"different OS and a download tool like wget. Let <em>remote host</em> mean "
7008"the machine downloading the packages, and <em>target host</em> the one with "
7009"bad or no connection."
7010msgstr ""
7011
7012#. type: <p></p>
7013#: offline.sgml:57
7014msgid ""
7015"This is achieved by creatively manipulating the APT configuration file. The "
b39c1859 7016"essential premise to tell APT to look on a disc for it's archive files. Note "
071fa62e
DK
7017"that the disc should be formated with a filesystem that can handle long file "
7018"names such as ext2, fat32 or vfat."
7019msgstr ""
7020
7021#. type: <heading></heading>
7022#: offline.sgml:63
7023msgid "Using APT on both machines"
7024msgstr ""
7025
7026#. type: <p><example>
7027#: offline.sgml:71
7028msgid ""
7029"APT being available on both machines gives the simplest configuration. The "
7030"basic idea is to place a copy of the status file on the disc and use the "
7031"remote machine to fetch the latest package files and decide which packages "
7032"to download. The disk directory structure should look like:"
7033msgstr ""
7034
7035#. type: <example></example>
7036#: offline.sgml:80
7037#, no-wrap
7038msgid ""
7039" /disc/\n"
7040" archives/\n"
7041" partial/\n"
7042" lists/\n"
7043" partial/\n"
7044" status\n"
7045" sources.list\n"
7046" apt.conf"
7047msgstr ""
7048
7049#. type: <heading></heading>
7050#: offline.sgml:88
7051msgid "The configuration file"
7052msgstr ""
7053
7054#. type: <p></p>
7055#: offline.sgml:96
7056msgid ""
7057"The configuration file should tell APT to store its files on the disc and to "
7058"use the configuration files on the disc as well. The sources.list should "
7059"contain the proper sites that you wish to use from the remote machine, and "
7060"the status file should be a copy of <em>/var/lib/dpkg/status</em> from the "
7061"<em>target host</em>. Please note, if you are using a local archive you must "
7062"use copy URIs, the syntax is identical to file URIs."
7063msgstr ""
7064
7065#. type: <p><example>
7066#: offline.sgml:100
7067msgid ""
7068"<em>apt.conf</em> must contain the necessary information to make APT use the "
7069"disc:"
7070msgstr ""
7071
7072#. type: <example></example>
7073#: offline.sgml:124
7074#, no-wrap
7075msgid ""
7076" APT\n"
7077" {\n"
7078" /* This is not necessary if the two machines are the same arch, it tells\n"
7079" the remote APT what architecture the target machine is */\n"
7080" Architecture \"i386\";\n"
7081" \n"
7082" Get::Download-Only \"true\";\n"
7083" };\n"
7084" \n"
7085" Dir\n"
7086" {\n"
7087" /* Use the disc for state information and redirect the status file from\n"
7088" the /var/lib/dpkg default */\n"
7089" State \"/disc/\";\n"
7090" State::status \"status\";\n"
7091"\n"
7092" // Binary caches will be stored locally\n"
7093" Cache::archives \"/disc/archives/\";\n"
7094" Cache \"/tmp/\";\n"
7095" \n"
7096" // Location of the source list.\n"
7097" Etc \"/disc/\";\n"
7098" };"
7099msgstr ""
7100
7101#. type: </example></p>
7102#: offline.sgml:129
7103msgid ""
7104"More details can be seen by examining the apt.conf man page and the sample "
7105"configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>."
7106msgstr ""
7107
7108#. type: <p><example>
7109#: offline.sgml:136
7110msgid ""
7111"On the target machine the first thing to do is mount the disc and copy <em>/"
7112"var/lib/dpkg/status</em> to it. You will also need to create the directories "
7113"outlined in the Overview, <em>archives/partial/</em> and <em>lists/partial/</"
b39c1859
MV
7114"em>. Then take the disc to the remote machine and configure the sources."
7115"list. On the remote machine execute the following:"
071fa62e
DK
7116msgstr ""
7117
7118#. type: <example></example>
7119#: offline.sgml:142
7120#, no-wrap
7121msgid ""
7122" # export APT_CONFIG=\"/disc/apt.conf\"\n"
7123" # apt-get update\n"
7124" [ APT fetches the package files ]\n"
7125" # apt-get dist-upgrade\n"
7126" [ APT fetches all the packages needed to upgrade the target machine ]"
7127msgstr ""
7128
7129#. type: </example></p>
7130#: offline.sgml:149
7131msgid ""
b39c1859 7132"The dist-upgrade command can be replaced with any other standard APT "
071fa62e 7133"commands, particularly dselect-upgrade. You can even use an APT front end "
b39c1859 7134"such as <em>dselect</em>. However this presents a problem in communicating "
071fa62e
DK
7135"your selections back to the local computer."
7136msgstr ""
7137
7138#. type: <p><example>
7139#: offline.sgml:153
7140msgid ""
7141"Now the disc contains all of the index files and archives needed to upgrade "
7142"the target machine. Take the disc back and run:"
7143msgstr ""
7144
7145#. type: <example></example>
7146#: offline.sgml:159
7147#, no-wrap
7148msgid ""
7149" # export APT_CONFIG=\"/disc/apt.conf\"\n"
7150" # apt-get check\n"
7151" [ APT generates a local copy of the cache files ]\n"
7152" # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
7153" [ Or any other APT command ]"
7154msgstr ""
7155
7156#. type: <p></p>
7157#: offline.sgml:165
7158msgid ""
7159"It is necessary for proper function to re-specify the status file to be the "
7160"local one. This is very important!"
7161msgstr ""
7162
7163#. type: <p></p>
7164#: offline.sgml:172
7165msgid ""
7166"If you are using dselect you can do the very risky operation of copying disc/"
7167"status to /var/lib/dpkg/status so that any selections you made on the remote "
7168"machine are updated. I highly recommend that people only make selections on "
7169"the local machine - but this may not always be possible. DO NOT copy the "
7170"status file if dpkg or APT have been run in the mean time!!"
7171msgstr ""
7172
7173#. type: <heading></heading>
7174#: offline.sgml:178
7175msgid "Using APT and wget"
7176msgstr ""
7177
7178#. type: <p></p>
7179#: offline.sgml:185
7180msgid ""
7181"<em>wget</em> is a popular and portable download tool that can run on nearly "
7182"any machine. Unlike the method above this requires that the Debian machine "
7183"already has a list of available packages."
7184msgstr ""
7185
7186#. type: <p></p>
7187#: offline.sgml:190
7188msgid ""
7189"The basic idea is to create a disc that has only the archive files "
7190"downloaded from the remote site. This is done by using the --print-uris "
7191"option to apt-get and then preparing a wget script to actually fetch the "
7192"packages."
7193msgstr ""
7194
7195#. type: <heading></heading>
7196#: offline.sgml:196
7197msgid "Operation"
7198msgstr ""
7199
7200#. type: <p><example>
7201#: offline.sgml:200
7202msgid ""
7203"Unlike the previous technique no special configuration files are required. "
7204"We merely use the standard APT commands to generate the file list."
7205msgstr ""
7206
7207#. type: <example></example>
7208#: offline.sgml:205
7209#, no-wrap
7210msgid ""
7211" # apt-get dist-upgrade \n"
7212" [ Press no when prompted, make sure you are happy with the actions ]\n"
7213" # apt-get -qq --print-uris dist-upgrade > uris\n"
7214" # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
7215msgstr ""
7216
7217#. type: </example></p>
7218#: offline.sgml:210
7219msgid ""
7220"Any command other than dist-upgrade could be used here, including dselect-"
7221"upgrade."
7222msgstr ""
7223
7224#. type: <p></p>
7225#: offline.sgml:216
7226msgid ""
7227"The /disc/wget-script file will now contain a list of wget commands to "
7228"execute in order to fetch the necessary archives. This script should be run "
7229"with the current directory as the disc's mount point so as to save the "
7230"output on the disc."
7231msgstr ""
7232
7233#. type: <p><example>
7234#: offline.sgml:219
7235msgid "The remote machine would do something like"
7236msgstr ""
7237
7238#. type: <example></example>
7239#: offline.sgml:223
7240#, no-wrap
7241msgid ""
7242" # cd /disc\n"
7243" # sh -x ./wget-script\n"
7244" [ wait.. ]"
7245msgstr ""
7246
7247#. type: </example><example>
7248#: offline.sgml:228
7249msgid ""
7250"Once the archives are downloaded and the disc returned to the Debian machine "
7251"installation can proceed using,"
7252msgstr ""
7253
7254#. type: <example></example>
7255#: offline.sgml:230
7256#, no-wrap
7257msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
7258msgstr ""
7259
7260#. type: </example></p>
7261#: offline.sgml:234
7262msgid "Which will use the already fetched archives on the disc."
7263msgstr ""