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