]> git.saurik.com Git - apt.git/blame - doc/po/pt_BR.po
Accept --autoremove as alias for --auto-remove
[apt.git] / doc / po / pt_BR.po
CommitLineData
fec6996f
DK
1# Translation of apt package man pages
2# Copyright (C) YEAR André Luís Lopes <andrelop@debian.org>
3# This file is distributed under the same license as the apt package.
4#
5# Translators:
6# André Luís Lopes <andrelop@ig.com.br>
7#
fec6996f
DK
8msgid ""
9msgstr ""
26677b9c 10"Project-Id-Version: apt-doc 1.0.5\n"
f8b830ab 11"Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
43670e2e 12"POT-Creation-Date: 2016-08-17 23:47+0200\n"
fec6996f
DK
13"PO-Revision-Date: 2004-09-20 17:02+0000\n"
14"Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
15"Language-Team: <debian-l10n-portuguese@lists.debian.org>\n"
b526197a 16"Language: pt_BR\n"
fec6996f
DK
17"MIME-Version: 1.0\n"
18"Content-Type: text/plain; charset=UTF-8\n"
19"Content-Transfer-Encoding: 8bit\n"
20
fec6996f 21#. type: Plain text
04f27fae 22#: apt.ent
fec6996f
DK
23#, no-wrap
24msgid ""
25"<!ENTITY apt-author.team \"\n"
26" <author>\n"
27" <othername>APT team</othername>\n"
28" <contrib></contrib>\n"
29" </author>\n"
30"\">\n"
31msgstr ""
32
33#. type: Plain text
04f27fae 34#: apt.ent
fec6996f
DK
35#, no-wrap
36msgid ""
37"<!ENTITY apt-qapage \"\n"
38"\t<para>\n"
39"\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
40"\t</para>\n"
41"\">\n"
42msgstr ""
43
44#. type: Plain text
04f27fae 45#: apt.ent
fec6996f
DK
46#, fuzzy, no-wrap
47msgid ""
48"<!-- Boiler plate Bug reporting section -->\n"
49"<!ENTITY manbugs \"\n"
50" <refsect1><title>Bugs</title>\n"
0c1a7101 51" <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
fec6996f
DK
52" If you wish to report a bug in APT, please see\n"
53" <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
54" &reportbug; command.\n"
55" </para>\n"
56" </refsect1>\n"
57"\">\n"
58msgstr ""
59"\n"
60" <RefSect1><Title>Bugs</>\n"
61" <para>\n"
62" Consulte a <ulink url='http://bugs.debian.org/apt'>página de bugs do APT</>.\n"
63" Caso você queira relatar um bug no APT, por favor consulte o arquivo\n"
64" <filename>/usr/share/doc/debian/bug-reporting.txt</> ou o comando &reportbug;.\n"
65" </RefSect1>\n"
66
67#. type: Plain text
04f27fae 68#: apt.ent
fec6996f
DK
69#, fuzzy, no-wrap
70msgid ""
71"<!-- Boiler plate Author section -->\n"
72"<!ENTITY manauthor \"\n"
73" <refsect1><title>Author</title>\n"
74" <para>APT was written by the APT team <email>apt@packages.debian.org</email>.\n"
75" </para>\n"
76" </refsect1>\n"
77"\">\n"
78msgstr ""
79"\n"
80" <RefSect1><Title>Author</>\n"
81" <para>\n"
82" O APT foi escrito pela equipe APT <email>apt@packages.debian.org</>.\n"
83" </RefSect1>\n"
84
85#. type: Plain text
04f27fae 86#: apt.ent
fec6996f
DK
87#, no-wrap
88msgid ""
89"<!-- Should be used within the option section of the text to\n"
90" put in the blurb about -h, -v, -c and -o -->\n"
91"<!ENTITY apt-commonoptions \"\n"
92" <varlistentry><term><option>-h</option></term>\n"
93" <term><option>--help</option></term>\n"
94" <listitem><para>Show a short usage summary.\n"
95" </para>\n"
96" </listitem>\n"
97" </varlistentry>\n"
98msgstr ""
99
100#. type: Plain text
04f27fae 101#: apt.ent
fec6996f
DK
102#, no-wrap
103msgid ""
104" <varlistentry>\n"
105" <term><option>-v</option></term>\n"
106" <term><option>--version</option></term>\n"
107" <listitem><para>Show the program version.\n"
108" </para>\n"
109" </listitem>\n"
110" </varlistentry>\n"
111msgstr ""
112
113#. type: Plain text
04f27fae 114#: apt.ent
fec6996f
DK
115#, no-wrap
116msgid ""
117" <varlistentry>\n"
118" <term><option>-c</option></term>\n"
119" <term><option>--config-file</option></term>\n"
120" <listitem><para>Configuration File; Specify a configuration file to use. \n"
121" The program will read the default configuration file and then this \n"
b81dbe40
DK
122" configuration file. If configuration settings need to be set before the\n"
123" default configuration files are parsed specify a file with the <envar>APT_CONFIG</envar>\n"
124" environment variable. See &apt-conf; for syntax information.\n"
fec6996f
DK
125" </para>\n"
126" </listitem>\n"
127" </varlistentry>\n"
128msgstr ""
129
130#. type: Plain text
04f27fae 131#: apt.ent
fec6996f
DK
132#, no-wrap
133msgid ""
134" <varlistentry>\n"
135" <term><option>-o</option></term>\n"
136" <term><option>--option</option></term>\n"
137" <listitem><para>Set a Configuration Option; This will set an arbitrary\n"
138" configuration option. The syntax is <option>-o Foo::Bar=bar</option>.\n"
139" <option>-o</option> and <option>--option</option> can be used multiple\n"
140" times to set different options.\n"
141" </para>\n"
142" </listitem>\n"
143" </varlistentry>\n"
144"\">\n"
145msgstr ""
146
147#. type: Plain text
04f27fae 148#: apt.ent
fec6996f
DK
149#, fuzzy, no-wrap
150msgid ""
151"<!-- Should be used within the option section of the text to\n"
152" put in the blurb about -h, -v, -c and -o -->\n"
153"<!ENTITY apt-cmdblurb \"\n"
154" <para>All command line options may be set using the configuration file, the\n"
155" descriptions indicate the configuration option to set. For boolean\n"
156" options you can override the config file by using something like \n"
157" <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
158" or several other variations.\n"
159" </para>\n"
160"\">\n"
161msgstr ""
162"\n"
163" <para>\n"
164" Todas as opções de linha de comando podem ser definidas usando o\n"
165" arquivo de configuração, as descrições indicam a opção de configuração\n"
166" a ser definida. Para opções booleanas você pode sobrepor o arquivo de\n"
167" configuração usando algo como <option/-f-/,<option/--no-f/,\n"
168" <option/-f=no/ ou diversas outras variantes.\n"
169" </para>\n"
170
171#. type: Plain text
04f27fae 172#: apt.ent
fec6996f
DK
173#, no-wrap
174msgid ""
175"<!ENTITY file-aptconf \"\n"
176" <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
177" <listitem><para>APT configuration file.\n"
178" Configuration Item: <literal>Dir::Etc::Main</literal>.</para></listitem>\n"
179" </varlistentry>\n"
180msgstr ""
181
182#. type: Plain text
04f27fae 183#: apt.ent
fec6996f
DK
184#, no-wrap
185msgid ""
186" <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
187" <listitem><para>APT configuration file fragments.\n"
188" Configuration Item: <literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
189" </varlistentry>\n"
190"\">\n"
191msgstr ""
192
193#. type: Plain text
04f27fae 194#: apt.ent
fec6996f
DK
195#, no-wrap
196msgid ""
197"<!ENTITY file-cachearchives \"\n"
198" <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
199" <listitem><para>Storage area for retrieved package files.\n"
200" Configuration Item: <literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
201" </varlistentry>\n"
202msgstr ""
203
204#. type: Plain text
04f27fae 205#: apt.ent
fec6996f
DK
206#, no-wrap
207msgid ""
208" <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
209" <listitem><para>Storage area for package files in transit.\n"
187aa32e 210" Configuration Item: <literal>Dir::Cache::Archives</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>\n"
fec6996f
DK
211" </varlistentry>\n"
212"\">\n"
213msgstr ""
214
215#. type: Plain text
04f27fae 216#: apt.ent
fec6996f
DK
217#, no-wrap
218msgid ""
219"<!ENTITY file-preferences \"\n"
220" <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
221" <listitem><para>Version preferences file.\n"
222" This is where you would specify &quot;pinning&quot;,\n"
223" i.e. a preference to get certain packages\n"
224" from a separate source\n"
225" or from a different version of a distribution.\n"
226" Configuration Item: <literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
227" </varlistentry>\n"
228msgstr ""
229
230#. type: Plain text
04f27fae 231#: apt.ent
fec6996f
DK
232#, no-wrap
233msgid ""
234" <varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
235" <listitem><para>File fragments for the version preferences.\n"
236" Configuration Item: <literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
237" </varlistentry>\n"
238"\">\n"
239msgstr ""
240
241#. type: Plain text
04f27fae 242#: apt.ent
fec6996f
DK
243#, no-wrap
244msgid ""
245"<!ENTITY file-sourceslist \"\n"
246" <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
247" <listitem><para>Locations to fetch packages from.\n"
248" Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
249" </varlistentry>\n"
250msgstr ""
251
252#. type: Plain text
04f27fae 253#: apt.ent
fec6996f
DK
254#, no-wrap
255msgid ""
256" <varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
257" <listitem><para>File fragments for locations to fetch packages from.\n"
258" Configuration Item: <literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
259" </varlistentry>\n"
260"\">\n"
261msgstr ""
262
263#. type: Plain text
04f27fae 264#: apt.ent
fec6996f
DK
265#, no-wrap
266msgid ""
267"<!ENTITY file-statelists \"\n"
268" <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
269" <listitem><para>Storage area for state information for each package resource specified in\n"
270" &sources-list;\n"
271" Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem>\n"
272" </varlistentry>\n"
273msgstr ""
274
275#. type: Plain text
04f27fae 276#: apt.ent
fec6996f
DK
277#, no-wrap
278msgid ""
279" <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
280" <listitem><para>Storage area for state information in transit.\n"
187aa32e 281" Configuration Item: <literal>Dir::State::Lists</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>\n"
fec6996f
DK
282" </varlistentry>\n"
283"\">\n"
284msgstr ""
285
b39c1859 286#. type: Plain text
04f27fae 287#: apt.ent
b39c1859
MV
288#, no-wrap
289msgid ""
290"<!ENTITY file-trustedgpg \"\n"
291" <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
292" <listitem><para>Keyring of local trusted keys, new keys will be added here.\n"
293" Configuration Item: <literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
294" </varlistentry>\n"
295msgstr ""
296
297#. type: Plain text
04f27fae 298#: apt.ent
b39c1859
MV
299#, no-wrap
300msgid ""
301" <varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
302" <listitem><para>File fragments for the trusted keys, additional keyrings can\n"
303" be stored here (by other packages or the administrator).\n"
304" Configuration Item <literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
305" </varlistentry>\n"
306"\">\n"
307msgstr ""
308
309#. type: Plain text
04f27fae 310#: apt.ent
b6c6b52f
MV
311#, no-wrap
312msgid ""
313"<!ENTITY file-extended_states \"\n"
314" <varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
315" <listitem><para>Status list of auto-installed packages.\n"
316" Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
317" </para></listitem>\n"
318" </varlistentry>\n"
319"\">\n"
320msgstr ""
321
322#. type: Plain text
04f27fae 323#: apt.ent
d8b3cbb6
DK
324#, no-wrap
325msgid ""
326"<!-- TRANSLATOR: This is the section header for the following paragraphs - comparable\n"
327" to the other headers like NAME and DESCRIPTION and should therefore be uppercase. -->\n"
328"<!ENTITY translation-title \"TRANSLATION\">\n"
329msgstr "<!ENTITY translation-title \"TRADUÇÃO\">\n"
b39c1859
MV
330
331#. type: Plain text
04f27fae 332#: apt.ent
d8b3cbb6 333#, no-wrap
b39c1859 334msgid ""
d8b3cbb6 335"<!-- TRANSLATOR: This is a placeholder. You should write here who has contributed\n"
b39c1859
MV
336" to the translation in the past, who is responsible now and maybe further information\n"
337" specially related to your translation. -->\n"
338"<!ENTITY translation-holder \"\n"
339" The english translation was done by John Doe <email>john@doe.org</email> in 2009,\n"
340" 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together with the\n"
341" Debian Dummy l10n Team <email>debian-l10n-dummy@lists.debian.org</email>.\n"
342"\">\n"
343msgstr ""
344"<!ENTITY translation-holder \"\n"
345" Esta página de manual foi traduzida para o Português do Brasil por\n"
346" André Luís Lopes <email>andrelop@ig.com.br</email>.\n"
347"\">\n"
348
349#. type: Plain text
04f27fae 350#: apt.ent
b39c1859
MV
351#, no-wrap
352msgid ""
353"<!-- TRANSLATOR: As a translation is allowed to have 20% of untranslated/fuzzy strings\n"
d8b3cbb6
DK
354" in a shipped manpage newer/modified paragraphs will maybe appear in english in\n"
355" the generated manpage. This sentence is therefore here to tell the reader that this\n"
356" is not a mistake by the translator - obviously the target is that at least for stable\n"
357" releases this sentence is not needed. :) -->\n"
b39c1859
MV
358"<!ENTITY translation-english \"\n"
359" Note that this translated document may contain untranslated parts.\n"
360" This is done on purpose, to avoid losing content when the\n"
361" translation is lagging behind the original content.\n"
362"\">\n"
363msgstr ""
364
c77d6597 365#. type: Plain text
04f27fae 366#: apt.ent
c77d6597
MV
367msgid ""
368"<!-- TRANSLATOR: used as in -o=config_string e.g. -o=Debug::"
369"pkgProblemResolver=1 --> <!ENTITY synopsis-config-string \"config_string\">"
370msgstr ""
371
372#. type: Plain text
04f27fae 373#: apt.ent
c77d6597
MV
374msgid ""
375"<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
376"synopsis-config-file \"config_file\">"
377msgstr ""
378
379#. type: Plain text
04f27fae 380#: apt.ent
c77d6597
MV
381msgid ""
382"<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release e.g. -"
383"t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
384"\"target_release\">"
385msgstr ""
386
387#. type: Plain text
04f27fae 388#: apt.ent
c77d6597
MV
389msgid ""
390"<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
391"synopsis-architecture \"architecture\">"
392msgstr ""
393
394#. type: Plain text
04f27fae 395#: apt.ent
c77d6597
MV
396msgid ""
397"<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
398"--> <!ENTITY synopsis-pkg \"pkg\">"
399msgstr ""
400
401#. type: Plain text
04f27fae 402#: apt.ent
c77d6597
MV
403msgid ""
404"<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> <!"
405"ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
406msgstr ""
407
408#. type: Plain text
04f27fae 409#: apt.ent
c77d6597
MV
410msgid ""
411"<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
412"pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
413msgstr ""
414
415#. type: Plain text
04f27fae 416#: apt.ent
c77d6597
MV
417msgid ""
418"<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
419"awesome --> <!ENTITY synopsis-regex \"regex\">"
420msgstr ""
421
422#. type: Plain text
04f27fae 423#: apt.ent
c77d6597
MV
424msgid ""
425"<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom -"
426"d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
427msgstr ""
428
429#. type: Plain text
04f27fae 430#: apt.ent
c77d6597
MV
431msgid ""
432"<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory e.g. "
433"apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
434"\"temporary_directory\">"
435msgstr ""
436
437#. type: Plain text
04f27fae 438#: apt.ent
c77d6597
MV
439msgid ""
440"<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
441"synopsis-filename \"filename\">"
442msgstr ""
443
c086ac18 444#. type: Plain text
04f27fae 445#: apt.ent
c086ac18
DK
446msgid ""
447"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
448"packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
449msgstr ""
450
c77d6597 451#. type: Plain text
04f27fae 452#: apt.ent
c77d6597 453msgid ""
c086ac18
DK
454"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
455"packages path override-file pathprefix --> <!ENTITY synopsis-override "
456"\"override-file\">"
c77d6597
MV
457msgstr ""
458
459#. type: Plain text
04f27fae 460#: apt.ent
c77d6597 461msgid ""
c086ac18
DK
462"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
463"packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
464"\"pathprefix\">"
465msgstr ""
466
467#. type: Plain text
04f27fae 468#: apt.ent
c086ac18
DK
469msgid ""
470"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
471"generate section --> <!ENTITY synopsis-section \"section\">"
472msgstr ""
473
474#. type: Plain text
04f27fae 475#: apt.ent
c086ac18 476msgid ""
c77d6597
MV
477"<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
478"473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
479msgstr ""
480
fec6996f 481#. type: Content of: <refentry><refmeta><manvolnum>
04f27fae
MV
482#: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml
483#: apt-secure.8.xml apt-cdrom.8.xml apt-config.8.xml
fec6996f
DK
484msgid "8"
485msgstr ""
486
487#. type: Content of: <refentry><refmeta><refmiscinfo>
04f27fae
MV
488#: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml
489#: apt-secure.8.xml apt-cdrom.8.xml apt-config.8.xml apt.conf.5.xml
490#: apt_preferences.5.xml sources.list.5.xml apt-extracttemplates.1.xml
491#: apt-sortpkgs.1.xml apt-ftparchive.1.xml
fec6996f
DK
492msgid "APT"
493msgstr ""
494
495#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 496#: apt.8.xml
93ae7f7f 497msgid "command-line interface"
fec6996f
DK
498msgstr ""
499
fec6996f 500#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
501#: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml
502#: apt-secure.8.xml apt-cdrom.8.xml apt-config.8.xml apt.conf.5.xml
503#: apt_preferences.5.xml sources.list.5.xml apt-extracttemplates.1.xml
504#: apt-sortpkgs.1.xml apt-ftparchive.1.xml
fec6996f
DK
505#, fuzzy
506msgid "Description"
507msgstr "Descrição"
508
93ae7f7f 509#. type: Content of: <refentry><refsect1><para>
04f27fae 510#: apt.8.xml
93ae7f7f 511msgid ""
cbbee23e
DK
512"<command>apt</command> provides a high-level commandline interface for the "
513"package management system. It is intended as an end user interface and "
514"enables some options better suited for interactive usage by default compared "
515"to more specialized APT tools like &apt-get; and &apt-cache;."
93ae7f7f
MV
516msgstr ""
517
cbbee23e 518#. type: Content of: <refentry><refsect1><para>
04f27fae 519#: apt.8.xml
93ae7f7f 520msgid ""
cbbee23e
DK
521"Much like <command>apt</command> itself, its manpage is intended as an end "
522"user interface and as such only mentions the most used commands and options "
523"partly to not duplicate information in multiple places and partly to avoid "
89497574 524"overwhelming readers with a cornucopia of options and details."
93ae7f7f
MV
525msgstr ""
526
cbbee23e 527#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 528#: apt.8.xml
cbbee23e 529msgid "(&apt-get;)"
93ae7f7f
MV
530msgstr ""
531
532#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 533#: apt.8.xml
93ae7f7f 534msgid ""
cbbee23e
DK
535"<option>update</option> is used to download package information from all "
536"configured sources. Other commands operate on this data to e.g. perform "
537"package upgrades or search in and display details about all packages "
538"available for installation."
93ae7f7f
MV
539msgstr ""
540
541#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 542#: apt.8.xml
93ae7f7f 543msgid ""
cbbee23e
DK
544"<option>upgrade</option> is used to install available upgrades of all "
545"packages currently installed on the system from the sources configured via "
546"&sources-list;. New packages will be installed if required to statisfy "
547"dependencies, but existing packages will never be removed. If an upgrade for "
548"a package requires the remove of an installed package the upgrade for this "
549"package isn't performed."
93ae7f7f
MV
550msgstr ""
551
552#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
cbbee23e 553#: apt.8.xml
93ae7f7f 554msgid ""
cbbee23e
DK
555"<literal>full-upgrade</literal> performs the function of upgrade but will "
556"remove currently installed packages if this is needed to upgrade the system "
557"as a whole."
93ae7f7f
MV
558msgstr ""
559
864fe99c 560#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4bdf29d3 561#: apt.8.xml apt-key.8.xml
cbbee23e 562msgid ","
864fe99c
MV
563msgstr ""
564
565#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
cbbee23e 566#: apt.8.xml
864fe99c 567msgid ""
cbbee23e 568"Performs the requested action on one or more packages specified via &regex;, "
051029f8 569"&glob; or exact match. The requested action can be overridden for specific "
cbbee23e
DK
570"packages by append a plus (+) to the package name to install this package or "
571"a minus (-) to remove it."
864fe99c
MV
572msgstr ""
573
93ae7f7f 574#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 575#: apt.8.xml
93ae7f7f 576msgid ""
cbbee23e
DK
577"A specific version of a package can be selected for installation by "
578"following the package name with an equals (=) and the version of the package "
579"to select. Alternatively the version from a specific release can be selected "
9feb98eb
DK
580"by following the package name with a forward slash (/) and codename (&debian-"
581"stable-codename;, &debian-testing-codename;, sid …) or suite name (stable, "
582"testing, unstable). This will also select versions from this release for "
583"dependencies of this package if needed to satisfy the request."
93ae7f7f
MV
584msgstr ""
585
586#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 587#: apt.8.xml
93ae7f7f 588msgid ""
cbbee23e
DK
589"Removing a package removes all packaged data, but leaves usually small "
590"(modified) user configuration files behind, in case the remove was an "
051029f8
DK
591"accident. Just issuing an installation request for the accidentally removed "
592"package will restore its function as before in that case. On the other hand "
593"you can get rid of these leftovers by calling <command>purge</command> even "
594"on already removed packages. Note that this does not affect any data or "
595"configuration stored in your home directory."
93ae7f7f
MV
596msgstr ""
597
598#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 599#: apt.8.xml
93ae7f7f 600msgid ""
cbbee23e
DK
601"<literal>autoremove</literal> is used to remove packages that were "
602"automatically installed to satisfy dependencies for other packages and are "
603"now no longer needed as dependencies changed or the package(s) needing them "
604"were removed in the meantime."
93ae7f7f
MV
605msgstr ""
606
607#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 608#: apt.8.xml
93ae7f7f 609msgid ""
051029f8
DK
610"You should check that the list does not include applications you have grown "
611"to like even though they were once installed just as a dependency of another "
cbbee23e
DK
612"package. You can mark such a package as manually installed by using &apt-"
613"mark;. Packages which you have installed explicitly via <command>install</"
051029f8 614"command> are also never proposed for automatic removal."
93ae7f7f
MV
615msgstr ""
616
cbbee23e
DK
617#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
618#: apt.8.xml
619#, fuzzy
620msgid "(&apt-cache;)"
93ae7f7f 621msgstr ""
cbbee23e
DK
622"&apt-docinfo;\n"
623"\n"
624" "
93ae7f7f 625
cbbee23e 626#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 627#: apt.8.xml
cbbee23e
DK
628msgid ""
629"<option>search</option> can be used to search for the given &regex; term(s) "
051029f8 630"in the list of available packages and display matches. This can e.g. be "
cbbee23e
DK
631"useful if you are looking for packages having a specific feature. If you "
632"are looking for a package including a specific file try &apt-file;."
93ae7f7f
MV
633msgstr ""
634
cbbee23e 635#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 636#: apt.8.xml
93ae7f7f 637msgid ""
cbbee23e
DK
638"Show information about the given package(s) including its dependencies, "
639"installation and download size, sources the package is available from, the "
051029f8 640"description of the packages content and much more. It can e.g. be helpful to "
cbbee23e
DK
641"look at this information before allowing &apt; to remove a package or while "
642"searching for new packages to install."
93ae7f7f
MV
643msgstr ""
644
cbbee23e 645#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 646#: apt.8.xml
cbbee23e 647msgid "(work-in-progress)"
93ae7f7f
MV
648msgstr ""
649
cbbee23e 650#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 651#: apt.8.xml
93ae7f7f 652msgid ""
cbbee23e
DK
653"<option>list</option> is somewhat similar to <command>dpkg-query --list</"
654"command> in that it can display a list of packages satisfying certain "
655"criteria. It supports &glob; patterns for matching package names as well as "
656"options to list installed (<option>--installed</option>), upgradeable "
657"(<option>--upgradeable</option>) or all available (<option>--all-versions</"
658"option>) versions."
93ae7f7f
MV
659msgstr ""
660
cbbee23e 661#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 662#: apt.8.xml
cbbee23e
DK
663msgid ""
664"<literal>edit-sources</literal> lets you edit your &sources-list; files in "
665"your preferred texteditor while also providing basic sanity checks."
666msgstr ""
93ae7f7f 667
cbbee23e 668#. type: Content of: <refentry><refsect1><title>
04f27fae 669#: apt.8.xml
051029f8 670msgid "Script Usage and Differences from Other APT Tools"
cbbee23e 671msgstr ""
93ae7f7f 672
cbbee23e 673#. type: Content of: <refentry><refsect1><para>
04f27fae 674#: apt.8.xml
93ae7f7f 675msgid ""
051029f8
DK
676"The &apt; commandline is designed as an end-user tool and it may change "
677"behavior between versions. While it tries not to break backward "
678"compatibility this is not guaranteed either if a change seems beneficial for "
cbbee23e 679"interactive use."
93ae7f7f
MV
680msgstr ""
681
cbbee23e 682#. type: Content of: <refentry><refsect1><para>
04f27fae 683#: apt.8.xml
93ae7f7f 684msgid ""
cbbee23e
DK
685"All features of &apt; are available in dedicated APT tools like &apt-get; "
686"and &apt-cache; as well. &apt; just changes the default value of some "
051029f8
DK
687"options (see &apt-conf; and specifically the Binary scope). So you should "
688"prefer using these commands (potentially with some additional options "
689"enabled) in your scripts as they keep backward compatibility as much as "
690"possible."
cbbee23e 691msgstr ""
93ae7f7f
MV
692
693#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
694#: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml
695#: apt-secure.8.xml apt-cdrom.8.xml apt-config.8.xml apt.conf.5.xml
696#: apt_preferences.5.xml sources.list.5.xml apt-extracttemplates.1.xml
697#: apt-sortpkgs.1.xml apt-ftparchive.1.xml
93ae7f7f
MV
698#, fuzzy
699msgid "See Also"
700msgstr "Consulte também"
701
702#. type: Content of: <refentry><refsect1><para>
04f27fae 703#: apt.8.xml
93ae7f7f 704msgid ""
6dbf3380 705"&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT "
93ae7f7f
MV
706"User's guide in &guidesdir;, &apt-preferences;, the APT Howto."
707msgstr ""
708
709#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
710#: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-mark.8.xml apt-cdrom.8.xml
711#: apt-config.8.xml apt-extracttemplates.1.xml apt-sortpkgs.1.xml
712#: apt-ftparchive.1.xml
93ae7f7f
MV
713msgid "Diagnostics"
714msgstr ""
715
716#. type: Content of: <refentry><refsect1><para>
04f27fae 717#: apt.8.xml
93ae7f7f
MV
718msgid ""
719"<command>apt</command> returns zero on normal operation, decimal 100 on "
720"error."
721msgstr ""
722
723#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 724#: apt-get.8.xml
93ae7f7f
MV
725msgid "APT package handling utility -- command-line interface"
726msgstr ""
727
fec6996f 728#. type: Content of: <refentry><refsect1><para>
04f27fae 729#: apt-get.8.xml
fec6996f 730msgid ""
7d76ea1d
DK
731"<command>apt-get</command> is the command-line tool for handling packages, "
732"and may be considered the user's \"back-end\" to other tools using the APT "
1c937475
MV
733"library. Several \"front-end\" interfaces exist, such as &aptitude;, "
734"&synaptic; and &wajig;."
fec6996f
DK
735msgstr ""
736
737#. type: Content of: <refentry><refsect1><para>
04f27fae
MV
738#: apt-get.8.xml apt-cache.8.xml apt-cdrom.8.xml apt-config.8.xml
739#: apt-ftparchive.1.xml
fec6996f
DK
740msgid ""
741"Unless the <option>-h</option>, or <option>--help</option> option is given, "
742"one of the commands below must be present."
743msgstr ""
744
fec6996f 745#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 746#: apt-get.8.xml
fec6996f 747msgid ""
7d76ea1d
DK
748"<literal>update</literal> is used to resynchronize the package index files "
749"from their sources. The indexes of available packages are fetched from the "
750"location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
751"example, when using a Debian archive, this command retrieves and scans the "
752"<filename>Packages.gz</filename> files, so that information about new and "
753"updated packages is available. An <literal>update</literal> should always be "
754"performed before an <literal>upgrade</literal> or <literal>dist-upgrade</"
755"literal>. Please be aware that the overall progress meter will be incorrect "
756"as the size of the package files cannot be known in advance."
fec6996f
DK
757msgstr ""
758
7d76ea1d 759#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 760#: apt-get.8.xml
7d76ea1d
DK
761msgid ""
762"<literal>upgrade</literal> is used to install the newest versions of all "
763"packages currently installed on the system from the sources enumerated in "
764"<filename>/etc/apt/sources.list</filename>. Packages currently installed "
765"with new versions available are retrieved and upgraded; under no "
766"circumstances are currently installed packages removed, or packages not "
767"already installed retrieved and installed. New versions of currently "
768"installed packages that cannot be upgraded without changing the install "
769"status of another package will be left at their current version. An "
770"<literal>update</literal> must be performed first so that <command>apt-get</"
771"command> knows that new versions of packages are available."
fec6996f
DK
772msgstr ""
773
774#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 775#: apt-get.8.xml
fec6996f 776msgid ""
7d76ea1d
DK
777"<literal>dist-upgrade</literal> in addition to performing the function of "
778"<literal>upgrade</literal>, also intelligently handles changing dependencies "
779"with new versions of packages; <command>apt-get</command> has a \"smart\" "
780"conflict resolution system, and it will attempt to upgrade the most "
781"important packages at the expense of less important ones if necessary. The "
782"<literal>dist-upgrade</literal> command may therefore remove some packages. "
783"The <filename>/etc/apt/sources.list</filename> file contains a list of "
784"locations from which to retrieve desired package files. See also &apt-"
785"preferences; for a mechanism for overriding the general settings for "
786"individual packages."
fec6996f
DK
787msgstr ""
788
7d76ea1d 789#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 790#: apt-get.8.xml
fec6996f 791msgid ""
7d76ea1d
DK
792"<literal>dselect-upgrade</literal> is used in conjunction with the "
793"traditional Debian packaging front-end, &dselect;. <literal>dselect-upgrade</"
794"literal> follows the changes made by &dselect; to the <literal>Status</"
795"literal> field of available packages, and performs the actions necessary to "
796"realize that state (for instance, the removal of old and the installation of "
797"new packages)."
fec6996f
DK
798msgstr ""
799
800#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 801#: apt-get.8.xml
fec6996f 802msgid ""
7d76ea1d
DK
803"<literal>install</literal> is followed by one or more packages desired for "
804"installation or upgrading. Each package is a package name, not a fully "
805"qualified filename (for instance, in a Debian system, <package>apt-utils</"
806"package> would be the argument provided, not <filename>apt-utils_&apt-"
8c39c4b6
MV
807"product-version;_amd64.deb</filename>). All packages required by the "
808"package(s) specified for installation will also be retrieved and installed. "
809"The <filename>/etc/apt/sources.list</filename> file is used to locate the "
7d76ea1d
DK
810"desired packages. If a hyphen is appended to the package name (with no "
811"intervening space), the identified package will be removed if it is "
812"installed. Similarly a plus sign can be used to designate a package to "
813"install. These latter features may be used to override decisions made by apt-"
814"get's conflict resolution system."
fec6996f
DK
815msgstr ""
816
cbbee23e
DK
817#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
818#: apt-get.8.xml
819msgid ""
820"A specific version of a package can be selected for installation by "
821"following the package name with an equals and the version of the package to "
822"select. This will cause that version to be located and selected for install. "
823"Alternatively a specific distribution can be selected by following the "
824"package name with a slash and the version of the distribution or the Archive "
825"name (stable, testing, unstable)."
826msgstr ""
827
7d76ea1d 828#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 829#: apt-get.8.xml
fec6996f 830msgid ""
7d76ea1d
DK
831"Both of the version selection mechanisms can downgrade packages and must be "
832"used with care."
fec6996f
DK
833msgstr ""
834
7d76ea1d 835#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 836#: apt-get.8.xml
fec6996f 837msgid ""
7d76ea1d
DK
838"This is also the target to use if you want to upgrade one or more already-"
839"installed packages without upgrading every package you have on your system. "
840"Unlike the \"upgrade\" target, which installs the newest version of all "
841"currently installed packages, \"install\" will install the newest version of "
842"only the package(s) specified. Simply provide the name of the package(s) "
843"you wish to upgrade, and if a newer version is available, it (and its "
844"dependencies, as described above) will be downloaded and installed."
fec6996f
DK
845msgstr ""
846
7d76ea1d 847#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 848#: apt-get.8.xml
fec6996f 849msgid ""
7d76ea1d
DK
850"Finally, the &apt-preferences; mechanism allows you to create an alternative "
851"installation policy for individual packages."
fec6996f
DK
852msgstr ""
853
7d76ea1d 854#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 855#: apt-get.8.xml
fec6996f 856msgid ""
7d76ea1d
DK
857"If no package matches the given expression and the expression contains one "
858"of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
859"it is applied to all package names in the database. Any matches are then "
860"installed (or removed). Note that matching is done by substring so 'lo.*' "
861"matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
862"expression with a '^' or '$' character, or create a more specific regular "
863"expression."
fec6996f
DK
864msgstr ""
865
cbbee23e
DK
866#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
867#: apt-get.8.xml
868msgid ""
869"<literal>remove</literal> is identical to <literal>install</literal> except "
870"that packages are removed instead of installed. Note that removing a package "
871"leaves its configuration files on the system. If a plus sign is appended to "
872"the package name (with no intervening space), the identified package will be "
873"installed instead of removed."
874msgstr ""
875
7d76ea1d 876#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 877#: apt-get.8.xml
fec6996f 878msgid ""
7d76ea1d
DK
879"<literal>purge</literal> is identical to <literal>remove</literal> except "
880"that packages are removed and purged (any configuration files are deleted "
881"too)."
fec6996f
DK
882msgstr ""
883
7d76ea1d 884#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 885#: apt-get.8.xml
fec6996f 886msgid ""
7d76ea1d
DK
887"<literal>source</literal> causes <command>apt-get</command> to fetch source "
888"packages. APT will examine the available packages to decide which source "
889"package to fetch. It will then find and download into the current directory "
890"the newest available version of that source package while respecting the "
891"default release, set with the option <literal>APT::Default-Release</"
892"literal>, the <option>-t</option> option or per package with the "
893"<literal>pkg/release</literal> syntax, if possible."
fec6996f
DK
894msgstr ""
895
7d76ea1d 896#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 897#: apt-get.8.xml
fec6996f 898msgid ""
7d76ea1d
DK
899"Source packages are tracked separately from binary packages via <literal>deb-"
900"src</literal> lines in the &sources-list; file. This means that you will "
901"need to add such a line for each repository you want to get sources from; "
902"otherwise you will probably get either the wrong (too old/too new) source "
903"versions or none at all."
fec6996f
DK
904msgstr ""
905
fec6996f 906#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 907#: apt-get.8.xml
fec6996f 908msgid ""
7d76ea1d
DK
909"If the <option>--compile</option> option is specified then the package will "
910"be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
911"the architecture as defined by the <command>--host-architecture</command> "
912"option. If <option>--download-only</option> is specified then the source "
913"package will not be unpacked."
fec6996f
DK
914msgstr ""
915
fec6996f 916#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 917#: apt-get.8.xml
fec6996f 918msgid ""
7d76ea1d
DK
919"A specific source version can be retrieved by postfixing the source name "
920"with an equals and then the version to fetch, similar to the mechanism used "
921"for the package files. This enables exact matching of the source package "
922"name and version, implicitly enabling the <literal>APT::Get::Only-Source</"
923"literal> option."
fec6996f
DK
924msgstr ""
925
fec6996f 926#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 927#: apt-get.8.xml
fec6996f 928msgid ""
7d76ea1d
DK
929"Note that source packages are not installed and tracked in the "
930"<command>dpkg</command> database like binary packages; they are simply "
931"downloaded to the current directory, like source tarballs."
fec6996f
DK
932msgstr ""
933
fec6996f 934#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 935#: apt-get.8.xml
fec6996f 936msgid ""
7d76ea1d
DK
937"<literal>build-dep</literal> causes apt-get to install/remove packages in an "
938"attempt to satisfy the build dependencies for a source package. By default "
939"the dependencies are satisfied to build the package natively. If desired a "
940"host-architecture can be specified with the <option>--host-architecture</"
941"option> option instead."
fec6996f
DK
942msgstr ""
943
fec6996f 944#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 945#: apt-get.8.xml
fec6996f 946msgid ""
7d76ea1d
DK
947"<literal>check</literal> is a diagnostic tool; it updates the package cache "
948"and checks for broken dependencies."
fec6996f
DK
949msgstr ""
950
7d76ea1d 951#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 952#: apt-get.8.xml
7d76ea1d
DK
953msgid ""
954"<literal>download</literal> will download the given binary package into the "
955"current directory."
fec6996f
DK
956msgstr ""
957
958#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 959#: apt-get.8.xml
fec6996f 960msgid ""
7d76ea1d
DK
961"<literal>clean</literal> clears out the local repository of retrieved "
962"package files. It removes everything but the lock file from "
963"<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/archives/"
1c937475 964"partial/</filename>."
fec6996f
DK
965msgstr ""
966
cbbee23e
DK
967#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
968#: apt-get.8.xml
969msgid "(and the"
970msgstr ""
971
972#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
973#: apt-get.8.xml
974msgid "alias since 1.1)"
975msgstr ""
976
fec6996f 977#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 978#: apt-get.8.xml
fec6996f 979msgid ""
7d76ea1d
DK
980"Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
981"local repository of retrieved package files. The difference is that it only "
982"removes package files that can no longer be downloaded, and are largely "
983"useless. This allows a cache to be maintained over a long period without it "
984"growing out of control. The configuration option <literal>APT::Clean-"
985"Installed</literal> will prevent installed packages from being erased if it "
986"is set to off."
fec6996f
DK
987msgstr ""
988
cbbee23e
DK
989#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
990#: apt-get.8.xml
991msgid ""
992"<literal>autoremove</literal> is used to remove packages that were "
993"automatically installed to satisfy dependencies for other packages and are "
994"now no longer needed."
995msgstr ""
996
fec6996f 997#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 998#: apt-get.8.xml
fec6996f 999msgid ""
864fe99c
MV
1000"<literal>changelog</literal> tries to download the changelog of a package "
1001"and displays it through <command>sensible-pager</command>. By default it "
1002"displays the changelog for the version that is installed. However, you can "
1003"specify the same options as for the <option>install</option> command."
fec6996f
DK
1004msgstr ""
1005
fec6996f 1006#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1007#: apt-get.8.xml
fec6996f 1008msgid ""
864fe99c
MV
1009"Displays by default a deb822 formatted listing of information about all data "
1010"files (aka index targets) <command>apt-get update</command> would download. "
1011"Supports a <option>--format</option> option to modify the output format as "
1012"well as accepts lines of the default output to filter the records by. The "
1013"command is mainly used as an interface for external tools working with APT "
1014"to get information as well as filenames for downloaded files so they can use "
1015"them as well instead of downloading them again on their own. Detailed "
5b057748
JAK
1016"documentation is omitted here and can instead be found in the file &apt-"
1017"acquire-additional-files; shipped by the <package>apt-doc</package> package."
fec6996f
DK
1018msgstr ""
1019
cbbee23e
DK
1020#. type: Content of: <refentry><refsect1><title>
1021#: apt-get.8.xml apt-cache.8.xml apt-config.8.xml apt-extracttemplates.1.xml
1022#: apt-sortpkgs.1.xml apt-ftparchive.1.xml
1023msgid "options"
1024msgstr ""
1025
fec6996f 1026#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1027#: apt-get.8.xml
fec6996f 1028msgid ""
7d76ea1d
DK
1029"Do not consider recommended packages as a dependency for installing. "
1030"Configuration Item: <literal>APT::Install-Recommends</literal>."
fec6996f
DK
1031msgstr ""
1032
1033#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1034#: apt-get.8.xml
fec6996f 1035msgid ""
7d76ea1d
DK
1036"Consider suggested packages as a dependency for installing. Configuration "
1037"Item: <literal>APT::Install-Suggests</literal>."
fec6996f
DK
1038msgstr ""
1039
fec6996f 1040#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1041#: apt-get.8.xml
fec6996f 1042msgid ""
7d76ea1d
DK
1043"Download only; package files are only retrieved, not unpacked or installed. "
1044"Configuration Item: <literal>APT::Get::Download-Only</literal>."
fec6996f
DK
1045msgstr ""
1046
1047#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1048#: apt-get.8.xml
fec6996f 1049msgid ""
7d76ea1d
DK
1050"Fix; attempt to correct a system with broken dependencies in place. This "
1051"option, when used with install/remove, can omit any packages to permit APT "
1052"to deduce a likely solution. If packages are specified, these have to "
1053"completely correct the problem. The option is sometimes necessary when "
1054"running APT for the first time; APT itself does not allow broken package "
1055"dependencies to exist on a system. It is possible that a system's dependency "
1056"structure can be so corrupt as to require manual intervention (which usually "
1c937475
MV
1057"means using <command>dpkg --remove</command> to eliminate some of the "
1058"offending packages). Use of this option together with <option>-m</option> "
1059"may produce an error in some situations. Configuration Item: <literal>APT::"
1060"Get::Fix-Broken</literal>."
fec6996f
DK
1061msgstr ""
1062
1063#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1064#: apt-get.8.xml
7d76ea1d
DK
1065msgid ""
1066"Ignore missing packages; if packages cannot be retrieved or fail the "
1067"integrity check after retrieval (corrupted package files), hold back those "
1068"packages and handle the result. Use of this option together with <option>-f</"
1069"option> may produce an error in some situations. If a package is selected "
1070"for installation (particularly if it is mentioned on the command line) and "
1071"it could not be downloaded then it will be silently held back. "
1072"Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
fec6996f
DK
1073msgstr ""
1074
fec6996f 1075#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1076#: apt-get.8.xml
fec6996f 1077msgid ""
7d76ea1d
DK
1078"Disables downloading of packages. This is best used with <option>--ignore-"
1079"missing</option> to force APT to use only the .debs it has already "
1080"downloaded. Configuration Item: <literal>APT::Get::Download</literal>."
fec6996f
DK
1081msgstr ""
1082
1083#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1084#: apt-get.8.xml
fec6996f 1085msgid ""
7d76ea1d
DK
1086"Quiet; produces output suitable for logging, omitting progress indicators. "
1087"More q's will produce more quiet up to a maximum of 2. You can also use "
1088"<option>-q=#</option> to set the quiet level, overriding the configuration "
1089"file. Note that quiet level 2 implies <option>-y</option>; you should never "
1090"use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
1091"may decide to do something you did not expect. Configuration Item: "
1092"<literal>quiet</literal>."
fec6996f
DK
1093msgstr ""
1094
fec6996f 1095#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1096#: apt-get.8.xml
fec6996f 1097msgid ""
864fe99c
MV
1098"No action; perform a simulation of events that would occur based on the "
1099"current system state but do not actually change the system. Locking will be "
1100"disabled (<option>Debug::NoLocking</option>) so the system state could "
1101"change while <command>apt-get</command> is running. Simulations can also be "
1102"executed by non-root users which might not have read access to all apt "
1103"configuration distorting the simulation. A notice expressing this warning "
1104"is also shown by default for non-root users (<option>APT::Get::Show-User-"
1105"Simulation-Note</option>). Configuration Item: <literal>APT::Get::Simulate</"
1106"literal>."
fec6996f
DK
1107msgstr ""
1108
fec6996f 1109#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1110#: apt-get.8.xml
fec6996f 1111msgid ""
7d76ea1d
DK
1112"Simulated runs print out a series of lines, each representing a "
1113"<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
1114"remove (<literal>Remv</literal>) or unpack (<literal>Inst</literal>). "
1115"Square brackets indicate broken packages, and empty square brackets indicate "
1116"breaks that are of no consequence (rare)."
fec6996f
DK
1117msgstr ""
1118
fec6996f 1119#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1120#: apt-get.8.xml
fec6996f 1121msgid ""
7d76ea1d
DK
1122"Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
1123"non-interactively. If an undesirable situation, such as changing a held "
1124"package, trying to install a unauthenticated package or removing an "
1125"essential package occurs then <literal>apt-get</literal> will abort. "
1126"Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
fec6996f
DK
1127msgstr ""
1128
fec6996f 1129#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1130#: apt-get.8.xml
fec6996f 1131msgid ""
7d76ea1d
DK
1132"Automatic \"no\" to all prompts. Configuration Item: <literal>APT::Get::"
1133"Assume-No</literal>."
fec6996f
DK
1134msgstr ""
1135
b6c6b52f 1136#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1137#: apt-get.8.xml
b6c6b52f 1138msgid ""
5ff8dd6b
JAK
1139"Do not show a list of all packages that are to be upgraded. Configuration "
1140"Item: <literal>APT::Get::Show-Upgraded</literal>."
b6c6b52f
MV
1141msgstr ""
1142
fec6996f 1143#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1144#: apt-get.8.xml
fec6996f 1145msgid ""
7d76ea1d
DK
1146"Show full versions for upgraded and installed packages. Configuration Item: "
1147"<literal>APT::Get::Show-Versions</literal>."
fec6996f
DK
1148msgstr ""
1149
fec6996f 1150#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1151#: apt-get.8.xml
fec6996f 1152msgid ""
7d76ea1d
DK
1153"This option controls the architecture packages are built for by <command>apt-"
1154"get source --compile</command> and how cross-builddependencies are "
1155"satisfied. By default is it not set which means that the host architecture "
1156"is the same as the build architecture (which is defined by <literal>APT::"
1157"Architecture</literal>). Configuration Item: <literal>APT::Get::Host-"
7ffbb475 1158"Architecture</literal>."
fec6996f
DK
1159msgstr ""
1160
fec6996f 1161#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1162#: apt-get.8.xml
fec6996f 1163msgid ""
7ffbb475
MV
1164"This option controls the activated build profiles for which a source package "
1165"is built by <command>apt-get source --compile</command> and how build "
1166"dependencies are satisfied. By default no build profile is active. More "
1167"than one build profile can be activated at a time by concatenating them with "
1168"a comma. Configuration Item: <literal>APT::Build-Profiles</literal>."
1169msgstr ""
1170
1171#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1172#: apt-get.8.xml
7ffbb475 1173msgid ""
7d76ea1d
DK
1174"Compile source packages after downloading them. Configuration Item: "
1175"<literal>APT::Get::Compile</literal>."
fec6996f
DK
1176msgstr ""
1177
fec6996f 1178#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1179#: apt-get.8.xml
fec6996f 1180msgid ""
7d76ea1d
DK
1181"Ignore package holds; this causes <command>apt-get</command> to ignore a "
1182"hold placed on a package. This may be useful in conjunction with "
1183"<literal>dist-upgrade</literal> to override a large number of undesired "
1184"holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
fec6996f
DK
1185msgstr ""
1186
fec6996f 1187#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1188#: apt-get.8.xml
ce34af08
MV
1189msgid ""
1190"Allow installing new packages when used in conjunction with "
1191"<literal>upgrade</literal>. This is useful if the update of a installed "
1192"package requires new dependencies to be installed. Instead of holding the "
1193"package back <literal>upgrade</literal> will upgrade the package and install "
1194"the new dependencies. Note that <literal>upgrade</literal> with this option "
1195"will never remove packages, only allow adding new ones. Configuration Item: "
1196"<literal>APT::Get::Upgrade-Allow-New</literal>."
1197msgstr ""
1198
1199#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1200#: apt-get.8.xml
fec6996f 1201msgid ""
7d76ea1d
DK
1202"Do not upgrade packages; when used in conjunction with <literal>install</"
1203"literal>, <literal>no-upgrade</literal> will prevent packages on the command "
1204"line from being upgraded if they are already installed. Configuration Item: "
1205"<literal>APT::Get::Upgrade</literal>."
fec6996f
DK
1206msgstr ""
1207
fec6996f 1208#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1209#: apt-get.8.xml
fec6996f 1210msgid ""
7d76ea1d
DK
1211"Do not install new packages; when used in conjunction with <literal>install</"
1212"literal>, <literal>only-upgrade</literal> will install upgrades for already "
1213"installed packages only and ignore requests to install new packages. "
1214"Configuration Item: <literal>APT::Get::Only-Upgrade</literal>."
fec6996f
DK
1215msgstr ""
1216
fec6996f 1217#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1218#: apt-get.8.xml
864fe99c
MV
1219msgid ""
1220"This is a dangerous option that will cause apt to continue without prompting "
1221"if it is doing downgrades. It should not be used except in very special "
1222"situations. Using it can potentially destroy your system! Configuration "
1223"Item: <literal>APT::Get::allow-downgrades</literal>. Introduced in APT 1.1."
1224msgstr ""
1225
1226#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1227#: apt-get.8.xml
864fe99c
MV
1228msgid ""
1229"Force yes; this is a dangerous option that will cause apt to continue "
1230"without prompting if it is removing essentials. It should not be used except "
1231"in very special situations. Using it can potentially destroy your system! "
1232"Configuration Item: <literal>APT::Get::allow-remove-essential</literal>. "
1233"Introduced in APT 1.1."
1234msgstr ""
1235
1236#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1237#: apt-get.8.xml
864fe99c
MV
1238msgid ""
1239"Force yes; this is a dangerous option that will cause apt to continue "
1240"without prompting if it is changing held packages. It should not be used "
1241"except in very special situations. Using it can potentially destroy your "
1242"system! Configuration Item: <literal>APT::Get::allow-change-held-packages</"
1243"literal>. Introduced in APT 1.1."
1244msgstr ""
1245
1246#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1247#: apt-get.8.xml
fec6996f 1248msgid ""
7d76ea1d
DK
1249"Force yes; this is a dangerous option that will cause apt to continue "
1250"without prompting if it is doing something potentially harmful. It should "
1251"not be used except in very special situations. Using <literal>force-yes</"
1252"literal> can potentially destroy your system! Configuration Item: "
864fe99c
MV
1253"<literal>APT::Get::force-yes</literal>. This is deprecated and replaced by "
1254"<option>--allow-downgrades</option>, <option>--allow-remove-essential</"
1255"option>, <option>--allow-change-held-packages</option> in 1.1."
fec6996f
DK
1256msgstr ""
1257
7d76ea1d 1258#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1259#: apt-get.8.xml
fec6996f 1260msgid ""
7d76ea1d
DK
1261"Instead of fetching the files to install their URIs are printed. Each URI "
1262"will have the path, the destination file name, the size and the expected MD5 "
1263"hash. Note that the file name to write to will not always match the file "
1264"name on the remote site! This also works with the <literal>source</literal> "
1265"and <literal>update</literal> commands. When used with the <literal>update</"
1266"literal> command the MD5 and size are not included, and it is up to the user "
1267"to decompress any compressed files. Configuration Item: <literal>APT::Get::"
1268"Print-URIs</literal>."
fec6996f
DK
1269msgstr ""
1270
7d76ea1d 1271#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1272#: apt-get.8.xml
fec6996f 1273msgid ""
7d76ea1d
DK
1274"Use purge instead of remove for anything that would be removed. An asterisk "
1275"(\"*\") will be displayed next to packages which are scheduled to be purged. "
1276"<option>remove --purge</option> is equivalent to the <option>purge</option> "
1277"command. Configuration Item: <literal>APT::Get::Purge</literal>."
fec6996f
DK
1278msgstr ""
1279
7d76ea1d 1280#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1281#: apt-get.8.xml
fec6996f 1282msgid ""
7d76ea1d
DK
1283"Re-install packages that are already installed and at the newest version. "
1284"Configuration Item: <literal>APT::Get::ReInstall</literal>."
fec6996f
DK
1285msgstr ""
1286
187aa32e 1287#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1288#: apt-get.8.xml
fec6996f 1289msgid ""
7d76ea1d
DK
1290"This option is on by default; use <literal>--no-list-cleanup</literal> to "
1291"turn it off. When it is on, <command>apt-get</command> will automatically "
1292"manage the contents of <filename>&statedir;/lists</filename> to ensure that "
1293"obsolete files are erased. The only reason to turn it off is if you "
1294"frequently change your sources list. Configuration Item: <literal>APT::Get::"
1295"List-Cleanup</literal>."
fec6996f
DK
1296msgstr ""
1297
187aa32e 1298#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1299#: apt-get.8.xml
fec6996f 1300msgid ""
7d76ea1d
DK
1301"This option controls the default input to the policy engine; it creates a "
1302"default pin at priority 990 using the specified release string. This "
1303"overrides the general settings in <filename>/etc/apt/preferences</"
1304"filename>. Specifically pinned packages are not affected by the value of "
1305"this option. In short, this option lets you have simple control over which "
1306"distribution packages will be retrieved from. Some common examples might be "
1307"<option>-t '2.1*'</option>, <option>-t unstable</option> or <option>-t sid</"
1308"option>. Configuration Item: <literal>APT::Default-Release</literal>; see "
1309"also the &apt-preferences; manual page."
fec6996f
DK
1310msgstr ""
1311
187aa32e 1312#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1313#: apt-get.8.xml
fec6996f 1314msgid ""
7d76ea1d
DK
1315"Only perform operations that are 'trivial'. Logically this can be considered "
1316"related to <option>--assume-yes</option>; where <option>--assume-yes</"
1317"option> will answer yes to any prompt, <option>--trivial-only</option> will "
1318"answer no. Configuration Item: <literal>APT::Get::Trivial-Only</literal>."
fec6996f
DK
1319msgstr ""
1320
7d76ea1d 1321#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1322#: apt-get.8.xml
7d76ea1d
DK
1323msgid ""
1324"If any packages are to be removed apt-get immediately aborts without "
1325"prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
fec6996f
DK
1326msgstr ""
1327
fec6996f 1328#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1329#: apt-get.8.xml
fec6996f 1330msgid ""
7d76ea1d
DK
1331"If the command is either <literal>install</literal> or <literal>remove</"
1332"literal>, then this option acts like running the <literal>autoremove</"
1333"literal> command, removing unused dependency packages. Configuration Item: "
1334"<literal>APT::Get::AutomaticRemove</literal>."
fec6996f
DK
1335msgstr ""
1336
fec6996f 1337#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1338#: apt-get.8.xml
fec6996f 1339msgid ""
7d76ea1d
DK
1340"Only has meaning for the <literal>source</literal> and <literal>build-dep</"
1341"literal> commands. Indicates that the given source names are not to be "
1342"mapped through the binary table. This means that if this option is "
1343"specified, these commands will only accept source package names as "
1344"arguments, rather than accepting binary package names and looking up the "
1345"corresponding source package. Configuration Item: <literal>APT::Get::Only-"
1346"Source</literal>."
fec6996f
DK
1347msgstr ""
1348
fec6996f 1349#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1350#: apt-get.8.xml
fec6996f 1351msgid ""
7d76ea1d
DK
1352"Download only the diff, dsc, or tar file of a source archive. Configuration "
1353"Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</"
1354"literal>, and <literal>APT::Get::Tar-Only</literal>."
fec6996f
DK
1355msgstr ""
1356
fec6996f 1357#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1358#: apt-get.8.xml
fec6996f 1359msgid ""
7d76ea1d
DK
1360"Only process architecture-dependent build-dependencies. Configuration Item: "
1361"<literal>APT::Get::Arch-Only</literal>."
fec6996f
DK
1362msgstr ""
1363
fec6996f 1364#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1365#: apt-get.8.xml
fec6996f 1366msgid ""
7d76ea1d 1367"Ignore if packages can't be authenticated and don't prompt about it. This "
864fe99c
MV
1368"can be useful while working with local repositories, but is a huge security "
1369"risk if data authenticity isn't ensured in another way by the user itself. "
1370"The usage of the <option>Trusted</option> option for &sources-list; entries "
1371"should usually be preferred over this global override. Configuration Item: "
1372"<literal>APT::Get::AllowUnauthenticated</literal>."
fec6996f
DK
1373msgstr ""
1374
ce34af08 1375#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1376#: apt-get.8.xml
ce34af08 1377msgid ""
5b1e4e86 1378"Forbid the update command to acquire unverifiable data from configured "
14e325c7
JAK
1379"sources. APT will fail at the update command for repositories without valid "
1380"cryptographically signatures. See also &apt-secure; for details on the "
1381"concept and the implications. Configuration Item: <literal>Acquire::"
5b1e4e86
MV
1382"AllowInsecureRepositories</literal>."
1383msgstr ""
1384
1385#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1386#: apt-get.8.xml
5b1e4e86 1387msgid ""
ce34af08
MV
1388"Show user friendly progress information in the terminal window when packages "
1389"are installed, upgraded or removed. For a machine parsable version of this "
1390"data see README.progress-reporting in the apt doc directory. Configuration "
506ab3c7 1391"Item: <literal>Dpkg::Progress</literal> and <literal>Dpkg::Progress-Fancy</"
ce34af08
MV
1392"literal>."
1393msgstr ""
1394
43670e2e
JAK
1395#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1396#: apt-get.8.xml
1397msgid ""
1398"Adds the given file as a source for metadata. Can be repeated to add "
1399"multiple files. See <option>--with-source</option> description in &apt-"
1400"cache; for further details."
1401msgstr ""
1402
7d76ea1d 1403#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
1404#: apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml apt.conf.5.xml
1405#: apt_preferences.5.xml
7d76ea1d 1406msgid "Files"
fec6996f
DK
1407msgstr ""
1408
fec6996f 1409#. type: Content of: <refentry><refsect1><para>
04f27fae 1410#: apt-get.8.xml
fec6996f 1411msgid ""
1c937475
MV
1412"&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
1413"&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
1414"APT Howto."
fec6996f
DK
1415msgstr ""
1416
fec6996f 1417#. type: Content of: <refentry><refsect1><para>
04f27fae 1418#: apt-get.8.xml
fec6996f 1419msgid ""
7d76ea1d
DK
1420"<command>apt-get</command> returns zero on normal operation, decimal 100 on "
1421"error."
fec6996f
DK
1422msgstr ""
1423
7d76ea1d 1424#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 1425#: apt-cache.8.xml
7d76ea1d 1426msgid "query the APT cache"
fec6996f
DK
1427msgstr ""
1428
7d76ea1d 1429#. type: Content of: <refentry><refsect1><para>
04f27fae 1430#: apt-cache.8.xml
fec6996f 1431msgid ""
7d76ea1d
DK
1432"<command>apt-cache</command> performs a variety of operations on APT's "
1433"package cache. <command>apt-cache</command> does not manipulate the state of "
1434"the system but does provide operations to search and generate interesting "
8561c2fe
DK
1435"output from the package metadata. The metadata is acquired and updated via "
1436"the 'update' command of e.g. <command>apt-get</command>, so that it can be "
1437"outdated if the last update is too long ago, but in exchange <command>apt-"
1438"cache</command> works independently of the availability of the configured "
1439"sources (e.g. offline)."
fec6996f
DK
1440msgstr ""
1441
1442#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1443#: apt-cache.8.xml
fec6996f 1444msgid ""
7d76ea1d
DK
1445"<literal>gencaches</literal> creates APT's package cache. This is done "
1446"implicitly by all commands needing this cache if it is missing or outdated."
1447msgstr ""
1448
1449#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
04f27fae 1450#: apt-cache.8.xml
7d76ea1d 1451msgid "&synopsis-pkg;"
fec6996f
DK
1452msgstr ""
1453
1454#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1455#: apt-cache.8.xml
fec6996f 1456msgid ""
7d76ea1d
DK
1457"<literal>showpkg</literal> displays information about the packages listed on "
1458"the command line. Remaining arguments are package names. The available "
1459"versions and reverse dependencies of each package listed are listed, as well "
1460"as forward dependencies for each version. Forward (normal) dependencies are "
1461"those packages upon which the package in question depends; reverse "
1462"dependencies are those packages that depend upon the package in question. "
1463"Thus, forward dependencies must be satisfied for a package, but reverse "
1464"dependencies need not be. For instance, <command>apt-cache showpkg "
1465"libreadline2</command> would produce output similar to the following:"
fec6996f
DK
1466msgstr ""
1467
7d76ea1d 1468#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
04f27fae 1469#: apt-cache.8.xml
7d76ea1d
DK
1470#, no-wrap
1471msgid ""
1472"Package: libreadline2\n"
1473"Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
1474"Reverse Depends: \n"
1475" libreadlineg2,libreadline2\n"
1476" libreadline2-altdev,libreadline2\n"
1477"Dependencies:\n"
1478"2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
1479"Provides:\n"
1480"2.1-12 - \n"
1481"Reverse Provides: \n"
fec6996f
DK
1482msgstr ""
1483
aa2218b2 1484#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1485#: apt-cache.8.xml
aa2218b2 1486msgid ""
7d76ea1d
DK
1487"Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
1488"ncurses3.0 which must be installed for libreadline2 to work. In turn, "
1489"libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
1490"libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
1491"installed; libreadlineg2 and libreadline2-altdev do not have to be "
1492"installed. For the specific meaning of the remainder of the output it is "
1493"best to consult the apt source code."
aa2218b2
MV
1494msgstr ""
1495
7d76ea1d 1496#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1497#: apt-cache.8.xml
7d76ea1d
DK
1498msgid ""
1499"<literal>stats</literal> displays some statistics about the cache. No "
1500"further arguments are expected. Statistics reported are:"
aa2218b2
MV
1501msgstr ""
1502
7d76ea1d 1503#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1504#: apt-cache.8.xml
aa2218b2 1505msgid ""
7d76ea1d
DK
1506"<literal>Total package names</literal> is the number of package names found "
1507"in the cache."
aa2218b2
MV
1508msgstr ""
1509
7d76ea1d 1510#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1511#: apt-cache.8.xml
7d76ea1d
DK
1512msgid ""
1513"<literal>Normal packages</literal> is the number of regular, ordinary "
1514"package names; these are packages that bear a one-to-one correspondence "
1515"between their names and the names used by other packages for them in "
1516"dependencies. The majority of packages fall into this category."
fec6996f 1517msgstr ""
fec6996f 1518
7d76ea1d 1519#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1520#: apt-cache.8.xml
fec6996f 1521msgid ""
7d76ea1d
DK
1522"<literal>Pure virtual packages</literal> is the number of packages that "
1523"exist only as a virtual package name; that is, packages only \"provide\" the "
1524"virtual package name, and no package actually uses the name. For instance, "
1525"\"mail-transport-agent\" in the Debian system is a pure virtual package; "
1526"several packages provide \"mail-transport-agent\", but there is no package "
1527"named \"mail-transport-agent\"."
fec6996f
DK
1528msgstr ""
1529
7d76ea1d 1530#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1531#: apt-cache.8.xml
7d76ea1d
DK
1532msgid ""
1533"<literal>Single virtual packages</literal> is the number of packages with "
1534"only one package providing a particular virtual package. For example, in the "
1535"Debian system, \"X11-text-viewer\" is a virtual package, but only one "
1536"package, xless, provides \"X11-text-viewer\"."
fec6996f
DK
1537msgstr ""
1538
7d76ea1d 1539#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1540#: apt-cache.8.xml
c6b21d22 1541msgid ""
7d76ea1d
DK
1542"<literal>Mixed virtual packages</literal> is the number of packages that "
1543"either provide a particular virtual package or have the virtual package name "
1544"as the package name. For instance, in the Debian system, \"debconf\" is both "
1545"an actual package, and provided by the debconf-tiny package."
fec6996f
DK
1546msgstr ""
1547
7d76ea1d 1548#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1549#: apt-cache.8.xml
fec6996f 1550msgid ""
7d76ea1d
DK
1551"<literal>Missing</literal> is the number of package names that were "
1552"referenced in a dependency but were not provided by any package. Missing "
1553"packages may be an evidence if a full distribution is not accessed, or if a "
1554"package (real or virtual) has been dropped from the distribution. Usually "
1555"they are referenced from Conflicts or Breaks statements."
fec6996f
DK
1556msgstr ""
1557
7d76ea1d 1558#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1559#: apt-cache.8.xml
7d76ea1d
DK
1560msgid ""
1561"<literal>Total distinct</literal> versions is the number of package versions "
864fe99c 1562"found in the cache. If more than one distribution is being accessed (for "
7d76ea1d
DK
1563"instance, \"stable\" and \"unstable\"), this value can be considerably "
1564"larger than the number of total package names."
fec6996f
DK
1565msgstr ""
1566
7d76ea1d 1567#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1568#: apt-cache.8.xml
fec6996f 1569msgid ""
7d76ea1d
DK
1570"<literal>Total dependencies</literal> is the number of dependency "
1571"relationships claimed by all of the packages in the cache."
fec6996f
DK
1572msgstr ""
1573
1574#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1575#: apt-cache.8.xml
fec6996f 1576msgid ""
7d76ea1d
DK
1577"<literal>showsrc</literal> displays all the source package records that "
1578"match the given package names. All versions are shown, as well as all "
864fe99c
MV
1579"records that declare the name to be a binary package. Use <option>--only-"
1580"source</option> to display only source package names."
fec6996f
DK
1581msgstr ""
1582
7d76ea1d 1583#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1584#: apt-cache.8.xml
fec6996f 1585msgid ""
7d76ea1d
DK
1586"<literal>dump</literal> shows a short listing of every package in the cache. "
1587"It is primarily for debugging."
fec6996f
DK
1588msgstr ""
1589
7d76ea1d 1590#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1591#: apt-cache.8.xml
7d76ea1d
DK
1592msgid ""
1593"<literal>dumpavail</literal> prints out an available list to stdout. This is "
1594"suitable for use with &dpkg; and is used by the &dselect; method."
fec6996f
DK
1595msgstr ""
1596
7d76ea1d 1597#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1598#: apt-cache.8.xml
fec6996f 1599msgid ""
7d76ea1d
DK
1600"<literal>unmet</literal> displays a summary of all unmet dependencies in the "
1601"package cache."
fec6996f
DK
1602msgstr ""
1603
7d76ea1d 1604#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1605#: apt-cache.8.xml
fec6996f 1606msgid ""
7d76ea1d
DK
1607"<literal>show</literal> performs a function similar to <command>dpkg --print-"
1608"avail</command>; it displays the package records for the named packages."
fec6996f
DK
1609msgstr ""
1610
7d76ea1d 1611#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
04f27fae 1612#: apt-cache.8.xml
7d76ea1d 1613msgid "&synopsis-regex;"
fec6996f
DK
1614msgstr ""
1615
fec6996f 1616#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1617#: apt-cache.8.xml
fec6996f 1618msgid ""
7d76ea1d
DK
1619"<literal>search</literal> performs a full text search on all available "
1620"package lists for the POSIX regex pattern given, see &regex;. It searches "
1621"the package names and the descriptions for an occurrence of the regular "
1622"expression and prints out the package name and the short description, "
1623"including virtual package names. If <option>--full</option> is given then "
1624"output identical to <literal>show</literal> is produced for each matched "
1625"package, and if <option>--names-only</option> is given then the long "
864fe99c 1626"description is not searched, only the package name and provided packages are."
fec6996f
DK
1627msgstr ""
1628
1629#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1630#: apt-cache.8.xml
fec6996f 1631msgid ""
7d76ea1d
DK
1632"Separate arguments can be used to specify multiple search patterns that are "
1633"and'ed together."
fec6996f
DK
1634msgstr ""
1635
fec6996f 1636#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1637#: apt-cache.8.xml
fec6996f 1638msgid ""
7d76ea1d
DK
1639"<literal>depends</literal> shows a listing of each dependency a package has "
1640"and all the possible other packages that can fulfill that dependency."
fec6996f
DK
1641msgstr ""
1642
1643#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1644#: apt-cache.8.xml
fec6996f 1645msgid ""
7d76ea1d
DK
1646"<literal>rdepends</literal> shows a listing of each reverse dependency a "
1647"package has."
fec6996f
DK
1648msgstr ""
1649
7d76ea1d 1650#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 1651#: apt-cache.8.xml
7d76ea1d
DK
1652#, fuzzy
1653msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
fec6996f 1654msgstr ""
7d76ea1d
DK
1655"<programlisting>\n"
1656"apt-get install <replaceable>pacote</replaceable>/testing\n"
fec6996f 1657
fec6996f 1658#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1659#: apt-cache.8.xml
fec6996f 1660msgid ""
7d76ea1d
DK
1661"This command prints the name of each package APT knows. The optional "
1662"argument is a prefix match to filter the name list. The output is suitable "
1663"for use in a shell tab complete function and the output is generated "
1664"extremely quickly. This command is best used with the <option>--generate</"
1665"option> option."
fec6996f
DK
1666msgstr ""
1667
1668#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1669#: apt-cache.8.xml
fec6996f 1670msgid ""
7d76ea1d
DK
1671"Note that a package which APT knows of is not necessarily available to "
1672"download, installable or installed, e.g. virtual packages are also listed in "
1673"the generated list."
fec6996f
DK
1674msgstr ""
1675
fec6996f 1676#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1677#: apt-cache.8.xml
fec6996f 1678msgid ""
7d76ea1d
DK
1679"<literal>dotty</literal> takes a list of packages on the command line and "
1680"generates output suitable for use by dotty from the <ulink url=\"http://www."
1681"research.att.com/sw/tools/graphviz/\">GraphViz</ulink> package. The result "
1682"will be a set of nodes and edges representing the relationships between the "
1683"packages. By default the given packages will trace out all dependent "
1684"packages; this can produce a very large graph. To limit the output to only "
1685"the packages listed on the command line, set the <literal>APT::Cache::"
1686"GivenOnly</literal> option."
fec6996f
DK
1687msgstr ""
1688
fec6996f 1689#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1690#: apt-cache.8.xml
fec6996f 1691msgid ""
7d76ea1d
DK
1692"The resulting nodes will have several shapes; normal packages are boxes, "
1693"pure virtual packages are triangles, mixed virtual packages are diamonds, "
1694"missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
1695"packages), blue lines are pre-depends, green lines are conflicts."
fec6996f
DK
1696msgstr ""
1697
7d76ea1d 1698#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1699#: apt-cache.8.xml
7d76ea1d 1700msgid "Caution, dotty cannot graph larger sets of packages."
fec6996f
DK
1701msgstr ""
1702
7d76ea1d 1703#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1704#: apt-cache.8.xml
fec6996f 1705msgid ""
7d76ea1d
DK
1706"The same as <literal>dotty</literal>, only for xvcg from the <ulink url="
1707"\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG tool</ulink>."
fec6996f
DK
1708msgstr ""
1709
7d76ea1d 1710#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 1711#: apt-cache.8.xml
7d76ea1d
DK
1712#, fuzzy
1713msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
fec6996f 1714msgstr ""
7d76ea1d
DK
1715"<programlisting>\n"
1716"apt-get install <replaceable>pacote</replaceable>/testing\n"
fec6996f 1717
7d76ea1d 1718#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1719#: apt-cache.8.xml
7d76ea1d
DK
1720msgid ""
1721"<literal>policy</literal> is meant to help debug issues relating to the "
1722"preferences file. With no arguments it will print out the priorities of each "
1723"source. Otherwise it prints out detailed information about the priority "
1724"selection of the named package."
1725msgstr ""
fec6996f 1726
7d76ea1d 1727#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1728#: apt-cache.8.xml
fec6996f 1729msgid ""
7d76ea1d
DK
1730"<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
1731"to mimic the output format and a subset of the functionality of the Debian "
1732"archive management tool, <literal>madison</literal>. It displays available "
1733"versions of a package in a tabular format. Unlike the original "
1734"<literal>madison</literal>, it can only display information for the "
1735"architecture for which APT has retrieved package lists (<literal>APT::"
1736"Architecture</literal>)."
fec6996f
DK
1737msgstr ""
1738
7d76ea1d 1739#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1740#: apt-cache.8.xml
fec6996f 1741msgid ""
7d76ea1d
DK
1742"Select the file to store the package cache. The package cache is the primary "
1743"cache used by all operations. Configuration Item: <literal>Dir::Cache::"
1744"pkgcache</literal>."
fec6996f
DK
1745msgstr ""
1746
7d76ea1d 1747#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1748#: apt-cache.8.xml
7d76ea1d
DK
1749msgid ""
1750"Select the file to store the source cache. The source is used only by "
1751"<literal>gencaches</literal> and it stores a parsed version of the package "
1752"information from remote sources. When building the package cache the source "
1753"cache is used to avoid reparsing all of the package files. Configuration "
1754"Item: <literal>Dir::Cache::srcpkgcache</literal>."
fec6996f
DK
1755msgstr ""
1756
7d76ea1d 1757#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1758#: apt-cache.8.xml
7d76ea1d
DK
1759msgid ""
1760"Quiet; produces output suitable for logging, omitting progress indicators. "
1761"More q's will produce more quietness up to a maximum of 2. You can also use "
1762"<option>-q=#</option> to set the quietness level, overriding the "
1763"configuration file. Configuration Item: <literal>quiet</literal>."
fec6996f
DK
1764msgstr ""
1765
7d76ea1d 1766#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1767#: apt-cache.8.xml
fec6996f 1768msgid ""
7d76ea1d
DK
1769"Print only important dependencies; for use with <literal>unmet</literal> and "
1770"<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
1771"be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
fec6996f
DK
1772msgstr ""
1773
7d76ea1d 1774#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1775#: apt-cache.8.xml
fec6996f 1776msgid ""
864fe99c 1777"Per default the <command>depends</command> and <command>rdepends</command> "
7d76ea1d
DK
1778"print all dependencies. This can be tweaked with these flags which will omit "
1779"the specified dependency type. Configuration Item: <literal>APT::Cache::"
1780"Show<replaceable>DependencyType</replaceable></literal> e.g. <literal>APT::"
1781"Cache::ShowRecommends</literal>."
fec6996f
DK
1782msgstr ""
1783
7d76ea1d 1784#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1785#: apt-cache.8.xml
864fe99c
MV
1786msgid ""
1787"Per default <command>depends</command> and <command>rdepends</command> print "
1788"only dependencies explicitly expressed in the metadata. With this flag it "
5ff8dd6b
JAK
1789"will also show dependencies implicitly added based on the encountered data. "
1790"A <literal>Conflicts: foo</literal> e.g. expresses implicitly that this "
1791"package also conflicts with the package foo from any other architecture. "
1792"Configuration Item: <literal>APT::Cache::ShowImplicit</literal>."
864fe99c
MV
1793msgstr ""
1794
1795#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1796#: apt-cache.8.xml
fec6996f 1797msgid ""
7d76ea1d
DK
1798"Print full package records when searching. Configuration Item: "
1799"<literal>APT::Cache::ShowFull</literal>."
fec6996f
DK
1800msgstr ""
1801
7d76ea1d 1802#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1803#: apt-cache.8.xml
fec6996f 1804msgid ""
7d76ea1d
DK
1805"Print full records for all available versions. This is the default; to turn "
1806"it off, use <option>--no-all-versions</option>. If <option>--no-all-"
1807"versions</option> is specified, only the candidate version will be displayed "
1808"(the one which would be selected for installation). This option is only "
1809"applicable to the <literal>show</literal> command. Configuration Item: "
1810"<literal>APT::Cache::AllVersions</literal>."
fec6996f
DK
1811msgstr ""
1812
7d76ea1d 1813#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1814#: apt-cache.8.xml
fec6996f 1815msgid ""
7d76ea1d
DK
1816"Perform automatic package cache regeneration, rather than use the cache as "
1817"it is. This is the default; to turn it off, use <option>--no-generate</"
1818"option>. Configuration Item: <literal>APT::Cache::Generate</literal>."
fec6996f
DK
1819msgstr ""
1820
7d76ea1d 1821#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1822#: apt-cache.8.xml
fec6996f 1823msgid ""
864fe99c
MV
1824"Only search on the package and provided package names, not the long "
1825"descriptions. Configuration Item: <literal>APT::Cache::NamesOnly</literal>."
fec6996f
DK
1826msgstr ""
1827
7d76ea1d 1828#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1829#: apt-cache.8.xml
fec6996f 1830msgid ""
7d76ea1d
DK
1831"Make <literal>pkgnames</literal> print all names, including virtual packages "
1832"and missing dependencies. Configuration Item: <literal>APT::Cache::"
1833"AllNames</literal>."
fec6996f
DK
1834msgstr ""
1835
7d76ea1d 1836#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1837#: apt-cache.8.xml
fec6996f 1838msgid ""
7d76ea1d
DK
1839"Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1840"that all packages mentioned are printed once. Configuration Item: "
1841"<literal>APT::Cache::RecurseDepends</literal>."
b81dbe40
DK
1842msgstr ""
1843
7d76ea1d 1844#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1845#: apt-cache.8.xml
b81dbe40 1846msgid ""
7d76ea1d
DK
1847"Limit the output of <literal>depends</literal> and <literal>rdepends</"
1848"literal> to packages which are currently installed. Configuration Item: "
1849"<literal>APT::Cache::Installed</literal>."
fec6996f
DK
1850msgstr ""
1851
43670e2e
JAK
1852#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1853#: apt-cache.8.xml
1854msgid ""
1855"Adds the given file as a source for metadata. Can be repeated to add "
1856"multiple files. Supported are currently <literal>*.deb</literal>, "
1857"<literal>*.dsc</literal>, <literal>*.changes</literal>, <literal>Sources</"
1858"literal> and <literal>Packages</literal> files as well as source package "
1859"directories. Files are matched based on their name only, not their content!"
1860msgstr ""
1861
1862#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1863#: apt-cache.8.xml
1864msgid ""
1865"<literal>Sources</literal> and <literal>Packages</literal> can be compressed "
1866"in any format apt supports as long as they have the correct extension. If "
1867"you need to store multiple of these files in one directory you can prefix a "
1868"name of your choice with the last character being an underscore "
1869"(\"<literal>_</literal>\"). Example: my.example_Packages.xz"
1870msgstr ""
1871
1872#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1873#: apt-cache.8.xml
1874msgid ""
1875"Note that these sources are treated as trusted (see &apt-secure;). "
1876"Configuration Item: <literal>APT::Sources::With</literal>."
1877msgstr ""
1878
7d76ea1d 1879#. type: Content of: <refentry><refsect1><para>
04f27fae 1880#: apt-cache.8.xml
7d76ea1d 1881msgid "&apt-conf;, &sources-list;, &apt-get;"
fec6996f
DK
1882msgstr ""
1883
7d76ea1d 1884#. type: Content of: <refentry><refsect1><para>
04f27fae 1885#: apt-cache.8.xml
b81dbe40 1886msgid ""
7d76ea1d
DK
1887"<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1888"on error."
b81dbe40
DK
1889msgstr ""
1890
7d76ea1d 1891#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 1892#: apt-key.8.xml
7d76ea1d
DK
1893msgid "APT key management utility"
1894msgstr ""
fec6996f 1895
7d76ea1d 1896#. type: Content of: <refentry><refsect1><para>
04f27fae 1897#: apt-key.8.xml
fec6996f 1898msgid ""
7d76ea1d
DK
1899"<command>apt-key</command> is used to manage the list of keys used by apt to "
1900"authenticate packages. Packages which have been authenticated using these "
1901"keys will be considered trusted."
fec6996f
DK
1902msgstr ""
1903
4bdf29d3
JAK
1904#. type: Content of: <refentry><refsect1><para>
1905#: apt-key.8.xml
1906msgid ""
1907"Note that if usage of <command>apt-key</command> is desired the additional "
1908"installation of the GNU Privacy Guard suite (packaged in <package>gnupg</"
80c0c9b2 1909"package>) is required. For this reason alone the programmatic usage "
4bdf29d3
JAK
1910"(especially in package maintainerscripts!) is strongly discouraged. Further "
1911"more the output format of all commands is undefined and can and does change "
1912"whenever the underlying commands change. <command>apt-key</command> will try "
1913"to detect such usage and generates warnings on stderr in these cases."
1914msgstr ""
1915
7d76ea1d 1916#. type: Content of: <refentry><refsect1><title>
04f27fae 1917#: apt-key.8.xml
7d76ea1d 1918msgid "Commands"
fec6996f
DK
1919msgstr ""
1920
7d76ea1d 1921#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1922#: apt-key.8.xml
fec6996f 1923msgid ""
7d76ea1d
DK
1924"Add a new key to the list of trusted keys. The key is read from the "
1925"filename given with the parameter &synopsis-param-filename; or if the "
1926"filename is <literal>-</literal> from standard input."
fec6996f
DK
1927msgstr ""
1928
cbbee23e
DK
1929#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1930#: apt-key.8.xml
1931msgid ""
1932"It is critical that keys added manually via <command>apt-key</command> are "
1933"verified to belong to the owner of the repositories they claim to be for "
1934"otherwise the &apt-secure; infrastructure is completely undermined."
1935msgstr ""
1936
7d76ea1d 1937#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1938#: apt-key.8.xml
4bdf29d3
JAK
1939msgid ""
1940"Instead of using this command a keyring can be placed directly in the "
1941"<filename>/etc/apt/trusted.gpg.d/</filename> directory with a descriptive "
1942"name (same rules for filename apply as for &apt-conf; files) and "
1943"\"<literal>gpg</literal>\" as file extension."
fec6996f
DK
1944msgstr ""
1945
7d76ea1d 1946#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1947#: apt-key.8.xml
4bdf29d3 1948msgid "Remove a key from the list of trusted keys."
fec6996f
DK
1949msgstr ""
1950
7d76ea1d 1951#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1952#: apt-key.8.xml
4bdf29d3 1953msgid "Output the key &synopsis-param-keyid; to standard output."
fec6996f
DK
1954msgstr ""
1955
7d76ea1d 1956#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1957#: apt-key.8.xml
4bdf29d3 1958msgid "Output all trusted keys to standard output."
fec6996f
DK
1959msgstr ""
1960
7d76ea1d 1961#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1962#: apt-key.8.xml
4bdf29d3 1963msgid "List trusted keys with fingerprints."
b81dbe40
DK
1964msgstr ""
1965
7d76ea1d 1966#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1967#: apt-key.8.xml
fec6996f 1968msgid ""
cbbee23e
DK
1969"Pass advanced options to gpg. With <command>adv --recv-key</command> you can "
1970"e.g. download key from keyservers directly into the the trusted set of keys. "
1971"Note that there are <emphasis>no</emphasis> checks performed, so it is easy "
1972"to completely undermine the &apt-secure; infrastructure if used without care."
fec6996f
DK
1973msgstr ""
1974
4bdf29d3
JAK
1975#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1976#: apt-key.8.xml
1977msgid "(deprecated)"
1978msgstr ""
1979
7d76ea1d 1980#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1981#: apt-key.8.xml
fec6996f 1982msgid ""
7d76ea1d
DK
1983"Update the local keyring with the archive keyring and remove from the local "
1984"keyring the archive keys which are no longer valid. The archive keyring is "
1985"shipped in the <literal>archive-keyring</literal> package of your "
ce34af08 1986"distribution, e.g. the &keyring-package; package in &keyring-distro;."
fec6996f
DK
1987msgstr ""
1988
4bdf29d3
JAK
1989#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1990#: apt-key.8.xml
1991msgid ""
1992"Note that a distribution does not need to and in fact should not use this "
1993"command any longer and instead ship keyring files in the <filename>/etc/apt/"
1994"trusted.gpg</filename> directory directly as this avoids a dependency on "
1995"<package>gnupg</package> and it is easier to manage keys by simply adding "
1996"and removing files for maintainers and users alike."
1997msgstr ""
1998
7d76ea1d 1999#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2000#: apt-key.8.xml
7d76ea1d 2001msgid ""
6072cbe1
JR
2002"Perform an update working similarly to the <command>update</command> command "
2003"above, but get the archive keyring from a URI instead and validate it "
2004"against a master key. This requires an installed &wget; and an APT build "
2005"configured to have a server to fetch from and a master keyring to validate. "
2006"APT in Debian does not support this command, relying on <command>update</"
2007"command> instead, but Ubuntu's APT does."
fec6996f
DK
2008msgstr ""
2009
7d76ea1d 2010#. type: Content of: <refentry><refsect1><title>
cbbee23e 2011#: apt-key.8.xml apt-mark.8.xml apt-cdrom.8.xml
7d76ea1d 2012msgid "Options"
fec6996f
DK
2013msgstr ""
2014
7d76ea1d 2015#. type: Content of: <refentry><refsect1><para>
04f27fae 2016#: apt-key.8.xml
fec6996f 2017msgid ""
7d76ea1d
DK
2018"Note that options need to be defined before the commands described in the "
2019"previous section."
fec6996f
DK
2020msgstr ""
2021
7d76ea1d 2022#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2023#: apt-key.8.xml
fec6996f 2024msgid ""
6072cbe1 2025"With this option it is possible to specify a particular keyring file the "
7d76ea1d
DK
2026"command should operate on. The default is that a command is executed on the "
2027"<filename>trusted.gpg</filename> file as well as on all parts in the "
2028"<filename>trusted.gpg.d</filename> directory, though <filename>trusted.gpg</"
2029"filename> is the primary keyring which means that e.g. new keys are added to "
2030"this one."
fec6996f
DK
2031msgstr ""
2032
7d76ea1d 2033#. type: Content of: <refentry><refsect1><para>
04f27fae 2034#: apt-key.8.xml
7d76ea1d
DK
2035#, fuzzy
2036msgid "&apt-get;, &apt-secure;"
2037msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
fec6996f 2038
7d76ea1d 2039#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2040#: apt-mark.8.xml
cbbee23e 2041msgid "show, set and unset various settings for a package"
fec6996f
DK
2042msgstr ""
2043
7d76ea1d 2044#. type: Content of: <refentry><refsect1><para>
04f27fae 2045#: apt-mark.8.xml
fec6996f 2046msgid ""
051029f8
DK
2047"<command>apt-mark</command> can be used as a unified front-end to set "
2048"various settings for a package, such as marking a package as being "
2049"automatically/manually installed or changing <command>dpkg</command> "
2050"selections such as hold, install, deinstall and purge which are respected e."
2051"g. by <command>apt-get dselect-upgrade</command> or <command>aptitude</"
2052"command>."
cbbee23e
DK
2053msgstr ""
2054
2055#. type: Content of: <refentry><refsect1><title>
2056#: apt-mark.8.xml
051029f8 2057msgid "Automatically and Manually Installed Packages"
fec6996f
DK
2058msgstr ""
2059
7d76ea1d 2060#. type: Content of: <refentry><refsect1><para>
04f27fae 2061#: apt-mark.8.xml
fec6996f 2062msgid ""
7d76ea1d
DK
2063"When you request that a package is installed, and as a result other packages "
2064"are installed to satisfy its dependencies, the dependencies are marked as "
051029f8
DK
2065"being automatically installed, while the package you installed explicitly is "
2066"marked as manually installed. Once an automatically installed package is no "
cbbee23e
DK
2067"longer depended on by any manually installed package it is considered no "
2068"longer needed and e.g. <command>apt-get</command> or <command>aptitude</"
2069"command> will at least suggest removing them."
fec6996f
DK
2070msgstr ""
2071
7d76ea1d 2072#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2073#: apt-mark.8.xml
fec6996f 2074msgid ""
7d76ea1d
DK
2075"<literal>auto</literal> is used to mark a package as being automatically "
2076"installed, which will cause the package to be removed when no more manually "
2077"installed packages depend on this package."
fec6996f
DK
2078msgstr ""
2079
7d76ea1d 2080#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2081#: apt-mark.8.xml
7d76ea1d
DK
2082msgid ""
2083"<literal>manual</literal> is used to mark a package as being manually "
2084"installed, which will prevent the package from being automatically removed "
2085"if no other packages depend on it."
fec6996f
DK
2086msgstr ""
2087
7d76ea1d 2088#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2089#: apt-mark.8.xml
fec6996f 2090msgid ""
cbbee23e
DK
2091"<literal>showauto</literal> is used to print a list of automatically "
2092"installed packages with each package on a new line. All automatically "
2093"installed packages will be listed if no package is given. If packages are "
2094"given only those which are automatically installed will be shown."
fec6996f
DK
2095msgstr ""
2096
7d76ea1d 2097#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2098#: apt-mark.8.xml
7d76ea1d 2099msgid ""
cbbee23e
DK
2100"<literal>showmanual</literal> can be used in the same way as "
2101"<literal>showauto</literal> except that it will print a list of manually "
2102"installed packages instead."
2103msgstr ""
2104
2105#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2106#: apt-mark.8.xml
2107msgid ""
2108"Read/Write package stats from the filename given with the parameter "
2109"&synopsis-param-filename; instead of from the default location, which is "
2110"<filename>extended_status</filename> in the directory defined by the "
2111"Configuration Item: <literal>Dir::State</literal>."
2112msgstr ""
2113
2114#. type: Content of: <refentry><refsect1><title>
2115#: apt-mark.8.xml
051029f8 2116msgid "Prevent Changes for a Package"
fec6996f
DK
2117msgstr ""
2118
7d76ea1d 2119#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2120#: apt-mark.8.xml
7d76ea1d 2121msgid ""
cbbee23e
DK
2122"<literal>hold</literal> is used to mark a package as held back, which will "
2123"prevent the package from being automatically installed, upgraded or removed."
fec6996f
DK
2124msgstr ""
2125
7d76ea1d 2126#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2127#: apt-mark.8.xml
7d76ea1d 2128msgid ""
cbbee23e
DK
2129"<literal>unhold</literal> is used to cancel a previously set hold on a "
2130"package to allow all actions again."
fec6996f
DK
2131msgstr ""
2132
7d76ea1d 2133#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2134#: apt-mark.8.xml
7d76ea1d
DK
2135msgid ""
2136"<literal>showhold</literal> is used to print a list of packages on hold in "
2137"the same way as for the other show commands."
fec6996f
DK
2138msgstr ""
2139
cbbee23e
DK
2140#. type: Content of: <refentry><refsect1><title>
2141#: apt-mark.8.xml
051029f8 2142msgid "Schedule Packages for Install, Remove and Purge"
cbbee23e
DK
2143msgstr ""
2144
2145#. type: Content of: <refentry><refsect1><para>
04f27fae 2146#: apt-mark.8.xml
7d76ea1d 2147msgid ""
add81166 2148"Some front-ends like <command>apt-get dselect-upgrade</command> can be used "
051029f8
DK
2149"to apply previously scheduled changes to the install state of packages. Such "
2150"changes can be scheduled with the <option>install</option>, <option>remove</"
cbbee23e
DK
2151"option> (also known as <option>deinstall</option>) and <option>purge</"
2152"option> commands. Packages with a specific selection can be displayed with "
2153"<option>showinstall</option>, <option>showremove</option> and "
2154"<option>showpurge</option> respectively. More information about these so "
2155"called dpkg selections can be found in &dpkg;."
fec6996f
DK
2156msgstr ""
2157
7d76ea1d 2158#. type: Content of: <refentry><refsect1><para>
04f27fae 2159#: apt-mark.8.xml
7d76ea1d
DK
2160msgid ""
2161"<command>apt-mark</command> returns zero on normal operation, non-zero on "
2162"error."
fec6996f
DK
2163msgstr ""
2164
7d76ea1d 2165#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2166#: apt-secure.8.xml
7d76ea1d 2167msgid "Archive authentication support for APT"
fec6996f
DK
2168msgstr ""
2169
2170#. type: Content of: <refentry><refsect1><para>
04f27fae 2171#: apt-secure.8.xml
fec6996f 2172msgid ""
cbbee23e
DK
2173"Starting with version 0.6, <command>APT</command> contains code that does "
2174"signature checking of the Release file for all repositories. This ensures "
2175"that data like packages in the archive can't be modified by people who have "
14e325c7
JAK
2176"no access to the Release file signing key. Starting with version 1.1 "
2177"<command>APT</command> requires repositories to provide recent "
2178"authentication information for unimpeded usage of the repository."
fec6996f
DK
2179msgstr ""
2180
7d76ea1d 2181#. type: Content of: <refentry><refsect1><para>
04f27fae 2182#: apt-secure.8.xml
7d76ea1d 2183msgid ""
051029f8 2184"If an archive has an unsigned Release file or no Release file at all current "
14e325c7
JAK
2185"APT versions will refuse to download data from them by default in "
2186"<command>update</command> operations and even if forced to download front-"
2187"ends like &apt-get; will require explicit confirmation if an installation "
2188"request includes a package from such an unauthenticated archive."
cbbee23e
DK
2189msgstr ""
2190
2191#. type: Content of: <refentry><refsect1><para>
2192#: apt-secure.8.xml
2193msgid ""
14e325c7
JAK
2194"As a temporary exception &apt-get; (not &apt;!) raises warnings only if it "
2195"encounters unauthenticated archives to give a slightly longer grace period "
2196"on this backward compatibility effecting change. This exception will be "
2197"removed in future releases and you can opt-out of this grace period by "
2198"setting the configuration option <option>Binary::apt-get::Acquire::"
2199"AllowInsecureRepositories</option> to <literal>false</literal> or <option>--"
2200"no-allow-insecure-repositories</option> on the command line."
2201msgstr ""
2202
2203#. type: Content of: <refentry><refsect1><para>
2204#: apt-secure.8.xml
2205msgid ""
2206"You can force all APT clients to raise only warnings by setting the "
2207"configuration option <option>Acquire::AllowInsecureRepositories</option> to "
2208"<literal>true</literal>. Individual repositories can also be allowed to be "
2209"insecure via the &sources-list; option <literal>allow-insecure=yes</"
2210"literal>. Note that insecure repositories are strongly discouraged and all "
2211"options to force apt to continue supporting them will eventually be "
2212"removed. Users also have the <option>Trusted</option> option available to "
2213"disable even the warnings, but be sure to understand the implications as "
2214"detailed in &sources-list;."
2215msgstr ""
2216
2217#. type: Content of: <refentry><refsect1><para>
2218#: apt-secure.8.xml
2219msgid ""
2220"A repository which previously was authentication but would loose this state "
2221"in an <command>update</command> operation raises an error in all APT clients "
2222"irrespective of the option to allow or forbid usage of insecure "
2223"repositories. The error can be overcome by additionally setting "
2224"<option>Acquire::AllowDowngradeToInsecureRepositories</option> to "
2225"<literal>true</literal> or for Individual repositories with the &sources-"
2226"list; option <literal>allow-downgrade-to-insecure=yes</literal>."
fec6996f
DK
2227msgstr ""
2228
2229#. type: Content of: <refentry><refsect1><para>
04f27fae 2230#: apt-secure.8.xml
fec6996f 2231msgid ""
add81166 2232"Note: All APT-based package management front-ends like &apt-get;, &aptitude; "
cbbee23e
DK
2233"and &synaptic; support this authentication feature, so this manpage uses "
2234"<literal>APT</literal> to refer to them all for simplicity only."
fec6996f
DK
2235msgstr ""
2236
2237#. type: Content of: <refentry><refsect1><title>
04f27fae 2238#: apt-secure.8.xml
051029f8 2239msgid "Trusted Repositories"
fec6996f
DK
2240msgstr ""
2241
2242#. type: Content of: <refentry><refsect1><para>
04f27fae 2243#: apt-secure.8.xml
fec6996f 2244msgid ""
cbbee23e 2245"The chain of trust from an APT archive to the end user is made up of several "
75d9bdba
JR
2246"steps. <command>apt-secure</command> is the last step in this chain; "
2247"trusting an archive does not mean that you trust its packages not to contain "
2248"malicious code, but means that you trust the archive maintainer. It's the "
2249"archive maintainer's responsibility to ensure that the archive's integrity "
2250"is preserved."
fec6996f
DK
2251msgstr ""
2252
2253#. type: Content of: <refentry><refsect1><para>
04f27fae 2254#: apt-secure.8.xml
fec6996f 2255msgid ""
7d76ea1d
DK
2256"apt-secure does not review signatures at a package level. If you require "
2257"tools to do this you should look at <command>debsig-verify</command> and "
2258"<command>debsign</command> (provided in the debsig-verify and devscripts "
2259"packages respectively)."
fec6996f
DK
2260msgstr ""
2261
7d76ea1d 2262#. type: Content of: <refentry><refsect1><para>
04f27fae 2263#: apt-secure.8.xml
fec6996f 2264msgid ""
051029f8 2265"The chain of trust in Debian starts (e.g.) when a maintainer uploads a new "
cbbee23e
DK
2266"package or a new version of a package to the Debian archive. In order to "
2267"become effective, this upload needs to be signed by a key contained in one "
051029f8 2268"of the Debian package maintainer keyrings (available in the debian-keyring "
cbbee23e
DK
2269"package). Maintainers' keys are signed by other maintainers following pre-"
2270"established procedures to ensure the identity of the key holder. Similar "
2271"procedures exist in all Debian-based distributions."
fec6996f
DK
2272msgstr ""
2273
7d76ea1d 2274#. type: Content of: <refentry><refsect1><para>
04f27fae 2275#: apt-secure.8.xml
fec6996f 2276msgid ""
7d76ea1d 2277"Once the uploaded package is verified and included in the archive, the "
75d9bdba
JR
2278"maintainer signature is stripped off, and checksums of the package are "
2279"computed and put in the Packages file. The checksums of all of the Packages "
2280"files are then computed and put into the Release file. The Release file is "
ce34af08
MV
2281"then signed by the archive key for this &keyring-distro; release, and "
2282"distributed alongside the packages and the Packages files on &keyring-"
2283"distro; mirrors. The keys are in the &keyring-distro; archive keyring "
2284"available in the &keyring-package; package."
fec6996f
DK
2285msgstr ""
2286
7d76ea1d 2287#. type: Content of: <refentry><refsect1><para>
04f27fae 2288#: apt-secure.8.xml
fec6996f 2289msgid ""
75d9bdba
JR
2290"End users can check the signature of the Release file, extract a checksum of "
2291"a package from it and compare it with the checksum of the package they "
2292"downloaded by hand - or rely on APT doing this automatically."
fec6996f
DK
2293msgstr ""
2294
7d76ea1d 2295#. type: Content of: <refentry><refsect1><para>
04f27fae 2296#: apt-secure.8.xml
fec6996f 2297msgid ""
7d76ea1d
DK
2298"Notice that this is distinct from checking signatures on a per package "
2299"basis. It is designed to prevent two possible attacks:"
fec6996f
DK
2300msgstr ""
2301
7d76ea1d 2302#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2303#: apt-secure.8.xml
fec6996f 2304msgid ""
7d76ea1d 2305"<literal>Network \"man in the middle\" attacks</literal>. Without signature "
75d9bdba
JR
2306"checking, malicious agents can introduce themselves into the package "
2307"download process and provide malicious software either by controlling a "
2308"network element (router, switch, etc.) or by redirecting traffic to a rogue "
2309"server (through ARP or DNS spoofing attacks)."
fec6996f
DK
2310msgstr ""
2311
7d76ea1d 2312#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2313#: apt-secure.8.xml
fec6996f 2314msgid ""
7d76ea1d
DK
2315"<literal>Mirror network compromise</literal>. Without signature checking, a "
2316"malicious agent can compromise a mirror host and modify the files in it to "
2317"propagate malicious software to all users downloading packages from that "
2318"host."
fec6996f
DK
2319msgstr ""
2320
7d76ea1d 2321#. type: Content of: <refentry><refsect1><para>
04f27fae 2322#: apt-secure.8.xml
fec6996f 2323msgid ""
cbbee23e
DK
2324"However, it does not defend against a compromise of the master server itself "
2325"(which signs the packages) or against a compromise of the key used to sign "
2326"the Release files. In any case, this mechanism can complement a per-package "
2327"signature."
fec6996f
DK
2328msgstr ""
2329
7d76ea1d 2330#. type: Content of: <refentry><refsect1><title>
04f27fae 2331#: apt-secure.8.xml
051029f8 2332msgid "User Configuration"
0fd68707
MV
2333msgstr ""
2334
7d76ea1d 2335#. type: Content of: <refentry><refsect1><para>
04f27fae 2336#: apt-secure.8.xml
0fd68707 2337msgid ""
7d76ea1d 2338"<command>apt-key</command> is the program that manages the list of keys used "
cbbee23e
DK
2339"by APT to trust repositories. It can be used to add or remove keys as well "
2340"as list the trusted keys. Limiting which key(s) are able to sign which "
2341"archive is possible via the <option>Signed-By</option> in &sources-list;."
2342msgstr ""
2343
2344#. type: Content of: <refentry><refsect1><para>
2345#: apt-secure.8.xml
2346msgid ""
d04e44ac 2347"Note that a default installation already contains all keys to securely "
cbbee23e
DK
2348"acquire packages from the default repositories, so fiddling with "
2349"<command>apt-key</command> is only needed if third-party repositories are "
2350"added."
b39c1859
MV
2351msgstr ""
2352
7d76ea1d 2353#. type: Content of: <refentry><refsect1><para>
04f27fae 2354#: apt-secure.8.xml
b39c1859 2355msgid ""
7d76ea1d
DK
2356"In order to add a new key you need to first download it (you should make "
2357"sure you are using a trusted communication channel when retrieving it), add "
2358"it with <command>apt-key</command> and then run <command>apt-get update</"
2359"command> so that apt can download and verify the <filename>InRelease</"
2360"filename> or <filename>Release.gpg</filename> files from the archives you "
2361"have configured."
a0895a74
MV
2362msgstr ""
2363
fec6996f 2364#. type: Content of: <refentry><refsect1><title>
04f27fae 2365#: apt-secure.8.xml
051029f8 2366msgid "Archive Configuration"
fec6996f
DK
2367msgstr ""
2368
2369#. type: Content of: <refentry><refsect1><para>
04f27fae 2370#: apt-secure.8.xml
fec6996f 2371msgid ""
7d76ea1d
DK
2372"If you want to provide archive signatures in an archive under your "
2373"maintenance you have to:"
fec6996f
DK
2374msgstr ""
2375
7d76ea1d 2376#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2377#: apt-secure.8.xml
fec6996f 2378msgid ""
7d76ea1d
DK
2379"<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
2380"already. You can do this by running <command>apt-ftparchive release</"
2381"command> (provided in apt-utils)."
fec6996f
DK
2382msgstr ""
2383
7d76ea1d 2384#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2385#: apt-secure.8.xml
7d76ea1d
DK
2386msgid ""
2387"<emphasis>Sign it</emphasis>. You can do this by running <command>gpg --"
2388"clearsign -o InRelease Release</command> and <command>gpg -abs -o Release."
2389"gpg Release</command>."
fec6996f
DK
2390msgstr ""
2391
7d76ea1d 2392#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2393#: apt-secure.8.xml
fec6996f 2394msgid ""
051029f8 2395"<emphasis>Publish the key fingerprint</emphasis>, so that your users will "
7d76ea1d 2396"know what key they need to import in order to authenticate the files in the "
cbbee23e
DK
2397"archive. It is best to ship your key in its own keyring package like "
2398"&keyring-distro; does with &keyring-package; to be able to distribute "
2399"updates and key transitions automatically later."
2400msgstr ""
2401
2402#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2403#: apt-secure.8.xml
2404msgid ""
2405"<emphasis>Provide instructions on how to add your archive and key</"
d04e44ac 2406"emphasis>. If your users can't acquire your key securely the chain of trust "
cbbee23e
DK
2407"described above is broken. How you can help users add your key depends on "
2408"your archive and target audience ranging from having your keyring package "
2409"included in another archive users already have configured (like the default "
051029f8 2410"repositories of their distribution) to leveraging the web of trust."
fec6996f
DK
2411msgstr ""
2412
7d76ea1d 2413#. type: Content of: <refentry><refsect1><para>
04f27fae 2414#: apt-secure.8.xml
fec6996f 2415msgid ""
75d9bdba
JR
2416"Whenever the contents of the archive change (new packages are added or "
2417"removed) the archive maintainer has to follow the first two steps outlined "
2418"above."
fec6996f
DK
2419msgstr ""
2420
7d76ea1d 2421#. type: Content of: <refentry><refsect1><para>
04f27fae 2422#: apt-secure.8.xml
fec6996f 2423msgid ""
7d76ea1d 2424"&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
480c2414 2425"&debsign;, &debsig-verify;, &gpg;"
fec6996f
DK
2426msgstr ""
2427
7d76ea1d 2428#. type: Content of: <refentry><refsect1><para>
04f27fae 2429#: apt-secure.8.xml
fec6996f 2430msgid ""
7d76ea1d 2431"For more background information you might want to review the <ulink url="
cbbee23e 2432"\"https://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
051029f8
DK
2433"Security Infrastructure</ulink> chapter of the Securing Debian Manual (also "
2434"available in the harden-doc package) and the <ulink url=\"http://www."
7d76ea1d
DK
2435"cryptnet.net/fdp/crypto/strong_distro.html\" >Strong Distribution HOWTO</"
2436"ulink> by V. Alex Brennen."
fec6996f
DK
2437msgstr ""
2438
7d76ea1d 2439#. type: Content of: <refentry><refsect1><title>
04f27fae 2440#: apt-secure.8.xml
7d76ea1d 2441msgid "Manpage Authors"
6cbb88de
JR
2442msgstr ""
2443
7d76ea1d 2444#. type: Content of: <refentry><refsect1><para>
04f27fae 2445#: apt-secure.8.xml
fec6996f 2446msgid ""
7d76ea1d
DK
2447"This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
2448"Jones, Colin Walters, Florian Weimer and Michael Vogt."
fec6996f
DK
2449msgstr ""
2450
7d76ea1d 2451#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2452#: apt-cdrom.8.xml
7d76ea1d 2453msgid "APT CD-ROM management utility"
fec6996f
DK
2454msgstr ""
2455
7d76ea1d 2456#. type: Content of: <refentry><refsect1><para>
04f27fae 2457#: apt-cdrom.8.xml
fec6996f 2458msgid ""
7d76ea1d
DK
2459"<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
2460"available sources. <command>apt-cdrom</command> takes care of determining "
2461"the structure of the disc as well as correcting for several possible mis-"
2462"burns and verifying the index files."
fec6996f
DK
2463msgstr ""
2464
7d76ea1d 2465#. type: Content of: <refentry><refsect1><para>
04f27fae 2466#: apt-cdrom.8.xml
fec6996f 2467msgid ""
7d76ea1d
DK
2468"It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
2469"system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
2470"must be inserted and scanned separately to account for possible mis-burns."
fec6996f
DK
2471msgstr ""
2472
2473#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2474#: apt-cdrom.8.xml
fec6996f 2475msgid ""
7d76ea1d
DK
2476"<literal>add</literal> is used to add a new disc to the source list. It will "
2477"unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
2478"to scan it and copy the index files. If the disc does not have a proper "
2479"<filename>.disk</filename> directory you will be prompted for a descriptive "
2480"title."
fec6996f
DK
2481msgstr ""
2482
2483#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2484#: apt-cdrom.8.xml
fec6996f 2485msgid ""
7d76ea1d
DK
2486"APT uses a CD-ROM ID to track which disc is currently in the drive and "
2487"maintains a database of these IDs in <filename>&statedir;/cdroms.list</"
2488"filename>"
fec6996f
DK
2489msgstr ""
2490
fec6996f 2491#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2492#: apt-cdrom.8.xml
fec6996f 2493msgid ""
7d76ea1d
DK
2494"A debugging tool to report the identity of the current disc as well as the "
2495"stored file name"
fec6996f
DK
2496msgstr ""
2497
fec6996f 2498#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2499#: apt-cdrom.8.xml
ce34af08
MV
2500msgid ""
2501"Do not try to auto-detect the CD-ROM path. Usually combined with the "
2502"<option>--cdrom</option> option. Configuration Item: <literal>Acquire::"
2503"cdrom::AutoDetect</literal>."
2504msgstr ""
2505
2506#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2507#: apt-cdrom.8.xml
fec6996f 2508msgid ""
7d76ea1d
DK
2509"Mount point; specify the location to mount the CD-ROM. This mount point must "
2510"be listed in <filename>/etc/fstab</filename> and properly configured. "
2511"Configuration Item: <literal>Acquire::cdrom::mount</literal>."
fec6996f
DK
2512msgstr ""
2513
fec6996f 2514#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2515#: apt-cdrom.8.xml
fec6996f 2516msgid ""
7d76ea1d
DK
2517"Rename a disc; change the label of a disc or override the disc's given "
2518"label. This option will cause <command>apt-cdrom</command> to prompt for a "
2519"new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
fec6996f
DK
2520msgstr ""
2521
2522#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2523#: apt-cdrom.8.xml
fec6996f 2524msgid ""
7d76ea1d
DK
2525"No mounting; prevent <command>apt-cdrom</command> from mounting and "
2526"unmounting the mount point. Configuration Item: <literal>APT::CDROM::"
2527"NoMount</literal>."
fec6996f
DK
2528msgstr ""
2529
2530#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2531#: apt-cdrom.8.xml
fec6996f 2532msgid ""
7d76ea1d
DK
2533"Fast Copy; Assume the package files are valid and do not check every "
2534"package. This option should be used only if <command>apt-cdrom</command> has "
2535"been run on this disc before and did not detect any errors. Configuration "
2536"Item: <literal>APT::CDROM::Fast</literal>."
fec6996f
DK
2537msgstr ""
2538
2539#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2540#: apt-cdrom.8.xml
fec6996f 2541msgid ""
7d76ea1d
DK
2542"Thorough Package Scan; This option may be needed with some old Debian "
2543"1.1/1.2 discs that have Package files in strange places. It takes much "
2544"longer to scan the CD but will pick them all up."
fec6996f
DK
2545msgstr ""
2546
2547#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2548#: apt-cdrom.8.xml
fec6996f 2549msgid ""
7d76ea1d
DK
2550"No Changes; Do not change the &sources-list; file and do not write index "
2551"files. Everything is still checked however. Configuration Item: "
2552"<literal>APT::CDROM::NoAct</literal>."
fec6996f
DK
2553msgstr ""
2554
7d76ea1d 2555#. type: Content of: <refentry><refsect1><para>
04f27fae 2556#: apt-cdrom.8.xml
7d76ea1d
DK
2557#, fuzzy
2558msgid "&apt-conf;, &apt-get;, &sources-list;"
2559msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
fec6996f 2560
7d76ea1d 2561#. type: Content of: <refentry><refsect1><para>
04f27fae 2562#: apt-cdrom.8.xml
fec6996f 2563msgid ""
7d76ea1d
DK
2564"<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
2565"on error."
fec6996f
DK
2566msgstr ""
2567
7d76ea1d 2568#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2569#: apt-config.8.xml
7d76ea1d 2570msgid "APT Configuration Query program"
30549c0c
MV
2571msgstr ""
2572
7d76ea1d 2573#. type: Content of: <refentry><refsect1><para>
04f27fae 2574#: apt-config.8.xml
30549c0c 2575msgid ""
7d76ea1d
DK
2576"<command>apt-config</command> is an internal program used by various "
2577"portions of the APT suite to provide consistent configurability. It accesses "
2578"the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
2579"manner that is easy to use for scripted applications."
fec6996f
DK
2580msgstr ""
2581
fec6996f 2582#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2583#: apt-config.8.xml
fec6996f 2584msgid ""
7d76ea1d
DK
2585"shell is used to access the configuration information from a shell script. "
2586"It is given pairs of arguments, the first being a shell variable and the "
2587"second the configuration value to query. As output it lists shell assignment "
2588"commands for each value present. In a shell script it should be used as "
2589"follows:"
fec6996f
DK
2590msgstr ""
2591
7d76ea1d 2592#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
04f27fae 2593#: apt-config.8.xml
7d76ea1d 2594#, no-wrap
fec6996f 2595msgid ""
7d76ea1d
DK
2596"OPTS=\"-f\"\n"
2597"RES=`apt-config shell OPTS MyApp::options`\n"
2598"eval $RES\n"
fec6996f
DK
2599msgstr ""
2600
fec6996f 2601#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2602#: apt-config.8.xml
fec6996f 2603msgid ""
7d76ea1d
DK
2604"This will set the shell environment variable $OPTS to the value of MyApp::"
2605"options with a default of <option>-f</option>."
30549c0c
MV
2606msgstr ""
2607
30549c0c 2608#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2609#: apt-config.8.xml
30549c0c 2610msgid ""
7d76ea1d
DK
2611"The configuration item may be postfixed with a /[fdbi]. f returns file "
2612"names, d returns directories, b returns true or false and i returns an "
2613"integer. Each of the returns is normalized and verified internally."
fec6996f
DK
2614msgstr ""
2615
30549c0c 2616#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2617#: apt-config.8.xml
7d76ea1d 2618msgid "Just show the contents of the configuration space."
30549c0c
MV
2619msgstr ""
2620
fec6996f 2621#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2622#: apt-config.8.xml
fec6996f 2623msgid ""
7d76ea1d
DK
2624"Include options which have an empty value. This is the default, so use --no-"
2625"empty to remove them from the output."
fec6996f
DK
2626msgstr ""
2627
7d76ea1d 2628#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
04f27fae 2629#: apt-config.8.xml
7d76ea1d 2630msgid "&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n"
fec6996f
DK
2631msgstr ""
2632
fec6996f 2633#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2634#: apt-config.8.xml
fec6996f 2635msgid ""
7d76ea1d
DK
2636"Defines the output of each config option. &percnt;t will be replaced with "
2637"its individual name, &percnt;f with its full hierarchical name and &percnt;v "
2638"with its value. Use uppercase letters and special characters in the value "
2639"will be encoded to ensure that it can e.g. be safely used in a quoted-string "
2640"as defined by RFC822. Additionally &percnt;n will be replaced by a newline, "
2641"and &percnt;N by a tab. A &percnt; can be printed by using &percnt;&percnt;."
fec6996f
DK
2642msgstr ""
2643
7d76ea1d 2644#. type: Content of: <refentry><refsect1><para>
04f27fae
MV
2645#: apt-config.8.xml apt-extracttemplates.1.xml apt-sortpkgs.1.xml
2646#: apt-ftparchive.1.xml
7d76ea1d
DK
2647#, fuzzy
2648msgid "&apt-conf;"
fec6996f 2649msgstr ""
7d76ea1d
DK
2650"&apt-docinfo;\n"
2651"\n"
2652" "
fec6996f 2653
7d76ea1d 2654#. type: Content of: <refentry><refsect1><para>
04f27fae 2655#: apt-config.8.xml
fec6996f 2656msgid ""
7d76ea1d
DK
2657"<command>apt-config</command> returns zero on normal operation, decimal 100 "
2658"on error."
fec6996f
DK
2659msgstr ""
2660
7d76ea1d 2661#. type: Content of: <refentry><refentryinfo><author><contrib>
04f27fae 2662#: apt.conf.5.xml
7d76ea1d 2663msgid "Initial documentation of Debug::*."
fec6996f
DK
2664msgstr ""
2665
7d76ea1d 2666#. type: Content of: <refentry><refentryinfo><author><email>
04f27fae 2667#: apt.conf.5.xml
7d76ea1d 2668msgid "dburrows@debian.org"
fec6996f
DK
2669msgstr ""
2670
7d76ea1d 2671#. type: Content of: <refentry><refmeta><manvolnum>
04f27fae 2672#: apt.conf.5.xml apt_preferences.5.xml sources.list.5.xml
7d76ea1d 2673msgid "5"
fec6996f
DK
2674msgstr ""
2675
7d76ea1d 2676#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2677#: apt.conf.5.xml
7d76ea1d 2678msgid "Configuration file for APT"
fec6996f
DK
2679msgstr ""
2680
7d76ea1d 2681#. type: Content of: <refentry><refsect1><para>
04f27fae 2682#: apt.conf.5.xml
c77d6597 2683msgid ""
5723791e
JR
2684"<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
2685"by all the tools in the APT suite of tools, though it is by no means the "
2686"only place options can be set. The suite also shares a common command line "
2687"parser to provide a uniform environment."
c77d6597
MV
2688msgstr ""
2689
7d76ea1d 2690#. type: Content of: <refentry><refsect1><orderedlist><para>
04f27fae 2691#: apt.conf.5.xml
fec6996f 2692msgid ""
7d76ea1d
DK
2693"When an APT tool starts up it will read the configuration files in the "
2694"following order:"
fec6996f
DK
2695msgstr ""
2696
7d76ea1d 2697#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2698#: apt.conf.5.xml
fec6996f 2699msgid ""
7d76ea1d
DK
2700"the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
2701"any)"
fec6996f
DK
2702msgstr ""
2703
7d76ea1d 2704#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2705#: apt.conf.5.xml
c77d6597 2706msgid ""
7d76ea1d
DK
2707"all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
2708"order which have either no or \"<literal>conf</literal>\" as filename "
2709"extension and which only contain alphanumeric, hyphen (-), underscore (_) "
2710"and period (.) characters. Otherwise APT will print a notice that it has "
44477002 2711"ignored a file, unless that file matches a pattern in the <literal>Dir::"
5723791e
JR
2712"Ignore-Files-Silently</literal> configuration list - in which case it will "
2713"be silently ignored."
c77d6597
MV
2714msgstr ""
2715
7d76ea1d 2716#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2717#: apt.conf.5.xml
fec6996f 2718msgid ""
7d76ea1d 2719"the main configuration file specified by <literal>Dir::Etc::main</literal>"
fec6996f
DK
2720msgstr ""
2721
cbbee23e
DK
2722#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2723#: apt.conf.5.xml
2724msgid ""
2725"all options set in the binary specific configuration subtree are moved into "
2726"the root of the tree."
2727msgstr ""
2728
7d76ea1d 2729#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2730#: apt.conf.5.xml
fec6996f 2731msgid ""
7d76ea1d
DK
2732"the command line options are applied to override the configuration "
2733"directives or to load even more configuration files."
fec6996f
DK
2734msgstr ""
2735
7d76ea1d 2736#. type: Content of: <refentry><refsect1><title>
04f27fae 2737#: apt.conf.5.xml
7d76ea1d 2738msgid "Syntax"
fec6996f
DK
2739msgstr ""
2740
7d76ea1d 2741#. type: Content of: <refentry><refsect1><para>
04f27fae 2742#: apt.conf.5.xml
fec6996f 2743msgid ""
7d76ea1d
DK
2744"The configuration file is organized in a tree with options organized into "
2745"functional groups. Option specification is given with a double colon "
5723791e 2746"notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
7d76ea1d
DK
2747"within the APT tool group, for the Get tool. Options do not inherit from "
2748"their parent groups."
a7307a87
DK
2749msgstr ""
2750
7d76ea1d 2751#. type: Content of: <refentry><refsect1><para>
04f27fae 2752#: apt.conf.5.xml
a7307a87 2753msgid ""
7d76ea1d
DK
2754"Syntactically the configuration language is modeled after what the ISC tools "
2755"such as bind and dhcp use. Lines starting with <literal>//</literal> are "
2756"treated as comments (ignored), as well as all text between <literal>/*</"
2757"literal> and <literal>*/</literal>, just like C/C++ comments. Each line is "
5723791e
JR
2758"of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. The "
2759"quotation marks and trailing semicolon are required. The value must be on "
2760"one line, and there is no kind of string concatenation. Values must not "
2761"include backslashes or extra quotation marks. Option names are made up of "
2762"alphanumeric characters and the characters \"/-:._+\". A new scope can be "
2763"opened with curly braces, like this:"
fec6996f
DK
2764msgstr ""
2765
7d76ea1d 2766#. type: Content of: <refentry><refsect1><informalexample><programlisting>
04f27fae 2767#: apt.conf.5.xml
7d76ea1d 2768#, no-wrap
fec6996f 2769msgid ""
7d76ea1d
DK
2770"APT {\n"
2771" Get {\n"
2772" Assume-Yes \"true\";\n"
2773" Fix-Broken \"true\";\n"
2774" };\n"
2775"};\n"
fec6996f
DK
2776msgstr ""
2777
7d76ea1d 2778#. type: Content of: <refentry><refsect1><para>
04f27fae 2779#: apt.conf.5.xml
fec6996f 2780msgid ""
7d76ea1d
DK
2781"with newlines placed to make it more readable. Lists can be created by "
2782"opening a scope and including a single string enclosed in quotes followed by "
5723791e 2783"a semicolon. Multiple entries can be included, separated by a semicolon."
fec6996f
DK
2784msgstr ""
2785
7d76ea1d 2786#. type: Content of: <refentry><refsect1><informalexample><programlisting>
04f27fae 2787#: apt.conf.5.xml
7d76ea1d
DK
2788#, no-wrap
2789msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
fec6996f
DK
2790msgstr ""
2791
7d76ea1d 2792#. type: Content of: <refentry><refsect1><para>
04f27fae 2793#: apt.conf.5.xml
fec6996f 2794msgid ""
00612a8c
DK
2795"In general the sample configuration file &configureindex; is a good guide "
2796"for how it should look."
fec6996f
DK
2797msgstr ""
2798
7d76ea1d 2799#. type: Content of: <refentry><refsect1><para>
04f27fae 2800#: apt.conf.5.xml
fec6996f 2801msgid ""
5723791e
JR
2802"Case is not significant in names of configuration items, so in the previous "
2803"example you could use <literal>dpkg::pre-install-pkgs</literal>."
fec6996f
DK
2804msgstr ""
2805
7d76ea1d 2806#. type: Content of: <refentry><refsect1><para>
04f27fae 2807#: apt.conf.5.xml
fec6996f 2808msgid ""
5723791e
JR
2809"Names for the configuration items are optional if a list is defined as can "
2810"be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
2811"you don't specify a name a new entry will simply add a new option to the "
2812"list. If you specify a name you can override the option in the same way as "
2813"any other option by reassigning a new value to the option."
fec6996f
DK
2814msgstr ""
2815
7d76ea1d 2816#. type: Content of: <refentry><refsect1><para>
04f27fae 2817#: apt.conf.5.xml
fec6996f 2818msgid ""
5723791e
JR
2819"Two special commands are defined: <literal>#include</literal> (which is "
2820"deprecated and not supported by alternative implementations) and "
2821"<literal>#clear</literal>. <literal>#include</literal> will include the "
2822"given file, unless the filename ends in a slash, in which case the whole "
2823"directory is included. <literal>#clear</literal> is used to erase a part of "
2824"the configuration tree. The specified element and all its descendants are "
2825"erased. (Note that these lines also need to end with a semicolon.)"
fec6996f
DK
2826msgstr ""
2827
7d76ea1d 2828#. type: Content of: <refentry><refsect1><para>
04f27fae 2829#: apt.conf.5.xml
fec6996f 2830msgid ""
5723791e
JR
2831"The <literal>#clear</literal> command is the only way to delete a list or a "
2832"complete scope. Reopening a scope (or using the syntax described below with "
2833"an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
2834"previously written entries. Options can only be overridden by addressing a "
2835"new value to them - lists and scopes can't be overridden, only cleared."
fec6996f
DK
2836msgstr ""
2837
7d76ea1d 2838#. type: Content of: <refentry><refsect1><para>
04f27fae 2839#: apt.conf.5.xml
fec6996f 2840msgid ""
5723791e 2841"All of the APT tools take an -o option which allows an arbitrary "
7d76ea1d
DK
2842"configuration directive to be specified on the command line. The syntax is a "
2843"full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
2844"followed by an equals sign then the new value of the option. To append a new "
5723791e
JR
2845"element to a list, add a trailing <literal>::</literal> to the name of the "
2846"list. (As you might suspect, the scope syntax can't be used on the command "
2847"line.)"
fec6996f
DK
2848msgstr ""
2849
7d76ea1d 2850#. type: Content of: <refentry><refsect1><para>
04f27fae 2851#: apt.conf.5.xml
5723791e
JR
2852msgid ""
2853"Note that appending items to a list using <literal>::</literal> only works "
2854"for one item per line, and that you should not use it in combination with "
2855"the scope syntax (which adds <literal>::</literal> implicitly). Using both "
2856"syntaxes together will trigger a bug which some users unfortunately depend "
2857"on: an option with the unusual name \"<literal>::</literal>\" which acts "
2858"like every other option with a name. This introduces many problems; for one "
2859"thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
2860"syntax in the hope of appending to a list will achieve the opposite, as only "
2861"the last assignment for this option \"<literal>::</literal>\" will be used. "
2862"Future versions of APT will raise errors and stop working if they encounter "
2863"this misuse, so please correct such statements now while APT doesn't "
2864"explicitly complain about them."
fec6996f
DK
2865msgstr ""
2866
7d76ea1d 2867#. type: Content of: <refentry><refsect1><title>
04f27fae 2868#: apt.conf.5.xml
7d76ea1d 2869msgid "The APT Group"
fec6996f
DK
2870msgstr ""
2871
fec6996f 2872#. type: Content of: <refentry><refsect1><para>
04f27fae 2873#: apt.conf.5.xml
fec6996f 2874msgid ""
7d76ea1d
DK
2875"This group of options controls general APT behavior as well as holding the "
2876"options for all of the tools."
fec6996f
DK
2877msgstr ""
2878
7d76ea1d 2879#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2880#: apt.conf.5.xml
fec6996f 2881msgid ""
7d76ea1d
DK
2882"System Architecture; sets the architecture to use when fetching files and "
2883"parsing package lists. The internal default is the architecture apt was "
2884"compiled for."
fec6996f
DK
2885msgstr ""
2886
7d76ea1d 2887#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2888#: apt.conf.5.xml
fec6996f 2889msgid ""
5723791e
JR
2890"All Architectures the system supports. For instance, CPUs implementing the "
2891"<literal>amd64</literal> (also called <literal>x86-64</literal>) "
2892"instruction set are also able to execute binaries compiled for the "
2893"<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
2894"is used when fetching files and parsing package lists. The initial default "
2895"is always the system's native architecture (<literal>APT::Architecture</"
2896"literal>), and foreign architectures are added to the default list when they "
2897"are registered via <command>dpkg --add-architecture</command>."
fec6996f
DK
2898msgstr ""
2899
5ff8dd6b
JAK
2900#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2901#: apt.conf.5.xml
2902msgid ""
2903"This scope defines which compression formats are supported, how compression "
2904"and decompression can be performed if support for this format isn't built "
2905"into apt directly and a cost-value indicating how costly it is to compress "
2906"something in this format. As an example the following configuration stanza "
2907"would allow apt to download and uncompress as well as create and store files "
2908"with the low-cost <literal>.reversed</literal> file extension which it will "
2909"pass to the command <command>rev</command> without additional commandline "
2910"parameters for compression and uncompression:"
2911msgstr ""
2912
2913#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><informalexample><programlisting>
2914#: apt.conf.5.xml
2915#, no-wrap
2916msgid ""
2917"APT::Compressor::rev {\n"
2918"\tName \"rev\";\n"
2919"\tExtension \".reversed\";\n"
2920"\tBinary \"rev\";\n"
2921"\tCompressArg {};\n"
2922"\tUncompressArg {};\n"
2923"\tCost \"10\";\n"
2924"};\n"
2925msgstr ""
2926
7d76ea1d 2927#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2928#: apt.conf.5.xml
7ffbb475
MV
2929msgid ""
2930"List of all build profiles enabled for build-dependency resolution, without "
2931"the \"<literal>profile.</literal>\" namespace prefix. By default this list "
2932"is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by &dpkg-"
2933"buildpackage; overrides the list notation."
2934msgstr ""
2935
2936#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2937#: apt.conf.5.xml
7d76ea1d 2938msgid ""
5723791e
JR
2939"Default release to install packages from if more than one version is "
2940"available. Contains release name, codename or release version. Examples: "
9feb98eb
DK
2941"'stable', 'testing', 'unstable', '&debian-stable-codename;', '&debian-"
2942"testing-codename;', '4.0', '5.0*'. See also &apt-preferences;."
fec6996f
DK
2943msgstr ""
2944
fec6996f 2945#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2946#: apt.conf.5.xml
fec6996f 2947msgid ""
5723791e 2948"Ignore held packages; this global option causes the problem resolver to "
7d76ea1d 2949"ignore held packages in its decision making."
fec6996f
DK
2950msgstr ""
2951
fec6996f 2952#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2953#: apt.conf.5.xml
7d76ea1d
DK
2954msgid ""
2955"Defaults to on. When turned on the autoclean feature will remove any "
2956"packages which can no longer be downloaded from the cache. If turned off "
2957"then packages that are locally installed are also excluded from cleaning - "
2958"but note that APT provides no direct means to reinstall them."
fec6996f
DK
2959msgstr ""
2960
fec6996f 2961#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2962#: apt.conf.5.xml
5723791e
JR
2963msgid ""
2964"Defaults to on, which will cause APT to install essential and important "
2965"packages as soon as possible in an install/upgrade operation, in order to "
2966"limit the effect of a failing &dpkg; call. If this option is disabled, APT "
2967"treats an important package in the same way as an extra package: between the "
2968"unpacking of the package A and its configuration there can be many other "
2969"unpack or configuration calls for other unrelated packages B, C etc. If "
2970"these cause the &dpkg; call to fail (e.g. because package B's maintainer "
2971"scripts generate an error), this results in a system state in which package "
2972"A is unpacked but unconfigured - so any package depending on A is now no "
2973"longer guaranteed to work, as its dependency on A is no longer satisfied."
2974msgstr ""
2975
2976#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2977#: apt.conf.5.xml
7d76ea1d 2978msgid ""
5723791e
JR
2979"The immediate configuration marker is also applied in the potentially "
2980"problematic case of circular dependencies, since a dependency with the "
2981"immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
2982"to recognise a situation in which it is unable to perform immediate "
2983"configuration, abort, and suggest to the user that the option should be "
2984"temporarily deactivated in order to allow the operation to proceed. Note "
2985"the use of the word \"theory\" here; in the real world this problem has "
2986"rarely been encountered, in non-stable distribution versions, and was caused "
2987"by wrong dependencies of the package in question or by a system in an "
2988"already broken state; so you should not blindly disable this option, as the "
2989"scenario mentioned above is not the only problem it can help to prevent in "
2990"the first place."
fec6996f
DK
2991msgstr ""
2992
fec6996f 2993#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2994#: apt.conf.5.xml
7d76ea1d 2995msgid ""
5723791e
JR
2996"Before a big operation like <literal>dist-upgrade</literal> is run with this "
2997"option disabled you should try to explicitly <literal>install</literal> the "
2998"package APT is unable to configure immediately; but please make sure you "
2999"also report your problem to your distribution and to the APT team with the "
3000"buglink below, so they can work on improving or correcting the upgrade "
3001"process."
fec6996f
DK
3002msgstr ""
3003
fec6996f 3004#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3005#: apt.conf.5.xml
5723791e
JR
3006msgid ""
3007"Never enable this option unless you <emphasis>really</emphasis> know what "
3008"you are doing. It permits APT to temporarily remove an essential package to "
3009"break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
3010"essential packages. <emphasis>Such a loop should never exist and is a grave "
3011"bug</emphasis>. This option will work if the essential packages are not "
3012"<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
3013"<command>dpkg</command>, <command>dash</command> or anything that those "
3014"packages depend on."
3015msgstr ""
3016
3017#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3018#: apt.conf.5.xml
7d76ea1d
DK
3019msgid ""
3020"APT uses since version 0.7.26 a resizable memory mapped cache file to store "
5723791e
JR
3021"the available information. <literal>Cache-Start</literal> acts as a hint of "
3022"the size the cache will grow to, and is therefore the amount of memory APT "
7d76ea1d 3023"will request at startup. The default value is 20971520 bytes (~20 MB). Note "
5723791e 3024"that this amount of space needs to be available for APT; otherwise it will "
7d76ea1d
DK
3025"likely fail ungracefully, so for memory restricted devices this value should "
3026"be lowered while on systems with a lot of configured sources it should be "
3027"increased. <literal>Cache-Grow</literal> defines in bytes with the default "
5723791e
JR
3028"of 1048576 (~1 MB) how much the cache size will be increased in the event "
3029"the space defined by <literal>Cache-Start</literal> is not enough. This "
7d76ea1d
DK
3030"value will be applied again and again until either the cache is big enough "
3031"to store all information or the size of the cache reaches the <literal>Cache-"
3032"Limit</literal>. The default of <literal>Cache-Limit</literal> is 0 which "
3033"stands for no limit. If <literal>Cache-Grow</literal> is set to 0 the "
5723791e 3034"automatic growth of the cache is disabled."
fec6996f
DK
3035msgstr ""
3036
fec6996f 3037#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3038#: apt.conf.5.xml
5723791e 3039msgid "Defines which packages are considered essential build dependencies."
fec6996f
DK
3040msgstr ""
3041
fec6996f 3042#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3043#: apt.conf.5.xml
fec6996f 3044msgid ""
5723791e 3045"The Get subsection controls the &apt-get; tool; please see its documentation "
7d76ea1d 3046"for more information about the options here."
fec6996f
DK
3047msgstr ""
3048
3049#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3050#: apt.conf.5.xml
fec6996f 3051msgid ""
5723791e 3052"The Cache subsection controls the &apt-cache; tool; please see its "
7d76ea1d 3053"documentation for more information about the options here."
fec6996f
DK
3054msgstr ""
3055
782486e8 3056#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3057#: apt.conf.5.xml
782486e8 3058msgid ""
5723791e 3059"The CDROM subsection controls the &apt-cdrom; tool; please see its "
7d76ea1d 3060"documentation for more information about the options here."
782486e8
MV
3061msgstr ""
3062
7d76ea1d 3063#. type: Content of: <refentry><refsect1><title>
04f27fae 3064#: apt.conf.5.xml
7d76ea1d 3065msgid "The Acquire Group"
b39c1859
MV
3066msgstr ""
3067
7d76ea1d 3068#. type: Content of: <refentry><refsect1><para>
04f27fae 3069#: apt.conf.5.xml
b39c1859 3070msgid ""
7d76ea1d 3071"The <literal>Acquire</literal> group of options controls the download of "
5723791e
JR
3072"packages as well as the various \"acquire methods\" responsible for the "
3073"download itself (see also &sources-list;)."
b39c1859
MV
3074msgstr ""
3075
5723791e 3076#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3077#: apt.conf.5.xml
7d76ea1d 3078msgid ""
5723791e
JR
3079"Security related option defaulting to true, as giving a Release file's "
3080"validation an expiration date prevents replay attacks over a long timescale, "
3081"and can also for example help users to identify mirrors that are no longer "
3082"updated - but the feature depends on the correctness of the clock on the "
3083"user system. Archive maintainers are encouraged to create Release files with "
3084"the <literal>Valid-Until</literal> header, but if they don't or a stricter "
3085"value is desired the <literal>Max-ValidTime</literal> option below can be "
864fe99c
MV
3086"used. The <option>Check-Valid-Until</option> option of &sources-list; "
3087"entries should be preferred to disable the check selectively instead of "
3088"using this global override."
fec6996f
DK
3089msgstr ""
3090
5723791e 3091#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3092#: apt.conf.5.xml
7d76ea1d 3093msgid ""
5723791e
JR
3094"Maximum time (in seconds) after its creation (as indicated by the "
3095"<literal>Date</literal> header) that the <filename>Release</filename> file "
3096"should be considered valid. If the Release file itself includes a "
3097"<literal>Valid-Until</literal> header the earlier date of the two is used as "
3098"the expiration date. The default value is <literal>0</literal> which stands "
3099"for \"valid forever\". Archive specific settings can be made by appending "
864fe99c
MV
3100"the label of the archive to the option name. Preferably, the same can be "
3101"achieved for specific &sources-list; entries by using the <option>Valid-"
3102"Until-Max</option> option there."
fec6996f
DK
3103msgstr ""
3104
5723791e 3105#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3106#: apt.conf.5.xml
7d76ea1d 3107msgid ""
5723791e
JR
3108"Minimum time (in seconds) after its creation (as indicated by the "
3109"<literal>Date</literal> header) that the <filename>Release</filename> file "
3110"should be considered valid. Use this if you need to use a seldom updated "
3111"(local) mirror of a more frequently updated archive with a <literal>Valid-"
3112"Until</literal> header instead of completely disabling the expiration date "
3113"checking. Archive specific settings can and should be used by appending the "
864fe99c
MV
3114"label of the archive to the option name. Preferably, the same can be "
3115"achieved for specific &sources-list; entries by using the <option>Valid-"
3116"Until-Min</option> option there."
fec6996f
DK
3117msgstr ""
3118
5723791e 3119#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3120#: apt.conf.5.xml
fec6996f 3121msgid ""
5723791e
JR
3122"Try to download deltas called <literal>PDiffs</literal> for indexes (like "
3123"<filename>Packages</filename> files) instead of downloading whole ones. True "
e49dd9d3
MV
3124"by default. Preferably, this can be set for specific &sources-list; entries "
3125"or index files by using the <option>PDiffs</option> option there."
fec6996f
DK
3126msgstr ""
3127
5723791e 3128#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3129#: apt.conf.5.xml
7d76ea1d 3130msgid ""
5723791e
JR
3131"Two sub-options to limit the use of PDiffs are also available: "
3132"<literal>FileLimit</literal> can be used to specify a maximum number of "
3133"PDiff files should be downloaded to update a file. <literal>SizeLimit</"
3134"literal> on the other hand is the maximum percentage of the size of all "
3135"patches compared to the size of the targeted file. If one of these limits is "
3136"exceeded the complete file is downloaded instead of the patches."
fec6996f
DK
3137msgstr ""
3138
5723791e 3139#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae
MV
3140#: apt.conf.5.xml
3141msgid ""
3142"Try to download indexes via an URI constructed from a hashsum of the "
3143"expected file rather than downloaded via a well-known stable filename. True "
3144"by default, but automatically disabled if the source indicates no support "
3145"for it. Usage can be forced with the special value \"force\". Preferably, "
3146"this can be set for specific &sources-list; entries or index files by using "
3147"the <option>By-Hash</option> option there."
3148msgstr ""
3149
3150#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3151#: apt.conf.5.xml
7d76ea1d
DK
3152msgid ""
3153"Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</"
3154"literal> or <literal>access</literal> which determines how APT parallelizes "
3155"outgoing connections. <literal>host</literal> means that one connection per "
3156"target host will be opened, <literal>access</literal> means that one "
3157"connection per URI type will be opened."
fec6996f
DK
3158msgstr ""
3159
5723791e 3160#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3161#: apt.conf.5.xml
fec6996f 3162msgid ""
7d76ea1d
DK
3163"Number of retries to perform. If this is non-zero APT will retry failed "
3164"files the given number of times."
fec6996f
DK
3165msgstr ""
3166
5723791e 3167#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3168#: apt.conf.5.xml
fec6996f 3169msgid ""
7d76ea1d
DK
3170"Use symlinks for source archives. If set to true then source archives will "
3171"be symlinked when possible instead of copying. True is the default."
fec6996f
DK
3172msgstr ""
3173
5723791e 3174#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3175#: apt.conf.5.xml
fec6996f 3176msgid ""
5723791e
JR
3177"<literal>http::Proxy</literal> sets the default proxy to use for HTTP URIs. "
3178"It is in the standard form of <literal>http://[[user][:pass]@]host[:port]/</"
3179"literal>. Per host proxies can also be specified by using the form "
3180"<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
3181"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
3182"settings is specified, <envar>http_proxy</envar> environment variable will "
3183"be used."
fec6996f
DK
3184msgstr ""
3185
5723791e 3186#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3187#: apt.conf.5.xml
fec6996f 3188msgid ""
7d76ea1d 3189"Three settings are provided for cache control with HTTP/1.1 compliant proxy "
5723791e
JR
3190"caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
3191"response under any circumstances. <literal>Max-Age</literal> sets the "
3192"allowed maximum age (in seconds) of an index file in the cache of the "
3193"proxy. <literal>No-Store</literal> specifies that the proxy should not "
3194"store the requested archive files in its cache, which can be used to prevent "
3195"the proxy from polluting its cache with (big) .deb files."
fec6996f
DK
3196msgstr ""
3197
5723791e 3198#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3199#: apt.conf.5.xml
fec6996f 3200msgid ""
7d76ea1d 3201"The option <literal>timeout</literal> sets the timeout timer used by the "
5723791e 3202"method; this value applies to the connection as well as the data timeout."
fec6996f
DK
3203msgstr ""
3204
5723791e 3205#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3206#: apt.conf.5.xml
fec6996f 3207msgid ""
7d76ea1d 3208"The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
5723791e
JR
3209"enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial e."
3210"g. on high-latency connections. It specifies how many requests are sent in a "
34984adb
MV
3211"pipeline. APT tries to detect and workaround misbehaving webservers and "
3212"proxies at runtime, but if you know that yours does not conform to the "
3213"HTTP/1.1 specification pipelining can be disabled by setting the value to 0. "
3214"It is enabled by default with the value 10."
fec6996f
DK
3215msgstr ""
3216
5723791e 3217#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3218#: apt.conf.5.xml
fec6996f 3219msgid ""
5723791e
JR
3220"<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
3221"follow redirects, which is enabled by default."
fec6996f
DK
3222msgstr ""
3223
5723791e 3224#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3225#: apt.conf.5.xml
782486e8 3226msgid ""
7d76ea1d 3227"The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
ce34af08
MV
3228"literal> which accepts integer values in kilobytes per second. The default "
3229"value is 0 which deactivates the limit and tries to use all available "
3230"bandwidth. Note that this option implicitly disables downloading from "
3231"multiple servers at the same time."
fec6996f
DK
3232msgstr ""
3233
5723791e 3234#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3235#: apt.conf.5.xml
782486e8 3236msgid ""
7d76ea1d
DK
3237"<literal>Acquire::http::User-Agent</literal> can be used to set a different "
3238"User-Agent for the http download method as some proxies allow access for "
3239"clients only if the client uses a known identifier."
fec6996f
DK
3240msgstr ""
3241
5723791e 3242#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3243#: apt.conf.5.xml
782486e8 3244msgid ""
ce34af08 3245"<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
14e325c7
JAK
3246"an external command to discover the http proxy to use. The first and only "
3247"parameter is an URI denoting the host to be contacted to allow for host-"
3248"specific configuration. APT expects the command to output the proxy on "
3249"stdout as a single line in the style <literal>http://proxy:port/</literal> "
3250"or the word <literal>DIRECT</literal> if no proxy should be used. No output "
3251"indicates that the generic proxy settings should be used. Note that auto-"
3252"detection will not be used for a host if a host-specific proxy configuration "
3253"is already set via <literal>Acquire::http::Proxy::<replaceable>HOST</"
3254"replaceable></literal>. See the &squid-deb-proxy-client; package for an "
3255"example implementation that uses avahi. This option takes precedence over "
3256"the legacy option name <literal>ProxyAutoDetect</literal>."
ce34af08
MV
3257msgstr ""
3258
3259#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3260#: apt.conf.5.xml
ce34af08 3261msgid ""
5723791e
JR
3262"The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
3263"<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
3264"<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
3265"the <literal>http</literal> method, and default to the same values if they "
3266"are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
3267"yet supported."
fec6996f
DK
3268msgstr ""
3269
5723791e 3270#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3271#: apt.conf.5.xml
fec6996f 3272msgid ""
7d76ea1d 3273"<literal>CaInfo</literal> suboption specifies place of file that holds info "
5723791e 3274"about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is the "
7d76ea1d 3275"corresponding per-host option. <literal>Verify-Peer</literal> boolean "
5723791e
JR
3276"suboption determines whether or not the server's host certificate should be "
3277"verified against trusted certificates. <literal>&lt;host&gt;::Verify-Peer</"
3278"literal> is the corresponding per-host option. <literal>Verify-Host</"
3279"literal> boolean suboption determines whether or not the server's hostname "
3280"should be verified. <literal>&lt;host&gt;::Verify-Host</literal> is the "
3281"corresponding per-host option. <literal>SslCert</literal> determines what "
3282"certificate to use for client authentication. <literal>&lt;host&gt;::"
3283"SslCert</literal> is the corresponding per-host option. <literal>SslKey</"
3284"literal> determines what private key to use for client authentication. "
3285"<literal>&lt;host&gt;::SslKey</literal> is the corresponding per-host "
3286"option. <literal>SslForceVersion</literal> overrides default SSL version to "
3287"use. It can contain either of the strings '<literal>TLSv1</literal>' or "
3288"'<literal>SSLv3</literal>'. <literal>&lt;host&gt;::SslForceVersion</"
3289"literal> is the corresponding per-host option."
3290msgstr ""
3291
3292#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3293#: apt.conf.5.xml
5723791e
JR
3294msgid ""
3295"<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
3296"It is in the standard form of <literal>ftp://[[user][:pass]@]host[:port]/</"
3297"literal>. Per host proxies can also be specified by using the form "
3298"<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
3299"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
3300"settings is specified, <envar>ftp_proxy</envar> environment variable will be "
3301"used. To use an FTP proxy you will have to set the <literal>ftp::ProxyLogin</"
3302"literal> script in the configuration file. This entry specifies the commands "
3303"to send to tell the proxy server what to connect to. Please see "
3304"&configureindex; for an example of how to do this. The substitution "
3305"variables representing the corresponding URI component are <literal>"
3306"$(PROXY_USER)</literal>, <literal>$(PROXY_PASS)</literal>, <literal>"
3307"$(SITE_USER)</literal>, <literal>$(SITE_PASS)</literal>, <literal>$(SITE)</"
3308"literal> and <literal>$(SITE_PORT)</literal>."
fec6996f
DK
3309msgstr ""
3310
5723791e 3311#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3312#: apt.conf.5.xml
fec6996f 3313msgid ""
7d76ea1d 3314"Several settings are provided to control passive mode. Generally it is safe "
5723791e
JR
3315"to leave passive mode on; it works in nearly every environment. However, "
3316"some situations require that passive mode be disabled and port mode FTP used "
3317"instead. This can be done globally or for connections that go through a "
3318"proxy or for a specific host (see the sample config file for examples)."
fec6996f
DK
3319msgstr ""
3320
5723791e 3321#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3322#: apt.conf.5.xml
fec6996f 3323msgid ""
7d76ea1d 3324"It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</"
5723791e 3325"envar> environment variable to an HTTP URL - see the discussion of the http "
7d76ea1d
DK
3326"method above for syntax. You cannot set this in the configuration file and "
3327"it is not recommended to use FTP over HTTP due to its low efficiency."
fec6996f
DK
3328msgstr ""
3329
5723791e 3330#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3331#: apt.conf.5.xml
fec6996f 3332msgid ""
7d76ea1d
DK
3333"The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
3334"<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
3335"false, which means these commands are only used if the control connection is "
3336"IPv6. Setting this to true forces their use even on IPv4 connections. Note "
3337"that most FTP servers do not support RFC2428."
fec6996f
DK
3338msgstr ""
3339
5723791e 3340#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
04f27fae 3341#: apt.conf.5.xml
7d76ea1d
DK
3342#, no-wrap
3343msgid "/cdrom/::Mount \"foo\";"
fec6996f
DK
3344msgstr ""
3345
5723791e 3346#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3347#: apt.conf.5.xml
fec6996f 3348msgid ""
5723791e
JR
3349"For URIs using the <literal>cdrom</literal> method, the only configurable "
3350"option is the mount point, <literal>cdrom::Mount</literal>, which must be "
3351"the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
3352"<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
3353"and unmount commands if your mount point cannot be listed in the fstab. The "
7d76ea1d 3354"syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
5723791e
JR
3355"<literal>cdrom</literal> block. It is important to have the trailing slash. "
3356"Unmount commands can be specified using UMount."
fec6996f
DK
3357msgstr ""
3358
5723791e 3359#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3360#: apt.conf.5.xml
fec6996f 3361msgid ""
5723791e
JR
3362"For GPGV URIs the only configurable option is <literal>gpgv::Options</"
3363"literal>, which passes additional parameters to gpgv."
fec6996f
DK
3364msgstr ""
3365
5723791e 3366#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
04f27fae 3367#: apt.conf.5.xml
7d76ea1d
DK
3368#, no-wrap
3369msgid "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
fec6996f
DK
3370msgstr ""
3371
5723791e 3372#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3373#: apt.conf.5.xml
fec6996f 3374msgid ""
7d76ea1d
DK
3375"List of compression types which are understood by the acquire methods. "
3376"Files like <filename>Packages</filename> can be available in various "
5ff8dd6b
JAK
3377"compression formats. By default the acquire methods can decompress and "
3378"recompress many common formats like <command>xz</command> and <command>gzip</"
3379"command>; with this scope the supported formats can be queried, modified as "
3380"well as support for more formats added (see also <option>APT::Compressor</"
3381"option>). The syntax for this is: <placeholder type=\"synopsis\" id=\"0\"/>"
fec6996f
DK
3382msgstr ""
3383
5723791e 3384#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
04f27fae 3385#: apt.conf.5.xml
7d76ea1d
DK
3386#, no-wrap
3387msgid "Acquire::CompressionTypes::Order:: \"gz\";"
3388msgstr ""
3389
5723791e 3390#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
04f27fae 3391#: apt.conf.5.xml
7d76ea1d 3392#, no-wrap
5ff8dd6b 3393msgid "Acquire::CompressionTypes::Order { \"xz\"; \"gz\"; };"
7d76ea1d
DK
3394msgstr ""
3395
5723791e 3396#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3397#: apt.conf.5.xml
fec6996f 3398msgid ""
5723791e 3399"Also, the <literal>Order</literal> subgroup can be used to define in which "
7d76ea1d
DK
3400"order the acquire system will try to download the compressed files. The "
3401"acquire system will try the first and proceed with the next compression type "
5723791e 3402"in this list on error, so to prefer one over the other type simply add the "
5ff8dd6b
JAK
3403"preferred type first - types not already added will be implicitly appended "
3404"to the end of the list, so e.g. <placeholder type=\"synopsis\" id=\"0\"/> "
3405"can be used to prefer <command>gzip</command> compressed files over all "
3406"other compression formats. If <command>xz</command> should be preferred "
3407"over <command>gzip</command> and <command>bzip2</command> the configure "
3408"setting should look like this: <placeholder type=\"synopsis\" id=\"1\"/> It "
3409"is not needed to add <literal>bz2</literal> to the list explicitly as it "
3410"will be added automatically."
fec6996f
DK
3411msgstr ""
3412
5723791e 3413#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
04f27fae 3414#: apt.conf.5.xml
7d76ea1d
DK
3415#, no-wrap
3416msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
3417msgstr ""
3418
5723791e 3419#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3420#: apt.conf.5.xml
fec6996f 3421msgid ""
5723791e 3422"Note that the <literal>Dir::Bin::<replaceable>Methodname</replaceable></"
5ff8dd6b
JAK
3423"literal> will be checked at run time. If this option has been set and "
3424"support for this format isn't directly built into apt, the method will only "
3425"be used if this file exists; e.g. for the <literal>bzip2</literal> method "
3426"(the inbuilt) setting is: <placeholder type=\"literallayout\" id=\"0\"/> "
3427"Note also that list entries specified on the command line will be added at "
3428"the end of the list specified in the configuration files, but before the "
3429"default entries. To prefer a type in this case over the ones specified in "
3430"the configuration files you can set the option direct - not in list style. "
3431"This will not override the defined list; it will only prefix the list with "
3432"this type."
fec6996f
DK
3433msgstr ""
3434
5723791e 3435#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3436#: apt.conf.5.xml
fec6996f 3437msgid ""
7d76ea1d
DK
3438"The special type <literal>uncompressed</literal> can be used to give "
3439"uncompressed files a preference, but note that most archives don't provide "
3440"uncompressed files so this is mostly only useable for local mirrors."
fec6996f
DK
3441msgstr ""
3442
5723791e 3443#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3444#: apt.conf.5.xml
fec6996f 3445msgid ""
7d76ea1d
DK
3446"When downloading <literal>gzip</literal> compressed indexes (Packages, "
3447"Sources, or Translations), keep them gzip compressed locally instead of "
3448"unpacking them. This saves quite a lot of disk space at the expense of more "
3449"CPU requirements when building the local package caches. False by default."
fec6996f
DK
3450msgstr ""
3451
5723791e 3452#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3453#: apt.conf.5.xml
fec6996f 3454msgid ""
7d76ea1d 3455"The Languages subsection controls which <filename>Translation</filename> "
5723791e
JR
3456"files are downloaded and in which order APT tries to display the description-"
3457"translations. APT will try to display the first available description in the "
3458"language which is listed first. Languages can be defined with their short or "
3459"long language codes. Note that not all archives provide "
3460"<filename>Translation</filename> files for every language - the long "
3461"language codes are especially rare."
fec6996f
DK
3462msgstr ""
3463
5723791e 3464#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
04f27fae 3465#: apt.conf.5.xml
7d76ea1d
DK
3466#, no-wrap
3467msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
fec6996f
DK
3468msgstr ""
3469
5723791e 3470#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3471#: apt.conf.5.xml
fec6996f 3472msgid ""
7d76ea1d 3473"The default list includes \"environment\" and \"en\". "
5723791e
JR
3474"\"<literal>environment</literal>\" has a special meaning here: it will be "
3475"replaced at runtime with the language codes extracted from the "
7d76ea1d
DK
3476"<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
3477"that these codes are not included twice in the list. If "
3478"<literal>LC_MESSAGES</literal> is set to \"C\" only the "
3479"<filename>Translation-en</filename> file (if available) will be used. To "
5723791e 3480"force APT to use no Translation file use the setting <literal>Acquire::"
7d76ea1d 3481"Languages=none</literal>. \"<literal>none</literal>\" is another special "
5723791e
JR
3482"meaning code which will stop the search for a suitable "
3483"<filename>Translation</filename> file. This tells APT to download these "
3484"translations too, without actually using them unless the environment "
3485"specifies the languages. So the following example configuration will result "
3486"in the order \"en, de\" in an English locale or \"de, en\" in a German one. "
3487"Note that \"fr\" is downloaded, but not used unless APT is used in a French "
3488"locale (where the order would be \"fr, de, en\"). <placeholder type="
3489"\"programlisting\" id=\"0\"/>"
fec6996f
DK
3490msgstr ""
3491
5723791e 3492#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3493#: apt.conf.5.xml
fec6996f 3494msgid ""
7d76ea1d
DK
3495"Note: To prevent problems resulting from APT being executed in different "
3496"environments (e.g. by different users or by other programs) all Translation "
3497"files which are found in <filename>/var/lib/apt/lists/</filename> will be "
3498"added to the end of the list (after an implicit \"<literal>none</literal>\")."
fec6996f
DK
3499msgstr ""
3500
c1b21367 3501#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3502#: apt.conf.5.xml
c1b21367
MV
3503msgid "When downloading, force to use only the IPv4 protocol."
3504msgstr ""
3505
3506#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3507#: apt.conf.5.xml
c1b21367
MV
3508msgid "When downloading, force to use only the IPv6 protocol."
3509msgstr ""
3510
5b1e4e86 3511#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3512#: apt.conf.5.xml
5b1e4e86
MV
3513msgid ""
3514"The maximum file size of Release/Release.gpg/InRelease files. The default "
3515"is 10MB."
3516msgstr ""
3517
3518#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3519#: apt.conf.5.xml
864fe99c
MV
3520msgid ""
3521"This option controls if apt will use the DNS SRV server record as specified "
3522"in RFC 2782 to select an alternative server to connect to. The default is "
3523"\"true\"."
3524msgstr ""
3525
3526#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3527#: apt.conf.5.xml
5b1e4e86 3528msgid ""
14e325c7
JAK
3529"Allow update operations to load data files from repositories without "
3530"sufficient security information. The default value is \"<literal>false</"
3531"literal>\". Concept, implications as well as alternatives are detailed in "
3532"&apt-secure;."
3533msgstr ""
3534
3535#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3536#: apt.conf.5.xml
3537msgid ""
3538"Allow update operations to load data files from repositories which provide "
3539"security information, but these are deemed no longer cryptographically "
3540"strong enough. The default value is \"<literal>false</literal>\". Concept, "
3541"implications as well as alternatives are detailed in &apt-secure;."
5b1e4e86
MV
3542msgstr ""
3543
3544#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3545#: apt.conf.5.xml
5b1e4e86
MV
3546msgid ""
3547"Allow that a repository that was previously gpg signed to become unsigned "
14e325c7
JAK
3548"during an update operation. When there is no valid signature for a "
3549"previously trusted repository apt will refuse the update. This option can be "
3550"used to override this protection. You almost certainly never want to enable "
3551"this. The default is <literal>false</literal>. Concept, implications as "
3552"well as alternatives are detailed in &apt-secure;."
5b1e4e86
MV
3553msgstr ""
3554
864fe99c 3555#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 3556#: apt.conf.5.xml
864fe99c
MV
3557msgid "scope"
3558msgstr ""
3559
3560#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3561#: apt.conf.5.xml
864fe99c
MV
3562msgid ""
3563"Acquiring changelogs can only be done if an URI is known from where to get "
3564"them. Preferable the Release file indicates this in a 'Changelogs' field. "
3565"If this isn't available the Label/Origin field of the Release file is used "
3566"to check if a <literal>Acquire::Changelogs::URI::Label::<replaceable>LABEL</"
3567"replaceable></literal> or <literal>Acquire::Changelogs::URI::Origin::"
3568"<replaceable>ORIGIN</replaceable></literal> option exists and if so this "
3569"value is taken. The value in the Release file can be overridden with "
3570"<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</"
3571"replaceable></literal> or <literal>Acquire::Changelogs::URI::Override::"
3572"Origin::<replaceable>ORIGIN</replaceable></literal>. The value should be a "
2ffd3535 3573"normal URI to a text file, except that package specific data is replaced "
b3c63712
JAK
3574"with the placeholder <literal>@CHANGEPATH@</literal>. The value for it is: "
3575"1. if the package is from a component (e.g. <literal>main</literal>) this "
3576"is the first part otherwise it is omitted, 2. the first letter of source "
2ffd3535 3577"package name, except if the source package name starts with '<literal>lib</"
864fe99c
MV
3578"literal>' in which case it will be the first four letters. 3. The complete "
3579"source package name. 4. the complete name again and 5. the source version. "
3580"The first (if present), second, third and fourth part are separated by a "
3581"slash ('<literal>/</literal>') and between the fourth and fifth part is an "
3582"underscore ('<literal>_</literal>'). The special value '<literal>no</"
3583"literal>' is available for this option indicating that this source can't be "
3584"used to acquire changelog files from. Another source will be tried if "
3585"available in this case."
3586msgstr ""
3587
cbbee23e
DK
3588#. type: Content of: <refentry><refsect1><title>
3589#: apt.conf.5.xml
3590msgid "Binary specific configuration"
3591msgstr ""
3592
3593#. type: Content of: <refentry><refsect1><para>
3594#: apt.conf.5.xml
3595msgid ""
3596"Especially with the introduction of the <command>apt</command> binary it can "
3597"be useful to set certain options only for a specific binary as even options "
3598"which look like they would effect only a certain binary like <option>APT::"
3599"Get::Show-Versions</option> effect <command>apt-get</command> as well as "
3600"<command>apt</command>."
3601msgstr ""
3602
3603#. type: Content of: <refentry><refsect1><para>
3604#: apt.conf.5.xml
3605msgid ""
3606"Setting an option for a specific binary only can be achieved by setting the "
3607"option inside the <option>Binary::<replaceable>specific-binary</"
3608"replaceable></option> scope. Setting the option <option>APT::Get::Show-"
3609"Versions</option> for the <command>apt</command> only can e.g. by done by "
3610"setting <option>Binary::apt::APT::Get::Show-Versions</option> instead."
3611msgstr ""
3612
3613#. type: Content of: <refentry><refsect1><para>
3614#: apt.conf.5.xml
3615msgid ""
3616"Note that as seen in the DESCRIPTION section further above you can't set "
3617"binary-specific options on the commandline itself nor in configuration files "
3618"loaded via the commandline."
3619msgstr ""
3620
fec6996f 3621#. type: Content of: <refentry><refsect1><title>
04f27fae 3622#: apt.conf.5.xml
7d76ea1d 3623msgid "Directories"
fec6996f
DK
3624msgstr ""
3625
3626#. type: Content of: <refentry><refsect1><para>
04f27fae 3627#: apt.conf.5.xml
fec6996f 3628msgid ""
7d76ea1d
DK
3629"The <literal>Dir::State</literal> section has directories that pertain to "
3630"local state information. <literal>lists</literal> is the directory to place "
3631"downloaded package lists in and <literal>status</literal> is the name of the "
5723791e 3632"&dpkg; status file. <literal>preferences</literal> is the name of the APT "
7d76ea1d 3633"<filename>preferences</filename> file. <literal>Dir::State</literal> "
5723791e 3634"contains the default directory to prefix on all sub-items if they do not "
7d76ea1d 3635"start with <filename>/</filename> or <filename>./</filename>."
fec6996f
DK
3636msgstr ""
3637
7d76ea1d 3638#. type: Content of: <refentry><refsect1><para>
04f27fae 3639#: apt.conf.5.xml
fec6996f 3640msgid ""
7d76ea1d
DK
3641"<literal>Dir::Cache</literal> contains locations pertaining to local cache "
3642"information, such as the two package caches <literal>srcpkgcache</literal> "
3643"and <literal>pkgcache</literal> as well as the location to place downloaded "
3644"archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
1e7ec0d8
MV
3645"be turned off by setting <literal>pkgcache</literal> or "
3646"<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow "
5723791e 3647"down startup but save disk space. It is probably preferable to turn off the "
1e7ec0d8
MV
3648"pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> "
3649"the default directory is contained in <literal>Dir::Cache</literal>"
fec6996f
DK
3650msgstr ""
3651
7d76ea1d 3652#. type: Content of: <refentry><refsect1><para>
04f27fae 3653#: apt.conf.5.xml
fec6996f 3654msgid ""
7d76ea1d
DK
3655"<literal>Dir::Etc</literal> contains the location of configuration files, "
3656"<literal>sourcelist</literal> gives the location of the sourcelist and "
3657"<literal>main</literal> is the default configuration file (setting has no "
3658"effect, unless it is done from the config file specified by "
3659"<envar>APT_CONFIG</envar>)."
fec6996f
DK
3660msgstr ""
3661
7d76ea1d 3662#. type: Content of: <refentry><refsect1><para>
04f27fae 3663#: apt.conf.5.xml
fec6996f 3664msgid ""
7d76ea1d
DK
3665"The <literal>Dir::Parts</literal> setting reads in all the config fragments "
3666"in lexical order from the directory specified. After this is done then the "
3667"main config file is loaded."
fec6996f
DK
3668msgstr ""
3669
3670#. type: Content of: <refentry><refsect1><para>
04f27fae 3671#: apt.conf.5.xml
fec6996f 3672msgid ""
7d76ea1d
DK
3673"Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::"
3674"Bin::Methods</literal> specifies the location of the method handlers and "
3675"<literal>gzip</literal>, <literal>bzip2</literal>, <literal>lzma</literal>, "
3676"<literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</"
3677"literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</"
3678"literal> specify the location of the respective programs."
fec6996f
DK
3679msgstr ""
3680
3681#. type: Content of: <refentry><refsect1><para>
04f27fae 3682#: apt.conf.5.xml
fec6996f 3683msgid ""
7d76ea1d 3684"The configuration item <literal>RootDir</literal> has a special meaning. If "
864fe99c
MV
3685"set, all paths will be relative to <literal>RootDir</literal>, "
3686"<emphasis>even paths that are specified absolutely</emphasis>. So, for "
3687"instance, if <literal>RootDir</literal> is set to <filename>/tmp/staging</"
3688"filename> and <literal>Dir::State::status</literal> is set to <filename>/var/"
3689"lib/dpkg/status</filename>, then the status file will be looked up in "
3690"<filename>/tmp/staging/var/lib/dpkg/status</filename>. If you want to "
3691"prefix only relative paths, set <literal>Dir</literal> instead."
fec6996f
DK
3692msgstr ""
3693
3694#. type: Content of: <refentry><refsect1><para>
04f27fae 3695#: apt.conf.5.xml
fec6996f 3696msgid ""
7d76ea1d
DK
3697"The <literal>Ignore-Files-Silently</literal> list can be used to specify "
3698"which files APT should silently ignore while parsing the files in the "
3699"fragment directories. Per default a file which end with <literal>.disabled</"
3700"literal>, <literal>~</literal>, <literal>.bak</literal> or <literal>.dpkg-[a-"
3701"z]+</literal> is silently ignored. As seen in the last default value these "
3702"patterns can use regular expression syntax."
fec6996f
DK
3703msgstr ""
3704
3705#. type: Content of: <refentry><refsect1><title>
04f27fae 3706#: apt.conf.5.xml
7d76ea1d 3707msgid "APT in DSelect"
fec6996f
DK
3708msgstr ""
3709
3710#. type: Content of: <refentry><refsect1><para>
04f27fae 3711#: apt.conf.5.xml
fec6996f 3712msgid ""
7d76ea1d 3713"When APT is used as a &dselect; method several configuration directives "
5723791e 3714"control the default behavior. These are in the <literal>DSelect</literal> "
7d76ea1d 3715"section."
fec6996f
DK
3716msgstr ""
3717
7d76ea1d 3718#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3719#: apt.conf.5.xml
fec6996f 3720msgid ""
5723791e
JR
3721"Cache Clean mode; this value may be one of <literal>always</literal>, "
3722"<literal>prompt</literal>, <literal>auto</literal>, <literal>pre-auto</"
3723"literal> and <literal>never</literal>. <literal>always</literal> and "
3724"<literal>prompt</literal> will remove all packages from the cache after "
3725"upgrading, <literal>prompt</literal> (the default) does so conditionally. "
3726"<literal>auto</literal> removes only those packages which are no longer "
3727"downloadable (replaced with a new version for instance). <literal>pre-auto</"
3728"literal> performs this action before downloading new packages."
fec6996f
DK
3729msgstr ""
3730
fec6996f 3731#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3732#: apt.conf.5.xml
fec6996f 3733msgid ""
5723791e
JR
3734"The contents of this variable are passed to &apt-get; as command line "
3735"options when it is run for the install phase."
fec6996f
DK
3736msgstr ""
3737
7d76ea1d 3738#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3739#: apt.conf.5.xml
fec6996f 3740msgid ""
5723791e
JR
3741"The contents of this variable are passed to &apt-get; as command line "
3742"options when it is run for the update phase."
89fd753d
MV
3743msgstr ""
3744
7d76ea1d 3745#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3746#: apt.conf.5.xml
7d76ea1d
DK
3747msgid ""
3748"If true the [U]pdate operation in &dselect; will always prompt to continue. "
3749"The default is to prompt only on error."
fec6996f
DK
3750msgstr ""
3751
7d76ea1d 3752#. type: Content of: <refentry><refsect1><title>
04f27fae 3753#: apt.conf.5.xml
5723791e 3754msgid "How APT calls &dpkg;"
fec6996f
DK
3755msgstr ""
3756
3757#. type: Content of: <refentry><refsect1><para>
04f27fae 3758#: apt.conf.5.xml
fec6996f 3759msgid ""
7d76ea1d
DK
3760"Several configuration directives control how APT invokes &dpkg;. These are "
3761"in the <literal>DPkg</literal> section."
b39c1859
MV
3762msgstr ""
3763
7d76ea1d 3764#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3765#: apt.conf.5.xml
b39c1859 3766msgid ""
5723791e 3767"This is a list of options to pass to &dpkg;. The options must be specified "
7d76ea1d
DK
3768"using the list notation and each list item is passed as a single argument to "
3769"&dpkg;."
b39c1859
MV
3770msgstr ""
3771
7d76ea1d 3772#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3773#: apt.conf.5.xml
b39c1859 3774msgid ""
7d76ea1d
DK
3775"This is a list of shell commands to run before/after invoking &dpkg;. Like "
3776"<literal>options</literal> this must be specified in list notation. The "
5723791e 3777"commands are invoked in order using <filename>/bin/sh</filename>; should any "
7d76ea1d 3778"fail APT will abort."
b39c1859
MV
3779msgstr ""
3780
7d76ea1d 3781#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3782#: apt.conf.5.xml
b39c1859 3783msgid ""
5723791e 3784"This is a list of shell commands to run before invoking &dpkg;. Like "
7d76ea1d 3785"<literal>options</literal> this must be specified in list notation. The "
5723791e
JR
3786"commands are invoked in order using <filename>/bin/sh</filename>; should any "
3787"fail APT will abort. APT will pass the filenames of all .deb files it is "
ce34af08
MV
3788"going to install to the commands, one per line on the requested file "
3789"descriptor, defaulting to standard input."
b39c1859
MV
3790msgstr ""
3791
7d76ea1d 3792#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3793#: apt.conf.5.xml
864fe99c
MV
3794msgid ""
3795"Version 2 of this protocol sends more information through the requested file "
3796"descriptor: a line with the text <literal>VERSION 2</literal>, the APT "
3797"configuration space, and a list of package actions with filename and version "
3798"information."
3799msgstr ""
3800
3801#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3802#: apt.conf.5.xml
864fe99c
MV
3803msgid ""
3804"Each configuration directive line has the form <literal>key=value</"
3805"literal>. Special characters (equal signs, newlines, nonprintable "
3806"characters, quotation marks, and percent signs in <literal>key</literal> and "
3807"newlines, nonprintable characters, and percent signs in <literal>value</"
3808"literal>) are %-encoded. Lists are represented by multiple <literal>key::"
3809"=value</literal> lines with the same key. The configuration section ends "
3810"with a blank line."
3811msgstr ""
3812
3813#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3814#: apt.conf.5.xml
864fe99c 3815msgid ""
2ffd3535
BT
3816"Package action lines consist of five fields in Version 2: package name "
3817"(without architecture qualification even if foreign), old version, direction "
3818"of version change (&lt; for upgrades, &gt; for downgrades, = for no change), "
3819"new version, action. The version fields are \"-\" for no version at all (for "
3820"example when installing a package for the first time; no version is treated "
3821"as earlier than any real version, so that is an upgrade, indicated as "
3822"<literal>- &lt; 1.23.4</literal>). The action field is \"**CONFIGURE**\" if "
3823"the package is being configured, \"**REMOVE**\" if it is being removed, or "
3824"the filename of a .deb file if it is being unpacked."
864fe99c
MV
3825msgstr ""
3826
3827#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3828#: apt.conf.5.xml
b39c1859 3829msgid ""
864fe99c
MV
3830"In Version 3 after each version field follows the architecture of this "
3831"version, which is \"-\" if there is no version, and a field showing the "
2ffd3535
BT
3832"MultiArch type \"same\", \"foreign\", \"allowed\" or \"none\". Note that "
3833"\"none\" is an incorrect typename which is just kept to remain compatible, "
3834"it should be read as \"no\" and users are encouraged to support both."
ce34af08
MV
3835msgstr ""
3836
3837#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3838#: apt.conf.5.xml
ce34af08
MV
3839msgid ""
3840"The version of the protocol to be used for the command "
3841"<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
3842"<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</"
3843"literal> accordingly, the default being version 1. If APT isn't supporting "
3844"the requested version it will send the information in the highest version it "
3845"has support for instead."
3846msgstr ""
3847
3848#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3849#: apt.conf.5.xml
ce34af08
MV
3850msgid ""
3851"The file descriptor to be used to send the information can be requested with "
3852"<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</"
3853"literal> which defaults to <literal>0</literal> for standard input and is "
3854"available since version 0.9.11. Support for the option can be detected by "
3855"looking for the environment variable <envar>APT_HOOK_INFO_FD</envar> which "
3856"contains the number of the used file descriptor as a confirmation."
b39c1859
MV
3857msgstr ""
3858
7d76ea1d 3859#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3860#: apt.conf.5.xml
b39c1859 3861msgid ""
5723791e
JR
3862"APT chdirs to this directory before invoking &dpkg;, the default is "
3863"<filename>/</filename>."
b39c1859
MV
3864msgstr ""
3865
7d76ea1d 3866#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3867#: apt.conf.5.xml
7d76ea1d 3868msgid ""
5723791e 3869"These options are passed to &dpkg-buildpackage; when compiling packages; the "
7d76ea1d 3870"default is to disable signing and produce all binaries."
fec6996f
DK
3871msgstr ""
3872
f8b879c2 3873#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3874#: apt.conf.5.xml
fec6996f 3875msgid ""
5723791e
JR
3876"If this option is set APT will call <command>dpkg --configure --pending</"
3877"command> to let &dpkg; handle all required configurations and triggers. This "
f8b879c2
JAK
3878"option is activated by default, but deactivating it could be useful if you "
3879"want to run APT multiple times in a row - e.g. in an installer. In this "
3880"scenario you could deactivate this option in all but the last run."
7d76ea1d
DK
3881msgstr ""
3882
3883#. type: Content of: <refentry><refsect1><title>
04f27fae 3884#: apt.conf.5.xml
7d76ea1d 3885msgid "Periodic and Archives options"
fec6996f
DK
3886msgstr ""
3887
3888#. type: Content of: <refentry><refsect1><para>
04f27fae 3889#: apt.conf.5.xml
fec6996f 3890msgid ""
7d76ea1d 3891"<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
5723791e 3892"of options configure behavior of apt periodic updates, which is done by the "
4adc750a
JAK
3893"<literal>/usr/lib/apt/apt.systemd.daily</literal> script. See the top of "
3894"this script for the brief documentation of these options."
fec6996f
DK
3895msgstr ""
3896
3897#. type: Content of: <refentry><refsect1><title>
04f27fae 3898#: apt.conf.5.xml
7d76ea1d 3899msgid "Debug options"
fec6996f
DK
3900msgstr ""
3901
3902#. type: Content of: <refentry><refsect1><para>
04f27fae 3903#: apt.conf.5.xml
fec6996f 3904msgid ""
7d76ea1d
DK
3905"Enabling options in the <literal>Debug::</literal> section will cause "
3906"debugging information to be sent to the standard error stream of the program "
3907"utilizing the <literal>apt</literal> libraries, or enable special program "
3908"modes that are primarily useful for debugging the behavior of <literal>apt</"
3909"literal>. Most of these options are not interesting to a normal user, but a "
3910"few may be:"
fec6996f
DK
3911msgstr ""
3912
7d76ea1d 3913#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3914#: apt.conf.5.xml
fec6996f 3915msgid ""
7d76ea1d
DK
3916"<literal>Debug::pkgProblemResolver</literal> enables output about the "
3917"decisions made by <literal>dist-upgrade, upgrade, install, remove, purge</"
3918"literal>."
fec6996f
DK
3919msgstr ""
3920
7d76ea1d 3921#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3922#: apt.conf.5.xml
c77d6597 3923msgid ""
7d76ea1d
DK
3924"<literal>Debug::NoLocking</literal> disables all file locking. This can be "
3925"used to run some operations (for instance, <literal>apt-get -s install</"
3926"literal>) as a non-root user."
c77d6597
MV
3927msgstr ""
3928
7d76ea1d 3929#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3930#: apt.conf.5.xml
fec6996f 3931msgid ""
7d76ea1d
DK
3932"<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
3933"time that <literal>apt</literal> invokes &dpkg;."
fec6996f
DK
3934msgstr ""
3935
7d76ea1d
DK
3936#. TODO: provide a
3937#. motivating example, except I haven't a clue why you'd want
3938#. to do this.
3939#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3940#: apt.conf.5.xml
fec6996f 3941msgid ""
7d76ea1d
DK
3942"<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
3943"in CD-ROM IDs."
fec6996f
DK
3944msgstr ""
3945
7d76ea1d 3946#. type: Content of: <refentry><refsect1><para>
04f27fae 3947#: apt.conf.5.xml
7d76ea1d 3948msgid "A full list of debugging options to apt follows."
fec6996f
DK
3949msgstr ""
3950
fec6996f 3951#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3952#: apt.conf.5.xml
fec6996f 3953msgid ""
7d76ea1d 3954"Print information related to accessing <literal>cdrom://</literal> sources."
fec6996f
DK
3955msgstr ""
3956
fec6996f 3957#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3958#: apt.conf.5.xml
7d76ea1d 3959msgid "Print information related to downloading packages using FTP."
fec6996f
DK
3960msgstr ""
3961
fec6996f 3962#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3963#: apt.conf.5.xml
7d76ea1d 3964msgid "Print information related to downloading packages using HTTP."
fec6996f
DK
3965msgstr ""
3966
fec6996f 3967#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3968#: apt.conf.5.xml
7d76ea1d 3969msgid "Print information related to downloading packages using HTTPS."
fec6996f
DK
3970msgstr ""
3971
fec6996f 3972#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3973#: apt.conf.5.xml
fec6996f 3974msgid ""
7d76ea1d
DK
3975"Print information related to verifying cryptographic signatures using "
3976"<literal>gpg</literal>."
fec6996f
DK
3977msgstr ""
3978
fec6996f 3979#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3980#: apt.conf.5.xml
fec6996f 3981msgid ""
7d76ea1d
DK
3982"Output information about the process of accessing collections of packages "
3983"stored on CD-ROMs."
fec6996f
DK
3984msgstr ""
3985
3986#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3987#: apt.conf.5.xml
7d76ea1d 3988msgid "Describes the process of resolving build-dependencies in &apt-get;."
fec6996f
DK
3989msgstr ""
3990
7d76ea1d 3991#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3992#: apt.conf.5.xml
7d76ea1d
DK
3993msgid ""
3994"Output each cryptographic hash that is generated by the <literal>apt</"
3995"literal> libraries."
fec6996f
DK
3996msgstr ""
3997
7d76ea1d 3998#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3999#: apt.conf.5.xml
187aa32e 4000msgid ""
7d76ea1d
DK
4001"Do not include information from <literal>statfs</literal>, namely the number "
4002"of used and free blocks on the CD-ROM filesystem, when generating an ID for "
4003"a CD-ROM."
187aa32e
DK
4004msgstr ""
4005
7d76ea1d 4006#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4007#: apt.conf.5.xml
b6c6b52f 4008msgid ""
7d76ea1d
DK
4009"Disable all file locking. For instance, this will allow two instances of "
4010"<quote><literal>apt-get update</literal></quote> to run at the same time."
b6c6b52f
MV
4011msgstr ""
4012
7d76ea1d 4013#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4014#: apt.conf.5.xml
7d76ea1d 4015msgid "Log when items are added to or removed from the global download queue."
b6c6b52f
MV
4016msgstr ""
4017
7d76ea1d 4018#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4019#: apt.conf.5.xml
c77d6597 4020msgid ""
7d76ea1d
DK
4021"Output status messages and errors related to verifying checksums and "
4022"cryptographic signatures of downloaded files."
c77d6597
MV
4023msgstr ""
4024
7d76ea1d 4025#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4026#: apt.conf.5.xml
fec6996f 4027msgid ""
7d76ea1d
DK
4028"Output information about downloading and applying package index list diffs, "
4029"and errors relating to package index list diffs."
fec6996f
DK
4030msgstr ""
4031
7d76ea1d 4032#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4033#: apt.conf.5.xml
b39c1859 4034msgid ""
7d76ea1d
DK
4035"Output information related to patching apt package lists when downloading "
4036"index diffs instead of full indices."
b39c1859
MV
4037msgstr ""
4038
7d76ea1d 4039#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4040#: apt.conf.5.xml
fec6996f 4041msgid ""
7d76ea1d 4042"Log all interactions with the sub-processes that actually perform downloads."
fec6996f
DK
4043msgstr ""
4044
7d76ea1d 4045#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4046#: apt.conf.5.xml
fec6996f 4047msgid ""
7d76ea1d
DK
4048"Log events related to the automatically-installed status of packages and to "
4049"the removal of unused packages."
fec6996f
DK
4050msgstr ""
4051
7d76ea1d 4052#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4053#: apt.conf.5.xml
fec6996f 4054msgid ""
7d76ea1d
DK
4055"Generate debug messages describing which packages are being automatically "
4056"installed to resolve dependencies. This corresponds to the initial auto-"
4057"install pass performed in, e.g., <literal>apt-get install</literal>, and not "
4058"to the full <literal>apt</literal> dependency resolver; see <literal>Debug::"
4059"pkgProblemResolver</literal> for that."
fec6996f
DK
4060msgstr ""
4061
7d76ea1d 4062#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4063#: apt.conf.5.xml
fec6996f 4064msgid ""
5723791e 4065"Generate debug messages describing which packages are marked as keep/install/"
7d76ea1d 4066"remove while the ProblemResolver does his work. Each addition or deletion "
5723791e
JR
4067"may trigger additional actions; they are shown indented two additional "
4068"spaces under the original entry. The format for each line is "
4069"<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
4070"<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c -"
4071"&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> is "
4072"the current version of the package, <literal>d.e.f</literal> is the version "
4073"considered for installation and <literal>x.y.z</literal> is a newer version, "
4074"but not considered for installation (because of a low pin score). The later "
4075"two can be omitted if there is none or if it is the same as the installed "
4076"version. <literal>section</literal> is the name of the section the package "
4077"appears in."
fec6996f
DK
4078msgstr ""
4079
7d76ea1d 4080#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4081#: apt.conf.5.xml
fec6996f 4082msgid ""
7d76ea1d
DK
4083"When invoking &dpkg;, output the precise command line with which it is being "
4084"invoked, with arguments separated by a single space character."
fec6996f
DK
4085msgstr ""
4086
7d76ea1d 4087#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4088#: apt.conf.5.xml
fec6996f 4089msgid ""
7d76ea1d
DK
4090"Output all the data received from &dpkg; on the status file descriptor and "
4091"any errors encountered while parsing it."
fec6996f
DK
4092msgstr ""
4093
7d76ea1d 4094#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4095#: apt.conf.5.xml
c086ac18 4096msgid ""
7d76ea1d
DK
4097"Generate a trace of the algorithm that decides the order in which "
4098"<literal>apt</literal> should pass packages to &dpkg;."
c086ac18
DK
4099msgstr ""
4100
7d76ea1d 4101#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4102#: apt.conf.5.xml
fec6996f 4103msgid ""
7d76ea1d 4104"Output status messages tracing the steps performed when invoking &dpkg;."
fec6996f
DK
4105msgstr ""
4106
7d76ea1d 4107#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4108#: apt.conf.5.xml
7d76ea1d
DK
4109msgid "Output the priority of each package list on startup."
4110msgstr ""
4111
4112#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4113#: apt.conf.5.xml
bf5c3fe8 4114msgid ""
7d76ea1d
DK
4115"Trace the execution of the dependency resolver (this applies only to what "
4116"happens when a complex dependency problem is encountered)."
bf5c3fe8
MV
4117msgstr ""
4118
7d76ea1d 4119#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4120#: apt.conf.5.xml
fec6996f 4121msgid ""
7d76ea1d
DK
4122"Display a list of all installed packages with their calculated score used by "
4123"the pkgProblemResolver. The description of the package is the same as "
4124"described in <literal>Debug::pkgDepCache::Marker</literal>"
fec6996f
DK
4125msgstr ""
4126
7d76ea1d 4127#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4128#: apt.conf.5.xml
fec6996f 4129msgid ""
7d76ea1d
DK
4130"Print information about the vendors read from <filename>/etc/apt/vendors."
4131"list</filename>."
fec6996f
DK
4132msgstr ""
4133
93ae7f7f 4134#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4135#: apt.conf.5.xml
93ae7f7f
MV
4136msgid ""
4137"Display the external commands that are called by apt hooks. This includes e."
4138"g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
4139"<literal>APT::Update::{Pre,Post}-Invoke</literal>."
4140msgstr ""
4141
7d76ea1d 4142#. type: Content of: <refentry><refsect1><title>
4c482ac5 4143#: apt.conf.5.xml apt_preferences.5.xml sources.list.5.xml apt-ftparchive.1.xml
7d76ea1d
DK
4144#, fuzzy
4145msgid "Examples"
4146msgstr "Exemplos"
fec6996f 4147
7d76ea1d 4148#. type: Content of: <refentry><refsect1><para>
04f27fae 4149#: apt.conf.5.xml
fec6996f 4150msgid ""
7d76ea1d
DK
4151"&configureindex; is a configuration file showing example values for all "
4152"possible options."
fec6996f
DK
4153msgstr ""
4154
7d76ea1d
DK
4155#. ? reading apt.conf
4156#. type: Content of: <refentry><refsect1><para>
04f27fae 4157#: apt.conf.5.xml
7d76ea1d
DK
4158#, fuzzy
4159msgid "&apt-cache;, &apt-config;, &apt-preferences;."
4160msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
4161
4162#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 4163#: apt_preferences.5.xml
7d76ea1d
DK
4164#, fuzzy
4165msgid "Preference control file for APT"
4166msgstr "Arquivo de controle de preferências para o APT"
4167
4168#. type: Content of: <refentry><refsect1><para>
04f27fae 4169#: apt_preferences.5.xml
7d76ea1d 4170#, fuzzy
fec6996f 4171msgid ""
7d76ea1d
DK
4172"The APT preferences file <filename>/etc/apt/preferences</filename> and the "
4173"fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
4174"can be used to control which versions of packages will be selected for "
4175"installation."
fec6996f 4176msgstr ""
7d76ea1d
DK
4177"O arquivo de preferências do APT <filename>/etc/apt/preferences</filename> "
4178"pode ser usado para controlar quais versões de pacotes serão selecionadas "
4179"para instalação."
fec6996f 4180
7d76ea1d 4181#. type: Content of: <refentry><refsect1><para>
04f27fae 4182#: apt_preferences.5.xml
7d76ea1d 4183#, fuzzy
fec6996f 4184msgid ""
7d76ea1d
DK
4185"Several versions of a package may be available for installation when the "
4186"&sources-list; file contains references to more than one distribution (for "
4187"example, <literal>stable</literal> and <literal>testing</literal>). APT "
4188"assigns a priority to each version that is available. Subject to dependency "
4189"constraints, <command>apt-get</command> selects the version with the highest "
44477002
JR
4190"priority for installation. The APT preferences override the priorities that "
4191"APT assigns to package versions by default, thus giving the user control "
4192"over which one is selected for installation."
fec6996f 4193msgstr ""
7d76ea1d
DK
4194"Diversas versões de um pacote podem estar disponíveis para instalação quando "
4195"o arquivo &sources-list; contém referências para mais de uma distribuição "
4196"(por exemplo, <literal>stable</literal> e <literal>testing</literal>). O APT "
4197"atribui uma prioridade para cada versão que esteja disponível. Sujeito a "
4198"obstáculos de dependências, o <command>apt-get</command> seleciona para "
4199"instalação a versão com a maior prioridade. O arquivo de preferências do APT "
4200"sobrepoe as prioridades que o APT atribui a cada versão de pacote por "
4201"padrão, dando assim ao usuário controle sobre qual versão do pacote é "
4202"selecionada para instalação."
fec6996f 4203
7d76ea1d 4204#. type: Content of: <refentry><refsect1><para>
04f27fae 4205#: apt_preferences.5.xml
7d76ea1d
DK
4206#, fuzzy
4207msgid ""
4208"Several instances of the same version of a package may be available when the "
4209"&sources-list; file contains references to more than one source. In this "
4210"case <command>apt-get</command> downloads the instance listed earliest in "
44477002
JR
4211"the &sources-list; file. The APT preferences do not affect the choice of "
4212"instance, only the choice of version."
fec6996f 4213msgstr ""
7d76ea1d
DK
4214"Diversas instâncias da mesma versão de um pacote pode estar disponíveis "
4215"quando o arquivo &sources-list; contém referências a mais de uma fonte. "
4216"Nesse caso, o <command>apt-get</command> faz o download da instância listada "
4217"antes no arquivo &sources-list; . O arquivo de preferências do APT não afeta "
4218"a escolha da instância."
fec6996f 4219
7d76ea1d 4220#. type: Content of: <refentry><refsect1><para>
04f27fae 4221#: apt_preferences.5.xml
fec6996f 4222msgid ""
7d76ea1d
DK
4223"Preferences are a strong power in the hands of a system administrator but "
4224"they can become also their biggest nightmare if used without care! APT will "
44477002
JR
4225"not question the preferences, so wrong settings can lead to uninstallable "
4226"packages or wrong decisions while upgrading packages. Even more problems "
4227"will arise if multiple distribution releases are mixed without a good "
4228"understanding of the following paragraphs. Packages included in a specific "
4229"release aren't tested in (and therefore don't always work as expected in) "
4230"older or newer releases, or together with other packages from different "
4231"releases. You have been warned."
fec6996f
DK
4232msgstr ""
4233
7d76ea1d 4234#. type: Content of: <refentry><refsect1><para>
04f27fae 4235#: apt_preferences.5.xml
fec6996f 4236msgid ""
7d76ea1d
DK
4237"Note that the files in the <filename>/etc/apt/preferences.d</filename> "
4238"directory are parsed in alphanumeric ascending order and need to obey the "
4239"following naming convention: The files have either no or \"<literal>pref</"
4240"literal>\" as filename extension and only contain alphanumeric, hyphen (-), "
4241"underscore (_) and period (.) characters. Otherwise APT will print a notice "
44477002 4242"that it has ignored a file, unless that file matches a pattern in the "
5723791e 4243"<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
7d76ea1d 4244"case it will be silently ignored."
fec6996f
DK
4245msgstr ""
4246
7d76ea1d 4247#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4248#: apt_preferences.5.xml
7d76ea1d
DK
4249#, fuzzy
4250msgid "APT's Default Priority Assignments"
4251msgstr "Atribuições de Prioridade Padrão do APT"
fec6996f 4252
7d76ea1d 4253#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 4254#: apt_preferences.5.xml
7d76ea1d
DK
4255#, fuzzy, no-wrap
4256msgid "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
fec6996f 4257msgstr ""
7d76ea1d
DK
4258"<programlisting>\n"
4259"<command>apt-get install -t testing <replaceable>algum-pacote</replaceable></command>\n"
fec6996f 4260
7d76ea1d 4261#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 4262#: apt_preferences.5.xml
7d76ea1d
DK
4263#, fuzzy, no-wrap
4264msgid "APT::Default-Release \"stable\";\n"
fec6996f 4265msgstr ""
7d76ea1d
DK
4266"<programlisting>\n"
4267"APT::Default-Release \"stable\";\n"
fec6996f 4268
7d76ea1d 4269#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4270#: apt_preferences.5.xml
7d76ea1d
DK
4271#, fuzzy
4272msgid ""
4273"If there is no preferences file or if there is no entry in the file that "
4274"applies to a particular version then the priority assigned to that version "
4275"is the priority of the distribution to which that version belongs. It is "
4276"possible to single out a distribution, \"the target release\", which "
4277"receives a higher priority than other distributions do by default. The "
4278"target release can be set on the <command>apt-get</command> command line or "
4279"in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
4280"that this has precedence over any general priority you set in the <filename>/"
4281"etc/apt/preferences</filename> file described later, but not over "
4282"specifically pinned packages. For example, <placeholder type="
4283"\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
fec6996f 4284msgstr ""
7d76ea1d
DK
4285"Caso não exista um arquivo de preferências ou caso não exista uma entrada no "
4286"arquivo que se aplique a uma instância em particular, a prioridade atribuída "
4287"a essa instância é a prioridade da distribuição para a qual a instância "
4288"pertence. É possível selecionar uma distribuição, conhecida como \"a versão "
4289"alvo\" (the target release), que recebe uma prioridade maior do que as "
4290"outras distribuições. A versão alvo pode ser definida na linha de comando do "
4291"<command>apt-get</command> ou no arquivo de configuração do APT <filename>/"
4292"etc/apt/apt.conf</filename>. Por exemplo,"
fec6996f 4293
7d76ea1d 4294#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4295#: apt_preferences.5.xml
7d76ea1d 4296#, fuzzy
fec6996f 4297msgid ""
7d76ea1d
DK
4298"If the target release has been specified then APT uses the following "
4299"algorithm to set the priorities of the versions of a package. Assign:"
fec6996f 4300msgstr ""
7d76ea1d
DK
4301"Caso uma versão alvo tenha sido especificada o APT usará o seguinte "
4302"algoritmo para definir as prioridades das instâncias de um pacote. "
4303"Atribuirá :"
fec6996f 4304
7d76ea1d 4305#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4306#: apt_preferences.5.xml
7d76ea1d
DK
4307#, fuzzy
4308msgid "priority 1"
4309msgstr "prioridade 100"
fec6996f 4310
7d76ea1d 4311#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4312#: apt_preferences.5.xml
fec6996f 4313msgid ""
7d76ea1d
DK
4314"to the versions coming from archives which in their <filename>Release</"
4315"filename> files are marked as \"NotAutomatic: yes\" but <emphasis>not</"
44477002 4316"emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
7d76ea1d 4317"<literal>experimental</literal> archive."
fec6996f
DK
4318msgstr ""
4319
7d76ea1d 4320#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4321#: apt_preferences.5.xml
7d76ea1d
DK
4322#, fuzzy
4323msgid "priority 100"
4324msgstr "prioridade 100"
fec6996f 4325
7d76ea1d 4326#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4327#: apt_preferences.5.xml
3184b4cf 4328msgid ""
7d76ea1d
DK
4329"to the version that is already installed (if any) and to the versions coming "
4330"from archives which in their <filename>Release</filename> files are marked "
44477002 4331"as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
7d76ea1d 4332"backports archive since <literal>squeeze-backports</literal>."
3184b4cf
DK
4333msgstr ""
4334
7d76ea1d 4335#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4336#: apt_preferences.5.xml
7d76ea1d
DK
4337#, fuzzy
4338msgid "priority 500"
4339msgstr "prioridade 500"
4340
4341#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4342#: apt_preferences.5.xml
7d76ea1d 4343#, fuzzy
864fe99c 4344msgid "to the versions that do not belong to the target release."
bf5c3fe8 4345msgstr ""
864fe99c 4346"para as instâncias que não estejam instaladas e pertençam a versão alvo."
bf5c3fe8 4347
7d76ea1d 4348#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4349#: apt_preferences.5.xml
7d76ea1d
DK
4350#, fuzzy
4351msgid "priority 990"
4352msgstr "prioridade 990"
bf5c3fe8 4353
7d76ea1d 4354#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4355#: apt_preferences.5.xml
7d76ea1d 4356#, fuzzy
864fe99c 4357msgid "to the versions that belong to the target release."
bf5c3fe8 4358msgstr ""
7d76ea1d 4359"para as instâncias que não estejam instaladas e pertençam a versão alvo."
bf5c3fe8 4360
7d76ea1d 4361#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4362#: apt_preferences.5.xml
864fe99c
MV
4363msgid ""
4364"The highest of those priorities whose description matches the version is "
4365"assigned to the version."
4366msgstr ""
4367
4368#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4369#: apt_preferences.5.xml
7d76ea1d 4370#, fuzzy
c086ac18 4371msgid ""
7d76ea1d
DK
4372"If the target release has not been specified then APT simply assigns "
4373"priority 100 to all installed package versions and priority 500 to all "
4374"uninstalled package versions, except versions coming from archives which in "
4375"their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
4376"- these versions get the priority 1 or priority 100 if it is additionally "
4377"marked as \"ButAutomaticUpgrades: yes\"."
fec6996f 4378msgstr ""
7d76ea1d
DK
4379"Caso nenhuma versão alvo tenha sido especificada, o APT simplesmente irá "
4380"atribuir a prioridade 100 para todas as instâncias de pacotes instaladas e a "
4381"prioridade 500 para todas as instâncias de pacotes não instaladas."
fec6996f 4382
7d76ea1d 4383#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4384#: apt_preferences.5.xml
7d76ea1d 4385#, fuzzy
fec6996f 4386msgid ""
7d76ea1d
DK
4387"APT then applies the following rules, listed in order of precedence, to "
4388"determine which version of a package to install."
fec6996f 4389msgstr ""
7d76ea1d
DK
4390"O APT aplica as regras a seguir, listadas em ordem de precedência, para "
4391"determinar qual instância de um pacote instalar."
fec6996f 4392
7d76ea1d 4393#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4394#: apt_preferences.5.xml
7d76ea1d 4395#, fuzzy
fec6996f 4396msgid ""
7d76ea1d
DK
4397"Never downgrade unless the priority of an available version exceeds 1000. "
4398"(\"Downgrading\" is installing a less recent version of a package in place "
4399"of a more recent version. Note that none of APT's default priorities "
4400"exceeds 1000; such high priorities can only be set in the preferences file. "
4401"Note also that downgrading a package can be risky.)"
fec6996f 4402msgstr ""
7d76ea1d
DK
4403"Nunca faz um downgrade a menos que a prioridade de uma instância disponível "
4404"exceda 1000. (Fazer um \"downgrade\" é instalar uma versão menos recente de "
4405"um pacote no lugar de uma versão mais recente. Note que nenhuma das "
4406"prioridades padrão do APT excede 1000; prioridades altas como essa podem ser "
4407"definidas somente no arquivo de preferências. Note também que fazer um "
4408"\"downgrade\" pode ser arriscado.)"
fec6996f 4409
7d76ea1d 4410#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4411#: apt_preferences.5.xml
7d76ea1d
DK
4412#, fuzzy
4413msgid "Install the highest priority version."
4414msgstr "Instala a instância de prioridade mais alta."
fec6996f 4415
7d76ea1d 4416#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4417#: apt_preferences.5.xml
7d76ea1d 4418#, fuzzy
fec6996f 4419msgid ""
7d76ea1d
DK
4420"If two or more versions have the same priority, install the most recent one "
4421"(that is, the one with the higher version number)."
fec6996f 4422msgstr ""
7d76ea1d
DK
4423"Caso duas ou mais instâncias possuam a mesma prioridade, instala a instância "
4424"mais recente (ou seja, aquela com o maior número de versão)."
fec6996f 4425
7d76ea1d 4426#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4427#: apt_preferences.5.xml
7d76ea1d 4428#, fuzzy
fec6996f 4429msgid ""
7d76ea1d
DK
4430"If two or more versions have the same priority and version number but either "
4431"the packages differ in some of their metadata or the <literal>--reinstall</"
4432"literal> option is given, install the uninstalled one."
fec6996f 4433msgstr ""
7d76ea1d
DK
4434"Caso duas ou mais instâncias possuam a mesma prioridade e número de versão "
4435"mas os pacotes sejam diferentes em alguns de seus metadados ou a opção "
4436"<literal>--reinstall</literal> seja fornecida, instala aquela desinstalada."
fec6996f 4437
7d76ea1d 4438#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4439#: apt_preferences.5.xml
7d76ea1d 4440#, fuzzy
fec6996f 4441msgid ""
7d76ea1d
DK
4442"In a typical situation, the installed version of a package (priority 100) "
4443"is not as recent as one of the versions available from the sources listed in "
4444"the &sources-list; file (priority 500 or 990). Then the package will be "
4445"upgraded when <command>apt-get install <replaceable>some-package</"
4446"replaceable></command> or <command>apt-get upgrade</command> is executed."
fec6996f 4447msgstr ""
7d76ea1d
DK
4448"Em uma situação típica, a instância instalada de um pacote (prioridade 100) "
4449"não é tão recente quanto uma das versões disponíveis nas fontes listadas no "
4450"arquivo &sources-list; (prioridade 500 ou 990). Então o pacote será "
4451"atualizado quando os comandos <command>apt-get install <replaceable>algum-"
4452"pacote</replaceable></command> ou <command>apt-get dist-upgrade</command> "
4453"forem executados."
fec6996f 4454
7d76ea1d 4455#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4456#: apt_preferences.5.xml
7d76ea1d 4457#, fuzzy
b6c6b52f 4458msgid ""
7d76ea1d
DK
4459"More rarely, the installed version of a package is <emphasis>more</emphasis> "
4460"recent than any of the other available versions. The package will not be "
4461"downgraded when <command>apt-get install <replaceable>some-package</"
4462"replaceable></command> or <command>apt-get upgrade</command> is executed."
fec6996f 4463msgstr ""
7d76ea1d
DK
4464"Mais raramente, a versão instalada de um pacote é <emphasis>mais</emphasis> "
4465"recente do que qualquer uma das outras versões disponíveis. O dowgrade do "
4466"pacote não será feito quando os comandos <command>apt-get install "
4467"<replaceable>algum-pacote</replaceable></command> ou <command>apt-get "
4468"upgrade</command> forem executados."
fec6996f 4469
7d76ea1d 4470#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4471#: apt_preferences.5.xml
7d76ea1d 4472#, fuzzy
fec6996f 4473msgid ""
7d76ea1d
DK
4474"Sometimes the installed version of a package is more recent than the version "
4475"belonging to the target release, but not as recent as a version belonging to "
4476"some other distribution. Such a package will indeed be upgraded when "
4477"<command>apt-get install <replaceable>some-package</replaceable></command> "
4478"or <command>apt-get upgrade</command> is executed, because at least "
4479"<emphasis>one</emphasis> of the available versions has a higher priority "
4480"than the installed version."
fec6996f 4481msgstr ""
7d76ea1d
DK
4482"Algumas vezes a versão instalada de um pacote é mais recente que a versão "
4483"que pertence a versão alvo, mas não tão recente quanto a versão que pertence "
4484"a alguma outra distribuição. Um pacote como esse será na verdade atualizado "
4485"quando os comandos <command>apt-get install <replaceable>algum-pacote</"
4486"replaceable></command> ou <command>apt-get upgrade</command> forem "
4487"executados, devido a pelo menos <emphasis>uma</emphasis> das versões "
4488"disponíveis possuir uma prioridade maior do que a versão instalada."
fec6996f 4489
7d76ea1d 4490#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4491#: apt_preferences.5.xml
7d76ea1d
DK
4492#, fuzzy
4493msgid "The Effect of APT Preferences"
4494msgstr "O Efeito das Preferências do APT"
fec6996f 4495
7d76ea1d 4496#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4497#: apt_preferences.5.xml
7d76ea1d 4498#, fuzzy
fec6996f 4499msgid ""
7d76ea1d
DK
4500"The APT preferences file allows the system administrator to control the "
4501"assignment of priorities. The file consists of one or more multi-line "
4502"records separated by blank lines. Records can have one of two forms, a "
4503"specific form and a general form."
fec6996f 4504msgstr ""
7d76ea1d
DK
4505"O arquivo de preferências do APT permite ao administrador do sistema "
4506"personalizar prioridades. O arquivo consiste de um ou mais registros de "
4507"múltiplas linhas separados por linhas em branco. Registros podem possuir uma "
4508"das duas formas, uma forma específica e uma forma geral."
fec6996f 4509
7d76ea1d 4510#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4511#: apt_preferences.5.xml
7d76ea1d 4512#, fuzzy
fec6996f 4513msgid ""
7d76ea1d 4514"The specific form assigns a priority (a \"Pin-Priority\") to one or more "
44477002
JR
4515"specified packages with a specified version or version range. For example, "
4516"the following record assigns a high priority to all versions of the "
7d76ea1d 4517"<filename>perl</filename> package whose version number begins with "
75d9bdba
JR
4518"\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
4519"spaces."
fec6996f 4520msgstr ""
7d76ea1d
DK
4521"A forma específica atribui uma uma prioridade (uma \"Pin-Priority\") para um "
4522"pacote e versão ou faixa de versão especificados. Por exemplo, o registro a "
4523"seguir atribui uma prioridade alta para todas as versões do pacote "
4524"<filename>perl</filename> os quais tenham seus números de versão iniciando "
4525"com \"<literal>5.8</literal>\"."
fec6996f 4526
7d76ea1d 4527#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4528#: apt_preferences.5.xml
7d76ea1d 4529#, fuzzy, no-wrap
fec6996f 4530msgid ""
7d76ea1d 4531"Package: perl\n"
75d9bdba 4532"Pin: version &good-perl;*\n"
7d76ea1d 4533"Pin-Priority: 1001\n"
fec6996f 4534msgstr ""
7d76ea1d
DK
4535"<programlisting>\n"
4536"Package: perl\n"
4537"Pin: version 5.8*\n"
4538"Pin-Priority: 1001\n"
fec6996f 4539
7d76ea1d 4540#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4541#: apt_preferences.5.xml
7d76ea1d
DK
4542#, fuzzy
4543msgid ""
4544"The general form assigns a priority to all of the package versions in a "
4545"given distribution (that is, to all the versions of packages that are listed "
4546"in a certain <filename>Release</filename> file) or to all of the package "
4547"versions coming from a particular Internet site, as identified by the site's "
4548"fully qualified domain name."
fec6996f 4549msgstr ""
7d76ea1d
DK
4550"O forma geral atribui uma prioridade para todas as versões de pacotes em uma "
4551"dada distribuição (isto é, para toda as versões de pacotes que estejam em um "
4552"certo arquivo <filename>Release</filename>) ou para todas as versões de "
4553"pacotes que provenientes de um site Internet em particular, como "
4554"identificado pelo nome de domínio totalmente qualificado do site Internet."
fec6996f 4555
7d76ea1d 4556#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4557#: apt_preferences.5.xml
7d76ea1d 4558#, fuzzy
fec6996f 4559msgid ""
7d76ea1d
DK
4560"This general-form entry in the APT preferences file applies only to groups "
4561"of packages. For example, the following record assigns a high priority to "
4562"all package versions available from the local site."
fec6996f 4563msgstr ""
7d76ea1d
DK
4564"Essa entrada de forma geral no arquivo de preferências do APT aplica-se "
4565"somente a grupos de pacotes. Por exemplo, o registro a seguir faz com que o "
4566"APT atribua uma prioridade alta para todas as versões de pacotes disponíveis "
4567"no site local."
fec6996f 4568
7d76ea1d 4569#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4570#: apt_preferences.5.xml
7d76ea1d 4571#, fuzzy, no-wrap
fec6996f 4572msgid ""
7d76ea1d
DK
4573"Package: *\n"
4574"Pin: origin \"\"\n"
4575"Pin-Priority: 999\n"
fec6996f 4576msgstr ""
7d76ea1d
DK
4577"<programlisting>\n"
4578"Package: *\n"
4579"Pin: origin \"\"\n"
4580"Pin-Priority: 999\n"
fec6996f 4581
7d76ea1d 4582#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4583#: apt_preferences.5.xml
fec6996f 4584msgid ""
7d76ea1d
DK
4585"A note of caution: the keyword used here is \"<literal>origin</literal>\" "
4586"which can be used to match a hostname. The following record will assign a "
4587"high priority to all versions available from the server identified by the "
4588"hostname \"ftp.de.debian.org\""
fec6996f
DK
4589msgstr ""
4590
7d76ea1d 4591#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4592#: apt_preferences.5.xml
7d76ea1d 4593#, fuzzy, no-wrap
fec6996f 4594msgid ""
7d76ea1d
DK
4595"Package: *\n"
4596"Pin: origin \"ftp.de.debian.org\"\n"
4597"Pin-Priority: 999\n"
fec6996f 4598msgstr ""
7d76ea1d
DK
4599"<programlisting>\n"
4600"Package: *\n"
4601"Pin: origin \"\"\n"
4602"Pin-Priority: 999\n"
fec6996f 4603
7d76ea1d 4604#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4605#: apt_preferences.5.xml
7d76ea1d 4606#, fuzzy
fec6996f 4607msgid ""
7d76ea1d
DK
4608"This should <emphasis>not</emphasis> be confused with the Origin of a "
4609"distribution as specified in a <filename>Release</filename> file. What "
4610"follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
4611"Internet address but an author or vendor name, such as \"Debian\" or \"Ximian"
4612"\"."
fec6996f 4613msgstr ""
7d76ea1d
DK
4614"Uma nota de aviso : a palavra-chave usada aqui é \"<literal>origin</literal>"
4615"\". Esta palavra não deve ser confundida com a origem (\"Origin:\") de uma "
4616"distribuição como especificado em um arquivo <filename>Release</filename>. O "
4617"que segue a tag \"Origin:\" em um arquivo <filename>Release</filename> não é "
4618"um endereço de site Internet mas sim nome de autor ou distribuidor (vendor), "
4619"como \"Debian\" ou \"Ximian\"."
fec6996f 4620
7d76ea1d 4621#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4622#: apt_preferences.5.xml
7d76ea1d 4623#, fuzzy
fec6996f 4624msgid ""
7d76ea1d
DK
4625"The following record assigns a low priority to all package versions "
4626"belonging to any distribution whose Archive name is \"<literal>unstable</"
4627"literal>\"."
fec6996f 4628msgstr ""
7d76ea1d
DK
4629"O registro a seguir atribui uma prioridade baixa para todas as versões de "
4630"pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
4631"\"<literal>unstable</literal>\"."
fec6996f 4632
7d76ea1d 4633#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4634#: apt_preferences.5.xml
7d76ea1d 4635#, fuzzy, no-wrap
fec6996f 4636msgid ""
7d76ea1d
DK
4637"Package: *\n"
4638"Pin: release a=unstable\n"
4639"Pin-Priority: 50\n"
fec6996f 4640msgstr ""
7d76ea1d
DK
4641"<programlisting>\n"
4642"Package: *\n"
4643"Pin: release a=unstable\n"
4644"Pin-Priority: 50\n"
fec6996f 4645
7d76ea1d 4646#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4647#: apt_preferences.5.xml
7d76ea1d
DK
4648#, fuzzy
4649msgid ""
4650"The following record assigns a high priority to all package versions "
9feb98eb
DK
4651"belonging to any distribution whose Codename is \"<literal>&debian-testing-"
4652"codename;</literal>\"."
fec6996f 4653msgstr ""
7d76ea1d
DK
4654"O registro a seguir atribui uma prioridade baixa para todas as versões de "
4655"pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
4656"\"<literal>unstable</literal>\"."
fec6996f 4657
7d76ea1d 4658#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4659#: apt_preferences.5.xml
7d76ea1d 4660#, fuzzy, no-wrap
fec6996f 4661msgid ""
7d76ea1d 4662"Package: *\n"
9feb98eb 4663"Pin: release n=&debian-testing-codename;\n"
7d76ea1d 4664"Pin-Priority: 900\n"
fec6996f 4665msgstr ""
7d76ea1d
DK
4666"<programlisting>\n"
4667"Package: *\n"
4668"Pin: release a=unstable\n"
4669"Pin-Priority: 50\n"
fec6996f 4670
7d76ea1d 4671#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4672#: apt_preferences.5.xml
7d76ea1d 4673#, fuzzy
fec6996f 4674msgid ""
7d76ea1d
DK
4675"The following record assigns a high priority to all package versions "
4676"belonging to any release whose Archive name is \"<literal>stable</literal>\" "
9feb98eb
DK
4677"and whose release Version number is \"<literal>&debian-stable-version;</"
4678"literal>\"."
fec6996f 4679msgstr ""
7d76ea1d
DK
4680"O registro a seguir atribui uma prioridade alta para todas as versões de "
4681"pacotes que pertençam a qualquer versão cujo nome do Repositório seja "
4682"\"<literal>stable</literal>\" e cujo número de versão seja \"<literal>3.0</"
4683"literal>\"."
fec6996f 4684
7d76ea1d 4685#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4686#: apt_preferences.5.xml
7d76ea1d 4687#, fuzzy, no-wrap
fec6996f 4688msgid ""
7d76ea1d 4689"Package: *\n"
9feb98eb 4690"Pin: release a=stable, v=&debian-stable-version;\n"
7d76ea1d 4691"Pin-Priority: 500\n"
fec6996f 4692msgstr ""
7d76ea1d
DK
4693"<programlisting>\n"
4694"Package: *\n"
4695"Pin: release a=unstable, v=3.0\n"
4696"Pin-Priority: 50\n"
fec6996f 4697
864fe99c 4698#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4699#: apt_preferences.5.xml
864fe99c
MV
4700msgid ""
4701"The effect of the comma operator is similar to an \"and\" in logic: All "
4702"conditions must be satisfied for the pin to match. There is one exception: "
4703"For any type of condition (such as two \"a\" conditions), only the last such "
4704"condition is checked."
4705msgstr ""
4706
4707#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4708#: apt_preferences.5.xml
44477002 4709msgid "Regular expressions and &glob; syntax"
7d76ea1d
DK
4710msgstr ""
4711
4712#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4713#: apt_preferences.5.xml
fec6996f 4714msgid ""
44477002
JR
4715"APT also supports pinning by &glob; expressions, and regular expressions "
4716"surrounded by slashes. For example, the following example assigns the "
4717"priority 500 to all packages from experimental where the name starts with "
4718"gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
4719"extended regular expression surrounded by slashes)."
fec6996f
DK
4720msgstr ""
4721
7d76ea1d 4722#. type: Content of: <refentry><refsect1><refsect2><programlisting>
04f27fae 4723#: apt_preferences.5.xml
7d76ea1d 4724#, fuzzy, no-wrap
fec6996f 4725msgid ""
7d76ea1d 4726"Package: gnome* /kde/\n"
14c50b58 4727"Pin: release a=experimental\n"
7d76ea1d 4728"Pin-Priority: 500\n"
fec6996f 4729msgstr ""
7d76ea1d
DK
4730"<programlisting>\n"
4731"Package: *\n"
4732"Pin: release a=unstable\n"
4733"Pin-Priority: 50\n"
fec6996f 4734
7d76ea1d 4735#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4736#: apt_preferences.5.xml
fec6996f 4737msgid ""
7d76ea1d
DK
4738"The rule for those expressions is that they can occur anywhere where a "
4739"string can occur. Thus, the following pin assigns the priority 990 to all "
75d9bdba 4740"packages from a release starting with &ubuntu-codename;."
fec6996f
DK
4741msgstr ""
4742
7d76ea1d 4743#. type: Content of: <refentry><refsect1><refsect2><programlisting>
04f27fae 4744#: apt_preferences.5.xml
7d76ea1d 4745#, fuzzy, no-wrap
fec6996f 4746msgid ""
7d76ea1d 4747"Package: *\n"
75d9bdba 4748"Pin: release n=&ubuntu-codename;*\n"
7d76ea1d 4749"Pin-Priority: 990\n"
fec6996f 4750msgstr ""
7d76ea1d
DK
4751"<programlisting>\n"
4752"Package: *\n"
4753"Pin: release a=unstable\n"
4754"Pin-Priority: 50\n"
fec6996f 4755
7d76ea1d 4756#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4757#: apt_preferences.5.xml
fec6996f 4758msgid ""
7d76ea1d
DK
4759"If a regular expression occurs in a <literal>Package</literal> field, the "
4760"behavior is the same as if this regular expression were replaced with a list "
4761"of all package names it matches. It is undecided whether this will change in "
75d9bdba 4762"the future; thus you should always list wild-card pins first, so later "
7d76ea1d 4763"specific pins override it. The pattern \"<literal>*</literal>\" in a "
44477002 4764"Package field is not considered a &glob; expression in itself."
fec6996f
DK
4765msgstr ""
4766
7d76ea1d 4767#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4768#: apt_preferences.5.xml
7d76ea1d
DK
4769#, fuzzy
4770msgid "How APT Interprets Priorities"
4771msgstr "Como o APT Interpreta Prioridades"
4772
4773#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4774#: apt_preferences.5.xml
7d76ea1d 4775#, fuzzy
fec6996f 4776msgid ""
7d76ea1d
DK
4777"Priorities (P) assigned in the APT preferences file must be positive or "
4778"negative integers. They are interpreted as follows (roughly speaking):"
fec6996f 4779msgstr ""
7d76ea1d
DK
4780"Prioridades (P) atribuídas no arquivo de preferências do APT devem ser "
4781"números inteiros positivos ou negativos. Eles são interpretados como a "
4782"seguir (a grosso modo):"
fec6996f 4783
7d76ea1d 4784#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4785#: apt_preferences.5.xml
5e594b30
DK
4786msgid "P &gt;= 1000"
4787msgstr "P &gt;= 1000"
7d76ea1d
DK
4788
4789#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4790#: apt_preferences.5.xml
7d76ea1d 4791#, fuzzy
fec6996f 4792msgid ""
7d76ea1d
DK
4793"causes a version to be installed even if this constitutes a downgrade of the "
4794"package"
fec6996f 4795msgstr ""
7d76ea1d
DK
4796"faz com que uma instância seja instalada mesmo caso isso constitua um "
4797"dowgrade do pacote"
fec6996f 4798
7d76ea1d 4799#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4800#: apt_preferences.5.xml
5e594b30
DK
4801msgid "990 &lt;= P &lt; 1000"
4802msgstr "990 &lt;= P &lt; 1000"
7d76ea1d
DK
4803
4804#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4805#: apt_preferences.5.xml
7d76ea1d
DK
4806#, fuzzy
4807msgid ""
4808"causes a version to be installed even if it does not come from the target "
4809"release, unless the installed version is more recent"
fec6996f 4810msgstr ""
7d76ea1d
DK
4811"faz com que uma versão seja instalada mesmo caso a mesma não venha de uma "
4812"versão alvo, a menos que a versão instalada seja mais recente"
fec6996f 4813
7d76ea1d 4814#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4815#: apt_preferences.5.xml
5e594b30
DK
4816msgid "500 &lt;= P &lt; 990"
4817msgstr "500 &lt;= P &lt; 990"
7d76ea1d
DK
4818
4819#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4820#: apt_preferences.5.xml
7d76ea1d 4821#, fuzzy
fec6996f 4822msgid ""
7d76ea1d
DK
4823"causes a version to be installed unless there is a version available "
4824"belonging to the target release or the installed version is more recent"
fec6996f 4825msgstr ""
7d76ea1d
DK
4826"faz com que uma versão seja instalada a menos que exista uma versão "
4827"disponível pertencente a versão alvo ou a versão instalada seja mais recente"
fec6996f 4828
7d76ea1d 4829#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4830#: apt_preferences.5.xml
5e594b30
DK
4831msgid "100 &lt;= P &lt; 500"
4832msgstr "100 &lt;= P &lt; 500"
7d76ea1d
DK
4833
4834#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4835#: apt_preferences.5.xml
7d76ea1d
DK
4836#, fuzzy
4837msgid ""
4838"causes a version to be installed unless there is a version available "
4839"belonging to some other distribution or the installed version is more recent"
fec6996f 4840msgstr ""
7d76ea1d
DK
4841"faz com que uma versão seja instalada a menos que exista uma versão "
4842"disponível pertencente a alguma outra distribuição ou a versão instalada "
4843"seja mais recente"
fec6996f 4844
7d76ea1d 4845#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4846#: apt_preferences.5.xml
5e594b30
DK
4847msgid "0 &lt; P &lt; 100"
4848msgstr "0 &lt; P &lt; 100"
7d76ea1d
DK
4849
4850#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4851#: apt_preferences.5.xml
7d76ea1d 4852#, fuzzy
fec6996f 4853msgid ""
7d76ea1d
DK
4854"causes a version to be installed only if there is no installed version of "
4855"the package"
4856msgstr ""
4857"faz com que uma versão seja instalada somente caso não exista uma versão "
4858"instalada do pacote"
4859
4860#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4861#: apt_preferences.5.xml
7d76ea1d
DK
4862msgid "P &lt; 0"
4863msgstr "P &lt; 0"
4864
4865#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4866#: apt_preferences.5.xml
7d76ea1d
DK
4867#, fuzzy
4868msgid "prevents the version from being installed"
4869msgstr "impede a versão de ser instalada"
4870
864fe99c 4871#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4872#: apt_preferences.5.xml
864fe99c
MV
4873msgid "P = 0"
4874msgstr ""
4875
4876#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4877#: apt_preferences.5.xml
864fe99c
MV
4878msgid "has undefined behaviour, do not use it."
4879msgstr ""
4880
7d76ea1d 4881#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4882#: apt_preferences.5.xml
7d76ea1d
DK
4883#, fuzzy
4884msgid ""
864fe99c
MV
4885"The first specific-form record matching an available package version "
4886"determines the priority of the package version. Failing that, the priority "
4887"of the package is defined as the maximum of all priorities defined by "
4888"generic-form records matching the version. Records defined using patterns "
4889"in the Pin field other than \"*\" are treated like specific-form records."
7d76ea1d
DK
4890msgstr ""
4891"Caso um dos registro de forma específica descritos acima case (match) com "
4892"uma versão disponível do pacote então o primeiro desses registros "
4893"encontrados determinará a prioridade da versão do pacote. Na falha desse "
4894"cenário, caso quaisquer registros de forma genérica casem (match) com uma "
4895"versão do pacote disponível então o primeiro desses registros encontrado "
4896"determinará a prioridade da versão do pacote."
4897
4898#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4899#: apt_preferences.5.xml
7d76ea1d
DK
4900#, fuzzy
4901msgid ""
4902"For example, suppose the APT preferences file contains the three records "
4903"presented earlier:"
4904msgstr ""
4905"Por exemplo, suponha que o arquivo de preferências do APT contenha os três "
4906"registros apresentados anteriormente :"
4907
4908#. type: Content of: <refentry><refsect1><refsect2><programlisting>
04f27fae 4909#: apt_preferences.5.xml
7d76ea1d
DK
4910#, fuzzy, no-wrap
4911msgid ""
4912"Package: perl\n"
75d9bdba 4913"Pin: version &good-perl;*\n"
7d76ea1d
DK
4914"Pin-Priority: 1001\n"
4915"\n"
4916"Package: *\n"
4917"Pin: origin \"\"\n"
4918"Pin-Priority: 999\n"
4919"\n"
4920"Package: *\n"
4921"Pin: release unstable\n"
4922"Pin-Priority: 50\n"
4923msgstr ""
4924"<programlisting>\n"
4925"Package: perl\n"
4926"Pin: version 5.8*\n"
4927"Pin-Priority: 1001\n"
4928"\n"
4929"Package: *\n"
4930"Pin: origin \"\"\n"
4931"Pin-Priority: 999\n"
4932"\n"
4933"Package: *\n"
4934"Pin: release unstable\n"
4935"Pin-Priority: 50\n"
4936
4937#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4938#: apt_preferences.5.xml
7d76ea1d
DK
4939msgid "Then:"
4940msgstr ""
4941
4942#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4943#: apt_preferences.5.xml
7d76ea1d
DK
4944#, fuzzy
4945msgid ""
4946"The most recent available version of the <literal>perl</literal> package "
4947"will be installed, so long as that version's version number begins with "
75d9bdba
JR
4948"\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> &good-perl;"
4949"* version of <literal>perl</literal> is available and the installed version "
4950"is &bad-perl;*, then <literal>perl</literal> will be downgraded."
7d76ea1d
DK
4951msgstr ""
4952"A versão mais recente disponível do pacote <literal>perl</literal> será "
4953"instalado, contanto que esse número de versão da versão inicie com "
4954"\"<literal>5.8</literal>\". Caso <emphasis>qualquer</emphasis> versão 5.8* "
4955"de <literal>perl</literal> esteja disponível e a versão instalada seja 5.9*, "
4956"será feito um downgrade do <literal>perl</literal>."
4957
4958#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4959#: apt_preferences.5.xml
7d76ea1d
DK
4960#, fuzzy
4961msgid ""
4962"A version of any package other than <literal>perl</literal> that is "
4963"available from the local system has priority over other versions, even "
4964"versions belonging to the target release."
4965msgstr ""
4966"Uma versão de qualquer pacote diferente de <literal>perl</literal> que "
4967"esteja disponível no sistema local possui prioridade sobre outras versões, "
4968"mesmo versões pertencentes a versão alvo."
4969
4970#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4971#: apt_preferences.5.xml
7d76ea1d
DK
4972#, fuzzy
4973msgid ""
4974"A version of a package whose origin is not the local system but some other "
4975"site listed in &sources-list; and which belongs to an <literal>unstable</"
4976"literal> distribution is only installed if it is selected for installation "
4977"and no version of the package is already installed."
4978msgstr ""
4979"Uma versão de um pacote cuja origem não seja o sistema local mas sim algum "
4980"outro site listado no arquivo &sources-list; e que pertença a uma "
4981"distribuição <literal>unstable</literal> é instalada somente caso a mesma "
4982"seja selecionada para instalação e nenhuma versão do pacote já esteja "
4983"instalada."
4984
4985#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4986#: apt_preferences.5.xml
7d76ea1d
DK
4987#, fuzzy
4988msgid "Determination of Package Version and Distribution Properties"
4989msgstr "Determinação da Versão do Pacote e Propriedades da Distribuição"
4990
4991#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4992#: apt_preferences.5.xml
7d76ea1d
DK
4993#, fuzzy
4994msgid ""
4995"The locations listed in the &sources-list; file should provide "
4996"<filename>Packages</filename> and <filename>Release</filename> files to "
4997"describe the packages available at that location."
4998msgstr ""
4999"As localidades listadas em um arquivo &sources-list; devem fornecer arquivos "
5000"<filename>Packages</filename> e <filename>Release</filename> para descrever "
5001"os pacotes disponíveis nessas localidades."
5002
5003#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5004#: apt_preferences.5.xml
7d76ea1d
DK
5005#, fuzzy
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"O arquivo <filename>Packages</filename> é normalmente encontrado no "
5016"diretório <filename>.../dists/<replaceable>nome-distribuição</replaceable>/"
5017"<replaceable>componente</replaceable>/<replaceable>arquitetura</"
5018"replaceable></filename> : por exemplo, <filename>.../dists/stable/main/"
5019"binary-i386/Packages</filename>. O arquivo consiste de uma série de "
5020"registros de múltiplas linhas, uma para cada pacote disponível no diretório. "
5021"Somente duas linhas em cada registro são relevantes para definir prioridades "
5022"do APT :"
5023
5024#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5025#: apt_preferences.5.xml
7d76ea1d
DK
5026#, fuzzy
5027msgid "the <literal>Package:</literal> line"
5028msgstr "a linha <literal>Package:</literal>"
5029
5030#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5031#: apt_preferences.5.xml
7d76ea1d
DK
5032#, fuzzy
5033msgid "gives the package name"
5034msgstr "informa o nome do pacote"
5035
5036#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5037#: apt_preferences.5.xml
7d76ea1d
DK
5038#, fuzzy
5039msgid "the <literal>Version:</literal> line"
5040msgstr "a linha <literal>Version:</literal>"
5041
5042#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5043#: apt_preferences.5.xml
7d76ea1d
DK
5044#, fuzzy
5045msgid "gives the version number for the named package"
5046msgstr "informa o número de versão do pacote"
5047
5048#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5049#: apt_preferences.5.xml
7d76ea1d
DK
5050#, fuzzy
5051msgid ""
5052"The <filename>Release</filename> file is normally found in the directory "
5053"<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
5054"example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
9feb98eb
DK
5055"dists/&debian-stable-codename;/Release</filename>. It consists of a single "
5056"multi-line record which applies to <emphasis>all</emphasis> of the packages "
5057"in the directory tree below its parent. Unlike the <filename>Packages</"
5058"filename> file, nearly all of the lines in a <filename>Release</filename> "
5059"file are relevant for setting APT priorities:"
7d76ea1d
DK
5060msgstr ""
5061"O arquivo <filename>Release</filename> é normalmente encontrado no diretório "
5062"<filename>.../dists/<replaceable>nome-distribuição</replaceable></"
5063"filename> : por exemplo, <filename>.../dists/stable/Release</filename>, ou "
5064"<filename>.../dists/woody/Release</filename>. O arquivo consiste de um "
5065"registro de múltiplas linhas o qual se aplica a <emphasis>todos</emphasis> "
5066"os pacotes na àrvore de diretórios abaixo de seu diretório pai. Diferente do "
5067"arquivo <filename>Packages</filename>, quase todas as linhas em um arquivo "
5068"<filename>Release</filename> são relevantes para a definição de prioridades "
5069"do APT :"
5070
5071#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5072#: apt_preferences.5.xml
7d76ea1d
DK
5073#, fuzzy
5074msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
5075msgstr "a linha <literal>Archive:</literal>"
5076
5077#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5078#: apt_preferences.5.xml
7d76ea1d
DK
5079#, fuzzy
5080msgid ""
5081"names the archive to which all the packages in the directory tree belong. "
5082"For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
5083"that all of the packages in the directory tree below the parent of the "
5084"<filename>Release</filename> file are in a <literal>stable</literal> "
5085"archive. Specifying this value in the APT preferences file would require "
5086"the line:"
5087msgstr ""
5088"dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
5089"pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
5090"pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
5091"<filename>Release</filename> estão no respositório <literal>stable</"
5092"literal>. Especificar esse valor no arquivo de preferências do APT iria "
5093"requerer a linha :"
5094
5095#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5096#: apt_preferences.5.xml
7d76ea1d
DK
5097#, fuzzy, no-wrap
5098msgid "Pin: release a=stable\n"
fec6996f 5099msgstr ""
7d76ea1d
DK
5100"<programlisting>\n"
5101"Pin: release a=stable\n"
fec6996f 5102
7d76ea1d 5103#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5104#: apt_preferences.5.xml
7d76ea1d
DK
5105#, fuzzy
5106msgid "the <literal>Codename:</literal> line"
5107msgstr "a linha <literal>Component:</literal>"
5108
5109#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5110#: apt_preferences.5.xml
7d76ea1d 5111#, fuzzy
fec6996f 5112msgid ""
7d76ea1d 5113"names the codename to which all the packages in the directory tree belong. "
9feb98eb
DK
5114"For example, the line \"Codename: &debian-testing-codename;\" specifies that "
5115"all of the packages in the directory tree below the parent of the "
5116"<filename>Release</filename> file belong to a version named <literal>&debian-"
5117"testing-codename;</literal>. Specifying this value in the APT preferences "
5118"file would require the line:"
fec6996f 5119msgstr ""
7d76ea1d
DK
5120"dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
5121"pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
5122"pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
5123"<filename>Release</filename> estão no respositório <literal>stable</"
5124"literal>. Especificar esse valor no arquivo de preferências do APT iria "
5125"requerer a linha :"
fec6996f 5126
7d76ea1d 5127#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5128#: apt_preferences.5.xml
7d76ea1d 5129#, fuzzy, no-wrap
9feb98eb 5130msgid "Pin: release n=&debian-testing-codename;\n"
fec6996f 5131msgstr ""
7d76ea1d
DK
5132"<programlisting>\n"
5133"Pin: release a=stable\n"
fec6996f 5134
7d76ea1d 5135#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5136#: apt_preferences.5.xml
7d76ea1d 5137#, fuzzy
fec6996f 5138msgid ""
7d76ea1d 5139"names the release version. For example, the packages in the tree might "
9feb98eb
DK
5140"belong to Debian release version &debian-stable-version;. Note that there "
5141"is normally no version number for the <literal>testing</literal> and "
44477002
JR
5142"<literal>unstable</literal> distributions because they have not been "
5143"released yet. Specifying this in the APT preferences file would require one "
5144"of the following lines."
fec6996f 5145msgstr ""
7d76ea1d
DK
5146"dá nome a versão da distribuição. Por exemplo, os pacote na àrvore podem "
5147"pertencer a distribuição Debian versão 3.0. Note que normalmente não existe "
5148"número de versão para as distribuições <literal>testing</literal> e "
5149"<literal>unstable</literal> devido as mesmas não terem sido lançadas ainda. "
5150"Especificar isso no arquivo de preferências do APT iria requerer uma das "
5151"linhas a seguir."
fec6996f 5152
7d76ea1d 5153#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5154#: apt_preferences.5.xml
7d76ea1d 5155#, fuzzy, no-wrap
fec6996f 5156msgid ""
9feb98eb
DK
5157"Pin: release v=&debian-stable-version;\n"
5158"Pin: release a=stable, v=&debian-stable-version;\n"
5159"Pin: release &debian-stable-version;\n"
fec6996f 5160msgstr ""
7d76ea1d
DK
5161"<programlisting>\n"
5162"Pin: release v=3.0\n"
5163"Pin: release a=stable v=3.0\n"
5164"Pin: release 3.0\n"
fec6996f 5165
7d76ea1d 5166#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5167#: apt_preferences.5.xml
7d76ea1d
DK
5168#, fuzzy
5169msgid "the <literal>Component:</literal> line"
5170msgstr "a linha <literal>Component:</literal>"
fec6996f 5171
7d76ea1d 5172#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5173#: apt_preferences.5.xml
7d76ea1d 5174#, fuzzy
fec6996f 5175msgid ""
7d76ea1d
DK
5176"names the licensing component associated with the packages in the directory "
5177"tree of the <filename>Release</filename> file. For example, the line "
5178"\"Component: main\" specifies that all the packages in the directory tree "
5179"are from the <literal>main</literal> component, which entails that they are "
5180"licensed under terms listed in the Debian Free Software Guidelines. "
5181"Specifying this component in the APT preferences file would require the line:"
fec6996f 5182msgstr ""
7d76ea1d
DK
5183"dá nome ao componente de licenciamento associado com os pacotes na àrvore de "
5184"diretório do arquivo <filename>Release</filename>. Por exemplo, a linha "
5185"\"Component: main\" especifica que todos os pacotes na àrvore de diretório "
5186"são do componente <literal>main</literal>, o que significa que as mesmas "
5187"estão licenciadas sob os termos da Linhas Guias Debian para o Software Livre "
5188"(a DFSG). Especificar esse componente no arquivo de preferências do APT iria "
5189"requerer a linha :"
fec6996f 5190
7d76ea1d 5191#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5192#: apt_preferences.5.xml
7d76ea1d
DK
5193#, fuzzy, no-wrap
5194msgid "Pin: release c=main\n"
fec6996f 5195msgstr ""
7d76ea1d
DK
5196"<programlisting>\n"
5197"Pin: release c=main\n"
fec6996f 5198
7d76ea1d 5199#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5200#: apt_preferences.5.xml
7d76ea1d
DK
5201#, fuzzy
5202msgid "the <literal>Origin:</literal> line"
5203msgstr "a linha <literal>Origin:</literal>"
fec6996f 5204
7d76ea1d 5205#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5206#: apt_preferences.5.xml
7d76ea1d
DK
5207#, fuzzy
5208msgid ""
5209"names the originator of the packages in the directory tree of the "
5210"<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
5211"literal>. Specifying this origin in the APT preferences file would require "
5212"the line:"
fec6996f 5213msgstr ""
7d76ea1d
DK
5214"dá nome ao produtor dos pacotes na àrvore de diretório do arquivo "
5215"<filename>Release</filename>. O mais comum é esse valor ser <literal>Debian</"
5216"literal>. Especificar essa origem no arquivo de preferências do APT iria "
5217"requerer a linha :"
fec6996f 5218
7d76ea1d 5219#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5220#: apt_preferences.5.xml
7d76ea1d
DK
5221#, fuzzy, no-wrap
5222msgid "Pin: release o=Debian\n"
fec6996f 5223msgstr ""
7d76ea1d
DK
5224"<programlisting>\n"
5225"Pin: release o=Debian\n"
fec6996f 5226
7d76ea1d 5227#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5228#: apt_preferences.5.xml
7d76ea1d
DK
5229#, fuzzy
5230msgid "the <literal>Label:</literal> line"
5231msgstr "a linha <literal>Label:</literal>"
5232
5233#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5234#: apt_preferences.5.xml
7d76ea1d 5235#, fuzzy
fec6996f 5236msgid ""
7d76ea1d
DK
5237"names the label of the packages in the directory tree of the "
5238"<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
5239"literal>. Specifying this label in the APT preferences file would require "
5240"the line:"
fec6996f 5241msgstr ""
7d76ea1d
DK
5242"dá nome ao rótulo (label) dos pacotes na árvore de diretório. O mais comum é "
5243"esse valor ser <literal>Debian</literal>. Especificar esse rótulo (label) no "
5244"arquivo de preferências do APT iria requerer a linha :"
fec6996f 5245
7d76ea1d 5246#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5247#: apt_preferences.5.xml
7d76ea1d
DK
5248#, fuzzy, no-wrap
5249msgid "Pin: release l=Debian\n"
fec6996f 5250msgstr ""
7d76ea1d
DK
5251"<programlisting>\n"
5252"Pin: release l=Debian\n"
fec6996f 5253
7d76ea1d 5254#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5255#: apt_preferences.5.xml
7d76ea1d 5256#, fuzzy
fec6996f 5257msgid ""
7d76ea1d
DK
5258"All of the <filename>Packages</filename> and <filename>Release</filename> "
5259"files retrieved from locations listed in the &sources-list; file are stored "
5260"in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
5261"named by the variable <literal>Dir::State::Lists</literal> in the "
5262"<filename>apt.conf</filename> file. For example, the file <filename>debian."
5263"lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
5264"contains the <filename>Release</filename> file retrieved from the site "
5265"<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
5266"architecture files from the <literal>contrib</literal> component of the "
5267"<literal>unstable</literal> distribution."
fec6996f 5268msgstr ""
7d76ea1d
DK
5269"Todos os arquivos <filename>Packages</filename> e <filename>Release</"
5270"filename> obtidos das localidades listadas no arquivo &sources-list; são "
5271"mantidos no diretório <filename>/var/lib/apt/lists</filename> ou no arquivo "
5272"indicado pela variável <literal>Dir::State::Lists</literal> no arquivo "
5273"<filename>apt.conf</filename>. Por exemplo, o arquivo <filename>debian.lcs."
5274"mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> contém "
5275"o arquivo <filename>Release</filename> obtido do site <literal>debian.lcs."
5276"mit.edu</literal> para a arquitetura <literal>binary-i386</literal>, "
5277"arquivos do componente <literal>contrib</literal> da distribuição "
5278"<literal>unstable</literal>."
fec6996f 5279
7d76ea1d 5280#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5281#: apt_preferences.5.xml
7d76ea1d
DK
5282#, fuzzy
5283msgid "Optional Lines in an APT Preferences Record"
5284msgstr "Linhas Opcionais em um Registro de Preferências do APT"
fec6996f 5285
7d76ea1d 5286#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5287#: apt_preferences.5.xml
7d76ea1d 5288#, fuzzy
fec6996f 5289msgid ""
7d76ea1d
DK
5290"Each record in the APT preferences file can optionally begin with one or "
5291"more lines beginning with the word <literal>Explanation:</literal>. This "
5292"provides a place for comments."
fec6996f 5293msgstr ""
7d76ea1d
DK
5294"Cada registro em um arquivo de preferências do APT pode opcionalmente "
5295"iniciar com uma ou mais linhas iniciadas com a palavra <literal>Explanation:"
5296"</literal>. Isto oferece um local para inserir comentários."
fec6996f 5297
7d76ea1d 5298#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5299#: apt_preferences.5.xml
7d76ea1d
DK
5300#, fuzzy
5301msgid "Tracking Stable"
5302msgstr "Acompanhando a Stable"
fec6996f 5303
7d76ea1d 5304#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5305#: apt_preferences.5.xml
7d76ea1d 5306#, fuzzy, no-wrap
fec6996f 5307msgid ""
7d76ea1d
DK
5308"Explanation: Uninstall or do not install any Debian-originated\n"
5309"Explanation: package versions other than those in the stable distro\n"
5310"Package: *\n"
5311"Pin: release a=stable\n"
5312"Pin-Priority: 900\n"
5313"\n"
5314"Package: *\n"
5315"Pin: release o=Debian\n"
5316"Pin-Priority: -10\n"
fec6996f 5317msgstr ""
7d76ea1d
DK
5318"<programlisting>\n"
5319"Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
5320"Explanation: do Debian a não ser aquelas na distribuição stable\n"
5321"Package: *\n"
5322"Pin: release a=stable\n"
5323"Pin-Priority: 900\n"
5324"\n"
5325"Package: *\n"
5326"Pin: release o=Debian\n"
5327"Pin-Priority: -10\n"
fec6996f 5328
7d76ea1d 5329#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5330#: apt_preferences.5.xml
7d76ea1d 5331#, fuzzy
fec6996f 5332msgid ""
7d76ea1d
DK
5333"The following APT preferences file will cause APT to assign a priority "
5334"higher than the default (500) to all package versions belonging to a "
5335"<literal>stable</literal> distribution and a prohibitively low priority to "
5336"package versions belonging to other <literal>Debian</literal> "
5337"distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f 5338msgstr ""
7d76ea1d
DK
5339"O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
5340"prioridade maior do que a prioridade padrão (500) para todas as versões de "
5341"pacotes pertencentes a distribuição <literal>stable</literal> e uma "
5342"prioridade proibitivamente baixa para versões de pacotes pertencentes a "
5343"outras distribuições <literal>Debian</literal>."
fec6996f 5344
7d76ea1d 5345#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5346#: apt_preferences.5.xml
7d76ea1d 5347#, fuzzy, no-wrap
fec6996f 5348msgid ""
7d76ea1d
DK
5349"apt-get install <replaceable>package-name</replaceable>\n"
5350"apt-get upgrade\n"
5351"apt-get dist-upgrade\n"
fec6996f 5352msgstr ""
7d76ea1d
DK
5353"<programlisting>\n"
5354"apt-get install <replaceable>nome-pacote</replaceable>\n"
5355"apt-get upgrade\n"
5356"apt-get dist-upgrade\n"
fec6996f 5357
7d76ea1d 5358#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5359#: apt_preferences.5.xml
7d76ea1d 5360#, fuzzy
fec6996f 5361msgid ""
7d76ea1d
DK
5362"With a suitable &sources-list; file and the above preferences file, any of "
5363"the following commands will cause APT to upgrade to the latest "
5364"<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
5365"id=\"0\"/>"
fec6996f 5366msgstr ""
7d76ea1d
DK
5367"Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
5368"quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
5369"ulítma(s) versão(ôes) <literal>stable</literal>."
fec6996f 5370
7d76ea1d 5371#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5372#: apt_preferences.5.xml
7d76ea1d
DK
5373#, fuzzy, no-wrap
5374msgid "apt-get install <replaceable>package</replaceable>/testing\n"
fec6996f 5375msgstr ""
7d76ea1d
DK
5376"<programlisting>\n"
5377"apt-get install <replaceable>pacote</replaceable>/testing\n"
fec6996f 5378
7d76ea1d 5379#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5380#: apt_preferences.5.xml
7d76ea1d 5381#, fuzzy
fec6996f 5382msgid ""
7d76ea1d
DK
5383"The following command will cause APT to upgrade the specified package to the "
5384"latest version from the <literal>testing</literal> distribution; the package "
5385"will not be upgraded again unless this command is given again. <placeholder "
5386"type=\"programlisting\" id=\"0\"/>"
fec6996f 5387msgstr ""
7d76ea1d
DK
5388"O comando a seguir fará com que o APT atualize o pacote especificado para a "
5389"última versão da distribuição <literal>testing</literal>; o pacote não serpa "
5390"atualizado novamente a menos que esse comando seja executado novamente."
fec6996f 5391
7d76ea1d 5392#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5393#: apt_preferences.5.xml
7d76ea1d
DK
5394#, fuzzy
5395msgid "Tracking Testing or Unstable"
5396msgstr "Acompanhando a Testing"
fec6996f 5397
7d76ea1d 5398#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5399#: apt_preferences.5.xml
7d76ea1d
DK
5400#, fuzzy, no-wrap
5401msgid ""
5402"Package: *\n"
5403"Pin: release a=testing\n"
5404"Pin-Priority: 900\n"
5405"\n"
5406"Package: *\n"
5407"Pin: release a=unstable\n"
5408"Pin-Priority: 800\n"
5409"\n"
5410"Package: *\n"
5411"Pin: release o=Debian\n"
5412"Pin-Priority: -10\n"
fec6996f 5413msgstr ""
7d76ea1d
DK
5414"<programlisting>\n"
5415"Package: *\n"
5416"Pin: release a=testing\n"
5417"Pin-Priority: 900\n"
5418"\n"
5419"Package: *\n"
5420"Pin: release a=unstable\n"
5421"Pin-Priority: 800\n"
5422"\n"
5423"Package: *\n"
5424"Pin: release o=Debian\n"
5425"Pin-Priority: -10\n"
fec6996f 5426
7d76ea1d 5427#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5428#: apt_preferences.5.xml
7d76ea1d 5429#, fuzzy
fec6996f 5430msgid ""
7d76ea1d
DK
5431"The following APT preferences file will cause APT to assign a high priority "
5432"to package versions from the <literal>testing</literal> distribution, a "
5433"lower priority to package versions from the <literal>unstable</literal> "
5434"distribution, and a prohibitively low priority to package versions from "
5435"other <literal>Debian</literal> distributions. <placeholder type="
5436"\"programlisting\" id=\"0\"/>"
fec6996f 5437msgstr ""
7d76ea1d
DK
5438"O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
5439"prioridade maior para versões de pacote da distribuição <literal>testing</"
5440"literal>, uma prioridade menor para versões de pacotes da distribuição "
5441"<literal>unstable</literal> e uma prioridade proibitivamente baixa para "
5442"versões de pacotes de outras distribuições <literal>Debian</literal>."
fec6996f 5443
7d76ea1d 5444#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5445#: apt_preferences.5.xml
7d76ea1d 5446#, fuzzy
fec6996f 5447msgid ""
7d76ea1d
DK
5448"With a suitable &sources-list; file and the above preferences file, any of "
5449"the following commands will cause APT to upgrade to the latest "
5450"<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
5451"id=\"0\"/>"
fec6996f 5452msgstr ""
7d76ea1d 5453"Com um arquivo &sources-list; adequado e o arquivo de preferências do APT "
8c39c4b6
MV
5454"acima, quaisquer dos comandos a seguir farão com que o APT atualize para "
5455"a(s) última(s) versão(ões) <literal>testing</literal>."
fec6996f 5456
7d76ea1d 5457#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5458#: apt_preferences.5.xml
7d76ea1d
DK
5459#, fuzzy, no-wrap
5460msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
fec6996f 5461msgstr ""
7d76ea1d
DK
5462"<programlisting>\n"
5463"apt-get install <replaceable>pacote</replaceable>/unstable\n"
fec6996f 5464
7d76ea1d 5465#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5466#: apt_preferences.5.xml
7d76ea1d 5467#, fuzzy
fec6996f 5468msgid ""
7d76ea1d
DK
5469"The following command will cause APT to upgrade the specified package to the "
5470"latest version from the <literal>unstable</literal> distribution. "
5471"Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
5472"the most recent <literal>testing</literal> version if that is more recent "
5473"than the installed version, otherwise, to the most recent <literal>unstable</"
5474"literal> version if that is more recent than the installed version. "
5475"<placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f 5476msgstr ""
7d76ea1d
DK
5477"O comando a seguir fará com que o APT atualize o pacote especificado para a "
5478"última versão da distribuição <literal>unstable</literal>. Assim, o comando "
5479"<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
5480"<literal>testing</literal> mais recente caso essa versão seja mais recente "
5481"que a versão instalada, caso não seja, o pacote será atualizado para a "
5482"versão <literal>unstable</literal> mais recente caso a mesma seja mais "
5483"recente que a versão instalada."
fec6996f 5484
7d76ea1d 5485#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5486#: apt_preferences.5.xml
7d76ea1d 5487msgid "Tracking the evolution of a codename release"
fec6996f
DK
5488msgstr ""
5489
7d76ea1d 5490#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5491#: apt_preferences.5.xml
7d76ea1d 5492#, fuzzy, no-wrap
fec6996f 5493msgid ""
7d76ea1d 5494"Explanation: Uninstall or do not install any Debian-originated package versions\n"
9feb98eb 5495"Explanation: other than those in the distribution codenamed with &debian-testing-codename; or sid\n"
7d76ea1d 5496"Package: *\n"
9feb98eb 5497"Pin: release n=&debian-testing-codename;\n"
7d76ea1d
DK
5498"Pin-Priority: 900\n"
5499"\n"
5500"Explanation: Debian unstable is always codenamed with sid\n"
5501"Package: *\n"
5502"Pin: release n=sid\n"
5503"Pin-Priority: 800\n"
5504"\n"
5505"Package: *\n"
5506"Pin: release o=Debian\n"
5507"Pin-Priority: -10\n"
fec6996f 5508msgstr ""
7d76ea1d
DK
5509"<programlisting>\n"
5510"Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
5511"Explanation: do Debian a não ser aquelas na distribuição stable\n"
5512"Package: *\n"
5513"Pin: release a=stable\n"
5514"Pin-Priority: 900\n"
5515"\n"
5516"Package: *\n"
5517"Pin: release o=Debian\n"
5518"Pin-Priority: -10\n"
fec6996f 5519
7d76ea1d 5520#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5521#: apt_preferences.5.xml
fec6996f 5522msgid ""
7d76ea1d
DK
5523"The following APT preferences file will cause APT to assign a priority "
5524"higher than the default (500) to all package versions belonging to a "
5525"specified codename of a distribution and a prohibitively low priority to "
5526"package versions belonging to other <literal>Debian</literal> distributions, "
5527"codenames and archives. Note that with this APT preference APT will follow "
5528"the migration of a release from the archive <literal>testing</literal> to "
5529"<literal>stable</literal> and later <literal>oldstable</literal>. If you "
5530"want to follow for example the progress in <literal>testing</literal> "
5531"notwithstanding the codename changes you should use the example "
5532"configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
5533msgstr ""
5534
5535#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5536#: apt_preferences.5.xml
7d76ea1d
DK
5537#, fuzzy
5538msgid ""
5539"With a suitable &sources-list; file and the above preferences file, any of "
5540"the following commands will cause APT to upgrade to the latest version(s) in "
9feb98eb 5541"the release codenamed with <literal>&debian-testing-codename;</literal>. "
7d76ea1d 5542"<placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f 5543msgstr ""
7d76ea1d
DK
5544"Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
5545"quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
5546"ulítma(s) versão(ôes) <literal>stable</literal>."
fec6996f 5547
7d76ea1d 5548#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5549#: apt_preferences.5.xml
7d76ea1d
DK
5550#, fuzzy, no-wrap
5551msgid "apt-get install <replaceable>package</replaceable>/sid\n"
fec6996f 5552msgstr ""
7d76ea1d
DK
5553"<programlisting>\n"
5554"apt-get install <replaceable>pacote</replaceable>/testing\n"
fec6996f 5555
7d76ea1d 5556#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5557#: apt_preferences.5.xml
7d76ea1d 5558#, fuzzy
fec6996f 5559msgid ""
7d76ea1d
DK
5560"The following command will cause APT to upgrade the specified package to the "
5561"latest version from the <literal>sid</literal> distribution. Thereafter, "
5562"<command>apt-get upgrade</command> will upgrade the package to the most "
9feb98eb
DK
5563"recent <literal>&debian-testing-codename;</literal> version if that is more "
5564"recent than the installed version, otherwise, to the most recent "
5565"<literal>sid</literal> version if that is more recent than the installed "
5566"version. <placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f 5567msgstr ""
7d76ea1d
DK
5568"O comando a seguir fará com que o APT atualize o pacote especificado para a "
5569"última versão da distribuição <literal>unstable</literal>. Assim, o comando "
5570"<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
5571"<literal>testing</literal> mais recente caso essa versão seja mais recente "
5572"que a versão instalada, caso não seja, o pacote será atualizado para a "
5573"versão <literal>unstable</literal> mais recente caso a mesma seja mais "
5574"recente que a versão instalada."
fec6996f 5575
fec6996f 5576#. type: Content of: <refentry><refsect1><para>
04f27fae 5577#: apt_preferences.5.xml
fec6996f 5578#, fuzzy
7d76ea1d 5579msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
fec6996f
DK
5580msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
5581
fec6996f 5582#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 5583#: sources.list.5.xml
dabb215c 5584msgid "List of configured APT data sources"
7d76ea1d 5585msgstr ""
fec6996f
DK
5586
5587#. type: Content of: <refentry><refsect1><para>
04f27fae 5588#: sources.list.5.xml
fec6996f 5589msgid ""
051029f8 5590"The source list <filename>/etc/apt/sources.list</filename> and the files "
864fe99c
MV
5591"contained in <filename>/etc/apt/sources.list.d/</filename> are designed to "
5592"support any number of active sources and a variety of source media. The "
051029f8 5593"files list one source per line (one-line style) or contain multiline stanzas "
864fe99c
MV
5594"defining one or more sources per stanza (deb822 style), with the most "
5595"preferred source listed first (in case a single version is available from "
5596"more than one source). The information available from the configured sources "
5597"is acquired by <command>apt-get update</command> (or by an equivalent "
5598"command from another APT front-end)."
5599msgstr ""
5600
5601#. type: Content of: <refentry><refsect1><title>
04f27fae 5602#: sources.list.5.xml
864fe99c
MV
5603msgid "sources.list.d"
5604msgstr ""
5605
5606#. type: Content of: <refentry><refsect1><para>
04f27fae 5607#: sources.list.5.xml
864fe99c
MV
5608msgid ""
5609"The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
5610"add sources.list entries in separate files. Two different file formats are "
5611"allowed as described in the next two sections. Filenames need to have "
5612"either the extension <filename>.list</filename> or <filename>.sources</"
5613"filename> depending on the contained format. The filenames may only contain "
5614"letters (a-z and A-Z), digits (0-9), underscore (_), hyphen (-) and period "
5615"(.) characters. Otherwise APT will print a notice that it has ignored a "
5616"file, unless that file matches a pattern in the <literal>Dir::Ignore-Files-"
5617"Silently</literal> configuration list - in which case it will be silently "
5618"ignored."
5619msgstr ""
5620
5621#. type: Content of: <refentry><refsect1><title>
04f27fae 5622#: sources.list.5.xml
051029f8 5623msgid "One-Line-Style Format"
fec6996f 5624msgstr ""
fec6996f
DK
5625
5626#. type: Content of: <refentry><refsect1><para>
04f27fae 5627#: sources.list.5.xml
fec6996f 5628msgid ""
864fe99c
MV
5629"Files in this format have the extension <filename>.list</filename>. Each "
5630"line specifying a source starts with a type (e.g. <literal>deb-src</"
5723791e
JR
5631"literal>) followed by options and arguments for this type. Individual "
5632"entries cannot be continued onto a following line. Empty lines are ignored, "
5633"and a <literal>#</literal> character anywhere on a line marks the remainder "
864fe99c
MV
5634"of that line as a comment. Consequently an entry can be disabled by "
5635"commenting out the entire line. If options should be provided they are "
5636"separated by spaces and all of them together are enclosed by square brackets "
5637"(<literal>[]</literal>) included in the line after the type separated from "
5638"it with a space. If an option allows multiple values these are separated "
5639"from each other with a comma (<literal>,</literal>). An option name is "
051029f8
DK
5640"separated from its value(s) by an equals sign (<literal>=</literal>). "
5641"Multivalue options also have <literal>-=</literal> and <literal>+=</literal> "
5642"as separators, which instead of replacing the default with the given "
5643"value(s) modify the default value(s) to remove or include the given values."
864fe99c
MV
5644msgstr ""
5645
5646#. type: Content of: <refentry><refsect1><para>
04f27fae 5647#: sources.list.5.xml
864fe99c
MV
5648msgid ""
5649"This is the traditional format and supported by all apt versions. Note that "
5650"not all options as described below are supported by all apt versions. Note "
051029f8 5651"also that some older applications parsing this format on their own might not "
864fe99c
MV
5652"expect to encounter options as they were uncommon before the introduction of "
5653"multi-architecture support."
7d76ea1d
DK
5654msgstr ""
5655
5656#. type: Content of: <refentry><refsect1><title>
04f27fae 5657#: sources.list.5.xml
051029f8 5658msgid "deb822-Style Format"
fec6996f 5659msgstr ""
fec6996f
DK
5660
5661#. type: Content of: <refentry><refsect1><para>
04f27fae 5662#: sources.list.5.xml
864fe99c
MV
5663msgid ""
5664"Files in this format have the extension <filename>.sources</filename>. The "
5665"format is similar in syntax to other files used by Debian and its "
051029f8
DK
5666"derivatives, such as the metadata files that apt will download from the "
5667"configured sources or the <filename>debian/control</filename> file in a "
5668"Debian source package. Individual entries are separated by an empty line; "
5669"additional empty lines are ignored, and a <literal>#</literal> character at "
5670"the start of the line marks the entire line as a comment. An entry can hence "
5671"be disabled by commenting out each line belonging to the stanza, but it is "
864fe99c
MV
5672"usually easier to add the field \"Enabled: no\" to the stanza to disable the "
5673"entry. Removing the field or setting it to yes reenables it. Options have "
5674"the same syntax as every other field: A fieldname separated by a colon "
5675"(<literal>:</literal>) and optionally spaces from its value(s). Note "
5676"especially that multiple values are separated by spaces, not by commas as in "
051029f8 5677"the one-line format. Multivalue fields like <literal>Architectures</literal> "
864fe99c
MV
5678"also have <literal>Architectures-Add</literal> and <literal>Architectures-"
5679"Remove</literal> to modify the default value rather than replacing it."
5680msgstr ""
5681
5682#. type: Content of: <refentry><refsect1><para>
04f27fae 5683#: sources.list.5.xml
fec6996f 5684msgid ""
864fe99c
MV
5685"This is a new format supported by apt itself since version 1.1. Previous "
5686"versions ignore such files with a notice message as described earlier. It "
051029f8
DK
5687"is intended to make this format gradually the default format, deprecating "
5688"the previously described one-line-style format, as it is easier to create, "
5689"extend and modify for humans and machines alike especially if a lot of "
864fe99c
MV
5690"sources and/or options are involved. Developers who are working with and/or "
5691"parsing apt sources are highly encouraged to add support for this format and "
5692"to contact the APT team to coordinate and share this work. Users can freely "
051029f8 5693"adopt this format already, but may encounter problems with software not "
864fe99c 5694"supporting the format yet."
7d76ea1d
DK
5695msgstr ""
5696
5697#. type: Content of: <refentry><refsect1><title>
04f27fae 5698#: sources.list.5.xml
051029f8 5699msgid "The deb and deb-src Types: General Format"
fec6996f 5700msgstr ""
fec6996f 5701
b39c1859 5702#. type: Content of: <refentry><refsect1><para>
04f27fae 5703#: sources.list.5.xml
b39c1859 5704msgid ""
5723791e
JR
5705"The <literal>deb</literal> type references a typical two-level Debian "
5706"archive, <filename>distribution/component</filename>. The "
864fe99c 5707"<literal>distribution</literal> is generally a suite name like "
7d76ea1d 5708"<literal>stable</literal> or <literal>testing</literal> or a codename like "
9feb98eb
DK
5709"<literal>&debian-stable-codename;</literal> or <literal>&debian-testing-"
5710"codename;</literal> while component is one of <literal>main</literal>, "
5723791e
JR
5711"<literal>contrib</literal> or <literal>non-free</literal>. The <literal>deb-"
5712"src</literal> type references a Debian distribution's source code in the "
5713"same form as the <literal>deb</literal> type. A <literal>deb-src</literal> "
5714"line is required to fetch source indexes."
0fd68707
MV
5715msgstr ""
5716
5717#. type: Content of: <refentry><refsect1><para>
04f27fae 5718#: sources.list.5.xml
0fd68707 5719msgid ""
051029f8 5720"The format for two one-line-style entries using the <literal>deb</literal> "
864fe99c 5721"and <literal>deb-src</literal> types is:"
b39c1859
MV
5722msgstr ""
5723
7d76ea1d 5724#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5725#: sources.list.5.xml
7d76ea1d 5726#, no-wrap
864fe99c
MV
5727msgid ""
5728"deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]\n"
5729"deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]"
609bb2ea
MV
5730msgstr ""
5731
5732#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5733#: sources.list.5.xml
609bb2ea
MV
5734#, no-wrap
5735msgid ""
b18dd45f 5736" Types: deb deb-src\n"
864fe99c
MV
5737" URIs: uri\n"
5738" Suites: suite\n"
5739" Components: [component1] [component2] [...]\n"
5740" option1: value1\n"
5741" option2: value2\n"
609bb2ea 5742" "
fec6996f 5743msgstr ""
fec6996f 5744
7d76ea1d 5745#. type: Content of: <refentry><refsect1><para>
04f27fae 5746#: sources.list.5.xml
609bb2ea 5747msgid ""
864fe99c
MV
5748"Alternatively the equivalent entry in deb822 style looks like this: "
5749"<placeholder type=\"literallayout\" id=\"0\"/>"
609bb2ea
MV
5750msgstr ""
5751
5752#. type: Content of: <refentry><refsect1><para>
04f27fae 5753#: sources.list.5.xml
7d76ea1d
DK
5754msgid ""
5755"The URI for the <literal>deb</literal> type must specify the base of the "
5756"Debian distribution, from which APT will find the information it needs. "
609bb2ea
MV
5757"<literal>suite</literal> can specify an exact path, in which case the "
5758"components must be omitted and <literal>suite</literal> must end with a "
5759"slash (<literal>/</literal>). This is useful for the case when only a "
864fe99c
MV
5760"particular sub-directory of the archive denoted by the URI is of interest. "
5761"If <literal>suite</literal> does not specify an exact path, at least one "
5723791e 5762"<literal>component</literal> must be present."
fec6996f 5763msgstr ""
fec6996f 5764
7d76ea1d 5765#. type: Content of: <refentry><refsect1><para>
04f27fae 5766#: sources.list.5.xml
fec6996f 5767msgid ""
609bb2ea
MV
5768"<literal>suite</literal> may also contain a variable, <literal>$(ARCH)</"
5769"literal> which expands to the Debian architecture (such as <literal>amd64</"
5770"literal> or <literal>armel</literal>) used on the system. This permits "
5771"architecture-independent <filename>sources.list</filename> files to be used. "
051029f8 5772"In general this is only of interest when specifying an exact path; "
609bb2ea
MV
5773"<literal>APT</literal> will automatically generate a URI with the current "
5774"architecture otherwise."
fec6996f 5775msgstr ""
fec6996f 5776
7d76ea1d 5777#. type: Content of: <refentry><refsect1><para>
04f27fae 5778#: sources.list.5.xml
187aa32e 5779msgid ""
051029f8 5780"Especially in the one-line-style format since only one distribution can be "
864fe99c
MV
5781"specified per line it may be necessary to have multiple lines for the same "
5782"URI, if a subset of all available distributions or components at that "
609bb2ea
MV
5783"location is desired. APT will sort the URI list after it has generated a "
5784"complete set internally, and will collapse multiple references to the same "
5785"Internet host, for instance, into a single connection, so that it does not "
864fe99c
MV
5786"inefficiently establish a connection, close it, do something else, and then "
5787"re-establish a connection to that same host. APT also parallelizes "
5788"connections to different hosts to more effectively deal with sites with low "
5789"bandwidth."
187aa32e 5790msgstr ""
187aa32e 5791
7d76ea1d 5792#. type: Content of: <refentry><refsect1><para>
04f27fae 5793#: sources.list.5.xml
7d76ea1d 5794msgid ""
864fe99c
MV
5795"It is important to list sources in order of preference, with the most "
5796"preferred source listed first. Typically this will result in sorting by "
5797"speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
5798"followed by distant Internet hosts, for example)."
5799msgstr ""
5800
5801#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5802#: sources.list.5.xml
864fe99c
MV
5803#, no-wrap
5804msgid "&sourceslist-list-format;"
5805msgstr ""
5806
5807#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5808#: sources.list.5.xml
864fe99c
MV
5809#, no-wrap
5810msgid "&sourceslist-sources-format;"
5811msgstr ""
5812
5813#. type: Content of: <refentry><refsect1><para>
04f27fae 5814#: sources.list.5.xml
864fe99c 5815msgid ""
051029f8
DK
5816"As an example, the sources for your distribution could look like this in one-"
5817"line-style format: <placeholder type=\"literallayout\" id=\"0\"/> or like "
864fe99c
MV
5818"this in deb822 style format: <placeholder type=\"literallayout\" id=\"1\"/>"
5819msgstr ""
5820
5821#. type: Content of: <refentry><refsect1><title>
04f27fae 5822#: sources.list.5.xml
864fe99c
MV
5823msgid "The deb and deb-src types: Options"
5824msgstr ""
5825
5826#. type: Content of: <refentry><refsect1><para>
04f27fae 5827#: sources.list.5.xml
864fe99c 5828msgid ""
051029f8
DK
5829"Each source entry can have options specified to modify which source is "
5830"accessed and how data is acquired from it. Format, syntax and names of the "
5831"options vary between the one-line-style and deb822-style formats as "
5832"described, but they both have the same options available. For simplicity we "
5833"list the deb822 fieldname and provide the one-line name in brackets. "
5834"Remember that besides setting multivalue options explicitly, there is also "
864fe99c
MV
5835"the option to modify them based on the default, but we aren't listing those "
5836"names explicitly here. Unsupported options are silently ignored by all APT "
5837"versions."
7d76ea1d 5838msgstr ""
fec6996f 5839
7d76ea1d 5840#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5841#: sources.list.5.xml
b6c6b52f 5842msgid ""
864fe99c
MV
5843"<option>Architectures</option> (<option>arch</option>) is a multivalue "
5844"option defining for which architectures information should be downloaded. If "
5845"this option isn't set the default is all architectures as defined by the "
5846"<option>APT::Architectures</option> config option."
b6c6b52f
MV
5847msgstr ""
5848
7d76ea1d 5849#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5850#: sources.list.5.xml
ce34af08 5851msgid ""
864fe99c 5852"<option>Languages</option> (<option>lang</option>) is a multivalue option "
051029f8 5853"defining for which languages information such as translated package "
864fe99c
MV
5854"descriptions should be downloaded. If this option isn't set the default is "
5855"all languages as defined by the <option>Acquire::Languages</option> config "
5856"option."
ce34af08
MV
5857msgstr ""
5858
5859#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5860#: sources.list.5.xml
782486e8 5861msgid ""
864fe99c
MV
5862"<option>Targets</option> (<option>target</option>) is a multivalue option "
5863"defining which download targets apt will try to acquire from this source. If "
5864"not specified, the default set is defined by the <option>Acquire::"
5b057748
JAK
5865"IndexTargets</option> configuration scope (targets are specified by their "
5866"name in the <literal>Created-By</literal> field). Additionally, targets can "
5867"be enabled or disabled by using the <literal>Identifier</literal> field as "
5868"an option with a boolean value instead of using this multivalue option."
782486e8 5869msgstr ""
fec6996f 5870
e49dd9d3 5871#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5872#: sources.list.5.xml
e49dd9d3
MV
5873msgid ""
5874"<option>PDiffs</option> (<option>pdiffs</option>) is a yes/no value which "
5875"controls if APT should try to use PDiffs to update old indexes instead of "
5876"downloading the new indexes entirely. The value of this option is ignored if "
5877"the repository doesn't announce the availability of PDiffs. Defaults to the "
5878"value of the option with the same name for a specific index file defined in "
051029f8 5879"the <option>Acquire::IndexTargets</option> scope, which itself defaults to "
e49dd9d3
MV
5880"the value of configuration option <option>Acquire::PDiffs</option> which "
5881"defaults to <literal>yes</literal>."
5882msgstr ""
5883
04f27fae
MV
5884#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5885#: sources.list.5.xml
5886msgid ""
051029f8
DK
5887"<option>By-Hash</option> (<option>by-hash</option>) can have the value "
5888"<literal>yes</literal>, <literal>no</literal> or <literal>force</literal> "
5889"and controls if APT should try to acquire indexes via a URI constructed from "
5890"a hashsum of the expected file instead of using the well-known stable "
5891"filename of the index. Using this can avoid hashsum mismatches, but requires "
5892"a supporting mirror. A <literal>yes</literal> or <literal>no</literal> value "
04f27fae 5893"activates/disables the use of this feature if this source indicates support "
051029f8
DK
5894"for it, while <literal>force</literal> will enable the feature regardless of "
5895"what the source indicates. Defaults to the value of the option of the same "
5896"name for a specific index file defined in the <option>Acquire::IndexTargets</"
5897"option> scope, which itself defaults to the value of configuration option "
04f27fae
MV
5898"<option>Acquire::By-Hash</option> which defaults to <literal>yes</literal>."
5899msgstr ""
5900
7d76ea1d 5901#. type: Content of: <refentry><refsect1><para>
04f27fae 5902#: sources.list.5.xml
fec6996f 5903msgid ""
051029f8 5904"Furthermore, there are options which if set affect <emphasis>all</emphasis> "
864fe99c
MV
5905"sources with the same URI and Suite, so they have to be set on all such "
5906"entries and can not be varied between different components. APT will try to "
5907"detect and error out on such anomalies."
fec6996f 5908msgstr ""
fec6996f 5909
14e325c7
JAK
5910#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5911#: sources.list.5.xml
5912msgid ""
5913"<option>Allow-Insecure</option> (<option>allow-insecure</option>), "
5914"<option>Allow-Weak</option> (<option>allow-weak</option>) and <option>Allow-"
5915"Downgrade-To-Insecure</option> (<option>allow-downgrade-to-insecure</"
5916"option>) are boolean values which all default to <literal>no</literal>. If "
5917"set to <literal>yes</literal> they circumvent parts of &apt-secure; and "
5918"should therefore not be used lightly!"
5919msgstr ""
5920
cbbee23e
DK
5921#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5922#: sources.list.5.xml
5923msgid ""
5924"<option>Trusted</option> (<option>trusted</option>) is a tri-state value "
5925"which defaults to APT deciding if a source is considered trusted or if "
5926"warnings should be raised before e.g. packages are installed from this "
4c482ac5
MV
5927"source. This option can be used to override that decision. The value "
5928"<literal>yes</literal> tells APT always to consider this source as trusted, "
5929"even if it doesn't pass authentication checks. It disables parts of &apt-"
5930"secure;, and should therefore only be used in a local and trusted context "
5931"(if at all) as otherwise security is breached. The value <literal>no</"
5932"literal> does the opposite, causing the source to be handled as untrusted "
5933"even if the authentication checks passed successfully. The default value "
5934"can't be set explicitly."
cbbee23e
DK
5935msgstr ""
5936
864fe99c 5937#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5938#: sources.list.5.xml
864fe99c
MV
5939msgid ""
5940"<option>Signed-By</option> (<option>signed-by</option>) is either an "
5941"absolute path to a keyring file (has to be accessible and readable for the "
5942"<literal>_apt</literal> user, so ensure everyone has read-permissions on the "
5b057748
JAK
5943"file) or one or more fingerprints of keys either in the <filename>trusted."
5944"gpg</filename> keyring or in the keyrings in the <filename>trusted.gpg.d/</"
864fe99c 5945"filename> directory (see <command>apt-key fingerprint</command>). If the "
5b057748
JAK
5946"option is set, only the key(s) in this keyring or only the keys with these "
5947"fingerprints are used for the &apt-secure; verification of this repository. "
5948"Defaults to the value of the option with the same name if set in the "
5949"previously acquired <filename>Release</filename> file. Otherwise all keys "
5950"in the trusted keyrings are considered valid signers for this repository."
864fe99c 5951msgstr ""
fec6996f 5952
864fe99c 5953#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5954#: sources.list.5.xml
fec6996f 5955msgid ""
864fe99c
MV
5956"<option>Check-Valid-Until</option> (<option>check-valid-until</option>) is "
5957"a yes/no value which controls if APT should try to detect replay attacks. A "
051029f8
DK
5958"repository creator can declare a time until which the data provided in the "
5959"repository should be considered valid, and if this time is reached, but no "
5960"new data is provided, the data is considered expired and an error is "
5961"raised. Besides increasing security, as a malicious attacker can't send old "
5962"data forever to prevent a user from upgrading to a new version, this also "
5963"helps users identify mirrors which are no longer updated. However, some "
5964"repositories such as historic archives are not updated any more by design, "
5965"so this check can be disabled by setting this option to <literal>no</"
5966"literal>. Defaults to the value of configuration option <option>Acquire::"
5967"Check-Valid-Until</option> which itself defaults to <literal>yes</literal>."
864fe99c
MV
5968msgstr ""
5969
5970#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5971#: sources.list.5.xml
864fe99c 5972msgid ""
e49dd9d3 5973"<option>Valid-Until-Min</option> (<option>valid-until-min</option>) and "
864fe99c
MV
5974"<option>Valid-Until-Max</option> (<option>valid-until-max</option>) can be "
5975"used to raise or lower the time period in seconds in which the data from "
5976"this repository is considered valid. -Max can be especially useful if the "
5977"repository provides no Valid-Until field on its Release file to set your own "
bf33c3bd 5978"value, while -Min can be used to increase the valid time on seldom updated "
864fe99c
MV
5979"(local) mirrors of a more frequently updated but less accessible archive "
5980"(which is in the sources.list as well) instead of disabling the check "
5981"entirely. Default to the value of the configuration options "
5982"<option>Acquire::Min-ValidTime</option> and <option>Acquire::Max-ValidTime</"
5983"option> which are both unset by default."
fec6996f 5984msgstr ""
fec6996f 5985
7d76ea1d 5986#. type: Content of: <refentry><refsect1><title>
04f27fae 5987#: sources.list.5.xml
051029f8 5988msgid "URI Specification"
fec6996f 5989msgstr ""
fec6996f 5990
7d76ea1d 5991#. type: Content of: <refentry><refsect1><para>
04f27fae 5992#: sources.list.5.xml
7d76ea1d 5993msgid "The currently recognized URI types are:"
fec6996f 5994msgstr ""
fec6996f 5995
7d76ea1d 5996#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5997#: sources.list.5.xml
fec6996f 5998msgid ""
7d76ea1d
DK
5999"The file scheme allows an arbitrary directory in the file system to be "
6000"considered an archive. This is useful for NFS mounts and local mirrors or "
6001"archives."
fec6996f 6002msgstr ""
fec6996f 6003
7d76ea1d 6004#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6005#: sources.list.5.xml
fec6996f 6006msgid ""
7d76ea1d
DK
6007"The cdrom scheme allows APT to use a local CD-ROM drive with media swapping. "
6008"Use the &apt-cdrom; program to create cdrom entries in the source list."
fec6996f 6009msgstr ""
fec6996f 6010
7d76ea1d 6011#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6012#: sources.list.5.xml
fec6996f 6013msgid ""
7d76ea1d
DK
6014"The http scheme specifies an HTTP server for the archive. If an environment "
6015"variable <envar>http_proxy</envar> is set with the format http://server:"
6016"port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
6017"Users of authenticated HTTP/1.1 proxies may use a string of the format "
6018"http://user:pass@server:port/. Note that this is an insecure method of "
6019"authentication."
fec6996f 6020msgstr ""
fec6996f 6021
7d76ea1d 6022#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6023#: sources.list.5.xml
fec6996f 6024msgid ""
7d76ea1d
DK
6025"The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
6026"is highly configurable; for more information see the &apt-conf; manual page. "
5723791e
JR
6027"Please note that an FTP proxy can be specified by using the "
6028"<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
6029"HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
dabb215c 6030"environment variable and <emphasis>only</emphasis> this environment "
5723791e 6031"variable. Proxies using HTTP specified in the configuration file will be "
7d76ea1d 6032"ignored."
fec6996f 6033msgstr ""
fec6996f 6034
7d76ea1d 6035#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6036#: sources.list.5.xml
fec6996f 6037msgid ""
7d76ea1d
DK
6038"The copy scheme is identical to the file scheme except that packages are "
6039"copied into the cache directory instead of used directly at their location. "
5723791e
JR
6040"This is useful for people using removable media to copy files around with "
6041"APT."
fec6996f 6042msgstr ""
fec6996f 6043
7d76ea1d 6044#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6045#: sources.list.5.xml
fec6996f 6046msgid ""
5723791e
JR
6047"The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
6048"the files as a given user. Prior configuration of rhosts or RSA keys is "
6049"recommended. The standard <command>find</command> and <command>dd</command> "
6050"commands are used to perform the file transfers from the remote host."
fec6996f 6051msgstr ""
fec6996f 6052
7d76ea1d 6053#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
04f27fae 6054#: sources.list.5.xml
7d76ea1d
DK
6055msgid "adding more recognizable URI types"
6056msgstr ""
fec6996f 6057
7d76ea1d 6058#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6059#: sources.list.5.xml
fec6996f 6060msgid ""
5723791e
JR
6061"APT can be extended with more methods shipped in other optional packages, "
6062"which should follow the naming scheme <package>apt-transport-"
6063"<replaceable>method</replaceable></package>. For instance, the APT team "
6064"also maintains the package <package>apt-transport-https</package>, which "
6065"provides access methods for HTTPS URIs with features similar to the http "
6066"method. Methods for using e.g. debtorrent are also available - see &apt-"
7d76ea1d 6067"transport-debtorrent;."
fec6996f 6068msgstr ""
fec6996f 6069
7d76ea1d 6070#. type: Content of: <refentry><refsect1><para>
04f27fae 6071#: sources.list.5.xml
fec6996f 6072msgid ""
864fe99c 6073"Uses the archive stored locally (or NFS mounted) at /home/apt/debian for "
7d76ea1d
DK
6074"stable/main, stable/contrib, and stable/non-free."
6075msgstr ""
6076
6077#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6078#: sources.list.5.xml
864fe99c
MV
6079#, no-wrap
6080msgid "deb file:/home/apt/debian stable main contrib non-free"
6081msgstr ""
6082
6083#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6084#: sources.list.5.xml
7d76ea1d 6085#, no-wrap
864fe99c
MV
6086msgid ""
6087"Types: deb\n"
6088"URIs: file:/home/apt/debian\n"
6089"Suites: stable\n"
6090"Components: main contrib non-free"
fec6996f 6091msgstr ""
fec6996f 6092
7d76ea1d 6093#. type: Content of: <refentry><refsect1><para>
04f27fae 6094#: sources.list.5.xml
7d76ea1d 6095msgid "As above, except this uses the unstable (development) distribution."
fec6996f 6096msgstr ""
fec6996f 6097
7d76ea1d 6098#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6099#: sources.list.5.xml
7d76ea1d 6100#, no-wrap
864fe99c
MV
6101msgid "deb file:/home/apt/debian unstable main contrib non-free"
6102msgstr ""
6103
6104#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6105#: sources.list.5.xml
864fe99c
MV
6106#, no-wrap
6107msgid ""
6108"Types: deb\n"
6109"URIs: file:/home/apt/debian\n"
6110"Suites: unstable\n"
6111"Components: main contrib non-free"
fec6996f 6112msgstr ""
fec6996f 6113
7d76ea1d 6114#. type: Content of: <refentry><refsect1><para>
04f27fae 6115#: sources.list.5.xml
051029f8 6116msgid "Sources specification for the above."
fec6996f 6117msgstr ""
fec6996f 6118
7d76ea1d 6119#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6120#: sources.list.5.xml
7d76ea1d 6121#, no-wrap
864fe99c
MV
6122msgid "deb-src file:/home/apt/debian unstable main contrib non-free"
6123msgstr ""
6124
6125#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6126#: sources.list.5.xml
864fe99c
MV
6127#, no-wrap
6128msgid ""
6129"Types: deb-src\n"
6130"URIs: file:/home/apt/debian\n"
6131"Suites: unstable\n"
6132"Components: main contrib non-free"
fec6996f 6133msgstr ""
fec6996f 6134
7d76ea1d 6135#. type: Content of: <refentry><refsect1><para>
04f27fae 6136#: sources.list.5.xml
b81dbe40 6137msgid ""
7d76ea1d
DK
6138"The first line gets package information for the architectures in "
6139"<literal>APT::Architectures</literal> while the second always retrieves "
6140"<literal>amd64</literal> and <literal>armel</literal>."
b81dbe40
DK
6141msgstr ""
6142
7d76ea1d 6143#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6144#: sources.list.5.xml
7d76ea1d 6145#, no-wrap
b81dbe40 6146msgid ""
9feb98eb
DK
6147"deb http://httpredir.debian.org/debian &debian-stable-codename; main\n"
6148"deb [ arch=amd64,armel ] http://httpredir.debian.org/debian &debian-stable-codename; main"
864fe99c
MV
6149msgstr ""
6150
6151#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6152#: sources.list.5.xml
864fe99c
MV
6153#, no-wrap
6154msgid ""
6155"Types: deb\n"
6156"URIs: http://httpredir.debian.org/debian\n"
9feb98eb 6157"Suites: &debian-stable-codename;\n"
864fe99c
MV
6158"Components: main\n"
6159"\n"
6160"Types: deb\n"
6161"URIs: http://httpredir.debian.org/debian\n"
9feb98eb 6162"Suites: &debian-stable-codename;\n"
864fe99c
MV
6163"Components: main\n"
6164"Architectures: amd64 armel\n"
b81dbe40 6165msgstr ""
b81dbe40 6166
7d76ea1d 6167#. type: Content of: <refentry><refsect1><para>
04f27fae 6168#: sources.list.5.xml
fec6996f 6169msgid ""
7d76ea1d
DK
6170"Uses HTTP to access the archive at archive.debian.org, and uses only the "
6171"hamm/main area."
fec6996f 6172msgstr ""
fec6996f 6173
7d76ea1d 6174#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6175#: sources.list.5.xml
7d76ea1d
DK
6176#, no-wrap
6177msgid "deb http://archive.debian.org/debian-archive hamm main"
fec6996f 6178msgstr ""
fec6996f 6179
864fe99c 6180#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6181#: sources.list.5.xml
864fe99c
MV
6182#, no-wrap
6183msgid ""
6184"Types: deb\n"
6185"URIs: http://archive.debian.org/debian-archive\n"
6186"Suites: hamm\n"
6187"Components: main"
6188msgstr ""
6189
7d76ea1d 6190#. type: Content of: <refentry><refsect1><para>
04f27fae 6191#: sources.list.5.xml
fec6996f 6192msgid ""
7d76ea1d 6193"Uses FTP to access the archive at ftp.debian.org, under the debian "
9feb98eb 6194"directory, and uses only the &debian-stable-codename;/contrib area."
fec6996f 6195msgstr ""
fec6996f 6196
7d76ea1d 6197#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6198#: sources.list.5.xml
7d76ea1d 6199#, no-wrap
9feb98eb 6200msgid "deb ftp://ftp.debian.org/debian &debian-stable-codename; contrib"
fec6996f 6201msgstr ""
fec6996f 6202
864fe99c 6203#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6204#: sources.list.5.xml
864fe99c
MV
6205#, no-wrap
6206msgid ""
6207"Types: deb\n"
6208"URIs: ftp://ftp.debian.org/debian\n"
9feb98eb 6209"Suites: &debian-stable-codename;\n"
864fe99c
MV
6210"Components: contrib"
6211msgstr ""
6212
7d76ea1d 6213#. type: Content of: <refentry><refsect1><para>
04f27fae 6214#: sources.list.5.xml
fec6996f 6215msgid ""
7d76ea1d
DK
6216"Uses FTP to access the archive at ftp.debian.org, under the debian "
6217"directory, and uses only the unstable/contrib area. If this line appears as "
6218"well as the one in the previous example in <filename>sources.list</filename> "
6219"a single FTP session will be used for both resource lines."
fec6996f 6220msgstr ""
fec6996f 6221
7d76ea1d 6222#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6223#: sources.list.5.xml
7d76ea1d
DK
6224#, no-wrap
6225msgid "deb ftp://ftp.debian.org/debian unstable contrib"
fec6996f 6226msgstr ""
fec6996f 6227
864fe99c 6228#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6229#: sources.list.5.xml
864fe99c
MV
6230#, no-wrap
6231msgid ""
6232"Types: deb\n"
6233"URIs: ftp://ftp.debian.org/debian\n"
6234"Suites: unstable\n"
6235"Components: contrib"
6236msgstr ""
6237
7d76ea1d 6238#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6239#: sources.list.5.xml
7d76ea1d
DK
6240#, no-wrap
6241msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
6242msgstr ""
6243
864fe99c 6244#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6245#: sources.list.5.xml
864fe99c
MV
6246#, no-wrap
6247msgid ""
6248"Types: deb\n"
6249"URIs: http://ftp.tlh.debian.org/universe\n"
6250"Suites: unstable/binary-$(ARCH)/"
6251msgstr ""
6252
7d76ea1d 6253#. type: Content of: <refentry><refsect1><para>
04f27fae 6254#: sources.list.5.xml
fec6996f 6255msgid ""
7d76ea1d
DK
6256"Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
6257"directory, and uses only files found under <filename>unstable/binary-i386</"
6258"filename> on i386 machines, <filename>unstable/binary-amd64</filename> on "
6259"amd64, and so forth for other supported architectures. [Note this example "
6260"only illustrates how to use the substitution variable; official debian "
6261"archives are not structured like this] <placeholder type=\"literallayout\" "
864fe99c
MV
6262"id=\"0\"/> <placeholder type=\"literallayout\" id=\"1\"/>"
6263msgstr ""
6264
6265#. type: Content of: <refentry><refsect1><para>
04f27fae 6266#: sources.list.5.xml
864fe99c
MV
6267msgid ""
6268"Uses HTTP to get binary packages as well as sources from the stable, testing "
6269"and unstable suites and the components main and contrib."
6270msgstr ""
6271
6272#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6273#: sources.list.5.xml
864fe99c
MV
6274#, no-wrap
6275msgid ""
6276"deb http://httpredir.debian.org/debian stable main contrib\n"
6277"deb-src http://httpredir.debian.org/debian stable main contrib\n"
6278"deb http://httpredir.debian.org/debian testing main contrib\n"
6279"deb-src http://httpredir.debian.org/debian testing main contrib\n"
6280"deb http://httpredir.debian.org/debian unstable main contrib\n"
6281"deb-src http://httpredir.debian.org/debian unstable main contrib"
6282msgstr ""
6283
6284#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6285#: sources.list.5.xml
864fe99c
MV
6286#, no-wrap
6287msgid ""
6288"Types: deb deb-src\n"
6289"URIs: http://httpredir.debian.org/debian\n"
6290"Suites: stable testing unstable\n"
6291"Components: main contrib\n"
fec6996f 6292msgstr ""
fec6996f 6293
7d76ea1d 6294#. type: Content of: <refentry><refsect1><para>
04f27fae 6295#: sources.list.5.xml
7d76ea1d 6296#, fuzzy
5b057748 6297msgid "&apt-get;, &apt-conf;, &apt-acquire-additional-files;"
7d76ea1d
DK
6298msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
6299
6300#. type: Content of: <refentry><refmeta><manvolnum>
04f27fae 6301#: apt-extracttemplates.1.xml apt-sortpkgs.1.xml apt-ftparchive.1.xml
7d76ea1d 6302msgid "1"
782486e8
MV
6303msgstr ""
6304
7d76ea1d 6305#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 6306#: apt-extracttemplates.1.xml
782486e8 6307msgid ""
7d76ea1d
DK
6308"Utility to extract <command>debconf</command> config and templates from "
6309"Debian packages"
782486e8
MV
6310msgstr ""
6311
7d76ea1d 6312#. type: Content of: <refentry><refsect1><para>
04f27fae 6313#: apt-extracttemplates.1.xml
782486e8 6314msgid ""
7d76ea1d
DK
6315"<command>apt-extracttemplates</command> will take one or more Debian package "
6316"files as input and write out (to a temporary directory) all associated "
6317"config scripts and template files. For each passed in package that contains "
6318"config scripts and templates, one line of output will be generated in the "
6319"format:"
6320msgstr ""
6321
6322#. type: Content of: <refentry><refsect1><para>
04f27fae 6323#: apt-extracttemplates.1.xml
7d76ea1d 6324msgid "package version template-file config-script"
782486e8 6325msgstr ""
782486e8 6326
7d76ea1d 6327#. type: Content of: <refentry><refsect1><para>
04f27fae 6328#: apt-extracttemplates.1.xml
782486e8 6329msgid ""
7d76ea1d
DK
6330"template-file and config-script are written to the temporary directory "
6331"specified by the <option>-t</option> or <option>--tempdir</option> "
6332"(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
93ae7f7f
MV
6333"filenames of the form <filename>package.template.XXXXXX</filename> and "
6334"<filename>package.config.XXXXXX</filename>"
782486e8
MV
6335msgstr ""
6336
7d76ea1d 6337#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6338#: apt-extracttemplates.1.xml
782486e8 6339msgid ""
7d76ea1d
DK
6340"Temporary directory in which to write extracted <command>debconf</command> "
6341"template files and config scripts. Configuration Item: <literal>APT::"
6342"ExtractTemplates::TempDir</literal>"
782486e8 6343msgstr ""
782486e8 6344
7d76ea1d 6345#. type: Content of: <refentry><refsect1><para>
04f27fae 6346#: apt-extracttemplates.1.xml
2b9b27c3 6347msgid ""
7d76ea1d
DK
6348"<command>apt-extracttemplates</command> returns zero on normal operation, "
6349"decimal 100 on error."
782486e8
MV
6350msgstr ""
6351
7d76ea1d 6352#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 6353#: apt-sortpkgs.1.xml
7d76ea1d
DK
6354msgid "Utility to sort package index files"
6355msgstr ""
fec6996f 6356
7d76ea1d 6357#. type: Content of: <refentry><refsect1><para>
04f27fae 6358#: apt-sortpkgs.1.xml
187aa32e 6359msgid ""
14301cf3
JR
6360"<command>apt-sortpkgs</command> will take an index file (source index or "
6361"package index) and sort the records so that they are ordered by the package "
7d76ea1d
DK
6362"name. It will also sort the internal fields of each record according to the "
6363"internal sorting rules."
187aa32e 6364msgstr ""
187aa32e 6365
7d76ea1d 6366#. type: Content of: <refentry><refsect1><para>
04f27fae 6367#: apt-sortpkgs.1.xml
5723791e
JR
6368msgid ""
6369"All output is sent to standard output; the input must be a seekable file."
7d76ea1d 6370msgstr ""
fec6996f 6371
7d76ea1d 6372#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6373#: apt-sortpkgs.1.xml
fec6996f 6374msgid ""
14301cf3 6375"Use source index field ordering. Configuration Item: <literal>APT::"
7d76ea1d 6376"SortPkgs::Source</literal>."
fec6996f 6377msgstr ""
fec6996f 6378
7d76ea1d 6379#. type: Content of: <refentry><refsect1><para>
04f27fae 6380#: apt-sortpkgs.1.xml
fec6996f 6381msgid ""
7d76ea1d
DK
6382"<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
6383"100 on error."
fec6996f 6384msgstr ""
fec6996f 6385
7d76ea1d 6386#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 6387#: apt-ftparchive.1.xml
7d76ea1d
DK
6388msgid "Utility to generate index files"
6389msgstr ""
fec6996f 6390
7d76ea1d 6391#. type: Content of: <refentry><refsect1><para>
04f27fae 6392#: apt-ftparchive.1.xml
fec6996f 6393msgid ""
7d76ea1d
DK
6394"<command>apt-ftparchive</command> is the command line tool that generates "
6395"the index files that APT uses to access a distribution source. The index "
6396"files should be generated on the origin site based on the content of that "
6397"site."
fec6996f 6398msgstr ""
fec6996f 6399
7d76ea1d 6400#. type: Content of: <refentry><refsect1><para>
04f27fae 6401#: apt-ftparchive.1.xml
fec6996f 6402msgid ""
7d76ea1d
DK
6403"<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
6404"program, incorporating its entire functionality via the <literal>packages</"
6405"literal> command. It also contains a contents file generator, "
6406"<literal>contents</literal>, and an elaborate means to 'script' the "
6407"generation process for a complete archive."
fec6996f 6408msgstr ""
fec6996f 6409
7d76ea1d 6410#. type: Content of: <refentry><refsect1><para>
04f27fae 6411#: apt-ftparchive.1.xml
7d76ea1d
DK
6412msgid ""
6413"Internally <command>apt-ftparchive</command> can make use of binary "
6414"databases to cache the contents of a .deb file and it does not rely on any "
6415"external programs aside from &gzip;. When doing a full generate it "
6416"automatically performs file-change checks and builds the desired compressed "
6417"output files."
6418msgstr ""
fec6996f 6419
7d76ea1d 6420#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6421#: apt-ftparchive.1.xml
fec6996f 6422msgid ""
7d76ea1d
DK
6423"The packages command generates a package file from a directory tree. It "
6424"takes the given directory and recursively searches it for .deb files, "
6425"emitting a package record to stdout for each. This command is approximately "
6426"equivalent to &dpkg-scanpackages;."
fec6996f 6427msgstr ""
fec6996f 6428
7d76ea1d 6429#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6430#: apt-ftparchive.1.xml
7d76ea1d
DK
6431msgid ""
6432"The option <option>--db</option> can be used to specify a binary caching DB."
6433msgstr ""
fec6996f 6434
7d76ea1d 6435#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6436#: apt-ftparchive.1.xml
7d76ea1d
DK
6437msgid ""
6438"The <literal>sources</literal> command generates a source index file from a "
6439"directory tree. It takes the given directory and recursively searches it "
6440"for .dsc files, emitting a source record to stdout for each. This command is "
6441"approximately equivalent to &dpkg-scansources;."
6442msgstr ""
fec6996f 6443
7d76ea1d 6444#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6445#: apt-ftparchive.1.xml
fec6996f 6446msgid ""
7d76ea1d
DK
6447"If an override file is specified then a source override file will be looked "
6448"for with an extension of .src. The --source-override option can be used to "
6449"change the source override file that will be used."
fec6996f 6450msgstr ""
fec6996f 6451
7d76ea1d 6452#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6453#: apt-ftparchive.1.xml
fec6996f 6454msgid ""
7d76ea1d
DK
6455"The <literal>contents</literal> command generates a contents file from a "
6456"directory tree. It takes the given directory and recursively searches it "
6457"for .deb files, and reads the file list from each file. It then sorts and "
6458"writes to stdout the list of files matched to packages. Directories are not "
6459"written to the output. If multiple packages own the same file then each "
6460"package is separated by a comma in the output."
fec6996f 6461msgstr ""
fec6996f 6462
7d76ea1d 6463#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6464#: apt-ftparchive.1.xml
fec6996f 6465msgid ""
7d76ea1d
DK
6466"The <literal>release</literal> command generates a Release file from a "
6467"directory tree. It recursively searches the given directory for uncompressed "
5ff8dd6b
JAK
6468"and compressed <filename>Packages</filename>, <filename>Sources</filename>, "
6469"<filename>Contents</filename>, <filename>Components</filename> and "
6470"<filename>icons</filename> files as well as <filename>Release</filename>, "
6471"<filename>Index</filename> and <filename>md5sum.txt</filename> files by "
6472"default (<literal>APT::FTPArchive::Release::Default-Patterns</literal>). "
6473"Additional filename patterns can be added by listing them in <literal>APT::"
6474"FTPArchive::Release::Patterns</literal>. It then writes to stdout a "
6475"<filename>Release</filename> file containing (by default) an MD5, SHA1, "
6476"SHA256 and SHA512 digest for each file."
7d76ea1d
DK
6477msgstr ""
6478
6479#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6480#: apt-ftparchive.1.xml
7d76ea1d
DK
6481msgid ""
6482"Values for the additional metadata fields in the Release file are taken from "
6483"the corresponding variables under <literal>APT::FTPArchive::Release</"
5ff8dd6b
JAK
6484"literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
6485"supported fields are <literal>Origin</literal>, <literal>Label</literal>, "
7d76ea1d
DK
6486"<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
6487"literal>, <literal>Date</literal>, <literal>Valid-Until</literal>, "
5ff8dd6b
JAK
6488"<literal>Signed-By</literal>, <literal>Architectures</literal>, "
6489"<literal>Components</literal> and <literal>Description</literal>."
fec6996f 6490msgstr ""
fec6996f 6491
7d76ea1d 6492#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6493#: apt-ftparchive.1.xml
7d76ea1d
DK
6494msgid ""
6495"The <literal>generate</literal> command is designed to be runnable from a "
6496"cron script and builds indexes according to the given config file. The "
6497"config language provides a flexible means of specifying which index files "
6498"are built from which directories, as well as providing a simple means of "
6499"maintaining the required settings."
fec6996f
DK
6500msgstr ""
6501
7d76ea1d 6502#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6503#: apt-ftparchive.1.xml
fec6996f 6504msgid ""
7d76ea1d
DK
6505"The <literal>clean</literal> command tidies the databases used by the given "
6506"configuration file by removing any records that are no longer necessary."
fec6996f 6507msgstr ""
fec6996f 6508
7d76ea1d 6509#. type: Content of: <refentry><refsect1><title>
04f27fae 6510#: apt-ftparchive.1.xml
7d76ea1d
DK
6511msgid "The Generate Configuration"
6512msgstr ""
6513
6514#. type: Content of: <refentry><refsect1><para>
04f27fae 6515#: apt-ftparchive.1.xml
fec6996f 6516msgid ""
7d76ea1d
DK
6517"The <literal>generate</literal> command uses a configuration file to "
6518"describe the archives that are going to be generated. It follows the typical "
6519"ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
6520"conf; contains a description of the syntax. Note that the generate "
6521"configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
6522"tree manner. This only effects how the scope tag is handled."
fec6996f 6523msgstr ""
fec6996f 6524
7d76ea1d 6525#. type: Content of: <refentry><refsect1><para>
04f27fae 6526#: apt-ftparchive.1.xml
fec6996f 6527msgid ""
7d76ea1d 6528"The generate configuration has four separate sections, each described below."
fec6996f 6529msgstr ""
fec6996f
DK
6530
6531#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6532#: apt-ftparchive.1.xml
fec6996f 6533#, fuzzy
7d76ea1d
DK
6534msgid "<literal>Dir</literal> Section"
6535msgstr "a linha <literal>Origin:</literal>"
fec6996f
DK
6536
6537#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6538#: apt-ftparchive.1.xml
fec6996f 6539msgid ""
7d76ea1d
DK
6540"The <literal>Dir</literal> section defines the standard directories needed "
6541"to locate the files required during the generation process. These "
6542"directories are prepended certain relative paths defined in later sections "
6543"to produce a complete an absolute path."
fec6996f 6544msgstr ""
fec6996f 6545
7d76ea1d 6546#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6547#: apt-ftparchive.1.xml
187aa32e 6548msgid ""
7d76ea1d
DK
6549"Specifies the root of the FTP archive, in a standard Debian configuration "
6550"this is the directory that contains the <filename>ls-LR</filename> and dist "
6551"nodes."
187aa32e 6552msgstr ""
187aa32e 6553
7d76ea1d 6554#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6555#: apt-ftparchive.1.xml
7d76ea1d
DK
6556msgid "Specifies the location of the override files."
6557msgstr ""
fec6996f 6558
7d76ea1d 6559#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6560#: apt-ftparchive.1.xml
7d76ea1d
DK
6561msgid "Specifies the location of the cache files."
6562msgstr ""
fec6996f 6563
7d76ea1d 6564#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6565#: apt-ftparchive.1.xml
7d76ea1d
DK
6566msgid ""
6567"Specifies the location of the file list files, if the <literal>FileList</"
6568"literal> setting is used below."
6569msgstr ""
fec6996f 6570
7d76ea1d 6571#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6572#: apt-ftparchive.1.xml
fec6996f 6573#, fuzzy
7d76ea1d
DK
6574msgid "<literal>Default</literal> Section"
6575msgstr "a linha <literal>Label:</literal>"
fec6996f
DK
6576
6577#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6578#: apt-ftparchive.1.xml
fec6996f 6579msgid ""
7d76ea1d
DK
6580"The <literal>Default</literal> section specifies default values, and "
6581"settings that control the operation of the generator. Other sections may "
6582"override these defaults with a per-section setting."
fec6996f 6583msgstr ""
fec6996f 6584
7d76ea1d 6585#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6586#: apt-ftparchive.1.xml
fec6996f 6587msgid ""
14301cf3 6588"Sets the default compression schemes to use for the package index files. It "
5ff8dd6b
JAK
6589"is a string that contains a space separated list of at least one of the "
6590"compressors configured via the <option>APT::Compressor</option> "
6591"configuration scope. The default for all compression schemes is '. gzip'."
fec6996f 6592msgstr ""
fec6996f 6593
7d76ea1d 6594#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6595#: apt-ftparchive.1.xml
7d76ea1d
DK
6596msgid ""
6597"Sets the default list of file extensions that are package files. This "
6598"defaults to '.deb'."
fec6996f 6599msgstr ""
fec6996f 6600
7d76ea1d 6601#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6602#: apt-ftparchive.1.xml
fec6996f 6603msgid ""
7d76ea1d
DK
6604"This is similar to <literal>Packages::Compress</literal> except that it "
6605"controls the compression for the Sources files."
fec6996f 6606msgstr ""
fec6996f 6607
7d76ea1d 6608#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6609#: apt-ftparchive.1.xml
7d76ea1d
DK
6610msgid ""
6611"Sets the default list of file extensions that are source files. This "
6612"defaults to '.dsc'."
fec6996f
DK
6613msgstr ""
6614
7d76ea1d 6615#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6616#: apt-ftparchive.1.xml
fec6996f 6617msgid ""
7d76ea1d
DK
6618"This is similar to <literal>Packages::Compress</literal> except that it "
6619"controls the compression for the Contents files."
fec6996f 6620msgstr ""
fec6996f 6621
7d76ea1d 6622#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6623#: apt-ftparchive.1.xml
fec6996f 6624msgid ""
7d76ea1d
DK
6625"This is similar to <literal>Packages::Compress</literal> except that it "
6626"controls the compression for the Translation-en master file."
fec6996f 6627msgstr ""
fec6996f 6628
7d76ea1d 6629#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6630#: apt-ftparchive.1.xml
7d76ea1d
DK
6631msgid ""
6632"Specifies the number of kilobytes to delink (and replace with hard links) "
6633"per run. This is used in conjunction with the per-section <literal>External-"
6634"Links</literal> setting."
6635msgstr ""
fec6996f 6636
7d76ea1d 6637#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6638#: apt-ftparchive.1.xml
fec6996f 6639msgid ""
7d76ea1d
DK
6640"Specifies the mode of all created index files. It defaults to 0644. All "
6641"index files are set to this mode with no regard to the umask."
fec6996f 6642msgstr ""
fec6996f 6643
7d76ea1d 6644#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6645#: apt-ftparchive.1.xml
7d76ea1d
DK
6646msgid ""
6647"Specifies whether long descriptions should be included in the "
6648"<filename>Packages</filename> file or split out into a master "
6649"<filename>Translation-en</filename> file."
fec6996f 6650msgstr ""
fec6996f 6651
7d76ea1d 6652#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6653#: apt-ftparchive.1.xml
fec6996f 6654#, fuzzy
7d76ea1d
DK
6655msgid "<literal>TreeDefault</literal> Section"
6656msgstr "a linha <literal>Label:</literal>"
fec6996f 6657
7d76ea1d 6658#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6659#: apt-ftparchive.1.xml
fec6996f 6660msgid ""
7d76ea1d
DK
6661"Sets defaults specific to <literal>Tree</literal> sections. All of these "
6662"variables are substitution variables and have the strings $(DIST), "
6663"$(SECTION) and $(ARCH) replaced with their respective values."
fec6996f 6664msgstr ""
fec6996f 6665
7d76ea1d 6666#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6667#: apt-ftparchive.1.xml
7d76ea1d
DK
6668msgid ""
6669"Sets the number of kilobytes of contents files that are generated each day. "
6670"The contents files are round-robined so that over several days they will all "
6671"be rebuilt."
fec6996f 6672msgstr ""
fec6996f 6673
7d76ea1d 6674#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6675#: apt-ftparchive.1.xml
fec6996f 6676msgid ""
7d76ea1d
DK
6677"Controls the number of days a contents file is allowed to be checked without "
6678"changing. If this limit is passed the mtime of the contents file is updated. "
6679"This case can occur if the package file is changed in such a way that does "
6680"not result in a new contents file [override edit for instance]. A hold off "
6681"is allowed in hopes that new .debs will be installed, requiring a new file "
6682"anyhow. The default is 10, the units are in days."
fec6996f 6683msgstr ""
fec6996f 6684
7d76ea1d 6685#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6686#: apt-ftparchive.1.xml
7d76ea1d
DK
6687msgid ""
6688"Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
6689"$(SECTION)/binary-$(ARCH)/</filename>"
fec6996f 6690msgstr ""
fec6996f 6691
7d76ea1d 6692#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6693#: apt-ftparchive.1.xml
fec6996f 6694msgid ""
7d76ea1d
DK
6695"Sets the top of the source package directory tree. Defaults to <filename>"
6696"$(DIST)/$(SECTION)/source/</filename>"
fec6996f 6697msgstr ""
fec6996f 6698
7d76ea1d 6699#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6700#: apt-ftparchive.1.xml
7d76ea1d
DK
6701msgid ""
6702"Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
6703"binary-$(ARCH)/Packages</filename>"
6704msgstr ""
fec6996f 6705
7d76ea1d 6706#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6707#: apt-ftparchive.1.xml
fec6996f 6708msgid ""
7d76ea1d
DK
6709"Sets the output Sources file. Defaults to <filename>$(DIST)/$(SECTION)/"
6710"source/Sources</filename>"
fec6996f 6711msgstr ""
fec6996f 6712
7d76ea1d 6713#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6714#: apt-ftparchive.1.xml
7d76ea1d
DK
6715msgid ""
6716"Sets the output Translation-en master file with the long descriptions if "
6717"they should be not included in the Packages file. Defaults to <filename>"
6718"$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
6719msgstr ""
fec6996f 6720
7d76ea1d 6721#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6722#: apt-ftparchive.1.xml
fec6996f 6723msgid ""
7d76ea1d
DK
6724"Sets the path prefix that causes a symlink to be considered an internal link "
6725"instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
6726"filename>"
fec6996f 6727msgstr ""
fec6996f 6728
7d76ea1d 6729#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6730#: apt-ftparchive.1.xml
fec6996f 6731msgid ""
5e594b30
DK
6732"Sets the output Contents file. Defaults to <filename>$(DIST)/$(SECTION)/"
6733"Contents-$(ARCH)</filename>. If this setting causes multiple Packages files "
6734"to map onto a single Contents file (as is the default) then <command>apt-"
6735"ftparchive</command> will integrate those package files together "
6736"automatically."
fec6996f 6737msgstr ""
fec6996f 6738
7d76ea1d 6739#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6740#: apt-ftparchive.1.xml
7d76ea1d 6741msgid "Sets header file to prepend to the contents output."
fec6996f 6742msgstr ""
fec6996f 6743
7d76ea1d 6744#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6745#: apt-ftparchive.1.xml
fec6996f 6746msgid ""
7d76ea1d
DK
6747"Sets the binary cache database to use for this section. Multiple sections "
6748"can share the same database."
fec6996f 6749msgstr ""
fec6996f 6750
7d76ea1d 6751#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6752#: apt-ftparchive.1.xml
7d76ea1d
DK
6753msgid ""
6754"Specifies that instead of walking the directory tree, <command>apt-"
6755"ftparchive</command> should read the list of files from the given file. "
6756"Relative files names are prefixed with the archive directory."
fec6996f 6757msgstr ""
fec6996f 6758
7d76ea1d 6759#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6760#: apt-ftparchive.1.xml
fec6996f 6761msgid ""
7d76ea1d
DK
6762"Specifies that instead of walking the directory tree, <command>apt-"
6763"ftparchive</command> should read the list of files from the given file. "
6764"Relative files names are prefixed with the archive directory. This is used "
6765"when processing source indexes."
fec6996f 6766msgstr ""
fec6996f
DK
6767
6768#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6769#: apt-ftparchive.1.xml
fec6996f 6770#, fuzzy
7d76ea1d
DK
6771msgid "<literal>Tree</literal> Section"
6772msgstr "a linha <literal>Label:</literal>"
fec6996f 6773
7d76ea1d 6774#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6775#: apt-ftparchive.1.xml
fec6996f 6776msgid ""
7d76ea1d
DK
6777"The <literal>Tree</literal> section defines a standard Debian file tree "
6778"which consists of a base directory, then multiple sections in that base "
6779"directory and finally multiple Architectures in each section. The exact "
6780"pathing used is defined by the <literal>Directory</literal> substitution "
6781"variable."
fec6996f 6782msgstr ""
fec6996f
DK
6783
6784#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6785#: apt-ftparchive.1.xml
fec6996f 6786msgid ""
7d76ea1d
DK
6787"The <literal>Tree</literal> section takes a scope tag which sets the "
6788"<literal>$(DIST)</literal> variable and defines the root of the tree (the "
6789"path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
9feb98eb 6790"setting such as <filename>dists/&debian-stable-codename;</filename>."
fec6996f 6791msgstr ""
fec6996f
DK
6792
6793#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6794#: apt-ftparchive.1.xml
fec6996f 6795msgid ""
7d76ea1d
DK
6796"All of the settings defined in the <literal>TreeDefault</literal> section "
6797"can be used in a <literal>Tree</literal> section as well as three new "
6798"variables."
fec6996f 6799msgstr ""
fec6996f
DK
6800
6801#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 6802#: apt-ftparchive.1.xml
7d76ea1d
DK
6803#, no-wrap
6804msgid ""
6805"for i in Sections do \n"
6806" for j in Architectures do\n"
6807" Generate for DIST=scope SECTION=i ARCH=j\n"
6808" "
fec6996f 6809msgstr ""
fec6996f
DK
6810
6811#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6812#: apt-ftparchive.1.xml
fec6996f 6813msgid ""
7d76ea1d
DK
6814"When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
6815"command> performs an operation similar to: <placeholder type=\"programlisting"
6816"\" id=\"0\"/>"
fec6996f 6817msgstr ""
fec6996f 6818
7d76ea1d 6819#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6820#: apt-ftparchive.1.xml
7d76ea1d
DK
6821msgid ""
6822"This is a space separated list of sections which appear under the "
6823"distribution; typically this is something like <literal>main contrib non-"
6824"free</literal>"
fec6996f
DK
6825msgstr ""
6826
7d76ea1d 6827#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6828#: apt-ftparchive.1.xml
fec6996f 6829msgid ""
7d76ea1d
DK
6830"This is a space separated list of all the architectures that appear under "
6831"search section. The special architecture 'source' is used to indicate that "
051029f8
DK
6832"this tree has a source archive. The architecture 'all' signals that "
6833"architecture specific files like <filename>Packages</filename> should not "
6834"include information about architecture <literal>all</literal> packages in "
6835"all files as they will be available in a dedicated file."
fec6996f 6836msgstr ""
fec6996f 6837
7d76ea1d 6838#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6839#: apt-ftparchive.1.xml
fec6996f 6840msgid ""
7d76ea1d
DK
6841"Sets the binary override file. The override file contains section, priority "
6842"and maintainer address information."
fec6996f
DK
6843msgstr ""
6844
7d76ea1d 6845#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6846#: apt-ftparchive.1.xml
7d76ea1d
DK
6847msgid ""
6848"Sets the source override file. The override file contains section "
6849"information."
6850msgstr ""
6851
6852#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6853#: apt-ftparchive.1.xml
7d76ea1d
DK
6854msgid "Sets the binary extra override file."
6855msgstr ""
6856
6857#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6858#: apt-ftparchive.1.xml
7d76ea1d
DK
6859msgid "Sets the source extra override file."
6860msgstr ""
6861
6862#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6863#: apt-ftparchive.1.xml
fec6996f 6864#, fuzzy
7d76ea1d
DK
6865msgid "<literal>BinDirectory</literal> Section"
6866msgstr "a linha <literal>Component:</literal>"
6867
6868#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6869#: apt-ftparchive.1.xml
fec6996f 6870msgid ""
7d76ea1d
DK
6871"The <literal>bindirectory</literal> section defines a binary directory tree "
6872"with no special structure. The scope tag specifies the location of the "
6873"binary directory and the settings are similar to the <literal>Tree</literal> "
6874"section with no substitution variables or <literal>Section</"
6875"literal><literal>Architecture</literal> settings."
fec6996f 6876msgstr ""
fec6996f 6877
7d76ea1d 6878#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6879#: apt-ftparchive.1.xml
7d76ea1d 6880msgid "Sets the Packages file output."
fec6996f 6881msgstr ""
fec6996f 6882
7d76ea1d 6883#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6884#: apt-ftparchive.1.xml
fec6996f 6885msgid ""
7d76ea1d
DK
6886"Sets the Sources file output. At least one of <literal>Packages</literal> or "
6887"<literal>Sources</literal> is required."
fec6996f 6888msgstr ""
fec6996f 6889
7d76ea1d 6890#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6891#: apt-ftparchive.1.xml
7d76ea1d
DK
6892msgid "Sets the Contents file output (optional)."
6893msgstr ""
fec6996f 6894
7d76ea1d 6895#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6896#: apt-ftparchive.1.xml
7d76ea1d 6897msgid "Sets the binary override file."
fec6996f
DK
6898msgstr ""
6899
7d76ea1d 6900#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6901#: apt-ftparchive.1.xml
7d76ea1d 6902msgid "Sets the source override file."
fec6996f
DK
6903msgstr ""
6904
7d76ea1d 6905#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6906#: apt-ftparchive.1.xml
7d76ea1d 6907msgid "Sets the cache DB."
fec6996f
DK
6908msgstr ""
6909
7d76ea1d 6910#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6911#: apt-ftparchive.1.xml
7d76ea1d 6912msgid "Appends a path to all the output paths."
fec6996f
DK
6913msgstr ""
6914
7d76ea1d 6915#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6916#: apt-ftparchive.1.xml
7d76ea1d 6917msgid "Specifies the file list file."
fec6996f
DK
6918msgstr ""
6919
6920#. type: Content of: <refentry><refsect1><title>
04f27fae 6921#: apt-ftparchive.1.xml
7d76ea1d 6922msgid "The Binary Override File"
fec6996f
DK
6923msgstr ""
6924
6925#. type: Content of: <refentry><refsect1><para>
04f27fae 6926#: apt-ftparchive.1.xml
fec6996f 6927msgid ""
7d76ea1d
DK
6928"The binary override file is fully compatible with &dpkg-scanpackages;. It "
6929"contains four fields separated by spaces. The first field is the package "
6930"name, the second is the priority to force that package to, the third is the "
6931"section to force that package to and the final field is the maintainer "
6932"permutation field."
fec6996f
DK
6933msgstr ""
6934
7d76ea1d 6935#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6936#: apt-ftparchive.1.xml
7d76ea1d
DK
6937#, no-wrap
6938msgid "old [// oldn]* => new"
fec6996f
DK
6939msgstr ""
6940
7d76ea1d 6941#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6942#: apt-ftparchive.1.xml
fec6996f 6943#, no-wrap
7d76ea1d 6944msgid "new"
fec6996f
DK
6945msgstr ""
6946
6947#. type: Content of: <refentry><refsect1><para>
04f27fae 6948#: apt-ftparchive.1.xml
fec6996f 6949msgid ""
7d76ea1d
DK
6950"The general form of the maintainer field is: <placeholder type="
6951"\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
6952"id=\"1\"/> The first form allows a double-slash separated list of old email "
6953"addresses to be specified. If any of those are found then new is substituted "
6954"for the maintainer field. The second form unconditionally substitutes the "
6955"maintainer field."
fec6996f
DK
6956msgstr ""
6957
7d76ea1d 6958#. type: Content of: <refentry><refsect1><title>
04f27fae 6959#: apt-ftparchive.1.xml
7d76ea1d 6960msgid "The Source Override File"
fec6996f
DK
6961msgstr ""
6962
6963#. type: Content of: <refentry><refsect1><para>
04f27fae 6964#: apt-ftparchive.1.xml
fec6996f 6965msgid ""
7d76ea1d
DK
6966"The source override file is fully compatible with &dpkg-scansources;. It "
6967"contains two fields separated by spaces. The first field is the source "
6968"package name, the second is the section to assign it."
fec6996f
DK
6969msgstr ""
6970
7d76ea1d 6971#. type: Content of: <refentry><refsect1><title>
04f27fae 6972#: apt-ftparchive.1.xml
7d76ea1d 6973msgid "The Extra Override File"
c77d6597
MV
6974msgstr ""
6975
7d76ea1d 6976#. type: Content of: <refentry><refsect1><para>
04f27fae 6977#: apt-ftparchive.1.xml
c77d6597 6978msgid ""
7d76ea1d
DK
6979"The extra override file allows any arbitrary tag to be added or replaced in "
6980"the output. It has three columns, the first is the package, the second is "
6981"the tag and the remainder of the line is the new value."
c77d6597
MV
6982msgstr ""
6983
7d76ea1d 6984#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6985#: apt-ftparchive.1.xml
c77d6597 6986msgid ""
7d76ea1d
DK
6987"Generate the given checksum. These options default to on, when turned off "
6988"the generated index files will not have the checksum fields where possible. "
6989"Configuration Items: <literal>APT::FTPArchive::<replaceable>Checksum</"
6990"replaceable></literal> and <literal>APT::FTPArchive::<replaceable>Index</"
6991"replaceable>::<replaceable>Checksum</replaceable></literal> where "
6992"<literal><replaceable>Index</replaceable></literal> can be "
6993"<literal>Packages</literal>, <literal>Sources</literal> or <literal>Release</"
6994"literal> and <literal><replaceable>Checksum</replaceable></literal> can be "
04f27fae
MV
6995"<literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA256</literal> "
6996"or <literal>SHA512</literal>."
c77d6597
MV
6997msgstr ""
6998
7d76ea1d 6999#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7000#: apt-ftparchive.1.xml
c77d6597 7001msgid ""
7d76ea1d
DK
7002"Use a binary caching DB. This has no effect on the generate command. "
7003"Configuration Item: <literal>APT::FTPArchive::DB</literal>."
fec6996f
DK
7004msgstr ""
7005
7d76ea1d 7006#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7007#: apt-ftparchive.1.xml
fec6996f 7008msgid ""
7d76ea1d
DK
7009"Quiet; produces output suitable for logging, omitting progress indicators. "
7010"More q's will produce more quiet up to a maximum of 2. You can also use "
7011"<option>-q=#</option> to set the quiet level, overriding the configuration "
7012"file. Configuration Item: <literal>quiet</literal>."
fec6996f
DK
7013msgstr ""
7014
7d76ea1d 7015#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7016#: apt-ftparchive.1.xml
7d76ea1d
DK
7017msgid ""
7018"Perform Delinking. If the <literal>External-Links</literal> setting is used "
7019"then this option actually enables delinking of the files. It defaults to on "
7020"and can be turned off with <option>--no-delink</option>. Configuration "
7021"Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
fec6996f
DK
7022msgstr ""
7023
7d76ea1d 7024#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7025#: apt-ftparchive.1.xml
fec6996f 7026msgid ""
7d76ea1d
DK
7027"Perform contents generation. When this option is set and package indexes are "
7028"being generated with a cache DB then the file listing will also be extracted "
7029"and stored in the DB for later use. When using the generate command this "
7030"option also allows the creation of any Contents files. The default is on. "
7031"Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
fec6996f
DK
7032msgstr ""
7033
7d76ea1d 7034#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7035#: apt-ftparchive.1.xml
fec6996f 7036msgid ""
7d76ea1d
DK
7037"Select the source override file to use with the <literal>sources</literal> "
7038"command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
7039"literal>."
fec6996f
DK
7040msgstr ""
7041
7d76ea1d 7042#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7043#: apt-ftparchive.1.xml
fec6996f 7044msgid ""
7d76ea1d
DK
7045"Make the caching databases read only. Configuration Item: <literal>APT::"
7046"FTPArchive::ReadOnlyDB</literal>."
fec6996f
DK
7047msgstr ""
7048
7d76ea1d 7049#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7050#: apt-ftparchive.1.xml
fec6996f 7051msgid ""
7d76ea1d
DK
7052"Accept in the <literal>packages</literal> and <literal>contents</literal> "
7053"commands only package files matching <literal>*_arch.deb</literal> or "
7054"<literal>*_all.deb</literal> instead of all package files in the given "
7055"path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
fec6996f
DK
7056msgstr ""
7057
7d76ea1d 7058#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7059#: apt-ftparchive.1.xml
fec6996f 7060msgid ""
7d76ea1d
DK
7061"&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
7062"packages are recompiled and/or republished with the same version again, this "
7063"will lead to problems as the now outdated cached metadata like size and "
7064"checksums will be used. With this option enabled this will no longer happen "
7065"as it will be checked if the file was changed. Note that this option is set "
7066"to \"<literal>false</literal>\" by default as it is not recommend to upload "
7067"multiply versions/builds of a package with the same versionnumber, so in "
7068"theory nobody will have these problems and therefore all these extra checks "
7069"are useless."
fec6996f
DK
7070msgstr ""
7071
7d76ea1d 7072#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7073#: apt-ftparchive.1.xml
fec6996f 7074msgid ""
7d76ea1d
DK
7075"This configuration option defaults to \"<literal>true</literal>\" and should "
7076"only be set to <literal>\"false\"</literal> if the Archive generated with "
7077"&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
7078"that the <filename>Translation-en</filename> master file can only be created "
7079"in the generate command."
fec6996f
DK
7080msgstr ""
7081
7d76ea1d 7082#. type: Content of: <refentry><refsect1><para><programlisting>
04f27fae 7083#: apt-ftparchive.1.xml
7d76ea1d
DK
7084#, no-wrap
7085msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
fec6996f
DK
7086msgstr ""
7087
7d76ea1d 7088#. type: Content of: <refentry><refsect1><para>
04f27fae 7089#: apt-ftparchive.1.xml
fec6996f 7090msgid ""
7d76ea1d
DK
7091"To create a compressed Packages file for a directory containing binary "
7092"packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f
DK
7093msgstr ""
7094
7095#. type: Content of: <refentry><refsect1><para>
04f27fae 7096#: apt-ftparchive.1.xml
fec6996f 7097msgid ""
7d76ea1d
DK
7098"<command>apt-ftparchive</command> returns zero on normal operation, decimal "
7099"100 on error."
fec6996f
DK
7100msgstr ""
7101
521dd27d 7102#. type: Attribute 'lang' of: <book>
04f27fae 7103#: guide.dbk offline.dbk
521dd27d
GJ
7104msgid "en"
7105msgstr ""
7106
7107#. type: Content of: <book><title>
04f27fae 7108#: guide.dbk
fec6996f
DK
7109msgid "APT User's Guide"
7110msgstr ""
7111
521dd27d 7112#. type: Content of: <book><bookinfo><authorgroup><author><personname>
04f27fae 7113#: guide.dbk offline.dbk
521dd27d 7114msgid "Jason Gunthorpe"
fec6996f
DK
7115msgstr ""
7116
521dd27d 7117#. type: Content of: <book><bookinfo><authorgroup><author><email>
04f27fae 7118#: guide.dbk offline.dbk
521dd27d 7119msgid "jgg@debian.org"
fec6996f
DK
7120msgstr ""
7121
521dd27d 7122#. type: Content of: <book><bookinfo><releaseinfo>
04f27fae 7123#: guide.dbk offline.dbk
521dd27d 7124msgid "Version &apt-product-version;"
fec6996f
DK
7125msgstr ""
7126
521dd27d 7127#. type: Content of: <book><bookinfo><abstract><para>
04f27fae 7128#: guide.dbk
fec6996f
DK
7129msgid ""
7130"This document provides an overview of how to use the the APT package manager."
7131msgstr ""
7132
521dd27d 7133#. type: Content of: <book><bookinfo>
04f27fae 7134#: guide.dbk
521dd27d
GJ
7135msgid ""
7136"<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
fec6996f
DK
7137msgstr ""
7138
521dd27d 7139#. type: Content of: <book><bookinfo><legalnotice><title>
04f27fae 7140#: guide.dbk offline.dbk
521dd27d 7141msgid "License Notice"
fec6996f
DK
7142msgstr ""
7143
521dd27d 7144#. type: Content of: <book><bookinfo><legalnotice><para>
04f27fae 7145#: guide.dbk offline.dbk
fec6996f
DK
7146msgid ""
7147"\"APT\" and this document are free software; you can redistribute them and/"
7148"or modify them under the terms of the GNU General Public License as "
7149"published by the Free Software Foundation; either version 2 of the License, "
7150"or (at your option) any later version."
7151msgstr ""
7152
521dd27d 7153#. type: Content of: <book><bookinfo><legalnotice><para>
04f27fae 7154#: guide.dbk offline.dbk
fec6996f 7155msgid ""
c7c71e20
JR
7156"For more details, on Debian systems, see the file /usr/share/common-licenses/"
7157"GPL for the full license."
fec6996f
DK
7158msgstr ""
7159
521dd27d 7160#. type: Content of: <book><chapter><title>
04f27fae 7161#: guide.dbk
fec6996f
DK
7162msgid "General"
7163msgstr ""
7164
521dd27d 7165#. type: Content of: <book><chapter><para>
04f27fae 7166#: guide.dbk
fec6996f 7167msgid ""
521dd27d
GJ
7168"The APT package currently contains two sections, the APT <command>dselect</"
7169"command> method and the <command>apt-get</command> command line user "
7170"interface. Both provide a way to install and remove packages as well as "
7171"download new packages from the Internet."
fec6996f
DK
7172msgstr ""
7173
521dd27d 7174#. type: Content of: <book><chapter><section><title>
04f27fae 7175#: guide.dbk
fec6996f
DK
7176msgid "Anatomy of the Package System"
7177msgstr ""
7178
521dd27d 7179#. type: Content of: <book><chapter><section><para>
04f27fae 7180#: guide.dbk
fec6996f
DK
7181msgid ""
7182"The Debian packaging system has a large amount of information associated "
7183"with each package to help assure that it integrates cleanly and easily into "
7184"the system. The most prominent of its features is the dependency system."
7185msgstr ""
7186
521dd27d 7187#. type: Content of: <book><chapter><section><para>
04f27fae 7188#: guide.dbk
fec6996f
DK
7189msgid ""
7190"The dependency system allows individual programs to make use of shared "
7191"elements in the system such as libraries. It simplifies placing infrequently "
7192"used portions of a program in separate packages to reduce the number of "
7193"things the average user is required to install. Also, it allows for choices "
7194"in mail transport agents, X servers and so on."
7195msgstr ""
7196
521dd27d 7197#. type: Content of: <book><chapter><section><para>
04f27fae 7198#: guide.dbk
fec6996f
DK
7199msgid ""
7200"The first step to understanding the dependency system is to grasp the "
7201"concept of a simple dependency. The meaning of a simple dependency is that a "
7202"package requires another package to be installed at the same time to work "
7203"properly."
7204msgstr ""
7205
521dd27d 7206#. type: Content of: <book><chapter><section><para>
04f27fae 7207#: guide.dbk
fec6996f
DK
7208msgid ""
7209"For instance, mailcrypt is an emacs extension that aids in encrypting email "
b39c1859 7210"with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
fec6996f
DK
7211"simple dependency on GPG. Also, because it is an emacs extension it has a "
7212"simple dependency on emacs, without emacs it is completely useless."
7213msgstr ""
7214
521dd27d 7215#. type: Content of: <book><chapter><section><para>
04f27fae 7216#: guide.dbk
fec6996f
DK
7217msgid ""
7218"The other important dependency to understand is a conflicting dependency. It "
7219"means that a package, when installed with another package, will not work and "
7220"may possibly be extremely harmful to the system. As an example consider a "
7221"mail transport agent such as sendmail, exim or qmail. It is not possible to "
7222"have two mail transport agents installed because both need to listen to the "
7223"network to receive mail. Attempting to install two will seriously damage the "
7224"system so all mail transport agents have a conflicting dependency with all "
7225"other mail transport agents."
7226msgstr ""
7227
521dd27d 7228#. type: Content of: <book><chapter><section><para>
04f27fae 7229#: guide.dbk
fec6996f
DK
7230msgid ""
7231"As an added complication there is the possibility for a package to pretend "
7232"to be another package. Consider that exim and sendmail for many intents are "
7233"identical, they both deliver mail and understand a common interface. Hence, "
7234"the package system has a way for them to declare that they are both mail-"
7235"transport-agents. So, exim and sendmail both declare that they provide a "
7236"mail-transport-agent and other packages that need a mail transport agent "
7237"depend on mail-transport-agent. This can add a great deal of confusion when "
7238"trying to manually fix packages."
7239msgstr ""
7240
521dd27d 7241#. type: Content of: <book><chapter><section><para>
04f27fae 7242#: guide.dbk
fec6996f
DK
7243msgid ""
7244"At any given time a single dependency may be met by packages that are "
7245"already installed or it may not be. APT attempts to help resolve dependency "
7246"issues by providing a number of automatic algorithms that help in selecting "
7247"packages for installation."
7248msgstr ""
7249
521dd27d 7250#. type: Content of: <book><chapter><title>
04f27fae 7251#: guide.dbk
9aa80d52
DK
7252msgid "apt-get"
7253msgstr ""
7254
521dd27d 7255#. type: Content of: <book><chapter><para>
04f27fae 7256#: guide.dbk
fec6996f 7257msgid ""
521dd27d
GJ
7258"<command>apt-get</command> provides a simple way to install packages from "
7259"the command line. Unlike <command>dpkg</command>, <command>apt-get</command> "
7260"does not understand .deb files, it works with the package's proper name and "
7261"can only install .deb archives from a <emphasis>Source</emphasis>."
fec6996f
DK
7262msgstr ""
7263
521dd27d 7264#. type: Content of: <book><chapter><para><footnote><para>
04f27fae 7265#: guide.dbk
fec6996f 7266msgid ""
521dd27d
GJ
7267"If you are using an http proxy server you must set the http_proxy "
7268"environment variable first, see sources.list(5)"
fec6996f
DK
7269msgstr ""
7270
521dd27d 7271#. type: Content of: <book><chapter><para>
04f27fae 7272#: guide.dbk
521dd27d
GJ
7273msgid ""
7274"The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be "
7275"done before using <command>apt-get</command> is to fetch the package lists "
7276"from the <emphasis>Sources</emphasis> so that it knows what packages are "
7277"available. This is done with <literal>apt-get update</literal>. For instance,"
7278msgstr ""
7279
7280#. type: Content of: <book><chapter><screen>
04f27fae 7281#: guide.dbk
fec6996f
DK
7282#, no-wrap
7283msgid ""
7284"# apt-get update\n"
7285"Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
7286"Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7287"Reading Package Lists... Done\n"
521dd27d 7288"Building Dependency Tree... Done\n"
fec6996f
DK
7289msgstr ""
7290
521dd27d 7291#. type: Content of: <book><chapter><para>
04f27fae 7292#: guide.dbk
fec6996f
DK
7293msgid "Once updated there are several commands that can be used:"
7294msgstr ""
7295
521dd27d 7296#. type: Content of: <book><chapter><variablelist><varlistentry><term>
04f27fae 7297#: guide.dbk
2b9b27c3
DK
7298msgid "upgrade"
7299msgstr ""
7300
521dd27d 7301#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 7302#: guide.dbk
fec6996f
DK
7303msgid ""
7304"Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
7305"install a new package or remove an existing package, nor will it ever "
7306"upgrade a package that might cause some other package to break. This can be "
7307"used daily to relatively safely upgrade the system. Upgrade will list all of "
7308"the packages that it could not upgrade, this usually means that they depend "
521dd27d
GJ
7309"on new packages or conflict with some other package. <command>dselect</"
7310"command> or <literal>apt-get install</literal> can be used to force these "
7311"packages to install."
fec6996f
DK
7312msgstr ""
7313
521dd27d 7314#. type: Content of: <book><chapter><variablelist><varlistentry><term>
04f27fae 7315#: guide.dbk
2b9b27c3
DK
7316msgid "install"
7317msgstr ""
7318
521dd27d 7319#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 7320#: guide.dbk
fec6996f
DK
7321msgid ""
7322"Install is used to install packages by name. The package is automatically "
7323"fetched and installed. This can be useful if you already know the name of "
7324"the package to install and do not want to go into a GUI to select it. Any "
7325"number of packages may be passed to install, they will all be fetched. "
7326"Install automatically attempts to resolve dependency problems with the "
7327"listed packages and will print a summary and ask for confirmation if "
7328"anything other than its arguments are changed."
7329msgstr ""
7330
521dd27d 7331#. type: Content of: <book><chapter><variablelist><varlistentry><term>
04f27fae 7332#: guide.dbk
2b9b27c3
DK
7333msgid "dist-upgrade"
7334msgstr ""
7335
521dd27d 7336#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 7337#: guide.dbk
fec6996f
DK
7338msgid ""
7339"Dist-upgrade is a complete upgrader designed to simplify upgrading between "
7340"releases of Debian. It uses a sophisticated algorithm to determine the best "
7341"set of packages to install, upgrade and remove to get as much of the system "
7342"to the newest release. In some situations it may be desired to use dist-"
7343"upgrade rather than spend the time manually resolving dependencies in "
521dd27d
GJ
7344"<command>dselect</command>. Once dist-upgrade has completed then "
7345"<command>dselect</command> can be used to install any packages that may have "
7346"been left out."
fec6996f
DK
7347msgstr ""
7348
521dd27d 7349#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 7350#: guide.dbk
fec6996f
DK
7351msgid ""
7352"It is important to closely look at what dist-upgrade is going to do, its "
7353"decisions may sometimes be quite surprising."
7354msgstr ""
7355
521dd27d 7356#. type: Content of: <book><chapter><para>
04f27fae 7357#: guide.dbk
fec6996f 7358msgid ""
521dd27d
GJ
7359"<command>apt-get</command> has several command line options that are "
7360"detailed in its man page, <citerefentry><refentrytitle>apt-get</"
7361"refentrytitle><manvolnum>8</manvolnum></citerefentry>. The most useful "
7362"option is <literal>-d</literal> which does not install the fetched files. If "
7363"the system has to download a large number of package it would be undesired "
7364"to start installing them in case something goes wrong. When <literal>-d</"
7365"literal> is used the downloaded archives can be installed by simply running "
7366"the command that caused them to be downloaded again without <literal>-d</"
7367"literal>."
fec6996f
DK
7368msgstr ""
7369
521dd27d 7370#. type: Content of: <book><chapter><title>
04f27fae 7371#: guide.dbk
fec6996f
DK
7372msgid "DSelect"
7373msgstr ""
7374
521dd27d 7375#. type: Content of: <book><chapter><para>
04f27fae 7376#: guide.dbk
fec6996f 7377msgid ""
521dd27d
GJ
7378"The APT <command>dselect</command> method provides the complete APT system "
7379"with the <command>dselect</command> package selection GUI. <command>dselect</"
7380"command> is used to select the packages to be installed or removed and APT "
7381"actually installs them."
fec6996f
DK
7382msgstr ""
7383
521dd27d 7384#. type: Content of: <book><chapter><para>
04f27fae 7385#: guide.dbk
fec6996f 7386msgid ""
521dd27d
GJ
7387"To enable the APT method you need to select [A]ccess in <command>dselect</"
7388"command> and then choose the APT method. You will be prompted for a set of "
7389"<emphasis>Sources</emphasis> which are places to fetch archives from. These "
7390"can be remote Internet sites, local Debian mirrors or CD-ROMs. Each source "
7391"can provide a fragment of the total Debian archive, APT will automatically "
25838be6
JR
7392"combine them to form a complete set of packages. If you have a CD-ROM then "
7393"it is a good idea to specify it first and then specify a mirror so that you "
fec6996f 7394"have access to the latest bug fixes. APT will automatically use packages on "
25838be6 7395"your CD-ROM before downloading from the Internet."
fec6996f
DK
7396msgstr ""
7397
521dd27d 7398#. type: Content of: <book><chapter><screen>
04f27fae 7399#: guide.dbk
fec6996f
DK
7400#, no-wrap
7401msgid ""
7402" Set up a list of distribution source locations\n"
521dd27d 7403"\n"
fec6996f
DK
7404" Please give the base URL of the debian distribution.\n"
7405" The access schemes I know about are: http file\n"
521dd27d 7406"\n"
fec6996f
DK
7407" For example:\n"
7408" file:/mnt/debian,\n"
7409" ftp://ftp.debian.org/debian,\n"
7410" http://ftp.de.debian.org/debian,\n"
521dd27d
GJ
7411"\n"
7412"\n"
7413" URL [http://llug.sep.bnl.gov/debian]:\n"
fec6996f
DK
7414msgstr ""
7415
521dd27d 7416#. type: Content of: <book><chapter><para>
04f27fae 7417#: guide.dbk
fec6996f 7418msgid ""
521dd27d
GJ
7419"The <emphasis>Sources</emphasis> setup starts by asking for the base of the "
7420"Debian archive, defaulting to a HTTP mirror. Next it asks for the "
7421"distribution to get."
fec6996f
DK
7422msgstr ""
7423
521dd27d 7424#. type: Content of: <book><chapter><screen>
04f27fae 7425#: guide.dbk
fec6996f
DK
7426#, no-wrap
7427msgid ""
7428" Please give the distribution tag to get or a path to the\n"
7429" package file ending in a /. The distribution\n"
7430" tags are typically something like: stable unstable testing non-US\n"
521dd27d
GJ
7431"\n"
7432" Distribution [stable]:\n"
fec6996f
DK
7433msgstr ""
7434
521dd27d 7435#. type: Content of: <book><chapter><para>
04f27fae 7436#: guide.dbk
fec6996f 7437msgid ""
521dd27d
GJ
7438"The distribution refers to the Debian version in the archive, "
7439"<emphasis>stable</emphasis> refers to the latest released version and "
7440"<emphasis>unstable</emphasis> refers to the developmental version. "
7441"<emphasis>non-US</emphasis> is only available on some mirrors and refers to "
7442"packages that contain encryption technology or other things that cannot be "
7443"exported from the United States. Importing these packages into the US is "
7444"legal however."
fec6996f
DK
7445msgstr ""
7446
521dd27d 7447#. type: Content of: <book><chapter><screen>
04f27fae 7448#: guide.dbk
fec6996f
DK
7449#, no-wrap
7450msgid ""
7451" Please give the components to get\n"
7452" The components are typically something like: main contrib non-free\n"
521dd27d
GJ
7453"\n"
7454" Components [main contrib non-free]:\n"
fec6996f
DK
7455msgstr ""
7456
521dd27d 7457#. type: Content of: <book><chapter><para>
04f27fae 7458#: guide.dbk
fec6996f
DK
7459msgid ""
7460"The components list refers to the list of sub distributions to fetch. The "
7461"distribution is split up based on software licenses, main being DFSG free "
7462"packages while contrib and non-free contain things that have various "
7463"restrictions placed on their use and distribution."
7464msgstr ""
7465
521dd27d 7466#. type: Content of: <book><chapter><para>
04f27fae 7467#: guide.dbk
fec6996f
DK
7468msgid ""
7469"Any number of sources can be added, the setup script will continue to prompt "
7470"until you have specified all that you want."
7471msgstr ""
7472
521dd27d 7473#. type: Content of: <book><chapter><para>
04f27fae 7474#: guide.dbk
fec6996f 7475msgid ""
521dd27d
GJ
7476"Before starting to use <command>dselect</command> it is necessary to update "
7477"the available list by selecting [U]pdate from the menu. This is a superset "
7478"of <literal>apt-get update</literal> that makes the fetched information "
7479"available to <command>dselect</command>. [U]pdate must be performed even if "
7480"<literal>apt-get update</literal> has been run before."
fec6996f
DK
7481msgstr ""
7482
521dd27d 7483#. type: Content of: <book><chapter><para>
04f27fae 7484#: guide.dbk
fec6996f
DK
7485msgid ""
7486"You can then go on and make your selections using [S]elect and then perform "
7487"the installation using [I]nstall. When using the APT method the [C]onfig and "
7488"[R]emove commands have no meaning, the [I]nstall command performs both of "
7489"them together."
7490msgstr ""
7491
521dd27d 7492#. type: Content of: <book><chapter><para>
04f27fae 7493#: guide.dbk
fec6996f
DK
7494msgid ""
7495"By default APT will automatically remove the package (.deb) files once they "
521dd27d
GJ
7496"have been successfully installed. To change this behavior place "
7497"<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf."
fec6996f
DK
7498msgstr ""
7499
521dd27d 7500#. type: Content of: <book><chapter><title>
04f27fae 7501#: guide.dbk
fec6996f
DK
7502msgid "The Interface"
7503msgstr ""
7504
521dd27d 7505#. type: Content of: <book><chapter><para><footnote><para>
04f27fae 7506#: guide.dbk
521dd27d
GJ
7507msgid ""
7508"The <command>dselect</command> method actually is a set of wrapper scripts "
7509"to <command>apt-get</command>. The method actually provides more "
7510"functionality than is present in <command>apt-get</command> alone."
7511msgstr ""
7512
7513#. type: Content of: <book><chapter><para>
04f27fae 7514#: guide.dbk
fec6996f 7515msgid ""
521dd27d
GJ
7516"Both that APT <command>dselect</command> method and <command>apt-get</"
7517"command> share the same interface. It is a simple system that generally "
7518"tells you what it will do and then goes and does it. <placeholder type="
7519"\"footnote\" id=\"0\"/> After printing out a summary of what will happen APT "
fec6996f
DK
7520"then will print out some informative status messages so that you can "
7521"estimate how far along it is and how much is left to do."
7522msgstr ""
7523
521dd27d 7524#. type: Content of: <book><chapter><section><title>
04f27fae 7525#: guide.dbk
fec6996f
DK
7526msgid "Startup"
7527msgstr ""
7528
521dd27d 7529#. type: Content of: <book><chapter><section><para>
04f27fae 7530#: guide.dbk
fec6996f
DK
7531msgid ""
7532"Before all operations except update, APT performs a number of actions to "
7533"prepare its internal state. It also does some checks of the system's state. "
521dd27d
GJ
7534"At any time these operations can be performed by running <literal>apt-get "
7535"check</literal>."
fec6996f
DK
7536msgstr ""
7537
521dd27d 7538#. type: Content of: <book><chapter><section><screen>
04f27fae 7539#: guide.dbk
fec6996f
DK
7540#, no-wrap
7541msgid ""
7542"# apt-get check\n"
7543"Reading Package Lists... Done\n"
521dd27d 7544"Building Dependency Tree... Done\n"
fec6996f
DK
7545msgstr ""
7546
521dd27d 7547#. type: Content of: <book><chapter><section><para>
04f27fae 7548#: guide.dbk
fec6996f
DK
7549msgid ""
7550"The first thing it does is read all the package files into memory. APT uses "
7551"a caching scheme so this operation will be faster the second time it is run. "
7552"If some of the package files are not found then they will be ignored and a "
7553"warning will be printed when apt-get exits."
7554msgstr ""
7555
521dd27d 7556#. type: Content of: <book><chapter><section><para>
04f27fae 7557#: guide.dbk
fec6996f
DK
7558msgid ""
7559"The final operation performs a detailed analysis of the system's "
7560"dependencies. It checks every dependency of every installed or unpacked "
7561"package and considers if it is OK. Should this find a problem then a report "
521dd27d 7562"will be printed out and <command>apt-get</command> will refuse to run."
fec6996f
DK
7563msgstr ""
7564
521dd27d 7565#. type: Content of: <book><chapter><section><screen>
04f27fae 7566#: guide.dbk
fec6996f
DK
7567#, no-wrap
7568msgid ""
7569"# apt-get check\n"
7570"Reading Package Lists... Done\n"
7571"Building Dependency Tree... Done\n"
7572"You might want to run apt-get -f install' to correct these.\n"
7573"Sorry, but the following packages have unmet dependencies:\n"
7574" 9fonts: Depends: xlib6g but it is not installed\n"
7575" uucp: Depends: mailx but it is not installed\n"
521dd27d 7576" blast: Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
fec6996f
DK
7577" adduser: Depends: perl-base but it is not installed\n"
7578" aumix: Depends: libgpmg1 but it is not installed\n"
7579" debiandoc-sgml: Depends: sgml-base but it is not installed\n"
521dd27d 7580" bash-builtins: Depends: bash (&gt;= 2.01) but 2.0-3 is installed\n"
fec6996f 7581" cthugha: Depends: svgalibg1 but it is not installed\n"
521dd27d
GJ
7582" Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
7583" libreadlineg2: Conflicts:libreadline2 (&lt;&lt; 2.1-2.1)\n"
fec6996f
DK
7584msgstr ""
7585
521dd27d 7586#. type: Content of: <book><chapter><section><para>
04f27fae 7587#: guide.dbk
fec6996f
DK
7588msgid ""
7589"In this example the system has many problems, including a serious problem "
7590"with libreadlineg2. For each package that has unmet dependencies a line is "
7591"printed out indicating the package with the problem and the dependencies "
7592"that are unmet. A short explanation of why the package has a dependency "
7593"problem is also included."
7594msgstr ""
7595
521dd27d 7596#. type: Content of: <book><chapter><section><para><footnote><para>
04f27fae 7597#: guide.dbk
521dd27d
GJ
7598msgid ""
7599"APT however considers all known dependencies and attempts to prevent broken "
7600"packages"
7601msgstr ""
7602
7603#. type: Content of: <book><chapter><section><para>
04f27fae 7604#: guide.dbk
fec6996f
DK
7605msgid ""
7606"There are two ways a system can get into a broken state like this. The first "
521dd27d
GJ
7607"is caused by <command>dpkg</command> missing some subtle relationships "
7608"between packages when performing upgrades. <placeholder type=\"footnote\" id="
7609"\"0\"/>. The second is if a package installation fails during an operation. "
7610"In this situation a package may have been unpacked without its dependents "
7611"being installed."
fec6996f
DK
7612msgstr ""
7613
521dd27d 7614#. type: Content of: <book><chapter><section><para>
04f27fae 7615#: guide.dbk
fec6996f
DK
7616msgid ""
7617"The second situation is much less serious than the first because APT places "
7618"certain constraints on the order that packages are installed. In both cases "
521dd27d
GJ
7619"supplying the <literal>-f</literal> option to <command>apt-get</command> "
7620"will cause APT to deduce a possible solution to the problem and then "
7621"continue on. The APT <command>dselect</command> method always supplies the "
7622"<literal>-f</literal> option to allow for easy continuation of failed "
7623"maintainer scripts."
fec6996f
DK
7624msgstr ""
7625
521dd27d 7626#. type: Content of: <book><chapter><section><para>
04f27fae 7627#: guide.dbk
fec6996f 7628msgid ""
521dd27d
GJ
7629"However, if the <literal>-f</literal> option is used to correct a seriously "
7630"broken system caused by the first case then it is possible that it will "
7631"either fail immediately or the installation sequence will fail. In either "
7632"case it is necessary to manually use dpkg (possibly with forcing options) to "
7633"correct the situation enough to allow APT to proceed."
fec6996f
DK
7634msgstr ""
7635
521dd27d 7636#. type: Content of: <book><chapter><section><title>
04f27fae 7637#: guide.dbk
fec6996f
DK
7638msgid "The Status Report"
7639msgstr ""
7640
521dd27d 7641#. type: Content of: <book><chapter><section><para>
04f27fae 7642#: guide.dbk
fec6996f 7643msgid ""
521dd27d
GJ
7644"Before proceeding <command>apt-get</command> will present a report on what "
7645"will happen. Generally the report reflects the type of operation being "
7646"performed but there are several common elements. In all cases the lists "
7647"reflect the final state of things, taking into account the <literal>-f</"
7648"literal> option and any other relevant activities to the command being "
7649"executed."
fec6996f
DK
7650msgstr ""
7651
521dd27d 7652#. type: Content of: <book><chapter><section><section><title>
04f27fae 7653#: guide.dbk
fec6996f
DK
7654msgid "The Extra Package list"
7655msgstr ""
7656
521dd27d 7657#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7658#: guide.dbk
fec6996f
DK
7659#, no-wrap
7660msgid ""
7661"The following extra packages will be installed:\n"
7662" libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
7663" mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
7664" bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
7665" squake pgp-i python-base debmake ldso perl libreadlineg2\n"
521dd27d 7666" ssh\n"
fec6996f
DK
7667msgstr ""
7668
521dd27d 7669#. type: Content of: <book><chapter><section><section><para>
04f27fae 7670#: guide.dbk
fec6996f
DK
7671msgid ""
7672"The Extra Package list shows all of the packages that will be installed or "
7673"upgraded in excess of the ones mentioned on the command line. It is only "
521dd27d
GJ
7674"generated for an <literal>install</literal> command. The listed packages are "
7675"often the result of an Auto Install."
fec6996f
DK
7676msgstr ""
7677
521dd27d 7678#. type: Content of: <book><chapter><section><section><title>
04f27fae 7679#: guide.dbk
fec6996f
DK
7680msgid "The Packages to Remove"
7681msgstr ""
7682
521dd27d 7683#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7684#: guide.dbk
fec6996f
DK
7685#, no-wrap
7686msgid ""
7687"The following packages will be REMOVED:\n"
7688" xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
7689" xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
7690" xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
521dd27d 7691" nas xpilot xfig\n"
fec6996f
DK
7692msgstr ""
7693
521dd27d 7694#. type: Content of: <book><chapter><section><section><para>
04f27fae 7695#: guide.dbk
fec6996f
DK
7696msgid ""
7697"The Packages to Remove list shows all of the packages that will be removed "
7698"from the system. It can be shown for any of the operations and should be "
7699"given a careful inspection to ensure nothing important is to be taken off. "
521dd27d
GJ
7700"The <literal>-f</literal> option is especially good at generating packages "
7701"to remove so extreme care should be used in that case. The list may contain "
7702"packages that are going to be removed because they are only partially "
7703"installed, possibly due to an aborted installation."
fec6996f
DK
7704msgstr ""
7705
521dd27d 7706#. type: Content of: <book><chapter><section><section><title>
04f27fae 7707#: guide.dbk
fec6996f
DK
7708msgid "The New Packages list"
7709msgstr ""
7710
521dd27d 7711#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7712#: guide.dbk
fec6996f
DK
7713#, no-wrap
7714msgid ""
7715"The following NEW packages will installed:\n"
521dd27d 7716" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
fec6996f
DK
7717msgstr ""
7718
521dd27d 7719#. type: Content of: <book><chapter><section><section><para>
04f27fae 7720#: guide.dbk
fec6996f
DK
7721msgid ""
7722"The New Packages list is simply a reminder of what will happen. The packages "
7723"listed are not presently installed in the system but will be when APT is "
7724"done."
7725msgstr ""
7726
521dd27d 7727#. type: Content of: <book><chapter><section><section><title>
04f27fae 7728#: guide.dbk
fec6996f
DK
7729msgid "The Kept Back list"
7730msgstr ""
7731
521dd27d 7732#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7733#: guide.dbk
fec6996f
DK
7734#, no-wrap
7735msgid ""
7736"The following packages have been kept back\n"
7737" compface man-db tetex-base msql libpaper svgalib1\n"
521dd27d 7738" gs snmp arena lynx xpat2 groff xscreensaver\n"
fec6996f
DK
7739msgstr ""
7740
521dd27d 7741#. type: Content of: <book><chapter><section><section><para>
04f27fae 7742#: guide.dbk
fec6996f
DK
7743msgid ""
7744"Whenever the whole system is being upgraded there is the possibility that "
7745"new versions of packages cannot be installed because they require new things "
7746"or conflict with already installed things. In this case the package will "
7747"appear in the Kept Back list. The best way to convince packages listed there "
521dd27d
GJ
7748"to install is with <literal>apt-get install</literal> or by using "
7749"<command>dselect</command> to resolve their problems."
fec6996f
DK
7750msgstr ""
7751
521dd27d 7752#. type: Content of: <book><chapter><section><section><title>
04f27fae 7753#: guide.dbk
fec6996f
DK
7754msgid "Held Packages warning"
7755msgstr ""
7756
521dd27d 7757#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7758#: guide.dbk
fec6996f
DK
7759#, no-wrap
7760msgid ""
7761"The following held packages will be changed:\n"
521dd27d 7762" cvs\n"
fec6996f
DK
7763msgstr ""
7764
521dd27d 7765#. type: Content of: <book><chapter><section><section><para>
04f27fae 7766#: guide.dbk
fec6996f
DK
7767msgid ""
7768"Sometimes you can ask APT to install a package that is on hold, in such a "
7769"case it prints out a warning that the held package is going to be changed. "
7770"This should only happen during dist-upgrade or install."
7771msgstr ""
7772
521dd27d 7773#. type: Content of: <book><chapter><section><section><title>
04f27fae 7774#: guide.dbk
fec6996f
DK
7775msgid "Final summary"
7776msgstr ""
7777
521dd27d 7778#. type: Content of: <book><chapter><section><section><para>
04f27fae 7779#: guide.dbk
fec6996f
DK
7780msgid ""
7781"Finally, APT will print out a summary of all the changes that will occur."
7782msgstr ""
7783
521dd27d 7784#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7785#: guide.dbk
fec6996f
DK
7786#, no-wrap
7787msgid ""
7788"206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
7789"12 packages not fully installed or removed.\n"
521dd27d 7790"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
fec6996f
DK
7791msgstr ""
7792
521dd27d 7793#. type: Content of: <book><chapter><section><section><para>
04f27fae 7794#: guide.dbk
fec6996f
DK
7795msgid ""
7796"The first line of the summary simply is a reduced version of all of the "
7797"lists and includes the number of upgrades - that is packages already "
7798"installed that have new versions available. The second line indicates the "
7799"number of poorly configured packages, possibly the result of an aborted "
7800"installation. The final line shows the space requirements that the "
7801"installation needs. The first pair of numbers refer to the size of the "
7802"archive files. The first number indicates the number of bytes that must be "
7803"fetched from remote locations and the second indicates the total size of all "
7804"the archives required. The next number indicates the size difference between "
7805"the presently installed packages and the newly installed packages. It is "
7806"roughly equivalent to the space required in /usr after everything is done. "
7807"If a large number of packages are being removed then the value may indicate "
7808"the amount of space that will be freed."
7809msgstr ""
7810
521dd27d 7811#. type: Content of: <book><chapter><section><section><para>
04f27fae 7812#: guide.dbk
fec6996f
DK
7813msgid ""
7814"Some other reports can be generated by using the -u option to show packages "
7815"to upgrade, they are similar to the previous examples."
7816msgstr ""
7817
521dd27d 7818#. type: Content of: <book><chapter><section><title>
04f27fae 7819#: guide.dbk
fec6996f
DK
7820msgid "The Status Display"
7821msgstr ""
7822
521dd27d 7823#. type: Content of: <book><chapter><section><para>
04f27fae 7824#: guide.dbk
fec6996f
DK
7825msgid ""
7826"During the download of archives and package files APT prints out a series of "
7827"status messages."
7828msgstr ""
7829
521dd27d 7830#. type: Content of: <book><chapter><section><screen>
04f27fae 7831#: guide.dbk
fec6996f
DK
7832#, no-wrap
7833msgid ""
7834"# apt-get update\n"
7835"Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
7836"Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7837"Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
7838"Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
7839"Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
521dd27d 7840"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
fec6996f
DK
7841msgstr ""
7842
521dd27d 7843#. type: Content of: <book><chapter><section><para>
04f27fae 7844#: guide.dbk
fec6996f 7845msgid ""
521dd27d
GJ
7846"The lines starting with <emphasis>Get</emphasis> are printed out when APT "
7847"begins to fetch a file while the last line indicates the progress of the "
7848"download. The first percent value on the progress line indicates the total "
7849"percent done of all files. Unfortunately since the size of the Package files "
7850"is unknown <literal>apt-get update</literal> estimates the percent done "
7851"which causes some inaccuracies."
fec6996f
DK
7852msgstr ""
7853
521dd27d 7854#. type: Content of: <book><chapter><section><para>
04f27fae 7855#: guide.dbk
fec6996f
DK
7856msgid ""
7857"The next section of the status line is repeated once for each download "
7858"thread and indicates the operation being performed and some useful "
7859"information about what is happening. Sometimes this section will simply read "
521dd27d
GJ
7860"<emphasis>Forking</emphasis> which means the OS is loading the download "
7861"module. The first word after the [ is the fetch number as shown on the "
7862"history lines. The next word is the short form name of the object being "
7863"downloaded. For archives it will contain the name of the package that is "
7864"being fetched."
fec6996f
DK
7865msgstr ""
7866
521dd27d 7867#. type: Content of: <book><chapter><section><para>
04f27fae 7868#: guide.dbk
fec6996f
DK
7869msgid ""
7870"Inside of the single quote is an informative string indicating the progress "
7871"of the negotiation phase of the download. Typically it progresses from "
521dd27d
GJ
7872"<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to "
7873"<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final "
7874"value is the number of bytes downloaded from the remote site. Once the "
7875"download begins this is represented as <literal>102/10.2k</literal> "
7876"indicating that 102 bytes have been fetched and 10.2 kilobytes is expected. "
7877"The total size is always shown in 4 figure notation to preserve space. After "
7878"the size display is a percent meter for the file itself. The second last "
7879"element is the instantaneous average speed. This values is updated every 5 "
7880"seconds and reflects the rate of data transfer for that period. Finally is "
7881"shown the estimated transfer time. This is updated regularly and reflects "
7882"the time to complete everything at the shown transfer rate."
7883msgstr ""
7884
7885#. type: Content of: <book><chapter><section><para>
04f27fae 7886#: guide.dbk
fec6996f
DK
7887msgid ""
7888"The status display updates every half second to provide a constant feedback "
7889"on the download progress while the Get lines scroll back whenever a new file "
7890"is started. Since the status display is constantly updated it is unsuitable "
521dd27d
GJ
7891"for logging to a file, use the <literal>-q</literal> option to remove the "
7892"status display."
fec6996f
DK
7893msgstr ""
7894
521dd27d 7895#. type: Content of: <book><chapter><section><title>
04f27fae 7896#: guide.dbk
fec6996f
DK
7897msgid "Dpkg"
7898msgstr ""
7899
521dd27d 7900#. type: Content of: <book><chapter><section><para>
04f27fae 7901#: guide.dbk
fec6996f 7902msgid ""
521dd27d
GJ
7903"APT uses <command>dpkg</command> for installing the archives and will switch "
7904"over to the <command>dpkg</command> interface once downloading is completed. "
7905"<command>dpkg</command> will also ask a number of questions as it processes "
7906"the packages and the packages themselves may also ask several questions. "
7907"Before each question there is usually a description of what it is asking and "
7908"the questions are too varied to discuss completely here."
fec6996f
DK
7909msgstr ""
7910
521dd27d 7911#. type: Content of: <book><title>
04f27fae 7912#: offline.dbk
fec6996f
DK
7913msgid "Using APT Offline"
7914msgstr ""
7915
521dd27d 7916#. type: Content of: <book><bookinfo><abstract><para>
04f27fae 7917#: offline.dbk
fec6996f
DK
7918msgid ""
7919"This document describes how to use APT in a non-networked environment, "
7920"specifically a 'sneaker-net' approach for performing upgrades."
7921msgstr ""
7922
521dd27d 7923#. type: Content of: <book><bookinfo>
04f27fae 7924#: offline.dbk
521dd27d
GJ
7925msgid ""
7926"<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
fec6996f
DK
7927msgstr ""
7928
521dd27d 7929#. type: Content of: <book><chapter><title>
04f27fae 7930#: offline.dbk
fec6996f
DK
7931msgid "Introduction"
7932msgstr ""
7933
521dd27d 7934#. type: Content of: <book><chapter><section><title>
04f27fae 7935#: offline.dbk
fec6996f
DK
7936msgid "Overview"
7937msgstr ""
7938
521dd27d 7939#. type: Content of: <book><chapter><section><para>
04f27fae 7940#: offline.dbk
fec6996f
DK
7941msgid ""
7942"Normally APT requires direct access to a Debian archive, either from a local "
7943"media or through a network. Another common complaint is that a Debian "
7944"machine is on a slow link, such as a modem and another machine has a very "
7945"fast connection but they are physically distant."
7946msgstr ""
7947
521dd27d 7948#. type: Content of: <book><chapter><section><para>
04f27fae 7949#: offline.dbk
fec6996f
DK
7950msgid ""
7951"The solution to this is to use large removable media such as a Zip disc or a "
7952"SuperDisk disc. These discs are not large enough to store the entire Debian "
7953"archive but can easily fit a subset large enough for most users. The idea is "
7954"to use APT to generate a list of packages that are required and then fetch "
7955"them onto the disc using another machine with good connectivity. It is even "
7956"possible to use another Debian machine with APT or to use a completely "
521dd27d
GJ
7957"different OS and a download tool like wget. Let <emphasis>remote host</"
7958"emphasis> mean the machine downloading the packages, and <emphasis>target "
7959"host</emphasis> the one with bad or no connection."
fec6996f
DK
7960msgstr ""
7961
521dd27d 7962#. type: Content of: <book><chapter><section><para>
04f27fae 7963#: offline.dbk
fec6996f
DK
7964msgid ""
7965"This is achieved by creatively manipulating the APT configuration file. The "
b39c1859 7966"essential premise to tell APT to look on a disc for it's archive files. Note "
bf33c3bd
JAK
7967"that the disc should be formatted with a filesystem that can handle long "
7968"file names such as ext2, fat32 or vfat."
fec6996f
DK
7969msgstr ""
7970
521dd27d 7971#. type: Content of: <book><chapter><title>
04f27fae 7972#: offline.dbk
fec6996f
DK
7973msgid "Using APT on both machines"
7974msgstr ""
7975
521dd27d 7976#. type: Content of: <book><chapter><section><para>
04f27fae 7977#: offline.dbk
fec6996f
DK
7978msgid ""
7979"APT being available on both machines gives the simplest configuration. The "
7980"basic idea is to place a copy of the status file on the disc and use the "
7981"remote machine to fetch the latest package files and decide which packages "
7982"to download. The disk directory structure should look like:"
7983msgstr ""
7984
521dd27d 7985#. type: Content of: <book><chapter><section><screen>
04f27fae 7986#: offline.dbk
fec6996f
DK
7987#, no-wrap
7988msgid ""
7989" /disc/\n"
7990" archives/\n"
7991" partial/\n"
7992" lists/\n"
7993" partial/\n"
7994" status\n"
7995" sources.list\n"
521dd27d 7996" apt.conf\n"
fec6996f
DK
7997msgstr ""
7998
521dd27d 7999#. type: Content of: <book><chapter><section><title>
04f27fae 8000#: offline.dbk
fec6996f
DK
8001msgid "The configuration file"
8002msgstr ""
8003
521dd27d 8004#. type: Content of: <book><chapter><section><para>
04f27fae 8005#: offline.dbk
fec6996f
DK
8006msgid ""
8007"The configuration file should tell APT to store its files on the disc and to "
8008"use the configuration files on the disc as well. The sources.list should "
8009"contain the proper sites that you wish to use from the remote machine, and "
521dd27d
GJ
8010"the status file should be a copy of <emphasis>/var/lib/dpkg/status</"
8011"emphasis> from the <emphasis>target host</emphasis>. Please note, if you are "
8012"using a local archive you must use copy URIs, the syntax is identical to "
8013"file URIs."
fec6996f
DK
8014msgstr ""
8015
521dd27d 8016#. type: Content of: <book><chapter><section><para>
04f27fae 8017#: offline.dbk
fec6996f 8018msgid ""
521dd27d
GJ
8019"<emphasis>apt.conf</emphasis> must contain the necessary information to make "
8020"APT use the disc:"
fec6996f
DK
8021msgstr ""
8022
521dd27d 8023#. type: Content of: <book><chapter><section><screen>
04f27fae 8024#: offline.dbk
fec6996f
DK
8025#, no-wrap
8026msgid ""
8027" APT\n"
8028" {\n"
8029" /* This is not necessary if the two machines are the same arch, it tells\n"
8030" the remote APT what architecture the target machine is */\n"
8031" Architecture \"i386\";\n"
521dd27d 8032"\n"
fec6996f
DK
8033" Get::Download-Only \"true\";\n"
8034" };\n"
521dd27d 8035"\n"
fec6996f
DK
8036" Dir\n"
8037" {\n"
8038" /* Use the disc for state information and redirect the status file from\n"
8039" the /var/lib/dpkg default */\n"
8040" State \"/disc/\";\n"
8041" State::status \"status\";\n"
8042"\n"
8043" // Binary caches will be stored locally\n"
8044" Cache::archives \"/disc/archives/\";\n"
8045" Cache \"/tmp/\";\n"
521dd27d 8046"\n"
fec6996f
DK
8047" // Location of the source list.\n"
8048" Etc \"/disc/\";\n"
521dd27d 8049" };\n"
fec6996f
DK
8050msgstr ""
8051
521dd27d 8052#. type: Content of: <book><chapter><section><para>
04f27fae 8053#: offline.dbk
fec6996f
DK
8054msgid ""
8055"More details can be seen by examining the apt.conf man page and the sample "
521dd27d
GJ
8056"configuration file in <emphasis>/usr/share/doc/apt/examples/apt.conf</"
8057"emphasis>."
fec6996f
DK
8058msgstr ""
8059
521dd27d 8060#. type: Content of: <book><chapter><section><para>
04f27fae 8061#: offline.dbk
fec6996f 8062msgid ""
521dd27d
GJ
8063"On the target machine the first thing to do is mount the disc and copy "
8064"<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to "
8065"create the directories outlined in the Overview, <emphasis>archives/partial/"
8066"</emphasis> and <emphasis>lists/partial/</emphasis>. Then take the disc to "
8067"the remote machine and configure the sources.list. On the remote machine "
8068"execute the following:"
fec6996f
DK
8069msgstr ""
8070
521dd27d 8071#. type: Content of: <book><chapter><section><screen>
04f27fae 8072#: offline.dbk
fec6996f
DK
8073#, no-wrap
8074msgid ""
8075" # export APT_CONFIG=\"/disc/apt.conf\"\n"
8076" # apt-get update\n"
8077" [ APT fetches the package files ]\n"
8078" # apt-get dist-upgrade\n"
521dd27d 8079" [ APT fetches all the packages needed to upgrade the target machine ]\n"
fec6996f
DK
8080msgstr ""
8081
521dd27d 8082#. type: Content of: <book><chapter><section><para>
04f27fae 8083#: offline.dbk
fec6996f 8084msgid ""
b39c1859 8085"The dist-upgrade command can be replaced with any other standard APT "
fec6996f 8086"commands, particularly dselect-upgrade. You can even use an APT front end "
521dd27d
GJ
8087"such as <emphasis>dselect</emphasis>. However this presents a problem in "
8088"communicating your selections back to the local computer."
fec6996f
DK
8089msgstr ""
8090
521dd27d 8091#. type: Content of: <book><chapter><section><para>
04f27fae 8092#: offline.dbk
fec6996f
DK
8093msgid ""
8094"Now the disc contains all of the index files and archives needed to upgrade "
8095"the target machine. Take the disc back and run:"
8096msgstr ""
8097
521dd27d 8098#. type: Content of: <book><chapter><section><screen>
04f27fae 8099#: offline.dbk
fec6996f
DK
8100#, no-wrap
8101msgid ""
8102" # export APT_CONFIG=\"/disc/apt.conf\"\n"
8103" # apt-get check\n"
8104" [ APT generates a local copy of the cache files ]\n"
8105" # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
521dd27d 8106" [ Or any other APT command ]\n"
fec6996f
DK
8107msgstr ""
8108
521dd27d 8109#. type: Content of: <book><chapter><section><para>
04f27fae 8110#: offline.dbk
fec6996f
DK
8111msgid ""
8112"It is necessary for proper function to re-specify the status file to be the "
8113"local one. This is very important!"
8114msgstr ""
8115
521dd27d 8116#. type: Content of: <book><chapter><section><para>
04f27fae 8117#: offline.dbk
fec6996f
DK
8118msgid ""
8119"If you are using dselect you can do the very risky operation of copying disc/"
8120"status to /var/lib/dpkg/status so that any selections you made on the remote "
8121"machine are updated. I highly recommend that people only make selections on "
8122"the local machine - but this may not always be possible. DO NOT copy the "
8123"status file if dpkg or APT have been run in the mean time!!"
8124msgstr ""
8125
521dd27d 8126#. type: Content of: <book><chapter><title>
04f27fae 8127#: offline.dbk
fec6996f
DK
8128msgid "Using APT and wget"
8129msgstr ""
8130
521dd27d 8131#. type: Content of: <book><chapter><section><para>
04f27fae 8132#: offline.dbk
fec6996f 8133msgid ""
521dd27d
GJ
8134"<emphasis>wget</emphasis> is a popular and portable download tool that can "
8135"run on nearly any machine. Unlike the method above this requires that the "
8136"Debian machine already has a list of available packages."
fec6996f
DK
8137msgstr ""
8138
521dd27d 8139#. type: Content of: <book><chapter><section><para>
04f27fae 8140#: offline.dbk
fec6996f
DK
8141msgid ""
8142"The basic idea is to create a disc that has only the archive files "
8143"downloaded from the remote site. This is done by using the --print-uris "
8144"option to apt-get and then preparing a wget script to actually fetch the "
8145"packages."
8146msgstr ""
8147
521dd27d 8148#. type: Content of: <book><chapter><section><title>
04f27fae 8149#: offline.dbk
fec6996f
DK
8150#, fuzzy
8151msgid "Operation"
8152msgstr "Descrição"
8153
521dd27d 8154#. type: Content of: <book><chapter><section><para>
04f27fae 8155#: offline.dbk
fec6996f
DK
8156msgid ""
8157"Unlike the previous technique no special configuration files are required. "
8158"We merely use the standard APT commands to generate the file list."
8159msgstr ""
8160
521dd27d 8161#. type: Content of: <book><chapter><section><screen>
04f27fae 8162#: offline.dbk
fec6996f
DK
8163#, no-wrap
8164msgid ""
521dd27d 8165" # apt-get dist-upgrade\n"
fec6996f 8166" [ Press no when prompted, make sure you are happy with the actions ]\n"
521dd27d
GJ
8167" # apt-get -qq --print-uris dist-upgrade &gt; uris\n"
8168" # awk '{print \"wget -O \" $2 \" \" $1}' &lt; uris &gt; /disc/wget-script\n"
fec6996f
DK
8169msgstr ""
8170
521dd27d 8171#. type: Content of: <book><chapter><section><para>
04f27fae 8172#: offline.dbk
fec6996f
DK
8173msgid ""
8174"Any command other than dist-upgrade could be used here, including dselect-"
8175"upgrade."
8176msgstr ""
8177
521dd27d 8178#. type: Content of: <book><chapter><section><para>
04f27fae 8179#: offline.dbk
fec6996f
DK
8180msgid ""
8181"The /disc/wget-script file will now contain a list of wget commands to "
8182"execute in order to fetch the necessary archives. This script should be run "
8183"with the current directory as the disc's mount point so as to save the "
8184"output on the disc."
8185msgstr ""
8186
521dd27d 8187#. type: Content of: <book><chapter><section><para>
04f27fae 8188#: offline.dbk
fec6996f
DK
8189msgid "The remote machine would do something like"
8190msgstr ""
8191
521dd27d 8192#. type: Content of: <book><chapter><section><screen>
04f27fae 8193#: offline.dbk
fec6996f
DK
8194#, no-wrap
8195msgid ""
8196" # cd /disc\n"
8197" # sh -x ./wget-script\n"
521dd27d 8198" [ wait.. ]\n"
fec6996f
DK
8199msgstr ""
8200
521dd27d 8201#. type: Content of: <book><chapter><section><para>
04f27fae 8202#: offline.dbk
fec6996f
DK
8203msgid ""
8204"Once the archives are downloaded and the disc returned to the Debian machine "
8205"installation can proceed using,"
8206msgstr ""
8207
521dd27d 8208#. type: Content of: <book><chapter><section><screen>
04f27fae 8209#: offline.dbk
fec6996f 8210#, no-wrap
521dd27d 8211msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
fec6996f
DK
8212msgstr ""
8213
521dd27d 8214#. type: Content of: <book><chapter><section><para>
04f27fae 8215#: offline.dbk
fec6996f
DK
8216msgid "Which will use the already fetched archives on the disc."
8217msgstr ""
8218
4bdf29d3
JAK
8219#, fuzzy
8220#~ msgid "<filename>/etc/apt/trustdb.gpg</filename>"
8221#~ msgstr "<filename>/etc/apt.conf</>"
8222
5b057748
JAK
8223#, fuzzy
8224#~ msgid "&apt-get;, &apt-conf;"
8225#~ msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
8226
cbbee23e
DK
8227#, fuzzy
8228#~ msgid "The option <literal>DPkg::Progress-Fancy</literal> is enabled."
8229#~ msgstr "a linha <literal>Package:</literal>"
8230
8231#, fuzzy
8232#~ msgid "The option <literal>APT::Color</literal> is enabled."
8233#~ msgstr "a linha <literal>Component:</literal>"
8234
8235#, fuzzy
8236#~ msgid ""
8237#~ "The option <literal>upgrade</literal> has <literal>--with-new-pkgs</"
8238#~ "literal> enabled by default."
8239#~ msgstr "a linha <literal>Archive:</literal>"
8240
864fe99c
MV
8241#, fuzzy
8242#~ msgid ""
8243#~ "to the versions that are not installed and do not belong to the target "
8244#~ "release."
8245#~ msgstr ""
8246#~ "para as instâncias que não estã instaladas e que não pertencem a versão "
8247#~ "alvo."
8248
8249#, fuzzy
8250#~ msgid "Some examples:"
8251#~ msgstr "Exemplos"
8252
6dbf3380
MV
8253#, fuzzy
8254#~ msgid ""
8255#~ "See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
8256#~ "B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
8257#~ "B<reportbug>(1) command."
8258#~ msgstr ""
8259#~ "\n"
8260#~ " <RefSect1><Title>Bugs</>\n"
8261#~ " <para>\n"
8262#~ " Consulte a <ulink url='http://bugs.debian.org/apt'>página de bugs do "
8263#~ "APT</>.\n"
8264#~ " Caso você queira relatar um bug no APT, por favor consulte o arquivo\n"
8265#~ " <filename>/usr/share/doc/debian/bug-reporting.txt</> ou o comando "
8266#~ "&reportbug;.\n"
8267#~ " </RefSect1>\n"
8268
8269#, fuzzy
8270#~ msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
8271#~ msgstr ""
8272#~ "\n"
8273#~ " <RefSect1><Title>Author</>\n"
8274#~ " <para>\n"
8275#~ " O APT foi escrito pela equipe APT <email>apt@packages.debian.org</>.\n"
8276#~ " </RefSect1>\n"
8277
75d9bdba
JR
8278#, fuzzy
8279#~ msgid ""
8280#~ "Package: *\n"
8281#~ "Pin: release n=karmic*\n"
8282#~ "Pin-Priority: 990\n"
8283#~ msgstr ""
8284#~ "<programlisting>\n"
8285#~ "Package: *\n"
8286#~ "Pin: release a=unstable\n"
8287#~ "Pin-Priority: 50\n"
8288
187aa32e
DK
8289#, fuzzy
8290#~ msgid "Dir Section"
8291#~ msgstr "Descrição"
8292
8293#, fuzzy
8294#~ msgid "<replaceable>&synopsis-filename;</replaceable>"
8295#~ msgstr ""
8296#~ "<programlisting>\n"
8297#~ "apt-get install <replaceable>pacote</replaceable>/testing\n"
8298
8299#, fuzzy
8300#~ msgid "&apt-get;,&aptitude;,&apt-conf;"
8301#~ msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
8302
8303#, fuzzy
8304#~ msgid "&file-preferences;"
8305#~ msgstr "apt_preferences"
8306
d5aa88bf
DK
8307#, fuzzy
8308#~ msgid "&apt-author.team; &apt-email; &apt-product;"
8309#~ msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
8310
45fb8bf7
DK
8311#, fuzzy
8312#~ msgid ""
8313#~ "<!-- Boiler plate docinfo section -->\n"
8314#~ "<!ENTITY apt-docinfo \"\n"
8315#~ " <refentryinfo>\n"
8316#~ " <address><email>apt@packages.debian.org</email></address>\n"
8317#~ " <author>\n"
8318#~ " <firstname>Jason</firstname> <surname>Gunthorpe</surname>\n"
8319#~ " <contrib></contrib>\n"
8320#~ " </author>\n"
d5aa88bf
DK
8321#~ " <copyright><year>1998-2001</year> <holder>Jason Gunthorpe</holder></"
8322#~ "copyright>\n"
45fb8bf7
DK
8323#~ " <date>28 October 2008</date>\n"
8324#~ " <productname>Linux</productname>\n"
8325#~ " </refentryinfo>\n"
8326#~ "\">\n"
8327#~ msgstr ""
8328#~ "\n"
8329#~ " <docinfo>\n"
8330#~ " <address><email>apt@packages.debian.org</></address>\n"
8331#~ " <author><firstname>Jason</> <surname>Gunthorpe</></>\n"
8332#~ " <copyright><year>1998-2001</> <holder>Jason Gunthorpe</></>\n"
8333#~ " <date>12 Março 2001</>\n"
8334#~ " </docinfo>\n"
8335
782486e8
MV
8336#, fuzzy
8337#~ msgid "to the version that is already installed (if any)."
8338#~ msgstr "para a instância que já esteja instalada (caso exista)."
8339
b81dbe40
DK
8340#, fuzzy
8341#~ msgid ""
8342#~ "The <literal>Pin-Priority:</literal> line in each APT preferences record "
8343#~ "is optional. If omitted, APT assigns a priority of 1 less than the last "
8344#~ "value specified on a line beginning with <literal>Pin-Priority: "
8345#~ "release ...</literal>."
8346#~ msgstr ""
8347#~ "A linha <literal>Pin-Priority:</literal> em cada registro de preferências "
8348#~ "do APT é opcional. Caso omitida, o APT atribuirá uma prioridade de 1 "
8349#~ "menos o último valor especificado em uma linha iniciando com <literal>Pin-"
8350#~ "Priority: release ...</literal>."
8351
fec6996f
DK
8352#, fuzzy
8353#~ msgid ""
8354#~ "\n"
8355#~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8356#~ " <ListItem><Para>\n"
8357#~ " Show a short usage summary.\n"
8358#~ " </VarListEntry>\n"
8359#~ " \n"
8360#~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8361#~ " <ListItem><Para>\n"
8362#~ " Show the program version.\n"
8363#~ " </VarListEntry>\n"
8364#~ "\n"
8365#~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8366#~ " <ListItem><Para>\n"
8367#~ " Configuration File; Specify a configuration file to use. \n"
8368#~ " The program will read the default configuration file and then this \n"
8369#~ " configuration file. See &apt-conf; for syntax information. \n"
8370#~ " </VarListEntry>\n"
8371#~ " \n"
8372#~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8373#~ " <ListItem><Para>\n"
a0895a74
MV
8374#~ " Set a Configuration Option; This will set an arbitary "
8375#~ "configuration \n"
fec6996f
DK
8376#~ " option. The syntax is <option>-o Foo::Bar=bar</>.\n"
8377#~ " </VarListEntry>\n"
8378#~ msgstr ""
8379#~ "\n"
8380#~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8381#~ " <ListItem><Para>\n"
8382#~ " Exibe um pequeno resumo de uso.\n"
8383#~ " </VarListEntry>\n"
8384#~ " \n"
8385#~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8386#~ " <ListItem><Para>\n"
8387#~ " Exibe a versão do programa.\n"
8388#~ " </VarListEntry>\n"
8389#~ "\n"
8390#~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8391#~ " <ListItem><Para>\n"
8392#~ " Arquivo de Configuração; Especifica um arquivo de configuração\n"
8393#~ " a ser usado. O programa irá ler o arquivo de configuração padrão\n"
8394#~ " e então este arquivo de configuração. Consulte &apt-conf; para\n"
8395#~ " informação de sintaxe. \n"
8396#~ " </VarListEntry>\n"
8397#~ " \n"
8398#~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8399#~ " <ListItem><Para>\n"
8400#~ " Defie uma Opção de Configuração; Esta opção irá definir uma opção\n"
8401#~ " de configuração arbitrária. A sintaxe é <option>-o Foo::Bar=bar</>.\n"
8402#~ " </VarListEntry>\n"
8403
fec6996f
DK
8404#, fuzzy
8405#~ msgid "</programlisting> Then:"
8406#~ msgstr "</programlisting> Então :"