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