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