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