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