]> git.saurik.com Git - apt.git/blame - doc/po/pt_BR.po
Port TagIterator to correctly support ReMap (doh).
[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"
7d5234ab 12"POT-Creation-Date: 2016-11-25 23:46+0100\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 "
2c30cf43 546"&sources-list;. New packages will be installed if required to satisfy "
cbbee23e
DK
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
cbbee23e 619msgid "(&apt-cache;)"
769e06cf 620msgstr "(&apt-cache;)"
93ae7f7f 621
cbbee23e 622#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 623#: apt.8.xml
cbbee23e
DK
624msgid ""
625"<option>search</option> can be used to search for the given &regex; term(s) "
051029f8 626"in the list of available packages and display matches. This can e.g. be "
cbbee23e
DK
627"useful if you are looking for packages having a specific feature. If you "
628"are looking for a package including a specific file try &apt-file;."
93ae7f7f
MV
629msgstr ""
630
cbbee23e 631#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 632#: apt.8.xml
93ae7f7f 633msgid ""
cbbee23e
DK
634"Show information about the given package(s) including its dependencies, "
635"installation and download size, sources the package is available from, the "
051029f8 636"description of the packages content and much more. It can e.g. be helpful to "
cbbee23e
DK
637"look at this information before allowing &apt; to remove a package or while "
638"searching for new packages to install."
93ae7f7f
MV
639msgstr ""
640
cbbee23e 641#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 642#: apt.8.xml
cbbee23e 643msgid "(work-in-progress)"
93ae7f7f
MV
644msgstr ""
645
cbbee23e 646#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 647#: apt.8.xml
93ae7f7f 648msgid ""
cbbee23e
DK
649"<option>list</option> is somewhat similar to <command>dpkg-query --list</"
650"command> in that it can display a list of packages satisfying certain "
651"criteria. It supports &glob; patterns for matching package names as well as "
652"options to list installed (<option>--installed</option>), upgradeable "
653"(<option>--upgradeable</option>) or all available (<option>--all-versions</"
654"option>) versions."
93ae7f7f
MV
655msgstr ""
656
cbbee23e 657#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 658#: apt.8.xml
cbbee23e
DK
659msgid ""
660"<literal>edit-sources</literal> lets you edit your &sources-list; files in "
661"your preferred texteditor while also providing basic sanity checks."
662msgstr ""
93ae7f7f 663
cbbee23e 664#. type: Content of: <refentry><refsect1><title>
04f27fae 665#: apt.8.xml
051029f8 666msgid "Script Usage and Differences from Other APT Tools"
cbbee23e 667msgstr ""
93ae7f7f 668
cbbee23e 669#. type: Content of: <refentry><refsect1><para>
04f27fae 670#: apt.8.xml
93ae7f7f 671msgid ""
051029f8
DK
672"The &apt; commandline is designed as an end-user tool and it may change "
673"behavior between versions. While it tries not to break backward "
674"compatibility this is not guaranteed either if a change seems beneficial for "
cbbee23e 675"interactive use."
93ae7f7f
MV
676msgstr ""
677
cbbee23e 678#. type: Content of: <refentry><refsect1><para>
04f27fae 679#: apt.8.xml
93ae7f7f 680msgid ""
cbbee23e
DK
681"All features of &apt; are available in dedicated APT tools like &apt-get; "
682"and &apt-cache; as well. &apt; just changes the default value of some "
051029f8
DK
683"options (see &apt-conf; and specifically the Binary scope). So you should "
684"prefer using these commands (potentially with some additional options "
685"enabled) in your scripts as they keep backward compatibility as much as "
686"possible."
cbbee23e 687msgstr ""
93ae7f7f
MV
688
689#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
690#: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml
691#: apt-secure.8.xml apt-cdrom.8.xml apt-config.8.xml apt.conf.5.xml
692#: apt_preferences.5.xml sources.list.5.xml apt-extracttemplates.1.xml
693#: apt-sortpkgs.1.xml apt-ftparchive.1.xml
93ae7f7f
MV
694#, fuzzy
695msgid "See Also"
696msgstr "Consulte também"
697
698#. type: Content of: <refentry><refsect1><para>
04f27fae 699#: apt.8.xml
93ae7f7f 700msgid ""
6dbf3380 701"&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT "
93ae7f7f
MV
702"User's guide in &guidesdir;, &apt-preferences;, the APT Howto."
703msgstr ""
704
705#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
706#: apt.8.xml apt-get.8.xml apt-cache.8.xml apt-mark.8.xml apt-cdrom.8.xml
707#: apt-config.8.xml apt-extracttemplates.1.xml apt-sortpkgs.1.xml
708#: apt-ftparchive.1.xml
93ae7f7f
MV
709msgid "Diagnostics"
710msgstr ""
711
712#. type: Content of: <refentry><refsect1><para>
04f27fae 713#: apt.8.xml
93ae7f7f
MV
714msgid ""
715"<command>apt</command> returns zero on normal operation, decimal 100 on "
716"error."
717msgstr ""
718
719#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 720#: apt-get.8.xml
93ae7f7f
MV
721msgid "APT package handling utility -- command-line interface"
722msgstr ""
723
fec6996f 724#. type: Content of: <refentry><refsect1><para>
04f27fae 725#: apt-get.8.xml
fec6996f 726msgid ""
7d76ea1d
DK
727"<command>apt-get</command> is the command-line tool for handling packages, "
728"and may be considered the user's \"back-end\" to other tools using the APT "
1c937475
MV
729"library. Several \"front-end\" interfaces exist, such as &aptitude;, "
730"&synaptic; and &wajig;."
fec6996f
DK
731msgstr ""
732
733#. type: Content of: <refentry><refsect1><para>
04f27fae
MV
734#: apt-get.8.xml apt-cache.8.xml apt-cdrom.8.xml apt-config.8.xml
735#: apt-ftparchive.1.xml
fec6996f
DK
736msgid ""
737"Unless the <option>-h</option>, or <option>--help</option> option is given, "
738"one of the commands below must be present."
739msgstr ""
740
fec6996f 741#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 742#: apt-get.8.xml
fec6996f 743msgid ""
7d76ea1d
DK
744"<literal>update</literal> is used to resynchronize the package index files "
745"from their sources. The indexes of available packages are fetched from the "
746"location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
747"example, when using a Debian archive, this command retrieves and scans the "
748"<filename>Packages.gz</filename> files, so that information about new and "
749"updated packages is available. An <literal>update</literal> should always be "
750"performed before an <literal>upgrade</literal> or <literal>dist-upgrade</"
751"literal>. Please be aware that the overall progress meter will be incorrect "
752"as the size of the package files cannot be known in advance."
fec6996f
DK
753msgstr ""
754
7d76ea1d 755#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 756#: apt-get.8.xml
7d76ea1d
DK
757msgid ""
758"<literal>upgrade</literal> is used to install the newest versions of all "
759"packages currently installed on the system from the sources enumerated in "
760"<filename>/etc/apt/sources.list</filename>. Packages currently installed "
761"with new versions available are retrieved and upgraded; under no "
762"circumstances are currently installed packages removed, or packages not "
763"already installed retrieved and installed. New versions of currently "
764"installed packages that cannot be upgraded without changing the install "
765"status of another package will be left at their current version. An "
766"<literal>update</literal> must be performed first so that <command>apt-get</"
767"command> knows that new versions of packages are available."
fec6996f
DK
768msgstr ""
769
770#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 771#: apt-get.8.xml
fec6996f 772msgid ""
7d76ea1d
DK
773"<literal>dist-upgrade</literal> in addition to performing the function of "
774"<literal>upgrade</literal>, also intelligently handles changing dependencies "
775"with new versions of packages; <command>apt-get</command> has a \"smart\" "
776"conflict resolution system, and it will attempt to upgrade the most "
777"important packages at the expense of less important ones if necessary. The "
778"<literal>dist-upgrade</literal> command may therefore remove some packages. "
779"The <filename>/etc/apt/sources.list</filename> file contains a list of "
780"locations from which to retrieve desired package files. See also &apt-"
781"preferences; for a mechanism for overriding the general settings for "
782"individual packages."
fec6996f
DK
783msgstr ""
784
7d76ea1d 785#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 786#: apt-get.8.xml
fec6996f 787msgid ""
7d76ea1d
DK
788"<literal>dselect-upgrade</literal> is used in conjunction with the "
789"traditional Debian packaging front-end, &dselect;. <literal>dselect-upgrade</"
790"literal> follows the changes made by &dselect; to the <literal>Status</"
791"literal> field of available packages, and performs the actions necessary to "
792"realize that state (for instance, the removal of old and the installation of "
793"new packages)."
fec6996f
DK
794msgstr ""
795
796#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 797#: apt-get.8.xml
fec6996f 798msgid ""
7d76ea1d
DK
799"<literal>install</literal> is followed by one or more packages desired for "
800"installation or upgrading. Each package is a package name, not a fully "
801"qualified filename (for instance, in a Debian system, <package>apt-utils</"
802"package> would be the argument provided, not <filename>apt-utils_&apt-"
8c39c4b6
MV
803"product-version;_amd64.deb</filename>). All packages required by the "
804"package(s) specified for installation will also be retrieved and installed. "
805"The <filename>/etc/apt/sources.list</filename> file is used to locate the "
7d76ea1d
DK
806"desired packages. If a hyphen is appended to the package name (with no "
807"intervening space), the identified package will be removed if it is "
808"installed. Similarly a plus sign can be used to designate a package to "
809"install. These latter features may be used to override decisions made by apt-"
810"get's conflict resolution system."
fec6996f
DK
811msgstr ""
812
cbbee23e
DK
813#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
814#: apt-get.8.xml
815msgid ""
816"A specific version of a package can be selected for installation by "
817"following the package name with an equals and the version of the package to "
818"select. This will cause that version to be located and selected for install. "
819"Alternatively a specific distribution can be selected by following the "
820"package name with a slash and the version of the distribution or the Archive "
821"name (stable, testing, unstable)."
822msgstr ""
823
7d76ea1d 824#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 825#: apt-get.8.xml
fec6996f 826msgid ""
7d76ea1d
DK
827"Both of the version selection mechanisms can downgrade packages and must be "
828"used with care."
fec6996f
DK
829msgstr ""
830
7d76ea1d 831#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 832#: apt-get.8.xml
fec6996f 833msgid ""
7d76ea1d
DK
834"This is also the target to use if you want to upgrade one or more already-"
835"installed packages without upgrading every package you have on your system. "
836"Unlike the \"upgrade\" target, which installs the newest version of all "
837"currently installed packages, \"install\" will install the newest version of "
838"only the package(s) specified. Simply provide the name of the package(s) "
839"you wish to upgrade, and if a newer version is available, it (and its "
840"dependencies, as described above) will be downloaded and installed."
fec6996f
DK
841msgstr ""
842
7d76ea1d 843#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 844#: apt-get.8.xml
fec6996f 845msgid ""
7d76ea1d
DK
846"Finally, the &apt-preferences; mechanism allows you to create an alternative "
847"installation policy for individual packages."
fec6996f
DK
848msgstr ""
849
7d76ea1d 850#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 851#: apt-get.8.xml
fec6996f 852msgid ""
7d76ea1d
DK
853"If no package matches the given expression and the expression contains one "
854"of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
855"it is applied to all package names in the database. Any matches are then "
856"installed (or removed). Note that matching is done by substring so 'lo.*' "
857"matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
858"expression with a '^' or '$' character, or create a more specific regular "
859"expression."
fec6996f
DK
860msgstr ""
861
cbbee23e
DK
862#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
863#: apt-get.8.xml
864msgid ""
865"<literal>remove</literal> is identical to <literal>install</literal> except "
866"that packages are removed instead of installed. Note that removing a package "
867"leaves its configuration files on the system. If a plus sign is appended to "
868"the package name (with no intervening space), the identified package will be "
869"installed instead of removed."
870msgstr ""
871
7d76ea1d 872#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 873#: apt-get.8.xml
fec6996f 874msgid ""
7d76ea1d
DK
875"<literal>purge</literal> is identical to <literal>remove</literal> except "
876"that packages are removed and purged (any configuration files are deleted "
877"too)."
fec6996f
DK
878msgstr ""
879
7d76ea1d 880#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 881#: apt-get.8.xml
fec6996f 882msgid ""
7d76ea1d
DK
883"<literal>source</literal> causes <command>apt-get</command> to fetch source "
884"packages. APT will examine the available packages to decide which source "
885"package to fetch. It will then find and download into the current directory "
886"the newest available version of that source package while respecting the "
887"default release, set with the option <literal>APT::Default-Release</"
888"literal>, the <option>-t</option> option or per package with the "
889"<literal>pkg/release</literal> syntax, if possible."
fec6996f
DK
890msgstr ""
891
7d76ea1d 892#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 893#: apt-get.8.xml
fec6996f 894msgid ""
7d76ea1d
DK
895"Source packages are tracked separately from binary packages via <literal>deb-"
896"src</literal> lines in the &sources-list; file. This means that you will "
897"need to add such a line for each repository you want to get sources from; "
898"otherwise you will probably get either the wrong (too old/too new) source "
899"versions or none at all."
fec6996f
DK
900msgstr ""
901
fec6996f 902#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 903#: apt-get.8.xml
fec6996f 904msgid ""
7d76ea1d
DK
905"If the <option>--compile</option> option is specified then the package will "
906"be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
907"the architecture as defined by the <command>--host-architecture</command> "
908"option. If <option>--download-only</option> is specified then the source "
909"package will not be unpacked."
fec6996f
DK
910msgstr ""
911
fec6996f 912#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 913#: apt-get.8.xml
fec6996f 914msgid ""
7d76ea1d
DK
915"A specific source version can be retrieved by postfixing the source name "
916"with an equals and then the version to fetch, similar to the mechanism used "
917"for the package files. This enables exact matching of the source package "
918"name and version, implicitly enabling the <literal>APT::Get::Only-Source</"
919"literal> option."
fec6996f
DK
920msgstr ""
921
fec6996f 922#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 923#: apt-get.8.xml
fec6996f 924msgid ""
7d76ea1d
DK
925"Note that source packages are not installed and tracked in the "
926"<command>dpkg</command> database like binary packages; they are simply "
927"downloaded to the current directory, like source tarballs."
fec6996f
DK
928msgstr ""
929
fec6996f 930#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 931#: apt-get.8.xml
fec6996f 932msgid ""
7d76ea1d
DK
933"<literal>build-dep</literal> causes apt-get to install/remove packages in an "
934"attempt to satisfy the build dependencies for a source package. By default "
935"the dependencies are satisfied to build the package natively. If desired a "
936"host-architecture can be specified with the <option>--host-architecture</"
937"option> option instead."
fec6996f
DK
938msgstr ""
939
fec6996f 940#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 941#: apt-get.8.xml
fec6996f 942msgid ""
7d76ea1d
DK
943"<literal>check</literal> is a diagnostic tool; it updates the package cache "
944"and checks for broken dependencies."
fec6996f
DK
945msgstr ""
946
7d76ea1d 947#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 948#: apt-get.8.xml
7d76ea1d
DK
949msgid ""
950"<literal>download</literal> will download the given binary package into the "
951"current directory."
fec6996f
DK
952msgstr ""
953
954#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 955#: apt-get.8.xml
fec6996f 956msgid ""
7d76ea1d
DK
957"<literal>clean</literal> clears out the local repository of retrieved "
958"package files. It removes everything but the lock file from "
959"<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/archives/"
1c937475 960"partial/</filename>."
fec6996f
DK
961msgstr ""
962
cbbee23e
DK
963#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
964#: apt-get.8.xml
965msgid "(and the"
966msgstr ""
967
968#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
969#: apt-get.8.xml
970msgid "alias since 1.1)"
971msgstr ""
972
fec6996f 973#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 974#: apt-get.8.xml
fec6996f 975msgid ""
7d76ea1d
DK
976"Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
977"local repository of retrieved package files. The difference is that it only "
978"removes package files that can no longer be downloaded, and are largely "
979"useless. This allows a cache to be maintained over a long period without it "
980"growing out of control. The configuration option <literal>APT::Clean-"
981"Installed</literal> will prevent installed packages from being erased if it "
982"is set to off."
fec6996f
DK
983msgstr ""
984
cbbee23e
DK
985#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
986#: apt-get.8.xml
987msgid ""
988"<literal>autoremove</literal> is used to remove packages that were "
989"automatically installed to satisfy dependencies for other packages and are "
990"now no longer needed."
991msgstr ""
992
fec6996f 993#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 994#: apt-get.8.xml
fec6996f 995msgid ""
864fe99c
MV
996"<literal>changelog</literal> tries to download the changelog of a package "
997"and displays it through <command>sensible-pager</command>. By default it "
998"displays the changelog for the version that is installed. However, you can "
999"specify the same options as for the <option>install</option> command."
fec6996f
DK
1000msgstr ""
1001
fec6996f 1002#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1003#: apt-get.8.xml
fec6996f 1004msgid ""
864fe99c
MV
1005"Displays by default a deb822 formatted listing of information about all data "
1006"files (aka index targets) <command>apt-get update</command> would download. "
1007"Supports a <option>--format</option> option to modify the output format as "
1008"well as accepts lines of the default output to filter the records by. The "
1009"command is mainly used as an interface for external tools working with APT "
1010"to get information as well as filenames for downloaded files so they can use "
1011"them as well instead of downloading them again on their own. Detailed "
5b057748
JAK
1012"documentation is omitted here and can instead be found in the file &apt-"
1013"acquire-additional-files; shipped by the <package>apt-doc</package> package."
fec6996f
DK
1014msgstr ""
1015
cbbee23e
DK
1016#. type: Content of: <refentry><refsect1><title>
1017#: apt-get.8.xml apt-cache.8.xml apt-config.8.xml apt-extracttemplates.1.xml
1018#: apt-sortpkgs.1.xml apt-ftparchive.1.xml
1019msgid "options"
1020msgstr ""
1021
fec6996f 1022#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1023#: apt-get.8.xml
fec6996f 1024msgid ""
7d76ea1d
DK
1025"Do not consider recommended packages as a dependency for installing. "
1026"Configuration Item: <literal>APT::Install-Recommends</literal>."
fec6996f
DK
1027msgstr ""
1028
1029#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1030#: apt-get.8.xml
fec6996f 1031msgid ""
7d76ea1d
DK
1032"Consider suggested packages as a dependency for installing. Configuration "
1033"Item: <literal>APT::Install-Suggests</literal>."
fec6996f
DK
1034msgstr ""
1035
fec6996f 1036#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1037#: apt-get.8.xml
fec6996f 1038msgid ""
7d76ea1d
DK
1039"Download only; package files are only retrieved, not unpacked or installed. "
1040"Configuration Item: <literal>APT::Get::Download-Only</literal>."
fec6996f
DK
1041msgstr ""
1042
1043#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1044#: apt-get.8.xml
fec6996f 1045msgid ""
7d76ea1d
DK
1046"Fix; attempt to correct a system with broken dependencies in place. This "
1047"option, when used with install/remove, can omit any packages to permit APT "
1048"to deduce a likely solution. If packages are specified, these have to "
1049"completely correct the problem. The option is sometimes necessary when "
1050"running APT for the first time; APT itself does not allow broken package "
1051"dependencies to exist on a system. It is possible that a system's dependency "
1052"structure can be so corrupt as to require manual intervention (which usually "
1c937475
MV
1053"means using <command>dpkg --remove</command> to eliminate some of the "
1054"offending packages). Use of this option together with <option>-m</option> "
1055"may produce an error in some situations. Configuration Item: <literal>APT::"
1056"Get::Fix-Broken</literal>."
fec6996f
DK
1057msgstr ""
1058
1059#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1060#: apt-get.8.xml
7d76ea1d
DK
1061msgid ""
1062"Ignore missing packages; if packages cannot be retrieved or fail the "
1063"integrity check after retrieval (corrupted package files), hold back those "
1064"packages and handle the result. Use of this option together with <option>-f</"
1065"option> may produce an error in some situations. If a package is selected "
1066"for installation (particularly if it is mentioned on the command line) and "
1067"it could not be downloaded then it will be silently held back. "
1068"Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
fec6996f
DK
1069msgstr ""
1070
fec6996f 1071#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1072#: apt-get.8.xml
fec6996f 1073msgid ""
7d76ea1d
DK
1074"Disables downloading of packages. This is best used with <option>--ignore-"
1075"missing</option> to force APT to use only the .debs it has already "
1076"downloaded. Configuration Item: <literal>APT::Get::Download</literal>."
fec6996f
DK
1077msgstr ""
1078
1079#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1080#: apt-get.8.xml
fec6996f 1081msgid ""
7d76ea1d
DK
1082"Quiet; produces output suitable for logging, omitting progress indicators. "
1083"More q's will produce more quiet up to a maximum of 2. You can also use "
1084"<option>-q=#</option> to set the quiet level, overriding the configuration "
1085"file. Note that quiet level 2 implies <option>-y</option>; you should never "
1086"use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
1087"may decide to do something you did not expect. Configuration Item: "
1088"<literal>quiet</literal>."
fec6996f
DK
1089msgstr ""
1090
fec6996f 1091#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1092#: apt-get.8.xml
fec6996f 1093msgid ""
864fe99c
MV
1094"No action; perform a simulation of events that would occur based on the "
1095"current system state but do not actually change the system. Locking will be "
1096"disabled (<option>Debug::NoLocking</option>) so the system state could "
1097"change while <command>apt-get</command> is running. Simulations can also be "
1098"executed by non-root users which might not have read access to all apt "
1099"configuration distorting the simulation. A notice expressing this warning "
1100"is also shown by default for non-root users (<option>APT::Get::Show-User-"
1101"Simulation-Note</option>). Configuration Item: <literal>APT::Get::Simulate</"
1102"literal>."
fec6996f
DK
1103msgstr ""
1104
fec6996f 1105#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1106#: apt-get.8.xml
fec6996f 1107msgid ""
7d76ea1d
DK
1108"Simulated runs print out a series of lines, each representing a "
1109"<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
1110"remove (<literal>Remv</literal>) or unpack (<literal>Inst</literal>). "
1111"Square brackets indicate broken packages, and empty square brackets indicate "
1112"breaks that are of no consequence (rare)."
fec6996f
DK
1113msgstr ""
1114
fec6996f 1115#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1116#: apt-get.8.xml
fec6996f 1117msgid ""
7d76ea1d
DK
1118"Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
1119"non-interactively. If an undesirable situation, such as changing a held "
1120"package, trying to install a unauthenticated package or removing an "
1121"essential package occurs then <literal>apt-get</literal> will abort. "
1122"Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
fec6996f
DK
1123msgstr ""
1124
fec6996f 1125#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1126#: apt-get.8.xml
fec6996f 1127msgid ""
7d76ea1d
DK
1128"Automatic \"no\" to all prompts. Configuration Item: <literal>APT::Get::"
1129"Assume-No</literal>."
fec6996f
DK
1130msgstr ""
1131
b6c6b52f 1132#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1133#: apt-get.8.xml
b6c6b52f 1134msgid ""
5ff8dd6b
JAK
1135"Do not show a list of all packages that are to be upgraded. Configuration "
1136"Item: <literal>APT::Get::Show-Upgraded</literal>."
b6c6b52f
MV
1137msgstr ""
1138
fec6996f 1139#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1140#: apt-get.8.xml
fec6996f 1141msgid ""
7d76ea1d
DK
1142"Show full versions for upgraded and installed packages. Configuration Item: "
1143"<literal>APT::Get::Show-Versions</literal>."
fec6996f
DK
1144msgstr ""
1145
fec6996f 1146#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1147#: apt-get.8.xml
fec6996f 1148msgid ""
7d76ea1d
DK
1149"This option controls the architecture packages are built for by <command>apt-"
1150"get source --compile</command> and how cross-builddependencies are "
1151"satisfied. By default is it not set which means that the host architecture "
1152"is the same as the build architecture (which is defined by <literal>APT::"
1153"Architecture</literal>). Configuration Item: <literal>APT::Get::Host-"
7ffbb475 1154"Architecture</literal>."
fec6996f
DK
1155msgstr ""
1156
fec6996f 1157#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1158#: apt-get.8.xml
fec6996f 1159msgid ""
7ffbb475
MV
1160"This option controls the activated build profiles for which a source package "
1161"is built by <command>apt-get source --compile</command> and how build "
1162"dependencies are satisfied. By default no build profile is active. More "
1163"than one build profile can be activated at a time by concatenating them with "
1164"a comma. Configuration Item: <literal>APT::Build-Profiles</literal>."
1165msgstr ""
1166
1167#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1168#: apt-get.8.xml
7ffbb475 1169msgid ""
7d76ea1d
DK
1170"Compile source packages after downloading them. Configuration Item: "
1171"<literal>APT::Get::Compile</literal>."
fec6996f
DK
1172msgstr ""
1173
fec6996f 1174#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1175#: apt-get.8.xml
fec6996f 1176msgid ""
7d76ea1d
DK
1177"Ignore package holds; this causes <command>apt-get</command> to ignore a "
1178"hold placed on a package. This may be useful in conjunction with "
1179"<literal>dist-upgrade</literal> to override a large number of undesired "
1180"holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
fec6996f
DK
1181msgstr ""
1182
fec6996f 1183#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1184#: apt-get.8.xml
ce34af08
MV
1185msgid ""
1186"Allow installing new packages when used in conjunction with "
1187"<literal>upgrade</literal>. This is useful if the update of a installed "
1188"package requires new dependencies to be installed. Instead of holding the "
1189"package back <literal>upgrade</literal> will upgrade the package and install "
1190"the new dependencies. Note that <literal>upgrade</literal> with this option "
1191"will never remove packages, only allow adding new ones. Configuration Item: "
1192"<literal>APT::Get::Upgrade-Allow-New</literal>."
1193msgstr ""
1194
1195#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1196#: apt-get.8.xml
fec6996f 1197msgid ""
7d76ea1d
DK
1198"Do not upgrade packages; when used in conjunction with <literal>install</"
1199"literal>, <literal>no-upgrade</literal> will prevent packages on the command "
1200"line from being upgraded if they are already installed. Configuration Item: "
1201"<literal>APT::Get::Upgrade</literal>."
fec6996f
DK
1202msgstr ""
1203
fec6996f 1204#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1205#: apt-get.8.xml
fec6996f 1206msgid ""
7d76ea1d
DK
1207"Do not install new packages; when used in conjunction with <literal>install</"
1208"literal>, <literal>only-upgrade</literal> will install upgrades for already "
1209"installed packages only and ignore requests to install new packages. "
1210"Configuration Item: <literal>APT::Get::Only-Upgrade</literal>."
fec6996f
DK
1211msgstr ""
1212
fec6996f 1213#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1214#: apt-get.8.xml
864fe99c
MV
1215msgid ""
1216"This is a dangerous option that will cause apt to continue without prompting "
1217"if it is doing downgrades. It should not be used except in very special "
1218"situations. Using it can potentially destroy your system! Configuration "
1219"Item: <literal>APT::Get::allow-downgrades</literal>. Introduced in APT 1.1."
1220msgstr ""
1221
1222#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1223#: apt-get.8.xml
864fe99c
MV
1224msgid ""
1225"Force yes; this is a dangerous option that will cause apt to continue "
1226"without prompting if it is removing essentials. It should not be used except "
1227"in very special situations. Using it can potentially destroy your system! "
1228"Configuration Item: <literal>APT::Get::allow-remove-essential</literal>. "
1229"Introduced in APT 1.1."
1230msgstr ""
1231
1232#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1233#: apt-get.8.xml
864fe99c
MV
1234msgid ""
1235"Force yes; this is a dangerous option that will cause apt to continue "
1236"without prompting if it is changing held packages. It should not be used "
1237"except in very special situations. Using it can potentially destroy your "
1238"system! Configuration Item: <literal>APT::Get::allow-change-held-packages</"
1239"literal>. Introduced in APT 1.1."
1240msgstr ""
1241
1242#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1243#: apt-get.8.xml
fec6996f 1244msgid ""
7d76ea1d
DK
1245"Force yes; this is a dangerous option that will cause apt to continue "
1246"without prompting if it is doing something potentially harmful. It should "
1247"not be used except in very special situations. Using <literal>force-yes</"
1248"literal> can potentially destroy your system! Configuration Item: "
864fe99c
MV
1249"<literal>APT::Get::force-yes</literal>. This is deprecated and replaced by "
1250"<option>--allow-downgrades</option>, <option>--allow-remove-essential</"
1251"option>, <option>--allow-change-held-packages</option> in 1.1."
fec6996f
DK
1252msgstr ""
1253
7d76ea1d 1254#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1255#: apt-get.8.xml
fec6996f 1256msgid ""
7d76ea1d
DK
1257"Instead of fetching the files to install their URIs are printed. Each URI "
1258"will have the path, the destination file name, the size and the expected MD5 "
1259"hash. Note that the file name to write to will not always match the file "
1260"name on the remote site! This also works with the <literal>source</literal> "
1261"and <literal>update</literal> commands. When used with the <literal>update</"
1262"literal> command the MD5 and size are not included, and it is up to the user "
1263"to decompress any compressed files. Configuration Item: <literal>APT::Get::"
1264"Print-URIs</literal>."
fec6996f
DK
1265msgstr ""
1266
7d76ea1d 1267#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1268#: apt-get.8.xml
fec6996f 1269msgid ""
7d76ea1d
DK
1270"Use purge instead of remove for anything that would be removed. An asterisk "
1271"(\"*\") will be displayed next to packages which are scheduled to be purged. "
1272"<option>remove --purge</option> is equivalent to the <option>purge</option> "
1273"command. Configuration Item: <literal>APT::Get::Purge</literal>."
fec6996f
DK
1274msgstr ""
1275
7d76ea1d 1276#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1277#: apt-get.8.xml
fec6996f 1278msgid ""
7d76ea1d
DK
1279"Re-install packages that are already installed and at the newest version. "
1280"Configuration Item: <literal>APT::Get::ReInstall</literal>."
fec6996f
DK
1281msgstr ""
1282
187aa32e 1283#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1284#: apt-get.8.xml
fec6996f 1285msgid ""
7d76ea1d
DK
1286"This option is on by default; use <literal>--no-list-cleanup</literal> to "
1287"turn it off. When it is on, <command>apt-get</command> will automatically "
1288"manage the contents of <filename>&statedir;/lists</filename> to ensure that "
1289"obsolete files are erased. The only reason to turn it off is if you "
1290"frequently change your sources list. Configuration Item: <literal>APT::Get::"
1291"List-Cleanup</literal>."
fec6996f
DK
1292msgstr ""
1293
187aa32e 1294#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1295#: apt-get.8.xml
fec6996f 1296msgid ""
7d76ea1d
DK
1297"This option controls the default input to the policy engine; it creates a "
1298"default pin at priority 990 using the specified release string. This "
1299"overrides the general settings in <filename>/etc/apt/preferences</"
1300"filename>. Specifically pinned packages are not affected by the value of "
1301"this option. In short, this option lets you have simple control over which "
1302"distribution packages will be retrieved from. Some common examples might be "
1303"<option>-t '2.1*'</option>, <option>-t unstable</option> or <option>-t sid</"
1304"option>. Configuration Item: <literal>APT::Default-Release</literal>; see "
1305"also the &apt-preferences; manual page."
fec6996f
DK
1306msgstr ""
1307
187aa32e 1308#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1309#: apt-get.8.xml
fec6996f 1310msgid ""
7d76ea1d
DK
1311"Only perform operations that are 'trivial'. Logically this can be considered "
1312"related to <option>--assume-yes</option>; where <option>--assume-yes</"
1313"option> will answer yes to any prompt, <option>--trivial-only</option> will "
1314"answer no. Configuration Item: <literal>APT::Get::Trivial-Only</literal>."
fec6996f
DK
1315msgstr ""
1316
7d76ea1d 1317#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1318#: apt-get.8.xml
7d76ea1d
DK
1319msgid ""
1320"If any packages are to be removed apt-get immediately aborts without "
1321"prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
fec6996f
DK
1322msgstr ""
1323
fec6996f 1324#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1325#: apt-get.8.xml
fec6996f 1326msgid ""
7d76ea1d
DK
1327"If the command is either <literal>install</literal> or <literal>remove</"
1328"literal>, then this option acts like running the <literal>autoremove</"
1329"literal> command, removing unused dependency packages. Configuration Item: "
1330"<literal>APT::Get::AutomaticRemove</literal>."
fec6996f
DK
1331msgstr ""
1332
fec6996f 1333#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1334#: apt-get.8.xml
fec6996f 1335msgid ""
7d76ea1d
DK
1336"Only has meaning for the <literal>source</literal> and <literal>build-dep</"
1337"literal> commands. Indicates that the given source names are not to be "
1338"mapped through the binary table. This means that if this option is "
1339"specified, these commands will only accept source package names as "
1340"arguments, rather than accepting binary package names and looking up the "
1341"corresponding source package. Configuration Item: <literal>APT::Get::Only-"
1342"Source</literal>."
fec6996f
DK
1343msgstr ""
1344
fec6996f 1345#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1346#: apt-get.8.xml
fec6996f 1347msgid ""
7d76ea1d
DK
1348"Download only the diff, dsc, or tar file of a source archive. Configuration "
1349"Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</"
1350"literal>, and <literal>APT::Get::Tar-Only</literal>."
fec6996f
DK
1351msgstr ""
1352
fec6996f 1353#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1354#: apt-get.8.xml
fec6996f 1355msgid ""
7d76ea1d
DK
1356"Only process architecture-dependent build-dependencies. Configuration Item: "
1357"<literal>APT::Get::Arch-Only</literal>."
fec6996f
DK
1358msgstr ""
1359
fec6996f 1360#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1361#: apt-get.8.xml
fec6996f 1362msgid ""
7d76ea1d 1363"Ignore if packages can't be authenticated and don't prompt about it. This "
864fe99c
MV
1364"can be useful while working with local repositories, but is a huge security "
1365"risk if data authenticity isn't ensured in another way by the user itself. "
1366"The usage of the <option>Trusted</option> option for &sources-list; entries "
1367"should usually be preferred over this global override. Configuration Item: "
1368"<literal>APT::Get::AllowUnauthenticated</literal>."
fec6996f
DK
1369msgstr ""
1370
ce34af08 1371#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1372#: apt-get.8.xml
ce34af08 1373msgid ""
5b1e4e86 1374"Forbid the update command to acquire unverifiable data from configured "
14e325c7
JAK
1375"sources. APT will fail at the update command for repositories without valid "
1376"cryptographically signatures. See also &apt-secure; for details on the "
1377"concept and the implications. Configuration Item: <literal>Acquire::"
5b1e4e86
MV
1378"AllowInsecureRepositories</literal>."
1379msgstr ""
1380
1381#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1382#: apt-get.8.xml
5b1e4e86 1383msgid ""
ce34af08
MV
1384"Show user friendly progress information in the terminal window when packages "
1385"are installed, upgraded or removed. For a machine parsable version of this "
1386"data see README.progress-reporting in the apt doc directory. Configuration "
2c30cf43 1387"Items: <literal>Dpkg::Progress</literal> and <literal>Dpkg::Progress-Fancy</"
ce34af08
MV
1388"literal>."
1389msgstr ""
1390
43670e2e
JAK
1391#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1392#: apt-get.8.xml
1393msgid ""
1394"Adds the given file as a source for metadata. Can be repeated to add "
1395"multiple files. See <option>--with-source</option> description in &apt-"
1396"cache; for further details."
1397msgstr ""
1398
7d76ea1d 1399#. type: Content of: <refentry><refsect1><title>
04f27fae
MV
1400#: apt-get.8.xml apt-cache.8.xml apt-key.8.xml apt-mark.8.xml apt.conf.5.xml
1401#: apt_preferences.5.xml
7d76ea1d 1402msgid "Files"
fec6996f
DK
1403msgstr ""
1404
fec6996f 1405#. type: Content of: <refentry><refsect1><para>
04f27fae 1406#: apt-get.8.xml
fec6996f 1407msgid ""
1c937475
MV
1408"&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
1409"&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
1410"APT Howto."
fec6996f
DK
1411msgstr ""
1412
fec6996f 1413#. type: Content of: <refentry><refsect1><para>
04f27fae 1414#: apt-get.8.xml
fec6996f 1415msgid ""
7d76ea1d
DK
1416"<command>apt-get</command> returns zero on normal operation, decimal 100 on "
1417"error."
fec6996f
DK
1418msgstr ""
1419
7d76ea1d 1420#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 1421#: apt-cache.8.xml
7d76ea1d 1422msgid "query the APT cache"
fec6996f
DK
1423msgstr ""
1424
7d76ea1d 1425#. type: Content of: <refentry><refsect1><para>
04f27fae 1426#: apt-cache.8.xml
fec6996f 1427msgid ""
7d76ea1d
DK
1428"<command>apt-cache</command> performs a variety of operations on APT's "
1429"package cache. <command>apt-cache</command> does not manipulate the state of "
1430"the system but does provide operations to search and generate interesting "
8561c2fe
DK
1431"output from the package metadata. The metadata is acquired and updated via "
1432"the 'update' command of e.g. <command>apt-get</command>, so that it can be "
1433"outdated if the last update is too long ago, but in exchange <command>apt-"
1434"cache</command> works independently of the availability of the configured "
1435"sources (e.g. offline)."
fec6996f
DK
1436msgstr ""
1437
1438#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1439#: apt-cache.8.xml
fec6996f 1440msgid ""
7d76ea1d
DK
1441"<literal>gencaches</literal> creates APT's package cache. This is done "
1442"implicitly by all commands needing this cache if it is missing or outdated."
1443msgstr ""
1444
1445#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
04f27fae 1446#: apt-cache.8.xml
7d76ea1d 1447msgid "&synopsis-pkg;"
fec6996f
DK
1448msgstr ""
1449
1450#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1451#: apt-cache.8.xml
fec6996f 1452msgid ""
7d76ea1d
DK
1453"<literal>showpkg</literal> displays information about the packages listed on "
1454"the command line. Remaining arguments are package names. The available "
1455"versions and reverse dependencies of each package listed are listed, as well "
1456"as forward dependencies for each version. Forward (normal) dependencies are "
1457"those packages upon which the package in question depends; reverse "
1458"dependencies are those packages that depend upon the package in question. "
1459"Thus, forward dependencies must be satisfied for a package, but reverse "
1460"dependencies need not be. For instance, <command>apt-cache showpkg "
1461"libreadline2</command> would produce output similar to the following:"
fec6996f
DK
1462msgstr ""
1463
7d76ea1d 1464#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
04f27fae 1465#: apt-cache.8.xml
7d76ea1d
DK
1466#, no-wrap
1467msgid ""
1468"Package: libreadline2\n"
1469"Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
1470"Reverse Depends: \n"
1471" libreadlineg2,libreadline2\n"
1472" libreadline2-altdev,libreadline2\n"
1473"Dependencies:\n"
1474"2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
1475"Provides:\n"
1476"2.1-12 - \n"
1477"Reverse Provides: \n"
fec6996f
DK
1478msgstr ""
1479
aa2218b2 1480#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1481#: apt-cache.8.xml
aa2218b2 1482msgid ""
7d76ea1d
DK
1483"Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
1484"ncurses3.0 which must be installed for libreadline2 to work. In turn, "
1485"libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
1486"libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
1487"installed; libreadlineg2 and libreadline2-altdev do not have to be "
1488"installed. For the specific meaning of the remainder of the output it is "
1489"best to consult the apt source code."
aa2218b2
MV
1490msgstr ""
1491
7d76ea1d 1492#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1493#: apt-cache.8.xml
7d76ea1d
DK
1494msgid ""
1495"<literal>stats</literal> displays some statistics about the cache. No "
1496"further arguments are expected. Statistics reported are:"
aa2218b2
MV
1497msgstr ""
1498
7d76ea1d 1499#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1500#: apt-cache.8.xml
aa2218b2 1501msgid ""
7d76ea1d
DK
1502"<literal>Total package names</literal> is the number of package names found "
1503"in the cache."
aa2218b2
MV
1504msgstr ""
1505
7d76ea1d 1506#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1507#: apt-cache.8.xml
7d76ea1d
DK
1508msgid ""
1509"<literal>Normal packages</literal> is the number of regular, ordinary "
1510"package names; these are packages that bear a one-to-one correspondence "
1511"between their names and the names used by other packages for them in "
1512"dependencies. The majority of packages fall into this category."
fec6996f 1513msgstr ""
fec6996f 1514
7d76ea1d 1515#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1516#: apt-cache.8.xml
fec6996f 1517msgid ""
7d76ea1d
DK
1518"<literal>Pure virtual packages</literal> is the number of packages that "
1519"exist only as a virtual package name; that is, packages only \"provide\" the "
1520"virtual package name, and no package actually uses the name. For instance, "
1521"\"mail-transport-agent\" in the Debian system is a pure virtual package; "
1522"several packages provide \"mail-transport-agent\", but there is no package "
1523"named \"mail-transport-agent\"."
fec6996f
DK
1524msgstr ""
1525
7d76ea1d 1526#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1527#: apt-cache.8.xml
7d76ea1d
DK
1528msgid ""
1529"<literal>Single virtual packages</literal> is the number of packages with "
1530"only one package providing a particular virtual package. For example, in the "
1531"Debian system, \"X11-text-viewer\" is a virtual package, but only one "
1532"package, xless, provides \"X11-text-viewer\"."
fec6996f
DK
1533msgstr ""
1534
7d76ea1d 1535#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1536#: apt-cache.8.xml
c6b21d22 1537msgid ""
7d76ea1d
DK
1538"<literal>Mixed virtual packages</literal> is the number of packages that "
1539"either provide a particular virtual package or have the virtual package name "
1540"as the package name. For instance, in the Debian system, \"debconf\" is both "
1541"an actual package, and provided by the debconf-tiny package."
fec6996f
DK
1542msgstr ""
1543
7d76ea1d 1544#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1545#: apt-cache.8.xml
fec6996f 1546msgid ""
7d76ea1d
DK
1547"<literal>Missing</literal> is the number of package names that were "
1548"referenced in a dependency but were not provided by any package. Missing "
1549"packages may be an evidence if a full distribution is not accessed, or if a "
1550"package (real or virtual) has been dropped from the distribution. Usually "
1551"they are referenced from Conflicts or Breaks statements."
fec6996f
DK
1552msgstr ""
1553
7d76ea1d 1554#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1555#: apt-cache.8.xml
7d76ea1d
DK
1556msgid ""
1557"<literal>Total distinct</literal> versions is the number of package versions "
864fe99c 1558"found in the cache. If more than one distribution is being accessed (for "
7d76ea1d
DK
1559"instance, \"stable\" and \"unstable\"), this value can be considerably "
1560"larger than the number of total package names."
fec6996f
DK
1561msgstr ""
1562
7d76ea1d 1563#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
04f27fae 1564#: apt-cache.8.xml
fec6996f 1565msgid ""
7d76ea1d
DK
1566"<literal>Total dependencies</literal> is the number of dependency "
1567"relationships claimed by all of the packages in the cache."
fec6996f
DK
1568msgstr ""
1569
1570#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1571#: apt-cache.8.xml
fec6996f 1572msgid ""
7d76ea1d
DK
1573"<literal>showsrc</literal> displays all the source package records that "
1574"match the given package names. All versions are shown, as well as all "
864fe99c
MV
1575"records that declare the name to be a binary package. Use <option>--only-"
1576"source</option> to display only source package names."
fec6996f
DK
1577msgstr ""
1578
7d76ea1d 1579#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1580#: apt-cache.8.xml
fec6996f 1581msgid ""
7d76ea1d
DK
1582"<literal>dump</literal> shows a short listing of every package in the cache. "
1583"It is primarily for debugging."
fec6996f
DK
1584msgstr ""
1585
7d76ea1d 1586#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1587#: apt-cache.8.xml
7d76ea1d
DK
1588msgid ""
1589"<literal>dumpavail</literal> prints out an available list to stdout. This is "
1590"suitable for use with &dpkg; and is used by the &dselect; method."
fec6996f
DK
1591msgstr ""
1592
7d76ea1d 1593#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1594#: apt-cache.8.xml
fec6996f 1595msgid ""
7d76ea1d
DK
1596"<literal>unmet</literal> displays a summary of all unmet dependencies in the "
1597"package cache."
fec6996f
DK
1598msgstr ""
1599
7d76ea1d 1600#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1601#: apt-cache.8.xml
fec6996f 1602msgid ""
7d76ea1d
DK
1603"<literal>show</literal> performs a function similar to <command>dpkg --print-"
1604"avail</command>; it displays the package records for the named packages."
fec6996f
DK
1605msgstr ""
1606
7d76ea1d 1607#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
04f27fae 1608#: apt-cache.8.xml
7d76ea1d 1609msgid "&synopsis-regex;"
fec6996f
DK
1610msgstr ""
1611
fec6996f 1612#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1613#: apt-cache.8.xml
fec6996f 1614msgid ""
7d76ea1d
DK
1615"<literal>search</literal> performs a full text search on all available "
1616"package lists for the POSIX regex pattern given, see &regex;. It searches "
1617"the package names and the descriptions for an occurrence of the regular "
1618"expression and prints out the package name and the short description, "
1619"including virtual package names. If <option>--full</option> is given then "
1620"output identical to <literal>show</literal> is produced for each matched "
1621"package, and if <option>--names-only</option> is given then the long "
864fe99c 1622"description is not searched, only the package name and provided packages are."
fec6996f
DK
1623msgstr ""
1624
1625#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1626#: apt-cache.8.xml
fec6996f 1627msgid ""
7d76ea1d
DK
1628"Separate arguments can be used to specify multiple search patterns that are "
1629"and'ed together."
fec6996f
DK
1630msgstr ""
1631
fec6996f 1632#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1633#: apt-cache.8.xml
fec6996f 1634msgid ""
7d76ea1d
DK
1635"<literal>depends</literal> shows a listing of each dependency a package has "
1636"and all the possible other packages that can fulfill that dependency."
fec6996f
DK
1637msgstr ""
1638
1639#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1640#: apt-cache.8.xml
fec6996f 1641msgid ""
7d76ea1d
DK
1642"<literal>rdepends</literal> shows a listing of each reverse dependency a "
1643"package has."
fec6996f
DK
1644msgstr ""
1645
7d76ea1d 1646#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 1647#: apt-cache.8.xml
7d76ea1d 1648msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
769e06cf 1649msgstr "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
fec6996f 1650
fec6996f 1651#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1652#: apt-cache.8.xml
fec6996f 1653msgid ""
7d76ea1d
DK
1654"This command prints the name of each package APT knows. The optional "
1655"argument is a prefix match to filter the name list. The output is suitable "
1656"for use in a shell tab complete function and the output is generated "
1657"extremely quickly. This command is best used with the <option>--generate</"
1658"option> option."
fec6996f
DK
1659msgstr ""
1660
1661#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1662#: apt-cache.8.xml
fec6996f 1663msgid ""
7d76ea1d
DK
1664"Note that a package which APT knows of is not necessarily available to "
1665"download, installable or installed, e.g. virtual packages are also listed in "
1666"the generated list."
fec6996f
DK
1667msgstr ""
1668
fec6996f 1669#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1670#: apt-cache.8.xml
fec6996f 1671msgid ""
7d76ea1d
DK
1672"<literal>dotty</literal> takes a list of packages on the command line and "
1673"generates output suitable for use by dotty from the <ulink url=\"http://www."
1674"research.att.com/sw/tools/graphviz/\">GraphViz</ulink> package. The result "
1675"will be a set of nodes and edges representing the relationships between the "
1676"packages. By default the given packages will trace out all dependent "
1677"packages; this can produce a very large graph. To limit the output to only "
1678"the packages listed on the command line, set the <literal>APT::Cache::"
1679"GivenOnly</literal> option."
fec6996f
DK
1680msgstr ""
1681
fec6996f 1682#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1683#: apt-cache.8.xml
fec6996f 1684msgid ""
7d76ea1d
DK
1685"The resulting nodes will have several shapes; normal packages are boxes, "
1686"pure virtual packages are triangles, mixed virtual packages are diamonds, "
1687"missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
1688"packages), blue lines are pre-depends, green lines are conflicts."
fec6996f
DK
1689msgstr ""
1690
7d76ea1d 1691#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1692#: apt-cache.8.xml
7d76ea1d 1693msgid "Caution, dotty cannot graph larger sets of packages."
fec6996f
DK
1694msgstr ""
1695
7d76ea1d 1696#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1697#: apt-cache.8.xml
fec6996f 1698msgid ""
7d76ea1d
DK
1699"The same as <literal>dotty</literal>, only for xvcg from the <ulink url="
1700"\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG tool</ulink>."
fec6996f
DK
1701msgstr ""
1702
7d76ea1d 1703#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 1704#: apt-cache.8.xml
7d76ea1d 1705msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
769e06cf 1706msgstr "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
fec6996f 1707
7d76ea1d 1708#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1709#: apt-cache.8.xml
7d76ea1d
DK
1710msgid ""
1711"<literal>policy</literal> is meant to help debug issues relating to the "
1712"preferences file. With no arguments it will print out the priorities of each "
1713"source. Otherwise it prints out detailed information about the priority "
1714"selection of the named package."
1715msgstr ""
fec6996f 1716
7d76ea1d 1717#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1718#: apt-cache.8.xml
fec6996f 1719msgid ""
7d76ea1d
DK
1720"<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
1721"to mimic the output format and a subset of the functionality of the Debian "
1722"archive management tool, <literal>madison</literal>. It displays available "
1723"versions of a package in a tabular format. Unlike the original "
1724"<literal>madison</literal>, it can only display information for the "
1725"architecture for which APT has retrieved package lists (<literal>APT::"
1726"Architecture</literal>)."
fec6996f
DK
1727msgstr ""
1728
7d76ea1d 1729#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1730#: apt-cache.8.xml
fec6996f 1731msgid ""
7d76ea1d
DK
1732"Select the file to store the package cache. The package cache is the primary "
1733"cache used by all operations. Configuration Item: <literal>Dir::Cache::"
1734"pkgcache</literal>."
fec6996f
DK
1735msgstr ""
1736
7d76ea1d 1737#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1738#: apt-cache.8.xml
7d76ea1d
DK
1739msgid ""
1740"Select the file to store the source cache. The source is used only by "
1741"<literal>gencaches</literal> and it stores a parsed version of the package "
1742"information from remote sources. When building the package cache the source "
1743"cache is used to avoid reparsing all of the package files. Configuration "
1744"Item: <literal>Dir::Cache::srcpkgcache</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"Quiet; produces output suitable for logging, omitting progress indicators. "
1751"More q's will produce more quietness up to a maximum of 2. You can also use "
1752"<option>-q=#</option> to set the quietness level, overriding the "
1753"configuration file. Configuration Item: <literal>quiet</literal>."
fec6996f
DK
1754msgstr ""
1755
7d76ea1d 1756#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1757#: apt-cache.8.xml
fec6996f 1758msgid ""
7d76ea1d
DK
1759"Print only important dependencies; for use with <literal>unmet</literal> and "
1760"<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
1761"be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
fec6996f
DK
1762msgstr ""
1763
7d76ea1d 1764#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1765#: apt-cache.8.xml
fec6996f 1766msgid ""
864fe99c 1767"Per default the <command>depends</command> and <command>rdepends</command> "
7d76ea1d
DK
1768"print all dependencies. This can be tweaked with these flags which will omit "
1769"the specified dependency type. Configuration Item: <literal>APT::Cache::"
1770"Show<replaceable>DependencyType</replaceable></literal> e.g. <literal>APT::"
1771"Cache::ShowRecommends</literal>."
fec6996f
DK
1772msgstr ""
1773
7d76ea1d 1774#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1775#: apt-cache.8.xml
864fe99c
MV
1776msgid ""
1777"Per default <command>depends</command> and <command>rdepends</command> print "
1778"only dependencies explicitly expressed in the metadata. With this flag it "
5ff8dd6b
JAK
1779"will also show dependencies implicitly added based on the encountered data. "
1780"A <literal>Conflicts: foo</literal> e.g. expresses implicitly that this "
1781"package also conflicts with the package foo from any other architecture. "
1782"Configuration Item: <literal>APT::Cache::ShowImplicit</literal>."
864fe99c
MV
1783msgstr ""
1784
1785#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1786#: apt-cache.8.xml
fec6996f 1787msgid ""
7d76ea1d
DK
1788"Print full package records when searching. Configuration Item: "
1789"<literal>APT::Cache::ShowFull</literal>."
fec6996f
DK
1790msgstr ""
1791
7d76ea1d 1792#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1793#: apt-cache.8.xml
fec6996f 1794msgid ""
7d76ea1d
DK
1795"Print full records for all available versions. This is the default; to turn "
1796"it off, use <option>--no-all-versions</option>. If <option>--no-all-"
1797"versions</option> is specified, only the candidate version will be displayed "
1798"(the one which would be selected for installation). This option is only "
1799"applicable to the <literal>show</literal> command. Configuration Item: "
1800"<literal>APT::Cache::AllVersions</literal>."
fec6996f
DK
1801msgstr ""
1802
7d76ea1d 1803#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1804#: apt-cache.8.xml
fec6996f 1805msgid ""
7d76ea1d
DK
1806"Perform automatic package cache regeneration, rather than use the cache as "
1807"it is. This is the default; to turn it off, use <option>--no-generate</"
1808"option>. Configuration Item: <literal>APT::Cache::Generate</literal>."
fec6996f
DK
1809msgstr ""
1810
7d76ea1d 1811#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1812#: apt-cache.8.xml
fec6996f 1813msgid ""
864fe99c
MV
1814"Only search on the package and provided package names, not the long "
1815"descriptions. Configuration Item: <literal>APT::Cache::NamesOnly</literal>."
fec6996f
DK
1816msgstr ""
1817
7d76ea1d 1818#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1819#: apt-cache.8.xml
fec6996f 1820msgid ""
7d76ea1d
DK
1821"Make <literal>pkgnames</literal> print all names, including virtual packages "
1822"and missing dependencies. Configuration Item: <literal>APT::Cache::"
1823"AllNames</literal>."
fec6996f
DK
1824msgstr ""
1825
7d76ea1d 1826#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1827#: apt-cache.8.xml
fec6996f 1828msgid ""
7d76ea1d
DK
1829"Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1830"that all packages mentioned are printed once. Configuration Item: "
1831"<literal>APT::Cache::RecurseDepends</literal>."
b81dbe40
DK
1832msgstr ""
1833
7d76ea1d 1834#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1835#: apt-cache.8.xml
b81dbe40 1836msgid ""
7d76ea1d
DK
1837"Limit the output of <literal>depends</literal> and <literal>rdepends</"
1838"literal> to packages which are currently installed. Configuration Item: "
1839"<literal>APT::Cache::Installed</literal>."
fec6996f
DK
1840msgstr ""
1841
43670e2e
JAK
1842#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1843#: apt-cache.8.xml
1844msgid ""
1845"Adds the given file as a source for metadata. Can be repeated to add "
1846"multiple files. Supported are currently <literal>*.deb</literal>, "
1847"<literal>*.dsc</literal>, <literal>*.changes</literal>, <literal>Sources</"
1848"literal> and <literal>Packages</literal> files as well as source package "
1849"directories. Files are matched based on their name only, not their content!"
1850msgstr ""
1851
1852#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1853#: apt-cache.8.xml
1854msgid ""
1855"<literal>Sources</literal> and <literal>Packages</literal> can be compressed "
1856"in any format apt supports as long as they have the correct extension. If "
1857"you need to store multiple of these files in one directory you can prefix a "
1858"name of your choice with the last character being an underscore "
1859"(\"<literal>_</literal>\"). Example: my.example_Packages.xz"
1860msgstr ""
1861
1862#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1863#: apt-cache.8.xml
1864msgid ""
1865"Note that these sources are treated as trusted (see &apt-secure;). "
1866"Configuration Item: <literal>APT::Sources::With</literal>."
1867msgstr ""
1868
7d76ea1d 1869#. type: Content of: <refentry><refsect1><para>
04f27fae 1870#: apt-cache.8.xml
7d76ea1d 1871msgid "&apt-conf;, &sources-list;, &apt-get;"
fec6996f
DK
1872msgstr ""
1873
7d76ea1d 1874#. type: Content of: <refentry><refsect1><para>
04f27fae 1875#: apt-cache.8.xml
b81dbe40 1876msgid ""
7d76ea1d
DK
1877"<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1878"on error."
b81dbe40
DK
1879msgstr ""
1880
7d76ea1d 1881#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 1882#: apt-key.8.xml
7d76ea1d
DK
1883msgid "APT key management utility"
1884msgstr ""
fec6996f 1885
7d76ea1d 1886#. type: Content of: <refentry><refsect1><para>
04f27fae 1887#: apt-key.8.xml
fec6996f 1888msgid ""
7d76ea1d
DK
1889"<command>apt-key</command> is used to manage the list of keys used by apt to "
1890"authenticate packages. Packages which have been authenticated using these "
1891"keys will be considered trusted."
fec6996f
DK
1892msgstr ""
1893
4bdf29d3
JAK
1894#. type: Content of: <refentry><refsect1><para>
1895#: apt-key.8.xml
1896msgid ""
1897"Note that if usage of <command>apt-key</command> is desired the additional "
1898"installation of the GNU Privacy Guard suite (packaged in <package>gnupg</"
80c0c9b2 1899"package>) is required. For this reason alone the programmatic usage "
4bdf29d3
JAK
1900"(especially in package maintainerscripts!) is strongly discouraged. Further "
1901"more the output format of all commands is undefined and can and does change "
1902"whenever the underlying commands change. <command>apt-key</command> will try "
1903"to detect such usage and generates warnings on stderr in these cases."
1904msgstr ""
1905
7d5234ab
JAK
1906#. type: Content of: <refentry><refsect1><title>
1907#: apt-key.8.xml
1908msgid "Supported keyring files"
1909msgstr ""
1910
1911#. type: Content of: <refentry><refsect1><para>
1912#: apt-key.8.xml
1913msgid ""
1914"apt-key supports only the binary OpenPGP format (also known as \"GPG key "
1915"public ring\") in files with the \"<literal>gpg</literal>\" extension, not "
1916"the keybox database format introduced in newer &gpg; versions as default for "
1917"keyring files. Binary keyring files intended to be used with any apt version "
1918"should therefore always be created with <command>gpg --export</command>."
1919msgstr ""
1920
1921#. type: Content of: <refentry><refsect1><para>
1922#: apt-key.8.xml
1923msgid ""
1924"Alternatively, if all systems which should be using the created keyring have "
1925"at least apt version >= 1.4 installed, you can use the ASCII armored format "
1926"with the \"<literal>asc</literal>\" extension instead which can be created "
1927"with <command>gpg --armor --export</command>."
1928msgstr ""
1929
7d76ea1d 1930#. type: Content of: <refentry><refsect1><title>
04f27fae 1931#: apt-key.8.xml
7d76ea1d 1932msgid "Commands"
fec6996f
DK
1933msgstr ""
1934
7d76ea1d 1935#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1936#: apt-key.8.xml
fec6996f 1937msgid ""
7d76ea1d
DK
1938"Add a new key to the list of trusted keys. The key is read from the "
1939"filename given with the parameter &synopsis-param-filename; or if the "
1940"filename is <literal>-</literal> from standard input."
fec6996f
DK
1941msgstr ""
1942
cbbee23e
DK
1943#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1944#: apt-key.8.xml
1945msgid ""
1946"It is critical that keys added manually via <command>apt-key</command> are "
1947"verified to belong to the owner of the repositories they claim to be for "
1948"otherwise the &apt-secure; infrastructure is completely undermined."
1949msgstr ""
1950
7d76ea1d 1951#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1952#: apt-key.8.xml
4bdf29d3 1953msgid ""
7d5234ab
JAK
1954"<emphasis>Note</emphasis>: Instead of using this command a keyring should be "
1955"placed directly in the <filename>/etc/apt/trusted.gpg.d/</filename> "
1956"directory with a descriptive name and either \"<literal>gpg</literal>\" or "
1957"\"<literal>asc</literal>\" as file extension."
fec6996f
DK
1958msgstr ""
1959
7d76ea1d 1960#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1961#: apt-key.8.xml
4bdf29d3 1962msgid "Remove a key from the list of trusted keys."
fec6996f
DK
1963msgstr ""
1964
7d76ea1d 1965#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1966#: apt-key.8.xml
4bdf29d3 1967msgid "Output the key &synopsis-param-keyid; to standard output."
fec6996f
DK
1968msgstr ""
1969
7d76ea1d 1970#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1971#: apt-key.8.xml
4bdf29d3 1972msgid "Output all trusted keys to standard output."
fec6996f
DK
1973msgstr ""
1974
7d76ea1d 1975#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1976#: apt-key.8.xml
4bdf29d3 1977msgid "List trusted keys with fingerprints."
b81dbe40
DK
1978msgstr ""
1979
7d76ea1d 1980#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1981#: apt-key.8.xml
fec6996f 1982msgid ""
cbbee23e
DK
1983"Pass advanced options to gpg. With <command>adv --recv-key</command> you can "
1984"e.g. download key from keyservers directly into the the trusted set of keys. "
1985"Note that there are <emphasis>no</emphasis> checks performed, so it is easy "
1986"to completely undermine the &apt-secure; infrastructure if used without care."
fec6996f
DK
1987msgstr ""
1988
4bdf29d3
JAK
1989#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1990#: apt-key.8.xml
1991msgid "(deprecated)"
1992msgstr ""
1993
7d76ea1d 1994#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 1995#: apt-key.8.xml
fec6996f 1996msgid ""
7d76ea1d
DK
1997"Update the local keyring with the archive keyring and remove from the local "
1998"keyring the archive keys which are no longer valid. The archive keyring is "
1999"shipped in the <literal>archive-keyring</literal> package of your "
ce34af08 2000"distribution, e.g. the &keyring-package; package in &keyring-distro;."
fec6996f
DK
2001msgstr ""
2002
4bdf29d3
JAK
2003#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2004#: apt-key.8.xml
2005msgid ""
2006"Note that a distribution does not need to and in fact should not use this "
2007"command any longer and instead ship keyring files in the <filename>/etc/apt/"
f77ea823 2008"trusted.gpg.d/</filename> directory directly as this avoids a dependency on "
4bdf29d3
JAK
2009"<package>gnupg</package> and it is easier to manage keys by simply adding "
2010"and removing files for maintainers and users alike."
2011msgstr ""
2012
7d76ea1d 2013#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2014#: apt-key.8.xml
7d76ea1d 2015msgid ""
6072cbe1
JR
2016"Perform an update working similarly to the <command>update</command> command "
2017"above, but get the archive keyring from a URI instead and validate it "
2018"against a master key. This requires an installed &wget; and an APT build "
2019"configured to have a server to fetch from and a master keyring to validate. "
2020"APT in Debian does not support this command, relying on <command>update</"
2021"command> instead, but Ubuntu's APT does."
fec6996f
DK
2022msgstr ""
2023
7d76ea1d 2024#. type: Content of: <refentry><refsect1><title>
cbbee23e 2025#: apt-key.8.xml apt-mark.8.xml apt-cdrom.8.xml
7d76ea1d 2026msgid "Options"
fec6996f
DK
2027msgstr ""
2028
7d76ea1d 2029#. type: Content of: <refentry><refsect1><para>
04f27fae 2030#: apt-key.8.xml
fec6996f 2031msgid ""
7d76ea1d
DK
2032"Note that options need to be defined before the commands described in the "
2033"previous section."
fec6996f
DK
2034msgstr ""
2035
7d76ea1d 2036#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2037#: apt-key.8.xml
fec6996f 2038msgid ""
6072cbe1 2039"With this option it is possible to specify a particular keyring file the "
7d76ea1d
DK
2040"command should operate on. The default is that a command is executed on the "
2041"<filename>trusted.gpg</filename> file as well as on all parts in the "
2042"<filename>trusted.gpg.d</filename> directory, though <filename>trusted.gpg</"
2043"filename> is the primary keyring which means that e.g. new keys are added to "
2044"this one."
fec6996f
DK
2045msgstr ""
2046
7d76ea1d 2047#. type: Content of: <refentry><refsect1><para>
04f27fae 2048#: apt-key.8.xml
7d76ea1d 2049msgid "&apt-get;, &apt-secure;"
769e06cf 2050msgstr "&apt-get;, &apt-secure;"
fec6996f 2051
7d76ea1d 2052#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2053#: apt-mark.8.xml
cbbee23e 2054msgid "show, set and unset various settings for a package"
fec6996f
DK
2055msgstr ""
2056
7d76ea1d 2057#. type: Content of: <refentry><refsect1><para>
04f27fae 2058#: apt-mark.8.xml
fec6996f 2059msgid ""
051029f8
DK
2060"<command>apt-mark</command> can be used as a unified front-end to set "
2061"various settings for a package, such as marking a package as being "
2062"automatically/manually installed or changing <command>dpkg</command> "
2063"selections such as hold, install, deinstall and purge which are respected e."
2064"g. by <command>apt-get dselect-upgrade</command> or <command>aptitude</"
2065"command>."
cbbee23e
DK
2066msgstr ""
2067
2068#. type: Content of: <refentry><refsect1><title>
2069#: apt-mark.8.xml
051029f8 2070msgid "Automatically and Manually Installed Packages"
fec6996f
DK
2071msgstr ""
2072
7d76ea1d 2073#. type: Content of: <refentry><refsect1><para>
04f27fae 2074#: apt-mark.8.xml
fec6996f 2075msgid ""
7d76ea1d
DK
2076"When you request that a package is installed, and as a result other packages "
2077"are installed to satisfy its dependencies, the dependencies are marked as "
051029f8
DK
2078"being automatically installed, while the package you installed explicitly is "
2079"marked as manually installed. Once an automatically installed package is no "
cbbee23e
DK
2080"longer depended on by any manually installed package it is considered no "
2081"longer needed and e.g. <command>apt-get</command> or <command>aptitude</"
2082"command> will at least suggest removing them."
fec6996f
DK
2083msgstr ""
2084
7d76ea1d 2085#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2086#: apt-mark.8.xml
fec6996f 2087msgid ""
7d76ea1d
DK
2088"<literal>auto</literal> is used to mark a package as being automatically "
2089"installed, which will cause the package to be removed when no more manually "
2090"installed packages depend on this package."
fec6996f
DK
2091msgstr ""
2092
7d76ea1d 2093#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2094#: apt-mark.8.xml
7d76ea1d
DK
2095msgid ""
2096"<literal>manual</literal> is used to mark a package as being manually "
2097"installed, which will prevent the package from being automatically removed "
2098"if no other packages depend on it."
fec6996f
DK
2099msgstr ""
2100
7d76ea1d 2101#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2102#: apt-mark.8.xml
fec6996f 2103msgid ""
cbbee23e
DK
2104"<literal>showauto</literal> is used to print a list of automatically "
2105"installed packages with each package on a new line. All automatically "
2106"installed packages will be listed if no package is given. If packages are "
2107"given only those which are automatically installed will be shown."
fec6996f
DK
2108msgstr ""
2109
7d76ea1d 2110#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2111#: apt-mark.8.xml
7d76ea1d 2112msgid ""
cbbee23e
DK
2113"<literal>showmanual</literal> can be used in the same way as "
2114"<literal>showauto</literal> except that it will print a list of manually "
2115"installed packages instead."
2116msgstr ""
2117
2118#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2119#: apt-mark.8.xml
2120msgid ""
2121"Read/Write package stats from the filename given with the parameter "
2122"&synopsis-param-filename; instead of from the default location, which is "
2123"<filename>extended_status</filename> in the directory defined by the "
2124"Configuration Item: <literal>Dir::State</literal>."
2125msgstr ""
2126
2127#. type: Content of: <refentry><refsect1><title>
2128#: apt-mark.8.xml
051029f8 2129msgid "Prevent Changes for a Package"
fec6996f
DK
2130msgstr ""
2131
7d76ea1d 2132#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2133#: apt-mark.8.xml
7d76ea1d 2134msgid ""
cbbee23e
DK
2135"<literal>hold</literal> is used to mark a package as held back, which will "
2136"prevent the package from being automatically installed, upgraded or removed."
fec6996f
DK
2137msgstr ""
2138
7d76ea1d 2139#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2140#: apt-mark.8.xml
7d76ea1d 2141msgid ""
cbbee23e
DK
2142"<literal>unhold</literal> is used to cancel a previously set hold on a "
2143"package to allow all actions again."
fec6996f
DK
2144msgstr ""
2145
7d76ea1d 2146#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2147#: apt-mark.8.xml
7d76ea1d
DK
2148msgid ""
2149"<literal>showhold</literal> is used to print a list of packages on hold in "
2150"the same way as for the other show commands."
fec6996f
DK
2151msgstr ""
2152
cbbee23e
DK
2153#. type: Content of: <refentry><refsect1><title>
2154#: apt-mark.8.xml
051029f8 2155msgid "Schedule Packages for Install, Remove and Purge"
cbbee23e
DK
2156msgstr ""
2157
2158#. type: Content of: <refentry><refsect1><para>
04f27fae 2159#: apt-mark.8.xml
7d76ea1d 2160msgid ""
add81166 2161"Some front-ends like <command>apt-get dselect-upgrade</command> can be used "
051029f8
DK
2162"to apply previously scheduled changes to the install state of packages. Such "
2163"changes can be scheduled with the <option>install</option>, <option>remove</"
cbbee23e
DK
2164"option> (also known as <option>deinstall</option>) and <option>purge</"
2165"option> commands. Packages with a specific selection can be displayed with "
2166"<option>showinstall</option>, <option>showremove</option> and "
2167"<option>showpurge</option> respectively. More information about these so "
2168"called dpkg selections can be found in &dpkg;."
fec6996f
DK
2169msgstr ""
2170
7d76ea1d 2171#. type: Content of: <refentry><refsect1><para>
04f27fae 2172#: apt-mark.8.xml
7d76ea1d
DK
2173msgid ""
2174"<command>apt-mark</command> returns zero on normal operation, non-zero on "
2175"error."
fec6996f
DK
2176msgstr ""
2177
7d76ea1d 2178#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2179#: apt-secure.8.xml
7d76ea1d 2180msgid "Archive authentication support for APT"
fec6996f
DK
2181msgstr ""
2182
2183#. type: Content of: <refentry><refsect1><para>
04f27fae 2184#: apt-secure.8.xml
fec6996f 2185msgid ""
cbbee23e
DK
2186"Starting with version 0.6, <command>APT</command> contains code that does "
2187"signature checking of the Release file for all repositories. This ensures "
2188"that data like packages in the archive can't be modified by people who have "
14e325c7
JAK
2189"no access to the Release file signing key. Starting with version 1.1 "
2190"<command>APT</command> requires repositories to provide recent "
2191"authentication information for unimpeded usage of the repository."
fec6996f
DK
2192msgstr ""
2193
7d76ea1d 2194#. type: Content of: <refentry><refsect1><para>
04f27fae 2195#: apt-secure.8.xml
7d76ea1d 2196msgid ""
051029f8 2197"If an archive has an unsigned Release file or no Release file at all current "
14e325c7
JAK
2198"APT versions will refuse to download data from them by default in "
2199"<command>update</command> operations and even if forced to download front-"
2200"ends like &apt-get; will require explicit confirmation if an installation "
2201"request includes a package from such an unauthenticated archive."
cbbee23e
DK
2202msgstr ""
2203
2204#. type: Content of: <refentry><refsect1><para>
2205#: apt-secure.8.xml
2206msgid ""
14e325c7
JAK
2207"As a temporary exception &apt-get; (not &apt;!) raises warnings only if it "
2208"encounters unauthenticated archives to give a slightly longer grace period "
2209"on this backward compatibility effecting change. This exception will be "
2210"removed in future releases and you can opt-out of this grace period by "
2211"setting the configuration option <option>Binary::apt-get::Acquire::"
2212"AllowInsecureRepositories</option> to <literal>false</literal> or <option>--"
2213"no-allow-insecure-repositories</option> on the command line."
2214msgstr ""
2215
2216#. type: Content of: <refentry><refsect1><para>
2217#: apt-secure.8.xml
2218msgid ""
2219"You can force all APT clients to raise only warnings by setting the "
2220"configuration option <option>Acquire::AllowInsecureRepositories</option> to "
2221"<literal>true</literal>. Individual repositories can also be allowed to be "
2222"insecure via the &sources-list; option <literal>allow-insecure=yes</"
2223"literal>. Note that insecure repositories are strongly discouraged and all "
2224"options to force apt to continue supporting them will eventually be "
2225"removed. Users also have the <option>Trusted</option> option available to "
2226"disable even the warnings, but be sure to understand the implications as "
2227"detailed in &sources-list;."
2228msgstr ""
2229
2230#. type: Content of: <refentry><refsect1><para>
2231#: apt-secure.8.xml
2232msgid ""
2c30cf43 2233"A repository which previously was authenticated but would loose this state "
14e325c7
JAK
2234"in an <command>update</command> operation raises an error in all APT clients "
2235"irrespective of the option to allow or forbid usage of insecure "
2236"repositories. The error can be overcome by additionally setting "
2237"<option>Acquire::AllowDowngradeToInsecureRepositories</option> to "
2238"<literal>true</literal> or for Individual repositories with the &sources-"
2239"list; option <literal>allow-downgrade-to-insecure=yes</literal>."
fec6996f
DK
2240msgstr ""
2241
2242#. type: Content of: <refentry><refsect1><para>
04f27fae 2243#: apt-secure.8.xml
fec6996f 2244msgid ""
add81166 2245"Note: All APT-based package management front-ends like &apt-get;, &aptitude; "
cbbee23e
DK
2246"and &synaptic; support this authentication feature, so this manpage uses "
2247"<literal>APT</literal> to refer to them all for simplicity only."
fec6996f
DK
2248msgstr ""
2249
2250#. type: Content of: <refentry><refsect1><title>
04f27fae 2251#: apt-secure.8.xml
051029f8 2252msgid "Trusted Repositories"
fec6996f
DK
2253msgstr ""
2254
2255#. type: Content of: <refentry><refsect1><para>
04f27fae 2256#: apt-secure.8.xml
fec6996f 2257msgid ""
cbbee23e 2258"The chain of trust from an APT archive to the end user is made up of several "
75d9bdba
JR
2259"steps. <command>apt-secure</command> is the last step in this chain; "
2260"trusting an archive does not mean that you trust its packages not to contain "
2261"malicious code, but means that you trust the archive maintainer. It's the "
2262"archive maintainer's responsibility to ensure that the archive's integrity "
2263"is preserved."
fec6996f
DK
2264msgstr ""
2265
2266#. type: Content of: <refentry><refsect1><para>
04f27fae 2267#: apt-secure.8.xml
fec6996f 2268msgid ""
7d76ea1d
DK
2269"apt-secure does not review signatures at a package level. If you require "
2270"tools to do this you should look at <command>debsig-verify</command> and "
2271"<command>debsign</command> (provided in the debsig-verify and devscripts "
2272"packages respectively)."
fec6996f
DK
2273msgstr ""
2274
7d76ea1d 2275#. type: Content of: <refentry><refsect1><para>
04f27fae 2276#: apt-secure.8.xml
fec6996f 2277msgid ""
051029f8 2278"The chain of trust in Debian starts (e.g.) when a maintainer uploads a new "
cbbee23e
DK
2279"package or a new version of a package to the Debian archive. In order to "
2280"become effective, this upload needs to be signed by a key contained in one "
051029f8 2281"of the Debian package maintainer keyrings (available in the debian-keyring "
cbbee23e
DK
2282"package). Maintainers' keys are signed by other maintainers following pre-"
2283"established procedures to ensure the identity of the key holder. Similar "
2284"procedures exist in all Debian-based distributions."
fec6996f
DK
2285msgstr ""
2286
7d76ea1d 2287#. type: Content of: <refentry><refsect1><para>
04f27fae 2288#: apt-secure.8.xml
fec6996f 2289msgid ""
7d76ea1d 2290"Once the uploaded package is verified and included in the archive, the "
75d9bdba
JR
2291"maintainer signature is stripped off, and checksums of the package are "
2292"computed and put in the Packages file. The checksums of all of the Packages "
2293"files are then computed and put into the Release file. The Release file is "
ce34af08
MV
2294"then signed by the archive key for this &keyring-distro; release, and "
2295"distributed alongside the packages and the Packages files on &keyring-"
2296"distro; mirrors. The keys are in the &keyring-distro; archive keyring "
2297"available in the &keyring-package; package."
fec6996f
DK
2298msgstr ""
2299
7d76ea1d 2300#. type: Content of: <refentry><refsect1><para>
04f27fae 2301#: apt-secure.8.xml
fec6996f 2302msgid ""
75d9bdba
JR
2303"End users can check the signature of the Release file, extract a checksum of "
2304"a package from it and compare it with the checksum of the package they "
2305"downloaded by hand - or rely on APT doing this automatically."
fec6996f
DK
2306msgstr ""
2307
7d76ea1d 2308#. type: Content of: <refentry><refsect1><para>
04f27fae 2309#: apt-secure.8.xml
fec6996f 2310msgid ""
7d76ea1d
DK
2311"Notice that this is distinct from checking signatures on a per package "
2312"basis. It is designed to prevent two possible attacks:"
fec6996f
DK
2313msgstr ""
2314
7d76ea1d 2315#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2316#: apt-secure.8.xml
fec6996f 2317msgid ""
7d76ea1d 2318"<literal>Network \"man in the middle\" attacks</literal>. Without signature "
75d9bdba
JR
2319"checking, malicious agents can introduce themselves into the package "
2320"download process and provide malicious software either by controlling a "
2321"network element (router, switch, etc.) or by redirecting traffic to a rogue "
2322"server (through ARP or DNS spoofing attacks)."
fec6996f
DK
2323msgstr ""
2324
7d76ea1d 2325#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2326#: apt-secure.8.xml
fec6996f 2327msgid ""
7d76ea1d
DK
2328"<literal>Mirror network compromise</literal>. Without signature checking, a "
2329"malicious agent can compromise a mirror host and modify the files in it to "
2330"propagate malicious software to all users downloading packages from that "
2331"host."
fec6996f
DK
2332msgstr ""
2333
7d76ea1d 2334#. type: Content of: <refentry><refsect1><para>
04f27fae 2335#: apt-secure.8.xml
fec6996f 2336msgid ""
cbbee23e
DK
2337"However, it does not defend against a compromise of the master server itself "
2338"(which signs the packages) or against a compromise of the key used to sign "
2339"the Release files. In any case, this mechanism can complement a per-package "
2340"signature."
fec6996f
DK
2341msgstr ""
2342
7d76ea1d 2343#. type: Content of: <refentry><refsect1><title>
04f27fae 2344#: apt-secure.8.xml
051029f8 2345msgid "User Configuration"
0fd68707
MV
2346msgstr ""
2347
7d76ea1d 2348#. type: Content of: <refentry><refsect1><para>
04f27fae 2349#: apt-secure.8.xml
0fd68707 2350msgid ""
7d76ea1d 2351"<command>apt-key</command> is the program that manages the list of keys used "
cbbee23e
DK
2352"by APT to trust repositories. It can be used to add or remove keys as well "
2353"as list the trusted keys. Limiting which key(s) are able to sign which "
2354"archive is possible via the <option>Signed-By</option> in &sources-list;."
2355msgstr ""
2356
2357#. type: Content of: <refentry><refsect1><para>
2358#: apt-secure.8.xml
2359msgid ""
d04e44ac 2360"Note that a default installation already contains all keys to securely "
cbbee23e
DK
2361"acquire packages from the default repositories, so fiddling with "
2362"<command>apt-key</command> is only needed if third-party repositories are "
2363"added."
b39c1859
MV
2364msgstr ""
2365
7d76ea1d 2366#. type: Content of: <refentry><refsect1><para>
04f27fae 2367#: apt-secure.8.xml
b39c1859 2368msgid ""
7d76ea1d
DK
2369"In order to add a new key you need to first download it (you should make "
2370"sure you are using a trusted communication channel when retrieving it), add "
2371"it with <command>apt-key</command> and then run <command>apt-get update</"
2372"command> so that apt can download and verify the <filename>InRelease</"
2373"filename> or <filename>Release.gpg</filename> files from the archives you "
2374"have configured."
a0895a74
MV
2375msgstr ""
2376
fec6996f 2377#. type: Content of: <refentry><refsect1><title>
04f27fae 2378#: apt-secure.8.xml
051029f8 2379msgid "Archive Configuration"
fec6996f
DK
2380msgstr ""
2381
2382#. type: Content of: <refentry><refsect1><para>
04f27fae 2383#: apt-secure.8.xml
fec6996f 2384msgid ""
7d76ea1d
DK
2385"If you want to provide archive signatures in an archive under your "
2386"maintenance you have to:"
fec6996f
DK
2387msgstr ""
2388
7d76ea1d 2389#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2390#: apt-secure.8.xml
fec6996f 2391msgid ""
7d76ea1d
DK
2392"<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
2393"already. You can do this by running <command>apt-ftparchive release</"
2394"command> (provided in apt-utils)."
fec6996f
DK
2395msgstr ""
2396
7d76ea1d 2397#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2398#: apt-secure.8.xml
7d76ea1d
DK
2399msgid ""
2400"<emphasis>Sign it</emphasis>. You can do this by running <command>gpg --"
2401"clearsign -o InRelease Release</command> and <command>gpg -abs -o Release."
2402"gpg Release</command>."
fec6996f
DK
2403msgstr ""
2404
7d76ea1d 2405#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
04f27fae 2406#: apt-secure.8.xml
fec6996f 2407msgid ""
051029f8 2408"<emphasis>Publish the key fingerprint</emphasis>, so that your users will "
7d76ea1d 2409"know what key they need to import in order to authenticate the files in the "
cbbee23e
DK
2410"archive. It is best to ship your key in its own keyring package like "
2411"&keyring-distro; does with &keyring-package; to be able to distribute "
2412"updates and key transitions automatically later."
2413msgstr ""
2414
2415#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2416#: apt-secure.8.xml
2417msgid ""
2418"<emphasis>Provide instructions on how to add your archive and key</"
d04e44ac 2419"emphasis>. If your users can't acquire your key securely the chain of trust "
cbbee23e
DK
2420"described above is broken. How you can help users add your key depends on "
2421"your archive and target audience ranging from having your keyring package "
2422"included in another archive users already have configured (like the default "
051029f8 2423"repositories of their distribution) to leveraging the web of trust."
fec6996f
DK
2424msgstr ""
2425
7d76ea1d 2426#. type: Content of: <refentry><refsect1><para>
04f27fae 2427#: apt-secure.8.xml
fec6996f 2428msgid ""
75d9bdba
JR
2429"Whenever the contents of the archive change (new packages are added or "
2430"removed) the archive maintainer has to follow the first two steps outlined "
2431"above."
fec6996f
DK
2432msgstr ""
2433
7d76ea1d 2434#. type: Content of: <refentry><refsect1><para>
04f27fae 2435#: apt-secure.8.xml
fec6996f 2436msgid ""
7d76ea1d 2437"&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
480c2414 2438"&debsign;, &debsig-verify;, &gpg;"
fec6996f
DK
2439msgstr ""
2440
7d76ea1d 2441#. type: Content of: <refentry><refsect1><para>
04f27fae 2442#: apt-secure.8.xml
fec6996f 2443msgid ""
7d76ea1d 2444"For more background information you might want to review the <ulink url="
cbbee23e 2445"\"https://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
051029f8
DK
2446"Security Infrastructure</ulink> chapter of the Securing Debian Manual (also "
2447"available in the harden-doc package) and the <ulink url=\"http://www."
7d76ea1d
DK
2448"cryptnet.net/fdp/crypto/strong_distro.html\" >Strong Distribution HOWTO</"
2449"ulink> by V. Alex Brennen."
fec6996f
DK
2450msgstr ""
2451
7d76ea1d 2452#. type: Content of: <refentry><refsect1><title>
04f27fae 2453#: apt-secure.8.xml
7d76ea1d 2454msgid "Manpage Authors"
6cbb88de
JR
2455msgstr ""
2456
7d76ea1d 2457#. type: Content of: <refentry><refsect1><para>
04f27fae 2458#: apt-secure.8.xml
fec6996f 2459msgid ""
7d76ea1d
DK
2460"This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
2461"Jones, Colin Walters, Florian Weimer and Michael Vogt."
fec6996f
DK
2462msgstr ""
2463
7d76ea1d 2464#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2465#: apt-cdrom.8.xml
7d76ea1d 2466msgid "APT CD-ROM management utility"
fec6996f
DK
2467msgstr ""
2468
7d76ea1d 2469#. type: Content of: <refentry><refsect1><para>
04f27fae 2470#: apt-cdrom.8.xml
fec6996f 2471msgid ""
7d76ea1d
DK
2472"<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
2473"available sources. <command>apt-cdrom</command> takes care of determining "
2474"the structure of the disc as well as correcting for several possible mis-"
2475"burns and verifying the index files."
fec6996f
DK
2476msgstr ""
2477
7d76ea1d 2478#. type: Content of: <refentry><refsect1><para>
04f27fae 2479#: apt-cdrom.8.xml
fec6996f 2480msgid ""
7d76ea1d
DK
2481"It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
2482"system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
2483"must be inserted and scanned separately to account for possible mis-burns."
fec6996f
DK
2484msgstr ""
2485
2486#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2487#: apt-cdrom.8.xml
fec6996f 2488msgid ""
7d76ea1d
DK
2489"<literal>add</literal> is used to add a new disc to the source list. It will "
2490"unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
2491"to scan it and copy the index files. If the disc does not have a proper "
2492"<filename>.disk</filename> directory you will be prompted for a descriptive "
2493"title."
fec6996f
DK
2494msgstr ""
2495
2496#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2497#: apt-cdrom.8.xml
fec6996f 2498msgid ""
7d76ea1d
DK
2499"APT uses a CD-ROM ID to track which disc is currently in the drive and "
2500"maintains a database of these IDs in <filename>&statedir;/cdroms.list</"
2501"filename>"
fec6996f
DK
2502msgstr ""
2503
fec6996f 2504#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2505#: apt-cdrom.8.xml
fec6996f 2506msgid ""
7d76ea1d
DK
2507"A debugging tool to report the identity of the current disc as well as the "
2508"stored file name"
fec6996f
DK
2509msgstr ""
2510
fec6996f 2511#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2512#: apt-cdrom.8.xml
ce34af08
MV
2513msgid ""
2514"Do not try to auto-detect the CD-ROM path. Usually combined with the "
2515"<option>--cdrom</option> option. Configuration Item: <literal>Acquire::"
2516"cdrom::AutoDetect</literal>."
2517msgstr ""
2518
2519#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2520#: apt-cdrom.8.xml
fec6996f 2521msgid ""
7d76ea1d
DK
2522"Mount point; specify the location to mount the CD-ROM. This mount point must "
2523"be listed in <filename>/etc/fstab</filename> and properly configured. "
2524"Configuration Item: <literal>Acquire::cdrom::mount</literal>."
fec6996f
DK
2525msgstr ""
2526
fec6996f 2527#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2528#: apt-cdrom.8.xml
fec6996f 2529msgid ""
7d76ea1d
DK
2530"Rename a disc; change the label of a disc or override the disc's given "
2531"label. This option will cause <command>apt-cdrom</command> to prompt for a "
2532"new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
fec6996f
DK
2533msgstr ""
2534
2535#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2536#: apt-cdrom.8.xml
fec6996f 2537msgid ""
7d76ea1d
DK
2538"No mounting; prevent <command>apt-cdrom</command> from mounting and "
2539"unmounting the mount point. Configuration Item: <literal>APT::CDROM::"
2540"NoMount</literal>."
fec6996f
DK
2541msgstr ""
2542
2543#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2544#: apt-cdrom.8.xml
fec6996f 2545msgid ""
7d76ea1d
DK
2546"Fast Copy; Assume the package files are valid and do not check every "
2547"package. This option should be used only if <command>apt-cdrom</command> has "
2548"been run on this disc before and did not detect any errors. Configuration "
2549"Item: <literal>APT::CDROM::Fast</literal>."
fec6996f
DK
2550msgstr ""
2551
2552#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2553#: apt-cdrom.8.xml
fec6996f 2554msgid ""
7d76ea1d
DK
2555"Thorough Package Scan; This option may be needed with some old Debian "
2556"1.1/1.2 discs that have Package files in strange places. It takes much "
2557"longer to scan the CD but will pick them all up."
fec6996f
DK
2558msgstr ""
2559
2560#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2561#: apt-cdrom.8.xml
fec6996f 2562msgid ""
7d76ea1d
DK
2563"No Changes; Do not change the &sources-list; file and do not write index "
2564"files. Everything is still checked however. Configuration Item: "
2565"<literal>APT::CDROM::NoAct</literal>."
fec6996f
DK
2566msgstr ""
2567
7d76ea1d 2568#. type: Content of: <refentry><refsect1><para>
04f27fae 2569#: apt-cdrom.8.xml
7d76ea1d 2570msgid "&apt-conf;, &apt-get;, &sources-list;"
769e06cf 2571msgstr "&apt-conf;, &apt-get;, &sources-list;"
fec6996f 2572
7d76ea1d 2573#. type: Content of: <refentry><refsect1><para>
04f27fae 2574#: apt-cdrom.8.xml
fec6996f 2575msgid ""
7d76ea1d
DK
2576"<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
2577"on error."
fec6996f
DK
2578msgstr ""
2579
7d76ea1d 2580#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2581#: apt-config.8.xml
7d76ea1d 2582msgid "APT Configuration Query program"
30549c0c
MV
2583msgstr ""
2584
7d76ea1d 2585#. type: Content of: <refentry><refsect1><para>
04f27fae 2586#: apt-config.8.xml
30549c0c 2587msgid ""
7d76ea1d
DK
2588"<command>apt-config</command> is an internal program used by various "
2589"portions of the APT suite to provide consistent configurability. It accesses "
2590"the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
2591"manner that is easy to use for scripted applications."
fec6996f
DK
2592msgstr ""
2593
fec6996f 2594#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2595#: apt-config.8.xml
fec6996f 2596msgid ""
7d76ea1d
DK
2597"shell is used to access the configuration information from a shell script. "
2598"It is given pairs of arguments, the first being a shell variable and the "
2599"second the configuration value to query. As output it lists shell assignment "
2600"commands for each value present. In a shell script it should be used as "
2601"follows:"
fec6996f
DK
2602msgstr ""
2603
7d76ea1d 2604#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
04f27fae 2605#: apt-config.8.xml
7d76ea1d 2606#, no-wrap
fec6996f 2607msgid ""
7d76ea1d
DK
2608"OPTS=\"-f\"\n"
2609"RES=`apt-config shell OPTS MyApp::options`\n"
2610"eval $RES\n"
fec6996f
DK
2611msgstr ""
2612
fec6996f 2613#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2614#: apt-config.8.xml
fec6996f 2615msgid ""
7d76ea1d
DK
2616"This will set the shell environment variable $OPTS to the value of MyApp::"
2617"options with a default of <option>-f</option>."
30549c0c
MV
2618msgstr ""
2619
30549c0c 2620#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2621#: apt-config.8.xml
30549c0c 2622msgid ""
7d76ea1d
DK
2623"The configuration item may be postfixed with a /[fdbi]. f returns file "
2624"names, d returns directories, b returns true or false and i returns an "
2625"integer. Each of the returns is normalized and verified internally."
fec6996f
DK
2626msgstr ""
2627
30549c0c 2628#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2629#: apt-config.8.xml
7d76ea1d 2630msgid "Just show the contents of the configuration space."
30549c0c
MV
2631msgstr ""
2632
fec6996f 2633#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2634#: apt-config.8.xml
fec6996f 2635msgid ""
7d76ea1d
DK
2636"Include options which have an empty value. This is the default, so use --no-"
2637"empty to remove them from the output."
fec6996f
DK
2638msgstr ""
2639
7d76ea1d 2640#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
04f27fae 2641#: apt-config.8.xml
7d76ea1d 2642msgid "&percnt;f &#x0022;&percnt;v&#x0022;;&percnt;n"
fec6996f
DK
2643msgstr ""
2644
fec6996f 2645#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2646#: apt-config.8.xml
fec6996f 2647msgid ""
7d76ea1d
DK
2648"Defines the output of each config option. &percnt;t will be replaced with "
2649"its individual name, &percnt;f with its full hierarchical name and &percnt;v "
2650"with its value. Use uppercase letters and special characters in the value "
2651"will be encoded to ensure that it can e.g. be safely used in a quoted-string "
2652"as defined by RFC822. Additionally &percnt;n will be replaced by a newline, "
2653"and &percnt;N by a tab. A &percnt; can be printed by using &percnt;&percnt;."
fec6996f
DK
2654msgstr ""
2655
7d76ea1d 2656#. type: Content of: <refentry><refsect1><para>
04f27fae
MV
2657#: apt-config.8.xml apt-extracttemplates.1.xml apt-sortpkgs.1.xml
2658#: apt-ftparchive.1.xml
7d76ea1d 2659msgid "&apt-conf;"
769e06cf 2660msgstr "&apt-conf;"
fec6996f 2661
7d76ea1d 2662#. type: Content of: <refentry><refsect1><para>
04f27fae 2663#: apt-config.8.xml
fec6996f 2664msgid ""
7d76ea1d
DK
2665"<command>apt-config</command> returns zero on normal operation, decimal 100 "
2666"on error."
fec6996f
DK
2667msgstr ""
2668
7d76ea1d 2669#. type: Content of: <refentry><refentryinfo><author><contrib>
04f27fae 2670#: apt.conf.5.xml
7d76ea1d 2671msgid "Initial documentation of Debug::*."
fec6996f
DK
2672msgstr ""
2673
7d76ea1d 2674#. type: Content of: <refentry><refentryinfo><author><email>
04f27fae 2675#: apt.conf.5.xml
7d76ea1d 2676msgid "dburrows@debian.org"
fec6996f
DK
2677msgstr ""
2678
7d76ea1d 2679#. type: Content of: <refentry><refmeta><manvolnum>
04f27fae 2680#: apt.conf.5.xml apt_preferences.5.xml sources.list.5.xml
7d76ea1d 2681msgid "5"
fec6996f
DK
2682msgstr ""
2683
7d76ea1d 2684#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 2685#: apt.conf.5.xml
7d76ea1d 2686msgid "Configuration file for APT"
fec6996f
DK
2687msgstr ""
2688
7d76ea1d 2689#. type: Content of: <refentry><refsect1><para>
04f27fae 2690#: apt.conf.5.xml
c77d6597 2691msgid ""
5723791e
JR
2692"<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
2693"by all the tools in the APT suite of tools, though it is by no means the "
2694"only place options can be set. The suite also shares a common command line "
2695"parser to provide a uniform environment."
c77d6597
MV
2696msgstr ""
2697
7d76ea1d 2698#. type: Content of: <refentry><refsect1><orderedlist><para>
04f27fae 2699#: apt.conf.5.xml
fec6996f 2700msgid ""
7d76ea1d
DK
2701"When an APT tool starts up it will read the configuration files in the "
2702"following order:"
fec6996f
DK
2703msgstr ""
2704
7d76ea1d 2705#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2706#: apt.conf.5.xml
fec6996f 2707msgid ""
7d76ea1d
DK
2708"the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
2709"any)"
fec6996f
DK
2710msgstr ""
2711
7d76ea1d 2712#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2713#: apt.conf.5.xml
c77d6597 2714msgid ""
7d76ea1d
DK
2715"all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
2716"order which have either no or \"<literal>conf</literal>\" as filename "
2717"extension and which only contain alphanumeric, hyphen (-), underscore (_) "
2718"and period (.) characters. Otherwise APT will print a notice that it has "
44477002 2719"ignored a file, unless that file matches a pattern in the <literal>Dir::"
5723791e
JR
2720"Ignore-Files-Silently</literal> configuration list - in which case it will "
2721"be silently ignored."
c77d6597
MV
2722msgstr ""
2723
7d76ea1d 2724#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2725#: apt.conf.5.xml
fec6996f 2726msgid ""
7d76ea1d 2727"the main configuration file specified by <literal>Dir::Etc::main</literal>"
fec6996f
DK
2728msgstr ""
2729
cbbee23e
DK
2730#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2731#: apt.conf.5.xml
2732msgid ""
2733"all options set in the binary specific configuration subtree are moved into "
2734"the root of the tree."
2735msgstr ""
2736
7d76ea1d 2737#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
04f27fae 2738#: apt.conf.5.xml
fec6996f 2739msgid ""
7d76ea1d
DK
2740"the command line options are applied to override the configuration "
2741"directives or to load even more configuration files."
fec6996f
DK
2742msgstr ""
2743
7d76ea1d 2744#. type: Content of: <refentry><refsect1><title>
04f27fae 2745#: apt.conf.5.xml
7d76ea1d 2746msgid "Syntax"
fec6996f
DK
2747msgstr ""
2748
7d76ea1d 2749#. type: Content of: <refentry><refsect1><para>
04f27fae 2750#: apt.conf.5.xml
fec6996f 2751msgid ""
7d76ea1d
DK
2752"The configuration file is organized in a tree with options organized into "
2753"functional groups. Option specification is given with a double colon "
5723791e 2754"notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
7d76ea1d
DK
2755"within the APT tool group, for the Get tool. Options do not inherit from "
2756"their parent groups."
a7307a87
DK
2757msgstr ""
2758
7d76ea1d 2759#. type: Content of: <refentry><refsect1><para>
04f27fae 2760#: apt.conf.5.xml
a7307a87 2761msgid ""
7d76ea1d
DK
2762"Syntactically the configuration language is modeled after what the ISC tools "
2763"such as bind and dhcp use. Lines starting with <literal>//</literal> are "
2764"treated as comments (ignored), as well as all text between <literal>/*</"
2765"literal> and <literal>*/</literal>, just like C/C++ comments. Each line is "
5723791e
JR
2766"of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. The "
2767"quotation marks and trailing semicolon are required. The value must be on "
2768"one line, and there is no kind of string concatenation. Values must not "
2769"include backslashes or extra quotation marks. Option names are made up of "
2770"alphanumeric characters and the characters \"/-:._+\". A new scope can be "
2771"opened with curly braces, like this:"
fec6996f
DK
2772msgstr ""
2773
7d76ea1d 2774#. type: Content of: <refentry><refsect1><informalexample><programlisting>
04f27fae 2775#: apt.conf.5.xml
7d76ea1d 2776#, no-wrap
fec6996f 2777msgid ""
7d76ea1d
DK
2778"APT {\n"
2779" Get {\n"
2780" Assume-Yes \"true\";\n"
2781" Fix-Broken \"true\";\n"
2782" };\n"
2783"};\n"
fec6996f
DK
2784msgstr ""
2785
7d76ea1d 2786#. type: Content of: <refentry><refsect1><para>
04f27fae 2787#: apt.conf.5.xml
fec6996f 2788msgid ""
7d76ea1d
DK
2789"with newlines placed to make it more readable. Lists can be created by "
2790"opening a scope and including a single string enclosed in quotes followed by "
5723791e 2791"a semicolon. Multiple entries can be included, separated by a semicolon."
fec6996f
DK
2792msgstr ""
2793
7d76ea1d 2794#. type: Content of: <refentry><refsect1><informalexample><programlisting>
04f27fae 2795#: apt.conf.5.xml
7d76ea1d
DK
2796#, no-wrap
2797msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
fec6996f
DK
2798msgstr ""
2799
7d76ea1d 2800#. type: Content of: <refentry><refsect1><para>
04f27fae 2801#: apt.conf.5.xml
fec6996f 2802msgid ""
00612a8c
DK
2803"In general the sample configuration file &configureindex; is a good guide "
2804"for how it should look."
fec6996f
DK
2805msgstr ""
2806
7d76ea1d 2807#. type: Content of: <refentry><refsect1><para>
04f27fae 2808#: apt.conf.5.xml
fec6996f 2809msgid ""
5723791e
JR
2810"Case is not significant in names of configuration items, so in the previous "
2811"example you could use <literal>dpkg::pre-install-pkgs</literal>."
fec6996f
DK
2812msgstr ""
2813
7d76ea1d 2814#. type: Content of: <refentry><refsect1><para>
04f27fae 2815#: apt.conf.5.xml
fec6996f 2816msgid ""
5723791e
JR
2817"Names for the configuration items are optional if a list is defined as can "
2818"be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
2819"you don't specify a name a new entry will simply add a new option to the "
2820"list. If you specify a name you can override the option in the same way as "
2821"any other option by reassigning a new value to the option."
fec6996f
DK
2822msgstr ""
2823
7d76ea1d 2824#. type: Content of: <refentry><refsect1><para>
04f27fae 2825#: apt.conf.5.xml
fec6996f 2826msgid ""
5723791e
JR
2827"Two special commands are defined: <literal>#include</literal> (which is "
2828"deprecated and not supported by alternative implementations) and "
2829"<literal>#clear</literal>. <literal>#include</literal> will include the "
2830"given file, unless the filename ends in a slash, in which case the whole "
2831"directory is included. <literal>#clear</literal> is used to erase a part of "
2832"the configuration tree. The specified element and all its descendants are "
2833"erased. (Note that these lines also need to end with a semicolon.)"
fec6996f
DK
2834msgstr ""
2835
7d76ea1d 2836#. type: Content of: <refentry><refsect1><para>
04f27fae 2837#: apt.conf.5.xml
fec6996f 2838msgid ""
5723791e
JR
2839"The <literal>#clear</literal> command is the only way to delete a list or a "
2840"complete scope. Reopening a scope (or using the syntax described below with "
2841"an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
2842"previously written entries. Options can only be overridden by addressing a "
2843"new value to them - lists and scopes can't be overridden, only cleared."
fec6996f
DK
2844msgstr ""
2845
7d76ea1d 2846#. type: Content of: <refentry><refsect1><para>
04f27fae 2847#: apt.conf.5.xml
fec6996f 2848msgid ""
5723791e 2849"All of the APT tools take an -o option which allows an arbitrary "
7d76ea1d
DK
2850"configuration directive to be specified on the command line. The syntax is a "
2851"full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
2852"followed by an equals sign then the new value of the option. To append a new "
5723791e
JR
2853"element to a list, add a trailing <literal>::</literal> to the name of the "
2854"list. (As you might suspect, the scope syntax can't be used on the command "
2855"line.)"
fec6996f
DK
2856msgstr ""
2857
7d76ea1d 2858#. type: Content of: <refentry><refsect1><para>
04f27fae 2859#: apt.conf.5.xml
5723791e
JR
2860msgid ""
2861"Note that appending items to a list using <literal>::</literal> only works "
2862"for one item per line, and that you should not use it in combination with "
2863"the scope syntax (which adds <literal>::</literal> implicitly). Using both "
2864"syntaxes together will trigger a bug which some users unfortunately depend "
2865"on: an option with the unusual name \"<literal>::</literal>\" which acts "
2866"like every other option with a name. This introduces many problems; for one "
2867"thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
2868"syntax in the hope of appending to a list will achieve the opposite, as only "
2869"the last assignment for this option \"<literal>::</literal>\" will be used. "
2870"Future versions of APT will raise errors and stop working if they encounter "
2871"this misuse, so please correct such statements now while APT doesn't "
2872"explicitly complain about them."
fec6996f
DK
2873msgstr ""
2874
7d76ea1d 2875#. type: Content of: <refentry><refsect1><title>
04f27fae 2876#: apt.conf.5.xml
7d76ea1d 2877msgid "The APT Group"
fec6996f
DK
2878msgstr ""
2879
fec6996f 2880#. type: Content of: <refentry><refsect1><para>
04f27fae 2881#: apt.conf.5.xml
fec6996f 2882msgid ""
7d76ea1d
DK
2883"This group of options controls general APT behavior as well as holding the "
2884"options for all of the tools."
fec6996f
DK
2885msgstr ""
2886
7d76ea1d 2887#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2888#: apt.conf.5.xml
fec6996f 2889msgid ""
7d76ea1d
DK
2890"System Architecture; sets the architecture to use when fetching files and "
2891"parsing package lists. The internal default is the architecture apt was "
2892"compiled for."
fec6996f
DK
2893msgstr ""
2894
7d76ea1d 2895#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2896#: apt.conf.5.xml
fec6996f 2897msgid ""
5723791e
JR
2898"All Architectures the system supports. For instance, CPUs implementing the "
2899"<literal>amd64</literal> (also called <literal>x86-64</literal>) "
2900"instruction set are also able to execute binaries compiled for the "
2901"<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
2902"is used when fetching files and parsing package lists. The initial default "
2903"is always the system's native architecture (<literal>APT::Architecture</"
2904"literal>), and foreign architectures are added to the default list when they "
2905"are registered via <command>dpkg --add-architecture</command>."
fec6996f
DK
2906msgstr ""
2907
5ff8dd6b
JAK
2908#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2909#: apt.conf.5.xml
2910msgid ""
2911"This scope defines which compression formats are supported, how compression "
2912"and decompression can be performed if support for this format isn't built "
2913"into apt directly and a cost-value indicating how costly it is to compress "
2914"something in this format. As an example the following configuration stanza "
2915"would allow apt to download and uncompress as well as create and store files "
2916"with the low-cost <literal>.reversed</literal> file extension which it will "
2917"pass to the command <command>rev</command> without additional commandline "
2918"parameters for compression and uncompression:"
2919msgstr ""
2920
2921#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><informalexample><programlisting>
2922#: apt.conf.5.xml
2923#, no-wrap
2924msgid ""
2925"APT::Compressor::rev {\n"
2926"\tName \"rev\";\n"
2927"\tExtension \".reversed\";\n"
2928"\tBinary \"rev\";\n"
2929"\tCompressArg {};\n"
2930"\tUncompressArg {};\n"
2931"\tCost \"10\";\n"
2932"};\n"
2933msgstr ""
2934
7d76ea1d 2935#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2936#: apt.conf.5.xml
7ffbb475
MV
2937msgid ""
2938"List of all build profiles enabled for build-dependency resolution, without "
2939"the \"<literal>profile.</literal>\" namespace prefix. By default this list "
2940"is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by &dpkg-"
2941"buildpackage; overrides the list notation."
2942msgstr ""
2943
2944#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2945#: apt.conf.5.xml
7d76ea1d 2946msgid ""
5723791e
JR
2947"Default release to install packages from if more than one version is "
2948"available. Contains release name, codename or release version. Examples: "
9feb98eb
DK
2949"'stable', 'testing', 'unstable', '&debian-stable-codename;', '&debian-"
2950"testing-codename;', '4.0', '5.0*'. See also &apt-preferences;."
fec6996f
DK
2951msgstr ""
2952
fec6996f 2953#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2954#: apt.conf.5.xml
fec6996f 2955msgid ""
5723791e 2956"Ignore held packages; this global option causes the problem resolver to "
7d76ea1d 2957"ignore held packages in its decision making."
fec6996f
DK
2958msgstr ""
2959
fec6996f 2960#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2961#: apt.conf.5.xml
7d76ea1d
DK
2962msgid ""
2963"Defaults to on. When turned on the autoclean feature will remove any "
2964"packages which can no longer be downloaded from the cache. If turned off "
2965"then packages that are locally installed are also excluded from cleaning - "
2966"but note that APT provides no direct means to reinstall them."
fec6996f
DK
2967msgstr ""
2968
fec6996f 2969#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2970#: apt.conf.5.xml
5723791e
JR
2971msgid ""
2972"Defaults to on, which will cause APT to install essential and important "
2973"packages as soon as possible in an install/upgrade operation, in order to "
2974"limit the effect of a failing &dpkg; call. If this option is disabled, APT "
2975"treats an important package in the same way as an extra package: between the "
2976"unpacking of the package A and its configuration there can be many other "
2977"unpack or configuration calls for other unrelated packages B, C etc. If "
2978"these cause the &dpkg; call to fail (e.g. because package B's maintainer "
2979"scripts generate an error), this results in a system state in which package "
2980"A is unpacked but unconfigured - so any package depending on A is now no "
2981"longer guaranteed to work, as its dependency on A is no longer satisfied."
2982msgstr ""
2983
2984#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 2985#: apt.conf.5.xml
7d76ea1d 2986msgid ""
5723791e
JR
2987"The immediate configuration marker is also applied in the potentially "
2988"problematic case of circular dependencies, since a dependency with the "
2989"immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
2990"to recognise a situation in which it is unable to perform immediate "
2991"configuration, abort, and suggest to the user that the option should be "
2992"temporarily deactivated in order to allow the operation to proceed. Note "
2993"the use of the word \"theory\" here; in the real world this problem has "
2994"rarely been encountered, in non-stable distribution versions, and was caused "
2995"by wrong dependencies of the package in question or by a system in an "
2996"already broken state; so you should not blindly disable this option, as the "
2997"scenario mentioned above is not the only problem it can help to prevent in "
2998"the first place."
fec6996f
DK
2999msgstr ""
3000
fec6996f 3001#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3002#: apt.conf.5.xml
7d76ea1d 3003msgid ""
5723791e
JR
3004"Before a big operation like <literal>dist-upgrade</literal> is run with this "
3005"option disabled you should try to explicitly <literal>install</literal> the "
3006"package APT is unable to configure immediately; but please make sure you "
3007"also report your problem to your distribution and to the APT team with the "
3008"buglink below, so they can work on improving or correcting the upgrade "
3009"process."
fec6996f
DK
3010msgstr ""
3011
fec6996f 3012#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3013#: apt.conf.5.xml
5723791e
JR
3014msgid ""
3015"Never enable this option unless you <emphasis>really</emphasis> know what "
3016"you are doing. It permits APT to temporarily remove an essential package to "
3017"break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
3018"essential packages. <emphasis>Such a loop should never exist and is a grave "
3019"bug</emphasis>. This option will work if the essential packages are not "
3020"<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
3021"<command>dpkg</command>, <command>dash</command> or anything that those "
3022"packages depend on."
3023msgstr ""
3024
3025#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3026#: apt.conf.5.xml
7d76ea1d
DK
3027msgid ""
3028"APT uses since version 0.7.26 a resizable memory mapped cache file to store "
5723791e
JR
3029"the available information. <literal>Cache-Start</literal> acts as a hint of "
3030"the size the cache will grow to, and is therefore the amount of memory APT "
7d76ea1d 3031"will request at startup. The default value is 20971520 bytes (~20 MB). Note "
5723791e 3032"that this amount of space needs to be available for APT; otherwise it will "
7d76ea1d
DK
3033"likely fail ungracefully, so for memory restricted devices this value should "
3034"be lowered while on systems with a lot of configured sources it should be "
3035"increased. <literal>Cache-Grow</literal> defines in bytes with the default "
5723791e
JR
3036"of 1048576 (~1 MB) how much the cache size will be increased in the event "
3037"the space defined by <literal>Cache-Start</literal> is not enough. This "
7d76ea1d
DK
3038"value will be applied again and again until either the cache is big enough "
3039"to store all information or the size of the cache reaches the <literal>Cache-"
3040"Limit</literal>. The default of <literal>Cache-Limit</literal> is 0 which "
3041"stands for no limit. If <literal>Cache-Grow</literal> is set to 0 the "
5723791e 3042"automatic growth of the cache is disabled."
fec6996f
DK
3043msgstr ""
3044
fec6996f 3045#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3046#: apt.conf.5.xml
5723791e 3047msgid "Defines which packages are considered essential build dependencies."
fec6996f
DK
3048msgstr ""
3049
fec6996f 3050#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3051#: apt.conf.5.xml
fec6996f 3052msgid ""
5723791e 3053"The Get subsection controls the &apt-get; tool; please see its documentation "
7d76ea1d 3054"for more information about the options here."
fec6996f
DK
3055msgstr ""
3056
3057#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3058#: apt.conf.5.xml
fec6996f 3059msgid ""
5723791e 3060"The Cache subsection controls the &apt-cache; tool; please see its "
7d76ea1d 3061"documentation for more information about the options here."
fec6996f
DK
3062msgstr ""
3063
782486e8 3064#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3065#: apt.conf.5.xml
782486e8 3066msgid ""
5723791e 3067"The CDROM subsection controls the &apt-cdrom; tool; please see its "
7d76ea1d 3068"documentation for more information about the options here."
782486e8
MV
3069msgstr ""
3070
7d76ea1d 3071#. type: Content of: <refentry><refsect1><title>
04f27fae 3072#: apt.conf.5.xml
7d76ea1d 3073msgid "The Acquire Group"
b39c1859
MV
3074msgstr ""
3075
7d76ea1d 3076#. type: Content of: <refentry><refsect1><para>
04f27fae 3077#: apt.conf.5.xml
b39c1859 3078msgid ""
7d76ea1d 3079"The <literal>Acquire</literal> group of options controls the download of "
5723791e
JR
3080"packages as well as the various \"acquire methods\" responsible for the "
3081"download itself (see also &sources-list;)."
b39c1859
MV
3082msgstr ""
3083
5723791e 3084#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3085#: apt.conf.5.xml
7d76ea1d 3086msgid ""
5723791e
JR
3087"Security related option defaulting to true, as giving a Release file's "
3088"validation an expiration date prevents replay attacks over a long timescale, "
3089"and can also for example help users to identify mirrors that are no longer "
3090"updated - but the feature depends on the correctness of the clock on the "
3091"user system. Archive maintainers are encouraged to create Release files with "
3092"the <literal>Valid-Until</literal> header, but if they don't or a stricter "
3093"value is desired the <literal>Max-ValidTime</literal> option below can be "
864fe99c
MV
3094"used. The <option>Check-Valid-Until</option> option of &sources-list; "
3095"entries should be preferred to disable the check selectively instead of "
3096"using this global override."
fec6996f
DK
3097msgstr ""
3098
5723791e 3099#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3100#: apt.conf.5.xml
7d76ea1d 3101msgid ""
5723791e
JR
3102"Maximum time (in seconds) after its creation (as indicated by the "
3103"<literal>Date</literal> header) that the <filename>Release</filename> file "
3104"should be considered valid. If the Release file itself includes a "
3105"<literal>Valid-Until</literal> header the earlier date of the two is used as "
3106"the expiration date. The default value is <literal>0</literal> which stands "
3107"for \"valid forever\". Archive specific settings can be made by appending "
864fe99c
MV
3108"the label of the archive to the option name. Preferably, the same can be "
3109"achieved for specific &sources-list; entries by using the <option>Valid-"
3110"Until-Max</option> option there."
fec6996f
DK
3111msgstr ""
3112
5723791e 3113#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3114#: apt.conf.5.xml
7d76ea1d 3115msgid ""
5723791e
JR
3116"Minimum time (in seconds) after its creation (as indicated by the "
3117"<literal>Date</literal> header) that the <filename>Release</filename> file "
3118"should be considered valid. Use this if you need to use a seldom updated "
3119"(local) mirror of a more frequently updated archive with a <literal>Valid-"
3120"Until</literal> header instead of completely disabling the expiration date "
3121"checking. Archive specific settings can and should be used by appending the "
864fe99c
MV
3122"label of the archive to the option name. Preferably, the same can be "
3123"achieved for specific &sources-list; entries by using the <option>Valid-"
3124"Until-Min</option> option there."
fec6996f
DK
3125msgstr ""
3126
5723791e 3127#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3128#: apt.conf.5.xml
fec6996f 3129msgid ""
5723791e
JR
3130"Try to download deltas called <literal>PDiffs</literal> for indexes (like "
3131"<filename>Packages</filename> files) instead of downloading whole ones. True "
e49dd9d3
MV
3132"by default. Preferably, this can be set for specific &sources-list; entries "
3133"or index files by using the <option>PDiffs</option> option there."
fec6996f
DK
3134msgstr ""
3135
5723791e 3136#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3137#: apt.conf.5.xml
7d76ea1d 3138msgid ""
5723791e
JR
3139"Two sub-options to limit the use of PDiffs are also available: "
3140"<literal>FileLimit</literal> can be used to specify a maximum number of "
3141"PDiff files should be downloaded to update a file. <literal>SizeLimit</"
3142"literal> on the other hand is the maximum percentage of the size of all "
3143"patches compared to the size of the targeted file. If one of these limits is "
3144"exceeded the complete file is downloaded instead of the patches."
fec6996f
DK
3145msgstr ""
3146
5723791e 3147#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae
MV
3148#: apt.conf.5.xml
3149msgid ""
3150"Try to download indexes via an URI constructed from a hashsum of the "
3151"expected file rather than downloaded via a well-known stable filename. True "
3152"by default, but automatically disabled if the source indicates no support "
3153"for it. Usage can be forced with the special value \"force\". Preferably, "
3154"this can be set for specific &sources-list; entries or index files by using "
3155"the <option>By-Hash</option> option there."
3156msgstr ""
3157
3158#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3159#: apt.conf.5.xml
7d76ea1d
DK
3160msgid ""
3161"Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</"
3162"literal> or <literal>access</literal> which determines how APT parallelizes "
3163"outgoing connections. <literal>host</literal> means that one connection per "
3164"target host will be opened, <literal>access</literal> means that one "
3165"connection per URI type will be opened."
fec6996f
DK
3166msgstr ""
3167
5723791e 3168#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3169#: apt.conf.5.xml
fec6996f 3170msgid ""
7d76ea1d
DK
3171"Number of retries to perform. If this is non-zero APT will retry failed "
3172"files the given number of times."
fec6996f
DK
3173msgstr ""
3174
5723791e 3175#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3176#: apt.conf.5.xml
fec6996f 3177msgid ""
7d76ea1d
DK
3178"Use symlinks for source archives. If set to true then source archives will "
3179"be symlinked when possible instead of copying. True is the default."
fec6996f
DK
3180msgstr ""
3181
5723791e 3182#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3183#: apt.conf.5.xml
fec6996f 3184msgid ""
5723791e
JR
3185"<literal>http::Proxy</literal> sets the default proxy to use for HTTP URIs. "
3186"It is in the standard form of <literal>http://[[user][:pass]@]host[:port]/</"
3187"literal>. Per host proxies can also be specified by using the form "
3188"<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
3189"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
3190"settings is specified, <envar>http_proxy</envar> environment variable will "
3191"be used."
fec6996f
DK
3192msgstr ""
3193
5723791e 3194#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3195#: apt.conf.5.xml
fec6996f 3196msgid ""
7d76ea1d 3197"Three settings are provided for cache control with HTTP/1.1 compliant proxy "
5723791e
JR
3198"caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
3199"response under any circumstances. <literal>Max-Age</literal> sets the "
3200"allowed maximum age (in seconds) of an index file in the cache of the "
3201"proxy. <literal>No-Store</literal> specifies that the proxy should not "
3202"store the requested archive files in its cache, which can be used to prevent "
3203"the proxy from polluting its cache with (big) .deb files."
fec6996f
DK
3204msgstr ""
3205
5723791e 3206#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3207#: apt.conf.5.xml
fec6996f 3208msgid ""
7d76ea1d 3209"The option <literal>timeout</literal> sets the timeout timer used by the "
5723791e 3210"method; this value applies to the connection as well as the data timeout."
fec6996f
DK
3211msgstr ""
3212
5723791e 3213#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3214#: apt.conf.5.xml
fec6996f 3215msgid ""
7d76ea1d 3216"The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
5723791e
JR
3217"enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial e."
3218"g. on high-latency connections. It specifies how many requests are sent in a "
34984adb
MV
3219"pipeline. APT tries to detect and workaround misbehaving webservers and "
3220"proxies at runtime, but if you know that yours does not conform to the "
3221"HTTP/1.1 specification pipelining can be disabled by setting the value to 0. "
3222"It is enabled by default with the value 10."
fec6996f
DK
3223msgstr ""
3224
5723791e 3225#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3226#: apt.conf.5.xml
fec6996f 3227msgid ""
5723791e
JR
3228"<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
3229"follow redirects, which is enabled by default."
fec6996f
DK
3230msgstr ""
3231
5723791e 3232#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3233#: apt.conf.5.xml
782486e8 3234msgid ""
7d76ea1d 3235"The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
ce34af08
MV
3236"literal> which accepts integer values in kilobytes per second. The default "
3237"value is 0 which deactivates the limit and tries to use all available "
3238"bandwidth. Note that this option implicitly disables downloading from "
3239"multiple servers at the same time."
fec6996f
DK
3240msgstr ""
3241
5723791e 3242#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3243#: apt.conf.5.xml
782486e8 3244msgid ""
7d76ea1d
DK
3245"<literal>Acquire::http::User-Agent</literal> can be used to set a different "
3246"User-Agent for the http download method as some proxies allow access for "
3247"clients only if the client uses a known identifier."
fec6996f
DK
3248msgstr ""
3249
5723791e 3250#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3251#: apt.conf.5.xml
782486e8 3252msgid ""
ce34af08 3253"<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
14e325c7
JAK
3254"an external command to discover the http proxy to use. The first and only "
3255"parameter is an URI denoting the host to be contacted to allow for host-"
3256"specific configuration. APT expects the command to output the proxy on "
3257"stdout as a single line in the style <literal>http://proxy:port/</literal> "
3258"or the word <literal>DIRECT</literal> if no proxy should be used. No output "
3259"indicates that the generic proxy settings should be used. Note that auto-"
3260"detection will not be used for a host if a host-specific proxy configuration "
3261"is already set via <literal>Acquire::http::Proxy::<replaceable>HOST</"
3262"replaceable></literal>. See the &squid-deb-proxy-client; package for an "
3263"example implementation that uses avahi. This option takes precedence over "
3264"the legacy option name <literal>ProxyAutoDetect</literal>."
ce34af08
MV
3265msgstr ""
3266
3267#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3268#: apt.conf.5.xml
ce34af08 3269msgid ""
5723791e
JR
3270"The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
3271"<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
3272"<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
3273"the <literal>http</literal> method, and default to the same values if they "
3274"are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
3275"yet supported."
fec6996f
DK
3276msgstr ""
3277
5723791e 3278#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3279#: apt.conf.5.xml
fec6996f 3280msgid ""
7d76ea1d 3281"<literal>CaInfo</literal> suboption specifies place of file that holds info "
5723791e 3282"about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is the "
7d76ea1d 3283"corresponding per-host option. <literal>Verify-Peer</literal> boolean "
5723791e
JR
3284"suboption determines whether or not the server's host certificate should be "
3285"verified against trusted certificates. <literal>&lt;host&gt;::Verify-Peer</"
3286"literal> is the corresponding per-host option. <literal>Verify-Host</"
3287"literal> boolean suboption determines whether or not the server's hostname "
3288"should be verified. <literal>&lt;host&gt;::Verify-Host</literal> is the "
3289"corresponding per-host option. <literal>SslCert</literal> determines what "
3290"certificate to use for client authentication. <literal>&lt;host&gt;::"
3291"SslCert</literal> is the corresponding per-host option. <literal>SslKey</"
3292"literal> determines what private key to use for client authentication. "
3293"<literal>&lt;host&gt;::SslKey</literal> is the corresponding per-host "
3294"option. <literal>SslForceVersion</literal> overrides default SSL version to "
3295"use. It can contain either of the strings '<literal>TLSv1</literal>' or "
3296"'<literal>SSLv3</literal>'. <literal>&lt;host&gt;::SslForceVersion</"
3297"literal> is the corresponding per-host option."
3298msgstr ""
3299
3300#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3301#: apt.conf.5.xml
5723791e
JR
3302msgid ""
3303"<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
3304"It is in the standard form of <literal>ftp://[[user][:pass]@]host[:port]/</"
3305"literal>. Per host proxies can also be specified by using the form "
3306"<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
3307"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
3308"settings is specified, <envar>ftp_proxy</envar> environment variable will be "
3309"used. To use an FTP proxy you will have to set the <literal>ftp::ProxyLogin</"
3310"literal> script in the configuration file. This entry specifies the commands "
3311"to send to tell the proxy server what to connect to. Please see "
3312"&configureindex; for an example of how to do this. The substitution "
3313"variables representing the corresponding URI component are <literal>"
3314"$(PROXY_USER)</literal>, <literal>$(PROXY_PASS)</literal>, <literal>"
3315"$(SITE_USER)</literal>, <literal>$(SITE_PASS)</literal>, <literal>$(SITE)</"
3316"literal> and <literal>$(SITE_PORT)</literal>."
fec6996f
DK
3317msgstr ""
3318
5723791e 3319#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3320#: apt.conf.5.xml
fec6996f 3321msgid ""
7d76ea1d 3322"Several settings are provided to control passive mode. Generally it is safe "
5723791e
JR
3323"to leave passive mode on; it works in nearly every environment. However, "
3324"some situations require that passive mode be disabled and port mode FTP used "
3325"instead. This can be done globally or for connections that go through a "
3326"proxy or for a specific host (see the sample config file for examples)."
fec6996f
DK
3327msgstr ""
3328
5723791e 3329#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3330#: apt.conf.5.xml
fec6996f 3331msgid ""
7d76ea1d 3332"It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</"
5723791e 3333"envar> environment variable to an HTTP URL - see the discussion of the http "
7d76ea1d
DK
3334"method above for syntax. You cannot set this in the configuration file and "
3335"it is not recommended to use FTP over HTTP due to its low efficiency."
fec6996f
DK
3336msgstr ""
3337
5723791e 3338#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3339#: apt.conf.5.xml
fec6996f 3340msgid ""
7d76ea1d
DK
3341"The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
3342"<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
3343"false, which means these commands are only used if the control connection is "
3344"IPv6. Setting this to true forces their use even on IPv4 connections. Note "
3345"that most FTP servers do not support RFC2428."
fec6996f
DK
3346msgstr ""
3347
5723791e 3348#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
04f27fae 3349#: apt.conf.5.xml
7d76ea1d
DK
3350#, no-wrap
3351msgid "/cdrom/::Mount \"foo\";"
fec6996f
DK
3352msgstr ""
3353
5723791e 3354#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3355#: apt.conf.5.xml
fec6996f 3356msgid ""
5723791e
JR
3357"For URIs using the <literal>cdrom</literal> method, the only configurable "
3358"option is the mount point, <literal>cdrom::Mount</literal>, which must be "
3359"the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
3360"<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
3361"and unmount commands if your mount point cannot be listed in the fstab. The "
7d76ea1d 3362"syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
5723791e
JR
3363"<literal>cdrom</literal> block. It is important to have the trailing slash. "
3364"Unmount commands can be specified using UMount."
fec6996f
DK
3365msgstr ""
3366
5723791e 3367#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3368#: apt.conf.5.xml
fec6996f 3369msgid ""
5723791e
JR
3370"For GPGV URIs the only configurable option is <literal>gpgv::Options</"
3371"literal>, which passes additional parameters to gpgv."
fec6996f
DK
3372msgstr ""
3373
5723791e 3374#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
04f27fae 3375#: apt.conf.5.xml
7d76ea1d
DK
3376#, no-wrap
3377msgid "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
fec6996f
DK
3378msgstr ""
3379
5723791e 3380#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3381#: apt.conf.5.xml
fec6996f 3382msgid ""
7d76ea1d
DK
3383"List of compression types which are understood by the acquire methods. "
3384"Files like <filename>Packages</filename> can be available in various "
5ff8dd6b
JAK
3385"compression formats. By default the acquire methods can decompress and "
3386"recompress many common formats like <command>xz</command> and <command>gzip</"
3387"command>; with this scope the supported formats can be queried, modified as "
3388"well as support for more formats added (see also <option>APT::Compressor</"
3389"option>). The syntax for this is: <placeholder type=\"synopsis\" id=\"0\"/>"
fec6996f
DK
3390msgstr ""
3391
5723791e 3392#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
04f27fae 3393#: apt.conf.5.xml
7d76ea1d
DK
3394#, no-wrap
3395msgid "Acquire::CompressionTypes::Order:: \"gz\";"
3396msgstr ""
3397
5723791e 3398#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
04f27fae 3399#: apt.conf.5.xml
7d76ea1d 3400#, no-wrap
5ff8dd6b 3401msgid "Acquire::CompressionTypes::Order { \"xz\"; \"gz\"; };"
7d76ea1d
DK
3402msgstr ""
3403
5723791e 3404#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3405#: apt.conf.5.xml
fec6996f 3406msgid ""
5723791e 3407"Also, the <literal>Order</literal> subgroup can be used to define in which "
7d76ea1d
DK
3408"order the acquire system will try to download the compressed files. The "
3409"acquire system will try the first and proceed with the next compression type "
5723791e 3410"in this list on error, so to prefer one over the other type simply add the "
5ff8dd6b
JAK
3411"preferred type first - types not already added will be implicitly appended "
3412"to the end of the list, so e.g. <placeholder type=\"synopsis\" id=\"0\"/> "
3413"can be used to prefer <command>gzip</command> compressed files over all "
3414"other compression formats. If <command>xz</command> should be preferred "
3415"over <command>gzip</command> and <command>bzip2</command> the configure "
3416"setting should look like this: <placeholder type=\"synopsis\" id=\"1\"/> It "
3417"is not needed to add <literal>bz2</literal> to the list explicitly as it "
3418"will be added automatically."
fec6996f
DK
3419msgstr ""
3420
5723791e 3421#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
04f27fae 3422#: apt.conf.5.xml
7d76ea1d
DK
3423#, no-wrap
3424msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
3425msgstr ""
3426
5723791e 3427#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3428#: apt.conf.5.xml
fec6996f 3429msgid ""
5723791e 3430"Note that the <literal>Dir::Bin::<replaceable>Methodname</replaceable></"
5ff8dd6b
JAK
3431"literal> will be checked at run time. If this option has been set and "
3432"support for this format isn't directly built into apt, the method will only "
3433"be used if this file exists; e.g. for the <literal>bzip2</literal> method "
3434"(the inbuilt) setting is: <placeholder type=\"literallayout\" id=\"0\"/> "
3435"Note also that list entries specified on the command line will be added at "
3436"the end of the list specified in the configuration files, but before the "
3437"default entries. To prefer a type in this case over the ones specified in "
3438"the configuration files you can set the option direct - not in list style. "
3439"This will not override the defined list; it will only prefix the list with "
3440"this type."
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"The special type <literal>uncompressed</literal> can be used to give "
3447"uncompressed files a preference, but note that most archives don't provide "
3448"uncompressed files so this is mostly only useable for local mirrors."
fec6996f
DK
3449msgstr ""
3450
5723791e 3451#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3452#: apt.conf.5.xml
fec6996f 3453msgid ""
7d76ea1d
DK
3454"When downloading <literal>gzip</literal> compressed indexes (Packages, "
3455"Sources, or Translations), keep them gzip compressed locally instead of "
3456"unpacking them. This saves quite a lot of disk space at the expense of more "
3457"CPU requirements when building the local package caches. False by default."
fec6996f
DK
3458msgstr ""
3459
5723791e 3460#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3461#: apt.conf.5.xml
fec6996f 3462msgid ""
7d76ea1d 3463"The Languages subsection controls which <filename>Translation</filename> "
5723791e
JR
3464"files are downloaded and in which order APT tries to display the description-"
3465"translations. APT will try to display the first available description in the "
3466"language which is listed first. Languages can be defined with their short or "
3467"long language codes. Note that not all archives provide "
3468"<filename>Translation</filename> files for every language - the long "
3469"language codes are especially rare."
fec6996f
DK
3470msgstr ""
3471
5723791e 3472#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
04f27fae 3473#: apt.conf.5.xml
7d76ea1d
DK
3474#, no-wrap
3475msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
fec6996f
DK
3476msgstr ""
3477
5723791e 3478#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3479#: apt.conf.5.xml
fec6996f 3480msgid ""
7d76ea1d 3481"The default list includes \"environment\" and \"en\". "
5723791e
JR
3482"\"<literal>environment</literal>\" has a special meaning here: it will be "
3483"replaced at runtime with the language codes extracted from the "
7d76ea1d
DK
3484"<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
3485"that these codes are not included twice in the list. If "
3486"<literal>LC_MESSAGES</literal> is set to \"C\" only the "
3487"<filename>Translation-en</filename> file (if available) will be used. To "
5723791e 3488"force APT to use no Translation file use the setting <literal>Acquire::"
7d76ea1d 3489"Languages=none</literal>. \"<literal>none</literal>\" is another special "
5723791e
JR
3490"meaning code which will stop the search for a suitable "
3491"<filename>Translation</filename> file. This tells APT to download these "
3492"translations too, without actually using them unless the environment "
3493"specifies the languages. So the following example configuration will result "
3494"in the order \"en, de\" in an English locale or \"de, en\" in a German one. "
3495"Note that \"fr\" is downloaded, but not used unless APT is used in a French "
3496"locale (where the order would be \"fr, de, en\"). <placeholder type="
3497"\"programlisting\" id=\"0\"/>"
fec6996f
DK
3498msgstr ""
3499
5723791e 3500#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3501#: apt.conf.5.xml
fec6996f 3502msgid ""
7d76ea1d
DK
3503"Note: To prevent problems resulting from APT being executed in different "
3504"environments (e.g. by different users or by other programs) all Translation "
3505"files which are found in <filename>/var/lib/apt/lists/</filename> will be "
3506"added to the end of the list (after an implicit \"<literal>none</literal>\")."
fec6996f
DK
3507msgstr ""
3508
c1b21367 3509#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3510#: apt.conf.5.xml
c1b21367
MV
3511msgid "When downloading, force to use only the IPv4 protocol."
3512msgstr ""
3513
3514#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3515#: apt.conf.5.xml
c1b21367
MV
3516msgid "When downloading, force to use only the IPv6 protocol."
3517msgstr ""
3518
5b1e4e86 3519#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3520#: apt.conf.5.xml
5b1e4e86
MV
3521msgid ""
3522"The maximum file size of Release/Release.gpg/InRelease files. The default "
3523"is 10MB."
3524msgstr ""
3525
3526#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3527#: apt.conf.5.xml
864fe99c
MV
3528msgid ""
3529"This option controls if apt will use the DNS SRV server record as specified "
3530"in RFC 2782 to select an alternative server to connect to. The default is "
3531"\"true\"."
3532msgstr ""
3533
3534#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3535#: apt.conf.5.xml
5b1e4e86 3536msgid ""
14e325c7
JAK
3537"Allow update operations to load data files from repositories without "
3538"sufficient security information. The default value is \"<literal>false</"
3539"literal>\". Concept, implications as well as alternatives are detailed in "
3540"&apt-secure;."
3541msgstr ""
3542
3543#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3544#: apt.conf.5.xml
3545msgid ""
3546"Allow update operations to load data files from repositories which provide "
3547"security information, but these are deemed no longer cryptographically "
3548"strong enough. The default value is \"<literal>false</literal>\". Concept, "
3549"implications as well as alternatives are detailed in &apt-secure;."
5b1e4e86
MV
3550msgstr ""
3551
3552#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3553#: apt.conf.5.xml
5b1e4e86
MV
3554msgid ""
3555"Allow that a repository that was previously gpg signed to become unsigned "
14e325c7
JAK
3556"during an update operation. When there is no valid signature for a "
3557"previously trusted repository apt will refuse the update. This option can be "
3558"used to override this protection. You almost certainly never want to enable "
3559"this. The default is <literal>false</literal>. Concept, implications as "
3560"well as alternatives are detailed in &apt-secure;."
5b1e4e86
MV
3561msgstr ""
3562
864fe99c 3563#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
04f27fae 3564#: apt.conf.5.xml
864fe99c
MV
3565msgid "scope"
3566msgstr ""
3567
3568#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3569#: apt.conf.5.xml
864fe99c
MV
3570msgid ""
3571"Acquiring changelogs can only be done if an URI is known from where to get "
3572"them. Preferable the Release file indicates this in a 'Changelogs' field. "
3573"If this isn't available the Label/Origin field of the Release file is used "
3574"to check if a <literal>Acquire::Changelogs::URI::Label::<replaceable>LABEL</"
3575"replaceable></literal> or <literal>Acquire::Changelogs::URI::Origin::"
3576"<replaceable>ORIGIN</replaceable></literal> option exists and if so this "
3577"value is taken. The value in the Release file can be overridden with "
3578"<literal>Acquire::Changelogs::URI::Override::Label::<replaceable>LABEL</"
3579"replaceable></literal> or <literal>Acquire::Changelogs::URI::Override::"
3580"Origin::<replaceable>ORIGIN</replaceable></literal>. The value should be a "
2ffd3535 3581"normal URI to a text file, except that package specific data is replaced "
b3c63712
JAK
3582"with the placeholder <literal>@CHANGEPATH@</literal>. The value for it is: "
3583"1. if the package is from a component (e.g. <literal>main</literal>) this "
3584"is the first part otherwise it is omitted, 2. the first letter of source "
2ffd3535 3585"package name, except if the source package name starts with '<literal>lib</"
864fe99c
MV
3586"literal>' in which case it will be the first four letters. 3. The complete "
3587"source package name. 4. the complete name again and 5. the source version. "
3588"The first (if present), second, third and fourth part are separated by a "
3589"slash ('<literal>/</literal>') and between the fourth and fifth part is an "
3590"underscore ('<literal>_</literal>'). The special value '<literal>no</"
3591"literal>' is available for this option indicating that this source can't be "
3592"used to acquire changelog files from. Another source will be tried if "
3593"available in this case."
3594msgstr ""
3595
cbbee23e
DK
3596#. type: Content of: <refentry><refsect1><title>
3597#: apt.conf.5.xml
3598msgid "Binary specific configuration"
3599msgstr ""
3600
3601#. type: Content of: <refentry><refsect1><para>
3602#: apt.conf.5.xml
3603msgid ""
3604"Especially with the introduction of the <command>apt</command> binary it can "
3605"be useful to set certain options only for a specific binary as even options "
3606"which look like they would effect only a certain binary like <option>APT::"
3607"Get::Show-Versions</option> effect <command>apt-get</command> as well as "
3608"<command>apt</command>."
3609msgstr ""
3610
3611#. type: Content of: <refentry><refsect1><para>
3612#: apt.conf.5.xml
3613msgid ""
3614"Setting an option for a specific binary only can be achieved by setting the "
3615"option inside the <option>Binary::<replaceable>specific-binary</"
3616"replaceable></option> scope. Setting the option <option>APT::Get::Show-"
3617"Versions</option> for the <command>apt</command> only can e.g. by done by "
3618"setting <option>Binary::apt::APT::Get::Show-Versions</option> instead."
3619msgstr ""
3620
3621#. type: Content of: <refentry><refsect1><para>
3622#: apt.conf.5.xml
3623msgid ""
3624"Note that as seen in the DESCRIPTION section further above you can't set "
3625"binary-specific options on the commandline itself nor in configuration files "
3626"loaded via the commandline."
3627msgstr ""
3628
fec6996f 3629#. type: Content of: <refentry><refsect1><title>
04f27fae 3630#: apt.conf.5.xml
7d76ea1d 3631msgid "Directories"
fec6996f
DK
3632msgstr ""
3633
3634#. type: Content of: <refentry><refsect1><para>
04f27fae 3635#: apt.conf.5.xml
fec6996f 3636msgid ""
7d76ea1d
DK
3637"The <literal>Dir::State</literal> section has directories that pertain to "
3638"local state information. <literal>lists</literal> is the directory to place "
3639"downloaded package lists in and <literal>status</literal> is the name of the "
5723791e 3640"&dpkg; status file. <literal>preferences</literal> is the name of the APT "
7d76ea1d 3641"<filename>preferences</filename> file. <literal>Dir::State</literal> "
5723791e 3642"contains the default directory to prefix on all sub-items if they do not "
7d76ea1d 3643"start with <filename>/</filename> or <filename>./</filename>."
fec6996f
DK
3644msgstr ""
3645
7d76ea1d 3646#. type: Content of: <refentry><refsect1><para>
04f27fae 3647#: apt.conf.5.xml
fec6996f 3648msgid ""
7d76ea1d
DK
3649"<literal>Dir::Cache</literal> contains locations pertaining to local cache "
3650"information, such as the two package caches <literal>srcpkgcache</literal> "
3651"and <literal>pkgcache</literal> as well as the location to place downloaded "
3652"archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
1e7ec0d8
MV
3653"be turned off by setting <literal>pkgcache</literal> or "
3654"<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow "
5723791e 3655"down startup but save disk space. It is probably preferable to turn off the "
1e7ec0d8
MV
3656"pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> "
3657"the default directory is contained in <literal>Dir::Cache</literal>"
fec6996f
DK
3658msgstr ""
3659
7d76ea1d 3660#. type: Content of: <refentry><refsect1><para>
04f27fae 3661#: apt.conf.5.xml
fec6996f 3662msgid ""
7d76ea1d
DK
3663"<literal>Dir::Etc</literal> contains the location of configuration files, "
3664"<literal>sourcelist</literal> gives the location of the sourcelist and "
3665"<literal>main</literal> is the default configuration file (setting has no "
3666"effect, unless it is done from the config file specified by "
3667"<envar>APT_CONFIG</envar>)."
fec6996f
DK
3668msgstr ""
3669
7d76ea1d 3670#. type: Content of: <refentry><refsect1><para>
04f27fae 3671#: apt.conf.5.xml
fec6996f 3672msgid ""
7d76ea1d
DK
3673"The <literal>Dir::Parts</literal> setting reads in all the config fragments "
3674"in lexical order from the directory specified. After this is done then the "
3675"main config file is loaded."
fec6996f
DK
3676msgstr ""
3677
3678#. type: Content of: <refentry><refsect1><para>
04f27fae 3679#: apt.conf.5.xml
fec6996f 3680msgid ""
7d76ea1d
DK
3681"Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::"
3682"Bin::Methods</literal> specifies the location of the method handlers and "
3683"<literal>gzip</literal>, <literal>bzip2</literal>, <literal>lzma</literal>, "
3684"<literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</"
3685"literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</"
3686"literal> specify the location of the respective programs."
fec6996f
DK
3687msgstr ""
3688
3689#. type: Content of: <refentry><refsect1><para>
04f27fae 3690#: apt.conf.5.xml
fec6996f 3691msgid ""
7d76ea1d 3692"The configuration item <literal>RootDir</literal> has a special meaning. If "
864fe99c
MV
3693"set, all paths will be relative to <literal>RootDir</literal>, "
3694"<emphasis>even paths that are specified absolutely</emphasis>. So, for "
3695"instance, if <literal>RootDir</literal> is set to <filename>/tmp/staging</"
3696"filename> and <literal>Dir::State::status</literal> is set to <filename>/var/"
3697"lib/dpkg/status</filename>, then the status file will be looked up in "
3698"<filename>/tmp/staging/var/lib/dpkg/status</filename>. If you want to "
3699"prefix only relative paths, set <literal>Dir</literal> instead."
fec6996f
DK
3700msgstr ""
3701
3702#. type: Content of: <refentry><refsect1><para>
04f27fae 3703#: apt.conf.5.xml
fec6996f 3704msgid ""
7d76ea1d
DK
3705"The <literal>Ignore-Files-Silently</literal> list can be used to specify "
3706"which files APT should silently ignore while parsing the files in the "
3707"fragment directories. Per default a file which end with <literal>.disabled</"
3708"literal>, <literal>~</literal>, <literal>.bak</literal> or <literal>.dpkg-[a-"
3709"z]+</literal> is silently ignored. As seen in the last default value these "
3710"patterns can use regular expression syntax."
fec6996f
DK
3711msgstr ""
3712
3713#. type: Content of: <refentry><refsect1><title>
04f27fae 3714#: apt.conf.5.xml
7d76ea1d 3715msgid "APT in DSelect"
fec6996f
DK
3716msgstr ""
3717
3718#. type: Content of: <refentry><refsect1><para>
04f27fae 3719#: apt.conf.5.xml
fec6996f 3720msgid ""
7d76ea1d 3721"When APT is used as a &dselect; method several configuration directives "
5723791e 3722"control the default behavior. These are in the <literal>DSelect</literal> "
7d76ea1d 3723"section."
fec6996f
DK
3724msgstr ""
3725
7d76ea1d 3726#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3727#: apt.conf.5.xml
fec6996f 3728msgid ""
5723791e
JR
3729"Cache Clean mode; this value may be one of <literal>always</literal>, "
3730"<literal>prompt</literal>, <literal>auto</literal>, <literal>pre-auto</"
3731"literal> and <literal>never</literal>. <literal>always</literal> and "
3732"<literal>prompt</literal> will remove all packages from the cache after "
3733"upgrading, <literal>prompt</literal> (the default) does so conditionally. "
3734"<literal>auto</literal> removes only those packages which are no longer "
3735"downloadable (replaced with a new version for instance). <literal>pre-auto</"
3736"literal> performs this action before downloading new packages."
fec6996f
DK
3737msgstr ""
3738
fec6996f 3739#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3740#: apt.conf.5.xml
fec6996f 3741msgid ""
5723791e
JR
3742"The contents of this variable are passed to &apt-get; as command line "
3743"options when it is run for the install phase."
fec6996f
DK
3744msgstr ""
3745
7d76ea1d 3746#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3747#: apt.conf.5.xml
fec6996f 3748msgid ""
5723791e
JR
3749"The contents of this variable are passed to &apt-get; as command line "
3750"options when it is run for the update phase."
89fd753d
MV
3751msgstr ""
3752
7d76ea1d 3753#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3754#: apt.conf.5.xml
7d76ea1d
DK
3755msgid ""
3756"If true the [U]pdate operation in &dselect; will always prompt to continue. "
3757"The default is to prompt only on error."
fec6996f
DK
3758msgstr ""
3759
7d76ea1d 3760#. type: Content of: <refentry><refsect1><title>
04f27fae 3761#: apt.conf.5.xml
5723791e 3762msgid "How APT calls &dpkg;"
fec6996f
DK
3763msgstr ""
3764
3765#. type: Content of: <refentry><refsect1><para>
04f27fae 3766#: apt.conf.5.xml
fec6996f 3767msgid ""
7d76ea1d
DK
3768"Several configuration directives control how APT invokes &dpkg;. These are "
3769"in the <literal>DPkg</literal> section."
b39c1859
MV
3770msgstr ""
3771
7d76ea1d 3772#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3773#: apt.conf.5.xml
b39c1859 3774msgid ""
5723791e 3775"This is a list of options to pass to &dpkg;. The options must be specified "
7d76ea1d
DK
3776"using the list notation and each list item is passed as a single argument to "
3777"&dpkg;."
b39c1859
MV
3778msgstr ""
3779
7d76ea1d 3780#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3781#: apt.conf.5.xml
b39c1859 3782msgid ""
7d76ea1d
DK
3783"This is a list of shell commands to run before/after invoking &dpkg;. Like "
3784"<literal>options</literal> this must be specified in list notation. The "
5723791e 3785"commands are invoked in order using <filename>/bin/sh</filename>; should any "
7d76ea1d 3786"fail APT will abort."
b39c1859
MV
3787msgstr ""
3788
7d76ea1d 3789#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3790#: apt.conf.5.xml
b39c1859 3791msgid ""
5723791e 3792"This is a list of shell commands to run before invoking &dpkg;. Like "
7d76ea1d 3793"<literal>options</literal> this must be specified in list notation. The "
5723791e
JR
3794"commands are invoked in order using <filename>/bin/sh</filename>; should any "
3795"fail APT will abort. APT will pass the filenames of all .deb files it is "
ce34af08
MV
3796"going to install to the commands, one per line on the requested file "
3797"descriptor, defaulting to standard input."
b39c1859
MV
3798msgstr ""
3799
7d76ea1d 3800#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3801#: apt.conf.5.xml
864fe99c
MV
3802msgid ""
3803"Version 2 of this protocol sends more information through the requested file "
3804"descriptor: a line with the text <literal>VERSION 2</literal>, the APT "
3805"configuration space, and a list of package actions with filename and version "
3806"information."
3807msgstr ""
3808
3809#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3810#: apt.conf.5.xml
864fe99c
MV
3811msgid ""
3812"Each configuration directive line has the form <literal>key=value</"
3813"literal>. Special characters (equal signs, newlines, nonprintable "
3814"characters, quotation marks, and percent signs in <literal>key</literal> and "
3815"newlines, nonprintable characters, and percent signs in <literal>value</"
3816"literal>) are %-encoded. Lists are represented by multiple <literal>key::"
3817"=value</literal> lines with the same key. The configuration section ends "
3818"with a blank line."
3819msgstr ""
3820
3821#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3822#: apt.conf.5.xml
864fe99c 3823msgid ""
2ffd3535
BT
3824"Package action lines consist of five fields in Version 2: package name "
3825"(without architecture qualification even if foreign), old version, direction "
3826"of version change (&lt; for upgrades, &gt; for downgrades, = for no change), "
3827"new version, action. The version fields are \"-\" for no version at all (for "
3828"example when installing a package for the first time; no version is treated "
3829"as earlier than any real version, so that is an upgrade, indicated as "
3830"<literal>- &lt; 1.23.4</literal>). The action field is \"**CONFIGURE**\" if "
3831"the package is being configured, \"**REMOVE**\" if it is being removed, or "
3832"the filename of a .deb file if it is being unpacked."
864fe99c
MV
3833msgstr ""
3834
3835#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3836#: apt.conf.5.xml
b39c1859 3837msgid ""
864fe99c
MV
3838"In Version 3 after each version field follows the architecture of this "
3839"version, which is \"-\" if there is no version, and a field showing the "
2ffd3535
BT
3840"MultiArch type \"same\", \"foreign\", \"allowed\" or \"none\". Note that "
3841"\"none\" is an incorrect typename which is just kept to remain compatible, "
3842"it should be read as \"no\" and users are encouraged to support both."
ce34af08
MV
3843msgstr ""
3844
3845#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3846#: apt.conf.5.xml
ce34af08
MV
3847msgid ""
3848"The version of the protocol to be used for the command "
3849"<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
3850"<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</"
3851"literal> accordingly, the default being version 1. If APT isn't supporting "
3852"the requested version it will send the information in the highest version it "
3853"has support for instead."
3854msgstr ""
3855
3856#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3857#: apt.conf.5.xml
ce34af08
MV
3858msgid ""
3859"The file descriptor to be used to send the information can be requested with "
3860"<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</"
3861"literal> which defaults to <literal>0</literal> for standard input and is "
3862"available since version 0.9.11. Support for the option can be detected by "
3863"looking for the environment variable <envar>APT_HOOK_INFO_FD</envar> which "
3864"contains the number of the used file descriptor as a confirmation."
b39c1859
MV
3865msgstr ""
3866
7d76ea1d 3867#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3868#: apt.conf.5.xml
b39c1859 3869msgid ""
5723791e
JR
3870"APT chdirs to this directory before invoking &dpkg;, the default is "
3871"<filename>/</filename>."
b39c1859
MV
3872msgstr ""
3873
7d76ea1d 3874#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3875#: apt.conf.5.xml
7d76ea1d 3876msgid ""
5723791e 3877"These options are passed to &dpkg-buildpackage; when compiling packages; the "
7d76ea1d 3878"default is to disable signing and produce all binaries."
fec6996f
DK
3879msgstr ""
3880
f8b879c2 3881#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3882#: apt.conf.5.xml
fec6996f 3883msgid ""
5723791e
JR
3884"If this option is set APT will call <command>dpkg --configure --pending</"
3885"command> to let &dpkg; handle all required configurations and triggers. This "
f8b879c2
JAK
3886"option is activated by default, but deactivating it could be useful if you "
3887"want to run APT multiple times in a row - e.g. in an installer. In this "
3888"scenario you could deactivate this option in all but the last run."
7d76ea1d
DK
3889msgstr ""
3890
3891#. type: Content of: <refentry><refsect1><title>
04f27fae 3892#: apt.conf.5.xml
7d76ea1d 3893msgid "Periodic and Archives options"
fec6996f
DK
3894msgstr ""
3895
3896#. type: Content of: <refentry><refsect1><para>
04f27fae 3897#: apt.conf.5.xml
fec6996f 3898msgid ""
7d76ea1d 3899"<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
5723791e 3900"of options configure behavior of apt periodic updates, which is done by the "
4adc750a
JAK
3901"<literal>/usr/lib/apt/apt.systemd.daily</literal> script. See the top of "
3902"this script for the brief documentation of these options."
fec6996f
DK
3903msgstr ""
3904
3905#. type: Content of: <refentry><refsect1><title>
04f27fae 3906#: apt.conf.5.xml
7d76ea1d 3907msgid "Debug options"
fec6996f
DK
3908msgstr ""
3909
3910#. type: Content of: <refentry><refsect1><para>
04f27fae 3911#: apt.conf.5.xml
fec6996f 3912msgid ""
7d76ea1d
DK
3913"Enabling options in the <literal>Debug::</literal> section will cause "
3914"debugging information to be sent to the standard error stream of the program "
3915"utilizing the <literal>apt</literal> libraries, or enable special program "
3916"modes that are primarily useful for debugging the behavior of <literal>apt</"
3917"literal>. Most of these options are not interesting to a normal user, but a "
3918"few may be:"
fec6996f
DK
3919msgstr ""
3920
7d76ea1d 3921#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3922#: apt.conf.5.xml
fec6996f 3923msgid ""
7d76ea1d
DK
3924"<literal>Debug::pkgProblemResolver</literal> enables output about the "
3925"decisions made by <literal>dist-upgrade, upgrade, install, remove, purge</"
3926"literal>."
fec6996f
DK
3927msgstr ""
3928
7d76ea1d 3929#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3930#: apt.conf.5.xml
c77d6597 3931msgid ""
7d76ea1d
DK
3932"<literal>Debug::NoLocking</literal> disables all file locking. This can be "
3933"used to run some operations (for instance, <literal>apt-get -s install</"
3934"literal>) as a non-root user."
c77d6597
MV
3935msgstr ""
3936
7d76ea1d 3937#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3938#: apt.conf.5.xml
fec6996f 3939msgid ""
7d76ea1d
DK
3940"<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
3941"time that <literal>apt</literal> invokes &dpkg;."
fec6996f
DK
3942msgstr ""
3943
7d76ea1d
DK
3944#. TODO: provide a
3945#. motivating example, except I haven't a clue why you'd want
3946#. to do this.
3947#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 3948#: apt.conf.5.xml
fec6996f 3949msgid ""
7d76ea1d
DK
3950"<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
3951"in CD-ROM IDs."
fec6996f
DK
3952msgstr ""
3953
7d76ea1d 3954#. type: Content of: <refentry><refsect1><para>
04f27fae 3955#: apt.conf.5.xml
7d76ea1d 3956msgid "A full list of debugging options to apt follows."
fec6996f
DK
3957msgstr ""
3958
fec6996f 3959#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3960#: apt.conf.5.xml
fec6996f 3961msgid ""
7d76ea1d 3962"Print information related to accessing <literal>cdrom://</literal> sources."
fec6996f
DK
3963msgstr ""
3964
fec6996f 3965#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3966#: apt.conf.5.xml
7d76ea1d 3967msgid "Print information related to downloading packages using FTP."
fec6996f
DK
3968msgstr ""
3969
fec6996f 3970#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3971#: apt.conf.5.xml
7d76ea1d 3972msgid "Print information related to downloading packages using HTTP."
fec6996f
DK
3973msgstr ""
3974
fec6996f 3975#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3976#: apt.conf.5.xml
7d76ea1d 3977msgid "Print information related to downloading packages using HTTPS."
fec6996f
DK
3978msgstr ""
3979
fec6996f 3980#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3981#: apt.conf.5.xml
fec6996f 3982msgid ""
7d76ea1d
DK
3983"Print information related to verifying cryptographic signatures using "
3984"<literal>gpg</literal>."
fec6996f
DK
3985msgstr ""
3986
fec6996f 3987#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3988#: apt.conf.5.xml
fec6996f 3989msgid ""
7d76ea1d
DK
3990"Output information about the process of accessing collections of packages "
3991"stored on CD-ROMs."
fec6996f
DK
3992msgstr ""
3993
3994#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 3995#: apt.conf.5.xml
7d76ea1d 3996msgid "Describes the process of resolving build-dependencies in &apt-get;."
fec6996f
DK
3997msgstr ""
3998
7d76ea1d 3999#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4000#: apt.conf.5.xml
7d76ea1d
DK
4001msgid ""
4002"Output each cryptographic hash that is generated by the <literal>apt</"
4003"literal> libraries."
fec6996f
DK
4004msgstr ""
4005
7d76ea1d 4006#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4007#: apt.conf.5.xml
187aa32e 4008msgid ""
7d76ea1d
DK
4009"Do not include information from <literal>statfs</literal>, namely the number "
4010"of used and free blocks on the CD-ROM filesystem, when generating an ID for "
4011"a CD-ROM."
187aa32e
DK
4012msgstr ""
4013
7d76ea1d 4014#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4015#: apt.conf.5.xml
b6c6b52f 4016msgid ""
7d76ea1d
DK
4017"Disable all file locking. For instance, this will allow two instances of "
4018"<quote><literal>apt-get update</literal></quote> to run at the same time."
b6c6b52f
MV
4019msgstr ""
4020
7d76ea1d 4021#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4022#: apt.conf.5.xml
7d76ea1d 4023msgid "Log when items are added to or removed from the global download queue."
b6c6b52f
MV
4024msgstr ""
4025
7d76ea1d 4026#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4027#: apt.conf.5.xml
c77d6597 4028msgid ""
7d76ea1d
DK
4029"Output status messages and errors related to verifying checksums and "
4030"cryptographic signatures of downloaded files."
c77d6597
MV
4031msgstr ""
4032
7d76ea1d 4033#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4034#: apt.conf.5.xml
fec6996f 4035msgid ""
7d76ea1d
DK
4036"Output information about downloading and applying package index list diffs, "
4037"and errors relating to package index list diffs."
fec6996f
DK
4038msgstr ""
4039
7d76ea1d 4040#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4041#: apt.conf.5.xml
b39c1859 4042msgid ""
7d76ea1d
DK
4043"Output information related to patching apt package lists when downloading "
4044"index diffs instead of full indices."
b39c1859
MV
4045msgstr ""
4046
7d76ea1d 4047#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4048#: apt.conf.5.xml
fec6996f 4049msgid ""
7d76ea1d 4050"Log all interactions with the sub-processes that actually perform downloads."
fec6996f
DK
4051msgstr ""
4052
7d76ea1d 4053#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4054#: apt.conf.5.xml
fec6996f 4055msgid ""
7d76ea1d
DK
4056"Log events related to the automatically-installed status of packages and to "
4057"the removal of unused packages."
fec6996f
DK
4058msgstr ""
4059
7d76ea1d 4060#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4061#: apt.conf.5.xml
fec6996f 4062msgid ""
7d76ea1d
DK
4063"Generate debug messages describing which packages are being automatically "
4064"installed to resolve dependencies. This corresponds to the initial auto-"
4065"install pass performed in, e.g., <literal>apt-get install</literal>, and not "
4066"to the full <literal>apt</literal> dependency resolver; see <literal>Debug::"
4067"pkgProblemResolver</literal> for that."
fec6996f
DK
4068msgstr ""
4069
7d76ea1d 4070#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4071#: apt.conf.5.xml
fec6996f 4072msgid ""
5723791e 4073"Generate debug messages describing which packages are marked as keep/install/"
7d76ea1d 4074"remove while the ProblemResolver does his work. Each addition or deletion "
5723791e
JR
4075"may trigger additional actions; they are shown indented two additional "
4076"spaces under the original entry. The format for each line is "
4077"<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
4078"<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c -"
4079"&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> is "
4080"the current version of the package, <literal>d.e.f</literal> is the version "
4081"considered for installation and <literal>x.y.z</literal> is a newer version, "
4082"but not considered for installation (because of a low pin score). The later "
4083"two can be omitted if there is none or if it is the same as the installed "
4084"version. <literal>section</literal> is the name of the section the package "
4085"appears in."
fec6996f
DK
4086msgstr ""
4087
7d76ea1d 4088#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4089#: apt.conf.5.xml
fec6996f 4090msgid ""
7d76ea1d
DK
4091"When invoking &dpkg;, output the precise command line with which it is being "
4092"invoked, with arguments separated by a single space character."
fec6996f
DK
4093msgstr ""
4094
7d76ea1d 4095#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4096#: apt.conf.5.xml
fec6996f 4097msgid ""
7d76ea1d
DK
4098"Output all the data received from &dpkg; on the status file descriptor and "
4099"any errors encountered while parsing it."
fec6996f
DK
4100msgstr ""
4101
7d76ea1d 4102#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4103#: apt.conf.5.xml
c086ac18 4104msgid ""
7d76ea1d
DK
4105"Generate a trace of the algorithm that decides the order in which "
4106"<literal>apt</literal> should pass packages to &dpkg;."
c086ac18
DK
4107msgstr ""
4108
7d76ea1d 4109#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4110#: apt.conf.5.xml
fec6996f 4111msgid ""
7d76ea1d 4112"Output status messages tracing the steps performed when invoking &dpkg;."
fec6996f
DK
4113msgstr ""
4114
7d76ea1d 4115#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4116#: apt.conf.5.xml
7d76ea1d
DK
4117msgid "Output the priority of each package list on startup."
4118msgstr ""
4119
4120#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4121#: apt.conf.5.xml
bf5c3fe8 4122msgid ""
7d76ea1d
DK
4123"Trace the execution of the dependency resolver (this applies only to what "
4124"happens when a complex dependency problem is encountered)."
bf5c3fe8
MV
4125msgstr ""
4126
7d76ea1d 4127#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4128#: apt.conf.5.xml
fec6996f 4129msgid ""
7d76ea1d
DK
4130"Display a list of all installed packages with their calculated score used by "
4131"the pkgProblemResolver. The description of the package is the same as "
4132"described in <literal>Debug::pkgDepCache::Marker</literal>"
fec6996f
DK
4133msgstr ""
4134
7d76ea1d 4135#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4136#: apt.conf.5.xml
fec6996f 4137msgid ""
7d76ea1d
DK
4138"Print information about the vendors read from <filename>/etc/apt/vendors."
4139"list</filename>."
fec6996f
DK
4140msgstr ""
4141
93ae7f7f 4142#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 4143#: apt.conf.5.xml
93ae7f7f
MV
4144msgid ""
4145"Display the external commands that are called by apt hooks. This includes e."
4146"g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
4147"<literal>APT::Update::{Pre,Post}-Invoke</literal>."
4148msgstr ""
4149
7d76ea1d 4150#. type: Content of: <refentry><refsect1><title>
4c482ac5 4151#: apt.conf.5.xml apt_preferences.5.xml sources.list.5.xml apt-ftparchive.1.xml
7d76ea1d
DK
4152msgid "Examples"
4153msgstr "Exemplos"
fec6996f 4154
7d76ea1d 4155#. type: Content of: <refentry><refsect1><para>
04f27fae 4156#: apt.conf.5.xml
fec6996f 4157msgid ""
7d76ea1d
DK
4158"&configureindex; is a configuration file showing example values for all "
4159"possible options."
fec6996f
DK
4160msgstr ""
4161
7d76ea1d
DK
4162#. ? reading apt.conf
4163#. type: Content of: <refentry><refsect1><para>
04f27fae 4164#: apt.conf.5.xml
7d76ea1d 4165msgid "&apt-cache;, &apt-config;, &apt-preferences;."
769e06cf 4166msgstr "&apt-cache;, &apt-config;, &apt-preferences;."
7d76ea1d
DK
4167
4168#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 4169#: apt_preferences.5.xml
7d76ea1d
DK
4170#, fuzzy
4171msgid "Preference control file for APT"
4172msgstr "Arquivo de controle de preferências para o APT"
4173
4174#. type: Content of: <refentry><refsect1><para>
04f27fae 4175#: apt_preferences.5.xml
7d76ea1d 4176#, fuzzy
fec6996f 4177msgid ""
7d76ea1d
DK
4178"The APT preferences file <filename>/etc/apt/preferences</filename> and the "
4179"fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
4180"can be used to control which versions of packages will be selected for "
4181"installation."
fec6996f 4182msgstr ""
7d76ea1d
DK
4183"O arquivo de preferências do APT <filename>/etc/apt/preferences</filename> "
4184"pode ser usado para controlar quais versões de pacotes serão selecionadas "
4185"para instalação."
fec6996f 4186
7d76ea1d 4187#. type: Content of: <refentry><refsect1><para>
04f27fae 4188#: apt_preferences.5.xml
7d76ea1d 4189#, fuzzy
fec6996f 4190msgid ""
7d76ea1d
DK
4191"Several versions of a package may be available for installation when the "
4192"&sources-list; file contains references to more than one distribution (for "
4193"example, <literal>stable</literal> and <literal>testing</literal>). APT "
4194"assigns a priority to each version that is available. Subject to dependency "
4195"constraints, <command>apt-get</command> selects the version with the highest "
44477002
JR
4196"priority for installation. The APT preferences override the priorities that "
4197"APT assigns to package versions by default, thus giving the user control "
4198"over which one is selected for installation."
fec6996f 4199msgstr ""
7d76ea1d
DK
4200"Diversas versões de um pacote podem estar disponíveis para instalação quando "
4201"o arquivo &sources-list; contém referências para mais de uma distribuição "
4202"(por exemplo, <literal>stable</literal> e <literal>testing</literal>). O APT "
4203"atribui uma prioridade para cada versão que esteja disponível. Sujeito a "
4204"obstáculos de dependências, o <command>apt-get</command> seleciona para "
4205"instalação a versão com a maior prioridade. O arquivo de preferências do APT "
4206"sobrepoe as prioridades que o APT atribui a cada versão de pacote por "
4207"padrão, dando assim ao usuário controle sobre qual versão do pacote é "
4208"selecionada para instalação."
fec6996f 4209
7d76ea1d 4210#. type: Content of: <refentry><refsect1><para>
04f27fae 4211#: apt_preferences.5.xml
7d76ea1d
DK
4212#, fuzzy
4213msgid ""
4214"Several instances of the same version of a package may be available when the "
4215"&sources-list; file contains references to more than one source. In this "
4216"case <command>apt-get</command> downloads the instance listed earliest in "
44477002
JR
4217"the &sources-list; file. The APT preferences do not affect the choice of "
4218"instance, only the choice of version."
fec6996f 4219msgstr ""
7d76ea1d
DK
4220"Diversas instâncias da mesma versão de um pacote pode estar disponíveis "
4221"quando o arquivo &sources-list; contém referências a mais de uma fonte. "
4222"Nesse caso, o <command>apt-get</command> faz o download da instância listada "
4223"antes no arquivo &sources-list; . O arquivo de preferências do APT não afeta "
4224"a escolha da instância."
fec6996f 4225
7d76ea1d 4226#. type: Content of: <refentry><refsect1><para>
04f27fae 4227#: apt_preferences.5.xml
fec6996f 4228msgid ""
7d76ea1d
DK
4229"Preferences are a strong power in the hands of a system administrator but "
4230"they can become also their biggest nightmare if used without care! APT will "
44477002
JR
4231"not question the preferences, so wrong settings can lead to uninstallable "
4232"packages or wrong decisions while upgrading packages. Even more problems "
4233"will arise if multiple distribution releases are mixed without a good "
4234"understanding of the following paragraphs. Packages included in a specific "
4235"release aren't tested in (and therefore don't always work as expected in) "
4236"older or newer releases, or together with other packages from different "
4237"releases. You have been warned."
fec6996f
DK
4238msgstr ""
4239
7d76ea1d 4240#. type: Content of: <refentry><refsect1><para>
04f27fae 4241#: apt_preferences.5.xml
fec6996f 4242msgid ""
7d76ea1d
DK
4243"Note that the files in the <filename>/etc/apt/preferences.d</filename> "
4244"directory are parsed in alphanumeric ascending order and need to obey the "
4245"following naming convention: The files have either no or \"<literal>pref</"
4246"literal>\" as filename extension and only contain alphanumeric, hyphen (-), "
4247"underscore (_) and period (.) characters. Otherwise APT will print a notice "
44477002 4248"that it has ignored a file, unless that file matches a pattern in the "
5723791e 4249"<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
7d76ea1d 4250"case it will be silently ignored."
fec6996f
DK
4251msgstr ""
4252
7d76ea1d 4253#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4254#: apt_preferences.5.xml
7d76ea1d
DK
4255#, fuzzy
4256msgid "APT's Default Priority Assignments"
4257msgstr "Atribuições de Prioridade Padrão do APT"
fec6996f 4258
7d76ea1d 4259#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 4260#: apt_preferences.5.xml
7d76ea1d
DK
4261#, fuzzy, no-wrap
4262msgid "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
fec6996f 4263msgstr ""
7d76ea1d
DK
4264"<programlisting>\n"
4265"<command>apt-get install -t testing <replaceable>algum-pacote</replaceable></command>\n"
fec6996f 4266
7d76ea1d 4267#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 4268#: apt_preferences.5.xml
769e06cf 4269#, no-wrap
7d76ea1d 4270msgid "APT::Default-Release \"stable\";\n"
769e06cf 4271msgstr "APT::Default-Release \"stable\";\n"
fec6996f 4272
7d76ea1d 4273#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4274#: apt_preferences.5.xml
7d76ea1d
DK
4275#, fuzzy
4276msgid ""
4277"If there is no preferences file or if there is no entry in the file that "
4278"applies to a particular version then the priority assigned to that version "
4279"is the priority of the distribution to which that version belongs. It is "
4280"possible to single out a distribution, \"the target release\", which "
4281"receives a higher priority than other distributions do by default. The "
4282"target release can be set on the <command>apt-get</command> command line or "
4283"in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
4284"that this has precedence over any general priority you set in the <filename>/"
4285"etc/apt/preferences</filename> file described later, but not over "
4286"specifically pinned packages. For example, <placeholder type="
4287"\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
fec6996f 4288msgstr ""
7d76ea1d
DK
4289"Caso não exista um arquivo de preferências ou caso não exista uma entrada no "
4290"arquivo que se aplique a uma instância em particular, a prioridade atribuída "
4291"a essa instância é a prioridade da distribuição para a qual a instância "
4292"pertence. É possível selecionar uma distribuição, conhecida como \"a versão "
4293"alvo\" (the target release), que recebe uma prioridade maior do que as "
4294"outras distribuições. A versão alvo pode ser definida na linha de comando do "
4295"<command>apt-get</command> ou no arquivo de configuração do APT <filename>/"
4296"etc/apt/apt.conf</filename>. Por exemplo,"
fec6996f 4297
7d76ea1d 4298#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4299#: apt_preferences.5.xml
7d76ea1d 4300#, fuzzy
fec6996f 4301msgid ""
7d76ea1d
DK
4302"If the target release has been specified then APT uses the following "
4303"algorithm to set the priorities of the versions of a package. Assign:"
fec6996f 4304msgstr ""
7d76ea1d
DK
4305"Caso uma versão alvo tenha sido especificada o APT usará o seguinte "
4306"algoritmo para definir as prioridades das instâncias de um pacote. "
4307"Atribuirá :"
fec6996f 4308
7d76ea1d 4309#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4310#: apt_preferences.5.xml
7d76ea1d
DK
4311#, fuzzy
4312msgid "priority 1"
4313msgstr "prioridade 100"
fec6996f 4314
7d76ea1d 4315#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4316#: apt_preferences.5.xml
fec6996f 4317msgid ""
7d76ea1d
DK
4318"to the versions coming from archives which in their <filename>Release</"
4319"filename> files are marked as \"NotAutomatic: yes\" but <emphasis>not</"
44477002 4320"emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
7d76ea1d 4321"<literal>experimental</literal> archive."
fec6996f
DK
4322msgstr ""
4323
7d76ea1d 4324#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4325#: apt_preferences.5.xml
7d76ea1d
DK
4326#, fuzzy
4327msgid "priority 100"
4328msgstr "prioridade 100"
fec6996f 4329
7d76ea1d 4330#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4331#: apt_preferences.5.xml
3184b4cf 4332msgid ""
7d76ea1d
DK
4333"to the version that is already installed (if any) and to the versions coming "
4334"from archives which in their <filename>Release</filename> files are marked "
44477002 4335"as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
7d76ea1d 4336"backports archive since <literal>squeeze-backports</literal>."
3184b4cf
DK
4337msgstr ""
4338
7d76ea1d 4339#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4340#: apt_preferences.5.xml
7d76ea1d
DK
4341#, fuzzy
4342msgid "priority 500"
4343msgstr "prioridade 500"
4344
4345#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4346#: apt_preferences.5.xml
7d76ea1d 4347#, fuzzy
864fe99c 4348msgid "to the versions that do not belong to the target release."
bf5c3fe8 4349msgstr ""
864fe99c 4350"para as instâncias que não estejam instaladas e pertençam a versão alvo."
bf5c3fe8 4351
7d76ea1d 4352#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4353#: apt_preferences.5.xml
7d76ea1d
DK
4354#, fuzzy
4355msgid "priority 990"
4356msgstr "prioridade 990"
bf5c3fe8 4357
7d76ea1d 4358#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4359#: apt_preferences.5.xml
7d76ea1d 4360#, fuzzy
864fe99c 4361msgid "to the versions that belong to the target release."
bf5c3fe8 4362msgstr ""
7d76ea1d 4363"para as instâncias que não estejam instaladas e pertençam a versão alvo."
bf5c3fe8 4364
7d76ea1d 4365#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4366#: apt_preferences.5.xml
864fe99c
MV
4367msgid ""
4368"The highest of those priorities whose description matches the version is "
4369"assigned to the version."
4370msgstr ""
4371
4372#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4373#: apt_preferences.5.xml
7d76ea1d 4374#, fuzzy
c086ac18 4375msgid ""
7d76ea1d
DK
4376"If the target release has not been specified then APT simply assigns "
4377"priority 100 to all installed package versions and priority 500 to all "
4378"uninstalled package versions, except versions coming from archives which in "
4379"their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
4380"- these versions get the priority 1 or priority 100 if it is additionally "
4381"marked as \"ButAutomaticUpgrades: yes\"."
fec6996f 4382msgstr ""
7d76ea1d
DK
4383"Caso nenhuma versão alvo tenha sido especificada, o APT simplesmente irá "
4384"atribuir a prioridade 100 para todas as instâncias de pacotes instaladas e a "
4385"prioridade 500 para todas as instâncias de pacotes não instaladas."
fec6996f 4386
7d76ea1d 4387#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4388#: apt_preferences.5.xml
7d76ea1d 4389#, fuzzy
fec6996f 4390msgid ""
7d76ea1d
DK
4391"APT then applies the following rules, listed in order of precedence, to "
4392"determine which version of a package to install."
fec6996f 4393msgstr ""
7d76ea1d
DK
4394"O APT aplica as regras a seguir, listadas em ordem de precedência, para "
4395"determinar qual instância de um pacote instalar."
fec6996f 4396
7d76ea1d 4397#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4398#: apt_preferences.5.xml
7d76ea1d 4399#, fuzzy
fec6996f 4400msgid ""
7d76ea1d
DK
4401"Never downgrade unless the priority of an available version exceeds 1000. "
4402"(\"Downgrading\" is installing a less recent version of a package in place "
4403"of a more recent version. Note that none of APT's default priorities "
4404"exceeds 1000; such high priorities can only be set in the preferences file. "
4405"Note also that downgrading a package can be risky.)"
fec6996f 4406msgstr ""
7d76ea1d
DK
4407"Nunca faz um downgrade a menos que a prioridade de uma instância disponível "
4408"exceda 1000. (Fazer um \"downgrade\" é instalar uma versão menos recente de "
4409"um pacote no lugar de uma versão mais recente. Note que nenhuma das "
4410"prioridades padrão do APT excede 1000; prioridades altas como essa podem ser "
4411"definidas somente no arquivo de preferências. Note também que fazer um "
4412"\"downgrade\" pode ser arriscado.)"
fec6996f 4413
7d76ea1d 4414#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4415#: apt_preferences.5.xml
7d76ea1d
DK
4416#, fuzzy
4417msgid "Install the highest priority version."
4418msgstr "Instala a instância de prioridade mais alta."
fec6996f 4419
7d76ea1d 4420#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4421#: apt_preferences.5.xml
7d76ea1d 4422#, fuzzy
fec6996f 4423msgid ""
7d76ea1d
DK
4424"If two or more versions have the same priority, install the most recent one "
4425"(that is, the one with the higher version number)."
fec6996f 4426msgstr ""
7d76ea1d
DK
4427"Caso duas ou mais instâncias possuam a mesma prioridade, instala a instância "
4428"mais recente (ou seja, aquela com o maior número de versão)."
fec6996f 4429
7d76ea1d 4430#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4431#: apt_preferences.5.xml
7d76ea1d 4432#, fuzzy
fec6996f 4433msgid ""
7d76ea1d
DK
4434"If two or more versions have the same priority and version number but either "
4435"the packages differ in some of their metadata or the <literal>--reinstall</"
4436"literal> option is given, install the uninstalled one."
fec6996f 4437msgstr ""
7d76ea1d
DK
4438"Caso duas ou mais instâncias possuam a mesma prioridade e número de versão "
4439"mas os pacotes sejam diferentes em alguns de seus metadados ou a opção "
4440"<literal>--reinstall</literal> seja fornecida, instala aquela desinstalada."
fec6996f 4441
7d76ea1d 4442#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4443#: apt_preferences.5.xml
7d76ea1d 4444#, fuzzy
fec6996f 4445msgid ""
7d76ea1d
DK
4446"In a typical situation, the installed version of a package (priority 100) "
4447"is not as recent as one of the versions available from the sources listed in "
4448"the &sources-list; file (priority 500 or 990). Then the package will be "
4449"upgraded when <command>apt-get install <replaceable>some-package</"
4450"replaceable></command> or <command>apt-get upgrade</command> is executed."
fec6996f 4451msgstr ""
7d76ea1d
DK
4452"Em uma situação típica, a instância instalada de um pacote (prioridade 100) "
4453"não é tão recente quanto uma das versões disponíveis nas fontes listadas no "
4454"arquivo &sources-list; (prioridade 500 ou 990). Então o pacote será "
4455"atualizado quando os comandos <command>apt-get install <replaceable>algum-"
4456"pacote</replaceable></command> ou <command>apt-get dist-upgrade</command> "
4457"forem executados."
fec6996f 4458
7d76ea1d 4459#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4460#: apt_preferences.5.xml
7d76ea1d 4461#, fuzzy
b6c6b52f 4462msgid ""
7d76ea1d
DK
4463"More rarely, the installed version of a package is <emphasis>more</emphasis> "
4464"recent than any of the other available versions. The package will not be "
4465"downgraded when <command>apt-get install <replaceable>some-package</"
4466"replaceable></command> or <command>apt-get upgrade</command> is executed."
fec6996f 4467msgstr ""
7d76ea1d
DK
4468"Mais raramente, a versão instalada de um pacote é <emphasis>mais</emphasis> "
4469"recente do que qualquer uma das outras versões disponíveis. O dowgrade do "
4470"pacote não será feito quando os comandos <command>apt-get install "
4471"<replaceable>algum-pacote</replaceable></command> ou <command>apt-get "
4472"upgrade</command> forem executados."
fec6996f 4473
7d76ea1d 4474#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4475#: apt_preferences.5.xml
7d76ea1d 4476#, fuzzy
fec6996f 4477msgid ""
7d76ea1d
DK
4478"Sometimes the installed version of a package is more recent than the version "
4479"belonging to the target release, but not as recent as a version belonging to "
4480"some other distribution. Such a package will indeed be upgraded when "
4481"<command>apt-get install <replaceable>some-package</replaceable></command> "
4482"or <command>apt-get upgrade</command> is executed, because at least "
4483"<emphasis>one</emphasis> of the available versions has a higher priority "
4484"than the installed version."
fec6996f 4485msgstr ""
7d76ea1d
DK
4486"Algumas vezes a versão instalada de um pacote é mais recente que a versão "
4487"que pertence a versão alvo, mas não tão recente quanto a versão que pertence "
4488"a alguma outra distribuição. Um pacote como esse será na verdade atualizado "
4489"quando os comandos <command>apt-get install <replaceable>algum-pacote</"
4490"replaceable></command> ou <command>apt-get upgrade</command> forem "
4491"executados, devido a pelo menos <emphasis>uma</emphasis> das versões "
4492"disponíveis possuir uma prioridade maior do que a versão instalada."
fec6996f 4493
7d76ea1d 4494#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4495#: apt_preferences.5.xml
7d76ea1d
DK
4496#, fuzzy
4497msgid "The Effect of APT Preferences"
4498msgstr "O Efeito das Preferências do APT"
fec6996f 4499
7d76ea1d 4500#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4501#: apt_preferences.5.xml
7d76ea1d 4502#, fuzzy
fec6996f 4503msgid ""
7d76ea1d
DK
4504"The APT preferences file allows the system administrator to control the "
4505"assignment of priorities. The file consists of one or more multi-line "
4506"records separated by blank lines. Records can have one of two forms, a "
4507"specific form and a general form."
fec6996f 4508msgstr ""
7d76ea1d
DK
4509"O arquivo de preferências do APT permite ao administrador do sistema "
4510"personalizar prioridades. O arquivo consiste de um ou mais registros de "
4511"múltiplas linhas separados por linhas em branco. Registros podem possuir uma "
4512"das duas formas, uma forma específica e uma forma geral."
fec6996f 4513
7d76ea1d 4514#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4515#: apt_preferences.5.xml
7d76ea1d 4516#, fuzzy
fec6996f 4517msgid ""
7d76ea1d 4518"The specific form assigns a priority (a \"Pin-Priority\") to one or more "
44477002
JR
4519"specified packages with a specified version or version range. For example, "
4520"the following record assigns a high priority to all versions of the "
7d76ea1d 4521"<filename>perl</filename> package whose version number begins with "
75d9bdba
JR
4522"\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
4523"spaces."
fec6996f 4524msgstr ""
7d76ea1d
DK
4525"A forma específica atribui uma uma prioridade (uma \"Pin-Priority\") para um "
4526"pacote e versão ou faixa de versão especificados. Por exemplo, o registro a "
4527"seguir atribui uma prioridade alta para todas as versões do pacote "
4528"<filename>perl</filename> os quais tenham seus números de versão iniciando "
4529"com \"<literal>5.8</literal>\"."
fec6996f 4530
7d76ea1d 4531#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4532#: apt_preferences.5.xml
769e06cf 4533#, no-wrap
fec6996f 4534msgid ""
7d76ea1d 4535"Package: perl\n"
75d9bdba 4536"Pin: version &good-perl;*\n"
7d76ea1d 4537"Pin-Priority: 1001\n"
fec6996f 4538msgstr ""
7d76ea1d 4539"Package: perl\n"
769e06cf 4540"Pin: version &good-perl;*\n"
7d76ea1d 4541"Pin-Priority: 1001\n"
fec6996f 4542
7d76ea1d 4543#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4544#: apt_preferences.5.xml
7d76ea1d
DK
4545#, fuzzy
4546msgid ""
4547"The general form assigns a priority to all of the package versions in a "
4548"given distribution (that is, to all the versions of packages that are listed "
4549"in a certain <filename>Release</filename> file) or to all of the package "
4550"versions coming from a particular Internet site, as identified by the site's "
4551"fully qualified domain name."
fec6996f 4552msgstr ""
7d76ea1d
DK
4553"O forma geral atribui uma prioridade para todas as versões de pacotes em uma "
4554"dada distribuição (isto é, para toda as versões de pacotes que estejam em um "
4555"certo arquivo <filename>Release</filename>) ou para todas as versões de "
4556"pacotes que provenientes de um site Internet em particular, como "
4557"identificado pelo nome de domínio totalmente qualificado do site Internet."
fec6996f 4558
7d76ea1d 4559#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4560#: apt_preferences.5.xml
7d76ea1d 4561#, fuzzy
fec6996f 4562msgid ""
7d76ea1d
DK
4563"This general-form entry in the APT preferences file applies only to groups "
4564"of packages. For example, the following record assigns a high priority to "
4565"all package versions available from the local site."
fec6996f 4566msgstr ""
7d76ea1d
DK
4567"Essa entrada de forma geral no arquivo de preferências do APT aplica-se "
4568"somente a grupos de pacotes. Por exemplo, o registro a seguir faz com que o "
4569"APT atribua uma prioridade alta para todas as versões de pacotes disponíveis "
4570"no site local."
fec6996f 4571
7d76ea1d 4572#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4573#: apt_preferences.5.xml
769e06cf 4574#, no-wrap
fec6996f 4575msgid ""
7d76ea1d
DK
4576"Package: *\n"
4577"Pin: origin \"\"\n"
4578"Pin-Priority: 999\n"
fec6996f 4579msgstr ""
7d76ea1d
DK
4580"Package: *\n"
4581"Pin: origin \"\"\n"
4582"Pin-Priority: 999\n"
fec6996f 4583
7d76ea1d 4584#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4585#: apt_preferences.5.xml
fec6996f 4586msgid ""
7d76ea1d
DK
4587"A note of caution: the keyword used here is \"<literal>origin</literal>\" "
4588"which can be used to match a hostname. The following record will assign a "
4589"high priority to all versions available from the server identified by the "
4590"hostname \"ftp.de.debian.org\""
fec6996f
DK
4591msgstr ""
4592
7d76ea1d 4593#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4594#: apt_preferences.5.xml
769e06cf 4595#, no-wrap
fec6996f 4596msgid ""
7d76ea1d
DK
4597"Package: *\n"
4598"Pin: origin \"ftp.de.debian.org\"\n"
4599"Pin-Priority: 999\n"
fec6996f 4600msgstr ""
7d76ea1d 4601"Package: *\n"
769e06cf 4602"Pin: origin \"ftp.de.debian.org\"\n"
7d76ea1d 4603"Pin-Priority: 999\n"
fec6996f 4604
7d76ea1d 4605#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4606#: apt_preferences.5.xml
7d76ea1d 4607#, fuzzy
fec6996f 4608msgid ""
7d76ea1d
DK
4609"This should <emphasis>not</emphasis> be confused with the Origin of a "
4610"distribution as specified in a <filename>Release</filename> file. What "
4611"follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
4612"Internet address but an author or vendor name, such as \"Debian\" or \"Ximian"
4613"\"."
fec6996f 4614msgstr ""
7d76ea1d
DK
4615"Uma nota de aviso : a palavra-chave usada aqui é \"<literal>origin</literal>"
4616"\". Esta palavra não deve ser confundida com a origem (\"Origin:\") de uma "
4617"distribuição como especificado em um arquivo <filename>Release</filename>. O "
4618"que segue a tag \"Origin:\" em um arquivo <filename>Release</filename> não é "
4619"um endereço de site Internet mas sim nome de autor ou distribuidor (vendor), "
4620"como \"Debian\" ou \"Ximian\"."
fec6996f 4621
7d76ea1d 4622#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4623#: apt_preferences.5.xml
7d76ea1d 4624#, fuzzy
fec6996f 4625msgid ""
7d76ea1d
DK
4626"The following record assigns a low priority to all package versions "
4627"belonging to any distribution whose Archive name is \"<literal>unstable</"
4628"literal>\"."
fec6996f 4629msgstr ""
7d76ea1d
DK
4630"O registro a seguir atribui uma prioridade baixa para todas as versões de "
4631"pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
4632"\"<literal>unstable</literal>\"."
fec6996f 4633
7d76ea1d 4634#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4635#: apt_preferences.5.xml
769e06cf 4636#, no-wrap
fec6996f 4637msgid ""
7d76ea1d
DK
4638"Package: *\n"
4639"Pin: release a=unstable\n"
4640"Pin-Priority: 50\n"
fec6996f 4641msgstr ""
7d76ea1d
DK
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
769e06cf 4660#, 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 4666"Package: *\n"
769e06cf
DK
4667"Pin: release n=&debian-testing-codename;\n"
4668"Pin-Priority: 900\n"
fec6996f 4669
7d76ea1d 4670#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4671#: apt_preferences.5.xml
7d76ea1d 4672#, fuzzy
fec6996f 4673msgid ""
7d76ea1d
DK
4674"The following record assigns a high priority to all package versions "
4675"belonging to any release whose Archive name is \"<literal>stable</literal>\" "
9feb98eb
DK
4676"and whose release Version number is \"<literal>&debian-stable-version;</"
4677"literal>\"."
fec6996f 4678msgstr ""
7d76ea1d
DK
4679"O registro a seguir atribui uma prioridade alta para todas as versões de "
4680"pacotes que pertençam a qualquer versão cujo nome do Repositório seja "
4681"\"<literal>stable</literal>\" e cujo número de versão seja \"<literal>3.0</"
4682"literal>\"."
fec6996f 4683
7d76ea1d 4684#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
04f27fae 4685#: apt_preferences.5.xml
769e06cf 4686#, no-wrap
fec6996f 4687msgid ""
7d76ea1d 4688"Package: *\n"
9feb98eb 4689"Pin: release a=stable, v=&debian-stable-version;\n"
7d76ea1d 4690"Pin-Priority: 500\n"
fec6996f 4691msgstr ""
7d76ea1d 4692"Package: *\n"
769e06cf
DK
4693"Pin: release a=stable, v=&debian-stable-version;\n"
4694"Pin-Priority: 500\n"
fec6996f 4695
864fe99c 4696#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4697#: apt_preferences.5.xml
864fe99c
MV
4698msgid ""
4699"The effect of the comma operator is similar to an \"and\" in logic: All "
4700"conditions must be satisfied for the pin to match. There is one exception: "
4701"For any type of condition (such as two \"a\" conditions), only the last such "
4702"condition is checked."
4703msgstr ""
4704
4705#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4706#: apt_preferences.5.xml
44477002 4707msgid "Regular expressions and &glob; syntax"
7d76ea1d
DK
4708msgstr ""
4709
4710#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4711#: apt_preferences.5.xml
fec6996f 4712msgid ""
44477002
JR
4713"APT also supports pinning by &glob; expressions, and regular expressions "
4714"surrounded by slashes. For example, the following example assigns the "
4715"priority 500 to all packages from experimental where the name starts with "
4716"gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
4717"extended regular expression surrounded by slashes)."
fec6996f
DK
4718msgstr ""
4719
7d76ea1d 4720#. type: Content of: <refentry><refsect1><refsect2><programlisting>
04f27fae 4721#: apt_preferences.5.xml
769e06cf 4722#, no-wrap
fec6996f 4723msgid ""
7d76ea1d 4724"Package: gnome* /kde/\n"
14c50b58 4725"Pin: release a=experimental\n"
7d76ea1d 4726"Pin-Priority: 500\n"
fec6996f 4727msgstr ""
769e06cf
DK
4728"Package: gnome* /kde/\n"
4729"Pin: release a=experimental\n"
4730"Pin-Priority: 500\n"
fec6996f 4731
7d76ea1d 4732#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4733#: apt_preferences.5.xml
fec6996f 4734msgid ""
7d76ea1d
DK
4735"The rule for those expressions is that they can occur anywhere where a "
4736"string can occur. Thus, the following pin assigns the priority 990 to all "
75d9bdba 4737"packages from a release starting with &ubuntu-codename;."
fec6996f
DK
4738msgstr ""
4739
7d76ea1d 4740#. type: Content of: <refentry><refsect1><refsect2><programlisting>
04f27fae 4741#: apt_preferences.5.xml
769e06cf 4742#, no-wrap
fec6996f 4743msgid ""
7d76ea1d 4744"Package: *\n"
75d9bdba 4745"Pin: release n=&ubuntu-codename;*\n"
7d76ea1d 4746"Pin-Priority: 990\n"
fec6996f 4747msgstr ""
7d76ea1d 4748"Package: *\n"
769e06cf
DK
4749"Pin: release n=&ubuntu-codename;*\n"
4750"Pin-Priority: 990\n"
fec6996f 4751
7d76ea1d 4752#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4753#: apt_preferences.5.xml
fec6996f 4754msgid ""
7d76ea1d
DK
4755"If a regular expression occurs in a <literal>Package</literal> field, the "
4756"behavior is the same as if this regular expression were replaced with a list "
4757"of all package names it matches. It is undecided whether this will change in "
75d9bdba 4758"the future; thus you should always list wild-card pins first, so later "
7d76ea1d 4759"specific pins override it. The pattern \"<literal>*</literal>\" in a "
44477002 4760"Package field is not considered a &glob; expression in itself."
fec6996f
DK
4761msgstr ""
4762
7d76ea1d 4763#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4764#: apt_preferences.5.xml
7d76ea1d
DK
4765#, fuzzy
4766msgid "How APT Interprets Priorities"
4767msgstr "Como o APT Interpreta Prioridades"
4768
4769#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4770#: apt_preferences.5.xml
7d76ea1d 4771#, fuzzy
fec6996f 4772msgid ""
7d76ea1d
DK
4773"Priorities (P) assigned in the APT preferences file must be positive or "
4774"negative integers. They are interpreted as follows (roughly speaking):"
fec6996f 4775msgstr ""
7d76ea1d
DK
4776"Prioridades (P) atribuídas no arquivo de preferências do APT devem ser "
4777"números inteiros positivos ou negativos. Eles são interpretados como a "
4778"seguir (a grosso modo):"
fec6996f 4779
7d76ea1d 4780#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4781#: apt_preferences.5.xml
5e594b30
DK
4782msgid "P &gt;= 1000"
4783msgstr "P &gt;= 1000"
7d76ea1d
DK
4784
4785#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4786#: apt_preferences.5.xml
7d76ea1d 4787#, fuzzy
fec6996f 4788msgid ""
7d76ea1d
DK
4789"causes a version to be installed even if this constitutes a downgrade of the "
4790"package"
fec6996f 4791msgstr ""
7d76ea1d
DK
4792"faz com que uma instância seja instalada mesmo caso isso constitua um "
4793"dowgrade do pacote"
fec6996f 4794
7d76ea1d 4795#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4796#: apt_preferences.5.xml
5e594b30
DK
4797msgid "990 &lt;= P &lt; 1000"
4798msgstr "990 &lt;= P &lt; 1000"
7d76ea1d
DK
4799
4800#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4801#: apt_preferences.5.xml
7d76ea1d
DK
4802#, fuzzy
4803msgid ""
4804"causes a version to be installed even if it does not come from the target "
4805"release, unless the installed version is more recent"
fec6996f 4806msgstr ""
7d76ea1d
DK
4807"faz com que uma versão seja instalada mesmo caso a mesma não venha de uma "
4808"versão alvo, a menos que a versão instalada seja mais recente"
fec6996f 4809
7d76ea1d 4810#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4811#: apt_preferences.5.xml
5e594b30
DK
4812msgid "500 &lt;= P &lt; 990"
4813msgstr "500 &lt;= P &lt; 990"
7d76ea1d
DK
4814
4815#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4816#: apt_preferences.5.xml
7d76ea1d 4817#, fuzzy
fec6996f 4818msgid ""
7d76ea1d
DK
4819"causes a version to be installed unless there is a version available "
4820"belonging to the target release or the installed version is more recent"
fec6996f 4821msgstr ""
7d76ea1d
DK
4822"faz com que uma versão seja instalada a menos que exista uma versão "
4823"disponível pertencente a versão alvo ou a versão instalada seja mais recente"
fec6996f 4824
7d76ea1d 4825#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4826#: apt_preferences.5.xml
5e594b30
DK
4827msgid "100 &lt;= P &lt; 500"
4828msgstr "100 &lt;= P &lt; 500"
7d76ea1d
DK
4829
4830#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4831#: apt_preferences.5.xml
7d76ea1d
DK
4832#, fuzzy
4833msgid ""
4834"causes a version to be installed unless there is a version available "
4835"belonging to some other distribution or the installed version is more recent"
fec6996f 4836msgstr ""
7d76ea1d
DK
4837"faz com que uma versão seja instalada a menos que exista uma versão "
4838"disponível pertencente a alguma outra distribuição ou a versão instalada "
4839"seja mais recente"
fec6996f 4840
7d76ea1d 4841#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4842#: apt_preferences.5.xml
5e594b30
DK
4843msgid "0 &lt; P &lt; 100"
4844msgstr "0 &lt; P &lt; 100"
7d76ea1d
DK
4845
4846#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4847#: apt_preferences.5.xml
7d76ea1d 4848#, fuzzy
fec6996f 4849msgid ""
7d76ea1d
DK
4850"causes a version to be installed only if there is no installed version of "
4851"the package"
4852msgstr ""
4853"faz com que uma versão seja instalada somente caso não exista uma versão "
4854"instalada do pacote"
4855
4856#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4857#: apt_preferences.5.xml
7d76ea1d
DK
4858msgid "P &lt; 0"
4859msgstr "P &lt; 0"
4860
4861#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4862#: apt_preferences.5.xml
7d76ea1d
DK
4863#, fuzzy
4864msgid "prevents the version from being installed"
4865msgstr "impede a versão de ser instalada"
4866
864fe99c 4867#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 4868#: apt_preferences.5.xml
864fe99c
MV
4869msgid "P = 0"
4870msgstr ""
4871
4872#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 4873#: apt_preferences.5.xml
864fe99c
MV
4874msgid "has undefined behaviour, do not use it."
4875msgstr ""
4876
7d76ea1d 4877#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4878#: apt_preferences.5.xml
7d76ea1d
DK
4879#, fuzzy
4880msgid ""
864fe99c
MV
4881"The first specific-form record matching an available package version "
4882"determines the priority of the package version. Failing that, the priority "
4883"of the package is defined as the maximum of all priorities defined by "
4884"generic-form records matching the version. Records defined using patterns "
4885"in the Pin field other than \"*\" are treated like specific-form records."
7d76ea1d
DK
4886msgstr ""
4887"Caso um dos registro de forma específica descritos acima case (match) com "
4888"uma versão disponível do pacote então o primeiro desses registros "
4889"encontrados determinará a prioridade da versão do pacote. Na falha desse "
4890"cenário, caso quaisquer registros de forma genérica casem (match) com uma "
4891"versão do pacote disponível então o primeiro desses registros encontrado "
4892"determinará a prioridade da versão do pacote."
4893
4894#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4895#: apt_preferences.5.xml
7d76ea1d
DK
4896#, fuzzy
4897msgid ""
4898"For example, suppose the APT preferences file contains the three records "
4899"presented earlier:"
4900msgstr ""
4901"Por exemplo, suponha que o arquivo de preferências do APT contenha os três "
4902"registros apresentados anteriormente :"
4903
4904#. type: Content of: <refentry><refsect1><refsect2><programlisting>
04f27fae 4905#: apt_preferences.5.xml
769e06cf 4906#, no-wrap
7d76ea1d
DK
4907msgid ""
4908"Package: perl\n"
75d9bdba 4909"Pin: version &good-perl;*\n"
7d76ea1d
DK
4910"Pin-Priority: 1001\n"
4911"\n"
4912"Package: *\n"
4913"Pin: origin \"\"\n"
4914"Pin-Priority: 999\n"
4915"\n"
4916"Package: *\n"
4917"Pin: release unstable\n"
4918"Pin-Priority: 50\n"
4919msgstr ""
7d76ea1d 4920"Package: perl\n"
769e06cf 4921"Pin: version &good-perl;*\n"
7d76ea1d
DK
4922"Pin-Priority: 1001\n"
4923"\n"
4924"Package: *\n"
4925"Pin: origin \"\"\n"
4926"Pin-Priority: 999\n"
4927"\n"
4928"Package: *\n"
4929"Pin: release unstable\n"
4930"Pin-Priority: 50\n"
4931
4932#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4933#: apt_preferences.5.xml
7d76ea1d
DK
4934msgid "Then:"
4935msgstr ""
4936
4937#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4938#: apt_preferences.5.xml
7d76ea1d
DK
4939#, fuzzy
4940msgid ""
4941"The most recent available version of the <literal>perl</literal> package "
4942"will be installed, so long as that version's version number begins with "
75d9bdba
JR
4943"\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> &good-perl;"
4944"* version of <literal>perl</literal> is available and the installed version "
4945"is &bad-perl;*, then <literal>perl</literal> will be downgraded."
7d76ea1d
DK
4946msgstr ""
4947"A versão mais recente disponível do pacote <literal>perl</literal> será "
4948"instalado, contanto que esse número de versão da versão inicie com "
4949"\"<literal>5.8</literal>\". Caso <emphasis>qualquer</emphasis> versão 5.8* "
4950"de <literal>perl</literal> esteja disponível e a versão instalada seja 5.9*, "
4951"será feito um downgrade do <literal>perl</literal>."
4952
4953#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4954#: apt_preferences.5.xml
7d76ea1d
DK
4955#, fuzzy
4956msgid ""
4957"A version of any package other than <literal>perl</literal> that is "
4958"available from the local system has priority over other versions, even "
4959"versions belonging to the target release."
4960msgstr ""
4961"Uma versão de qualquer pacote diferente de <literal>perl</literal> que "
4962"esteja disponível no sistema local possui prioridade sobre outras versões, "
4963"mesmo versões pertencentes a versão alvo."
4964
4965#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
04f27fae 4966#: apt_preferences.5.xml
7d76ea1d
DK
4967#, fuzzy
4968msgid ""
4969"A version of a package whose origin is not the local system but some other "
4970"site listed in &sources-list; and which belongs to an <literal>unstable</"
4971"literal> distribution is only installed if it is selected for installation "
4972"and no version of the package is already installed."
4973msgstr ""
4974"Uma versão de um pacote cuja origem não seja o sistema local mas sim algum "
4975"outro site listado no arquivo &sources-list; e que pertença a uma "
4976"distribuição <literal>unstable</literal> é instalada somente caso a mesma "
4977"seja selecionada para instalação e nenhuma versão do pacote já esteja "
4978"instalada."
4979
4980#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 4981#: apt_preferences.5.xml
7d76ea1d
DK
4982#, fuzzy
4983msgid "Determination of Package Version and Distribution Properties"
4984msgstr "Determinação da Versão do Pacote e Propriedades da Distribuição"
4985
4986#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4987#: apt_preferences.5.xml
7d76ea1d
DK
4988#, fuzzy
4989msgid ""
4990"The locations listed in the &sources-list; file should provide "
4991"<filename>Packages</filename> and <filename>Release</filename> files to "
4992"describe the packages available at that location."
4993msgstr ""
4994"As localidades listadas em um arquivo &sources-list; devem fornecer arquivos "
4995"<filename>Packages</filename> e <filename>Release</filename> para descrever "
4996"os pacotes disponíveis nessas localidades."
4997
4998#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 4999#: apt_preferences.5.xml
7d76ea1d
DK
5000#, fuzzy
5001msgid ""
5002"The <filename>Packages</filename> file is normally found in the directory "
5003"<filename>.../dists/<replaceable>dist-name</replaceable>/"
5004"<replaceable>component</replaceable>/<replaceable>arch</replaceable></"
5005"filename>: for example, <filename>.../dists/stable/main/binary-i386/"
5006"Packages</filename>. It consists of a series of multi-line records, one for "
5007"each package available in that directory. Only two lines in each record are "
5008"relevant for setting APT priorities:"
5009msgstr ""
5010"O arquivo <filename>Packages</filename> é normalmente encontrado no "
5011"diretório <filename>.../dists/<replaceable>nome-distribuição</replaceable>/"
5012"<replaceable>componente</replaceable>/<replaceable>arquitetura</"
5013"replaceable></filename> : por exemplo, <filename>.../dists/stable/main/"
5014"binary-i386/Packages</filename>. O arquivo consiste de uma série de "
5015"registros de múltiplas linhas, uma para cada pacote disponível no diretório. "
5016"Somente duas linhas em cada registro são relevantes para definir prioridades "
5017"do APT :"
5018
5019#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5020#: apt_preferences.5.xml
7d76ea1d
DK
5021#, fuzzy
5022msgid "the <literal>Package:</literal> line"
5023msgstr "a linha <literal>Package:</literal>"
5024
5025#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5026#: apt_preferences.5.xml
7d76ea1d
DK
5027#, fuzzy
5028msgid "gives the package name"
5029msgstr "informa o nome do pacote"
5030
5031#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5032#: apt_preferences.5.xml
7d76ea1d
DK
5033#, fuzzy
5034msgid "the <literal>Version:</literal> line"
5035msgstr "a linha <literal>Version:</literal>"
5036
5037#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5038#: apt_preferences.5.xml
7d76ea1d
DK
5039#, fuzzy
5040msgid "gives the version number for the named package"
5041msgstr "informa o número de versão do pacote"
5042
5043#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5044#: apt_preferences.5.xml
7d76ea1d
DK
5045#, fuzzy
5046msgid ""
5047"The <filename>Release</filename> file is normally found in the directory "
5048"<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
5049"example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
9feb98eb
DK
5050"dists/&debian-stable-codename;/Release</filename>. It consists of a single "
5051"multi-line record which applies to <emphasis>all</emphasis> of the packages "
5052"in the directory tree below its parent. Unlike the <filename>Packages</"
5053"filename> file, nearly all of the lines in a <filename>Release</filename> "
5054"file are relevant for setting APT priorities:"
7d76ea1d
DK
5055msgstr ""
5056"O arquivo <filename>Release</filename> é normalmente encontrado no diretório "
5057"<filename>.../dists/<replaceable>nome-distribuição</replaceable></"
5058"filename> : por exemplo, <filename>.../dists/stable/Release</filename>, ou "
5059"<filename>.../dists/woody/Release</filename>. O arquivo consiste de um "
5060"registro de múltiplas linhas o qual se aplica a <emphasis>todos</emphasis> "
5061"os pacotes na àrvore de diretórios abaixo de seu diretório pai. Diferente do "
5062"arquivo <filename>Packages</filename>, quase todas as linhas em um arquivo "
5063"<filename>Release</filename> são relevantes para a definição de prioridades "
5064"do APT :"
5065
5066#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5067#: apt_preferences.5.xml
7d76ea1d
DK
5068#, fuzzy
5069msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
5070msgstr "a linha <literal>Archive:</literal>"
5071
5072#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5073#: apt_preferences.5.xml
7d76ea1d
DK
5074#, fuzzy
5075msgid ""
5076"names the archive to which all the packages in the directory tree belong. "
5077"For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
5078"that all of the packages in the directory tree below the parent of the "
5079"<filename>Release</filename> file are in a <literal>stable</literal> "
5080"archive. Specifying this value in the APT preferences file would require "
5081"the line:"
5082msgstr ""
5083"dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
5084"pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
5085"pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
5086"<filename>Release</filename> estão no respositório <literal>stable</"
5087"literal>. Especificar esse valor no arquivo de preferências do APT iria "
5088"requerer a linha :"
5089
5090#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5091#: apt_preferences.5.xml
769e06cf 5092#, no-wrap
7d76ea1d 5093msgid "Pin: release a=stable\n"
769e06cf 5094msgstr "Pin: release a=stable\n"
fec6996f 5095
7d76ea1d 5096#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5097#: apt_preferences.5.xml
7d76ea1d
DK
5098#, fuzzy
5099msgid "the <literal>Codename:</literal> line"
5100msgstr "a linha <literal>Component:</literal>"
5101
5102#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5103#: apt_preferences.5.xml
7d76ea1d 5104#, fuzzy
fec6996f 5105msgid ""
7d76ea1d 5106"names the codename to which all the packages in the directory tree belong. "
9feb98eb
DK
5107"For example, the line \"Codename: &debian-testing-codename;\" specifies that "
5108"all of the packages in the directory tree below the parent of the "
5109"<filename>Release</filename> file belong to a version named <literal>&debian-"
5110"testing-codename;</literal>. Specifying this value in the APT preferences "
5111"file would require the line:"
fec6996f 5112msgstr ""
7d76ea1d
DK
5113"dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
5114"pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
5115"pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
5116"<filename>Release</filename> estão no respositório <literal>stable</"
5117"literal>. Especificar esse valor no arquivo de preferências do APT iria "
5118"requerer a linha :"
fec6996f 5119
7d76ea1d 5120#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5121#: apt_preferences.5.xml
769e06cf 5122#, no-wrap
9feb98eb 5123msgid "Pin: release n=&debian-testing-codename;\n"
769e06cf 5124msgstr "Pin: release n=&debian-testing-codename;\n"
fec6996f 5125
7d76ea1d 5126#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5127#: apt_preferences.5.xml
7d76ea1d 5128#, fuzzy
fec6996f 5129msgid ""
7d76ea1d 5130"names the release version. For example, the packages in the tree might "
9feb98eb
DK
5131"belong to Debian release version &debian-stable-version;. Note that there "
5132"is normally no version number for the <literal>testing</literal> and "
44477002
JR
5133"<literal>unstable</literal> distributions because they have not been "
5134"released yet. Specifying this in the APT preferences file would require one "
5135"of the following lines."
fec6996f 5136msgstr ""
7d76ea1d
DK
5137"dá nome a versão da distribuição. Por exemplo, os pacote na àrvore podem "
5138"pertencer a distribuição Debian versão 3.0. Note que normalmente não existe "
5139"número de versão para as distribuições <literal>testing</literal> e "
5140"<literal>unstable</literal> devido as mesmas não terem sido lançadas ainda. "
5141"Especificar isso no arquivo de preferências do APT iria requerer uma das "
5142"linhas a seguir."
fec6996f 5143
7d76ea1d 5144#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5145#: apt_preferences.5.xml
769e06cf 5146#, no-wrap
fec6996f 5147msgid ""
9feb98eb
DK
5148"Pin: release v=&debian-stable-version;\n"
5149"Pin: release a=stable, v=&debian-stable-version;\n"
5150"Pin: release &debian-stable-version;\n"
fec6996f 5151msgstr ""
769e06cf
DK
5152"Pin: release v=&debian-stable-version;\n"
5153"Pin: release a=stable, v=&debian-stable-version;\n"
5154"Pin: release &debian-stable-version;\n"
fec6996f 5155
7d76ea1d 5156#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5157#: apt_preferences.5.xml
7d76ea1d
DK
5158#, fuzzy
5159msgid "the <literal>Component:</literal> line"
5160msgstr "a linha <literal>Component:</literal>"
fec6996f 5161
7d76ea1d 5162#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5163#: apt_preferences.5.xml
7d76ea1d 5164#, fuzzy
fec6996f 5165msgid ""
7d76ea1d
DK
5166"names the licensing component associated with the packages in the directory "
5167"tree of the <filename>Release</filename> file. For example, the line "
5168"\"Component: main\" specifies that all the packages in the directory tree "
5169"are from the <literal>main</literal> component, which entails that they are "
5170"licensed under terms listed in the Debian Free Software Guidelines. "
5171"Specifying this component in the APT preferences file would require the line:"
fec6996f 5172msgstr ""
7d76ea1d
DK
5173"dá nome ao componente de licenciamento associado com os pacotes na àrvore de "
5174"diretório do arquivo <filename>Release</filename>. Por exemplo, a linha "
5175"\"Component: main\" especifica que todos os pacotes na àrvore de diretório "
5176"são do componente <literal>main</literal>, o que significa que as mesmas "
5177"estão licenciadas sob os termos da Linhas Guias Debian para o Software Livre "
5178"(a DFSG). Especificar esse componente no arquivo de preferências do APT iria "
5179"requerer a linha :"
fec6996f 5180
7d76ea1d 5181#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5182#: apt_preferences.5.xml
769e06cf 5183#, no-wrap
7d76ea1d 5184msgid "Pin: release c=main\n"
769e06cf 5185msgstr "Pin: release c=main\n"
fec6996f 5186
7d76ea1d 5187#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5188#: apt_preferences.5.xml
7d76ea1d
DK
5189#, fuzzy
5190msgid "the <literal>Origin:</literal> line"
5191msgstr "a linha <literal>Origin:</literal>"
fec6996f 5192
7d76ea1d 5193#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5194#: apt_preferences.5.xml
7d76ea1d
DK
5195#, fuzzy
5196msgid ""
5197"names the originator of the packages in the directory tree of the "
5198"<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
5199"literal>. Specifying this origin in the APT preferences file would require "
5200"the line:"
fec6996f 5201msgstr ""
7d76ea1d
DK
5202"dá nome ao produtor dos pacotes na àrvore de diretório do arquivo "
5203"<filename>Release</filename>. O mais comum é esse valor ser <literal>Debian</"
5204"literal>. Especificar essa origem no arquivo de preferências do APT iria "
5205"requerer a linha :"
fec6996f 5206
7d76ea1d 5207#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5208#: apt_preferences.5.xml
7d76ea1d
DK
5209#, fuzzy, no-wrap
5210msgid "Pin: release o=Debian\n"
769e06cf 5211msgstr "Pin: release o=Debian\n"
fec6996f 5212
7d76ea1d 5213#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
04f27fae 5214#: apt_preferences.5.xml
7d76ea1d
DK
5215#, fuzzy
5216msgid "the <literal>Label:</literal> line"
5217msgstr "a linha <literal>Label:</literal>"
5218
5219#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
04f27fae 5220#: apt_preferences.5.xml
7d76ea1d 5221#, fuzzy
fec6996f 5222msgid ""
7d76ea1d
DK
5223"names the label of the packages in the directory tree of the "
5224"<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
5225"literal>. Specifying this label in the APT preferences file would require "
5226"the line:"
fec6996f 5227msgstr ""
7d76ea1d
DK
5228"dá nome ao rótulo (label) dos pacotes na árvore de diretório. O mais comum é "
5229"esse valor ser <literal>Debian</literal>. Especificar esse rótulo (label) no "
5230"arquivo de preferências do APT iria requerer a linha :"
fec6996f 5231
7d76ea1d 5232#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
04f27fae 5233#: apt_preferences.5.xml
769e06cf 5234#, no-wrap
7d76ea1d 5235msgid "Pin: release l=Debian\n"
769e06cf 5236msgstr "Pin: release l=Debian\n"
fec6996f 5237
7d76ea1d 5238#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5239#: apt_preferences.5.xml
7d76ea1d 5240#, fuzzy
fec6996f 5241msgid ""
7d76ea1d
DK
5242"All of the <filename>Packages</filename> and <filename>Release</filename> "
5243"files retrieved from locations listed in the &sources-list; file are stored "
5244"in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
5245"named by the variable <literal>Dir::State::Lists</literal> in the "
5246"<filename>apt.conf</filename> file. For example, the file <filename>debian."
5247"lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
5248"contains the <filename>Release</filename> file retrieved from the site "
5249"<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
5250"architecture files from the <literal>contrib</literal> component of the "
5251"<literal>unstable</literal> distribution."
fec6996f 5252msgstr ""
7d76ea1d
DK
5253"Todos os arquivos <filename>Packages</filename> e <filename>Release</"
5254"filename> obtidos das localidades listadas no arquivo &sources-list; são "
5255"mantidos no diretório <filename>/var/lib/apt/lists</filename> ou no arquivo "
5256"indicado pela variável <literal>Dir::State::Lists</literal> no arquivo "
5257"<filename>apt.conf</filename>. Por exemplo, o arquivo <filename>debian.lcs."
5258"mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> contém "
5259"o arquivo <filename>Release</filename> obtido do site <literal>debian.lcs."
5260"mit.edu</literal> para a arquitetura <literal>binary-i386</literal>, "
5261"arquivos do componente <literal>contrib</literal> da distribuição "
5262"<literal>unstable</literal>."
fec6996f 5263
7d76ea1d 5264#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5265#: apt_preferences.5.xml
7d76ea1d
DK
5266#, fuzzy
5267msgid "Optional Lines in an APT Preferences Record"
5268msgstr "Linhas Opcionais em um Registro de Preferências do APT"
fec6996f 5269
7d76ea1d 5270#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5271#: apt_preferences.5.xml
7d76ea1d 5272#, fuzzy
fec6996f 5273msgid ""
7d76ea1d
DK
5274"Each record in the APT preferences file can optionally begin with one or "
5275"more lines beginning with the word <literal>Explanation:</literal>. This "
5276"provides a place for comments."
fec6996f 5277msgstr ""
7d76ea1d
DK
5278"Cada registro em um arquivo de preferências do APT pode opcionalmente "
5279"iniciar com uma ou mais linhas iniciadas com a palavra <literal>Explanation:"
5280"</literal>. Isto oferece um local para inserir comentários."
fec6996f 5281
7d76ea1d 5282#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5283#: apt_preferences.5.xml
7d76ea1d
DK
5284#, fuzzy
5285msgid "Tracking Stable"
5286msgstr "Acompanhando a Stable"
fec6996f 5287
7d76ea1d 5288#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5289#: apt_preferences.5.xml
7d76ea1d 5290#, fuzzy, no-wrap
fec6996f 5291msgid ""
7d76ea1d
DK
5292"Explanation: Uninstall or do not install any Debian-originated\n"
5293"Explanation: package versions other than those in the stable distro\n"
5294"Package: *\n"
5295"Pin: release a=stable\n"
5296"Pin-Priority: 900\n"
5297"\n"
5298"Package: *\n"
5299"Pin: release o=Debian\n"
5300"Pin-Priority: -10\n"
fec6996f 5301msgstr ""
7d76ea1d
DK
5302"<programlisting>\n"
5303"Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
5304"Explanation: do Debian a não ser aquelas na distribuição stable\n"
5305"Package: *\n"
5306"Pin: release a=stable\n"
5307"Pin-Priority: 900\n"
5308"\n"
5309"Package: *\n"
5310"Pin: release o=Debian\n"
5311"Pin-Priority: -10\n"
fec6996f 5312
7d76ea1d 5313#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5314#: apt_preferences.5.xml
7d76ea1d 5315#, fuzzy
fec6996f 5316msgid ""
7d76ea1d
DK
5317"The following APT preferences file will cause APT to assign a priority "
5318"higher than the default (500) to all package versions belonging to a "
5319"<literal>stable</literal> distribution and a prohibitively low priority to "
5320"package versions belonging to other <literal>Debian</literal> "
5321"distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f 5322msgstr ""
7d76ea1d
DK
5323"O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
5324"prioridade maior do que a prioridade padrão (500) para todas as versões de "
5325"pacotes pertencentes a distribuição <literal>stable</literal> e uma "
5326"prioridade proibitivamente baixa para versões de pacotes pertencentes a "
5327"outras distribuições <literal>Debian</literal>."
fec6996f 5328
7d76ea1d 5329#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5330#: apt_preferences.5.xml
7d76ea1d 5331#, fuzzy, no-wrap
fec6996f 5332msgid ""
7d76ea1d
DK
5333"apt-get install <replaceable>package-name</replaceable>\n"
5334"apt-get upgrade\n"
5335"apt-get dist-upgrade\n"
fec6996f 5336msgstr ""
7d76ea1d
DK
5337"<programlisting>\n"
5338"apt-get install <replaceable>nome-pacote</replaceable>\n"
5339"apt-get upgrade\n"
5340"apt-get dist-upgrade\n"
fec6996f 5341
7d76ea1d 5342#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5343#: apt_preferences.5.xml
7d76ea1d 5344#, fuzzy
fec6996f 5345msgid ""
7d76ea1d
DK
5346"With a suitable &sources-list; file and the above preferences file, any of "
5347"the following commands will cause APT to upgrade to the latest "
5348"<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
5349"id=\"0\"/>"
fec6996f 5350msgstr ""
7d76ea1d
DK
5351"Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
5352"quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
5353"ulítma(s) versão(ôes) <literal>stable</literal>."
fec6996f 5354
7d76ea1d 5355#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5356#: apt_preferences.5.xml
7d76ea1d
DK
5357#, fuzzy, no-wrap
5358msgid "apt-get install <replaceable>package</replaceable>/testing\n"
fec6996f 5359msgstr ""
7d76ea1d
DK
5360"<programlisting>\n"
5361"apt-get install <replaceable>pacote</replaceable>/testing\n"
fec6996f 5362
7d76ea1d 5363#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5364#: apt_preferences.5.xml
7d76ea1d 5365#, fuzzy
fec6996f 5366msgid ""
7d76ea1d
DK
5367"The following command will cause APT to upgrade the specified package to the "
5368"latest version from the <literal>testing</literal> distribution; the package "
5369"will not be upgraded again unless this command is given again. <placeholder "
5370"type=\"programlisting\" id=\"0\"/>"
fec6996f 5371msgstr ""
7d76ea1d
DK
5372"O comando a seguir fará com que o APT atualize o pacote especificado para a "
5373"última versão da distribuição <literal>testing</literal>; o pacote não serpa "
5374"atualizado novamente a menos que esse comando seja executado novamente."
fec6996f 5375
7d76ea1d 5376#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5377#: apt_preferences.5.xml
7d76ea1d
DK
5378#, fuzzy
5379msgid "Tracking Testing or Unstable"
5380msgstr "Acompanhando a Testing"
fec6996f 5381
7d76ea1d 5382#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5383#: apt_preferences.5.xml
769e06cf 5384#, no-wrap
7d76ea1d
DK
5385msgid ""
5386"Package: *\n"
5387"Pin: release a=testing\n"
5388"Pin-Priority: 900\n"
5389"\n"
5390"Package: *\n"
5391"Pin: release a=unstable\n"
5392"Pin-Priority: 800\n"
5393"\n"
5394"Package: *\n"
5395"Pin: release o=Debian\n"
5396"Pin-Priority: -10\n"
fec6996f 5397msgstr ""
7d76ea1d
DK
5398"Package: *\n"
5399"Pin: release a=testing\n"
5400"Pin-Priority: 900\n"
5401"\n"
5402"Package: *\n"
5403"Pin: release a=unstable\n"
5404"Pin-Priority: 800\n"
5405"\n"
5406"Package: *\n"
5407"Pin: release o=Debian\n"
5408"Pin-Priority: -10\n"
fec6996f 5409
7d76ea1d 5410#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5411#: apt_preferences.5.xml
7d76ea1d 5412#, fuzzy
fec6996f 5413msgid ""
7d76ea1d
DK
5414"The following APT preferences file will cause APT to assign a high priority "
5415"to package versions from the <literal>testing</literal> distribution, a "
5416"lower priority to package versions from the <literal>unstable</literal> "
5417"distribution, and a prohibitively low priority to package versions from "
5418"other <literal>Debian</literal> distributions. <placeholder type="
5419"\"programlisting\" id=\"0\"/>"
fec6996f 5420msgstr ""
7d76ea1d
DK
5421"O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
5422"prioridade maior para versões de pacote da distribuição <literal>testing</"
5423"literal>, uma prioridade menor para versões de pacotes da distribuição "
5424"<literal>unstable</literal> e uma prioridade proibitivamente baixa para "
5425"versões de pacotes de outras distribuições <literal>Debian</literal>."
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"With a suitable &sources-list; file and the above preferences file, any of "
5432"the following commands will cause APT to upgrade to the latest "
5433"<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
5434"id=\"0\"/>"
fec6996f 5435msgstr ""
7d76ea1d 5436"Com um arquivo &sources-list; adequado e o arquivo de preferências do APT "
8c39c4b6
MV
5437"acima, quaisquer dos comandos a seguir farão com que o APT atualize para "
5438"a(s) última(s) versão(ões) <literal>testing</literal>."
fec6996f 5439
7d76ea1d 5440#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5441#: apt_preferences.5.xml
769e06cf 5442#, no-wrap
7d76ea1d 5443msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
769e06cf 5444msgstr "apt-get install <replaceable>pacote</replaceable>/unstable\n"
fec6996f 5445
7d76ea1d 5446#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5447#: apt_preferences.5.xml
7d76ea1d 5448#, fuzzy
fec6996f 5449msgid ""
7d76ea1d
DK
5450"The following command will cause APT to upgrade the specified package to the "
5451"latest version from the <literal>unstable</literal> distribution. "
5452"Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
5453"the most recent <literal>testing</literal> version if that is more recent "
5454"than the installed version, otherwise, to the most recent <literal>unstable</"
5455"literal> version if that is more recent than the installed version. "
5456"<placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f 5457msgstr ""
7d76ea1d
DK
5458"O comando a seguir fará com que o APT atualize o pacote especificado para a "
5459"última versão da distribuição <literal>unstable</literal>. Assim, o comando "
5460"<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
5461"<literal>testing</literal> mais recente caso essa versão seja mais recente "
5462"que a versão instalada, caso não seja, o pacote será atualizado para a "
5463"versão <literal>unstable</literal> mais recente caso a mesma seja mais "
5464"recente que a versão instalada."
fec6996f 5465
7d76ea1d 5466#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 5467#: apt_preferences.5.xml
7d76ea1d 5468msgid "Tracking the evolution of a codename release"
fec6996f
DK
5469msgstr ""
5470
7d76ea1d 5471#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5472#: apt_preferences.5.xml
7d76ea1d 5473#, fuzzy, no-wrap
fec6996f 5474msgid ""
7d76ea1d 5475"Explanation: Uninstall or do not install any Debian-originated package versions\n"
9feb98eb 5476"Explanation: other than those in the distribution codenamed with &debian-testing-codename; or sid\n"
7d76ea1d 5477"Package: *\n"
9feb98eb 5478"Pin: release n=&debian-testing-codename;\n"
7d76ea1d
DK
5479"Pin-Priority: 900\n"
5480"\n"
5481"Explanation: Debian unstable is always codenamed with sid\n"
5482"Package: *\n"
5483"Pin: release n=sid\n"
5484"Pin-Priority: 800\n"
5485"\n"
5486"Package: *\n"
5487"Pin: release o=Debian\n"
5488"Pin-Priority: -10\n"
fec6996f 5489msgstr ""
7d76ea1d
DK
5490"<programlisting>\n"
5491"Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
5492"Explanation: do Debian a não ser aquelas na distribuição stable\n"
5493"Package: *\n"
5494"Pin: release a=stable\n"
5495"Pin-Priority: 900\n"
5496"\n"
5497"Package: *\n"
5498"Pin: release o=Debian\n"
5499"Pin-Priority: -10\n"
fec6996f 5500
7d76ea1d 5501#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5502#: apt_preferences.5.xml
fec6996f 5503msgid ""
7d76ea1d
DK
5504"The following APT preferences file will cause APT to assign a priority "
5505"higher than the default (500) to all package versions belonging to a "
5506"specified codename of a distribution and a prohibitively low priority to "
5507"package versions belonging to other <literal>Debian</literal> distributions, "
5508"codenames and archives. Note that with this APT preference APT will follow "
5509"the migration of a release from the archive <literal>testing</literal> to "
5510"<literal>stable</literal> and later <literal>oldstable</literal>. If you "
5511"want to follow for example the progress in <literal>testing</literal> "
5512"notwithstanding the codename changes you should use the example "
5513"configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
5514msgstr ""
5515
5516#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5517#: apt_preferences.5.xml
7d76ea1d
DK
5518#, fuzzy
5519msgid ""
5520"With a suitable &sources-list; file and the above preferences file, any of "
5521"the following commands will cause APT to upgrade to the latest version(s) in "
9feb98eb 5522"the release codenamed with <literal>&debian-testing-codename;</literal>. "
7d76ea1d 5523"<placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f 5524msgstr ""
7d76ea1d
DK
5525"Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
5526"quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
5527"ulítma(s) versão(ôes) <literal>stable</literal>."
fec6996f 5528
7d76ea1d 5529#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 5530#: apt_preferences.5.xml
769e06cf 5531#, no-wrap
7d76ea1d 5532msgid "apt-get install <replaceable>package</replaceable>/sid\n"
769e06cf 5533msgstr "apt-get install <replaceable>pacote</replaceable>/sid\n"
fec6996f 5534
7d76ea1d 5535#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 5536#: apt_preferences.5.xml
7d76ea1d 5537#, fuzzy
fec6996f 5538msgid ""
7d76ea1d
DK
5539"The following command will cause APT to upgrade the specified package to the "
5540"latest version from the <literal>sid</literal> distribution. Thereafter, "
5541"<command>apt-get upgrade</command> will upgrade the package to the most "
9feb98eb
DK
5542"recent <literal>&debian-testing-codename;</literal> version if that is more "
5543"recent than the installed version, otherwise, to the most recent "
5544"<literal>sid</literal> version if that is more recent than the installed "
5545"version. <placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f 5546msgstr ""
7d76ea1d
DK
5547"O comando a seguir fará com que o APT atualize o pacote especificado para a "
5548"última versão da distribuição <literal>unstable</literal>. Assim, o comando "
5549"<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
5550"<literal>testing</literal> mais recente caso essa versão seja mais recente "
5551"que a versão instalada, caso não seja, o pacote será atualizado para a "
5552"versão <literal>unstable</literal> mais recente caso a mesma seja mais "
5553"recente que a versão instalada."
fec6996f 5554
fec6996f 5555#. type: Content of: <refentry><refsect1><para>
04f27fae 5556#: apt_preferences.5.xml
7d76ea1d 5557msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
fec6996f
DK
5558msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
5559
fec6996f 5560#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 5561#: sources.list.5.xml
dabb215c 5562msgid "List of configured APT data sources"
7d76ea1d 5563msgstr ""
fec6996f
DK
5564
5565#. type: Content of: <refentry><refsect1><para>
04f27fae 5566#: sources.list.5.xml
fec6996f 5567msgid ""
051029f8 5568"The source list <filename>/etc/apt/sources.list</filename> and the files "
864fe99c
MV
5569"contained in <filename>/etc/apt/sources.list.d/</filename> are designed to "
5570"support any number of active sources and a variety of source media. The "
051029f8 5571"files list one source per line (one-line style) or contain multiline stanzas "
864fe99c
MV
5572"defining one or more sources per stanza (deb822 style), with the most "
5573"preferred source listed first (in case a single version is available from "
5574"more than one source). The information available from the configured sources "
5575"is acquired by <command>apt-get update</command> (or by an equivalent "
5576"command from another APT front-end)."
5577msgstr ""
5578
5579#. type: Content of: <refentry><refsect1><title>
04f27fae 5580#: sources.list.5.xml
864fe99c
MV
5581msgid "sources.list.d"
5582msgstr ""
5583
5584#. type: Content of: <refentry><refsect1><para>
04f27fae 5585#: sources.list.5.xml
864fe99c
MV
5586msgid ""
5587"The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
5588"add sources.list entries in separate files. Two different file formats are "
5589"allowed as described in the next two sections. Filenames need to have "
5590"either the extension <filename>.list</filename> or <filename>.sources</"
5591"filename> depending on the contained format. The filenames may only contain "
5592"letters (a-z and A-Z), digits (0-9), underscore (_), hyphen (-) and period "
5593"(.) characters. Otherwise APT will print a notice that it has ignored a "
5594"file, unless that file matches a pattern in the <literal>Dir::Ignore-Files-"
5595"Silently</literal> configuration list - in which case it will be silently "
5596"ignored."
5597msgstr ""
5598
5599#. type: Content of: <refentry><refsect1><title>
04f27fae 5600#: sources.list.5.xml
051029f8 5601msgid "One-Line-Style Format"
fec6996f 5602msgstr ""
fec6996f
DK
5603
5604#. type: Content of: <refentry><refsect1><para>
04f27fae 5605#: sources.list.5.xml
fec6996f 5606msgid ""
864fe99c
MV
5607"Files in this format have the extension <filename>.list</filename>. Each "
5608"line specifying a source starts with a type (e.g. <literal>deb-src</"
5723791e
JR
5609"literal>) followed by options and arguments for this type. Individual "
5610"entries cannot be continued onto a following line. Empty lines are ignored, "
5611"and a <literal>#</literal> character anywhere on a line marks the remainder "
864fe99c
MV
5612"of that line as a comment. Consequently an entry can be disabled by "
5613"commenting out the entire line. If options should be provided they are "
5614"separated by spaces and all of them together are enclosed by square brackets "
5615"(<literal>[]</literal>) included in the line after the type separated from "
5616"it with a space. If an option allows multiple values these are separated "
5617"from each other with a comma (<literal>,</literal>). An option name is "
051029f8
DK
5618"separated from its value(s) by an equals sign (<literal>=</literal>). "
5619"Multivalue options also have <literal>-=</literal> and <literal>+=</literal> "
5620"as separators, which instead of replacing the default with the given "
5621"value(s) modify the default value(s) to remove or include the given values."
864fe99c
MV
5622msgstr ""
5623
5624#. type: Content of: <refentry><refsect1><para>
04f27fae 5625#: sources.list.5.xml
864fe99c
MV
5626msgid ""
5627"This is the traditional format and supported by all apt versions. Note that "
5628"not all options as described below are supported by all apt versions. Note "
051029f8 5629"also that some older applications parsing this format on their own might not "
864fe99c
MV
5630"expect to encounter options as they were uncommon before the introduction of "
5631"multi-architecture support."
7d76ea1d
DK
5632msgstr ""
5633
5634#. type: Content of: <refentry><refsect1><title>
04f27fae 5635#: sources.list.5.xml
051029f8 5636msgid "deb822-Style Format"
fec6996f 5637msgstr ""
fec6996f
DK
5638
5639#. type: Content of: <refentry><refsect1><para>
04f27fae 5640#: sources.list.5.xml
864fe99c
MV
5641msgid ""
5642"Files in this format have the extension <filename>.sources</filename>. The "
5643"format is similar in syntax to other files used by Debian and its "
051029f8
DK
5644"derivatives, such as the metadata files that apt will download from the "
5645"configured sources or the <filename>debian/control</filename> file in a "
5646"Debian source package. Individual entries are separated by an empty line; "
5647"additional empty lines are ignored, and a <literal>#</literal> character at "
5648"the start of the line marks the entire line as a comment. An entry can hence "
5649"be disabled by commenting out each line belonging to the stanza, but it is "
864fe99c
MV
5650"usually easier to add the field \"Enabled: no\" to the stanza to disable the "
5651"entry. Removing the field or setting it to yes reenables it. Options have "
5652"the same syntax as every other field: A fieldname separated by a colon "
5653"(<literal>:</literal>) and optionally spaces from its value(s). Note "
5654"especially that multiple values are separated by spaces, not by commas as in "
051029f8 5655"the one-line format. Multivalue fields like <literal>Architectures</literal> "
864fe99c
MV
5656"also have <literal>Architectures-Add</literal> and <literal>Architectures-"
5657"Remove</literal> to modify the default value rather than replacing it."
5658msgstr ""
5659
5660#. type: Content of: <refentry><refsect1><para>
04f27fae 5661#: sources.list.5.xml
fec6996f 5662msgid ""
864fe99c
MV
5663"This is a new format supported by apt itself since version 1.1. Previous "
5664"versions ignore such files with a notice message as described earlier. It "
051029f8
DK
5665"is intended to make this format gradually the default format, deprecating "
5666"the previously described one-line-style format, as it is easier to create, "
5667"extend and modify for humans and machines alike especially if a lot of "
864fe99c
MV
5668"sources and/or options are involved. Developers who are working with and/or "
5669"parsing apt sources are highly encouraged to add support for this format and "
5670"to contact the APT team to coordinate and share this work. Users can freely "
051029f8 5671"adopt this format already, but may encounter problems with software not "
864fe99c 5672"supporting the format yet."
7d76ea1d
DK
5673msgstr ""
5674
5675#. type: Content of: <refentry><refsect1><title>
04f27fae 5676#: sources.list.5.xml
051029f8 5677msgid "The deb and deb-src Types: General Format"
fec6996f 5678msgstr ""
fec6996f 5679
b39c1859 5680#. type: Content of: <refentry><refsect1><para>
04f27fae 5681#: sources.list.5.xml
b39c1859 5682msgid ""
5723791e
JR
5683"The <literal>deb</literal> type references a typical two-level Debian "
5684"archive, <filename>distribution/component</filename>. The "
864fe99c 5685"<literal>distribution</literal> is generally a suite name like "
7d76ea1d 5686"<literal>stable</literal> or <literal>testing</literal> or a codename like "
9feb98eb
DK
5687"<literal>&debian-stable-codename;</literal> or <literal>&debian-testing-"
5688"codename;</literal> while component is one of <literal>main</literal>, "
5723791e
JR
5689"<literal>contrib</literal> or <literal>non-free</literal>. The <literal>deb-"
5690"src</literal> type references a Debian distribution's source code in the "
5691"same form as the <literal>deb</literal> type. A <literal>deb-src</literal> "
5692"line is required to fetch source indexes."
0fd68707
MV
5693msgstr ""
5694
5695#. type: Content of: <refentry><refsect1><para>
04f27fae 5696#: sources.list.5.xml
0fd68707 5697msgid ""
051029f8 5698"The format for two one-line-style entries using the <literal>deb</literal> "
864fe99c 5699"and <literal>deb-src</literal> types is:"
b39c1859
MV
5700msgstr ""
5701
7d76ea1d 5702#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 5703#: sources.list.5.xml
7d76ea1d 5704#, no-wrap
864fe99c
MV
5705msgid ""
5706"deb [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]\n"
5707"deb-src [ option1=value1 option2=value2 ] uri suite [component1] [component2] [...]"
609bb2ea
MV
5708msgstr ""
5709
5710#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5711#: sources.list.5.xml
609bb2ea
MV
5712#, no-wrap
5713msgid ""
b18dd45f 5714" Types: deb deb-src\n"
864fe99c
MV
5715" URIs: uri\n"
5716" Suites: suite\n"
5717" Components: [component1] [component2] [...]\n"
5718" option1: value1\n"
5719" option2: value2\n"
609bb2ea 5720" "
fec6996f 5721msgstr ""
fec6996f 5722
7d76ea1d 5723#. type: Content of: <refentry><refsect1><para>
04f27fae 5724#: sources.list.5.xml
609bb2ea 5725msgid ""
864fe99c
MV
5726"Alternatively the equivalent entry in deb822 style looks like this: "
5727"<placeholder type=\"literallayout\" id=\"0\"/>"
609bb2ea
MV
5728msgstr ""
5729
5730#. type: Content of: <refentry><refsect1><para>
04f27fae 5731#: sources.list.5.xml
7d76ea1d
DK
5732msgid ""
5733"The URI for the <literal>deb</literal> type must specify the base of the "
5734"Debian distribution, from which APT will find the information it needs. "
609bb2ea
MV
5735"<literal>suite</literal> can specify an exact path, in which case the "
5736"components must be omitted and <literal>suite</literal> must end with a "
5737"slash (<literal>/</literal>). This is useful for the case when only a "
864fe99c
MV
5738"particular sub-directory of the archive denoted by the URI is of interest. "
5739"If <literal>suite</literal> does not specify an exact path, at least one "
5723791e 5740"<literal>component</literal> must be present."
fec6996f 5741msgstr ""
fec6996f 5742
7d76ea1d 5743#. type: Content of: <refentry><refsect1><para>
04f27fae 5744#: sources.list.5.xml
fec6996f 5745msgid ""
609bb2ea
MV
5746"<literal>suite</literal> may also contain a variable, <literal>$(ARCH)</"
5747"literal> which expands to the Debian architecture (such as <literal>amd64</"
5748"literal> or <literal>armel</literal>) used on the system. This permits "
5749"architecture-independent <filename>sources.list</filename> files to be used. "
051029f8 5750"In general this is only of interest when specifying an exact path; "
609bb2ea
MV
5751"<literal>APT</literal> will automatically generate a URI with the current "
5752"architecture otherwise."
fec6996f 5753msgstr ""
fec6996f 5754
7d76ea1d 5755#. type: Content of: <refentry><refsect1><para>
04f27fae 5756#: sources.list.5.xml
187aa32e 5757msgid ""
051029f8 5758"Especially in the one-line-style format since only one distribution can be "
864fe99c
MV
5759"specified per line it may be necessary to have multiple lines for the same "
5760"URI, if a subset of all available distributions or components at that "
609bb2ea
MV
5761"location is desired. APT will sort the URI list after it has generated a "
5762"complete set internally, and will collapse multiple references to the same "
5763"Internet host, for instance, into a single connection, so that it does not "
864fe99c
MV
5764"inefficiently establish a connection, close it, do something else, and then "
5765"re-establish a connection to that same host. APT also parallelizes "
5766"connections to different hosts to more effectively deal with sites with low "
5767"bandwidth."
187aa32e 5768msgstr ""
187aa32e 5769
7d76ea1d 5770#. type: Content of: <refentry><refsect1><para>
04f27fae 5771#: sources.list.5.xml
7d76ea1d 5772msgid ""
864fe99c
MV
5773"It is important to list sources in order of preference, with the most "
5774"preferred source listed first. Typically this will result in sorting by "
5775"speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
5776"followed by distant Internet hosts, for example)."
5777msgstr ""
5778
5779#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5780#: sources.list.5.xml
864fe99c
MV
5781#, no-wrap
5782msgid "&sourceslist-list-format;"
5783msgstr ""
5784
5785#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 5786#: sources.list.5.xml
864fe99c
MV
5787#, no-wrap
5788msgid "&sourceslist-sources-format;"
5789msgstr ""
5790
5791#. type: Content of: <refentry><refsect1><para>
04f27fae 5792#: sources.list.5.xml
864fe99c 5793msgid ""
051029f8
DK
5794"As an example, the sources for your distribution could look like this in one-"
5795"line-style format: <placeholder type=\"literallayout\" id=\"0\"/> or like "
864fe99c
MV
5796"this in deb822 style format: <placeholder type=\"literallayout\" id=\"1\"/>"
5797msgstr ""
5798
5799#. type: Content of: <refentry><refsect1><title>
04f27fae 5800#: sources.list.5.xml
864fe99c
MV
5801msgid "The deb and deb-src types: Options"
5802msgstr ""
5803
5804#. type: Content of: <refentry><refsect1><para>
04f27fae 5805#: sources.list.5.xml
864fe99c 5806msgid ""
051029f8
DK
5807"Each source entry can have options specified to modify which source is "
5808"accessed and how data is acquired from it. Format, syntax and names of the "
5809"options vary between the one-line-style and deb822-style formats as "
5810"described, but they both have the same options available. For simplicity we "
5811"list the deb822 fieldname and provide the one-line name in brackets. "
5812"Remember that besides setting multivalue options explicitly, there is also "
864fe99c
MV
5813"the option to modify them based on the default, but we aren't listing those "
5814"names explicitly here. Unsupported options are silently ignored by all APT "
5815"versions."
7d76ea1d 5816msgstr ""
fec6996f 5817
7d76ea1d 5818#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5819#: sources.list.5.xml
b6c6b52f 5820msgid ""
864fe99c
MV
5821"<option>Architectures</option> (<option>arch</option>) is a multivalue "
5822"option defining for which architectures information should be downloaded. If "
5823"this option isn't set the default is all architectures as defined by the "
5824"<option>APT::Architectures</option> config option."
b6c6b52f
MV
5825msgstr ""
5826
7d76ea1d 5827#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5828#: sources.list.5.xml
ce34af08 5829msgid ""
864fe99c 5830"<option>Languages</option> (<option>lang</option>) is a multivalue option "
051029f8 5831"defining for which languages information such as translated package "
864fe99c
MV
5832"descriptions should be downloaded. If this option isn't set the default is "
5833"all languages as defined by the <option>Acquire::Languages</option> config "
5834"option."
ce34af08
MV
5835msgstr ""
5836
5837#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5838#: sources.list.5.xml
782486e8 5839msgid ""
864fe99c
MV
5840"<option>Targets</option> (<option>target</option>) is a multivalue option "
5841"defining which download targets apt will try to acquire from this source. If "
5842"not specified, the default set is defined by the <option>Acquire::"
5b057748
JAK
5843"IndexTargets</option> configuration scope (targets are specified by their "
5844"name in the <literal>Created-By</literal> field). Additionally, targets can "
5845"be enabled or disabled by using the <literal>Identifier</literal> field as "
5846"an option with a boolean value instead of using this multivalue option."
782486e8 5847msgstr ""
fec6996f 5848
e49dd9d3 5849#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5850#: sources.list.5.xml
e49dd9d3
MV
5851msgid ""
5852"<option>PDiffs</option> (<option>pdiffs</option>) is a yes/no value which "
5853"controls if APT should try to use PDiffs to update old indexes instead of "
5854"downloading the new indexes entirely. The value of this option is ignored if "
5855"the repository doesn't announce the availability of PDiffs. Defaults to the "
5856"value of the option with the same name for a specific index file defined in "
051029f8 5857"the <option>Acquire::IndexTargets</option> scope, which itself defaults to "
e49dd9d3
MV
5858"the value of configuration option <option>Acquire::PDiffs</option> which "
5859"defaults to <literal>yes</literal>."
5860msgstr ""
5861
04f27fae
MV
5862#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5863#: sources.list.5.xml
5864msgid ""
051029f8
DK
5865"<option>By-Hash</option> (<option>by-hash</option>) can have the value "
5866"<literal>yes</literal>, <literal>no</literal> or <literal>force</literal> "
5867"and controls if APT should try to acquire indexes via a URI constructed from "
5868"a hashsum of the expected file instead of using the well-known stable "
5869"filename of the index. Using this can avoid hashsum mismatches, but requires "
5870"a supporting mirror. A <literal>yes</literal> or <literal>no</literal> value "
04f27fae 5871"activates/disables the use of this feature if this source indicates support "
051029f8
DK
5872"for it, while <literal>force</literal> will enable the feature regardless of "
5873"what the source indicates. Defaults to the value of the option of the same "
5874"name for a specific index file defined in the <option>Acquire::IndexTargets</"
5875"option> scope, which itself defaults to the value of configuration option "
04f27fae
MV
5876"<option>Acquire::By-Hash</option> which defaults to <literal>yes</literal>."
5877msgstr ""
5878
7d76ea1d 5879#. type: Content of: <refentry><refsect1><para>
04f27fae 5880#: sources.list.5.xml
fec6996f 5881msgid ""
051029f8 5882"Furthermore, there are options which if set affect <emphasis>all</emphasis> "
864fe99c
MV
5883"sources with the same URI and Suite, so they have to be set on all such "
5884"entries and can not be varied between different components. APT will try to "
5885"detect and error out on such anomalies."
fec6996f 5886msgstr ""
fec6996f 5887
14e325c7
JAK
5888#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5889#: sources.list.5.xml
5890msgid ""
5891"<option>Allow-Insecure</option> (<option>allow-insecure</option>), "
5892"<option>Allow-Weak</option> (<option>allow-weak</option>) and <option>Allow-"
5893"Downgrade-To-Insecure</option> (<option>allow-downgrade-to-insecure</"
5894"option>) are boolean values which all default to <literal>no</literal>. If "
5895"set to <literal>yes</literal> they circumvent parts of &apt-secure; and "
5896"should therefore not be used lightly!"
5897msgstr ""
5898
cbbee23e
DK
5899#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5900#: sources.list.5.xml
5901msgid ""
5902"<option>Trusted</option> (<option>trusted</option>) is a tri-state value "
5903"which defaults to APT deciding if a source is considered trusted or if "
5904"warnings should be raised before e.g. packages are installed from this "
4c482ac5
MV
5905"source. This option can be used to override that decision. The value "
5906"<literal>yes</literal> tells APT always to consider this source as trusted, "
5907"even if it doesn't pass authentication checks. It disables parts of &apt-"
5908"secure;, and should therefore only be used in a local and trusted context "
5909"(if at all) as otherwise security is breached. The value <literal>no</"
5910"literal> does the opposite, causing the source to be handled as untrusted "
5911"even if the authentication checks passed successfully. The default value "
5912"can't be set explicitly."
cbbee23e
DK
5913msgstr ""
5914
864fe99c 5915#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5916#: sources.list.5.xml
864fe99c
MV
5917msgid ""
5918"<option>Signed-By</option> (<option>signed-by</option>) is either an "
5919"absolute path to a keyring file (has to be accessible and readable for the "
5920"<literal>_apt</literal> user, so ensure everyone has read-permissions on the "
5b057748
JAK
5921"file) or one or more fingerprints of keys either in the <filename>trusted."
5922"gpg</filename> keyring or in the keyrings in the <filename>trusted.gpg.d/</"
864fe99c 5923"filename> directory (see <command>apt-key fingerprint</command>). If the "
5b057748
JAK
5924"option is set, only the key(s) in this keyring or only the keys with these "
5925"fingerprints are used for the &apt-secure; verification of this repository. "
5926"Defaults to the value of the option with the same name if set in the "
5927"previously acquired <filename>Release</filename> file. Otherwise all keys "
5928"in the trusted keyrings are considered valid signers for this repository."
864fe99c 5929msgstr ""
fec6996f 5930
864fe99c 5931#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5932#: sources.list.5.xml
fec6996f 5933msgid ""
864fe99c
MV
5934"<option>Check-Valid-Until</option> (<option>check-valid-until</option>) is "
5935"a yes/no value which controls if APT should try to detect replay attacks. A "
051029f8
DK
5936"repository creator can declare a time until which the data provided in the "
5937"repository should be considered valid, and if this time is reached, but no "
5938"new data is provided, the data is considered expired and an error is "
5939"raised. Besides increasing security, as a malicious attacker can't send old "
5940"data forever to prevent a user from upgrading to a new version, this also "
5941"helps users identify mirrors which are no longer updated. However, some "
5942"repositories such as historic archives are not updated any more by design, "
5943"so this check can be disabled by setting this option to <literal>no</"
5944"literal>. Defaults to the value of configuration option <option>Acquire::"
5945"Check-Valid-Until</option> which itself defaults to <literal>yes</literal>."
864fe99c
MV
5946msgstr ""
5947
5948#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
04f27fae 5949#: sources.list.5.xml
864fe99c 5950msgid ""
e49dd9d3 5951"<option>Valid-Until-Min</option> (<option>valid-until-min</option>) and "
864fe99c
MV
5952"<option>Valid-Until-Max</option> (<option>valid-until-max</option>) can be "
5953"used to raise or lower the time period in seconds in which the data from "
5954"this repository is considered valid. -Max can be especially useful if the "
5955"repository provides no Valid-Until field on its Release file to set your own "
bf33c3bd 5956"value, while -Min can be used to increase the valid time on seldom updated "
864fe99c
MV
5957"(local) mirrors of a more frequently updated but less accessible archive "
5958"(which is in the sources.list as well) instead of disabling the check "
5959"entirely. Default to the value of the configuration options "
5960"<option>Acquire::Min-ValidTime</option> and <option>Acquire::Max-ValidTime</"
5961"option> which are both unset by default."
fec6996f 5962msgstr ""
fec6996f 5963
7d76ea1d 5964#. type: Content of: <refentry><refsect1><title>
04f27fae 5965#: sources.list.5.xml
051029f8 5966msgid "URI Specification"
fec6996f 5967msgstr ""
fec6996f 5968
7d76ea1d 5969#. type: Content of: <refentry><refsect1><para>
04f27fae 5970#: sources.list.5.xml
7d76ea1d 5971msgid "The currently recognized URI types are:"
fec6996f 5972msgstr ""
fec6996f 5973
7d76ea1d 5974#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5975#: sources.list.5.xml
fec6996f 5976msgid ""
7d76ea1d
DK
5977"The file scheme allows an arbitrary directory in the file system to be "
5978"considered an archive. This is useful for NFS mounts and local mirrors or "
5979"archives."
fec6996f 5980msgstr ""
fec6996f 5981
7d76ea1d 5982#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5983#: sources.list.5.xml
fec6996f 5984msgid ""
7d76ea1d
DK
5985"The cdrom scheme allows APT to use a local CD-ROM drive with media swapping. "
5986"Use the &apt-cdrom; program to create cdrom entries in the source list."
fec6996f 5987msgstr ""
fec6996f 5988
7d76ea1d 5989#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 5990#: sources.list.5.xml
fec6996f 5991msgid ""
7d76ea1d
DK
5992"The http scheme specifies an HTTP server for the archive. If an environment "
5993"variable <envar>http_proxy</envar> is set with the format http://server:"
5994"port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
5995"Users of authenticated HTTP/1.1 proxies may use a string of the format "
5996"http://user:pass@server:port/. Note that this is an insecure method of "
5997"authentication."
fec6996f 5998msgstr ""
fec6996f 5999
7d76ea1d 6000#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6001#: sources.list.5.xml
fec6996f 6002msgid ""
7d76ea1d
DK
6003"The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
6004"is highly configurable; for more information see the &apt-conf; manual page. "
5723791e
JR
6005"Please note that an FTP proxy can be specified by using the "
6006"<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
6007"HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
dabb215c 6008"environment variable and <emphasis>only</emphasis> this environment "
5723791e 6009"variable. Proxies using HTTP specified in the configuration file will be "
7d76ea1d 6010"ignored."
fec6996f 6011msgstr ""
fec6996f 6012
7d76ea1d 6013#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6014#: sources.list.5.xml
fec6996f 6015msgid ""
7d76ea1d
DK
6016"The copy scheme is identical to the file scheme except that packages are "
6017"copied into the cache directory instead of used directly at their location. "
5723791e
JR
6018"This is useful for people using removable media to copy files around with "
6019"APT."
fec6996f 6020msgstr ""
fec6996f 6021
7d76ea1d 6022#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6023#: sources.list.5.xml
fec6996f 6024msgid ""
5723791e
JR
6025"The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
6026"the files as a given user. Prior configuration of rhosts or RSA keys is "
6027"recommended. The standard <command>find</command> and <command>dd</command> "
6028"commands are used to perform the file transfers from the remote host."
fec6996f 6029msgstr ""
fec6996f 6030
7d76ea1d 6031#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
04f27fae 6032#: sources.list.5.xml
7d76ea1d
DK
6033msgid "adding more recognizable URI types"
6034msgstr ""
fec6996f 6035
7d76ea1d 6036#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
04f27fae 6037#: sources.list.5.xml
fec6996f 6038msgid ""
5723791e
JR
6039"APT can be extended with more methods shipped in other optional packages, "
6040"which should follow the naming scheme <package>apt-transport-"
6041"<replaceable>method</replaceable></package>. For instance, the APT team "
6042"also maintains the package <package>apt-transport-https</package>, which "
6043"provides access methods for HTTPS URIs with features similar to the http "
6044"method. Methods for using e.g. debtorrent are also available - see &apt-"
7d76ea1d 6045"transport-debtorrent;."
fec6996f 6046msgstr ""
fec6996f 6047
7d76ea1d 6048#. type: Content of: <refentry><refsect1><para>
04f27fae 6049#: sources.list.5.xml
fec6996f 6050msgid ""
864fe99c 6051"Uses the archive stored locally (or NFS mounted) at /home/apt/debian for "
7d76ea1d
DK
6052"stable/main, stable/contrib, and stable/non-free."
6053msgstr ""
6054
6055#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6056#: sources.list.5.xml
864fe99c
MV
6057#, no-wrap
6058msgid "deb file:/home/apt/debian stable main contrib non-free"
6059msgstr ""
6060
6061#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6062#: sources.list.5.xml
7d76ea1d 6063#, no-wrap
864fe99c
MV
6064msgid ""
6065"Types: deb\n"
6066"URIs: file:/home/apt/debian\n"
6067"Suites: stable\n"
6068"Components: main contrib non-free"
fec6996f 6069msgstr ""
fec6996f 6070
7d76ea1d 6071#. type: Content of: <refentry><refsect1><para>
04f27fae 6072#: sources.list.5.xml
7d76ea1d 6073msgid "As above, except this uses the unstable (development) distribution."
fec6996f 6074msgstr ""
fec6996f 6075
7d76ea1d 6076#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6077#: sources.list.5.xml
7d76ea1d 6078#, no-wrap
864fe99c
MV
6079msgid "deb file:/home/apt/debian unstable main contrib non-free"
6080msgstr ""
6081
6082#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6083#: sources.list.5.xml
864fe99c
MV
6084#, no-wrap
6085msgid ""
6086"Types: deb\n"
6087"URIs: file:/home/apt/debian\n"
6088"Suites: unstable\n"
6089"Components: main contrib non-free"
fec6996f 6090msgstr ""
fec6996f 6091
7d76ea1d 6092#. type: Content of: <refentry><refsect1><para>
04f27fae 6093#: sources.list.5.xml
051029f8 6094msgid "Sources specification for the above."
fec6996f 6095msgstr ""
fec6996f 6096
7d76ea1d 6097#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6098#: sources.list.5.xml
7d76ea1d 6099#, no-wrap
864fe99c
MV
6100msgid "deb-src file:/home/apt/debian unstable main contrib non-free"
6101msgstr ""
6102
6103#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6104#: sources.list.5.xml
864fe99c
MV
6105#, no-wrap
6106msgid ""
6107"Types: deb-src\n"
6108"URIs: file:/home/apt/debian\n"
6109"Suites: unstable\n"
6110"Components: main contrib non-free"
fec6996f 6111msgstr ""
fec6996f 6112
7d76ea1d 6113#. type: Content of: <refentry><refsect1><para>
04f27fae 6114#: sources.list.5.xml
b81dbe40 6115msgid ""
7d76ea1d
DK
6116"The first line gets package information for the architectures in "
6117"<literal>APT::Architectures</literal> while the second always retrieves "
6118"<literal>amd64</literal> and <literal>armel</literal>."
b81dbe40
DK
6119msgstr ""
6120
7d76ea1d 6121#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6122#: sources.list.5.xml
7d76ea1d 6123#, no-wrap
b81dbe40 6124msgid ""
30749ef1
JAK
6125"deb http://deb.debian.org/debian &debian-stable-codename; main\n"
6126"deb [ arch=amd64,armel ] http://deb.debian.org/debian &debian-stable-codename; main"
864fe99c
MV
6127msgstr ""
6128
6129#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6130#: sources.list.5.xml
864fe99c
MV
6131#, no-wrap
6132msgid ""
6133"Types: deb\n"
30749ef1 6134"URIs: http://deb.debian.org/debian\n"
9feb98eb 6135"Suites: &debian-stable-codename;\n"
864fe99c
MV
6136"Components: main\n"
6137"\n"
6138"Types: deb\n"
30749ef1 6139"URIs: http://deb.debian.org/debian\n"
9feb98eb 6140"Suites: &debian-stable-codename;\n"
864fe99c
MV
6141"Components: main\n"
6142"Architectures: amd64 armel\n"
b81dbe40 6143msgstr ""
b81dbe40 6144
7d76ea1d 6145#. type: Content of: <refentry><refsect1><para>
04f27fae 6146#: sources.list.5.xml
fec6996f 6147msgid ""
7d76ea1d
DK
6148"Uses HTTP to access the archive at archive.debian.org, and uses only the "
6149"hamm/main area."
fec6996f 6150msgstr ""
fec6996f 6151
7d76ea1d 6152#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6153#: sources.list.5.xml
7d76ea1d
DK
6154#, no-wrap
6155msgid "deb http://archive.debian.org/debian-archive hamm main"
fec6996f 6156msgstr ""
fec6996f 6157
864fe99c 6158#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6159#: sources.list.5.xml
864fe99c
MV
6160#, no-wrap
6161msgid ""
6162"Types: deb\n"
6163"URIs: http://archive.debian.org/debian-archive\n"
6164"Suites: hamm\n"
6165"Components: main"
6166msgstr ""
6167
7d76ea1d 6168#. type: Content of: <refentry><refsect1><para>
04f27fae 6169#: sources.list.5.xml
fec6996f 6170msgid ""
7d76ea1d 6171"Uses FTP to access the archive at ftp.debian.org, under the debian "
9feb98eb 6172"directory, and uses only the &debian-stable-codename;/contrib area."
fec6996f 6173msgstr ""
fec6996f 6174
7d76ea1d 6175#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6176#: sources.list.5.xml
7d76ea1d 6177#, no-wrap
9feb98eb 6178msgid "deb ftp://ftp.debian.org/debian &debian-stable-codename; contrib"
fec6996f 6179msgstr ""
fec6996f 6180
864fe99c 6181#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6182#: sources.list.5.xml
864fe99c
MV
6183#, no-wrap
6184msgid ""
6185"Types: deb\n"
6186"URIs: ftp://ftp.debian.org/debian\n"
9feb98eb 6187"Suites: &debian-stable-codename;\n"
864fe99c
MV
6188"Components: contrib"
6189msgstr ""
6190
7d76ea1d 6191#. type: Content of: <refentry><refsect1><para>
04f27fae 6192#: sources.list.5.xml
fec6996f 6193msgid ""
7d76ea1d
DK
6194"Uses FTP to access the archive at ftp.debian.org, under the debian "
6195"directory, and uses only the unstable/contrib area. If this line appears as "
6196"well as the one in the previous example in <filename>sources.list</filename> "
6197"a single FTP session will be used for both resource lines."
fec6996f 6198msgstr ""
fec6996f 6199
7d76ea1d 6200#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6201#: sources.list.5.xml
7d76ea1d
DK
6202#, no-wrap
6203msgid "deb ftp://ftp.debian.org/debian unstable contrib"
fec6996f 6204msgstr ""
fec6996f 6205
864fe99c 6206#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6207#: sources.list.5.xml
864fe99c
MV
6208#, no-wrap
6209msgid ""
6210"Types: deb\n"
6211"URIs: ftp://ftp.debian.org/debian\n"
6212"Suites: unstable\n"
6213"Components: contrib"
6214msgstr ""
6215
7d76ea1d 6216#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6217#: sources.list.5.xml
7d76ea1d
DK
6218#, no-wrap
6219msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
6220msgstr ""
6221
864fe99c 6222#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6223#: sources.list.5.xml
864fe99c
MV
6224#, no-wrap
6225msgid ""
6226"Types: deb\n"
6227"URIs: http://ftp.tlh.debian.org/universe\n"
6228"Suites: unstable/binary-$(ARCH)/"
6229msgstr ""
6230
7d76ea1d 6231#. type: Content of: <refentry><refsect1><para>
04f27fae 6232#: sources.list.5.xml
fec6996f 6233msgid ""
7d76ea1d
DK
6234"Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
6235"directory, and uses only files found under <filename>unstable/binary-i386</"
6236"filename> on i386 machines, <filename>unstable/binary-amd64</filename> on "
6237"amd64, and so forth for other supported architectures. [Note this example "
6238"only illustrates how to use the substitution variable; official debian "
6239"archives are not structured like this] <placeholder type=\"literallayout\" "
864fe99c
MV
6240"id=\"0\"/> <placeholder type=\"literallayout\" id=\"1\"/>"
6241msgstr ""
6242
6243#. type: Content of: <refentry><refsect1><para>
04f27fae 6244#: sources.list.5.xml
864fe99c
MV
6245msgid ""
6246"Uses HTTP to get binary packages as well as sources from the stable, testing "
6247"and unstable suites and the components main and contrib."
6248msgstr ""
6249
6250#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6251#: sources.list.5.xml
864fe99c
MV
6252#, no-wrap
6253msgid ""
30749ef1
JAK
6254"deb http://deb.debian.org/debian stable main contrib\n"
6255"deb-src http://deb.debian.org/debian stable main contrib\n"
6256"deb http://deb.debian.org/debian testing main contrib\n"
6257"deb-src http://deb.debian.org/debian testing main contrib\n"
6258"deb http://deb.debian.org/debian unstable main contrib\n"
6259"deb-src http://deb.debian.org/debian unstable main contrib"
864fe99c
MV
6260msgstr ""
6261
6262#. type: Content of: <refentry><refsect1><literallayout>
04f27fae 6263#: sources.list.5.xml
864fe99c
MV
6264#, no-wrap
6265msgid ""
6266"Types: deb deb-src\n"
30749ef1 6267"URIs: http://deb.debian.org/debian\n"
864fe99c
MV
6268"Suites: stable testing unstable\n"
6269"Components: main contrib\n"
fec6996f 6270msgstr ""
fec6996f 6271
7d76ea1d 6272#. type: Content of: <refentry><refsect1><para>
04f27fae 6273#: sources.list.5.xml
5b057748 6274msgid "&apt-get;, &apt-conf;, &apt-acquire-additional-files;"
769e06cf 6275msgstr "&apt-get;, &apt-conf;, &apt-acquire-additional-files;"
7d76ea1d
DK
6276
6277#. type: Content of: <refentry><refmeta><manvolnum>
04f27fae 6278#: apt-extracttemplates.1.xml apt-sortpkgs.1.xml apt-ftparchive.1.xml
7d76ea1d 6279msgid "1"
782486e8
MV
6280msgstr ""
6281
7d76ea1d 6282#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 6283#: apt-extracttemplates.1.xml
782486e8 6284msgid ""
7d76ea1d
DK
6285"Utility to extract <command>debconf</command> config and templates from "
6286"Debian packages"
782486e8
MV
6287msgstr ""
6288
7d76ea1d 6289#. type: Content of: <refentry><refsect1><para>
04f27fae 6290#: apt-extracttemplates.1.xml
782486e8 6291msgid ""
7d76ea1d
DK
6292"<command>apt-extracttemplates</command> will take one or more Debian package "
6293"files as input and write out (to a temporary directory) all associated "
6294"config scripts and template files. For each passed in package that contains "
6295"config scripts and templates, one line of output will be generated in the "
6296"format:"
6297msgstr ""
6298
6299#. type: Content of: <refentry><refsect1><para>
04f27fae 6300#: apt-extracttemplates.1.xml
7d76ea1d 6301msgid "package version template-file config-script"
782486e8 6302msgstr ""
782486e8 6303
7d76ea1d 6304#. type: Content of: <refentry><refsect1><para>
04f27fae 6305#: apt-extracttemplates.1.xml
782486e8 6306msgid ""
7d76ea1d
DK
6307"template-file and config-script are written to the temporary directory "
6308"specified by the <option>-t</option> or <option>--tempdir</option> "
6309"(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
93ae7f7f
MV
6310"filenames of the form <filename>package.template.XXXXXX</filename> and "
6311"<filename>package.config.XXXXXX</filename>"
782486e8
MV
6312msgstr ""
6313
7d76ea1d 6314#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6315#: apt-extracttemplates.1.xml
782486e8 6316msgid ""
7d76ea1d
DK
6317"Temporary directory in which to write extracted <command>debconf</command> "
6318"template files and config scripts. Configuration Item: <literal>APT::"
6319"ExtractTemplates::TempDir</literal>"
782486e8 6320msgstr ""
782486e8 6321
7d76ea1d 6322#. type: Content of: <refentry><refsect1><para>
04f27fae 6323#: apt-extracttemplates.1.xml
2b9b27c3 6324msgid ""
7d76ea1d
DK
6325"<command>apt-extracttemplates</command> returns zero on normal operation, "
6326"decimal 100 on error."
782486e8
MV
6327msgstr ""
6328
7d76ea1d 6329#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 6330#: apt-sortpkgs.1.xml
7d76ea1d
DK
6331msgid "Utility to sort package index files"
6332msgstr ""
fec6996f 6333
7d76ea1d 6334#. type: Content of: <refentry><refsect1><para>
04f27fae 6335#: apt-sortpkgs.1.xml
187aa32e 6336msgid ""
14301cf3
JR
6337"<command>apt-sortpkgs</command> will take an index file (source index or "
6338"package index) and sort the records so that they are ordered by the package "
7d76ea1d
DK
6339"name. It will also sort the internal fields of each record according to the "
6340"internal sorting rules."
187aa32e 6341msgstr ""
187aa32e 6342
7d76ea1d 6343#. type: Content of: <refentry><refsect1><para>
04f27fae 6344#: apt-sortpkgs.1.xml
5723791e
JR
6345msgid ""
6346"All output is sent to standard output; the input must be a seekable file."
7d76ea1d 6347msgstr ""
fec6996f 6348
7d76ea1d 6349#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6350#: apt-sortpkgs.1.xml
fec6996f 6351msgid ""
14301cf3 6352"Use source index field ordering. Configuration Item: <literal>APT::"
7d76ea1d 6353"SortPkgs::Source</literal>."
fec6996f 6354msgstr ""
fec6996f 6355
7d76ea1d 6356#. type: Content of: <refentry><refsect1><para>
04f27fae 6357#: apt-sortpkgs.1.xml
fec6996f 6358msgid ""
7d76ea1d
DK
6359"<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
6360"100 on error."
fec6996f 6361msgstr ""
fec6996f 6362
7d76ea1d 6363#. type: Content of: <refentry><refnamediv><refpurpose>
04f27fae 6364#: apt-ftparchive.1.xml
7d76ea1d
DK
6365msgid "Utility to generate index files"
6366msgstr ""
fec6996f 6367
7d76ea1d 6368#. type: Content of: <refentry><refsect1><para>
04f27fae 6369#: apt-ftparchive.1.xml
fec6996f 6370msgid ""
7d76ea1d
DK
6371"<command>apt-ftparchive</command> is the command line tool that generates "
6372"the index files that APT uses to access a distribution source. The index "
6373"files should be generated on the origin site based on the content of that "
6374"site."
fec6996f 6375msgstr ""
fec6996f 6376
7d76ea1d 6377#. type: Content of: <refentry><refsect1><para>
04f27fae 6378#: apt-ftparchive.1.xml
fec6996f 6379msgid ""
7d76ea1d
DK
6380"<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
6381"program, incorporating its entire functionality via the <literal>packages</"
6382"literal> command. It also contains a contents file generator, "
6383"<literal>contents</literal>, and an elaborate means to 'script' the "
6384"generation process for a complete archive."
fec6996f 6385msgstr ""
fec6996f 6386
7d76ea1d 6387#. type: Content of: <refentry><refsect1><para>
04f27fae 6388#: apt-ftparchive.1.xml
7d76ea1d
DK
6389msgid ""
6390"Internally <command>apt-ftparchive</command> can make use of binary "
6391"databases to cache the contents of a .deb file and it does not rely on any "
6392"external programs aside from &gzip;. When doing a full generate it "
6393"automatically performs file-change checks and builds the desired compressed "
6394"output files."
6395msgstr ""
fec6996f 6396
7d76ea1d 6397#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6398#: apt-ftparchive.1.xml
fec6996f 6399msgid ""
7d76ea1d
DK
6400"The packages command generates a package file from a directory tree. It "
6401"takes the given directory and recursively searches it for .deb files, "
6402"emitting a package record to stdout for each. This command is approximately "
6403"equivalent to &dpkg-scanpackages;."
fec6996f 6404msgstr ""
fec6996f 6405
7d76ea1d 6406#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6407#: apt-ftparchive.1.xml
7d76ea1d
DK
6408msgid ""
6409"The option <option>--db</option> can be used to specify a binary caching DB."
6410msgstr ""
fec6996f 6411
7d76ea1d 6412#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6413#: apt-ftparchive.1.xml
7d76ea1d
DK
6414msgid ""
6415"The <literal>sources</literal> command generates a source index file from a "
6416"directory tree. It takes the given directory and recursively searches it "
6417"for .dsc files, emitting a source record to stdout for each. This command is "
6418"approximately equivalent to &dpkg-scansources;."
6419msgstr ""
fec6996f 6420
7d76ea1d 6421#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6422#: apt-ftparchive.1.xml
fec6996f 6423msgid ""
7d76ea1d
DK
6424"If an override file is specified then a source override file will be looked "
6425"for with an extension of .src. The --source-override option can be used to "
6426"change the source override file that will be used."
fec6996f 6427msgstr ""
fec6996f 6428
7d76ea1d 6429#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6430#: apt-ftparchive.1.xml
fec6996f 6431msgid ""
7d76ea1d
DK
6432"The <literal>contents</literal> command generates a contents file from a "
6433"directory tree. It takes the given directory and recursively searches it "
6434"for .deb files, and reads the file list from each file. It then sorts and "
6435"writes to stdout the list of files matched to packages. Directories are not "
6436"written to the output. If multiple packages own the same file then each "
6437"package is separated by a comma in the output."
fec6996f 6438msgstr ""
fec6996f 6439
7d76ea1d 6440#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6441#: apt-ftparchive.1.xml
fec6996f 6442msgid ""
7d76ea1d
DK
6443"The <literal>release</literal> command generates a Release file from a "
6444"directory tree. It recursively searches the given directory for uncompressed "
5ff8dd6b
JAK
6445"and compressed <filename>Packages</filename>, <filename>Sources</filename>, "
6446"<filename>Contents</filename>, <filename>Components</filename> and "
6447"<filename>icons</filename> files as well as <filename>Release</filename>, "
6448"<filename>Index</filename> and <filename>md5sum.txt</filename> files by "
6449"default (<literal>APT::FTPArchive::Release::Default-Patterns</literal>). "
6450"Additional filename patterns can be added by listing them in <literal>APT::"
6451"FTPArchive::Release::Patterns</literal>. It then writes to stdout a "
6452"<filename>Release</filename> file containing (by default) an MD5, SHA1, "
6453"SHA256 and SHA512 digest for each file."
7d76ea1d
DK
6454msgstr ""
6455
6456#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6457#: apt-ftparchive.1.xml
7d76ea1d
DK
6458msgid ""
6459"Values for the additional metadata fields in the Release file are taken from "
6460"the corresponding variables under <literal>APT::FTPArchive::Release</"
5ff8dd6b
JAK
6461"literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
6462"supported fields are <literal>Origin</literal>, <literal>Label</literal>, "
7d76ea1d 6463"<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
769e06cf
DK
6464"literal>, <literal>Date</literal>, <literal>NotAutomatic</literal>, "
6465"<literal>ButAutomaticUpgrades</literal>, <literal>Acquire-By-Hash</literal>, "
6466"<literal>Valid-Until</literal>, <literal>Signed-By</literal>, "
6467"<literal>Architectures</literal>, <literal>Components</literal> and "
6468"<literal>Description</literal>."
fec6996f 6469msgstr ""
fec6996f 6470
7d76ea1d 6471#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6472#: apt-ftparchive.1.xml
7d76ea1d
DK
6473msgid ""
6474"The <literal>generate</literal> command is designed to be runnable from a "
6475"cron script and builds indexes according to the given config file. The "
6476"config language provides a flexible means of specifying which index files "
6477"are built from which directories, as well as providing a simple means of "
6478"maintaining the required settings."
fec6996f
DK
6479msgstr ""
6480
7d76ea1d 6481#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6482#: apt-ftparchive.1.xml
fec6996f 6483msgid ""
7d76ea1d
DK
6484"The <literal>clean</literal> command tidies the databases used by the given "
6485"configuration file by removing any records that are no longer necessary."
fec6996f 6486msgstr ""
fec6996f 6487
7d76ea1d 6488#. type: Content of: <refentry><refsect1><title>
04f27fae 6489#: apt-ftparchive.1.xml
7d76ea1d
DK
6490msgid "The Generate Configuration"
6491msgstr ""
6492
6493#. type: Content of: <refentry><refsect1><para>
04f27fae 6494#: apt-ftparchive.1.xml
fec6996f 6495msgid ""
7d76ea1d
DK
6496"The <literal>generate</literal> command uses a configuration file to "
6497"describe the archives that are going to be generated. It follows the typical "
6498"ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
6499"conf; contains a description of the syntax. Note that the generate "
6500"configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
6501"tree manner. This only effects how the scope tag is handled."
fec6996f 6502msgstr ""
fec6996f 6503
7d76ea1d 6504#. type: Content of: <refentry><refsect1><para>
04f27fae 6505#: apt-ftparchive.1.xml
fec6996f 6506msgid ""
7d76ea1d 6507"The generate configuration has four separate sections, each described below."
fec6996f 6508msgstr ""
fec6996f
DK
6509
6510#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6511#: apt-ftparchive.1.xml
fec6996f 6512#, fuzzy
7d76ea1d
DK
6513msgid "<literal>Dir</literal> Section"
6514msgstr "a linha <literal>Origin:</literal>"
fec6996f
DK
6515
6516#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6517#: apt-ftparchive.1.xml
fec6996f 6518msgid ""
7d76ea1d
DK
6519"The <literal>Dir</literal> section defines the standard directories needed "
6520"to locate the files required during the generation process. These "
6521"directories are prepended certain relative paths defined in later sections "
6522"to produce a complete an absolute path."
fec6996f 6523msgstr ""
fec6996f 6524
7d76ea1d 6525#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6526#: apt-ftparchive.1.xml
187aa32e 6527msgid ""
7d76ea1d
DK
6528"Specifies the root of the FTP archive, in a standard Debian configuration "
6529"this is the directory that contains the <filename>ls-LR</filename> and dist "
6530"nodes."
187aa32e 6531msgstr ""
187aa32e 6532
7d76ea1d 6533#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6534#: apt-ftparchive.1.xml
7d76ea1d
DK
6535msgid "Specifies the location of the override files."
6536msgstr ""
fec6996f 6537
7d76ea1d 6538#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6539#: apt-ftparchive.1.xml
7d76ea1d
DK
6540msgid "Specifies the location of the cache files."
6541msgstr ""
fec6996f 6542
7d76ea1d 6543#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6544#: apt-ftparchive.1.xml
7d76ea1d
DK
6545msgid ""
6546"Specifies the location of the file list files, if the <literal>FileList</"
6547"literal> setting is used below."
6548msgstr ""
fec6996f 6549
7d76ea1d 6550#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6551#: apt-ftparchive.1.xml
fec6996f 6552#, fuzzy
7d76ea1d
DK
6553msgid "<literal>Default</literal> Section"
6554msgstr "a linha <literal>Label:</literal>"
fec6996f
DK
6555
6556#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6557#: apt-ftparchive.1.xml
fec6996f 6558msgid ""
7d76ea1d
DK
6559"The <literal>Default</literal> section specifies default values, and "
6560"settings that control the operation of the generator. Other sections may "
6561"override these defaults with a per-section setting."
fec6996f 6562msgstr ""
fec6996f 6563
7d76ea1d 6564#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6565#: apt-ftparchive.1.xml
fec6996f 6566msgid ""
14301cf3 6567"Sets the default compression schemes to use for the package index files. It "
5ff8dd6b
JAK
6568"is a string that contains a space separated list of at least one of the "
6569"compressors configured via the <option>APT::Compressor</option> "
6570"configuration scope. The default for all compression schemes is '. gzip'."
fec6996f 6571msgstr ""
fec6996f 6572
7d76ea1d 6573#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6574#: apt-ftparchive.1.xml
7d76ea1d
DK
6575msgid ""
6576"Sets the default list of file extensions that are package files. This "
6577"defaults to '.deb'."
fec6996f 6578msgstr ""
fec6996f 6579
7d76ea1d 6580#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6581#: apt-ftparchive.1.xml
fec6996f 6582msgid ""
7d76ea1d
DK
6583"This is similar to <literal>Packages::Compress</literal> except that it "
6584"controls the compression for the Sources files."
fec6996f 6585msgstr ""
fec6996f 6586
7d76ea1d 6587#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6588#: apt-ftparchive.1.xml
7d76ea1d
DK
6589msgid ""
6590"Sets the default list of file extensions that are source files. This "
6591"defaults to '.dsc'."
fec6996f
DK
6592msgstr ""
6593
7d76ea1d 6594#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6595#: apt-ftparchive.1.xml
fec6996f 6596msgid ""
7d76ea1d
DK
6597"This is similar to <literal>Packages::Compress</literal> except that it "
6598"controls the compression for the Contents files."
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 Translation-en master file."
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"Specifies the number of kilobytes to delink (and replace with hard links) "
6612"per run. This is used in conjunction with the per-section <literal>External-"
6613"Links</literal> setting."
6614msgstr ""
fec6996f 6615
7d76ea1d 6616#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6617#: apt-ftparchive.1.xml
fec6996f 6618msgid ""
7d76ea1d
DK
6619"Specifies the mode of all created index files. It defaults to 0644. All "
6620"index files are set to this mode with no regard to the umask."
fec6996f 6621msgstr ""
fec6996f 6622
7d76ea1d 6623#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6624#: apt-ftparchive.1.xml
7d76ea1d
DK
6625msgid ""
6626"Specifies whether long descriptions should be included in the "
6627"<filename>Packages</filename> file or split out into a master "
6628"<filename>Translation-en</filename> file."
fec6996f 6629msgstr ""
fec6996f 6630
7d76ea1d 6631#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6632#: apt-ftparchive.1.xml
fec6996f 6633#, fuzzy
7d76ea1d
DK
6634msgid "<literal>TreeDefault</literal> Section"
6635msgstr "a linha <literal>Label:</literal>"
fec6996f 6636
7d76ea1d 6637#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6638#: apt-ftparchive.1.xml
fec6996f 6639msgid ""
7d76ea1d
DK
6640"Sets defaults specific to <literal>Tree</literal> sections. All of these "
6641"variables are substitution variables and have the strings $(DIST), "
6642"$(SECTION) and $(ARCH) replaced with their respective values."
fec6996f 6643msgstr ""
fec6996f 6644
7d76ea1d 6645#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6646#: apt-ftparchive.1.xml
7d76ea1d
DK
6647msgid ""
6648"Sets the number of kilobytes of contents files that are generated each day. "
6649"The contents files are round-robined so that over several days they will all "
6650"be rebuilt."
fec6996f 6651msgstr ""
fec6996f 6652
7d76ea1d 6653#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6654#: apt-ftparchive.1.xml
fec6996f 6655msgid ""
7d76ea1d
DK
6656"Controls the number of days a contents file is allowed to be checked without "
6657"changing. If this limit is passed the mtime of the contents file is updated. "
6658"This case can occur if the package file is changed in such a way that does "
6659"not result in a new contents file [override edit for instance]. A hold off "
6660"is allowed in hopes that new .debs will be installed, requiring a new file "
6661"anyhow. The default is 10, the units are in days."
fec6996f 6662msgstr ""
fec6996f 6663
7d76ea1d 6664#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6665#: apt-ftparchive.1.xml
7d76ea1d
DK
6666msgid ""
6667"Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
6668"$(SECTION)/binary-$(ARCH)/</filename>"
fec6996f 6669msgstr ""
fec6996f 6670
7d76ea1d 6671#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6672#: apt-ftparchive.1.xml
fec6996f 6673msgid ""
7d76ea1d
DK
6674"Sets the top of the source package directory tree. Defaults to <filename>"
6675"$(DIST)/$(SECTION)/source/</filename>"
fec6996f 6676msgstr ""
fec6996f 6677
7d76ea1d 6678#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6679#: apt-ftparchive.1.xml
7d76ea1d
DK
6680msgid ""
6681"Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
6682"binary-$(ARCH)/Packages</filename>"
6683msgstr ""
fec6996f 6684
7d76ea1d 6685#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6686#: apt-ftparchive.1.xml
fec6996f 6687msgid ""
7d76ea1d
DK
6688"Sets the output Sources file. Defaults to <filename>$(DIST)/$(SECTION)/"
6689"source/Sources</filename>"
fec6996f 6690msgstr ""
fec6996f 6691
7d76ea1d 6692#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6693#: apt-ftparchive.1.xml
7d76ea1d
DK
6694msgid ""
6695"Sets the output Translation-en master file with the long descriptions if "
6696"they should be not included in the Packages file. Defaults to <filename>"
6697"$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
6698msgstr ""
fec6996f 6699
7d76ea1d 6700#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6701#: apt-ftparchive.1.xml
fec6996f 6702msgid ""
7d76ea1d
DK
6703"Sets the path prefix that causes a symlink to be considered an internal link "
6704"instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
6705"filename>"
fec6996f 6706msgstr ""
fec6996f 6707
7d76ea1d 6708#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6709#: apt-ftparchive.1.xml
fec6996f 6710msgid ""
5e594b30
DK
6711"Sets the output Contents file. Defaults to <filename>$(DIST)/$(SECTION)/"
6712"Contents-$(ARCH)</filename>. If this setting causes multiple Packages files "
6713"to map onto a single Contents file (as is the default) then <command>apt-"
6714"ftparchive</command> will integrate those package files together "
6715"automatically."
fec6996f 6716msgstr ""
fec6996f 6717
7d76ea1d 6718#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6719#: apt-ftparchive.1.xml
7d76ea1d 6720msgid "Sets header file to prepend to the contents output."
fec6996f 6721msgstr ""
fec6996f 6722
7d76ea1d 6723#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6724#: apt-ftparchive.1.xml
fec6996f 6725msgid ""
7d76ea1d
DK
6726"Sets the binary cache database to use for this section. Multiple sections "
6727"can share the same database."
fec6996f 6728msgstr ""
fec6996f 6729
7d76ea1d 6730#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6731#: apt-ftparchive.1.xml
7d76ea1d
DK
6732msgid ""
6733"Specifies that instead of walking the directory tree, <command>apt-"
6734"ftparchive</command> should read the list of files from the given file. "
6735"Relative files names are prefixed with the archive directory."
fec6996f 6736msgstr ""
fec6996f 6737
7d76ea1d 6738#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6739#: apt-ftparchive.1.xml
fec6996f 6740msgid ""
7d76ea1d
DK
6741"Specifies that instead of walking the directory tree, <command>apt-"
6742"ftparchive</command> should read the list of files from the given file. "
6743"Relative files names are prefixed with the archive directory. This is used "
6744"when processing source indexes."
fec6996f 6745msgstr ""
fec6996f
DK
6746
6747#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6748#: apt-ftparchive.1.xml
fec6996f 6749#, fuzzy
7d76ea1d
DK
6750msgid "<literal>Tree</literal> Section"
6751msgstr "a linha <literal>Label:</literal>"
fec6996f 6752
7d76ea1d 6753#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6754#: apt-ftparchive.1.xml
fec6996f 6755msgid ""
7d76ea1d
DK
6756"The <literal>Tree</literal> section defines a standard Debian file tree "
6757"which consists of a base directory, then multiple sections in that base "
6758"directory and finally multiple Architectures in each section. The exact "
6759"pathing used is defined by the <literal>Directory</literal> substitution "
6760"variable."
fec6996f 6761msgstr ""
fec6996f
DK
6762
6763#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6764#: apt-ftparchive.1.xml
fec6996f 6765msgid ""
7d76ea1d
DK
6766"The <literal>Tree</literal> section takes a scope tag which sets the "
6767"<literal>$(DIST)</literal> variable and defines the root of the tree (the "
6768"path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
9feb98eb 6769"setting such as <filename>dists/&debian-stable-codename;</filename>."
fec6996f 6770msgstr ""
fec6996f
DK
6771
6772#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6773#: apt-ftparchive.1.xml
fec6996f 6774msgid ""
7d76ea1d
DK
6775"All of the settings defined in the <literal>TreeDefault</literal> section "
6776"can be used in a <literal>Tree</literal> section as well as three new "
6777"variables."
fec6996f 6778msgstr ""
fec6996f
DK
6779
6780#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
04f27fae 6781#: apt-ftparchive.1.xml
7d76ea1d
DK
6782#, no-wrap
6783msgid ""
6784"for i in Sections do \n"
6785" for j in Architectures do\n"
6786" Generate for DIST=scope SECTION=i ARCH=j\n"
6787" "
fec6996f 6788msgstr ""
fec6996f
DK
6789
6790#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6791#: apt-ftparchive.1.xml
fec6996f 6792msgid ""
7d76ea1d
DK
6793"When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
6794"command> performs an operation similar to: <placeholder type=\"programlisting"
6795"\" id=\"0\"/>"
fec6996f 6796msgstr ""
fec6996f 6797
7d76ea1d 6798#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6799#: apt-ftparchive.1.xml
7d76ea1d
DK
6800msgid ""
6801"This is a space separated list of sections which appear under the "
6802"distribution; typically this is something like <literal>main contrib non-"
6803"free</literal>"
fec6996f
DK
6804msgstr ""
6805
7d76ea1d 6806#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6807#: apt-ftparchive.1.xml
fec6996f 6808msgid ""
7d76ea1d
DK
6809"This is a space separated list of all the architectures that appear under "
6810"search section. The special architecture 'source' is used to indicate that "
051029f8
DK
6811"this tree has a source archive. The architecture 'all' signals that "
6812"architecture specific files like <filename>Packages</filename> should not "
6813"include information about architecture <literal>all</literal> packages in "
6814"all files as they will be available in a dedicated file."
fec6996f 6815msgstr ""
fec6996f 6816
7d76ea1d 6817#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6818#: apt-ftparchive.1.xml
fec6996f 6819msgid ""
7d76ea1d
DK
6820"Sets the binary override file. The override file contains section, priority "
6821"and maintainer address information."
fec6996f
DK
6822msgstr ""
6823
7d76ea1d 6824#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6825#: apt-ftparchive.1.xml
7d76ea1d
DK
6826msgid ""
6827"Sets the source override file. The override file contains section "
6828"information."
6829msgstr ""
6830
6831#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6832#: apt-ftparchive.1.xml
7d76ea1d
DK
6833msgid "Sets the binary extra override file."
6834msgstr ""
6835
6836#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6837#: apt-ftparchive.1.xml
7d76ea1d
DK
6838msgid "Sets the source extra override file."
6839msgstr ""
6840
6841#. type: Content of: <refentry><refsect1><refsect2><title>
04f27fae 6842#: apt-ftparchive.1.xml
fec6996f 6843#, fuzzy
7d76ea1d
DK
6844msgid "<literal>BinDirectory</literal> Section"
6845msgstr "a linha <literal>Component:</literal>"
6846
6847#. type: Content of: <refentry><refsect1><refsect2><para>
04f27fae 6848#: apt-ftparchive.1.xml
fec6996f 6849msgid ""
7d76ea1d
DK
6850"The <literal>bindirectory</literal> section defines a binary directory tree "
6851"with no special structure. The scope tag specifies the location of the "
6852"binary directory and the settings are similar to the <literal>Tree</literal> "
6853"section with no substitution variables or <literal>Section</"
6854"literal><literal>Architecture</literal> settings."
fec6996f 6855msgstr ""
fec6996f 6856
7d76ea1d 6857#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6858#: apt-ftparchive.1.xml
7d76ea1d 6859msgid "Sets the Packages file output."
fec6996f 6860msgstr ""
fec6996f 6861
7d76ea1d 6862#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6863#: apt-ftparchive.1.xml
fec6996f 6864msgid ""
7d76ea1d
DK
6865"Sets the Sources file output. At least one of <literal>Packages</literal> or "
6866"<literal>Sources</literal> is required."
fec6996f 6867msgstr ""
fec6996f 6868
7d76ea1d 6869#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6870#: apt-ftparchive.1.xml
7d76ea1d
DK
6871msgid "Sets the Contents file output (optional)."
6872msgstr ""
fec6996f 6873
7d76ea1d 6874#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6875#: apt-ftparchive.1.xml
7d76ea1d 6876msgid "Sets the binary override file."
fec6996f
DK
6877msgstr ""
6878
7d76ea1d 6879#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6880#: apt-ftparchive.1.xml
7d76ea1d 6881msgid "Sets the source override file."
fec6996f
DK
6882msgstr ""
6883
7d76ea1d 6884#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6885#: apt-ftparchive.1.xml
7d76ea1d 6886msgid "Sets the cache DB."
fec6996f
DK
6887msgstr ""
6888
7d76ea1d 6889#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6890#: apt-ftparchive.1.xml
7d76ea1d 6891msgid "Appends a path to all the output paths."
fec6996f
DK
6892msgstr ""
6893
7d76ea1d 6894#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
04f27fae 6895#: apt-ftparchive.1.xml
7d76ea1d 6896msgid "Specifies the file list file."
fec6996f
DK
6897msgstr ""
6898
6899#. type: Content of: <refentry><refsect1><title>
04f27fae 6900#: apt-ftparchive.1.xml
7d76ea1d 6901msgid "The Binary Override File"
fec6996f
DK
6902msgstr ""
6903
6904#. type: Content of: <refentry><refsect1><para>
04f27fae 6905#: apt-ftparchive.1.xml
fec6996f 6906msgid ""
7d76ea1d
DK
6907"The binary override file is fully compatible with &dpkg-scanpackages;. It "
6908"contains four fields separated by spaces. The first field is the package "
6909"name, the second is the priority to force that package to, the third is the "
6910"section to force that package to and the final field is the maintainer "
6911"permutation field."
fec6996f
DK
6912msgstr ""
6913
7d76ea1d 6914#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6915#: apt-ftparchive.1.xml
7d76ea1d
DK
6916#, no-wrap
6917msgid "old [// oldn]* => new"
fec6996f
DK
6918msgstr ""
6919
7d76ea1d 6920#. type: Content of: <refentry><refsect1><para><literallayout>
04f27fae 6921#: apt-ftparchive.1.xml
fec6996f 6922#, no-wrap
7d76ea1d 6923msgid "new"
fec6996f
DK
6924msgstr ""
6925
6926#. type: Content of: <refentry><refsect1><para>
04f27fae 6927#: apt-ftparchive.1.xml
fec6996f 6928msgid ""
7d76ea1d
DK
6929"The general form of the maintainer field is: <placeholder type="
6930"\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
6931"id=\"1\"/> The first form allows a double-slash separated list of old email "
6932"addresses to be specified. If any of those are found then new is substituted "
6933"for the maintainer field. The second form unconditionally substitutes the "
6934"maintainer field."
fec6996f
DK
6935msgstr ""
6936
7d76ea1d 6937#. type: Content of: <refentry><refsect1><title>
04f27fae 6938#: apt-ftparchive.1.xml
7d76ea1d 6939msgid "The Source Override File"
fec6996f
DK
6940msgstr ""
6941
6942#. type: Content of: <refentry><refsect1><para>
04f27fae 6943#: apt-ftparchive.1.xml
fec6996f 6944msgid ""
7d76ea1d
DK
6945"The source override file is fully compatible with &dpkg-scansources;. It "
6946"contains two fields separated by spaces. The first field is the source "
6947"package name, the second is the section to assign it."
fec6996f
DK
6948msgstr ""
6949
7d76ea1d 6950#. type: Content of: <refentry><refsect1><title>
04f27fae 6951#: apt-ftparchive.1.xml
7d76ea1d 6952msgid "The Extra Override File"
c77d6597
MV
6953msgstr ""
6954
7d76ea1d 6955#. type: Content of: <refentry><refsect1><para>
04f27fae 6956#: apt-ftparchive.1.xml
c77d6597 6957msgid ""
7d76ea1d
DK
6958"The extra override file allows any arbitrary tag to be added or replaced in "
6959"the output. It has three columns, the first is the package, the second is "
6960"the tag and the remainder of the line is the new value."
c77d6597
MV
6961msgstr ""
6962
7d76ea1d 6963#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6964#: apt-ftparchive.1.xml
c77d6597 6965msgid ""
7d76ea1d
DK
6966"Generate the given checksum. These options default to on, when turned off "
6967"the generated index files will not have the checksum fields where possible. "
6968"Configuration Items: <literal>APT::FTPArchive::<replaceable>Checksum</"
6969"replaceable></literal> and <literal>APT::FTPArchive::<replaceable>Index</"
6970"replaceable>::<replaceable>Checksum</replaceable></literal> where "
6971"<literal><replaceable>Index</replaceable></literal> can be "
6972"<literal>Packages</literal>, <literal>Sources</literal> or <literal>Release</"
6973"literal> and <literal><replaceable>Checksum</replaceable></literal> can be "
04f27fae
MV
6974"<literal>MD5</literal>, <literal>SHA1</literal>, <literal>SHA256</literal> "
6975"or <literal>SHA512</literal>."
c77d6597
MV
6976msgstr ""
6977
7d76ea1d 6978#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6979#: apt-ftparchive.1.xml
c77d6597 6980msgid ""
7d76ea1d
DK
6981"Use a binary caching DB. This has no effect on the generate command. "
6982"Configuration Item: <literal>APT::FTPArchive::DB</literal>."
fec6996f
DK
6983msgstr ""
6984
7d76ea1d 6985#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6986#: apt-ftparchive.1.xml
fec6996f 6987msgid ""
7d76ea1d
DK
6988"Quiet; produces output suitable for logging, omitting progress indicators. "
6989"More q's will produce more quiet up to a maximum of 2. You can also use "
6990"<option>-q=#</option> to set the quiet level, overriding the configuration "
6991"file. Configuration Item: <literal>quiet</literal>."
fec6996f
DK
6992msgstr ""
6993
7d76ea1d 6994#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 6995#: apt-ftparchive.1.xml
7d76ea1d
DK
6996msgid ""
6997"Perform Delinking. If the <literal>External-Links</literal> setting is used "
6998"then this option actually enables delinking of the files. It defaults to on "
6999"and can be turned off with <option>--no-delink</option>. Configuration "
7000"Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
fec6996f
DK
7001msgstr ""
7002
7d76ea1d 7003#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7004#: apt-ftparchive.1.xml
fec6996f 7005msgid ""
7d76ea1d
DK
7006"Perform contents generation. When this option is set and package indexes are "
7007"being generated with a cache DB then the file listing will also be extracted "
7008"and stored in the DB for later use. When using the generate command this "
7009"option also allows the creation of any Contents files. The default is on. "
7010"Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
fec6996f
DK
7011msgstr ""
7012
7d76ea1d 7013#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7014#: apt-ftparchive.1.xml
fec6996f 7015msgid ""
7d76ea1d
DK
7016"Select the source override file to use with the <literal>sources</literal> "
7017"command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
7018"literal>."
fec6996f
DK
7019msgstr ""
7020
7d76ea1d 7021#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7022#: apt-ftparchive.1.xml
fec6996f 7023msgid ""
7d76ea1d
DK
7024"Make the caching databases read only. Configuration Item: <literal>APT::"
7025"FTPArchive::ReadOnlyDB</literal>."
fec6996f
DK
7026msgstr ""
7027
7d76ea1d 7028#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7029#: apt-ftparchive.1.xml
fec6996f 7030msgid ""
7d76ea1d
DK
7031"Accept in the <literal>packages</literal> and <literal>contents</literal> "
7032"commands only package files matching <literal>*_arch.deb</literal> or "
7033"<literal>*_all.deb</literal> instead of all package files in the given "
7034"path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
fec6996f
DK
7035msgstr ""
7036
7d76ea1d 7037#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7038#: apt-ftparchive.1.xml
fec6996f 7039msgid ""
7d76ea1d
DK
7040"&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
7041"packages are recompiled and/or republished with the same version again, this "
7042"will lead to problems as the now outdated cached metadata like size and "
7043"checksums will be used. With this option enabled this will no longer happen "
7044"as it will be checked if the file was changed. Note that this option is set "
7045"to \"<literal>false</literal>\" by default as it is not recommend to upload "
7046"multiply versions/builds of a package with the same versionnumber, so in "
7047"theory nobody will have these problems and therefore all these extra checks "
7048"are useless."
fec6996f
DK
7049msgstr ""
7050
7d76ea1d 7051#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
04f27fae 7052#: apt-ftparchive.1.xml
fec6996f 7053msgid ""
7d76ea1d
DK
7054"This configuration option defaults to \"<literal>true</literal>\" and should "
7055"only be set to <literal>\"false\"</literal> if the Archive generated with "
7056"&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
7057"that the <filename>Translation-en</filename> master file can only be created "
7058"in the generate command."
fec6996f
DK
7059msgstr ""
7060
7d76ea1d 7061#. type: Content of: <refentry><refsect1><para><programlisting>
04f27fae 7062#: apt-ftparchive.1.xml
7d76ea1d
DK
7063#, no-wrap
7064msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
fec6996f
DK
7065msgstr ""
7066
7d76ea1d 7067#. type: Content of: <refentry><refsect1><para>
04f27fae 7068#: apt-ftparchive.1.xml
fec6996f 7069msgid ""
7d76ea1d
DK
7070"To create a compressed Packages file for a directory containing binary "
7071"packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
fec6996f
DK
7072msgstr ""
7073
7074#. type: Content of: <refentry><refsect1><para>
04f27fae 7075#: apt-ftparchive.1.xml
fec6996f 7076msgid ""
7d76ea1d
DK
7077"<command>apt-ftparchive</command> returns zero on normal operation, decimal "
7078"100 on error."
fec6996f
DK
7079msgstr ""
7080
521dd27d 7081#. type: Attribute 'lang' of: <book>
04f27fae 7082#: guide.dbk offline.dbk
521dd27d
GJ
7083msgid "en"
7084msgstr ""
7085
7086#. type: Content of: <book><title>
04f27fae 7087#: guide.dbk
fec6996f
DK
7088msgid "APT User's Guide"
7089msgstr ""
7090
521dd27d 7091#. type: Content of: <book><bookinfo><authorgroup><author><personname>
04f27fae 7092#: guide.dbk offline.dbk
521dd27d 7093msgid "Jason Gunthorpe"
fec6996f
DK
7094msgstr ""
7095
521dd27d 7096#. type: Content of: <book><bookinfo><authorgroup><author><email>
04f27fae 7097#: guide.dbk offline.dbk
521dd27d 7098msgid "jgg@debian.org"
fec6996f
DK
7099msgstr ""
7100
521dd27d 7101#. type: Content of: <book><bookinfo><releaseinfo>
04f27fae 7102#: guide.dbk offline.dbk
521dd27d 7103msgid "Version &apt-product-version;"
fec6996f
DK
7104msgstr ""
7105
521dd27d 7106#. type: Content of: <book><bookinfo><abstract><para>
04f27fae 7107#: guide.dbk
fec6996f
DK
7108msgid ""
7109"This document provides an overview of how to use the the APT package manager."
7110msgstr ""
7111
521dd27d 7112#. type: Content of: <book><bookinfo>
04f27fae 7113#: guide.dbk
521dd27d
GJ
7114msgid ""
7115"<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
fec6996f
DK
7116msgstr ""
7117
521dd27d 7118#. type: Content of: <book><bookinfo><legalnotice><title>
04f27fae 7119#: guide.dbk offline.dbk
521dd27d 7120msgid "License Notice"
fec6996f
DK
7121msgstr ""
7122
521dd27d 7123#. type: Content of: <book><bookinfo><legalnotice><para>
04f27fae 7124#: guide.dbk offline.dbk
fec6996f
DK
7125msgid ""
7126"\"APT\" and this document are free software; you can redistribute them and/"
7127"or modify them under the terms of the GNU General Public License as "
7128"published by the Free Software Foundation; either version 2 of the License, "
7129"or (at your option) any later version."
7130msgstr ""
7131
521dd27d 7132#. type: Content of: <book><bookinfo><legalnotice><para>
04f27fae 7133#: guide.dbk offline.dbk
fec6996f 7134msgid ""
c7c71e20
JR
7135"For more details, on Debian systems, see the file /usr/share/common-licenses/"
7136"GPL for the full license."
fec6996f
DK
7137msgstr ""
7138
521dd27d 7139#. type: Content of: <book><chapter><title>
04f27fae 7140#: guide.dbk
fec6996f
DK
7141msgid "General"
7142msgstr ""
7143
521dd27d 7144#. type: Content of: <book><chapter><para>
04f27fae 7145#: guide.dbk
fec6996f 7146msgid ""
521dd27d
GJ
7147"The APT package currently contains two sections, the APT <command>dselect</"
7148"command> method and the <command>apt-get</command> command line user "
7149"interface. Both provide a way to install and remove packages as well as "
7150"download new packages from the Internet."
fec6996f
DK
7151msgstr ""
7152
521dd27d 7153#. type: Content of: <book><chapter><section><title>
04f27fae 7154#: guide.dbk
fec6996f
DK
7155msgid "Anatomy of the Package System"
7156msgstr ""
7157
521dd27d 7158#. type: Content of: <book><chapter><section><para>
04f27fae 7159#: guide.dbk
fec6996f
DK
7160msgid ""
7161"The Debian packaging system has a large amount of information associated "
7162"with each package to help assure that it integrates cleanly and easily into "
7163"the system. The most prominent of its features is the dependency system."
7164msgstr ""
7165
521dd27d 7166#. type: Content of: <book><chapter><section><para>
04f27fae 7167#: guide.dbk
fec6996f
DK
7168msgid ""
7169"The dependency system allows individual programs to make use of shared "
7170"elements in the system such as libraries. It simplifies placing infrequently "
7171"used portions of a program in separate packages to reduce the number of "
7172"things the average user is required to install. Also, it allows for choices "
7173"in mail transport agents, X servers and so on."
7174msgstr ""
7175
521dd27d 7176#. type: Content of: <book><chapter><section><para>
04f27fae 7177#: guide.dbk
fec6996f
DK
7178msgid ""
7179"The first step to understanding the dependency system is to grasp the "
7180"concept of a simple dependency. The meaning of a simple dependency is that a "
7181"package requires another package to be installed at the same time to work "
7182"properly."
7183msgstr ""
7184
521dd27d 7185#. type: Content of: <book><chapter><section><para>
04f27fae 7186#: guide.dbk
fec6996f
DK
7187msgid ""
7188"For instance, mailcrypt is an emacs extension that aids in encrypting email "
b39c1859 7189"with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
fec6996f
DK
7190"simple dependency on GPG. Also, because it is an emacs extension it has a "
7191"simple dependency on emacs, without emacs it is completely useless."
7192msgstr ""
7193
521dd27d 7194#. type: Content of: <book><chapter><section><para>
04f27fae 7195#: guide.dbk
fec6996f
DK
7196msgid ""
7197"The other important dependency to understand is a conflicting dependency. It "
7198"means that a package, when installed with another package, will not work and "
7199"may possibly be extremely harmful to the system. As an example consider a "
7200"mail transport agent such as sendmail, exim or qmail. It is not possible to "
7201"have two mail transport agents installed because both need to listen to the "
7202"network to receive mail. Attempting to install two will seriously damage the "
7203"system so all mail transport agents have a conflicting dependency with all "
7204"other mail transport agents."
7205msgstr ""
7206
521dd27d 7207#. type: Content of: <book><chapter><section><para>
04f27fae 7208#: guide.dbk
fec6996f
DK
7209msgid ""
7210"As an added complication there is the possibility for a package to pretend "
7211"to be another package. Consider that exim and sendmail for many intents are "
7212"identical, they both deliver mail and understand a common interface. Hence, "
7213"the package system has a way for them to declare that they are both mail-"
7214"transport-agents. So, exim and sendmail both declare that they provide a "
7215"mail-transport-agent and other packages that need a mail transport agent "
7216"depend on mail-transport-agent. This can add a great deal of confusion when "
7217"trying to manually fix packages."
7218msgstr ""
7219
521dd27d 7220#. type: Content of: <book><chapter><section><para>
04f27fae 7221#: guide.dbk
fec6996f
DK
7222msgid ""
7223"At any given time a single dependency may be met by packages that are "
7224"already installed or it may not be. APT attempts to help resolve dependency "
7225"issues by providing a number of automatic algorithms that help in selecting "
7226"packages for installation."
7227msgstr ""
7228
521dd27d 7229#. type: Content of: <book><chapter><title>
04f27fae 7230#: guide.dbk
9aa80d52
DK
7231msgid "apt-get"
7232msgstr ""
7233
521dd27d 7234#. type: Content of: <book><chapter><para>
04f27fae 7235#: guide.dbk
fec6996f 7236msgid ""
521dd27d
GJ
7237"<command>apt-get</command> provides a simple way to install packages from "
7238"the command line. Unlike <command>dpkg</command>, <command>apt-get</command> "
7239"does not understand .deb files, it works with the package's proper name and "
7240"can only install .deb archives from a <emphasis>Source</emphasis>."
fec6996f
DK
7241msgstr ""
7242
521dd27d 7243#. type: Content of: <book><chapter><para><footnote><para>
04f27fae 7244#: guide.dbk
fec6996f 7245msgid ""
521dd27d
GJ
7246"If you are using an http proxy server you must set the http_proxy "
7247"environment variable first, see sources.list(5)"
fec6996f
DK
7248msgstr ""
7249
521dd27d 7250#. type: Content of: <book><chapter><para>
04f27fae 7251#: guide.dbk
521dd27d
GJ
7252msgid ""
7253"The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be "
7254"done before using <command>apt-get</command> is to fetch the package lists "
7255"from the <emphasis>Sources</emphasis> so that it knows what packages are "
7256"available. This is done with <literal>apt-get update</literal>. For instance,"
7257msgstr ""
7258
7259#. type: Content of: <book><chapter><screen>
04f27fae 7260#: guide.dbk
fec6996f
DK
7261#, no-wrap
7262msgid ""
7263"# apt-get update\n"
7264"Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
7265"Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7266"Reading Package Lists... Done\n"
521dd27d 7267"Building Dependency Tree... Done\n"
fec6996f
DK
7268msgstr ""
7269
521dd27d 7270#. type: Content of: <book><chapter><para>
04f27fae 7271#: guide.dbk
fec6996f
DK
7272msgid "Once updated there are several commands that can be used:"
7273msgstr ""
7274
521dd27d 7275#. type: Content of: <book><chapter><variablelist><varlistentry><term>
04f27fae 7276#: guide.dbk
2b9b27c3
DK
7277msgid "upgrade"
7278msgstr ""
7279
521dd27d 7280#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 7281#: guide.dbk
fec6996f
DK
7282msgid ""
7283"Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
7284"install a new package or remove an existing package, nor will it ever "
7285"upgrade a package that might cause some other package to break. This can be "
7286"used daily to relatively safely upgrade the system. Upgrade will list all of "
7287"the packages that it could not upgrade, this usually means that they depend "
521dd27d
GJ
7288"on new packages or conflict with some other package. <command>dselect</"
7289"command> or <literal>apt-get install</literal> can be used to force these "
7290"packages to install."
fec6996f
DK
7291msgstr ""
7292
521dd27d 7293#. type: Content of: <book><chapter><variablelist><varlistentry><term>
04f27fae 7294#: guide.dbk
2b9b27c3
DK
7295msgid "install"
7296msgstr ""
7297
521dd27d 7298#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 7299#: guide.dbk
fec6996f
DK
7300msgid ""
7301"Install is used to install packages by name. The package is automatically "
7302"fetched and installed. This can be useful if you already know the name of "
7303"the package to install and do not want to go into a GUI to select it. Any "
7304"number of packages may be passed to install, they will all be fetched. "
7305"Install automatically attempts to resolve dependency problems with the "
7306"listed packages and will print a summary and ask for confirmation if "
7307"anything other than its arguments are changed."
7308msgstr ""
7309
521dd27d 7310#. type: Content of: <book><chapter><variablelist><varlistentry><term>
04f27fae 7311#: guide.dbk
2b9b27c3
DK
7312msgid "dist-upgrade"
7313msgstr ""
7314
521dd27d 7315#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 7316#: guide.dbk
fec6996f
DK
7317msgid ""
7318"Dist-upgrade is a complete upgrader designed to simplify upgrading between "
7319"releases of Debian. It uses a sophisticated algorithm to determine the best "
7320"set of packages to install, upgrade and remove to get as much of the system "
7321"to the newest release. In some situations it may be desired to use dist-"
7322"upgrade rather than spend the time manually resolving dependencies in "
521dd27d
GJ
7323"<command>dselect</command>. Once dist-upgrade has completed then "
7324"<command>dselect</command> can be used to install any packages that may have "
7325"been left out."
fec6996f
DK
7326msgstr ""
7327
521dd27d 7328#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
04f27fae 7329#: guide.dbk
fec6996f
DK
7330msgid ""
7331"It is important to closely look at what dist-upgrade is going to do, its "
7332"decisions may sometimes be quite surprising."
7333msgstr ""
7334
521dd27d 7335#. type: Content of: <book><chapter><para>
04f27fae 7336#: guide.dbk
fec6996f 7337msgid ""
521dd27d
GJ
7338"<command>apt-get</command> has several command line options that are "
7339"detailed in its man page, <citerefentry><refentrytitle>apt-get</"
7340"refentrytitle><manvolnum>8</manvolnum></citerefentry>. The most useful "
7341"option is <literal>-d</literal> which does not install the fetched files. If "
7342"the system has to download a large number of package it would be undesired "
7343"to start installing them in case something goes wrong. When <literal>-d</"
7344"literal> is used the downloaded archives can be installed by simply running "
7345"the command that caused them to be downloaded again without <literal>-d</"
7346"literal>."
fec6996f
DK
7347msgstr ""
7348
521dd27d 7349#. type: Content of: <book><chapter><title>
04f27fae 7350#: guide.dbk
fec6996f
DK
7351msgid "DSelect"
7352msgstr ""
7353
521dd27d 7354#. type: Content of: <book><chapter><para>
04f27fae 7355#: guide.dbk
fec6996f 7356msgid ""
521dd27d
GJ
7357"The APT <command>dselect</command> method provides the complete APT system "
7358"with the <command>dselect</command> package selection GUI. <command>dselect</"
7359"command> is used to select the packages to be installed or removed and APT "
7360"actually installs them."
fec6996f
DK
7361msgstr ""
7362
521dd27d 7363#. type: Content of: <book><chapter><para>
04f27fae 7364#: guide.dbk
fec6996f 7365msgid ""
521dd27d
GJ
7366"To enable the APT method you need to select [A]ccess in <command>dselect</"
7367"command> and then choose the APT method. You will be prompted for a set of "
7368"<emphasis>Sources</emphasis> which are places to fetch archives from. These "
7369"can be remote Internet sites, local Debian mirrors or CD-ROMs. Each source "
7370"can provide a fragment of the total Debian archive, APT will automatically "
25838be6
JR
7371"combine them to form a complete set of packages. If you have a CD-ROM then "
7372"it is a good idea to specify it first and then specify a mirror so that you "
fec6996f 7373"have access to the latest bug fixes. APT will automatically use packages on "
25838be6 7374"your CD-ROM before downloading from the Internet."
fec6996f
DK
7375msgstr ""
7376
521dd27d 7377#. type: Content of: <book><chapter><screen>
04f27fae 7378#: guide.dbk
fec6996f
DK
7379#, no-wrap
7380msgid ""
7381" Set up a list of distribution source locations\n"
521dd27d 7382"\n"
fec6996f
DK
7383" Please give the base URL of the debian distribution.\n"
7384" The access schemes I know about are: http file\n"
521dd27d 7385"\n"
fec6996f
DK
7386" For example:\n"
7387" file:/mnt/debian,\n"
7388" ftp://ftp.debian.org/debian,\n"
7389" http://ftp.de.debian.org/debian,\n"
521dd27d
GJ
7390"\n"
7391"\n"
7392" URL [http://llug.sep.bnl.gov/debian]:\n"
fec6996f
DK
7393msgstr ""
7394
521dd27d 7395#. type: Content of: <book><chapter><para>
04f27fae 7396#: guide.dbk
fec6996f 7397msgid ""
521dd27d
GJ
7398"The <emphasis>Sources</emphasis> setup starts by asking for the base of the "
7399"Debian archive, defaulting to a HTTP mirror. Next it asks for the "
7400"distribution to get."
fec6996f
DK
7401msgstr ""
7402
521dd27d 7403#. type: Content of: <book><chapter><screen>
04f27fae 7404#: guide.dbk
fec6996f
DK
7405#, no-wrap
7406msgid ""
7407" Please give the distribution tag to get or a path to the\n"
7408" package file ending in a /. The distribution\n"
7409" tags are typically something like: stable unstable testing non-US\n"
521dd27d
GJ
7410"\n"
7411" Distribution [stable]:\n"
fec6996f
DK
7412msgstr ""
7413
521dd27d 7414#. type: Content of: <book><chapter><para>
04f27fae 7415#: guide.dbk
fec6996f 7416msgid ""
521dd27d
GJ
7417"The distribution refers to the Debian version in the archive, "
7418"<emphasis>stable</emphasis> refers to the latest released version and "
7419"<emphasis>unstable</emphasis> refers to the developmental version. "
7420"<emphasis>non-US</emphasis> is only available on some mirrors and refers to "
7421"packages that contain encryption technology or other things that cannot be "
7422"exported from the United States. Importing these packages into the US is "
7423"legal however."
fec6996f
DK
7424msgstr ""
7425
521dd27d 7426#. type: Content of: <book><chapter><screen>
04f27fae 7427#: guide.dbk
fec6996f
DK
7428#, no-wrap
7429msgid ""
7430" Please give the components to get\n"
7431" The components are typically something like: main contrib non-free\n"
521dd27d
GJ
7432"\n"
7433" Components [main contrib non-free]:\n"
fec6996f
DK
7434msgstr ""
7435
521dd27d 7436#. type: Content of: <book><chapter><para>
04f27fae 7437#: guide.dbk
fec6996f
DK
7438msgid ""
7439"The components list refers to the list of sub distributions to fetch. The "
7440"distribution is split up based on software licenses, main being DFSG free "
7441"packages while contrib and non-free contain things that have various "
7442"restrictions placed on their use and distribution."
7443msgstr ""
7444
521dd27d 7445#. type: Content of: <book><chapter><para>
04f27fae 7446#: guide.dbk
fec6996f
DK
7447msgid ""
7448"Any number of sources can be added, the setup script will continue to prompt "
7449"until you have specified all that you want."
7450msgstr ""
7451
521dd27d 7452#. type: Content of: <book><chapter><para>
04f27fae 7453#: guide.dbk
fec6996f 7454msgid ""
521dd27d
GJ
7455"Before starting to use <command>dselect</command> it is necessary to update "
7456"the available list by selecting [U]pdate from the menu. This is a superset "
7457"of <literal>apt-get update</literal> that makes the fetched information "
7458"available to <command>dselect</command>. [U]pdate must be performed even if "
7459"<literal>apt-get update</literal> has been run before."
fec6996f
DK
7460msgstr ""
7461
521dd27d 7462#. type: Content of: <book><chapter><para>
04f27fae 7463#: guide.dbk
fec6996f
DK
7464msgid ""
7465"You can then go on and make your selections using [S]elect and then perform "
7466"the installation using [I]nstall. When using the APT method the [C]onfig and "
7467"[R]emove commands have no meaning, the [I]nstall command performs both of "
7468"them together."
7469msgstr ""
7470
521dd27d 7471#. type: Content of: <book><chapter><para>
04f27fae 7472#: guide.dbk
fec6996f
DK
7473msgid ""
7474"By default APT will automatically remove the package (.deb) files once they "
521dd27d
GJ
7475"have been successfully installed. To change this behavior place "
7476"<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf."
fec6996f
DK
7477msgstr ""
7478
521dd27d 7479#. type: Content of: <book><chapter><title>
04f27fae 7480#: guide.dbk
fec6996f
DK
7481msgid "The Interface"
7482msgstr ""
7483
521dd27d 7484#. type: Content of: <book><chapter><para><footnote><para>
04f27fae 7485#: guide.dbk
521dd27d
GJ
7486msgid ""
7487"The <command>dselect</command> method actually is a set of wrapper scripts "
7488"to <command>apt-get</command>. The method actually provides more "
7489"functionality than is present in <command>apt-get</command> alone."
7490msgstr ""
7491
7492#. type: Content of: <book><chapter><para>
04f27fae 7493#: guide.dbk
fec6996f 7494msgid ""
521dd27d
GJ
7495"Both that APT <command>dselect</command> method and <command>apt-get</"
7496"command> share the same interface. It is a simple system that generally "
7497"tells you what it will do and then goes and does it. <placeholder type="
7498"\"footnote\" id=\"0\"/> After printing out a summary of what will happen APT "
fec6996f
DK
7499"then will print out some informative status messages so that you can "
7500"estimate how far along it is and how much is left to do."
7501msgstr ""
7502
521dd27d 7503#. type: Content of: <book><chapter><section><title>
04f27fae 7504#: guide.dbk
fec6996f
DK
7505msgid "Startup"
7506msgstr ""
7507
521dd27d 7508#. type: Content of: <book><chapter><section><para>
04f27fae 7509#: guide.dbk
fec6996f
DK
7510msgid ""
7511"Before all operations except update, APT performs a number of actions to "
7512"prepare its internal state. It also does some checks of the system's state. "
521dd27d
GJ
7513"At any time these operations can be performed by running <literal>apt-get "
7514"check</literal>."
fec6996f
DK
7515msgstr ""
7516
521dd27d 7517#. type: Content of: <book><chapter><section><screen>
04f27fae 7518#: guide.dbk
fec6996f
DK
7519#, no-wrap
7520msgid ""
7521"# apt-get check\n"
7522"Reading Package Lists... Done\n"
521dd27d 7523"Building Dependency Tree... Done\n"
fec6996f
DK
7524msgstr ""
7525
521dd27d 7526#. type: Content of: <book><chapter><section><para>
04f27fae 7527#: guide.dbk
fec6996f
DK
7528msgid ""
7529"The first thing it does is read all the package files into memory. APT uses "
7530"a caching scheme so this operation will be faster the second time it is run. "
7531"If some of the package files are not found then they will be ignored and a "
7532"warning will be printed when apt-get exits."
7533msgstr ""
7534
521dd27d 7535#. type: Content of: <book><chapter><section><para>
04f27fae 7536#: guide.dbk
fec6996f
DK
7537msgid ""
7538"The final operation performs a detailed analysis of the system's "
7539"dependencies. It checks every dependency of every installed or unpacked "
7540"package and considers if it is OK. Should this find a problem then a report "
521dd27d 7541"will be printed out and <command>apt-get</command> will refuse to run."
fec6996f
DK
7542msgstr ""
7543
521dd27d 7544#. type: Content of: <book><chapter><section><screen>
04f27fae 7545#: guide.dbk
fec6996f
DK
7546#, no-wrap
7547msgid ""
7548"# apt-get check\n"
7549"Reading Package Lists... Done\n"
7550"Building Dependency Tree... Done\n"
7551"You might want to run apt-get -f install' to correct these.\n"
7552"Sorry, but the following packages have unmet dependencies:\n"
7553" 9fonts: Depends: xlib6g but it is not installed\n"
7554" uucp: Depends: mailx but it is not installed\n"
521dd27d 7555" blast: Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
fec6996f
DK
7556" adduser: Depends: perl-base but it is not installed\n"
7557" aumix: Depends: libgpmg1 but it is not installed\n"
7558" debiandoc-sgml: Depends: sgml-base but it is not installed\n"
521dd27d 7559" bash-builtins: Depends: bash (&gt;= 2.01) but 2.0-3 is installed\n"
fec6996f 7560" cthugha: Depends: svgalibg1 but it is not installed\n"
521dd27d
GJ
7561" Depends: xlib6g (&gt;= 3.3-5) but it is not installed\n"
7562" libreadlineg2: Conflicts:libreadline2 (&lt;&lt; 2.1-2.1)\n"
fec6996f
DK
7563msgstr ""
7564
521dd27d 7565#. type: Content of: <book><chapter><section><para>
04f27fae 7566#: guide.dbk
fec6996f
DK
7567msgid ""
7568"In this example the system has many problems, including a serious problem "
7569"with libreadlineg2. For each package that has unmet dependencies a line is "
7570"printed out indicating the package with the problem and the dependencies "
7571"that are unmet. A short explanation of why the package has a dependency "
7572"problem is also included."
7573msgstr ""
7574
521dd27d 7575#. type: Content of: <book><chapter><section><para><footnote><para>
04f27fae 7576#: guide.dbk
521dd27d
GJ
7577msgid ""
7578"APT however considers all known dependencies and attempts to prevent broken "
7579"packages"
7580msgstr ""
7581
7582#. type: Content of: <book><chapter><section><para>
04f27fae 7583#: guide.dbk
fec6996f
DK
7584msgid ""
7585"There are two ways a system can get into a broken state like this. The first "
521dd27d
GJ
7586"is caused by <command>dpkg</command> missing some subtle relationships "
7587"between packages when performing upgrades. <placeholder type=\"footnote\" id="
7588"\"0\"/>. The second is if a package installation fails during an operation. "
7589"In this situation a package may have been unpacked without its dependents "
7590"being installed."
fec6996f
DK
7591msgstr ""
7592
521dd27d 7593#. type: Content of: <book><chapter><section><para>
04f27fae 7594#: guide.dbk
fec6996f
DK
7595msgid ""
7596"The second situation is much less serious than the first because APT places "
7597"certain constraints on the order that packages are installed. In both cases "
521dd27d
GJ
7598"supplying the <literal>-f</literal> option to <command>apt-get</command> "
7599"will cause APT to deduce a possible solution to the problem and then "
7600"continue on. The APT <command>dselect</command> method always supplies the "
7601"<literal>-f</literal> option to allow for easy continuation of failed "
7602"maintainer scripts."
fec6996f
DK
7603msgstr ""
7604
521dd27d 7605#. type: Content of: <book><chapter><section><para>
04f27fae 7606#: guide.dbk
fec6996f 7607msgid ""
521dd27d
GJ
7608"However, if the <literal>-f</literal> option is used to correct a seriously "
7609"broken system caused by the first case then it is possible that it will "
7610"either fail immediately or the installation sequence will fail. In either "
7611"case it is necessary to manually use dpkg (possibly with forcing options) to "
7612"correct the situation enough to allow APT to proceed."
fec6996f
DK
7613msgstr ""
7614
521dd27d 7615#. type: Content of: <book><chapter><section><title>
04f27fae 7616#: guide.dbk
fec6996f
DK
7617msgid "The Status Report"
7618msgstr ""
7619
521dd27d 7620#. type: Content of: <book><chapter><section><para>
04f27fae 7621#: guide.dbk
fec6996f 7622msgid ""
521dd27d
GJ
7623"Before proceeding <command>apt-get</command> will present a report on what "
7624"will happen. Generally the report reflects the type of operation being "
7625"performed but there are several common elements. In all cases the lists "
7626"reflect the final state of things, taking into account the <literal>-f</"
7627"literal> option and any other relevant activities to the command being "
7628"executed."
fec6996f
DK
7629msgstr ""
7630
521dd27d 7631#. type: Content of: <book><chapter><section><section><title>
04f27fae 7632#: guide.dbk
fec6996f
DK
7633msgid "The Extra Package list"
7634msgstr ""
7635
521dd27d 7636#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7637#: guide.dbk
fec6996f
DK
7638#, no-wrap
7639msgid ""
7640"The following extra packages will be installed:\n"
7641" libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
7642" mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
7643" bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
7644" squake pgp-i python-base debmake ldso perl libreadlineg2\n"
521dd27d 7645" ssh\n"
fec6996f
DK
7646msgstr ""
7647
521dd27d 7648#. type: Content of: <book><chapter><section><section><para>
04f27fae 7649#: guide.dbk
fec6996f
DK
7650msgid ""
7651"The Extra Package list shows all of the packages that will be installed or "
7652"upgraded in excess of the ones mentioned on the command line. It is only "
521dd27d
GJ
7653"generated for an <literal>install</literal> command. The listed packages are "
7654"often the result of an Auto Install."
fec6996f
DK
7655msgstr ""
7656
521dd27d 7657#. type: Content of: <book><chapter><section><section><title>
04f27fae 7658#: guide.dbk
fec6996f
DK
7659msgid "The Packages to Remove"
7660msgstr ""
7661
521dd27d 7662#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7663#: guide.dbk
fec6996f
DK
7664#, no-wrap
7665msgid ""
7666"The following packages will be REMOVED:\n"
7667" xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
7668" xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
7669" xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
521dd27d 7670" nas xpilot xfig\n"
fec6996f
DK
7671msgstr ""
7672
521dd27d 7673#. type: Content of: <book><chapter><section><section><para>
04f27fae 7674#: guide.dbk
fec6996f
DK
7675msgid ""
7676"The Packages to Remove list shows all of the packages that will be removed "
7677"from the system. It can be shown for any of the operations and should be "
7678"given a careful inspection to ensure nothing important is to be taken off. "
521dd27d
GJ
7679"The <literal>-f</literal> option is especially good at generating packages "
7680"to remove so extreme care should be used in that case. The list may contain "
7681"packages that are going to be removed because they are only partially "
7682"installed, possibly due to an aborted installation."
fec6996f
DK
7683msgstr ""
7684
521dd27d 7685#. type: Content of: <book><chapter><section><section><title>
04f27fae 7686#: guide.dbk
fec6996f
DK
7687msgid "The New Packages list"
7688msgstr ""
7689
521dd27d 7690#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7691#: guide.dbk
fec6996f
DK
7692#, no-wrap
7693msgid ""
7694"The following NEW packages will installed:\n"
521dd27d 7695" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
fec6996f
DK
7696msgstr ""
7697
521dd27d 7698#. type: Content of: <book><chapter><section><section><para>
04f27fae 7699#: guide.dbk
fec6996f
DK
7700msgid ""
7701"The New Packages list is simply a reminder of what will happen. The packages "
7702"listed are not presently installed in the system but will be when APT is "
7703"done."
7704msgstr ""
7705
521dd27d 7706#. type: Content of: <book><chapter><section><section><title>
04f27fae 7707#: guide.dbk
fec6996f
DK
7708msgid "The Kept Back 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 packages have been kept back\n"
7716" compface man-db tetex-base msql libpaper svgalib1\n"
521dd27d 7717" gs snmp arena lynx xpat2 groff xscreensaver\n"
fec6996f
DK
7718msgstr ""
7719
521dd27d 7720#. type: Content of: <book><chapter><section><section><para>
04f27fae 7721#: guide.dbk
fec6996f
DK
7722msgid ""
7723"Whenever the whole system is being upgraded there is the possibility that "
7724"new versions of packages cannot be installed because they require new things "
7725"or conflict with already installed things. In this case the package will "
7726"appear in the Kept Back list. The best way to convince packages listed there "
521dd27d
GJ
7727"to install is with <literal>apt-get install</literal> or by using "
7728"<command>dselect</command> to resolve their problems."
fec6996f
DK
7729msgstr ""
7730
521dd27d 7731#. type: Content of: <book><chapter><section><section><title>
04f27fae 7732#: guide.dbk
fec6996f
DK
7733msgid "Held Packages warning"
7734msgstr ""
7735
521dd27d 7736#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7737#: guide.dbk
fec6996f
DK
7738#, no-wrap
7739msgid ""
7740"The following held packages will be changed:\n"
521dd27d 7741" cvs\n"
fec6996f
DK
7742msgstr ""
7743
521dd27d 7744#. type: Content of: <book><chapter><section><section><para>
04f27fae 7745#: guide.dbk
fec6996f
DK
7746msgid ""
7747"Sometimes you can ask APT to install a package that is on hold, in such a "
7748"case it prints out a warning that the held package is going to be changed. "
7749"This should only happen during dist-upgrade or install."
7750msgstr ""
7751
521dd27d 7752#. type: Content of: <book><chapter><section><section><title>
04f27fae 7753#: guide.dbk
fec6996f
DK
7754msgid "Final summary"
7755msgstr ""
7756
521dd27d 7757#. type: Content of: <book><chapter><section><section><para>
04f27fae 7758#: guide.dbk
fec6996f
DK
7759msgid ""
7760"Finally, APT will print out a summary of all the changes that will occur."
7761msgstr ""
7762
521dd27d 7763#. type: Content of: <book><chapter><section><section><screen>
04f27fae 7764#: guide.dbk
fec6996f
DK
7765#, no-wrap
7766msgid ""
7767"206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
7768"12 packages not fully installed or removed.\n"
521dd27d 7769"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
fec6996f
DK
7770msgstr ""
7771
521dd27d 7772#. type: Content of: <book><chapter><section><section><para>
04f27fae 7773#: guide.dbk
fec6996f
DK
7774msgid ""
7775"The first line of the summary simply is a reduced version of all of the "
7776"lists and includes the number of upgrades - that is packages already "
7777"installed that have new versions available. The second line indicates the "
7778"number of poorly configured packages, possibly the result of an aborted "
7779"installation. The final line shows the space requirements that the "
7780"installation needs. The first pair of numbers refer to the size of the "
7781"archive files. The first number indicates the number of bytes that must be "
7782"fetched from remote locations and the second indicates the total size of all "
7783"the archives required. The next number indicates the size difference between "
7784"the presently installed packages and the newly installed packages. It is "
7785"roughly equivalent to the space required in /usr after everything is done. "
7786"If a large number of packages are being removed then the value may indicate "
7787"the amount of space that will be freed."
7788msgstr ""
7789
521dd27d 7790#. type: Content of: <book><chapter><section><section><para>
04f27fae 7791#: guide.dbk
fec6996f
DK
7792msgid ""
7793"Some other reports can be generated by using the -u option to show packages "
7794"to upgrade, they are similar to the previous examples."
7795msgstr ""
7796
521dd27d 7797#. type: Content of: <book><chapter><section><title>
04f27fae 7798#: guide.dbk
fec6996f
DK
7799msgid "The Status Display"
7800msgstr ""
7801
521dd27d 7802#. type: Content of: <book><chapter><section><para>
04f27fae 7803#: guide.dbk
fec6996f
DK
7804msgid ""
7805"During the download of archives and package files APT prints out a series of "
7806"status messages."
7807msgstr ""
7808
521dd27d 7809#. type: Content of: <book><chapter><section><screen>
04f27fae 7810#: guide.dbk
fec6996f
DK
7811#, no-wrap
7812msgid ""
7813"# apt-get update\n"
7814"Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
7815"Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7816"Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
7817"Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
7818"Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
521dd27d 7819"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
fec6996f
DK
7820msgstr ""
7821
521dd27d 7822#. type: Content of: <book><chapter><section><para>
04f27fae 7823#: guide.dbk
fec6996f 7824msgid ""
521dd27d
GJ
7825"The lines starting with <emphasis>Get</emphasis> are printed out when APT "
7826"begins to fetch a file while the last line indicates the progress of the "
7827"download. The first percent value on the progress line indicates the total "
7828"percent done of all files. Unfortunately since the size of the Package files "
7829"is unknown <literal>apt-get update</literal> estimates the percent done "
7830"which causes some inaccuracies."
fec6996f
DK
7831msgstr ""
7832
521dd27d 7833#. type: Content of: <book><chapter><section><para>
04f27fae 7834#: guide.dbk
fec6996f
DK
7835msgid ""
7836"The next section of the status line is repeated once for each download "
7837"thread and indicates the operation being performed and some useful "
7838"information about what is happening. Sometimes this section will simply read "
521dd27d
GJ
7839"<emphasis>Forking</emphasis> which means the OS is loading the download "
7840"module. The first word after the [ is the fetch number as shown on the "
7841"history lines. The next word is the short form name of the object being "
7842"downloaded. For archives it will contain the name of the package that is "
7843"being fetched."
fec6996f
DK
7844msgstr ""
7845
521dd27d 7846#. type: Content of: <book><chapter><section><para>
04f27fae 7847#: guide.dbk
fec6996f
DK
7848msgid ""
7849"Inside of the single quote is an informative string indicating the progress "
7850"of the negotiation phase of the download. Typically it progresses from "
521dd27d
GJ
7851"<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to "
7852"<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final "
7853"value is the number of bytes downloaded from the remote site. Once the "
7854"download begins this is represented as <literal>102/10.2k</literal> "
7855"indicating that 102 bytes have been fetched and 10.2 kilobytes is expected. "
7856"The total size is always shown in 4 figure notation to preserve space. After "
7857"the size display is a percent meter for the file itself. The second last "
7858"element is the instantaneous average speed. This values is updated every 5 "
7859"seconds and reflects the rate of data transfer for that period. Finally is "
7860"shown the estimated transfer time. This is updated regularly and reflects "
7861"the time to complete everything at the shown transfer rate."
7862msgstr ""
7863
7864#. type: Content of: <book><chapter><section><para>
04f27fae 7865#: guide.dbk
fec6996f
DK
7866msgid ""
7867"The status display updates every half second to provide a constant feedback "
7868"on the download progress while the Get lines scroll back whenever a new file "
7869"is started. Since the status display is constantly updated it is unsuitable "
521dd27d
GJ
7870"for logging to a file, use the <literal>-q</literal> option to remove the "
7871"status display."
fec6996f
DK
7872msgstr ""
7873
521dd27d 7874#. type: Content of: <book><chapter><section><title>
04f27fae 7875#: guide.dbk
fec6996f
DK
7876msgid "Dpkg"
7877msgstr ""
7878
521dd27d 7879#. type: Content of: <book><chapter><section><para>
04f27fae 7880#: guide.dbk
fec6996f 7881msgid ""
521dd27d
GJ
7882"APT uses <command>dpkg</command> for installing the archives and will switch "
7883"over to the <command>dpkg</command> interface once downloading is completed. "
7884"<command>dpkg</command> will also ask a number of questions as it processes "
7885"the packages and the packages themselves may also ask several questions. "
7886"Before each question there is usually a description of what it is asking and "
7887"the questions are too varied to discuss completely here."
fec6996f
DK
7888msgstr ""
7889
521dd27d 7890#. type: Content of: <book><title>
04f27fae 7891#: offline.dbk
fec6996f
DK
7892msgid "Using APT Offline"
7893msgstr ""
7894
521dd27d 7895#. type: Content of: <book><bookinfo><abstract><para>
04f27fae 7896#: offline.dbk
fec6996f
DK
7897msgid ""
7898"This document describes how to use APT in a non-networked environment, "
7899"specifically a 'sneaker-net' approach for performing upgrades."
7900msgstr ""
7901
521dd27d 7902#. type: Content of: <book><bookinfo>
04f27fae 7903#: offline.dbk
521dd27d
GJ
7904msgid ""
7905"<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
fec6996f
DK
7906msgstr ""
7907
521dd27d 7908#. type: Content of: <book><chapter><title>
04f27fae 7909#: offline.dbk
fec6996f
DK
7910msgid "Introduction"
7911msgstr ""
7912
521dd27d 7913#. type: Content of: <book><chapter><section><title>
04f27fae 7914#: offline.dbk
fec6996f
DK
7915msgid "Overview"
7916msgstr ""
7917
521dd27d 7918#. type: Content of: <book><chapter><section><para>
04f27fae 7919#: offline.dbk
fec6996f
DK
7920msgid ""
7921"Normally APT requires direct access to a Debian archive, either from a local "
7922"media or through a network. Another common complaint is that a Debian "
7923"machine is on a slow link, such as a modem and another machine has a very "
7924"fast connection but they are physically distant."
7925msgstr ""
7926
521dd27d 7927#. type: Content of: <book><chapter><section><para>
04f27fae 7928#: offline.dbk
fec6996f
DK
7929msgid ""
7930"The solution to this is to use large removable media such as a Zip disc or a "
7931"SuperDisk disc. These discs are not large enough to store the entire Debian "
7932"archive but can easily fit a subset large enough for most users. The idea is "
7933"to use APT to generate a list of packages that are required and then fetch "
7934"them onto the disc using another machine with good connectivity. It is even "
7935"possible to use another Debian machine with APT or to use a completely "
521dd27d
GJ
7936"different OS and a download tool like wget. Let <emphasis>remote host</"
7937"emphasis> mean the machine downloading the packages, and <emphasis>target "
7938"host</emphasis> the one with bad or no connection."
fec6996f
DK
7939msgstr ""
7940
521dd27d 7941#. type: Content of: <book><chapter><section><para>
04f27fae 7942#: offline.dbk
fec6996f
DK
7943msgid ""
7944"This is achieved by creatively manipulating the APT configuration file. The "
b39c1859 7945"essential premise to tell APT to look on a disc for it's archive files. Note "
bf33c3bd
JAK
7946"that the disc should be formatted with a filesystem that can handle long "
7947"file names such as ext2, fat32 or vfat."
fec6996f
DK
7948msgstr ""
7949
521dd27d 7950#. type: Content of: <book><chapter><title>
04f27fae 7951#: offline.dbk
fec6996f
DK
7952msgid "Using APT on both machines"
7953msgstr ""
7954
521dd27d 7955#. type: Content of: <book><chapter><section><para>
04f27fae 7956#: offline.dbk
fec6996f
DK
7957msgid ""
7958"APT being available on both machines gives the simplest configuration. The "
7959"basic idea is to place a copy of the status file on the disc and use the "
7960"remote machine to fetch the latest package files and decide which packages "
7961"to download. The disk directory structure should look like:"
7962msgstr ""
7963
521dd27d 7964#. type: Content of: <book><chapter><section><screen>
04f27fae 7965#: offline.dbk
fec6996f
DK
7966#, no-wrap
7967msgid ""
7968" /disc/\n"
7969" archives/\n"
7970" partial/\n"
7971" lists/\n"
7972" partial/\n"
7973" status\n"
7974" sources.list\n"
521dd27d 7975" apt.conf\n"
fec6996f
DK
7976msgstr ""
7977
521dd27d 7978#. type: Content of: <book><chapter><section><title>
04f27fae 7979#: offline.dbk
fec6996f
DK
7980msgid "The configuration file"
7981msgstr ""
7982
521dd27d 7983#. type: Content of: <book><chapter><section><para>
04f27fae 7984#: offline.dbk
fec6996f
DK
7985msgid ""
7986"The configuration file should tell APT to store its files on the disc and to "
7987"use the configuration files on the disc as well. The sources.list should "
7988"contain the proper sites that you wish to use from the remote machine, and "
521dd27d
GJ
7989"the status file should be a copy of <emphasis>/var/lib/dpkg/status</"
7990"emphasis> from the <emphasis>target host</emphasis>. Please note, if you are "
7991"using a local archive you must use copy URIs, the syntax is identical to "
7992"file URIs."
fec6996f
DK
7993msgstr ""
7994
521dd27d 7995#. type: Content of: <book><chapter><section><para>
04f27fae 7996#: offline.dbk
fec6996f 7997msgid ""
521dd27d
GJ
7998"<emphasis>apt.conf</emphasis> must contain the necessary information to make "
7999"APT use the disc:"
fec6996f
DK
8000msgstr ""
8001
521dd27d 8002#. type: Content of: <book><chapter><section><screen>
04f27fae 8003#: offline.dbk
fec6996f
DK
8004#, no-wrap
8005msgid ""
8006" APT\n"
8007" {\n"
8008" /* This is not necessary if the two machines are the same arch, it tells\n"
8009" the remote APT what architecture the target machine is */\n"
8010" Architecture \"i386\";\n"
521dd27d 8011"\n"
fec6996f
DK
8012" Get::Download-Only \"true\";\n"
8013" };\n"
521dd27d 8014"\n"
fec6996f
DK
8015" Dir\n"
8016" {\n"
8017" /* Use the disc for state information and redirect the status file from\n"
8018" the /var/lib/dpkg default */\n"
8019" State \"/disc/\";\n"
8020" State::status \"status\";\n"
8021"\n"
8022" // Binary caches will be stored locally\n"
8023" Cache::archives \"/disc/archives/\";\n"
8024" Cache \"/tmp/\";\n"
521dd27d 8025"\n"
fec6996f
DK
8026" // Location of the source list.\n"
8027" Etc \"/disc/\";\n"
521dd27d 8028" };\n"
fec6996f
DK
8029msgstr ""
8030
521dd27d 8031#. type: Content of: <book><chapter><section><para>
04f27fae 8032#: offline.dbk
fec6996f
DK
8033msgid ""
8034"More details can be seen by examining the apt.conf man page and the sample "
521dd27d
GJ
8035"configuration file in <emphasis>/usr/share/doc/apt/examples/apt.conf</"
8036"emphasis>."
fec6996f
DK
8037msgstr ""
8038
521dd27d 8039#. type: Content of: <book><chapter><section><para>
04f27fae 8040#: offline.dbk
fec6996f 8041msgid ""
521dd27d
GJ
8042"On the target machine the first thing to do is mount the disc and copy "
8043"<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to "
8044"create the directories outlined in the Overview, <emphasis>archives/partial/"
8045"</emphasis> and <emphasis>lists/partial/</emphasis>. Then take the disc to "
8046"the remote machine and configure the sources.list. On the remote machine "
8047"execute the following:"
fec6996f
DK
8048msgstr ""
8049
521dd27d 8050#. type: Content of: <book><chapter><section><screen>
04f27fae 8051#: offline.dbk
fec6996f
DK
8052#, no-wrap
8053msgid ""
8054" # export APT_CONFIG=\"/disc/apt.conf\"\n"
8055" # apt-get update\n"
8056" [ APT fetches the package files ]\n"
8057" # apt-get dist-upgrade\n"
521dd27d 8058" [ APT fetches all the packages needed to upgrade the target machine ]\n"
fec6996f
DK
8059msgstr ""
8060
521dd27d 8061#. type: Content of: <book><chapter><section><para>
04f27fae 8062#: offline.dbk
fec6996f 8063msgid ""
b39c1859 8064"The dist-upgrade command can be replaced with any other standard APT "
fec6996f 8065"commands, particularly dselect-upgrade. You can even use an APT front end "
521dd27d
GJ
8066"such as <emphasis>dselect</emphasis>. However this presents a problem in "
8067"communicating your selections back to the local computer."
fec6996f
DK
8068msgstr ""
8069
521dd27d 8070#. type: Content of: <book><chapter><section><para>
04f27fae 8071#: offline.dbk
fec6996f
DK
8072msgid ""
8073"Now the disc contains all of the index files and archives needed to upgrade "
8074"the target machine. Take the disc back and run:"
8075msgstr ""
8076
521dd27d 8077#. type: Content of: <book><chapter><section><screen>
04f27fae 8078#: offline.dbk
fec6996f
DK
8079#, no-wrap
8080msgid ""
8081" # export APT_CONFIG=\"/disc/apt.conf\"\n"
8082" # apt-get check\n"
8083" [ APT generates a local copy of the cache files ]\n"
8084" # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
521dd27d 8085" [ Or any other APT command ]\n"
fec6996f
DK
8086msgstr ""
8087
521dd27d 8088#. type: Content of: <book><chapter><section><para>
04f27fae 8089#: offline.dbk
fec6996f
DK
8090msgid ""
8091"It is necessary for proper function to re-specify the status file to be the "
8092"local one. This is very important!"
8093msgstr ""
8094
521dd27d 8095#. type: Content of: <book><chapter><section><para>
04f27fae 8096#: offline.dbk
fec6996f
DK
8097msgid ""
8098"If you are using dselect you can do the very risky operation of copying disc/"
8099"status to /var/lib/dpkg/status so that any selections you made on the remote "
8100"machine are updated. I highly recommend that people only make selections on "
8101"the local machine - but this may not always be possible. DO NOT copy the "
8102"status file if dpkg or APT have been run in the mean time!!"
8103msgstr ""
8104
521dd27d 8105#. type: Content of: <book><chapter><title>
04f27fae 8106#: offline.dbk
fec6996f
DK
8107msgid "Using APT and wget"
8108msgstr ""
8109
521dd27d 8110#. type: Content of: <book><chapter><section><para>
04f27fae 8111#: offline.dbk
fec6996f 8112msgid ""
521dd27d
GJ
8113"<emphasis>wget</emphasis> is a popular and portable download tool that can "
8114"run on nearly any machine. Unlike the method above this requires that the "
8115"Debian machine already has a list of available packages."
fec6996f
DK
8116msgstr ""
8117
521dd27d 8118#. type: Content of: <book><chapter><section><para>
04f27fae 8119#: offline.dbk
fec6996f
DK
8120msgid ""
8121"The basic idea is to create a disc that has only the archive files "
8122"downloaded from the remote site. This is done by using the --print-uris "
8123"option to apt-get and then preparing a wget script to actually fetch the "
8124"packages."
8125msgstr ""
8126
521dd27d 8127#. type: Content of: <book><chapter><section><title>
04f27fae 8128#: offline.dbk
fec6996f
DK
8129#, fuzzy
8130msgid "Operation"
8131msgstr "Descrição"
8132
521dd27d 8133#. type: Content of: <book><chapter><section><para>
04f27fae 8134#: offline.dbk
fec6996f
DK
8135msgid ""
8136"Unlike the previous technique no special configuration files are required. "
8137"We merely use the standard APT commands to generate the file list."
8138msgstr ""
8139
521dd27d 8140#. type: Content of: <book><chapter><section><screen>
04f27fae 8141#: offline.dbk
fec6996f
DK
8142#, no-wrap
8143msgid ""
521dd27d 8144" # apt-get dist-upgrade\n"
fec6996f 8145" [ Press no when prompted, make sure you are happy with the actions ]\n"
521dd27d
GJ
8146" # apt-get -qq --print-uris dist-upgrade &gt; uris\n"
8147" # awk '{print \"wget -O \" $2 \" \" $1}' &lt; uris &gt; /disc/wget-script\n"
fec6996f
DK
8148msgstr ""
8149
521dd27d 8150#. type: Content of: <book><chapter><section><para>
04f27fae 8151#: offline.dbk
fec6996f
DK
8152msgid ""
8153"Any command other than dist-upgrade could be used here, including dselect-"
8154"upgrade."
8155msgstr ""
8156
521dd27d 8157#. type: Content of: <book><chapter><section><para>
04f27fae 8158#: offline.dbk
fec6996f
DK
8159msgid ""
8160"The /disc/wget-script file will now contain a list of wget commands to "
8161"execute in order to fetch the necessary archives. This script should be run "
8162"with the current directory as the disc's mount point so as to save the "
8163"output on the disc."
8164msgstr ""
8165
521dd27d 8166#. type: Content of: <book><chapter><section><para>
04f27fae 8167#: offline.dbk
fec6996f
DK
8168msgid "The remote machine would do something like"
8169msgstr ""
8170
521dd27d 8171#. type: Content of: <book><chapter><section><screen>
04f27fae 8172#: offline.dbk
fec6996f
DK
8173#, no-wrap
8174msgid ""
8175" # cd /disc\n"
8176" # sh -x ./wget-script\n"
521dd27d 8177" [ wait.. ]\n"
fec6996f
DK
8178msgstr ""
8179
521dd27d 8180#. type: Content of: <book><chapter><section><para>
04f27fae 8181#: offline.dbk
fec6996f
DK
8182msgid ""
8183"Once the archives are downloaded and the disc returned to the Debian machine "
8184"installation can proceed using,"
8185msgstr ""
8186
521dd27d 8187#. type: Content of: <book><chapter><section><screen>
04f27fae 8188#: offline.dbk
fec6996f 8189#, no-wrap
521dd27d 8190msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
fec6996f
DK
8191msgstr ""
8192
521dd27d 8193#. type: Content of: <book><chapter><section><para>
04f27fae 8194#: offline.dbk
fec6996f
DK
8195msgid "Which will use the already fetched archives on the disc."
8196msgstr ""
8197
4bdf29d3
JAK
8198#, fuzzy
8199#~ msgid "<filename>/etc/apt/trustdb.gpg</filename>"
8200#~ msgstr "<filename>/etc/apt.conf</>"
8201
5b057748
JAK
8202#, fuzzy
8203#~ msgid "&apt-get;, &apt-conf;"
8204#~ msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
8205
cbbee23e
DK
8206#, fuzzy
8207#~ msgid "The option <literal>DPkg::Progress-Fancy</literal> is enabled."
8208#~ msgstr "a linha <literal>Package:</literal>"
8209
8210#, fuzzy
8211#~ msgid "The option <literal>APT::Color</literal> is enabled."
8212#~ msgstr "a linha <literal>Component:</literal>"
8213
8214#, fuzzy
8215#~ msgid ""
8216#~ "The option <literal>upgrade</literal> has <literal>--with-new-pkgs</"
8217#~ "literal> enabled by default."
8218#~ msgstr "a linha <literal>Archive:</literal>"
8219
864fe99c
MV
8220#, fuzzy
8221#~ msgid ""
8222#~ "to the versions that are not installed and do not belong to the target "
8223#~ "release."
8224#~ msgstr ""
8225#~ "para as instâncias que não estã instaladas e que não pertencem a versão "
8226#~ "alvo."
8227
8228#, fuzzy
8229#~ msgid "Some examples:"
8230#~ msgstr "Exemplos"
8231
6dbf3380
MV
8232#, fuzzy
8233#~ msgid ""
8234#~ "See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
8235#~ "B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
8236#~ "B<reportbug>(1) command."
8237#~ msgstr ""
8238#~ "\n"
8239#~ " <RefSect1><Title>Bugs</>\n"
8240#~ " <para>\n"
8241#~ " Consulte a <ulink url='http://bugs.debian.org/apt'>página de bugs do "
8242#~ "APT</>.\n"
8243#~ " Caso você queira relatar um bug no APT, por favor consulte o arquivo\n"
8244#~ " <filename>/usr/share/doc/debian/bug-reporting.txt</> ou o comando "
8245#~ "&reportbug;.\n"
8246#~ " </RefSect1>\n"
8247
8248#, fuzzy
8249#~ msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
8250#~ msgstr ""
8251#~ "\n"
8252#~ " <RefSect1><Title>Author</>\n"
8253#~ " <para>\n"
8254#~ " O APT foi escrito pela equipe APT <email>apt@packages.debian.org</>.\n"
8255#~ " </RefSect1>\n"
8256
75d9bdba
JR
8257#, fuzzy
8258#~ msgid ""
8259#~ "Package: *\n"
8260#~ "Pin: release n=karmic*\n"
8261#~ "Pin-Priority: 990\n"
8262#~ msgstr ""
8263#~ "<programlisting>\n"
8264#~ "Package: *\n"
8265#~ "Pin: release a=unstable\n"
8266#~ "Pin-Priority: 50\n"
8267
187aa32e
DK
8268#, fuzzy
8269#~ msgid "Dir Section"
8270#~ msgstr "Descrição"
8271
8272#, fuzzy
8273#~ msgid "<replaceable>&synopsis-filename;</replaceable>"
8274#~ msgstr ""
8275#~ "<programlisting>\n"
8276#~ "apt-get install <replaceable>pacote</replaceable>/testing\n"
8277
8278#, fuzzy
8279#~ msgid "&apt-get;,&aptitude;,&apt-conf;"
8280#~ msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
8281
8282#, fuzzy
8283#~ msgid "&file-preferences;"
8284#~ msgstr "apt_preferences"
8285
d5aa88bf
DK
8286#, fuzzy
8287#~ msgid "&apt-author.team; &apt-email; &apt-product;"
8288#~ msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
8289
45fb8bf7
DK
8290#, fuzzy
8291#~ msgid ""
8292#~ "<!-- Boiler plate docinfo section -->\n"
8293#~ "<!ENTITY apt-docinfo \"\n"
8294#~ " <refentryinfo>\n"
8295#~ " <address><email>apt@packages.debian.org</email></address>\n"
8296#~ " <author>\n"
8297#~ " <firstname>Jason</firstname> <surname>Gunthorpe</surname>\n"
8298#~ " <contrib></contrib>\n"
8299#~ " </author>\n"
d5aa88bf
DK
8300#~ " <copyright><year>1998-2001</year> <holder>Jason Gunthorpe</holder></"
8301#~ "copyright>\n"
45fb8bf7
DK
8302#~ " <date>28 October 2008</date>\n"
8303#~ " <productname>Linux</productname>\n"
8304#~ " </refentryinfo>\n"
8305#~ "\">\n"
8306#~ msgstr ""
8307#~ "\n"
8308#~ " <docinfo>\n"
8309#~ " <address><email>apt@packages.debian.org</></address>\n"
8310#~ " <author><firstname>Jason</> <surname>Gunthorpe</></>\n"
8311#~ " <copyright><year>1998-2001</> <holder>Jason Gunthorpe</></>\n"
8312#~ " <date>12 Março 2001</>\n"
8313#~ " </docinfo>\n"
8314
782486e8
MV
8315#, fuzzy
8316#~ msgid "to the version that is already installed (if any)."
8317#~ msgstr "para a instância que já esteja instalada (caso exista)."
8318
b81dbe40
DK
8319#, fuzzy
8320#~ msgid ""
8321#~ "The <literal>Pin-Priority:</literal> line in each APT preferences record "
8322#~ "is optional. If omitted, APT assigns a priority of 1 less than the last "
8323#~ "value specified on a line beginning with <literal>Pin-Priority: "
8324#~ "release ...</literal>."
8325#~ msgstr ""
8326#~ "A linha <literal>Pin-Priority:</literal> em cada registro de preferências "
8327#~ "do APT é opcional. Caso omitida, o APT atribuirá uma prioridade de 1 "
8328#~ "menos o último valor especificado em uma linha iniciando com <literal>Pin-"
8329#~ "Priority: release ...</literal>."
8330
fec6996f
DK
8331#, fuzzy
8332#~ msgid ""
8333#~ "\n"
8334#~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8335#~ " <ListItem><Para>\n"
8336#~ " Show a short usage summary.\n"
8337#~ " </VarListEntry>\n"
8338#~ " \n"
8339#~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8340#~ " <ListItem><Para>\n"
8341#~ " Show the program version.\n"
8342#~ " </VarListEntry>\n"
8343#~ "\n"
8344#~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8345#~ " <ListItem><Para>\n"
8346#~ " Configuration File; Specify a configuration file to use. \n"
8347#~ " The program will read the default configuration file and then this \n"
8348#~ " configuration file. See &apt-conf; for syntax information. \n"
8349#~ " </VarListEntry>\n"
8350#~ " \n"
8351#~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8352#~ " <ListItem><Para>\n"
a0895a74
MV
8353#~ " Set a Configuration Option; This will set an arbitary "
8354#~ "configuration \n"
fec6996f
DK
8355#~ " option. The syntax is <option>-o Foo::Bar=bar</>.\n"
8356#~ " </VarListEntry>\n"
8357#~ msgstr ""
8358#~ "\n"
8359#~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8360#~ " <ListItem><Para>\n"
8361#~ " Exibe um pequeno resumo de uso.\n"
8362#~ " </VarListEntry>\n"
8363#~ " \n"
8364#~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8365#~ " <ListItem><Para>\n"
8366#~ " Exibe a versão do programa.\n"
8367#~ " </VarListEntry>\n"
8368#~ "\n"
8369#~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8370#~ " <ListItem><Para>\n"
8371#~ " Arquivo de Configuração; Especifica um arquivo de configuração\n"
8372#~ " a ser usado. O programa irá ler o arquivo de configuração padrão\n"
8373#~ " e então este arquivo de configuração. Consulte &apt-conf; para\n"
8374#~ " informação de sintaxe. \n"
8375#~ " </VarListEntry>\n"
8376#~ " \n"
8377#~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8378#~ " <ListItem><Para>\n"
8379#~ " Defie uma Opção de Configuração; Esta opção irá definir uma opção\n"
8380#~ " de configuração arbitrária. A sintaxe é <option>-o Foo::Bar=bar</>.\n"
8381#~ " </VarListEntry>\n"
8382
fec6996f
DK
8383#, fuzzy
8384#~ msgid "</programlisting> Then:"
8385#~ msgstr "</programlisting> Então :"