* apt-pkg/aptconfiguration.cc:
[ntk/apt.git] / doc / po / apt-doc.pot
CommitLineData
2a52e8c5
DK
1# SOME DESCRIPTIVE TITLE
2# Copyright (C) YEAR Free Software Foundation, Inc.
3# This file is distributed under the same license as the PACKAGE package.
4# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5#
6#, fuzzy
7msgid ""
8msgstr ""
9"Project-Id-Version: PACKAGE VERSION\n"
c086ac18 10"POT-Creation-Date: 2012-05-20 18:22+0300\n"
2a52e8c5
DK
11"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
12"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13"Language-Team: LANGUAGE <LL@li.org>\n"
0c1a7101 14"Language: \n"
2a52e8c5 15"MIME-Version: 1.0\n"
0c1a7101
DK
16"Content-Type: text/plain; charset=UTF-8\n"
17"Content-Transfer-Encoding: 8bit\n"
2a52e8c5
DK
18
19#. type: TH
20#: apt.8:17
21#, no-wrap
22msgid "apt"
23msgstr ""
24
25#. type: TH
26#: apt.8:17
27#, no-wrap
28msgid "16 June 1998"
29msgstr ""
30
31#. type: TH
32#: apt.8:17
33#, no-wrap
34msgid "Debian GNU/Linux"
35msgstr ""
36
37#. type: SH
38#: apt.8:18
39#, no-wrap
40msgid "NAME"
41msgstr ""
42
43#. type: Plain text
44#: apt.8:20
45msgid "apt - Advanced Package Tool"
46msgstr ""
47
48#. type: SH
49#: apt.8:20
50#, no-wrap
51msgid "SYNOPSIS"
52msgstr ""
53
54#. type: Plain text
55#: apt.8:22
56msgid "B<apt>"
57msgstr ""
58
59#. type: SH
60#: apt.8:22
61#, no-wrap
62msgid "DESCRIPTION"
63msgstr ""
64
65#. type: Plain text
66#: apt.8:31
67msgid ""
68"APT is a management system for software packages. For normal day to day "
69"package management there are several frontends available, such as "
70"B<aptitude>(8) for the command line or B<synaptic>(8) for the X Window "
71"System. Some options are only implemented in B<apt-get>(8) though."
72msgstr ""
73
74#. type: SH
75#: apt.8:31
76#, no-wrap
2a52e8c5
DK
77msgid "SEE ALSO"
78msgstr ""
79
80#. type: Plain text
4279ef3b 81#: apt.8:38
2a52e8c5
DK
82msgid ""
83"B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
84"B<apt_preferences>(5), B<apt-secure>(8)"
85msgstr ""
86
87#. type: SH
4279ef3b 88#: apt.8:38
2a52e8c5
DK
89#, no-wrap
90msgid "DIAGNOSTICS"
91msgstr ""
92
93#. type: Plain text
4279ef3b 94#: apt.8:40
2a52e8c5
DK
95msgid "apt returns zero on normal operation, decimal 100 on error."
96msgstr ""
97
98#. type: SH
4279ef3b 99#: apt.8:40
2a52e8c5
DK
100#, no-wrap
101msgid "BUGS"
102msgstr ""
103
104#. type: Plain text
4279ef3b 105#: apt.8:42
2a52e8c5
DK
106msgid "This manpage isn't even started."
107msgstr ""
108
109#. type: Plain text
4279ef3b 110#: apt.8:51
2a52e8c5
DK
111msgid ""
112"See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
113"B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
114"B<reportbug>(1) command."
115msgstr ""
116
117#. type: SH
4279ef3b 118#: apt.8:51
2a52e8c5
DK
119#, no-wrap
120msgid "AUTHOR"
121msgstr ""
122
123#. type: Plain text
4279ef3b 124#: apt.8:52
2a52e8c5
DK
125msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
126msgstr ""
127
128#. type: Plain text
129#: apt.ent:2
130msgid "<!-- -*- mode: sgml; mode: fold -*- -->"
131msgstr ""
132
133#. type: Plain text
0c1a7101 134#: apt.ent:16
2a52e8c5
DK
135#, no-wrap
136msgid ""
137"<!-- Boiler plate docinfo section -->\n"
138"<!ENTITY apt-docinfo \"\n"
139" <refentryinfo>\n"
140" <address><email>apt@packages.debian.org</email></address>\n"
bcf91c1b
DK
141" <author>\n"
142" <firstname>Jason</firstname> <surname>Gunthorpe</surname>\n"
143" <contrib></contrib>\n"
144" </author>\n"
2a52e8c5
DK
145" <copyright><year>1998-2001</year> <holder>Jason "
146"Gunthorpe</holder></copyright>\n"
147" <date>28 October 2008</date>\n"
148" <productname>Linux</productname>\n"
2a52e8c5 149" </refentryinfo>\n"
2a52e8c5
DK
150"\">\n"
151msgstr ""
152
153#. type: Plain text
0c1a7101 154#: apt.ent:23
2a52e8c5
DK
155#, no-wrap
156msgid ""
157"<!ENTITY apt-author.team \"\n"
158" <author>\n"
159" <othername>APT team</othername>\n"
bcf91c1b 160" <contrib></contrib>\n"
2a52e8c5
DK
161" </author>\n"
162"\">\n"
163msgstr ""
164
165#. type: Plain text
0c1a7101 166#: apt.ent:29
2a52e8c5
DK
167#, no-wrap
168msgid ""
169"<!ENTITY apt-qapage \"\n"
170"\t<para>\n"
171"\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
172"\t</para>\n"
173"\">\n"
174msgstr ""
175
176#. type: Plain text
0c1a7101 177#: apt.ent:40
2a52e8c5
DK
178#, no-wrap
179msgid ""
180"<!-- Boiler plate Bug reporting section -->\n"
181"<!ENTITY manbugs \"\n"
182" <refsect1><title>Bugs</title>\n"
0c1a7101 183" <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
2a52e8c5
DK
184" If you wish to report a bug in APT, please see\n"
185" <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
186" &reportbug; command.\n"
187" </para>\n"
188" </refsect1>\n"
189"\">\n"
190msgstr ""
191
192#. type: Plain text
0c1a7101 193#: apt.ent:48
2a52e8c5
DK
194#, no-wrap
195msgid ""
196"<!-- Boiler plate Author section -->\n"
197"<!ENTITY manauthor \"\n"
198" <refsect1><title>Author</title>\n"
199" <para>APT was written by the APT team "
200"<email>apt@packages.debian.org</email>.\n"
201" </para>\n"
202" </refsect1>\n"
203"\">\n"
204msgstr ""
205
206#. type: Plain text
0c1a7101 207#: apt.ent:58
2a52e8c5
DK
208#, no-wrap
209msgid ""
210"<!-- Should be used within the option section of the text to\n"
211" put in the blurb about -h, -v, -c and -o -->\n"
212"<!ENTITY apt-commonoptions \"\n"
213" <varlistentry><term><option>-h</option></term>\n"
214" <term><option>--help</option></term>\n"
215" <listitem><para>Show a short usage summary.\n"
216" </para>\n"
217" </listitem>\n"
218" </varlistentry>\n"
219msgstr ""
220
221#. type: Plain text
0c1a7101 222#: apt.ent:66
2a52e8c5
DK
223#, no-wrap
224msgid ""
225" <varlistentry>\n"
226" <term><option>-v</option></term>\n"
227" <term><option>--version</option></term>\n"
228" <listitem><para>Show the program version.\n"
229" </para>\n"
230" </listitem>\n"
231" </varlistentry>\n"
232msgstr ""
233
234#. type: Plain text
0c1a7101 235#: apt.ent:78
2a52e8c5
DK
236#, no-wrap
237msgid ""
238" <varlistentry>\n"
239" <term><option>-c</option></term>\n"
240" <term><option>--config-file</option></term>\n"
241" <listitem><para>Configuration File; Specify a configuration file to "
242"use. \n"
243" The program will read the default configuration file and then this \n"
b81dbe40
DK
244" configuration file. If configuration settings need to be set before "
245"the\n"
246" default configuration files are parsed specify a file with the "
247"<envar>APT_CONFIG</envar>\n"
248" environment variable. See &apt-conf; for syntax information.\n"
2a52e8c5
DK
249" </para>\n"
250" </listitem>\n"
251" </varlistentry>\n"
252msgstr ""
253
254#. type: Plain text
0c1a7101 255#: apt.ent:90
2a52e8c5
DK
256#, no-wrap
257msgid ""
258" <varlistentry>\n"
259" <term><option>-o</option></term>\n"
260" <term><option>--option</option></term>\n"
261" <listitem><para>Set a Configuration Option; This will set an "
262"arbitrary\n"
263" configuration option. The syntax is <option>-o "
264"Foo::Bar=bar</option>.\n"
265" <option>-o</option> and <option>--option</option> can be used "
266"multiple\n"
267" times to set different options.\n"
268" </para>\n"
269" </listitem>\n"
270" </varlistentry>\n"
271"\">\n"
272msgstr ""
273
274#. type: Plain text
0c1a7101 275#: apt.ent:101
2a52e8c5
DK
276#, no-wrap
277msgid ""
278"<!-- Should be used within the option section of the text to\n"
279" put in the blurb about -h, -v, -c and -o -->\n"
280"<!ENTITY apt-cmdblurb \"\n"
281" <para>All command line options may be set using the configuration file, "
282"the\n"
283" descriptions indicate the configuration option to set. For boolean\n"
284" options you can override the config file by using something like \n"
285" <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
286" or several other variations.\n"
287" </para>\n"
288"\">\n"
289msgstr ""
290
bcf91c1b 291#. type: Plain text
0c1a7101 292#: apt.ent:107
bcf91c1b
DK
293#, no-wrap
294msgid ""
295"<!ENTITY file-aptconf \"\n"
296" <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
297" <listitem><para>APT configuration file.\n"
298" Configuration Item: "
299"<literal>Dir::Etc::Main</literal>.</para></listitem>\n"
300" </varlistentry>\n"
301msgstr ""
302
303#. type: Plain text
0c1a7101 304#: apt.ent:113
bcf91c1b
DK
305#, no-wrap
306msgid ""
307" <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
308" <listitem><para>APT configuration file fragments.\n"
309" Configuration Item: "
310"<literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
311" </varlistentry>\n"
312"\">\n"
313msgstr ""
314
315#. type: Plain text
0c1a7101 316#: apt.ent:119
bcf91c1b
DK
317#, no-wrap
318msgid ""
319"<!ENTITY file-cachearchives \"\n"
320" <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
321" <listitem><para>Storage area for retrieved package files.\n"
322" Configuration Item: "
323"<literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
324" </varlistentry>\n"
325msgstr ""
326
327#. type: Plain text
0c1a7101 328#: apt.ent:125
bcf91c1b
DK
329#, no-wrap
330msgid ""
331" "
332"<varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
333" <listitem><para>Storage area for package files in transit.\n"
c086ac18
DK
334" Configuration Item: <literal>Dir::Cache::Archives</literal> "
335"(<filename>partial</filename> will be implicitly "
336"appended). </para></listitem>\n"
bcf91c1b
DK
337" </varlistentry>\n"
338"\">\n"
339msgstr ""
340
341#. type: Plain text
0c1a7101 342#: apt.ent:135
bcf91c1b
DK
343#, no-wrap
344msgid ""
345"<!ENTITY file-preferences \"\n"
346" <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
347" <listitem><para>Version preferences file.\n"
348" This is where you would specify &quot;pinning&quot;,\n"
349" i.e. a preference to get certain packages\n"
350" from a separate source\n"
351" or from a different version of a distribution.\n"
352" Configuration Item: "
353"<literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
354" </varlistentry>\n"
355msgstr ""
356
357#. type: Plain text
0c1a7101 358#: apt.ent:141
bcf91c1b
DK
359#, no-wrap
360msgid ""
361" "
362"<varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
363" <listitem><para>File fragments for the version preferences.\n"
364" Configuration Item: "
365"<literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
366" </varlistentry>\n"
367"\">\n"
368msgstr ""
369
370#. type: Plain text
0c1a7101 371#: apt.ent:147
bcf91c1b
DK
372#, no-wrap
373msgid ""
374"<!ENTITY file-sourceslist \"\n"
375" <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
376" <listitem><para>Locations to fetch packages from.\n"
377" Configuration Item: "
378"<literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
379" </varlistentry>\n"
380msgstr ""
381
382#. type: Plain text
0c1a7101 383#: apt.ent:153
bcf91c1b
DK
384#, no-wrap
385msgid ""
386" "
387"<varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
388" <listitem><para>File fragments for locations to fetch packages from.\n"
389" Configuration Item: "
390"<literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
391" </varlistentry>\n"
392"\">\n"
393msgstr ""
394
395#. type: Plain text
0c1a7101 396#: apt.ent:160
bcf91c1b
DK
397#, no-wrap
398msgid ""
399"<!ENTITY file-statelists \"\n"
400" <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
401" <listitem><para>Storage area for state information for each package "
402"resource specified in\n"
403" &sources-list;\n"
404" Configuration Item: "
405"<literal>Dir::State::Lists</literal>.</para></listitem>\n"
406" </varlistentry>\n"
407msgstr ""
408
409#. type: Plain text
0c1a7101 410#: apt.ent:166
bcf91c1b
DK
411#, no-wrap
412msgid ""
413" "
414"<varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
415" <listitem><para>Storage area for state information in transit.\n"
c086ac18
DK
416" Configuration Item: <literal>Dir::State::Lists</literal> "
417"(<filename>partial</filename> will be implicitly "
418"appended).</para></listitem>\n"
bcf91c1b
DK
419" </varlistentry>\n"
420"\">\n"
421msgstr ""
422
b39c1859 423#. type: Plain text
0c1a7101 424#: apt.ent:172
b39c1859
MV
425#, no-wrap
426msgid ""
427"<!ENTITY file-trustedgpg \"\n"
428" <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
429" <listitem><para>Keyring of local trusted keys, new keys will be added "
430"here.\n"
431" Configuration Item: "
432"<literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
433" </varlistentry>\n"
434msgstr ""
435
436#. type: Plain text
0c1a7101 437#: apt.ent:179
b39c1859
MV
438#, no-wrap
439msgid ""
440" "
441"<varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
442" <listitem><para>File fragments for the trusted keys, additional "
443"keyrings can\n"
444" be stored here (by other packages or the administrator).\n"
445" Configuration Item "
446"<literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
447" </varlistentry>\n"
448"\">\n"
449msgstr ""
450
451#. type: Plain text
0c1a7101 452#: apt.ent:187
b6c6b52f
MV
453#, no-wrap
454msgid ""
455"<!ENTITY file-extended_states \"\n"
456" "
457"<varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
458" <listitem><para>Status list of auto-installed packages.\n"
459" Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
460" </para></listitem>\n"
461" </varlistentry>\n"
462"\">\n"
463msgstr ""
464
465#. type: Plain text
0c1a7101 466#: apt.ent:191
d8b3cbb6
DK
467#, no-wrap
468msgid ""
469"<!-- TRANSLATOR: This is the section header for the following paragraphs - "
470"comparable\n"
471" to the other headers like NAME and DESCRIPTION and should therefore be "
472"uppercase. -->\n"
473"<!ENTITY translation-title \"TRANSLATION\">\n"
b39c1859
MV
474msgstr ""
475
476#. type: Plain text
0c1a7101 477#: apt.ent:200
b39c1859
MV
478#, no-wrap
479msgid ""
480"<!-- TRANSLATOR: This is a placeholder. You should write here who has "
d8b3cbb6 481"contributed\n"
b39c1859
MV
482" to the translation in the past, who is responsible now and maybe "
483"further information\n"
484" specially related to your translation. -->\n"
485"<!ENTITY translation-holder \"\n"
486" The english translation was done by John Doe "
487"<email>john@doe.org</email> in 2009,\n"
488" 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together "
489"with the\n"
490" Debian Dummy l10n Team "
491"<email>debian-l10n-dummy@lists.debian.org</email>.\n"
492"\">\n"
493msgstr ""
494
495#. type: Plain text
c77d6597 496#: apt.ent:211
b39c1859
MV
497#, no-wrap
498msgid ""
499"<!-- TRANSLATOR: As a translation is allowed to have 20% of "
500"untranslated/fuzzy strings\n"
d8b3cbb6
DK
501" in a shipped manpage newer/modified paragraphs will maybe appear in "
502"english in\n"
503" the generated manpage. This sentence is therefore here to tell the "
504"reader that this\n"
505" is not a mistake by the translator - obviously the target is that at "
506"least for stable\n"
507" releases this sentence is not needed. :) -->\n"
b39c1859
MV
508"<!ENTITY translation-english \"\n"
509" Note that this translated document may contain untranslated parts.\n"
510" This is done on purpose, to avoid losing content when the\n"
511" translation is lagging behind the original content.\n"
512"\">\n"
513msgstr ""
514
c77d6597
MV
515#. type: Plain text
516#: apt.ent:214
517msgid ""
518"<!-- TRANSLATOR: used as in -o=config_string "
519"e.g. -o=Debug::pkgProblemResolver=1 --> <!ENTITY synopsis-config-string "
520"\"config_string\">"
521msgstr ""
522
523#. type: Plain text
524#: apt.ent:217
525msgid ""
526"<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
527"synopsis-config-file \"config_file\">"
528msgstr ""
529
530#. type: Plain text
531#: apt.ent:220
532msgid ""
533"<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release "
534"e.g. -t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
535"\"target_release\">"
536msgstr ""
537
538#. type: Plain text
539#: apt.ent:223
540msgid ""
541"<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
542"synopsis-architecture \"architecture\">"
543msgstr ""
544
545#. type: Plain text
546#: apt.ent:226
547msgid ""
548"<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
549"--> <!ENTITY synopsis-pkg \"pkg\">"
550msgstr ""
551
552#. type: Plain text
553#: apt.ent:229
554msgid ""
555"<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> "
556"<!ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
557msgstr ""
558
559#. type: Plain text
560#: apt.ent:232
561msgid ""
562"<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
563"pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
564msgstr ""
565
566#. type: Plain text
567#: apt.ent:235
568msgid ""
569"<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
570"awesome --> <!ENTITY synopsis-regex \"regex\">"
571msgstr ""
572
573#. type: Plain text
574#: apt.ent:238
575msgid ""
576"<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom "
577"-d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
578msgstr ""
579
580#. type: Plain text
581#: apt.ent:241
582msgid ""
583"<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory "
584"e.g. apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
585"\"temporary_directory\">"
586msgstr ""
587
588#. type: Plain text
589#: apt.ent:244
590msgid ""
591"<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
592"synopsis-filename \"filename\">"
593msgstr ""
594
c086ac18
DK
595#. type: Plain text
596#: apt.ent:247
597msgid ""
598"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
599"packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
600msgstr ""
601
c77d6597
MV
602#. type: Plain text
603#: apt.ent:250
604msgid ""
c086ac18
DK
605"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
606"packages path override-file pathprefix --> <!ENTITY synopsis-override "
607"\"override-file\">"
c77d6597
MV
608msgstr ""
609
610#. type: Plain text
611#: apt.ent:253
612msgid ""
c086ac18
DK
613"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
614"packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
615"\"pathprefix\">"
616msgstr ""
617
618#. type: Plain text
619#: apt.ent:256
620msgid ""
621"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
622"generate section --> <!ENTITY synopsis-section \"section\">"
623msgstr ""
624
625#. type: Plain text
626#: apt.ent:259
627msgid ""
c77d6597
MV
628"<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
629"473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
630msgstr ""
631
2a52e8c5
DK
632#. The last update date
633#. type: Content of: <refentry><refentryinfo>
30549c0c 634#: apt-cache.8.xml:16
2a52e8c5 635msgid ""
30549c0c
MV
636"&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>04 "
637"February 2011</date>"
2a52e8c5
DK
638msgstr ""
639
640#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 641#: apt-cache.8.xml:25 apt-cache.8.xml:32
2a52e8c5
DK
642msgid "apt-cache"
643msgstr ""
644
645#. type: Content of: <refentry><refmeta><manvolnum>
0c1a7101 646#: apt-cache.8.xml:26 apt-cdrom.8.xml:25 apt-config.8.xml:26 apt-get.8.xml:26 apt-key.8.xml:18 apt-mark.8.xml:26 apt-secure.8.xml:18
2a52e8c5
DK
647msgid "8"
648msgstr ""
649
bcf91c1b 650#. type: Content of: <refentry><refmeta><refmiscinfo>
0c1a7101 651#: 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:19 apt-mark.8.xml:27 apt-secure.8.xml:19 apt-sortpkgs.1.xml:27 apt.conf.5.xml:33 apt_preferences.5.xml:26 sources.list.5.xml:27
bcf91c1b
DK
652msgid "APT"
653msgstr ""
654
2a52e8c5 655#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 656#: apt-cache.8.xml:33
30549c0c 657msgid "query the APT cache"
2a52e8c5
DK
658msgstr ""
659
2a52e8c5 660#. type: Content of: <refentry><refsect1><title>
c77d6597 661#: 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:30 apt-mark.8.xml:38 apt-secure.8.xml:43 apt-sortpkgs.1.xml:38 apt.conf.5.xml:42 apt_preferences.5.xml:36 sources.list.5.xml:36
2a52e8c5
DK
662msgid "Description"
663msgstr ""
664
665#. type: Content of: <refentry><refsect1><para>
c77d6597 666#: apt-cache.8.xml:39
2a52e8c5
DK
667msgid ""
668"<command>apt-cache</command> performs a variety of operations on APT's "
669"package cache. <command>apt-cache</command> does not manipulate the state of "
670"the system but does provide operations to search and generate interesting "
671"output from the package metadata."
672msgstr ""
673
674#. type: Content of: <refentry><refsect1><para>
c77d6597 675#: apt-cache.8.xml:44 apt-get.8.xml:44
2a52e8c5
DK
676msgid ""
677"Unless the <option>-h</option>, or <option>--help</option> option is given, "
678"one of the commands below must be present."
679msgstr ""
680
681#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 682#: apt-cache.8.xml:48
2a52e8c5
DK
683msgid "gencaches"
684msgstr ""
685
686#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 687#: apt-cache.8.xml:49
2a52e8c5 688msgid ""
c086ac18
DK
689"<literal>gencaches</literal> creates APT's package cache. This is done "
690"implicitly by all commands needing this cache if it is missing or outdated."
2a52e8c5
DK
691msgstr ""
692
693#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
694#: apt-cache.8.xml:53
695msgid "showpkg <replaceable>&synopsis-pkg;</replaceable>…"
2a52e8c5
DK
696msgstr ""
697
698#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 699#: apt-cache.8.xml:54
2a52e8c5
DK
700msgid ""
701"<literal>showpkg</literal> displays information about the packages listed on "
702"the command line. Remaining arguments are package names. The available "
703"versions and reverse dependencies of each package listed are listed, as well "
704"as forward dependencies for each version. Forward (normal) dependencies are "
705"those packages upon which the package in question depends; reverse "
706"dependencies are those packages that depend upon the package in "
707"question. Thus, forward dependencies must be satisfied for a package, but "
708"reverse dependencies need not be. For instance, <command>apt-cache showpkg "
709"libreadline2</command> would produce output similar to the following:"
710msgstr ""
711
712#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
c086ac18 713#: apt-cache.8.xml:66
2a52e8c5
DK
714#, no-wrap
715msgid ""
716"Package: libreadline2\n"
717"Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
718"Reverse Depends: \n"
719" libreadlineg2,libreadline2\n"
720" libreadline2-altdev,libreadline2\n"
721"Dependencies:\n"
722"2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
723"Provides:\n"
724"2.1-12 - \n"
725"Reverse Provides: \n"
726msgstr ""
727
728#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 729#: apt-cache.8.xml:78
2a52e8c5
DK
730msgid ""
731"Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
732"ncurses3.0 which must be installed for libreadline2 to work. In turn, "
733"libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
734"libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
735"installed; libreadlineg2 and libreadline2-altdev do not have to be "
736"installed. For the specific meaning of the remainder of the output it is "
737"best to consult the apt source code."
738msgstr ""
739
740#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 741#: apt-cache.8.xml:87
2a52e8c5
DK
742msgid "stats"
743msgstr ""
744
745#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 746#: apt-cache.8.xml:87
2a52e8c5
DK
747msgid ""
748"<literal>stats</literal> displays some statistics about the cache. No "
749"further arguments are expected. Statistics reported are:"
750msgstr ""
751
752#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
c086ac18 753#: apt-cache.8.xml:90
2a52e8c5
DK
754msgid ""
755"<literal>Total package names</literal> is the number of package names found "
756"in the cache."
757msgstr ""
758
759#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
c086ac18 760#: apt-cache.8.xml:94
2a52e8c5
DK
761msgid ""
762"<literal>Normal packages</literal> is the number of regular, ordinary "
763"package names; these are packages that bear a one-to-one correspondence "
764"between their names and the names used by other packages for them in "
765"dependencies. The majority of packages fall into this category."
766msgstr ""
767
768#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
c086ac18 769#: apt-cache.8.xml:100
2a52e8c5
DK
770msgid ""
771"<literal>Pure virtual packages</literal> is the number of packages that "
772"exist only as a virtual package name; that is, packages only \"provide\" the "
773"virtual package name, and no package actually uses the name. For instance, "
774"\"mail-transport-agent\" in the Debian GNU/Linux system is a pure virtual "
775"package; several packages provide \"mail-transport-agent\", but there is no "
776"package named \"mail-transport-agent\"."
777msgstr ""
778
779#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
c086ac18 780#: apt-cache.8.xml:108
2a52e8c5
DK
781msgid ""
782"<literal>Single virtual packages</literal> is the number of packages with "
783"only one package providing a particular virtual package. For example, in the "
784"Debian GNU/Linux system, \"X11-text-viewer\" is a virtual package, but only "
785"one package, xless, provides \"X11-text-viewer\"."
786msgstr ""
787
788#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
c086ac18 789#: apt-cache.8.xml:114
2a52e8c5
DK
790msgid ""
791"<literal>Mixed virtual packages</literal> is the number of packages that "
792"either provide a particular virtual package or have the virtual package name "
793"as the package name. For instance, in the Debian GNU/Linux system, "
794"\"debconf\" is both an actual package, and provided by the debconf-tiny "
795"package."
796msgstr ""
797
798#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
c086ac18 799#: apt-cache.8.xml:121
2a52e8c5
DK
800msgid ""
801"<literal>Missing</literal> is the number of package names that were "
802"referenced in a dependency but were not provided by any package. Missing "
43be0ac4 803"packages may be an evidence if a full distribution is not accessed, or if a "
2a52e8c5
DK
804"package (real or virtual) has been dropped from the distribution. Usually "
805"they are referenced from Conflicts or Breaks statements."
806msgstr ""
807
808#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
c086ac18 809#: apt-cache.8.xml:128
2a52e8c5
DK
810msgid ""
811"<literal>Total distinct</literal> versions is the number of package versions "
812"found in the cache; this value is therefore at least equal to the number of "
813"total package names. If more than one distribution (both \"stable\" and "
814"\"unstable\", for instance), is being accessed, this value can be "
815"considerably larger than the number of total package names."
816msgstr ""
817
818#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
c086ac18 819#: apt-cache.8.xml:135
2a52e8c5
DK
820msgid ""
821"<literal>Total dependencies</literal> is the number of dependency "
822"relationships claimed by all of the packages in the cache."
823msgstr ""
824
825#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
826#: apt-cache.8.xml:142
827msgid "showsrc <replaceable>&synopsis-pkg;</replaceable>…"
2a52e8c5
DK
828msgstr ""
829
830#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 831#: apt-cache.8.xml:143
2a52e8c5
DK
832msgid ""
833"<literal>showsrc</literal> displays all the source package records that "
834"match the given package names. All versions are shown, as well as all "
835"records that declare the name to be a Binary."
836msgstr ""
837
838#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 839#: apt-cache.8.xml:148 apt-config.8.xml:75
2a52e8c5
DK
840msgid "dump"
841msgstr ""
842
843#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 844#: apt-cache.8.xml:149
2a52e8c5
DK
845msgid ""
846"<literal>dump</literal> shows a short listing of every package in the "
847"cache. It is primarily for debugging."
848msgstr ""
849
850#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 851#: apt-cache.8.xml:153
2a52e8c5
DK
852msgid "dumpavail"
853msgstr ""
854
855#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 856#: apt-cache.8.xml:154
2a52e8c5
DK
857msgid ""
858"<literal>dumpavail</literal> prints out an available list to stdout. This is "
859"suitable for use with &dpkg; and is used by the &dselect; method."
860msgstr ""
861
862#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 863#: apt-cache.8.xml:158
2a52e8c5
DK
864msgid "unmet"
865msgstr ""
866
867#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 868#: apt-cache.8.xml:159
2a52e8c5
DK
869msgid ""
870"<literal>unmet</literal> displays a summary of all unmet dependencies in the "
871"package cache."
872msgstr ""
873
874#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
875#: apt-cache.8.xml:163
876msgid "show <replaceable>&synopsis-pkg;</replaceable>…"
2a52e8c5
DK
877msgstr ""
878
879#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 880#: apt-cache.8.xml:164
2a52e8c5
DK
881msgid ""
882"<literal>show</literal> performs a function similar to <command>dpkg "
883"--print-avail</command>; it displays the package records for the named "
884"packages."
885msgstr ""
886
887#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
888#: apt-cache.8.xml:169
889msgid "search <replaceable>&synopsis-regex;</replaceable>…"
2a52e8c5
DK
890msgstr ""
891
892#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 893#: apt-cache.8.xml:170
2a52e8c5
DK
894msgid ""
895"<literal>search</literal> performs a full text search on all available "
896"package lists for the POSIX regex pattern given, see "
897"<citerefentry><refentrytitle><command>regex</command></refentrytitle> "
898"<manvolnum>7</manvolnum></citerefentry>. It searches the package names and "
899"the descriptions for an occurrence of the regular expression and prints out "
900"the package name and the short description, including virtual package "
901"names. If <option>--full</option> is given then output identical to "
902"<literal>show</literal> is produced for each matched package, and if "
903"<option>--names-only</option> is given then the long description is not "
904"searched, only the package name is."
905msgstr ""
906
907#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 908#: apt-cache.8.xml:183
2a52e8c5
DK
909msgid ""
910"Separate arguments can be used to specify multiple search patterns that are "
911"and'ed together."
912msgstr ""
913
914#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
915#: apt-cache.8.xml:187
916msgid "depends <replaceable>&synopsis-pkg;</replaceable>…"
2a52e8c5
DK
917msgstr ""
918
919#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 920#: apt-cache.8.xml:188
2a52e8c5
DK
921msgid ""
922"<literal>depends</literal> shows a listing of each dependency a package has "
923"and all the possible other packages that can fulfill that dependency."
924msgstr ""
925
926#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
927#: apt-cache.8.xml:192
928msgid "rdepends <replaceable>&synopsis-pkg;</replaceable>…"
2a52e8c5
DK
929msgstr ""
930
931#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 932#: apt-cache.8.xml:193
2a52e8c5
DK
933msgid ""
934"<literal>rdepends</literal> shows a listing of each reverse dependency a "
935"package has."
936msgstr ""
937
938#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
939#: apt-cache.8.xml:197
940msgid "pkgnames [ <replaceable>&synopsis-prefix;</replaceable> ]"
2a52e8c5
DK
941msgstr ""
942
943#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 944#: apt-cache.8.xml:198
2a52e8c5 945msgid ""
63fc5550 946"This command prints the name of each package APT knows. The optional "
2a52e8c5
DK
947"argument is a prefix match to filter the name list. The output is suitable "
948"for use in a shell tab complete function and the output is generated "
949"extremely quickly. This command is best used with the "
950"<option>--generate</option> option."
951msgstr ""
952
63fc5550 953#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 954#: apt-cache.8.xml:203
63fc5550 955msgid ""
82cb5862 956"Note that a package which APT knows of is not necessarily available to "
63fc5550
DK
957"download, installable or installed, e.g. virtual packages are also listed in "
958"the generated list."
959msgstr ""
960
2a52e8c5 961#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
962#: apt-cache.8.xml:208
963msgid "dotty <replaceable>&synopsis-pkg;</replaceable>…"
2a52e8c5
DK
964msgstr ""
965
966#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 967#: apt-cache.8.xml:209
2a52e8c5
DK
968msgid ""
969"<literal>dotty</literal> takes a list of packages on the command line and "
970"generates output suitable for use by dotty from the <ulink "
971"url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> "
972"package. The result will be a set of nodes and edges representing the "
973"relationships between the packages. By default the given packages will trace "
974"out all dependent packages; this can produce a very large graph. To limit "
975"the output to only the packages listed on the command line, set the "
976"<literal>APT::Cache::GivenOnly</literal> option."
977msgstr ""
978
979#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 980#: apt-cache.8.xml:218
2a52e8c5
DK
981msgid ""
982"The resulting nodes will have several shapes; normal packages are boxes, "
983"pure provides are triangles, mixed provides are diamonds, missing packages "
984"are hexagons. Orange boxes mean recursion was stopped [leaf packages], blue "
985"lines are pre-depends, green lines are conflicts."
986msgstr ""
987
988#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 989#: apt-cache.8.xml:223
2a52e8c5
DK
990msgid "Caution, dotty cannot graph larger sets of packages."
991msgstr ""
992
993#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
994#: apt-cache.8.xml:226
995msgid "xvcg <replaceable>&synopsis-pkg;</replaceable>"
2a52e8c5
DK
996msgstr ""
997
998#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 999#: apt-cache.8.xml:227
2a52e8c5
DK
1000msgid ""
1001"The same as <literal>dotty</literal>, only for xvcg from the <ulink "
1002"url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG "
1003"tool</ulink>."
1004msgstr ""
1005
1006#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
1007#: apt-cache.8.xml:231
1008msgid "policy [ <replaceable>&synopsis-pkg;</replaceable>… ]"
2a52e8c5
DK
1009msgstr ""
1010
1011#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1012#: apt-cache.8.xml:232
2a52e8c5
DK
1013msgid ""
1014"<literal>policy</literal> is meant to help debug issues relating to the "
1015"preferences file. With no arguments it will print out the priorities of each "
1016"source. Otherwise it prints out detailed information about the priority "
1017"selection of the named package."
1018msgstr ""
1019
1020#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18
DK
1021#: apt-cache.8.xml:238
1022msgid "madison <replaceable>&synopsis-pkg;</replaceable>…"
2a52e8c5
DK
1023msgstr ""
1024
1025#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1026#: apt-cache.8.xml:239
2a52e8c5
DK
1027msgid ""
1028"<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
1029"to mimic the output format and a subset of the functionality of the Debian "
1030"archive management tool, <literal>madison</literal>. It displays available "
1031"versions of a package in a tabular format. Unlike the original "
1032"<literal>madison</literal>, it can only display information for the "
1033"architecture for which APT has retrieved package lists "
1034"(<literal>APT::Architecture</literal>)."
1035msgstr ""
1036
1037#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1038#: apt-cache.8.xml:250 apt-config.8.xml:84 apt-extracttemplates.1.xml:51 apt-ftparchive.1.xml:504 apt-get.8.xml:259 apt-mark.8.xml:108 apt-sortpkgs.1.xml:48 apt.conf.5.xml:586 apt.conf.5.xml:608
2a52e8c5
DK
1039msgid "options"
1040msgstr ""
1041
1042#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1043#: apt-cache.8.xml:254
2a52e8c5
DK
1044msgid "<option>-p</option>"
1045msgstr ""
1046
1047#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1048#: apt-cache.8.xml:254
2a52e8c5
DK
1049msgid "<option>--pkg-cache</option>"
1050msgstr ""
1051
1052#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1053#: apt-cache.8.xml:255
2a52e8c5
DK
1054msgid ""
1055"Select the file to store the package cache. The package cache is the primary "
1056"cache used by all operations. Configuration Item: "
1057"<literal>Dir::Cache::pkgcache</literal>."
1058msgstr ""
1059
1060#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1061#: apt-cache.8.xml:260 apt-ftparchive.1.xml:551 apt-get.8.xml:321 apt-sortpkgs.1.xml:52
2a52e8c5
DK
1062msgid "<option>-s</option>"
1063msgstr ""
1064
1065#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1066#: apt-cache.8.xml:260
2a52e8c5
DK
1067msgid "<option>--src-cache</option>"
1068msgstr ""
1069
1070#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1071#: apt-cache.8.xml:261
2a52e8c5
DK
1072msgid ""
1073"Select the file to store the source cache. The source is used only by "
1074"<literal>gencaches</literal> and it stores a parsed version of the package "
1075"information from remote sources. When building the package cache the source "
1076"cache is used to avoid reparsing all of the package files. Configuration "
1077"Item: <literal>Dir::Cache::srcpkgcache</literal>."
1078msgstr ""
1079
1080#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1081#: apt-cache.8.xml:268 apt-ftparchive.1.xml:525 apt-get.8.xml:311
2a52e8c5
DK
1082msgid "<option>-q</option>"
1083msgstr ""
1084
1085#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1086#: apt-cache.8.xml:268 apt-ftparchive.1.xml:525 apt-get.8.xml:311
2a52e8c5
DK
1087msgid "<option>--quiet</option>"
1088msgstr ""
1089
1090#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1091#: apt-cache.8.xml:269
2a52e8c5
DK
1092msgid ""
1093"Quiet; produces output suitable for logging, omitting progress indicators. "
1094"More q's will produce more quietness up to a maximum of 2. You can also use "
1095"<option>-q=#</option> to set the quietness level, overriding the "
1096"configuration file. Configuration Item: <literal>quiet</literal>."
1097msgstr ""
1098
1099#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1100#: apt-cache.8.xml:275
2a52e8c5
DK
1101msgid "<option>-i</option>"
1102msgstr ""
1103
1104#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1105#: apt-cache.8.xml:275
2a52e8c5
DK
1106msgid "<option>--important</option>"
1107msgstr ""
1108
1109#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1110#: apt-cache.8.xml:276
2a52e8c5
DK
1111msgid ""
1112"Print only important dependencies; for use with unmet and depends. Causes "
1113"only Depends and Pre-Depends relations to be printed. Configuration Item: "
1114"<literal>APT::Cache::Important</literal>."
1115msgstr ""
1116
1117#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1118#: apt-cache.8.xml:281
b6c6b52f
MV
1119msgid "<option>--no-pre-depends</option>"
1120msgstr ""
1121
1122#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1123#: apt-cache.8.xml:282
b6c6b52f
MV
1124msgid "<option>--no-depends</option>"
1125msgstr ""
1126
1127#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1128#: apt-cache.8.xml:283
b6c6b52f
MV
1129msgid "<option>--no-recommends</option>"
1130msgstr ""
1131
1132#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1133#: apt-cache.8.xml:284
b6c6b52f
MV
1134msgid "<option>--no-suggests</option>"
1135msgstr ""
1136
1137#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1138#: apt-cache.8.xml:285
b6c6b52f
MV
1139msgid "<option>--no-conflicts</option>"
1140msgstr ""
1141
1142#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1143#: apt-cache.8.xml:286
b6c6b52f
MV
1144msgid "<option>--no-breaks</option>"
1145msgstr ""
1146
1147#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1148#: apt-cache.8.xml:287
b6c6b52f
MV
1149msgid "<option>--no-replaces</option>"
1150msgstr ""
1151
1152#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1153#: apt-cache.8.xml:288
b6c6b52f
MV
1154msgid "<option>--no-enhances</option>"
1155msgstr ""
1156
1157#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1158#: apt-cache.8.xml:289
b6c6b52f
MV
1159msgid ""
1160"Per default the <literal>depends</literal> and <literal>rdepends</literal> "
c77d6597 1161"print all dependencies. This can be tweaked with these flags which will omit "
b6c6b52f
MV
1162"the specified dependency type. Configuration Item: "
1163"<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> "
1164"e.g. <literal>APT::Cache::ShowRecommends</literal>."
1165msgstr ""
1166
1167#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1168#: apt-cache.8.xml:295 apt-cdrom.8.xml:111 apt-get.8.xml:278
2a52e8c5
DK
1169msgid "<option>-f</option>"
1170msgstr ""
1171
1172#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1173#: apt-cache.8.xml:295
2a52e8c5
DK
1174msgid "<option>--full</option>"
1175msgstr ""
1176
1177#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1178#: apt-cache.8.xml:296
2a52e8c5
DK
1179msgid ""
1180"Print full package records when searching. Configuration Item: "
1181"<literal>APT::Cache::ShowFull</literal>."
1182msgstr ""
1183
1184#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1185#: apt-cache.8.xml:300 apt-cdrom.8.xml:121 apt-ftparchive.1.xml:563 apt-get.8.xml:369
2a52e8c5
DK
1186msgid "<option>-a</option>"
1187msgstr ""
1188
1189#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1190#: apt-cache.8.xml:300
2a52e8c5
DK
1191msgid "<option>--all-versions</option>"
1192msgstr ""
1193
1194#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1195#: apt-cache.8.xml:301
2a52e8c5
DK
1196msgid ""
1197"Print full records for all available versions. This is the default; to turn "
1198"it off, use <option>--no-all-versions</option>. If "
1199"<option>--no-all-versions</option> is specified, only the candidate version "
1200"will displayed (the one which would be selected for installation). This "
1201"option is only applicable to the <literal>show</literal> command. "
1202"Configuration Item: <literal>APT::Cache::AllVersions</literal>."
1203msgstr ""
1204
1205#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1206#: apt-cache.8.xml:309
2a52e8c5
DK
1207msgid "<option>-g</option>"
1208msgstr ""
1209
1210#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1211#: apt-cache.8.xml:309
2a52e8c5
DK
1212msgid "<option>--generate</option>"
1213msgstr ""
1214
1215#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1216#: apt-cache.8.xml:310
2a52e8c5
DK
1217msgid ""
1218"Perform automatic package cache regeneration, rather than use the cache as "
1219"it is. This is the default; to turn it off, use "
1220"<option>--no-generate</option>. Configuration Item: "
1221"<literal>APT::Cache::Generate</literal>."
1222msgstr ""
1223
1224#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1225#: apt-cache.8.xml:315
2a52e8c5
DK
1226msgid "<option>--names-only</option>"
1227msgstr ""
1228
1229#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1230#: apt-cache.8.xml:315 apt-cdrom.8.xml:129
2a52e8c5
DK
1231msgid "<option>-n</option>"
1232msgstr ""
1233
1234#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1235#: apt-cache.8.xml:316
2a52e8c5
DK
1236msgid ""
1237"Only search on the package names, not the long descriptions. Configuration "
1238"Item: <literal>APT::Cache::NamesOnly</literal>."
1239msgstr ""
1240
1241#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1242#: apt-cache.8.xml:320
2a52e8c5
DK
1243msgid "<option>--all-names</option>"
1244msgstr ""
1245
1246#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1247#: apt-cache.8.xml:321
2a52e8c5
DK
1248msgid ""
1249"Make <literal>pkgnames</literal> print all names, including virtual packages "
1250"and missing dependencies. Configuration Item: "
1251"<literal>APT::Cache::AllNames</literal>."
1252msgstr ""
1253
1254#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1255#: apt-cache.8.xml:326
2a52e8c5
DK
1256msgid "<option>--recurse</option>"
1257msgstr ""
1258
1259#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1260#: apt-cache.8.xml:327
2a52e8c5
DK
1261msgid ""
1262"Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1263"that all packages mentioned are printed once. Configuration Item: "
1264"<literal>APT::Cache::RecurseDepends</literal>."
1265msgstr ""
1266
1267#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1268#: apt-cache.8.xml:332
2a52e8c5
DK
1269msgid "<option>--installed</option>"
1270msgstr ""
1271
1272#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 1273#: apt-cache.8.xml:334
2a52e8c5
DK
1274msgid ""
1275"Limit the output of <literal>depends</literal> and "
1276"<literal>rdepends</literal> to packages which are currently installed. "
1277"Configuration Item: <literal>APT::Cache::Installed</literal>."
1278msgstr ""
1279
1280#. type: Content of: <refentry><refsect1><variablelist>
c086ac18 1281#: apt-cache.8.xml:339 apt-cdrom.8.xml:140 apt-config.8.xml:104 apt-extracttemplates.1.xml:62 apt-ftparchive.1.xml:591 apt-get.8.xml:514 apt-mark.8.xml:122 apt-sortpkgs.1.xml:58
2a52e8c5
DK
1282msgid "&apt-commonoptions;"
1283msgstr ""
1284
1285#. type: Content of: <refentry><refsect1><title>
c086ac18 1286#: apt-cache.8.xml:344 apt-get.8.xml:519 apt-key.8.xml:167 apt-mark.8.xml:126 apt.conf.5.xml:1119 apt_preferences.5.xml:697
2a52e8c5
DK
1287msgid "Files"
1288msgstr ""
1289
bcf91c1b 1290#. type: Content of: <refentry><refsect1><variablelist>
c086ac18 1291#: apt-cache.8.xml:346
bcf91c1b 1292msgid "&file-sourceslist; &file-statelists;"
2a52e8c5
DK
1293msgstr ""
1294
1295#. type: Content of: <refentry><refsect1><title>
c086ac18 1296#: apt-cache.8.xml:351 apt-cdrom.8.xml:145 apt-config.8.xml:109 apt-extracttemplates.1.xml:69 apt-ftparchive.1.xml:607 apt-get.8.xml:529 apt-key.8.xml:188 apt-mark.8.xml:132 apt-secure.8.xml:185 apt-sortpkgs.1.xml:63 apt.conf.5.xml:1125 apt_preferences.5.xml:704 sources.list.5.xml:255
2a52e8c5
DK
1297msgid "See Also"
1298msgstr ""
1299
1300#. type: Content of: <refentry><refsect1><para>
c086ac18 1301#: apt-cache.8.xml:352
2a52e8c5
DK
1302msgid "&apt-conf;, &sources-list;, &apt-get;"
1303msgstr ""
1304
1305#. type: Content of: <refentry><refsect1><title>
c086ac18 1306#: apt-cache.8.xml:356 apt-cdrom.8.xml:150 apt-config.8.xml:114 apt-extracttemplates.1.xml:73 apt-ftparchive.1.xml:611 apt-get.8.xml:535 apt-mark.8.xml:136 apt-sortpkgs.1.xml:67
2a52e8c5
DK
1307msgid "Diagnostics"
1308msgstr ""
1309
1310#. type: Content of: <refentry><refsect1><para>
c086ac18 1311#: apt-cache.8.xml:357
2a52e8c5
DK
1312msgid ""
1313"<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1314"on error."
1315msgstr ""
1316
1317#. type: Content of: <refentry><refentryinfo>
0c1a7101 1318#: apt-cdrom.8.xml:16
2a52e8c5
DK
1319msgid ""
1320"&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>14 "
1321"February 2004</date>"
1322msgstr ""
1323
1324#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 1325#: apt-cdrom.8.xml:24 apt-cdrom.8.xml:31
2a52e8c5
DK
1326msgid "apt-cdrom"
1327msgstr ""
1328
1329#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 1330#: apt-cdrom.8.xml:32
2a52e8c5
DK
1331msgid "APT CDROM management utility"
1332msgstr ""
1333
2a52e8c5 1334#. type: Content of: <refentry><refsect1><para>
c77d6597 1335#: apt-cdrom.8.xml:38
2a52e8c5
DK
1336msgid ""
1337"<command>apt-cdrom</command> is used to add a new CDROM to APTs list of "
1338"available sources. <command>apt-cdrom</command> takes care of determining "
1339"the structure of the disc as well as correcting for several possible "
1340"mis-burns and verifying the index files."
1341msgstr ""
1342
1343#. type: Content of: <refentry><refsect1><para>
c77d6597 1344#: apt-cdrom.8.xml:45
2a52e8c5
DK
1345msgid ""
1346"It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
1347"system, it cannot be done by hand. Furthermore each disk in a multi-cd set "
1348"must be inserted and scanned separately to account for possible mis-burns."
1349msgstr ""
1350
1351#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c77d6597 1352#: apt-cdrom.8.xml:55
2a52e8c5
DK
1353msgid "add"
1354msgstr ""
1355
1356#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 1357#: apt-cdrom.8.xml:56
2a52e8c5
DK
1358msgid ""
1359"<literal>add</literal> is used to add a new disc to the source list. It will "
0fd68707 1360"unmount the CDROM device, prompt for a disk to be inserted and then proceed "
2a52e8c5
DK
1361"to scan it and copy the index files. If the disc does not have a proper "
1362"<filename>disk</filename> directory you will be prompted for a descriptive "
1363"title."
1364msgstr ""
1365
1366#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 1367#: apt-cdrom.8.xml:64
2a52e8c5
DK
1368msgid ""
1369"APT uses a CDROM ID to track which disc is currently in the drive and "
1370"maintains a database of these IDs in "
1371"<filename>&statedir;/cdroms.list</filename>"
1372msgstr ""
1373
1374#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c77d6597 1375#: apt-cdrom.8.xml:71
2a52e8c5
DK
1376msgid "ident"
1377msgstr ""
1378
1379#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 1380#: apt-cdrom.8.xml:72
2a52e8c5
DK
1381msgid ""
1382"A debugging tool to report the identity of the current disc as well as the "
1383"stored file name"
1384msgstr ""
1385
1386#. type: Content of: <refentry><refsect1><para>
c77d6597 1387#: apt-cdrom.8.xml:51
2a52e8c5
DK
1388msgid ""
1389"Unless the <option>-h</option>, or <option>--help</option> option is given "
1390"one of the commands below must be present. <placeholder "
1391"type=\"variablelist\" id=\"0\"/>"
1392msgstr ""
1393
1394#. type: Content of: <refentry><refsect1><title>
c77d6597 1395#: apt-cdrom.8.xml:81 apt-key.8.xml:153
2a52e8c5
DK
1396msgid "Options"
1397msgstr ""
1398
1399#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1400#: apt-cdrom.8.xml:85 apt-ftparchive.1.xml:519 apt-get.8.xml:273
2a52e8c5
DK
1401msgid "<option>-d</option>"
1402msgstr ""
1403
1404#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1405#: apt-cdrom.8.xml:85
2a52e8c5
DK
1406msgid "<option>--cdrom</option>"
1407msgstr ""
1408
1409#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1410#: apt-cdrom.8.xml:86
2a52e8c5
DK
1411msgid ""
1412"Mount point; specify the location to mount the cdrom. This mount point must "
1413"be listed in <filename>/etc/fstab</filename> and properly configured. "
1414"Configuration Item: <literal>Acquire::cdrom::mount</literal>."
1415msgstr ""
1416
1417#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1418#: apt-cdrom.8.xml:94
2a52e8c5
DK
1419msgid "<option>-r</option>"
1420msgstr ""
1421
1422#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1423#: apt-cdrom.8.xml:94
2a52e8c5
DK
1424msgid "<option>--rename</option>"
1425msgstr ""
1426
1427#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1428#: apt-cdrom.8.xml:95
2a52e8c5
DK
1429msgid ""
1430"Rename a disc; change the label of a disk or override the disks given "
1431"label. This option will cause <command>apt-cdrom</command> to prompt for a "
1432"new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
1433msgstr ""
1434
1435#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1436#: apt-cdrom.8.xml:103 apt-get.8.xml:292
2a52e8c5
DK
1437msgid "<option>-m</option>"
1438msgstr ""
1439
1440#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1441#: apt-cdrom.8.xml:103
2a52e8c5
DK
1442msgid "<option>--no-mount</option>"
1443msgstr ""
1444
1445#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1446#: apt-cdrom.8.xml:104
2a52e8c5
DK
1447msgid ""
1448"No mounting; prevent <command>apt-cdrom</command> from mounting and "
1449"unmounting the mount point. Configuration Item: "
1450"<literal>APT::CDROM::NoMount</literal>."
1451msgstr ""
1452
1453#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1454#: apt-cdrom.8.xml:111
2a52e8c5
DK
1455msgid "<option>--fast</option>"
1456msgstr ""
1457
1458#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1459#: apt-cdrom.8.xml:112
2a52e8c5
DK
1460msgid ""
1461"Fast Copy; Assume the package files are valid and do not check every "
1462"package. This option should be used only if <command>apt-cdrom</command> has "
1463"been run on this disc before and did not detect any errors. Configuration "
1464"Item: <literal>APT::CDROM::Fast</literal>."
1465msgstr ""
1466
1467#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1468#: apt-cdrom.8.xml:121
2a52e8c5
DK
1469msgid "<option>--thorough</option>"
1470msgstr ""
1471
1472#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1473#: apt-cdrom.8.xml:122
2a52e8c5
DK
1474msgid ""
1475"Thorough Package Scan; This option may be needed with some old Debian "
1476"1.1/1.2 discs that have Package files in strange places. It takes much "
1477"longer to scan the CD but will pick them all up."
1478msgstr ""
1479
1480#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1481#: apt-cdrom.8.xml:130 apt-get.8.xml:323
2a52e8c5
DK
1482msgid "<option>--just-print</option>"
1483msgstr ""
1484
1485#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1486#: apt-cdrom.8.xml:131 apt-get.8.xml:325
2a52e8c5
DK
1487msgid "<option>--recon</option>"
1488msgstr ""
1489
1490#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1491#: apt-cdrom.8.xml:132 apt-get.8.xml:326
2a52e8c5
DK
1492msgid "<option>--no-act</option>"
1493msgstr ""
1494
1495#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1496#: apt-cdrom.8.xml:133
2a52e8c5
DK
1497msgid ""
1498"No Changes; Do not change the &sources-list; file and do not write index "
1499"files. Everything is still checked however. Configuration Item: "
1500"<literal>APT::CDROM::NoAct</literal>."
1501msgstr ""
1502
1503#. type: Content of: <refentry><refsect1><para>
c77d6597 1504#: apt-cdrom.8.xml:146
2a52e8c5
DK
1505msgid "&apt-conf;, &apt-get;, &sources-list;"
1506msgstr ""
1507
1508#. type: Content of: <refentry><refsect1><para>
c77d6597 1509#: apt-cdrom.8.xml:151
2a52e8c5
DK
1510msgid ""
1511"<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
1512"on error."
1513msgstr ""
1514
30549c0c
MV
1515#. The last update date
1516#. type: Content of: <refentry><refentryinfo>
1517#: apt-config.8.xml:16 apt-extracttemplates.1.xml:16 apt-sortpkgs.1.xml:16 sources.list.5.xml:16
1518msgid ""
1519"&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>29 "
1520"February 2004</date>"
1521msgstr ""
1522
2a52e8c5 1523#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 1524#: apt-config.8.xml:25 apt-config.8.xml:32
2a52e8c5
DK
1525msgid "apt-config"
1526msgstr ""
1527
1528#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 1529#: apt-config.8.xml:33
2a52e8c5
DK
1530msgid "APT Configuration Query program"
1531msgstr ""
1532
2a52e8c5 1533#. type: Content of: <refentry><refsect1><para>
c77d6597 1534#: apt-config.8.xml:39
2a52e8c5
DK
1535msgid ""
1536"<command>apt-config</command> is an internal program used by various "
1537"portions of the APT suite to provide consistent configurability. It accesses "
1538"the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
1539"manner that is easy to use by scripted applications."
1540msgstr ""
1541
1542#. type: Content of: <refentry><refsect1><para>
c77d6597 1543#: apt-config.8.xml:44 apt-ftparchive.1.xml:54
2a52e8c5
DK
1544msgid ""
1545"Unless the <option>-h</option>, or <option>--help</option> option is given "
1546"one of the commands below must be present."
1547msgstr ""
1548
1549#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1550#: apt-config.8.xml:49
2a52e8c5
DK
1551msgid "shell"
1552msgstr ""
1553
1554#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1555#: apt-config.8.xml:51
2a52e8c5
DK
1556msgid ""
1557"shell is used to access the configuration information from a shell "
1558"script. It is given pairs of arguments, the first being a shell variable and "
1559"the second the configuration value to query. As output it lists a series of "
1560"shell assignments commands for each present value. In a shell script it "
1561"should be used like:"
1562msgstr ""
1563
1564#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
c77d6597 1565#: apt-config.8.xml:59
2a52e8c5
DK
1566#, no-wrap
1567msgid ""
1568"OPTS=\"-f\"\n"
1569"RES=`apt-config shell OPTS MyApp::options`\n"
1570"eval $RES\n"
1571msgstr ""
1572
1573#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1574#: apt-config.8.xml:64
2a52e8c5
DK
1575msgid ""
1576"This will set the shell environment variable $OPTS to the value of "
1577"MyApp::options with a default of <option>-f</option>."
1578msgstr ""
1579
1580#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1581#: apt-config.8.xml:68
2a52e8c5
DK
1582msgid ""
1583"The configuration item may be postfixed with a /[fdbi]. f returns file "
1584"names, d returns directories, b returns true or false and i returns an "
1585"integer. Each of the returns is normalized and verified internally."
1586msgstr ""
1587
1588#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1589#: apt-config.8.xml:77
2a52e8c5
DK
1590msgid "Just show the contents of the configuration space."
1591msgstr ""
1592
aa2218b2
MV
1593#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1594#: apt-config.8.xml:89
1595msgid "<option>--empty</option>"
1596msgstr ""
1597
1598#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1599#: apt-config.8.xml:90
1600msgid ""
1601"Include options which have an empty value. This is the default, so use "
1602"--no-empty to remove them from the output."
1603msgstr ""
1604
1605#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1606#: apt-config.8.xml:95
1607msgid ""
1608"<option>--format '<replaceable>&percnt;f "
1609"&#x0022;&percnt;v&#x0022;;&percnt;n</replaceable>'</option>"
1610msgstr ""
1611
1612#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1613#: apt-config.8.xml:96
1614msgid ""
1615"Defines the output of each config option. &percnt;t will be replaced with "
c086ac18
DK
1616"the name of the option, &percnt;f with the complete optionname and &percnt;v "
1617"with the value of the option. Use uppercase letters and special characters "
1618"in the value will be encoded to ensure that it can e.g. be savely used in a "
1619"quoted-string as defined by RFC822. Additionally &percnt;n will be replaced "
1620"by a newline, &percnt;N by a tab. A &percnt; can be printed by using "
1621"&percnt;&percnt;."
aa2218b2
MV
1622msgstr ""
1623
2a52e8c5 1624#. type: Content of: <refentry><refsect1><para>
c086ac18 1625#: apt-config.8.xml:110 apt-extracttemplates.1.xml:70 apt-ftparchive.1.xml:608 apt-sortpkgs.1.xml:64
2a52e8c5
DK
1626msgid "&apt-conf;"
1627msgstr ""
1628
1629#. type: Content of: <refentry><refsect1><para>
c086ac18 1630#: apt-config.8.xml:115
2a52e8c5
DK
1631msgid ""
1632"<command>apt-config</command> returns zero on normal operation, decimal 100 "
1633"on error."
1634msgstr ""
1635
1636#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 1637#: apt-extracttemplates.1.xml:25 apt-extracttemplates.1.xml:32
2a52e8c5
DK
1638msgid "apt-extracttemplates"
1639msgstr ""
1640
1641#. type: Content of: <refentry><refmeta><manvolnum>
0c1a7101 1642#: apt-extracttemplates.1.xml:26 apt-ftparchive.1.xml:26 apt-sortpkgs.1.xml:26
2a52e8c5
DK
1643msgid "1"
1644msgstr ""
1645
1646#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 1647#: apt-extracttemplates.1.xml:33
2a52e8c5
DK
1648msgid "Utility to extract DebConf config and templates from Debian packages"
1649msgstr ""
1650
2a52e8c5 1651#. type: Content of: <refentry><refsect1><para>
c77d6597 1652#: apt-extracttemplates.1.xml:39
2a52e8c5
DK
1653msgid ""
1654"<command>apt-extracttemplates</command> will take one or more Debian package "
1655"files as input and write out (to a temporary directory) all associated "
1656"config scripts and template files. For each passed in package that contains "
1657"config scripts and templates, one line of output will be generated in the "
1658"format:"
1659msgstr ""
1660
1661#. type: Content of: <refentry><refsect1><para>
c77d6597 1662#: apt-extracttemplates.1.xml:44
2a52e8c5
DK
1663msgid "package version template-file config-script"
1664msgstr ""
1665
1666#. type: Content of: <refentry><refsect1><para>
c77d6597 1667#: apt-extracttemplates.1.xml:45
2a52e8c5
DK
1668msgid ""
1669"template-file and config-script are written to the temporary directory "
1670"specified by the -t or --tempdir "
1671"(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
1672"filenames of the form <filename>package.template.XXXX</filename> and "
1673"<filename>package.config.XXXX</filename>"
1674msgstr ""
1675
1676#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 1677#: apt-extracttemplates.1.xml:55 apt-get.8.xml:448
2a52e8c5
DK
1678msgid "<option>-t</option>"
1679msgstr ""
1680
1681#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1682#: apt-extracttemplates.1.xml:55
2a52e8c5
DK
1683msgid "<option>--tempdir</option>"
1684msgstr ""
1685
1686#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1687#: apt-extracttemplates.1.xml:57
2a52e8c5
DK
1688msgid ""
1689"Temporary directory in which to write extracted debconf template files and "
43be0ac4 1690"config scripts. Configuration Item: "
2a52e8c5
DK
1691"<literal>APT::ExtractTemplates::TempDir</literal>"
1692msgstr ""
1693
1694#. type: Content of: <refentry><refsect1><para>
c77d6597 1695#: apt-extracttemplates.1.xml:74
2a52e8c5
DK
1696msgid ""
1697"<command>apt-extracttemplates</command> returns zero on normal operation, "
1698"decimal 100 on error."
1699msgstr ""
1700
43be0ac4
MV
1701#. The last update date
1702#. type: Content of: <refentry><refentryinfo>
0c1a7101 1703#: apt-ftparchive.1.xml:16
43be0ac4
MV
1704msgid ""
1705"&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>17 "
1706"August 2009</date>"
1707msgstr ""
1708
2a52e8c5 1709#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 1710#: apt-ftparchive.1.xml:25 apt-ftparchive.1.xml:32
2a52e8c5
DK
1711msgid "apt-ftparchive"
1712msgstr ""
1713
1714#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 1715#: apt-ftparchive.1.xml:33
2a52e8c5
DK
1716msgid "Utility to generate index files"
1717msgstr ""
1718
2a52e8c5 1719#. type: Content of: <refentry><refsect1><para>
c77d6597 1720#: apt-ftparchive.1.xml:39
2a52e8c5
DK
1721msgid ""
1722"<command>apt-ftparchive</command> is the command line tool that generates "
1723"the index files that APT uses to access a distribution source. The index "
1724"files should be generated on the origin site based on the content of that "
1725"site."
1726msgstr ""
1727
1728#. type: Content of: <refentry><refsect1><para>
c77d6597 1729#: apt-ftparchive.1.xml:43
2a52e8c5
DK
1730msgid ""
1731"<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
1732"program, incorporating its entire functionality via the "
1733"<literal>packages</literal> command. It also contains a contents file "
1734"generator, <literal>contents</literal>, and an elaborate means to 'script' "
1735"the generation process for a complete archive."
1736msgstr ""
1737
1738#. type: Content of: <refentry><refsect1><para>
c77d6597 1739#: apt-ftparchive.1.xml:49
2a52e8c5
DK
1740msgid ""
1741"Internally <command>apt-ftparchive</command> can make use of binary "
1742"databases to cache the contents of a .deb file and it does not rely on any "
1743"external programs aside from &gzip;. When doing a full generate it "
1744"automatically performs file-change checks and builds the desired compressed "
1745"output files."
1746msgstr ""
1747
1748#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1749#: apt-ftparchive.1.xml:58
2a52e8c5
DK
1750msgid "packages"
1751msgstr ""
1752
1753#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1754#: apt-ftparchive.1.xml:60
2a52e8c5
DK
1755msgid ""
1756"The packages command generates a package file from a directory tree. It "
1757"takes the given directory and recursively searches it for .deb files, "
1758"emitting a package record to stdout for each. This command is approximately "
1759"equivalent to &dpkg-scanpackages;."
1760msgstr ""
1761
1762#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1763#: apt-ftparchive.1.xml:65 apt-ftparchive.1.xml:89
2a52e8c5
DK
1764msgid "The option <option>--db</option> can be used to specify a binary caching DB."
1765msgstr ""
1766
1767#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1768#: apt-ftparchive.1.xml:68
2a52e8c5
DK
1769msgid "sources"
1770msgstr ""
1771
1772#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1773#: apt-ftparchive.1.xml:70
2a52e8c5
DK
1774msgid ""
1775"The <literal>sources</literal> command generates a source index file from a "
1776"directory tree. It takes the given directory and recursively searches it "
1777"for .dsc files, emitting a source record to stdout for each. This command is "
1778"approximately equivalent to &dpkg-scansources;."
1779msgstr ""
1780
1781#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1782#: apt-ftparchive.1.xml:75
2a52e8c5
DK
1783msgid ""
1784"If an override file is specified then a source override file will be looked "
1785"for with an extension of .src. The --source-override option can be used to "
1786"change the source override file that will be used."
1787msgstr ""
1788
1789#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1790#: apt-ftparchive.1.xml:80
2a52e8c5
DK
1791msgid "contents"
1792msgstr ""
1793
1794#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1795#: apt-ftparchive.1.xml:82
2a52e8c5
DK
1796msgid ""
1797"The <literal>contents</literal> command generates a contents file from a "
1798"directory tree. It takes the given directory and recursively searches it for "
1799".deb files, and reads the file list from each file. It then sorts and writes "
1800"to stdout the list of files matched to packages. Directories are not written "
1801"to the output. If multiple packages own the same file then each package is "
1802"separated by a comma in the output."
1803msgstr ""
1804
1805#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1806#: apt-ftparchive.1.xml:92
2a52e8c5
DK
1807msgid "release"
1808msgstr ""
1809
1810#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1811#: apt-ftparchive.1.xml:94
2a52e8c5
DK
1812msgid ""
1813"The <literal>release</literal> command generates a Release file from a "
30549c0c
MV
1814"directory tree. It recursively searches the given directory for uncompressed "
1815"<filename>Packages</filename> and <filename>Sources</filename> files and the "
1816"ones compressed with <command>gzip</command>, <command>bzip2</command> or "
1817"<command>lzma</command> as well as <filename>Release</filename> and "
1818"<filename>md5sum.txt</filename> files by default "
1819"(<literal>APT::FTPArchive::Release::Default-Patterns</literal>). Additional "
1820"filename patterns can be added by listing them in "
1821"<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to "
1822"stdout a Release file containing a MD5, SHA1 and SHA256 digest for each "
1823"file."
2a52e8c5
DK
1824msgstr ""
1825
1826#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1827#: apt-ftparchive.1.xml:104
2a52e8c5
DK
1828msgid ""
1829"Values for the additional metadata fields in the Release file are taken from "
1830"the corresponding variables under "
1831"<literal>APT::FTPArchive::Release</literal>, "
1832"e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported "
1833"fields are: <literal>Origin</literal>, <literal>Label</literal>, "
1834"<literal>Suite</literal>, <literal>Version</literal>, "
1835"<literal>Codename</literal>, <literal>Date</literal>, "
b6c6b52f
MV
1836"<literal>Valid-Until</literal>, <literal>Architectures</literal>, "
1837"<literal>Components</literal>, <literal>Description</literal>."
2a52e8c5
DK
1838msgstr ""
1839
1840#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1841#: apt-ftparchive.1.xml:115
2a52e8c5
DK
1842msgid "generate"
1843msgstr ""
1844
1845#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1846#: apt-ftparchive.1.xml:117
2a52e8c5
DK
1847msgid ""
1848"The <literal>generate</literal> command is designed to be runnable from a "
1849"cron script and builds indexes according to the given config file. The "
1850"config language provides a flexible means of specifying which index files "
1851"are built from which directories, as well as providing a simple means of "
1852"maintaining the required settings."
1853msgstr ""
1854
1855#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 1856#: apt-ftparchive.1.xml:124 apt-get.8.xml:215
2a52e8c5
DK
1857msgid "clean"
1858msgstr ""
1859
1860#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 1861#: apt-ftparchive.1.xml:126
2a52e8c5
DK
1862msgid ""
1863"The <literal>clean</literal> command tidies the databases used by the given "
1864"configuration file by removing any records that are no longer necessary."
1865msgstr ""
1866
1867#. type: Content of: <refentry><refsect1><title>
c77d6597 1868#: apt-ftparchive.1.xml:132
2a52e8c5
DK
1869msgid "The Generate Configuration"
1870msgstr ""
1871
1872#. type: Content of: <refentry><refsect1><para>
c77d6597 1873#: apt-ftparchive.1.xml:134
2a52e8c5
DK
1874msgid ""
1875"The <literal>generate</literal> command uses a configuration file to "
1876"describe the archives that are going to be generated. It follows the typical "
1877"ISC configuration format as seen in ISC tools like bind 8 and dhcpd. "
1878"&apt-conf; contains a description of the syntax. Note that the generate "
1879"configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
1880"tree manner. This only effects how the scope tag is handled."
1881msgstr ""
1882
1883#. type: Content of: <refentry><refsect1><para>
c77d6597 1884#: apt-ftparchive.1.xml:142
2a52e8c5
DK
1885msgid "The generate configuration has 4 separate sections, each described below."
1886msgstr ""
1887
1888#. type: Content of: <refentry><refsect1><refsect2><title>
c77d6597 1889#: apt-ftparchive.1.xml:144
2a52e8c5
DK
1890msgid "Dir Section"
1891msgstr ""
1892
1893#. type: Content of: <refentry><refsect1><refsect2><para>
c77d6597 1894#: apt-ftparchive.1.xml:146
2a52e8c5
DK
1895msgid ""
1896"The <literal>Dir</literal> section defines the standard directories needed "
1897"to locate the files required during the generation process. These "
43be0ac4
MV
1898"directories are prepended certain relative paths defined in later sections "
1899"to produce a complete an absolute path."
2a52e8c5
DK
1900msgstr ""
1901
1902#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 1903#: apt-ftparchive.1.xml:151
2a52e8c5
DK
1904msgid "ArchiveDir"
1905msgstr ""
1906
1907#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 1908#: apt-ftparchive.1.xml:153
2a52e8c5
DK
1909msgid ""
1910"Specifies the root of the FTP archive, in a standard Debian configuration "
1911"this is the directory that contains the <filename>ls-LR</filename> and dist "
1912"nodes."
1913msgstr ""
1914
1915#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 1916#: apt-ftparchive.1.xml:158
2a52e8c5
DK
1917msgid "OverrideDir"
1918msgstr ""
1919
1920#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 1921#: apt-ftparchive.1.xml:160
2a52e8c5
DK
1922msgid "Specifies the location of the override files."
1923msgstr ""
1924
1925#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 1926#: apt-ftparchive.1.xml:163
2a52e8c5
DK
1927msgid "CacheDir"
1928msgstr ""
1929
1930#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 1931#: apt-ftparchive.1.xml:165
2a52e8c5
DK
1932msgid "Specifies the location of the cache files"
1933msgstr ""
1934
1935#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 1936#: apt-ftparchive.1.xml:168
2a52e8c5
DK
1937msgid "FileListDir"
1938msgstr ""
1939
1940#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 1941#: apt-ftparchive.1.xml:170
2a52e8c5
DK
1942msgid ""
1943"Specifies the location of the file list files, if the "
1944"<literal>FileList</literal> setting is used below."
1945msgstr ""
1946
1947#. type: Content of: <refentry><refsect1><refsect2><title>
c77d6597 1948#: apt-ftparchive.1.xml:176
2a52e8c5
DK
1949msgid "Default Section"
1950msgstr ""
1951
1952#. type: Content of: <refentry><refsect1><refsect2><para>
c77d6597 1953#: apt-ftparchive.1.xml:178
2a52e8c5
DK
1954msgid ""
1955"The <literal>Default</literal> section specifies default values, and "
1956"settings that control the operation of the generator. Other sections may "
1957"override these defaults with a per-section setting."
1958msgstr ""
1959
1960#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 1961#: apt-ftparchive.1.xml:182
2a52e8c5
DK
1962msgid "Packages::Compress"
1963msgstr ""
1964
1965#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 1966#: apt-ftparchive.1.xml:184
2a52e8c5
DK
1967msgid ""
1968"Sets the default compression schemes to use for the Package index files. It "
1969"is a string that contains a space separated list of at least one of: '.' (no "
1970"compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
1971"'. gzip'."
1972msgstr ""
1973
1974#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 1975#: apt-ftparchive.1.xml:190
2a52e8c5
DK
1976msgid "Packages::Extensions"
1977msgstr ""
1978
1979#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 1980#: apt-ftparchive.1.xml:192
2a52e8c5
DK
1981msgid ""
1982"Sets the default list of file extensions that are package files. This "
1983"defaults to '.deb'."
1984msgstr ""
1985
1986#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 1987#: apt-ftparchive.1.xml:196
2a52e8c5
DK
1988msgid "Sources::Compress"
1989msgstr ""
1990
1991#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 1992#: apt-ftparchive.1.xml:198
2a52e8c5
DK
1993msgid ""
1994"This is similar to <literal>Packages::Compress</literal> except that it "
1995"controls the compression for the Sources files."
1996msgstr ""
1997
1998#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 1999#: apt-ftparchive.1.xml:202
2a52e8c5
DK
2000msgid "Sources::Extensions"
2001msgstr ""
2002
2003#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2004#: apt-ftparchive.1.xml:204
2a52e8c5
DK
2005msgid ""
2006"Sets the default list of file extensions that are source files. This "
2007"defaults to '.dsc'."
2008msgstr ""
2009
2010#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2011#: apt-ftparchive.1.xml:208
2a52e8c5
DK
2012msgid "Contents::Compress"
2013msgstr ""
2014
2015#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2016#: apt-ftparchive.1.xml:210
2a52e8c5
DK
2017msgid ""
2018"This is similar to <literal>Packages::Compress</literal> except that it "
2019"controls the compression for the Contents files."
2020msgstr ""
2021
2022#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2023#: apt-ftparchive.1.xml:214
b81dbe40 2024msgid "Translation::Compress"
2a52e8c5
DK
2025msgstr ""
2026
2027#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2028#: apt-ftparchive.1.xml:216
2a52e8c5 2029msgid ""
b81dbe40
DK
2030"This is similar to <literal>Packages::Compress</literal> except that it "
2031"controls the compression for the Translation-en master file."
2032msgstr ""
2033
2034#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2035#: apt-ftparchive.1.xml:220
b81dbe40
DK
2036msgid "DeLinkLimit"
2037msgstr ""
2038
2039#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2040#: apt-ftparchive.1.xml:222
b81dbe40 2041msgid ""
2a52e8c5
DK
2042"Specifies the number of kilobytes to delink (and replace with hard links) "
2043"per run. This is used in conjunction with the per-section "
2044"<literal>External-Links</literal> setting."
2045msgstr ""
2046
2047#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2048#: apt-ftparchive.1.xml:227
2a52e8c5
DK
2049msgid "FileMode"
2050msgstr ""
2051
2052#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2053#: apt-ftparchive.1.xml:229
2a52e8c5
DK
2054msgid ""
2055"Specifies the mode of all created index files. It defaults to 0644. All "
2056"index files are set to this mode with no regard to the umask."
2057msgstr ""
2058
b81dbe40 2059#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2060#: apt-ftparchive.1.xml:234 apt-ftparchive.1.xml:380
b81dbe40
DK
2061msgid "LongDescription"
2062msgstr ""
2063
2064#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2065#: apt-ftparchive.1.xml:236 apt-ftparchive.1.xml:382
b81dbe40
DK
2066msgid ""
2067"Sets if long descriptions should be included in the Packages file or split "
2068"out into a master Translation-en file."
2069msgstr ""
2070
2a52e8c5 2071#. type: Content of: <refentry><refsect1><refsect2><title>
c77d6597 2072#: apt-ftparchive.1.xml:242
2a52e8c5
DK
2073msgid "TreeDefault Section"
2074msgstr ""
2075
2076#. type: Content of: <refentry><refsect1><refsect2><para>
c77d6597 2077#: apt-ftparchive.1.xml:244
2a52e8c5
DK
2078msgid ""
2079"Sets defaults specific to <literal>Tree</literal> sections. All of these "
2080"variables are substitution variables and have the strings $(DIST), "
2081"$(SECTION) and $(ARCH) replaced with their respective values."
2082msgstr ""
2083
2084#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2085#: apt-ftparchive.1.xml:249
2a52e8c5
DK
2086msgid "MaxContentsChange"
2087msgstr ""
2088
2089#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2090#: apt-ftparchive.1.xml:251
2a52e8c5
DK
2091msgid ""
2092"Sets the number of kilobytes of contents files that are generated each "
2093"day. The contents files are round-robined so that over several days they "
2094"will all be rebuilt."
2095msgstr ""
2096
2097#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2098#: apt-ftparchive.1.xml:256
2a52e8c5
DK
2099msgid "ContentsAge"
2100msgstr ""
2101
2102#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2103#: apt-ftparchive.1.xml:258
2a52e8c5
DK
2104msgid ""
2105"Controls the number of days a contents file is allowed to be checked without "
2106"changing. If this limit is passed the mtime of the contents file is "
2107"updated. This case can occur if the package file is changed in such a way "
2108"that does not result in a new contents file [override edit for instance]. A "
2109"hold off is allowed in hopes that new .debs will be installed, requiring a "
2110"new file anyhow. The default is 10, the units are in days."
2111msgstr ""
2112
2113#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2114#: apt-ftparchive.1.xml:267
2a52e8c5
DK
2115msgid "Directory"
2116msgstr ""
2117
2118#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2119#: apt-ftparchive.1.xml:269
2a52e8c5
DK
2120msgid ""
2121"Sets the top of the .deb directory tree. Defaults to "
2122"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>"
2123msgstr ""
2124
2125#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2126#: apt-ftparchive.1.xml:273
2a52e8c5
DK
2127msgid "SrcDirectory"
2128msgstr ""
2129
2130#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2131#: apt-ftparchive.1.xml:275
2a52e8c5
DK
2132msgid ""
2133"Sets the top of the source package directory tree. Defaults to "
2134"<filename>$(DIST)/$(SECTION)/source/</filename>"
2135msgstr ""
2136
2137#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2138#: apt-ftparchive.1.xml:279 apt-ftparchive.1.xml:418
2a52e8c5
DK
2139msgid "Packages"
2140msgstr ""
2141
2142#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2143#: apt-ftparchive.1.xml:281
2a52e8c5
DK
2144msgid ""
2145"Sets the output Packages file. Defaults to "
2146"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>"
2147msgstr ""
2148
2149#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2150#: apt-ftparchive.1.xml:285 apt-ftparchive.1.xml:423
2a52e8c5
DK
2151msgid "Sources"
2152msgstr ""
2153
2154#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2155#: apt-ftparchive.1.xml:287
2a52e8c5 2156msgid ""
b39c1859 2157"Sets the output Sources file. Defaults to "
2a52e8c5
DK
2158"<filename>$(DIST)/$(SECTION)/source/Sources</filename>"
2159msgstr ""
2160
2161#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2162#: apt-ftparchive.1.xml:291
b81dbe40
DK
2163msgid "Translation"
2164msgstr ""
2165
2166#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2167#: apt-ftparchive.1.xml:293
b81dbe40
DK
2168msgid ""
2169"Set the output Translation-en master file with the long descriptions if they "
2170"should be not included in the Packages file. Defaults to "
2171"<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
2172msgstr ""
2173
2174#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2175#: apt-ftparchive.1.xml:298
2a52e8c5
DK
2176msgid "InternalPrefix"
2177msgstr ""
2178
2179#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2180#: apt-ftparchive.1.xml:300
2a52e8c5
DK
2181msgid ""
2182"Sets the path prefix that causes a symlink to be considered an internal link "
2183"instead of an external link. Defaults to "
2184"<filename>$(DIST)/$(SECTION)/</filename>"
2185msgstr ""
2186
2187#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2188#: apt-ftparchive.1.xml:305 apt-ftparchive.1.xml:429
2a52e8c5
DK
2189msgid "Contents"
2190msgstr ""
2191
2192#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2193#: apt-ftparchive.1.xml:307
2a52e8c5
DK
2194msgid ""
2195"Sets the output Contents file. Defaults to "
2196"<filename>$(DIST)/Contents-$(ARCH)</filename>. If this setting causes "
2197"multiple Packages files to map onto a single Contents file (such as the "
2198"default) then <command>apt-ftparchive</command> will integrate those "
2199"package files together automatically."
2200msgstr ""
2201
2202#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2203#: apt-ftparchive.1.xml:314
2a52e8c5
DK
2204msgid "Contents::Header"
2205msgstr ""
2206
2207#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2208#: apt-ftparchive.1.xml:316
2a52e8c5
DK
2209msgid "Sets header file to prepend to the contents output."
2210msgstr ""
2211
2212#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2213#: apt-ftparchive.1.xml:319 apt-ftparchive.1.xml:454
2a52e8c5
DK
2214msgid "BinCacheDB"
2215msgstr ""
2216
2217#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2218#: apt-ftparchive.1.xml:321
2a52e8c5
DK
2219msgid ""
2220"Sets the binary cache database to use for this section. Multiple sections "
2221"can share the same database."
2222msgstr ""
2223
2224#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2225#: apt-ftparchive.1.xml:325
2a52e8c5
DK
2226msgid "FileList"
2227msgstr ""
2228
2229#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2230#: apt-ftparchive.1.xml:327
2a52e8c5
DK
2231msgid ""
2232"Specifies that instead of walking the directory tree, "
2233"<command>apt-ftparchive</command> should read the list of files from the "
2234"given file. Relative files names are prefixed with the archive directory."
2235msgstr ""
2236
2237#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2238#: apt-ftparchive.1.xml:332
2a52e8c5
DK
2239msgid "SourceFileList"
2240msgstr ""
2241
2242#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2243#: apt-ftparchive.1.xml:334
2a52e8c5
DK
2244msgid ""
2245"Specifies that instead of walking the directory tree, "
2246"<command>apt-ftparchive</command> should read the list of files from the "
2247"given file. Relative files names are prefixed with the archive directory. "
2248"This is used when processing source indexes."
2249msgstr ""
2250
2251#. type: Content of: <refentry><refsect1><refsect2><title>
c77d6597 2252#: apt-ftparchive.1.xml:342
2a52e8c5
DK
2253msgid "Tree Section"
2254msgstr ""
2255
2256#. type: Content of: <refentry><refsect1><refsect2><para>
c77d6597 2257#: apt-ftparchive.1.xml:344
2a52e8c5
DK
2258msgid ""
2259"The <literal>Tree</literal> section defines a standard Debian file tree "
2260"which consists of a base directory, then multiple sections in that base "
2261"directory and finally multiple Architectures in each section. The exact "
2262"pathing used is defined by the <literal>Directory</literal> substitution "
2263"variable."
2264msgstr ""
2265
2266#. type: Content of: <refentry><refsect1><refsect2><para>
c77d6597 2267#: apt-ftparchive.1.xml:349
2a52e8c5
DK
2268msgid ""
2269"The <literal>Tree</literal> section takes a scope tag which sets the "
2270"<literal>$(DIST)</literal> variable and defines the root of the tree (the "
2271"path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
b6c6b52f 2272"setting such as <filename>dists/&stable-codename;</filename>."
2a52e8c5
DK
2273msgstr ""
2274
2275#. type: Content of: <refentry><refsect1><refsect2><para>
c77d6597 2276#: apt-ftparchive.1.xml:354
2a52e8c5
DK
2277msgid ""
2278"All of the settings defined in the <literal>TreeDefault</literal> section "
2279"can be use in a <literal>Tree</literal> section as well as three new "
2280"variables."
2281msgstr ""
2282
b39c1859 2283#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
c77d6597 2284#: apt-ftparchive.1.xml:360
2a52e8c5
DK
2285#, no-wrap
2286msgid ""
2287"for i in Sections do \n"
2288" for j in Architectures do\n"
2289" Generate for DIST=scope SECTION=i ARCH=j\n"
b39c1859
MV
2290" "
2291msgstr ""
2292
2293#. type: Content of: <refentry><refsect1><refsect2><para>
c77d6597 2294#: apt-ftparchive.1.xml:357
b39c1859
MV
2295msgid ""
2296"When processing a <literal>Tree</literal> section "
2297"<command>apt-ftparchive</command> performs an operation similar to: "
2298"<placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
2299msgstr ""
2300
2301#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2302#: apt-ftparchive.1.xml:366
2a52e8c5
DK
2303msgid "Sections"
2304msgstr ""
2305
2306#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2307#: apt-ftparchive.1.xml:368
2a52e8c5
DK
2308msgid ""
2309"This is a space separated list of sections which appear under the "
2310"distribution, typically this is something like <literal>main contrib "
2311"non-free</literal>"
2312msgstr ""
2313
c77d6597
MV
2314#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2315#: apt-ftparchive.1.xml:373 apt.conf.5.xml:157
2a52e8c5
DK
2316msgid "Architectures"
2317msgstr ""
2318
2319#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2320#: apt-ftparchive.1.xml:375
2a52e8c5
DK
2321msgid ""
2322"This is a space separated list of all the architectures that appear under "
2323"search section. The special architecture 'source' is used to indicate that "
2324"this tree has a source archive."
2325msgstr ""
2326
2327#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2328#: apt-ftparchive.1.xml:386 apt-ftparchive.1.xml:434
2a52e8c5
DK
2329msgid "BinOverride"
2330msgstr ""
2331
2332#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2333#: apt-ftparchive.1.xml:388
2a52e8c5
DK
2334msgid ""
2335"Sets the binary override file. The override file contains section, priority "
2336"and maintainer address information."
2337msgstr ""
2338
2339#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2340#: apt-ftparchive.1.xml:392 apt-ftparchive.1.xml:439
2a52e8c5
DK
2341msgid "SrcOverride"
2342msgstr ""
2343
2344#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2345#: apt-ftparchive.1.xml:394
2a52e8c5
DK
2346msgid ""
2347"Sets the source override file. The override file contains section "
2348"information."
2349msgstr ""
2350
2351#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2352#: apt-ftparchive.1.xml:398 apt-ftparchive.1.xml:444
2a52e8c5
DK
2353msgid "ExtraOverride"
2354msgstr ""
2355
2356#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2357#: apt-ftparchive.1.xml:400 apt-ftparchive.1.xml:446
2a52e8c5
DK
2358msgid "Sets the binary extra override file."
2359msgstr ""
2360
2361#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2362#: apt-ftparchive.1.xml:403 apt-ftparchive.1.xml:449
2a52e8c5
DK
2363msgid "SrcExtraOverride"
2364msgstr ""
2365
2366#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2367#: apt-ftparchive.1.xml:405 apt-ftparchive.1.xml:451
2a52e8c5
DK
2368msgid "Sets the source extra override file."
2369msgstr ""
2370
2371#. type: Content of: <refentry><refsect1><refsect2><title>
c77d6597 2372#: apt-ftparchive.1.xml:410
2a52e8c5
DK
2373msgid "BinDirectory Section"
2374msgstr ""
2375
2376#. type: Content of: <refentry><refsect1><refsect2><para>
c77d6597 2377#: apt-ftparchive.1.xml:412
2a52e8c5
DK
2378msgid ""
2379"The <literal>bindirectory</literal> section defines a binary directory tree "
2380"with no special structure. The scope tag specifies the location of the "
2381"binary directory and the settings are similar to the <literal>Tree</literal> "
2382"section with no substitution variables or "
2383"<literal>Section</literal><literal>Architecture</literal> settings."
2384msgstr ""
2385
2386#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2387#: apt-ftparchive.1.xml:420
2a52e8c5
DK
2388msgid "Sets the Packages file output."
2389msgstr ""
2390
2391#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2392#: apt-ftparchive.1.xml:425
2a52e8c5
DK
2393msgid ""
2394"Sets the Sources file output. At least one of <literal>Packages</literal> or "
2395"<literal>Sources</literal> is required."
2396msgstr ""
2397
2398#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2399#: apt-ftparchive.1.xml:431
2a52e8c5
DK
2400msgid "Sets the Contents file output. (optional)"
2401msgstr ""
2402
2403#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2404#: apt-ftparchive.1.xml:436
2a52e8c5
DK
2405msgid "Sets the binary override file."
2406msgstr ""
2407
2408#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2409#: apt-ftparchive.1.xml:441
2a52e8c5
DK
2410msgid "Sets the source override file."
2411msgstr ""
2412
2413#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2414#: apt-ftparchive.1.xml:456
2a52e8c5
DK
2415msgid "Sets the cache DB."
2416msgstr ""
2417
2418#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2419#: apt-ftparchive.1.xml:459
2a52e8c5
DK
2420msgid "PathPrefix"
2421msgstr ""
2422
2423#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2424#: apt-ftparchive.1.xml:461
2a52e8c5
DK
2425msgid "Appends a path to all the output paths."
2426msgstr ""
2427
2428#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c77d6597 2429#: apt-ftparchive.1.xml:464
2a52e8c5
DK
2430msgid "FileList, SourceFileList"
2431msgstr ""
2432
2433#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c77d6597 2434#: apt-ftparchive.1.xml:466
2a52e8c5
DK
2435msgid "Specifies the file list file."
2436msgstr ""
2437
2438#. type: Content of: <refentry><refsect1><title>
c77d6597 2439#: apt-ftparchive.1.xml:473
2a52e8c5
DK
2440msgid "The Binary Override File"
2441msgstr ""
2442
2443#. type: Content of: <refentry><refsect1><para>
c77d6597 2444#: apt-ftparchive.1.xml:474
2a52e8c5
DK
2445msgid ""
2446"The binary override file is fully compatible with &dpkg-scanpackages;. It "
2447"contains 4 fields separated by spaces. The first field is the package name, "
2448"the second is the priority to force that package to, the third is the the "
2449"section to force that package to and the final field is the maintainer "
2450"permutation field."
2451msgstr ""
2452
2453#. type: Content of: <refentry><refsect1><para><literallayout>
c77d6597 2454#: apt-ftparchive.1.xml:480
2a52e8c5
DK
2455#, no-wrap
2456msgid "old [// oldn]* => new"
2457msgstr ""
2458
2459#. type: Content of: <refentry><refsect1><para><literallayout>
c77d6597 2460#: apt-ftparchive.1.xml:482
2a52e8c5
DK
2461#, no-wrap
2462msgid "new"
2463msgstr ""
2464
2465#. type: Content of: <refentry><refsect1><para>
c77d6597 2466#: apt-ftparchive.1.xml:479
2a52e8c5
DK
2467msgid ""
2468"The general form of the maintainer field is: <placeholder "
2469"type=\"literallayout\" id=\"0\"/> or simply, <placeholder "
2470"type=\"literallayout\" id=\"1\"/> The first form allows a double-slash "
2471"separated list of old email addresses to be specified. If any of those are "
2472"found then new is substituted for the maintainer field. The second form "
2473"unconditionally substitutes the maintainer field."
2474msgstr ""
2475
2476#. type: Content of: <refentry><refsect1><title>
c77d6597 2477#: apt-ftparchive.1.xml:490
2a52e8c5
DK
2478msgid "The Source Override File"
2479msgstr ""
2480
2481#. type: Content of: <refentry><refsect1><para>
c77d6597 2482#: apt-ftparchive.1.xml:492
2a52e8c5
DK
2483msgid ""
2484"The source override file is fully compatible with &dpkg-scansources;. It "
2485"contains 2 fields separated by spaces. The first fields is the source "
2486"package name, the second is the section to assign it."
2487msgstr ""
2488
2489#. type: Content of: <refentry><refsect1><title>
c77d6597 2490#: apt-ftparchive.1.xml:497
2a52e8c5
DK
2491msgid "The Extra Override File"
2492msgstr ""
2493
2494#. type: Content of: <refentry><refsect1><para>
c77d6597 2495#: apt-ftparchive.1.xml:499
2a52e8c5
DK
2496msgid ""
2497"The extra override file allows any arbitrary tag to be added or replaced in "
2498"the output. It has 3 columns, the first is the package, the second is the "
2499"tag and the remainder of the line is the new value."
2500msgstr ""
2501
2502#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2503#: apt-ftparchive.1.xml:508
782486e8 2504msgid "<option>--md5</option>, <option>--sha1</option>, <option>--sha256</option>"
2a52e8c5
DK
2505msgstr ""
2506
2507#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2508#: apt-ftparchive.1.xml:510
2a52e8c5 2509msgid ""
782486e8
MV
2510"Generate the given checksum. These options default to on, when turned off "
2511"the generated index files will not have the checksum fields where possible. "
2512"Configuration Items: "
2513"<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and "
2514"<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> "
c77d6597
MV
2515"where <literal><replaceable>Index</replaceable></literal> can be "
2516"<literal>Packages</literal>, <literal>Sources</literal> or "
2517"<literal>Release</literal> and "
2518"<literal><replaceable>Checksum</replaceable></literal> can be "
2519"<literal>MD5</literal>, <literal>SHA1</literal> or "
2520"<literal>SHA256</literal>."
2a52e8c5
DK
2521msgstr ""
2522
2523#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2524#: apt-ftparchive.1.xml:519
2a52e8c5
DK
2525msgid "<option>--db</option>"
2526msgstr ""
2527
2528#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2529#: apt-ftparchive.1.xml:521
2a52e8c5
DK
2530msgid ""
2531"Use a binary caching DB. This has no effect on the generate command. "
2532"Configuration Item: <literal>APT::FTPArchive::DB</literal>."
2533msgstr ""
2534
2535#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2536#: apt-ftparchive.1.xml:527
2a52e8c5
DK
2537msgid ""
2538"Quiet; produces output suitable for logging, omitting progress indicators. "
2539"More q's will produce more quiet up to a maximum of 2. You can also use "
2540"<option>-q=#</option> to set the quiet level, overriding the configuration "
2541"file. Configuration Item: <literal>quiet</literal>."
2542msgstr ""
2543
2544#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2545#: apt-ftparchive.1.xml:533
2a52e8c5
DK
2546msgid "<option>--delink</option>"
2547msgstr ""
2548
2549#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2550#: apt-ftparchive.1.xml:535
2a52e8c5
DK
2551msgid ""
2552"Perform Delinking. If the <literal>External-Links</literal> setting is used "
2553"then this option actually enables delinking of the files. It defaults to on "
2554"and can be turned off with <option>--no-delink</option>. Configuration "
2555"Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
2556msgstr ""
2557
2558#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2559#: apt-ftparchive.1.xml:541
2a52e8c5
DK
2560msgid "<option>--contents</option>"
2561msgstr ""
2562
2563#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2564#: apt-ftparchive.1.xml:543
2a52e8c5
DK
2565msgid ""
2566"Perform contents generation. When this option is set and package indexes are "
2567"being generated with a cache DB then the file listing will also be extracted "
2568"and stored in the DB for later use. When using the generate command this "
2569"option also allows the creation of any Contents files. The default is on. "
2570"Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
2571msgstr ""
2572
2573#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2574#: apt-ftparchive.1.xml:551
2a52e8c5
DK
2575msgid "<option>--source-override</option>"
2576msgstr ""
2577
2578#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2579#: apt-ftparchive.1.xml:553
2a52e8c5
DK
2580msgid ""
2581"Select the source override file to use with the <literal>sources</literal> "
2582"command. Configuration Item: "
2583"<literal>APT::FTPArchive::SourceOverride</literal>."
2584msgstr ""
2585
2586#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2587#: apt-ftparchive.1.xml:557
2a52e8c5
DK
2588msgid "<option>--readonly</option>"
2589msgstr ""
2590
2591#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2592#: apt-ftparchive.1.xml:559
2a52e8c5
DK
2593msgid ""
2594"Make the caching databases read only. Configuration Item: "
2595"<literal>APT::FTPArchive::ReadOnlyDB</literal>."
2596msgstr ""
2597
43be0ac4 2598#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2599#: apt-ftparchive.1.xml:563
0fd68707 2600msgid "<option>--arch</option>"
43be0ac4
MV
2601msgstr ""
2602
2603#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2604#: apt-ftparchive.1.xml:564
43be0ac4 2605msgid ""
0fd68707
MV
2606"Accept in the <literal>packages</literal> and <literal>contents</literal> "
2607"commands only package files matching <literal>*_arch.deb</literal> or "
2608"<literal>*_all.deb</literal> instead of all package files in the given "
2609"path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
2610msgstr ""
2611
2612#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2613#: apt-ftparchive.1.xml:570
0fd68707
MV
2614msgid "<option>APT::FTPArchive::AlwaysStat</option>"
2615msgstr ""
2616
2617#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2618#: apt-ftparchive.1.xml:572
0fd68707
MV
2619msgid ""
2620"&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
b39c1859
MV
2621"packages are recompiled and/or republished with the same version again, this "
2622"will lead to problems as the now outdated cached metadata like size and "
2623"checksums will be used. With this option enabled this will no longer happen "
2624"as it will be checked if the file was changed. Note that this option is set "
2625"to \"<literal>false</literal>\" by default as it is not recommend to upload "
2626"multiply versions/builds of a package with the same versionnumber, so in "
2627"theory nobody will have these problems and therefore all these extra checks "
2628"are useless."
2629msgstr ""
2630
2631#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2632#: apt-ftparchive.1.xml:582
b39c1859
MV
2633msgid "<option>APT::FTPArchive::LongDescription</option>"
2634msgstr ""
2635
2636#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2637#: apt-ftparchive.1.xml:584
b39c1859 2638msgid ""
43be0ac4
MV
2639"This configuration option defaults to \"<literal>true</literal>\" and should "
2640"only be set to <literal>\"false\"</literal> if the Archive generated with "
2641"&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
b81dbe40
DK
2642"that the <filename>Translation-en</filename> master file can only be created "
2643"in the generate command."
43be0ac4
MV
2644msgstr ""
2645
2a52e8c5 2646#. type: Content of: <refentry><refsect1><title>
c086ac18 2647#: apt-ftparchive.1.xml:596 apt.conf.5.xml:1113 apt_preferences.5.xml:544 sources.list.5.xml:214
2a52e8c5
DK
2648msgid "Examples"
2649msgstr ""
2650
2651#. type: Content of: <refentry><refsect1><para><programlisting>
c77d6597 2652#: apt-ftparchive.1.xml:602
2a52e8c5
DK
2653#, no-wrap
2654msgid ""
2655"<command>apt-ftparchive</command> packages "
2656"<replaceable>directory</replaceable> | <command>gzip</command> > "
2657"<filename>Packages.gz</filename>\n"
2658msgstr ""
2659
2660#. type: Content of: <refentry><refsect1><para>
c77d6597 2661#: apt-ftparchive.1.xml:598
2a52e8c5
DK
2662msgid ""
2663"To create a compressed Packages file for a directory containing binary "
2664"packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
2665msgstr ""
2666
2667#. type: Content of: <refentry><refsect1><para>
c77d6597 2668#: apt-ftparchive.1.xml:612
2a52e8c5
DK
2669msgid ""
2670"<command>apt-ftparchive</command> returns zero on normal operation, decimal "
2671"100 on error."
2672msgstr ""
2673
2674#. The last update date
2675#. type: Content of: <refentry><refentryinfo>
0c1a7101 2676#: apt-get.8.xml:16
2a52e8c5
DK
2677msgid ""
2678"&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>08 "
2679"November 2008</date>"
2680msgstr ""
2681
43be0ac4 2682#. type: <heading></heading>
0c1a7101 2683#: apt-get.8.xml:25 apt-get.8.xml:32 guide.sgml:96
2a52e8c5
DK
2684msgid "apt-get"
2685msgstr ""
2686
2687#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 2688#: apt-get.8.xml:33
2a52e8c5
DK
2689msgid "APT package handling utility -- command-line interface"
2690msgstr ""
2691
2a52e8c5 2692#. type: Content of: <refentry><refsect1><para>
c77d6597 2693#: apt-get.8.xml:39
2a52e8c5
DK
2694msgid ""
2695"<command>apt-get</command> is the command-line tool for handling packages, "
2696"and may be considered the user's \"back-end\" to other tools using the APT "
2697"library. Several \"front-end\" interfaces exist, such as &dselect;, "
b6c6b52f 2698"&aptitude;, &synaptic; and &wajig;."
2a52e8c5
DK
2699msgstr ""
2700
2701#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2702#: apt-get.8.xml:48 apt-key.8.xml:119
2a52e8c5
DK
2703msgid "update"
2704msgstr ""
2705
2706#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2707#: apt-get.8.xml:49
2a52e8c5
DK
2708msgid ""
2709"<literal>update</literal> is used to resynchronize the package index files "
2710"from their sources. The indexes of available packages are fetched from the "
2711"location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
2712"example, when using a Debian archive, this command retrieves and scans the "
2713"<filename>Packages.gz</filename> files, so that information about new and "
2714"updated packages is available. An <literal>update</literal> should always be "
2715"performed before an <literal>upgrade</literal> or "
2716"<literal>dist-upgrade</literal>. Please be aware that the overall progress "
2717"meter will be incorrect as the size of the package files cannot be known in "
2718"advance."
2719msgstr ""
2720
43be0ac4 2721#. type: <tag></tag>
c77d6597 2722#: apt-get.8.xml:60 guide.sgml:121
2a52e8c5
DK
2723msgid "upgrade"
2724msgstr ""
2725
2726#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2727#: apt-get.8.xml:61
2a52e8c5
DK
2728msgid ""
2729"<literal>upgrade</literal> is used to install the newest versions of all "
2730"packages currently installed on the system from the sources enumerated in "
2731"<filename>/etc/apt/sources.list</filename>. Packages currently installed "
2732"with new versions available are retrieved and upgraded; under no "
2733"circumstances are currently installed packages removed, or packages not "
2734"already installed retrieved and installed. New versions of currently "
2735"installed packages that cannot be upgraded without changing the install "
2736"status of another package will be left at their current version. An "
2737"<literal>update</literal> must be performed first so that "
2738"<command>apt-get</command> knows that new versions of packages are "
2739"available."
2740msgstr ""
2741
2742#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2743#: apt-get.8.xml:73
2a52e8c5
DK
2744msgid "dselect-upgrade"
2745msgstr ""
2746
2747#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2748#: apt-get.8.xml:74
2a52e8c5
DK
2749msgid ""
2750"<literal>dselect-upgrade</literal> is used in conjunction with the "
2751"traditional Debian packaging front-end, "
2752"&dselect;. <literal>dselect-upgrade</literal> follows the changes made by "
2753"&dselect; to the <literal>Status</literal> field of available packages, and "
2754"performs the actions necessary to realize that state (for instance, the "
2755"removal of old and the installation of new packages)."
2756msgstr ""
2757
43be0ac4 2758#. type: <tag></tag>
c77d6597 2759#: apt-get.8.xml:83 guide.sgml:140
2a52e8c5
DK
2760msgid "dist-upgrade"
2761msgstr ""
2762
2763#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2764#: apt-get.8.xml:84
2a52e8c5
DK
2765msgid ""
2766"<literal>dist-upgrade</literal> in addition to performing the function of "
2767"<literal>upgrade</literal>, also intelligently handles changing dependencies "
2768"with new versions of packages; <command>apt-get</command> has a \"smart\" "
2769"conflict resolution system, and it will attempt to upgrade the most "
2770"important packages at the expense of less important ones if necessary. So, "
2771"<literal>dist-upgrade</literal> command may remove some packages. The "
2772"<filename>/etc/apt/sources.list</filename> file contains a list of locations "
2773"from which to retrieve desired package files. See also &apt-preferences; "
2774"for a mechanism for overriding the general settings for individual packages."
2775msgstr ""
2776
43be0ac4 2777#. type: <tag></tag>
c77d6597 2778#: apt-get.8.xml:96 guide.sgml:131
2a52e8c5
DK
2779msgid "install"
2780msgstr ""
2781
2782#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2783#: apt-get.8.xml:98
2a52e8c5
DK
2784msgid ""
2785"<literal>install</literal> is followed by one or more packages desired for "
2786"installation or upgrading. Each package is a package name, not a fully "
2787"qualified filename (for instance, in a Debian GNU/Linux system, libc6 would "
2788"be the argument provided, not <literal>libc6_1.9.6-2.deb</literal>). All "
2789"packages required by the package(s) specified for installation will also be "
2790"retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
2791"file is used to locate the desired packages. If a hyphen is appended to the "
2792"package name (with no intervening space), the identified package will be "
2793"removed if it is installed. Similarly a plus sign can be used to designate "
2794"a package to install. These latter features may be used to override "
2795"decisions made by apt-get's conflict resolution system."
2796msgstr ""
2797
2798#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2799#: apt-get.8.xml:116
2a52e8c5
DK
2800msgid ""
2801"A specific version of a package can be selected for installation by "
2802"following the package name with an equals and the version of the package to "
2803"select. This will cause that version to be located and selected for "
2804"install. Alternatively a specific distribution can be selected by following "
2805"the package name with a slash and the version of the distribution or the "
2806"Archive name (stable, testing, unstable)."
2807msgstr ""
2808
2809#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2810#: apt-get.8.xml:123
2a52e8c5
DK
2811msgid ""
2812"Both of the version selection mechanisms can downgrade packages and must be "
2813"used with care."
2814msgstr ""
2815
2816#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2817#: apt-get.8.xml:126
2a52e8c5
DK
2818msgid ""
2819"This is also the target to use if you want to upgrade one or more "
2820"already-installed packages without upgrading every package you have on your "
2821"system. Unlike the \"upgrade\" target, which installs the newest version of "
2822"all currently installed packages, \"install\" will install the newest "
2823"version of only the package(s) specified. Simply provide the name of the "
2824"package(s) you wish to upgrade, and if a newer version is available, it (and "
2825"its dependencies, as described above) will be downloaded and installed."
2826msgstr ""
2827
2828#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2829#: apt-get.8.xml:137
2a52e8c5
DK
2830msgid ""
2831"Finally, the &apt-preferences; mechanism allows you to create an alternative "
2832"installation policy for individual packages."
2833msgstr ""
2834
2835#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2836#: apt-get.8.xml:141
2a52e8c5
DK
2837msgid ""
2838"If no package matches the given expression and the expression contains one "
2839"of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
2840"it is applied to all package names in the database. Any matches are then "
2841"installed (or removed). Note that matching is done by substring so 'lo.*' "
2842"matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
2843"expression with a '^' or '$' character, or create a more specific regular "
2844"expression."
2845msgstr ""
2846
2847#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2848#: apt-get.8.xml:150
2a52e8c5
DK
2849msgid "remove"
2850msgstr ""
2851
2852#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2853#: apt-get.8.xml:151
2a52e8c5
DK
2854msgid ""
2855"<literal>remove</literal> is identical to <literal>install</literal> except "
2856"that packages are removed instead of installed. Note the removing a package "
2857"leaves its configuration files in system. If a plus sign is appended to the "
2858"package name (with no intervening space), the identified package will be "
2859"installed instead of removed."
2860msgstr ""
2861
2862#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2863#: apt-get.8.xml:158
2a52e8c5
DK
2864msgid "purge"
2865msgstr ""
2866
2867#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2868#: apt-get.8.xml:159
2a52e8c5
DK
2869msgid ""
2870"<literal>purge</literal> is identical to <literal>remove</literal> except "
2871"that packages are removed and purged (any configuration files are deleted "
2872"too)."
2873msgstr ""
2874
2875#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2876#: apt-get.8.xml:163
2a52e8c5
DK
2877msgid "source"
2878msgstr ""
2879
2880#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2881#: apt-get.8.xml:164
2a52e8c5
DK
2882msgid ""
2883"<literal>source</literal> causes <command>apt-get</command> to fetch source "
2884"packages. APT will examine the available packages to decide which source "
2885"package to fetch. It will then find and download into the current directory "
2e30ddbe 2886"the newest available version of that source package while respecting the "
bcf91c1b
DK
2887"default release, set with the option "
2888"<literal>APT::Default-Release</literal>, the <option>-t</option> option or "
82cb5862 2889"per package with the <literal>pkg/release</literal> syntax, if possible."
2a52e8c5
DK
2890msgstr ""
2891
2892#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2893#: apt-get.8.xml:172
bcf91c1b
DK
2894msgid ""
2895"Source packages are tracked separately from binary packages via "
2896"<literal>deb-src</literal> type lines in the &sources-list; file. This means "
2897"that you will need to add such a line for each repository you want to get "
2898"sources from. If you don't do this you will properly get another (newer, "
2899"older or none) source version than the one you have installed or could "
2900"install."
2901msgstr ""
2902
2903#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2904#: apt-get.8.xml:179
bcf91c1b 2905msgid ""
43be0ac4 2906"If the <option>--compile</option> option is specified then the package will "
c77d6597
MV
2907"be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
2908"the architecture as defined by the <command>--host-architecture</command> "
2909"option. If <option>--download-only</option> is specified then the source "
2910"package will not be unpacked."
bcf91c1b
DK
2911msgstr ""
2912
2913#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2914#: apt-get.8.xml:186
2a52e8c5
DK
2915msgid ""
2916"A specific source version can be retrieved by postfixing the source name "
2917"with an equals and then the version to fetch, similar to the mechanism used "
2918"for the package files. This enables exact matching of the source package "
2919"name and version, implicitly enabling the "
2920"<literal>APT::Get::Only-Source</literal> option."
2921msgstr ""
2922
2923#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2924#: apt-get.8.xml:192
2a52e8c5
DK
2925msgid ""
2926"Note that source packages are not tracked like binary packages, they exist "
2927"only in the current directory and are similar to downloading source tar "
2928"balls."
2929msgstr ""
2930
2931#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2932#: apt-get.8.xml:197
2a52e8c5
DK
2933msgid "build-dep"
2934msgstr ""
2935
2936#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2937#: apt-get.8.xml:198
2a52e8c5
DK
2938msgid ""
2939"<literal>build-dep</literal> causes apt-get to install/remove packages in an "
c77d6597
MV
2940"attempt to satisfy the build dependencies for a source package. By default "
2941"the dependencies are satisfied to build the package natively. If desired a "
2942"host-architecture can be specified with the "
2943"<option>--host-architecture</option> option instead."
2a52e8c5
DK
2944msgstr ""
2945
2946#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2947#: apt-get.8.xml:204
2a52e8c5
DK
2948msgid "check"
2949msgstr ""
2950
2951#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2952#: apt-get.8.xml:205
2a52e8c5
DK
2953msgid ""
2954"<literal>check</literal> is a diagnostic tool; it updates the package cache "
2955"and checks for broken dependencies."
2956msgstr ""
2957
30549c0c 2958#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2959#: apt-get.8.xml:209
30549c0c
MV
2960msgid "download"
2961msgstr ""
2962
2a52e8c5 2963#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2964#: apt-get.8.xml:210
2a52e8c5 2965msgid ""
30549c0c 2966"<literal>download</literal> will download the given binary package into the "
c77d6597 2967"current directory."
30549c0c
MV
2968msgstr ""
2969
2970#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2971#: apt-get.8.xml:216
30549c0c 2972msgid ""
2a52e8c5
DK
2973"<literal>clean</literal> clears out the local repository of retrieved "
2974"package files. It removes everything but the lock file from "
2975"<filename>&cachedir;/archives/</filename> and "
2976"<filename>&cachedir;/archives/partial/</filename>. When APT is used as a "
2977"&dselect; method, <literal>clean</literal> is run automatically. Those who "
2978"do not use dselect will likely want to run <literal>apt-get clean</literal> "
2979"from time to time to free up disk space."
2980msgstr ""
2981
2982#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 2983#: apt-get.8.xml:225
2a52e8c5
DK
2984msgid "autoclean"
2985msgstr ""
2986
2987#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 2988#: apt-get.8.xml:226
2a52e8c5
DK
2989msgid ""
2990"Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
2991"local repository of retrieved package files. The difference is that it only "
2992"removes package files that can no longer be downloaded, and are largely "
2993"useless. This allows a cache to be maintained over a long period without it "
2994"growing out of control. The configuration option "
2995"<literal>APT::Clean-Installed</literal> will prevent installed packages from "
2996"being erased if it is set to off."
2997msgstr ""
2998
2999#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3000#: apt-get.8.xml:235
2a52e8c5
DK
3001msgid "autoremove"
3002msgstr ""
3003
3004#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3005#: apt-get.8.xml:236
2a52e8c5
DK
3006msgid ""
3007"<literal>autoremove</literal> is used to remove packages that were "
c77d6597
MV
3008"automatically installed to satisfy dependencies for other packages and are "
3009"now no longer needed."
2a52e8c5
DK
3010msgstr ""
3011
3012#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3013#: apt-get.8.xml:240
30549c0c 3014msgid "changelog"
2a52e8c5
DK
3015msgstr ""
3016
3017#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3018#: apt-get.8.xml:241
2a52e8c5 3019msgid ""
30549c0c
MV
3020"<literal>changelog</literal> downloads a package changelog and displays it "
3021"through <command>sensible-pager</command>. The server name and base "
3022"directory is defined in the <literal>APT::Changelogs::Server</literal> "
3023"variable (e. g. <ulink>http://packages.debian.org/changelogs</ulink> for "
3024"Debian or <ulink>http://changelogs.ubuntu.com/changelogs</ulink> for "
3025"Ubuntu). By default it displays the changelog for the version that is "
3026"installed. However, you can specify the same options as for the "
3027"<option>install</option> command."
3028msgstr ""
3029
3030#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3031#: apt-get.8.xml:263
30549c0c
MV
3032msgid "<option>--no-install-recommends</option>"
3033msgstr ""
3034
3035#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3036#: apt-get.8.xml:264
30549c0c 3037msgid ""
2a52e8c5
DK
3038"Do not consider recommended packages as a dependency for installing. "
3039"Configuration Item: <literal>APT::Install-Recommends</literal>."
3040msgstr ""
3041
3042#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3043#: apt-get.8.xml:268
30549c0c
MV
3044msgid "<option>--install-suggests</option>"
3045msgstr ""
3046
3047#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3048#: apt-get.8.xml:269
30549c0c
MV
3049msgid ""
3050"Consider suggested packages as a dependency for installing. Configuration "
3051"Item: <literal>APT::Install-Suggests</literal>."
3052msgstr ""
3053
3054#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3055#: apt-get.8.xml:273
2a52e8c5
DK
3056msgid "<option>--download-only</option>"
3057msgstr ""
3058
3059#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3060#: apt-get.8.xml:274
2a52e8c5
DK
3061msgid ""
3062"Download only; package files are only retrieved, not unpacked or installed. "
3063"Configuration Item: <literal>APT::Get::Download-Only</literal>."
3064msgstr ""
3065
3066#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3067#: apt-get.8.xml:278
2a52e8c5
DK
3068msgid "<option>--fix-broken</option>"
3069msgstr ""
3070
3071#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3072#: apt-get.8.xml:279
2a52e8c5
DK
3073msgid ""
3074"Fix; attempt to correct a system with broken dependencies in place. This "
3075"option, when used with install/remove, can omit any packages to permit APT "
b39c1859
MV
3076"to deduce a likely solution. If packages are specified, these have to "
3077"completely correct the problem. The option is sometimes necessary when "
3078"running APT for the first time; APT itself does not allow broken package "
3079"dependencies to exist on a system. It is possible that a system's dependency "
3080"structure can be so corrupt as to require manual intervention (which usually "
3081"means using &dselect; or <command>dpkg --remove</command> to eliminate some "
3082"of the offending packages). Use of this option together with "
3083"<option>-m</option> may produce an error in some situations. Configuration "
3084"Item: <literal>APT::Get::Fix-Broken</literal>."
2a52e8c5
DK
3085msgstr ""
3086
3087#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3088#: apt-get.8.xml:292
2a52e8c5
DK
3089msgid "<option>--ignore-missing</option>"
3090msgstr ""
3091
3092#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3093#: apt-get.8.xml:293
2a52e8c5
DK
3094msgid "<option>--fix-missing</option>"
3095msgstr ""
3096
3097#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3098#: apt-get.8.xml:294
2a52e8c5
DK
3099msgid ""
3100"Ignore missing packages; If packages cannot be retrieved or fail the "
3101"integrity check after retrieval (corrupted package files), hold back those "
3102"packages and handle the result. Use of this option together with "
3103"<option>-f</option> may produce an error in some situations. If a package is "
3104"selected for installation (particularly if it is mentioned on the command "
3105"line) and it could not be downloaded then it will be silently held back. "
3106"Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
3107msgstr ""
3108
3109#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3110#: apt-get.8.xml:304
2a52e8c5
DK
3111msgid "<option>--no-download</option>"
3112msgstr ""
3113
3114#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3115#: apt-get.8.xml:305
2a52e8c5
DK
3116msgid ""
3117"Disables downloading of packages. This is best used with "
3118"<option>--ignore-missing</option> to force APT to use only the .debs it has "
3119"already downloaded. Configuration Item: "
3120"<literal>APT::Get::Download</literal>."
3121msgstr ""
3122
3123#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3124#: apt-get.8.xml:312
2a52e8c5
DK
3125msgid ""
3126"Quiet; produces output suitable for logging, omitting progress indicators. "
3127"More q's will produce more quiet up to a maximum of 2. You can also use "
3128"<option>-q=#</option> to set the quiet level, overriding the configuration "
3129"file. Note that quiet level 2 implies <option>-y</option>, you should never "
3130"use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
3131"may decided to do something you did not expect. Configuration Item: "
3132"<literal>quiet</literal>."
3133msgstr ""
3134
3135#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3136#: apt-get.8.xml:322
2a52e8c5
DK
3137msgid "<option>--simulate</option>"
3138msgstr ""
3139
3140#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3141#: apt-get.8.xml:324
2a52e8c5
DK
3142msgid "<option>--dry-run</option>"
3143msgstr ""
3144
3145#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3146#: apt-get.8.xml:327
2a52e8c5
DK
3147msgid ""
3148"No action; perform a simulation of events that would occur but do not "
3149"actually change the system. Configuration Item: "
3150"<literal>APT::Get::Simulate</literal>."
3151msgstr ""
3152
3153#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3154#: apt-get.8.xml:331
2a52e8c5
DK
3155msgid ""
3156"Simulation run as user will deactivate locking "
bcf91c1b 3157"(<literal>Debug::NoLocking</literal>) automatic. Also a notice will be "
2a52e8c5
DK
3158"displayed indicating that this is only a simulation, if the option "
3159"<literal>APT::Get::Show-User-Simulation-Note</literal> is set (Default: "
bcf91c1b 3160"true). Neither NoLocking nor the notice will be triggered if run as root "
2a52e8c5
DK
3161"(root should know what he is doing without further warnings by "
3162"<literal>apt-get</literal>)."
3163msgstr ""
3164
3165#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3166#: apt-get.8.xml:337
2a52e8c5
DK
3167msgid ""
3168"Simulate prints out a series of lines each one representing a dpkg "
3169"operation, Configure (Conf), Remove (Remv), Unpack (Inst). Square brackets "
43be0ac4
MV
3170"indicate broken packages and empty set of square brackets meaning breaks "
3171"that are of no consequence (rare)."
2a52e8c5
DK
3172msgstr ""
3173
3174#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3175#: apt-get.8.xml:344
2a52e8c5
DK
3176msgid "<option>-y</option>"
3177msgstr ""
3178
3179#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3180#: apt-get.8.xml:344
2a52e8c5
DK
3181msgid "<option>--yes</option>"
3182msgstr ""
3183
3184#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3185#: apt-get.8.xml:345
2a52e8c5
DK
3186msgid "<option>--assume-yes</option>"
3187msgstr ""
3188
3189#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3190#: apt-get.8.xml:346
2a52e8c5
DK
3191msgid ""
3192"Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
3193"non-interactively. If an undesirable situation, such as changing a held "
3194"package, trying to install a unauthenticated package or removing an "
3195"essential package occurs then <literal>apt-get</literal> will abort. "
3196"Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
3197msgstr ""
3198
3199#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597
MV
3200#: apt-get.8.xml:353
3201msgid "<option>--assume-no</option>"
3202msgstr ""
3203
3204#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3205#: apt-get.8.xml:354
3206msgid ""
3207"Automatic \"no\" to all prompts. Configuration Item: "
3208"<literal>APT::Get::Assume-No</literal>."
3209msgstr ""
3210
3211#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3212#: apt-get.8.xml:358
2a52e8c5
DK
3213msgid "<option>-u</option>"
3214msgstr ""
3215
3216#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3217#: apt-get.8.xml:358
2a52e8c5
DK
3218msgid "<option>--show-upgraded</option>"
3219msgstr ""
3220
3221#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3222#: apt-get.8.xml:359
2a52e8c5
DK
3223msgid ""
3224"Show upgraded packages; Print out a list of all packages that are to be "
3225"upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
3226msgstr ""
3227
3228#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3229#: apt-get.8.xml:364
2a52e8c5
DK
3230msgid "<option>-V</option>"
3231msgstr ""
3232
3233#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3234#: apt-get.8.xml:364
2a52e8c5
DK
3235msgid "<option>--verbose-versions</option>"
3236msgstr ""
3237
3238#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3239#: apt-get.8.xml:365
2a52e8c5
DK
3240msgid ""
3241"Show full versions for upgraded and installed packages. Configuration Item: "
3242"<literal>APT::Get::Show-Versions</literal>."
3243msgstr ""
3244
3245#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597
MV
3246#: apt-get.8.xml:370
3247msgid "<option>--host-architecture</option>"
3248msgstr ""
3249
3250#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3251#: apt-get.8.xml:371
3252msgid ""
3253"This option controls the architecture packages are built for by "
3254"<command>apt-get source --compile</command> and how cross-builddependencies "
3255"are satisfied. By default is it not set which means that the host "
3256"architecture is the same as the build architecture (which is defined by "
3257"<literal>APT::Architecture</literal>). Configuration Item: "
3258"<literal>APT::Get::Host-Architecture</literal>"
3259msgstr ""
3260
3261#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3262#: apt-get.8.xml:379
2a52e8c5
DK
3263msgid "<option>-b</option>"
3264msgstr ""
3265
3266#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3267#: apt-get.8.xml:379
2a52e8c5
DK
3268msgid "<option>--compile</option>"
3269msgstr ""
3270
3271#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3272#: apt-get.8.xml:380
2a52e8c5
DK
3273msgid "<option>--build</option>"
3274msgstr ""
3275
3276#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3277#: apt-get.8.xml:381
2a52e8c5
DK
3278msgid ""
3279"Compile source packages after downloading them. Configuration Item: "
3280"<literal>APT::Get::Compile</literal>."
3281msgstr ""
3282
3283#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3284#: apt-get.8.xml:385
2a52e8c5
DK
3285msgid "<option>--ignore-hold</option>"
3286msgstr ""
3287
3288#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3289#: apt-get.8.xml:386
2a52e8c5
DK
3290msgid ""
3291"Ignore package Holds; This causes <command>apt-get</command> to ignore a "
3292"hold placed on a package. This may be useful in conjunction with "
3293"<literal>dist-upgrade</literal> to override a large number of undesired "
3294"holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
3295msgstr ""
3296
3297#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3298#: apt-get.8.xml:392
2a52e8c5
DK
3299msgid "<option>--no-upgrade</option>"
3300msgstr ""
3301
3302#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3303#: apt-get.8.xml:393
2a52e8c5
DK
3304msgid ""
3305"Do not upgrade packages; When used in conjunction with "
3306"<literal>install</literal>, <literal>no-upgrade</literal> will prevent "
3307"packages on the command line from being upgraded if they are already "
3308"installed. Configuration Item: <literal>APT::Get::Upgrade</literal>."
3309msgstr ""
3310
3311#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3312#: apt-get.8.xml:399
a7307a87 3313msgid "<option>--only-upgrade</option>"
2a52e8c5
DK
3314msgstr ""
3315
3316#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3317#: apt-get.8.xml:400
2a52e8c5 3318msgid ""
a7307a87 3319"Do not install new packages; When used in conjunction with "
c086ac18
DK
3320"<literal>install</literal>, <literal>only-upgrade</literal> will install "
3321"upgrades for already installed packages only and ignore requests to install "
3322"new packages. Configuration Item: "
3323"<literal>APT::Get::Only-Upgrade</literal>."
a7307a87
DK
3324msgstr ""
3325
3326#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3327#: apt-get.8.xml:407
a7307a87
DK
3328msgid "<option>--force-yes</option>"
3329msgstr ""
3330
3331#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3332#: apt-get.8.xml:408
a7307a87 3333msgid ""
2a52e8c5
DK
3334"Force yes; This is a dangerous option that will cause apt to continue "
3335"without prompting if it is doing something potentially harmful. It should "
3336"not be used except in very special situations. Using "
3337"<literal>force-yes</literal> can potentially destroy your system! "
3338"Configuration Item: <literal>APT::Get::force-yes</literal>."
3339msgstr ""
3340
3341#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3342#: apt-get.8.xml:415
2a52e8c5
DK
3343msgid "<option>--print-uris</option>"
3344msgstr ""
3345
3346#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3347#: apt-get.8.xml:416
2a52e8c5
DK
3348msgid ""
3349"Instead of fetching the files to install their URIs are printed. Each URI "
3350"will have the path, the destination file name, the size and the expected md5 "
3351"hash. Note that the file name to write to will not always match the file "
3352"name on the remote site! This also works with the <literal>source</literal> "
3353"and <literal>update</literal> commands. When used with the "
3354"<literal>update</literal> command the MD5 and size are not included, and it "
3355"is up to the user to decompress any compressed files. Configuration Item: "
3356"<literal>APT::Get::Print-URIs</literal>."
3357msgstr ""
3358
3359#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3360#: apt-get.8.xml:426
2a52e8c5
DK
3361msgid "<option>--purge</option>"
3362msgstr ""
3363
3364#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3365#: apt-get.8.xml:427
2a52e8c5
DK
3366msgid ""
3367"Use purge instead of remove for anything that would be removed. An asterisk "
3368"(\"*\") will be displayed next to packages which are scheduled to be "
b39c1859 3369"purged. <option>remove --purge</option> is equivalent to the "
2a52e8c5
DK
3370"<option>purge</option> command. Configuration Item: "
3371"<literal>APT::Get::Purge</literal>."
3372msgstr ""
3373
3374#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3375#: apt-get.8.xml:434
2a52e8c5
DK
3376msgid "<option>--reinstall</option>"
3377msgstr ""
3378
3379#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3380#: apt-get.8.xml:435
2a52e8c5
DK
3381msgid ""
3382"Re-Install packages that are already installed and at the newest version. "
3383"Configuration Item: <literal>APT::Get::ReInstall</literal>."
3384msgstr ""
3385
3386#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3387#: apt-get.8.xml:439
2a52e8c5
DK
3388msgid "<option>--list-cleanup</option>"
3389msgstr ""
3390
3391#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3392#: apt-get.8.xml:440
2a52e8c5
DK
3393msgid ""
3394"This option defaults to on, use <literal>--no-list-cleanup</literal> to turn "
3395"it off. When on <command>apt-get</command> will automatically manage the "
3396"contents of <filename>&statedir;/lists</filename> to ensure that obsolete "
3397"files are erased. The only reason to turn it off is if you frequently "
3398"change your source list. Configuration Item: "
3399"<literal>APT::Get::List-Cleanup</literal>."
3400msgstr ""
3401
3402#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3403#: apt-get.8.xml:449
2a52e8c5
DK
3404msgid "<option>--target-release</option>"
3405msgstr ""
3406
3407#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3408#: apt-get.8.xml:450
2a52e8c5
DK
3409msgid "<option>--default-release</option>"
3410msgstr ""
3411
3412#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3413#: apt-get.8.xml:451
2a52e8c5
DK
3414msgid ""
3415"This option controls the default input to the policy engine, it creates a "
3416"default pin at priority 990 using the specified release string. This "
3417"overrides the general settings in "
3418"<filename>/etc/apt/preferences</filename>. Specifically pinned packages are "
3419"not affected by the value of this option. In short, this option lets you "
3420"have simple control over which distribution packages will be retrieved "
3421"from. Some common examples might be <option>-t '2.1*'</option>, <option>-t "
3422"unstable</option> or <option>-t sid</option>. Configuration Item: "
3423"<literal>APT::Default-Release</literal>; see also the &apt-preferences; "
3424"manual page."
3425msgstr ""
3426
3427#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3428#: apt-get.8.xml:464
2a52e8c5
DK
3429msgid "<option>--trivial-only</option>"
3430msgstr ""
3431
3432#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3433#: apt-get.8.xml:466
2a52e8c5
DK
3434msgid ""
3435"Only perform operations that are 'trivial'. Logically this can be considered "
3436"related to <option>--assume-yes</option>, where "
3437"<option>--assume-yes</option> will answer yes to any prompt, "
3438"<option>--trivial-only</option> will answer no. Configuration Item: "
3439"<literal>APT::Get::Trivial-Only</literal>."
3440msgstr ""
3441
3442#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3443#: apt-get.8.xml:472
2a52e8c5
DK
3444msgid "<option>--no-remove</option>"
3445msgstr ""
3446
3447#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3448#: apt-get.8.xml:473
2a52e8c5
DK
3449msgid ""
3450"If any packages are to be removed apt-get immediately aborts without "
3451"prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
3452msgstr ""
3453
3454#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3455#: apt-get.8.xml:478
2a52e8c5
DK
3456msgid "<option>--auto-remove</option>"
3457msgstr ""
3458
3459#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3460#: apt-get.8.xml:479
2a52e8c5
DK
3461msgid ""
3462"If the command is either <literal>install</literal> or "
3463"<literal>remove</literal>, then this option acts like running "
3464"<literal>autoremove</literal> command, removing the unused dependency "
3465"packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>."
3466msgstr ""
3467
3468#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3469#: apt-get.8.xml:485
2a52e8c5
DK
3470msgid "<option>--only-source</option>"
3471msgstr ""
3472
3473#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3474#: apt-get.8.xml:486
2a52e8c5
DK
3475msgid ""
3476"Only has meaning for the <literal>source</literal> and "
3477"<literal>build-dep</literal> commands. Indicates that the given source "
3478"names are not to be mapped through the binary table. This means that if "
3479"this option is specified, these commands will only accept source package "
3480"names as arguments, rather than accepting binary package names and looking "
3481"up the corresponding source package. Configuration Item: "
3482"<literal>APT::Get::Only-Source</literal>."
3483msgstr ""
3484
3485#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3486#: apt-get.8.xml:496
2a52e8c5
DK
3487msgid "<option>--diff-only</option>"
3488msgstr ""
3489
3490#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3491#: apt-get.8.xml:496
2a52e8c5
DK
3492msgid "<option>--dsc-only</option>"
3493msgstr ""
3494
3495#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3496#: apt-get.8.xml:496
2a52e8c5
DK
3497msgid "<option>--tar-only</option>"
3498msgstr ""
3499
3500#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3501#: apt-get.8.xml:497
2a52e8c5
DK
3502msgid ""
3503"Download only the diff, dsc, or tar file of a source archive. Configuration "
3504"Item: <literal>APT::Get::Diff-Only</literal>, "
3505"<literal>APT::Get::Dsc-Only</literal>, and "
3506"<literal>APT::Get::Tar-Only</literal>."
3507msgstr ""
3508
3509#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3510#: apt-get.8.xml:502
2a52e8c5
DK
3511msgid "<option>--arch-only</option>"
3512msgstr ""
3513
3514#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3515#: apt-get.8.xml:503
2a52e8c5
DK
3516msgid ""
3517"Only process architecture-dependent build-dependencies. Configuration Item: "
3518"<literal>APT::Get::Arch-Only</literal>."
3519msgstr ""
3520
3521#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 3522#: apt-get.8.xml:507
2a52e8c5
DK
3523msgid "<option>--allow-unauthenticated</option>"
3524msgstr ""
3525
3526#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3527#: apt-get.8.xml:508
2a52e8c5
DK
3528msgid ""
3529"Ignore if packages can't be authenticated and don't prompt about it. This "
3530"is useful for tools like pbuilder. Configuration Item: "
3531"<literal>APT::Get::AllowUnauthenticated</literal>."
3532msgstr ""
3533
bcf91c1b 3534#. type: Content of: <refentry><refsect1><variablelist>
c086ac18 3535#: apt-get.8.xml:521
2a52e8c5 3536msgid ""
bcf91c1b
DK
3537"&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; "
3538"&file-statelists;"
2a52e8c5
DK
3539msgstr ""
3540
3541#. type: Content of: <refentry><refsect1><para>
c086ac18 3542#: apt-get.8.xml:530
2a52e8c5
DK
3543msgid ""
3544"&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
3545"&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, "
3546"&apt-preferences;, the APT Howto."
3547msgstr ""
3548
3549#. type: Content of: <refentry><refsect1><para>
c086ac18 3550#: apt-get.8.xml:536
2a52e8c5
DK
3551msgid ""
3552"<command>apt-get</command> returns zero on normal operation, decimal 100 on "
3553"error."
3554msgstr ""
3555
3556#. type: Content of: <refentry><refsect1><title>
c086ac18 3557#: apt-get.8.xml:539
2a52e8c5
DK
3558msgid "ORIGINAL AUTHORS"
3559msgstr ""
3560
3561#. type: Content of: <refentry><refsect1><para>
c086ac18 3562#: apt-get.8.xml:540
2a52e8c5
DK
3563msgid "&apt-author.jgunthorpe;"
3564msgstr ""
3565
3566#. type: Content of: <refentry><refsect1><title>
c086ac18 3567#: apt-get.8.xml:543
2a52e8c5
DK
3568msgid "CURRENT AUTHORS"
3569msgstr ""
3570
3571#. type: Content of: <refentry><refsect1><para>
c086ac18 3572#: apt-get.8.xml:545
2a52e8c5
DK
3573msgid "&apt-author.team;"
3574msgstr ""
3575
3576#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 3577#: apt-key.8.xml:17 apt-key.8.xml:24
2a52e8c5
DK
3578msgid "apt-key"
3579msgstr ""
3580
3581#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 3582#: apt-key.8.xml:25
2a52e8c5
DK
3583msgid "APT key management utility"
3584msgstr ""
3585
2a52e8c5 3586#. type: Content of: <refentry><refsect1><para>
c77d6597 3587#: apt-key.8.xml:32
2a52e8c5
DK
3588msgid ""
3589"<command>apt-key</command> is used to manage the list of keys used by apt to "
3590"authenticate packages. Packages which have been authenticated using these "
3591"keys will be considered trusted."
3592msgstr ""
3593
3594#. type: Content of: <refentry><refsect1><title>
c77d6597 3595#: apt-key.8.xml:38
2a52e8c5
DK
3596msgid "Commands"
3597msgstr ""
3598
3599#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597
MV
3600#: apt-key.8.xml:40
3601msgid "add &synopsis-param-filename;"
2a52e8c5
DK
3602msgstr ""
3603
3604#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 3605#: apt-key.8.xml:43
2a52e8c5 3606msgid ""
c086ac18
DK
3607"Add a new key to the list of trusted keys. The key is read from the "
3608"filename given with the parameter &synopsis-param-filename; or if the "
3609"filename is <literal>-</literal> from standard input."
2a52e8c5
DK
3610msgstr ""
3611
3612#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597
MV
3613#: apt-key.8.xml:52
3614msgid "del &synopsis-param-keyid;"
2a52e8c5
DK
3615msgstr ""
3616
3617#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3618#: apt-key.8.xml:56
2a52e8c5
DK
3619msgid "Remove a key from the list of trusted keys."
3620msgstr ""
3621
3622#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597
MV
3623#: apt-key.8.xml:63
3624msgid "export &synopsis-param-keyid;"
2a52e8c5
DK
3625msgstr ""
3626
3627#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597
MV
3628#: apt-key.8.xml:67
3629msgid "Output the key &synopsis-param-keyid; to standard output."
2a52e8c5
DK
3630msgstr ""
3631
3632#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3633#: apt-key.8.xml:74
2a52e8c5
DK
3634msgid "exportall"
3635msgstr ""
3636
3637#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3638#: apt-key.8.xml:78
2a52e8c5
DK
3639msgid "Output all trusted keys to standard output."
3640msgstr ""
3641
3642#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3643#: apt-key.8.xml:85
2a52e8c5
DK
3644msgid "list"
3645msgstr ""
3646
3647#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3648#: apt-key.8.xml:89
2a52e8c5
DK
3649msgid "List trusted keys."
3650msgstr ""
3651
3652#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3653#: apt-key.8.xml:96
2a52e8c5
DK
3654msgid "finger"
3655msgstr ""
3656
3657#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3658#: apt-key.8.xml:100
2a52e8c5
DK
3659msgid "List fingerprints of trusted keys."
3660msgstr ""
3661
3662#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3663#: apt-key.8.xml:107
2a52e8c5
DK
3664msgid "adv"
3665msgstr ""
3666
3667#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3668#: apt-key.8.xml:111
2a52e8c5
DK
3669msgid ""
3670"Pass advanced options to gpg. With adv --recv-key you can download the "
3671"public key."
3672msgstr ""
3673
3674#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3675#: apt-key.8.xml:123
2a52e8c5 3676msgid ""
c77d6597
MV
3677"Update the local keyring with the archive keyring and remove from the local "
3678"keyring the archive keys which are no longer valid. The archive keyring is "
3679"shipped in the <literal>archive-keyring</literal> package of your "
3680"distribution, e.g. the <literal>debian-archive-keyring</literal> package in "
3681"Debian."
2a52e8c5
DK
3682msgstr ""
3683
782486e8 3684#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3685#: apt-key.8.xml:133
782486e8
MV
3686msgid "net-update"
3687msgstr ""
3688
3689#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3690#: apt-key.8.xml:137
782486e8 3691msgid ""
c77d6597
MV
3692"Work similar to the <command>update</command> command above, but get the "
3693"archive keyring from an URI instead and validate it against a master key. "
3694"This requires an installed &wget; and an APT build configured to have a "
3695"server to fetch from and a master keyring to validate. APT in Debian does "
3696"not support this command and relies on <command>update</command> instead, "
3697"but Ubuntu's APT does."
782486e8
MV
3698msgstr ""
3699
b39c1859 3700#. type: Content of: <refentry><refsect1><para>
c77d6597 3701#: apt-key.8.xml:154
b39c1859
MV
3702msgid ""
3703"Note that options need to be defined before the commands described in the "
3704"previous section."
3705msgstr ""
3706
3707#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597
MV
3708#: apt-key.8.xml:156
3709msgid "--keyring &synopsis-param-filename;"
2a52e8c5
DK
3710msgstr ""
3711
3712#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3713#: apt-key.8.xml:157
b39c1859
MV
3714msgid ""
3715"With this option it is possible to specify a specific keyring file the "
3716"command should operate on. The default is that a command is executed on the "
3717"<filename>trusted.gpg</filename> file as well as on all parts in the "
c77d6597 3718"<filename>trusted.gpg.d</filename> directory, though "
b39c1859
MV
3719"<filename>trusted.gpg</filename> is the primary keyring which means that "
3720"e.g. new keys are added to this one."
3721msgstr ""
3722
3723#. type: Content of: <refentry><refsect1><variablelist>
c77d6597 3724#: apt-key.8.xml:170
b39c1859 3725msgid "&file-trustedgpg;"
2a52e8c5
DK
3726msgstr ""
3727
3728#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3729#: apt-key.8.xml:172
2a52e8c5
DK
3730msgid "<filename>/etc/apt/trustdb.gpg</filename>"
3731msgstr ""
3732
3733#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3734#: apt-key.8.xml:173
2a52e8c5
DK
3735msgid "Local trust database of archive keys."
3736msgstr ""
3737
3738#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3739#: apt-key.8.xml:176
2a52e8c5
DK
3740msgid "<filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename>"
3741msgstr ""
3742
3743#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3744#: apt-key.8.xml:177
2a52e8c5
DK
3745msgid "Keyring of Debian archive trusted keys."
3746msgstr ""
3747
3748#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3749#: apt-key.8.xml:180
2a52e8c5
DK
3750msgid "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
3751msgstr ""
3752
3753#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3754#: apt-key.8.xml:181
2a52e8c5
DK
3755msgid "Keyring of Debian archive removed trusted keys."
3756msgstr ""
3757
3758#. type: Content of: <refentry><refsect1><para>
c77d6597 3759#: apt-key.8.xml:190
2a52e8c5
DK
3760msgid "&apt-get;, &apt-secure;"
3761msgstr ""
3762
3763#. The last update date
3764#. type: Content of: <refentry><refentryinfo>
0c1a7101 3765#: apt-mark.8.xml:16
2a52e8c5 3766msgid ""
782486e8
MV
3767"&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>21 "
3768"April 2011</date>"
2a52e8c5
DK
3769msgstr ""
3770
3771#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 3772#: apt-mark.8.xml:25 apt-mark.8.xml:32
2a52e8c5
DK
3773msgid "apt-mark"
3774msgstr ""
3775
3776#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 3777#: apt-mark.8.xml:33
2a52e8c5
DK
3778msgid "mark/unmark a package as being automatically-installed"
3779msgstr ""
3780
2a52e8c5 3781#. type: Content of: <refentry><refsect1><para>
c77d6597 3782#: apt-mark.8.xml:39
2a52e8c5
DK
3783msgid ""
3784"<command>apt-mark</command> will change whether a package has been marked as "
3785"being automatically installed."
3786msgstr ""
3787
3788#. type: Content of: <refentry><refsect1><para>
c77d6597 3789#: apt-mark.8.xml:43
2a52e8c5
DK
3790msgid ""
3791"When you request that a package is installed, and as a result other packages "
3792"are installed to satisfy its dependencies, the dependencies are marked as "
3793"being automatically installed. Once these automatically installed packages "
3794"are no longer depended on by any manually installed packages, they will be "
bcf91c1b 3795"removed by e.g. <command>apt-get</command> or <command>aptitude</command>."
2a52e8c5
DK
3796msgstr ""
3797
3798#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3799#: apt-mark.8.xml:51
782486e8 3800msgid "auto"
2a52e8c5
DK
3801msgstr ""
3802
3803#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3804#: apt-mark.8.xml:52
2a52e8c5 3805msgid ""
782486e8 3806"<literal>auto</literal> is used to mark a package as being automatically "
2a52e8c5
DK
3807"installed, which will cause the package to be removed when no more manually "
3808"installed packages depend on this package."
3809msgstr ""
3810
3811#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3812#: apt-mark.8.xml:59
782486e8 3813msgid "manual"
2a52e8c5
DK
3814msgstr ""
3815
3816#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3817#: apt-mark.8.xml:60
2a52e8c5 3818msgid ""
782486e8 3819"<literal>manual</literal> is used to mark a package as being manually "
2a52e8c5
DK
3820"installed, which will prevent the package from being automatically removed "
3821"if no other packages depend on it."
3822msgstr ""
3823
3824#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3825#: apt-mark.8.xml:67
782486e8 3826msgid "hold"
bcf91c1b
DK
3827msgstr ""
3828
3829#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3830#: apt-mark.8.xml:68
bcf91c1b 3831msgid ""
782486e8
MV
3832"<literal>hold</literal> is used to mark a package as hold back, which will "
3833"prevent the package from being automatically installed, upgraded or "
3834"removed. The command is only a wrapper around <command>dpkg "
3835"--set-selections</command> and the state is therefore maintained by &dpkg; "
3836"and not effected by the <option>--filename</option> option."
bcf91c1b
DK
3837msgstr ""
3838
3839#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3840#: apt-mark.8.xml:77
782486e8
MV
3841msgid "unhold"
3842msgstr ""
3843
3844#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3845#: apt-mark.8.xml:78
782486e8
MV
3846msgid ""
3847"<literal>unhold</literal> is used to cancel a previously set hold on a "
3848"package to allow all actions again."
2a52e8c5
DK
3849msgstr ""
3850
3851#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3852#: apt-mark.8.xml:83
782486e8 3853msgid "showauto"
2a52e8c5
DK
3854msgstr ""
3855
3856#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3857#: apt-mark.8.xml:84
2a52e8c5 3858msgid ""
782486e8
MV
3859"<literal>showauto</literal> is used to print a list of automatically "
3860"installed packages with each package on a new line. All automatically "
3861"installed packages will be listed if no package is given. If packages are "
3862"given only those which are automatically installed will be shown."
2a52e8c5
DK
3863msgstr ""
3864
3865#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3866#: apt-mark.8.xml:91
782486e8
MV
3867msgid "showmanual"
3868msgstr ""
3869
3870#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3871#: apt-mark.8.xml:92
782486e8
MV
3872msgid ""
3873"<literal>showmanual</literal> can be used in the same way as "
3874"<literal>showauto</literal> except that it will print a list of manually "
3875"installed packages instead."
2a52e8c5
DK
3876msgstr ""
3877
3878#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3879#: apt-mark.8.xml:98
782486e8 3880msgid "showhold"
2a52e8c5
DK
3881msgstr ""
3882
3883#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3884#: apt-mark.8.xml:99
782486e8
MV
3885msgid ""
3886"<literal>showhold</literal> is used to print a list of packages on hold in "
3887"the same way as for the other show commands."
2a52e8c5
DK
3888msgstr ""
3889
3890#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3891#: apt-mark.8.xml:112
782486e8 3892msgid "<option>-f=<filename><replaceable>FILENAME</replaceable></filename></option>"
2a52e8c5
DK
3893msgstr ""
3894
3895#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 3896#: apt-mark.8.xml:113
782486e8 3897msgid "<option>--file=<filename><replaceable>FILENAME</replaceable></filename></option>"
2a52e8c5
DK
3898msgstr ""
3899
3900#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 3901#: apt-mark.8.xml:116
782486e8
MV
3902msgid ""
3903"Read/Write package stats from "
3904"<filename><replaceable>FILENAME</replaceable></filename> instead of the "
3905"default location, which is <filename>extended_status</filename> in the "
3906"directory defined by the Configuration Item: <literal>Dir::State</literal>."
2a52e8c5
DK
3907msgstr ""
3908
b6c6b52f 3909#. type: Content of: <refentry><refsect1><variablelist>
c77d6597 3910#: apt-mark.8.xml:128
b6c6b52f 3911msgid " &file-extended_states;"
bcf91c1b
DK
3912msgstr ""
3913
2a52e8c5 3914#. type: Content of: <refentry><refsect1><para>
c77d6597 3915#: apt-mark.8.xml:133
bcf91c1b
DK
3916msgid "&apt-get;,&aptitude;,&apt-conf;"
3917msgstr ""
3918
3919#. type: Content of: <refentry><refsect1><para>
c77d6597 3920#: apt-mark.8.xml:137
2a52e8c5
DK
3921msgid ""
3922"<command>apt-mark</command> returns zero on normal operation, non-zero on "
3923"error."
3924msgstr ""
3925
3926#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 3927#: apt-secure.8.xml:17 apt-secure.8.xml:39
2a52e8c5
DK
3928msgid "apt-secure"
3929msgstr ""
3930
3931#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 3932#: apt-secure.8.xml:40
2a52e8c5
DK
3933msgid "Archive authentication support for APT"
3934msgstr ""
3935
3936#. type: Content of: <refentry><refsect1><para>
0c1a7101 3937#: apt-secure.8.xml:45
2a52e8c5
DK
3938msgid ""
3939"Starting with version 0.6, <command>apt</command> contains code that does "
3940"signature checking of the Release file for all archives. This ensures that "
3941"packages in the archive can't be modified by people who have no access to "
3942"the Release file signing key."
3943msgstr ""
3944
3945#. type: Content of: <refentry><refsect1><para>
0c1a7101 3946#: apt-secure.8.xml:53
2a52e8c5
DK
3947msgid ""
3948"If a package comes from a archive without a signature or with a signature "
3949"that apt does not have a key for that package is considered untrusted and "
3950"installing it will result in a big warning. <command>apt-get</command> will "
3951"currently only warn for unsigned archives, future releases might force all "
3952"sources to be verified before downloading packages from them."
3953msgstr ""
3954
3955#. type: Content of: <refentry><refsect1><para>
0c1a7101 3956#: apt-secure.8.xml:62
2a52e8c5
DK
3957msgid ""
3958"The package frontends &apt-get;, &aptitude; and &synaptic; support this new "
3959"authentication feature."
3960msgstr ""
3961
3962#. type: Content of: <refentry><refsect1><title>
0c1a7101 3963#: apt-secure.8.xml:67
2a52e8c5
DK
3964msgid "Trusted archives"
3965msgstr ""
3966
3967#. type: Content of: <refentry><refsect1><para>
0c1a7101 3968#: apt-secure.8.xml:70
2a52e8c5
DK
3969msgid ""
3970"The chain of trust from an apt archive to the end user is made up of "
3971"different steps. <command>apt-secure</command> is the last step in this "
3972"chain, trusting an archive does not mean that the packages that you trust it "
3973"do not contain malicious code but means that you trust the archive "
43be0ac4 3974"maintainer. It's the archive maintainer responsibility to ensure that the "
2a52e8c5
DK
3975"archive integrity is correct."
3976msgstr ""
3977
3978#. type: Content of: <refentry><refsect1><para>
0c1a7101 3979#: apt-secure.8.xml:78
2a52e8c5
DK
3980msgid ""
3981"apt-secure does not review signatures at a package level. If you require "
3982"tools to do this you should look at <command>debsig-verify</command> and "
3983"<command>debsign</command> (provided in the debsig-verify and devscripts "
3984"packages respectively)."
3985msgstr ""
3986
3987#. type: Content of: <refentry><refsect1><para>
0c1a7101 3988#: apt-secure.8.xml:85
2a52e8c5
DK
3989msgid ""
3990"The chain of trust in Debian starts when a maintainer uploads a new package "
3991"or a new version of a package to the Debian archive. This upload in order to "
3992"become effective needs to be signed by a key of a maintainer within the "
3993"Debian maintainer's keyring (available in the debian-keyring "
3994"package). Maintainer's keys are signed by other maintainers following "
3995"pre-established procedures to ensure the identity of the key holder."
3996msgstr ""
3997
3998#. type: Content of: <refentry><refsect1><para>
0c1a7101 3999#: apt-secure.8.xml:95
2a52e8c5
DK
4000msgid ""
4001"Once the uploaded package is verified and included in the archive, the "
4002"maintainer signature is stripped off, an MD5 sum of the package is computed "
4003"and put in the Packages file. The MD5 sum of all of the packages files are "
4004"then computed and put into the Release file. The Release file is then signed "
43be0ac4
MV
4005"by the archive key (which is created once a year) and distributed through "
4006"the FTP server. This key is also on the Debian keyring."
2a52e8c5
DK
4007msgstr ""
4008
4009#. type: Content of: <refentry><refsect1><para>
0c1a7101 4010#: apt-secure.8.xml:105
2a52e8c5
DK
4011msgid ""
4012"Any end user can check the signature of the Release file, extract the MD5 "
4013"sum of a package from it and compare it with the MD5 sum of the package he "
4014"downloaded. Prior to version 0.6 only the MD5 sum of the downloaded Debian "
4015"package was checked. Now both the MD5 sum and the signature of the Release "
4016"file are checked."
4017msgstr ""
4018
4019#. type: Content of: <refentry><refsect1><para>
0c1a7101 4020#: apt-secure.8.xml:112
2a52e8c5
DK
4021msgid ""
4022"Notice that this is distinct from checking signatures on a per package "
4023"basis. It is designed to prevent two possible attacks:"
4024msgstr ""
4025
4026#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
0c1a7101 4027#: apt-secure.8.xml:117
2a52e8c5
DK
4028msgid ""
4029"<literal>Network \"man in the middle\" attacks</literal>. Without signature "
4030"checking, a malicious agent can introduce himself in the package download "
4031"process and provide malicious software either by controlling a network "
4032"element (router, switch, etc.) or by redirecting traffic to a rogue server "
4033"(through arp or DNS spoofing attacks)."
4034msgstr ""
4035
4036#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
0c1a7101 4037#: apt-secure.8.xml:125
2a52e8c5
DK
4038msgid ""
4039"<literal>Mirror network compromise</literal>. Without signature checking, a "
4040"malicious agent can compromise a mirror host and modify the files in it to "
4041"propagate malicious software to all users downloading packages from that "
4042"host."
4043msgstr ""
4044
4045#. type: Content of: <refentry><refsect1><para>
0c1a7101 4046#: apt-secure.8.xml:132
2a52e8c5
DK
4047msgid ""
4048"However, it does not defend against a compromise of the Debian master server "
4049"itself (which signs the packages) or against a compromise of the key used to "
4050"sign the Release files. In any case, this mechanism can complement a "
4051"per-package signature."
4052msgstr ""
4053
4054#. type: Content of: <refentry><refsect1><title>
0c1a7101 4055#: apt-secure.8.xml:138
2a52e8c5
DK
4056msgid "User configuration"
4057msgstr ""
4058
4059#. type: Content of: <refentry><refsect1><para>
0c1a7101 4060#: apt-secure.8.xml:140
2a52e8c5
DK
4061msgid ""
4062"<command>apt-key</command> is the program that manages the list of keys used "
4063"by apt. It can be used to add or remove keys although an installation of "
4064"this release will automatically provide the default Debian archive signing "
4065"keys used in the Debian package repositories."
4066msgstr ""
4067
4068#. type: Content of: <refentry><refsect1><para>
0c1a7101 4069#: apt-secure.8.xml:147
2a52e8c5
DK
4070msgid ""
4071"In order to add a new key you need to first download it (you should make "
4072"sure you are using a trusted communication channel when retrieving it), add "
4073"it with <command>apt-key</command> and then run <command>apt-get "
4074"update</command> so that apt can download and verify the "
30549c0c
MV
4075"<filename>InRelease</filename> or <filename>Release.gpg</filename> files "
4076"from the archives you have configured."
2a52e8c5
DK
4077msgstr ""
4078
4079#. type: Content of: <refentry><refsect1><title>
0c1a7101 4080#: apt-secure.8.xml:156
2a52e8c5
DK
4081msgid "Archive configuration"
4082msgstr ""
4083
4084#. type: Content of: <refentry><refsect1><para>
0c1a7101 4085#: apt-secure.8.xml:158
2a52e8c5
DK
4086msgid ""
4087"If you want to provide archive signatures in an archive under your "
4088"maintenance you have to:"
4089msgstr ""
4090
4091#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
0c1a7101 4092#: apt-secure.8.xml:163
2a52e8c5 4093msgid ""
43be0ac4 4094"<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
2a52e8c5
DK
4095"already. You can do this by running <command>apt-ftparchive "
4096"release</command> (provided in apt-utils)."
4097msgstr ""
4098
4099#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
0c1a7101 4100#: apt-secure.8.xml:168
2a52e8c5 4101msgid ""
30549c0c
MV
4102"<emphasis>Sign it</emphasis>. You can do this by running <command>gpg "
4103"--clearsign -o InRelease Release</command> and <command>gpg -abs -o "
4104"Release.gpg Release</command>."
2a52e8c5
DK
4105msgstr ""
4106
4107#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
30549c0c 4108#: apt-secure.8.xml:172
2a52e8c5 4109msgid ""
43be0ac4 4110"<emphasis>Publish the key fingerprint</emphasis>, that way your users will "
2a52e8c5
DK
4111"know what key they need to import in order to authenticate the files in the "
4112"archive."
4113msgstr ""
4114
4115#. type: Content of: <refentry><refsect1><para>
30549c0c 4116#: apt-secure.8.xml:179
2a52e8c5
DK
4117msgid ""
4118"Whenever the contents of the archive changes (new packages are added or "
4119"removed) the archive maintainer has to follow the first two steps previously "
4120"outlined."
4121msgstr ""
4122
4123#. type: Content of: <refentry><refsect1><para>
30549c0c 4124#: apt-secure.8.xml:187
2a52e8c5
DK
4125msgid ""
4126"&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
4127"&debsign; &debsig-verify;, &gpg;"
4128msgstr ""
4129
4130#. type: Content of: <refentry><refsect1><para>
30549c0c 4131#: apt-secure.8.xml:191
2a52e8c5
DK
4132msgid ""
4133"For more background information you might want to review the <ulink "
49206fad 4134"url=\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
2a52e8c5
DK
4135"Security Infrastructure</ulink> chapter of the Securing Debian Manual "
4136"(available also in the harden-doc package) and the <ulink "
4137"url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
4138"Distribution HOWTO</ulink> by V. Alex Brennen."
4139msgstr ""
4140
4141#. type: Content of: <refentry><refsect1><title>
30549c0c 4142#: apt-secure.8.xml:204
2a52e8c5
DK
4143msgid "Manpage Authors"
4144msgstr ""
4145
4146#. type: Content of: <refentry><refsect1><para>
30549c0c 4147#: apt-secure.8.xml:206
2a52e8c5
DK
4148msgid ""
4149"This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
4150"Jones, Colin Walters, Florian Weimer and Michael Vogt."
4151msgstr ""
4152
4153#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 4154#: apt-sortpkgs.1.xml:25 apt-sortpkgs.1.xml:32
2a52e8c5
DK
4155msgid "apt-sortpkgs"
4156msgstr ""
4157
4158#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 4159#: apt-sortpkgs.1.xml:33
2a52e8c5
DK
4160msgid "Utility to sort package index files"
4161msgstr ""
4162
2a52e8c5 4163#. type: Content of: <refentry><refsect1><para>
c77d6597 4164#: apt-sortpkgs.1.xml:39
2a52e8c5
DK
4165msgid ""
4166"<command>apt-sortpkgs</command> will take an index file (Source index or "
4167"Package index) and sort the records so that they are ordered by the package "
4168"name. It will also sort the internal fields of each record according to the "
4169"internal sorting rules."
4170msgstr ""
4171
4172#. type: Content of: <refentry><refsect1><para>
c77d6597 4173#: apt-sortpkgs.1.xml:45
2a52e8c5
DK
4174msgid "All output is sent to stdout, the input must be a seekable file."
4175msgstr ""
4176
4177#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c77d6597 4178#: apt-sortpkgs.1.xml:52
2a52e8c5
DK
4179msgid "<option>--source</option>"
4180msgstr ""
4181
4182#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c77d6597 4183#: apt-sortpkgs.1.xml:54
2a52e8c5
DK
4184msgid ""
4185"Use Source index field ordering. Configuration Item: "
4186"<literal>APT::SortPkgs::Source</literal>."
4187msgstr ""
4188
4189#. type: Content of: <refentry><refsect1><para>
c77d6597 4190#: apt-sortpkgs.1.xml:68
2a52e8c5
DK
4191msgid ""
4192"<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
4193"100 on error."
4194msgstr ""
4195
4196#. The last update date
4197#. type: Content of: <refentry><refentryinfo>
0c1a7101 4198#: apt.conf.5.xml:16
2a52e8c5
DK
4199msgid ""
4200"&apt-author.jgunthorpe; &apt-author.team; <author> "
4201"<firstname>Daniel</firstname> <surname>Burrows</surname> <contrib>Initial "
4202"documentation of Debug::*.</contrib> <email>dburrows@debian.org</email> "
b39c1859 4203"</author> &apt-email; &apt-product; <date>16 January 2010</date>"
2a52e8c5
DK
4204msgstr ""
4205
4206#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 4207#: apt.conf.5.xml:31 apt.conf.5.xml:38
2a52e8c5
DK
4208msgid "apt.conf"
4209msgstr ""
4210
4211#. type: Content of: <refentry><refmeta><manvolnum>
0c1a7101 4212#: apt.conf.5.xml:32 apt_preferences.5.xml:25 sources.list.5.xml:26
2a52e8c5
DK
4213msgid "5"
4214msgstr ""
4215
4216#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 4217#: apt.conf.5.xml:39
2a52e8c5
DK
4218msgid "Configuration file for APT"
4219msgstr ""
4220
4221#. type: Content of: <refentry><refsect1><para>
0c1a7101 4222#: apt.conf.5.xml:43
2a52e8c5
DK
4223msgid ""
4224"<filename>apt.conf</filename> is the main configuration file for the APT "
b39c1859
MV
4225"suite of tools, but by far not the only place changes to options can be "
4226"made. All tools therefore share the configuration files and also use a "
4227"common command line parser to provide a uniform environment."
4228msgstr ""
4229
4230#. type: Content of: <refentry><refsect1><orderedlist><para>
0c1a7101 4231#: apt.conf.5.xml:48
b39c1859
MV
4232msgid ""
4233"When an APT tool starts up it will read the configuration files in the "
4234"following order:"
4235msgstr ""
4236
4237#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
0c1a7101 4238#: apt.conf.5.xml:50
b39c1859
MV
4239msgid ""
4240"the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
4241"any)"
4242msgstr ""
4243
4244#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
0c1a7101 4245#: apt.conf.5.xml:52
b39c1859
MV
4246msgid ""
4247"all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
c77d6597
MV
4248"order which have either no or \"<literal>conf</literal>\" as filename "
4249"extension and which only contain alphanumeric, hyphen (-), underscore (_) "
4250"and period (.) characters. Otherwise APT will print a notice that it has "
4251"ignored a file if the file doesn't match a pattern in the "
30549c0c
MV
4252"<literal>Dir::Ignore-Files-Silently</literal> configuration list - in this "
4253"case it will be silently ignored."
b39c1859
MV
4254msgstr ""
4255
4256#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
30549c0c 4257#: apt.conf.5.xml:59
b39c1859
MV
4258msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>"
4259msgstr ""
4260
4261#. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
30549c0c 4262#: apt.conf.5.xml:61
b39c1859
MV
4263msgid ""
4264"the command line options are applied to override the configuration "
4265"directives or to load even more configuration files."
4266msgstr ""
4267
4268#. type: Content of: <refentry><refsect1><title>
30549c0c 4269#: apt.conf.5.xml:65
b39c1859 4270msgid "Syntax"
2a52e8c5
DK
4271msgstr ""
4272
4273#. type: Content of: <refentry><refsect1><para>
30549c0c 4274#: apt.conf.5.xml:66
2a52e8c5
DK
4275msgid ""
4276"The configuration file is organized in a tree with options organized into "
43be0ac4 4277"functional groups. Option specification is given with a double colon "
2a52e8c5 4278"notation, for instance <literal>APT::Get::Assume-Yes</literal> is an option "
43be0ac4 4279"within the APT tool group, for the Get tool. Options do not inherit from "
2a52e8c5
DK
4280"their parent groups."
4281msgstr ""
4282
4283#. type: Content of: <refentry><refsect1><para>
30549c0c 4284#: apt.conf.5.xml:72
2a52e8c5
DK
4285msgid ""
4286"Syntactically the configuration language is modeled after what the ISC tools "
4287"such as bind and dhcp use. Lines starting with <literal>//</literal> are "
4288"treated as comments (ignored), as well as all text between "
4289"<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. "
43be0ac4
MV
4290"Each line is of the form <literal>APT::Get::Assume-Yes "
4291"\"true\";</literal>. The trailing semicolon and the quotes are required. The "
4292"value must be on one line, and there is no kind of string concatenation. It "
4293"must not include inside quotes. The behavior of the backslash \"\\\" and "
4294"escaped characters inside a value is undefined and it should not be used. An "
4295"option name may include alphanumerical characters and the \"/-:._+\" "
4296"characters. A new scope can be opened with curly braces, like:"
2a52e8c5
DK
4297msgstr ""
4298
4299#. type: Content of: <refentry><refsect1><informalexample><programlisting>
30549c0c 4300#: apt.conf.5.xml:86
2a52e8c5
DK
4301#, no-wrap
4302msgid ""
4303"APT {\n"
4304" Get {\n"
4305" Assume-Yes \"true\";\n"
4306" Fix-Broken \"true\";\n"
4307" };\n"
4308"};\n"
4309msgstr ""
4310
4311#. type: Content of: <refentry><refsect1><para>
30549c0c 4312#: apt.conf.5.xml:94
2a52e8c5
DK
4313msgid ""
4314"with newlines placed to make it more readable. Lists can be created by "
4315"opening a scope and including a single string enclosed in quotes followed by "
4316"a semicolon. Multiple entries can be included, each separated by a "
4317"semicolon."
4318msgstr ""
4319
4320#. type: Content of: <refentry><refsect1><informalexample><programlisting>
30549c0c 4321#: apt.conf.5.xml:99
2a52e8c5
DK
4322#, no-wrap
4323msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
4324msgstr ""
4325
4326#. type: Content of: <refentry><refsect1><para>
30549c0c 4327#: apt.conf.5.xml:102
2a52e8c5
DK
4328msgid ""
4329"In general the sample configuration file in "
4330"<filename>&docdir;examples/apt.conf</filename> &configureindex; is a good "
4331"guide for how it should look."
4332msgstr ""
4333
4334#. type: Content of: <refentry><refsect1><para>
30549c0c 4335#: apt.conf.5.xml:106
2a52e8c5
DK
4336msgid ""
4337"The names of the configuration items are not case-sensitive. So in the "
4338"previous example you could use <literal>dpkg::pre-install-pkgs</literal>."
4339msgstr ""
4340
4341#. type: Content of: <refentry><refsect1><para>
30549c0c 4342#: apt.conf.5.xml:109
2a52e8c5 4343msgid ""
63fc5550
DK
4344"Names for the configuration items are optional if a list is defined as it "
4345"can be see in the <literal>DPkg::Pre-Install-Pkgs</literal> example "
4346"above. If you don't specify a name a new entry will simply add a new option "
4347"to the list. If you specify a name you can override the option as every "
4348"other option by reassigning a new value to the option."
4349msgstr ""
4350
4351#. type: Content of: <refentry><refsect1><para>
30549c0c 4352#: apt.conf.5.xml:114
63fc5550 4353msgid ""
82cb5862
JAK
4354"Two specials are allowed, <literal>#include</literal> (which is deprecated "
4355"and not supported by alternative implementations) and "
63fc5550
DK
4356"<literal>#clear</literal>: <literal>#include</literal> will include the "
4357"given file, unless the filename ends in a slash, then the whole directory is "
2a52e8c5 4358"included. <literal>#clear</literal> is used to erase a part of the "
bcf91c1b 4359"configuration tree. The specified element and all its descendants are "
63fc5550 4360"erased. (Note that these lines also need to end with a semicolon.)"
2a52e8c5
DK
4361msgstr ""
4362
4363#. type: Content of: <refentry><refsect1><para>
30549c0c 4364#: apt.conf.5.xml:122
63fc5550
DK
4365msgid ""
4366"The #clear command is the only way to delete a list or a complete scope. "
4367"Reopening a scope or the ::-style described below will "
01f2b54d 4368"<emphasis>not</emphasis> override previously written entries. Only options "
4369"can be overridden by addressing a new value to it - lists and scopes can't "
4370"be overridden, only cleared."
63fc5550
DK
4371msgstr ""
4372
4373#. type: Content of: <refentry><refsect1><para>
30549c0c 4374#: apt.conf.5.xml:127
2a52e8c5
DK
4375msgid ""
4376"All of the APT tools take a -o option which allows an arbitrary "
4377"configuration directive to be specified on the command line. The syntax is a "
4378"full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
c086ac18
DK
4379"followed by an equals sign then the new value of the option. To append a new "
4380"element to a list, add a trailing :: to the name of the list. (As you might "
01f2b54d 4381"suspect: The scope syntax can't be used on the command line.)"
63fc5550
DK
4382msgstr ""
4383
4384#. type: Content of: <refentry><refsect1><para>
30549c0c 4385#: apt.conf.5.xml:134
63fc5550
DK
4386msgid ""
4387"Note that you can use :: only for appending one item per line to a list and "
4388"that you should not use it in combination with the scope syntax. (The scope "
4389"syntax implicit insert ::) Using both syntaxes together will trigger a bug "
c086ac18 4390"which some users unfortunately depend on: An option with the unusual name "
63fc5550
DK
4391"\"<literal>::</literal>\" which acts like every other option with a "
4392"name. These introduces many problems including that a user who writes "
4393"multiple lines in this <emphasis>wrong</emphasis> syntax in the hope to "
4394"append to a list will gain the opposite as only the last assignment for this "
4395"option \"<literal>::</literal>\" will be used. Upcoming APT versions will "
4396"raise errors and will stop working if they encounter this misuse, so please "
4397"correct such statements now as long as APT doesn't complain explicit about "
4398"them."
2a52e8c5
DK
4399msgstr ""
4400
4401#. type: Content of: <refentry><refsect1><title>
30549c0c 4402#: apt.conf.5.xml:146
2a52e8c5
DK
4403msgid "The APT Group"
4404msgstr ""
4405
4406#. type: Content of: <refentry><refsect1><para>
30549c0c 4407#: apt.conf.5.xml:147
2a52e8c5
DK
4408msgid ""
4409"This group of options controls general APT behavior as well as holding the "
4410"options for all of the tools."
4411msgstr ""
4412
4413#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
30549c0c 4414#: apt.conf.5.xml:151
2a52e8c5
DK
4415msgid "Architecture"
4416msgstr ""
4417
4418#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
30549c0c 4419#: apt.conf.5.xml:152
2a52e8c5
DK
4420msgid ""
4421"System Architecture; sets the architecture to use when fetching files and "
4422"parsing package lists. The internal default is the architecture apt was "
4423"compiled for."
4424msgstr ""
4425
c77d6597
MV
4426#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4427#: apt.conf.5.xml:158
4428msgid ""
4429"All Architectures the system supports. Processors implementing the "
c086ac18
DK
4430"<literal>amd64</literal> (also called <literal>x86-64</literal>) instruction "
4431"set are e.g. also able to execute binaries compiled for the "
4432"<literal>i386</literal> (<literal>x86</literal>) instruction set; This list "
4433"is use when fetching files and parsing package lists. The internal default "
4434"is always the native architecture (<literal>APT::Architecture</literal>) "
4435"and all foreign architectures it can retrieve by calling <command>dpkg "
4436"--print-foreign-architectures</command>."
c77d6597
MV
4437msgstr ""
4438
2a52e8c5 4439#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4440#: apt.conf.5.xml:167
2a52e8c5
DK
4441msgid "Default-Release"
4442msgstr ""
4443
4444#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4445#: apt.conf.5.xml:168
2a52e8c5
DK
4446msgid ""
4447"Default release to install packages from if more than one version "
4448"available. Contains release name, codename or release version. Examples: "
b6c6b52f
MV
4449"'stable', 'testing', 'unstable', '&stable-codename;', '&testing-codename;', "
4450"'4.0', '5.0*'. See also &apt-preferences;."
2a52e8c5
DK
4451msgstr ""
4452
4453#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4454#: apt.conf.5.xml:173
2a52e8c5
DK
4455msgid "Ignore-Hold"
4456msgstr ""
4457
4458#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4459#: apt.conf.5.xml:174
2a52e8c5
DK
4460msgid ""
4461"Ignore Held packages; This global option causes the problem resolver to "
4462"ignore held packages in its decision making."
4463msgstr ""
4464
4465#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4466#: apt.conf.5.xml:178
2a52e8c5
DK
4467msgid "Clean-Installed"
4468msgstr ""
4469
4470#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4471#: apt.conf.5.xml:179
2a52e8c5
DK
4472msgid ""
4473"Defaults to on. When turned on the autoclean feature will remove any "
4474"packages which can no longer be downloaded from the cache. If turned off "
4475"then packages that are locally installed are also excluded from cleaning - "
4476"but note that APT provides no direct means to reinstall them."
4477msgstr ""
4478
4479#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4480#: apt.conf.5.xml:185
2a52e8c5
DK
4481msgid "Immediate-Configure"
4482msgstr ""
4483
4484#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4485#: apt.conf.5.xml:186
2a52e8c5 4486msgid ""
43be0ac4
MV
4487"Defaults to on which will cause APT to install essential and important "
4488"packages as fast as possible in the install/upgrade operation. This is done "
4489"to limit the effect of a failing &dpkg; call: If this option is disabled APT "
4490"does treat an important package in the same way as an extra package: Between "
4491"the unpacking of the important package A and his configuration can then be "
4492"many other unpack or configuration calls, e.g. for package B which has no "
4493"relation to A, but causes the dpkg call to fail (e.g. because maintainer "
4494"script of package B generates an error) which results in a system state in "
4495"which package A is unpacked but unconfigured - each package depending on A "
4496"is now no longer guaranteed to work as their dependency on A is not longer "
4497"satisfied. The immediate configuration marker is also applied to all "
4498"dependencies which can generate a problem if the dependencies e.g. form a "
4499"circle as a dependency with the immediate flag is comparable with a "
4500"Pre-Dependency. So in theory it is possible that APT encounters a situation "
b39c1859 4501"in which it is unable to perform immediate configuration, errors out and "
43be0ac4 4502"refers to this option so the user can deactivate the immediate configuration "
b39c1859 4503"temporarily to be able to perform an install/upgrade again. Note the use of "
43be0ac4 4504"the word \"theory\" here as this problem was only encountered by now in real "
b39c1859
MV
4505"world a few times in non-stable distribution versions and was caused by "
4506"wrong dependencies of the package in question or by a system in an already "
4507"broken state, so you should not blindly disable this option as the mentioned "
43be0ac4
MV
4508"scenario above is not the only problem immediate configuration can help to "
4509"prevent in the first place. Before a big operation like "
4510"<literal>dist-upgrade</literal> is run with this option disabled it should "
4511"be tried to explicitly <literal>install</literal> the package APT is unable "
4512"to configure immediately, but please make sure to report your problem also "
4513"to your distribution and to the APT team with the buglink below so they can "
4514"work on improving or correcting the upgrade process."
2a52e8c5
DK
4515msgstr ""
4516
4517#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4518#: apt.conf.5.xml:208
2a52e8c5
DK
4519msgid "Force-LoopBreak"
4520msgstr ""
4521
4522#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4523#: apt.conf.5.xml:209
2a52e8c5
DK
4524msgid ""
4525"Never Enable this option unless you -really- know what you are doing. It "
4526"permits APT to temporarily remove an essential package to break a "
4527"Conflicts/Conflicts or Conflicts/Pre-Depend loop between two essential "
4528"packages. SUCH A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option "
4529"will work if the essential packages are not tar, gzip, libc, dpkg, bash or "
4530"anything that those packages depend on."
4531msgstr ""
4532
4533#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4534#: apt.conf.5.xml:217
b6c6b52f 4535msgid "Cache-Start, Cache-Grow and Cache-Limit"
2a52e8c5
DK
4536msgstr ""
4537
4538#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4539#: apt.conf.5.xml:218
2a52e8c5 4540msgid ""
b6c6b52f
MV
4541"APT uses since version 0.7.26 a resizable memory mapped cache file to store "
4542"the 'available' information. <literal>Cache-Start</literal> acts as a hint "
4543"to which size the Cache will grow and is therefore the amount of memory APT "
4544"will request at startup. The default value is 20971520 bytes (~20 MB). Note "
c086ac18
DK
4545"that this amount of space needs to be available for APT otherwise it will "
4546"likely fail ungracefully, so for memory restricted devices this value should "
4547"be lowered while on systems with a lot of configured sources it should be "
4548"increased. <literal>Cache-Grow</literal> defines in bytes with the default "
4549"of 1048576 (~1 MB) how much the Cache size will be increased in the event "
4550"the space defined by <literal>Cache-Start</literal> is not enough. These "
4551"value will be applied again and again until either the cache is big enough "
4552"to store all information or the size of the cache reaches the "
b6c6b52f
MV
4553"<literal>Cache-Limit</literal>. The default of "
4554"<literal>Cache-Limit</literal> is 0 which stands for no limit. If "
4555"<literal>Cache-Grow</literal> is set to 0 the automatic grow of the cache is "
4556"disabled."
2a52e8c5
DK
4557msgstr ""
4558
4559#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4560#: apt.conf.5.xml:233
2a52e8c5
DK
4561msgid "Build-Essential"
4562msgstr ""
4563
4564#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4565#: apt.conf.5.xml:234
2a52e8c5
DK
4566msgid "Defines which package(s) are considered essential build dependencies."
4567msgstr ""
4568
4569#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4570#: apt.conf.5.xml:237
2a52e8c5
DK
4571msgid "Get"
4572msgstr ""
4573
4574#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4575#: apt.conf.5.xml:238
2a52e8c5
DK
4576msgid ""
4577"The Get subsection controls the &apt-get; tool, please see its documentation "
4578"for more information about the options here."
4579msgstr ""
4580
4581#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4582#: apt.conf.5.xml:242
2a52e8c5
DK
4583msgid "Cache"
4584msgstr ""
4585
4586#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4587#: apt.conf.5.xml:243
2a52e8c5
DK
4588msgid ""
4589"The Cache subsection controls the &apt-cache; tool, please see its "
4590"documentation for more information about the options here."
4591msgstr ""
4592
4593#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 4594#: apt.conf.5.xml:247
2a52e8c5
DK
4595msgid "CDROM"
4596msgstr ""
4597
4598#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 4599#: apt.conf.5.xml:248
2a52e8c5
DK
4600msgid ""
4601"The CDROM subsection controls the &apt-cdrom; tool, please see its "
4602"documentation for more information about the options here."
4603msgstr ""
4604
4605#. type: Content of: <refentry><refsect1><title>
c086ac18 4606#: apt.conf.5.xml:254
2a52e8c5
DK
4607msgid "The Acquire Group"
4608msgstr ""
4609
4610#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4611#: apt.conf.5.xml:259
b6c6b52f
MV
4612msgid "Check-Valid-Until"
4613msgstr ""
4614
4615#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4616#: apt.conf.5.xml:260
b6c6b52f
MV
4617msgid ""
4618"Security related option defaulting to true as an expiring validation for a "
4619"Release file prevents longtime replay attacks and can e.g. also help users "
4620"to identify no longer updated mirrors - but the feature depends on the "
4621"correctness of the time on the user system. Archive maintainers are "
4622"encouraged to create Release files with the <literal>Valid-Until</literal> "
4623"header, but if they don't or a stricter value is volitional the following "
4624"<literal>Max-ValidTime</literal> option can be used."
4625msgstr ""
4626
4627#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4628#: apt.conf.5.xml:270
b6c6b52f
MV
4629msgid "Max-ValidTime"
4630msgstr ""
4631
4632#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4633#: apt.conf.5.xml:271
c77d6597
MV
4634msgid ""
4635"Seconds the Release file should be considered valid after it was created "
4636"(indicated by the <literal>Date</literal> header). If the Release file "
4637"itself includes a <literal>Valid-Until</literal> header the earlier date of "
4638"the two is used as the expiration date. The default value is "
c086ac18 4639"<literal>0</literal> which stands for \"for ever valid\". Archive specific "
c77d6597
MV
4640"settings can be made by appending the label of the archive to the option "
4641"name."
4642msgstr ""
4643
4644#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4645#: apt.conf.5.xml:281
c77d6597
MV
4646msgid "Min-ValidTime"
4647msgstr ""
4648
4649#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4650#: apt.conf.5.xml:282
b6c6b52f 4651msgid ""
c77d6597
MV
4652"Minimum of seconds the Release file should be considered valid after it was "
4653"created (indicated by the <literal>Date</literal> header). Use this if you "
4654"need to use a seldomly updated (local) mirror of a more regular updated "
4655"archive with a <literal>Valid-Until</literal> header instead of completely "
4656"disabling the expiration date checking. Archive specific settings can and "
4657"should be used by appending the label of the archive to the option name."
b6c6b52f
MV
4658msgstr ""
4659
4660#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4661#: apt.conf.5.xml:292
2a52e8c5
DK
4662msgid "PDiffs"
4663msgstr ""
4664
4665#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4666#: apt.conf.5.xml:293
2a52e8c5
DK
4667msgid ""
4668"Try to download deltas called <literal>PDiffs</literal> for Packages or "
4669"Sources files instead of downloading whole ones. True by default."
4670msgstr ""
4671
b39c1859 4672#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4673#: apt.conf.5.xml:296
b39c1859
MV
4674msgid ""
4675"Two sub-options to limit the use of PDiffs are also available: With "
4676"<literal>FileLimit</literal> can be specified how many PDiff files are "
c086ac18 4677"downloaded at most to update a file. <literal>SizeLimit</literal> on the "
c77d6597 4678"other hand is the maximum percentage of the size of all patches compared to "
b39c1859
MV
4679"the size of the targeted file. If one of these limits is exceeded the "
4680"complete file is downloaded instead of the patches."
4681msgstr ""
4682
2a52e8c5 4683#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4684#: apt.conf.5.xml:305
2a52e8c5
DK
4685msgid "Queue-Mode"
4686msgstr ""
4687
4688#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4689#: apt.conf.5.xml:306
2a52e8c5
DK
4690msgid ""
4691"Queuing mode; <literal>Queue-Mode</literal> can be one of "
4692"<literal>host</literal> or <literal>access</literal> which determines how "
4693"APT parallelizes outgoing connections. <literal>host</literal> means that "
4694"one connection per target host will be opened, <literal>access</literal> "
4695"means that one connection per URI type will be opened."
4696msgstr ""
4697
4698#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4699#: apt.conf.5.xml:313
2a52e8c5
DK
4700msgid "Retries"
4701msgstr ""
4702
4703#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4704#: apt.conf.5.xml:314
2a52e8c5
DK
4705msgid ""
4706"Number of retries to perform. If this is non-zero APT will retry failed "
4707"files the given number of times."
4708msgstr ""
4709
4710#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4711#: apt.conf.5.xml:318
2a52e8c5
DK
4712msgid "Source-Symlinks"
4713msgstr ""
4714
4715#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4716#: apt.conf.5.xml:319
2a52e8c5
DK
4717msgid ""
4718"Use symlinks for source archives. If set to true then source archives will "
4719"be symlinked when possible instead of copying. True is the default."
4720msgstr ""
4721
4722#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4723#: apt.conf.5.xml:323 sources.list.5.xml:160
2a52e8c5
DK
4724msgid "http"
4725msgstr ""
4726
4727#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4728#: apt.conf.5.xml:324
2a52e8c5
DK
4729msgid ""
4730"HTTP URIs; http::Proxy is the default http proxy to use. It is in the "
4731"standard form of <literal>http://[[user][:pass]@]host[:port]/</literal>. Per "
4732"host proxies can also be specified by using the form "
4733"<literal>http::Proxy::&lt;host&gt;</literal> with the special keyword "
bcf91c1b
DK
4734"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
4735"settings is specified, <envar>http_proxy</envar> environment variable will "
4736"be used."
2a52e8c5
DK
4737msgstr ""
4738
4739#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4740#: apt.conf.5.xml:332
2a52e8c5
DK
4741msgid ""
4742"Three settings are provided for cache control with HTTP/1.1 compliant proxy "
4743"caches. <literal>No-Cache</literal> tells the proxy to not use its cached "
4744"response under any circumstances, <literal>Max-Age</literal> is sent only "
4745"for index files and tells the cache to refresh its object if it is older "
4746"than the given number of seconds. Debian updates its index files daily so "
4747"the default is 1 day. <literal>No-Store</literal> specifies that the cache "
4748"should never store this request, it is only set for archive files. This may "
4749"be useful to prevent polluting a proxy cache with very large .deb "
4750"files. Note: Squid 2.0.2 does not support any of these options."
4751msgstr ""
4752
4753#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4754#: apt.conf.5.xml:342 apt.conf.5.xml:408
2a52e8c5
DK
4755msgid ""
4756"The option <literal>timeout</literal> sets the timeout timer used by the "
4757"method, this applies to all things including connection timeout and data "
4758"timeout."
4759msgstr ""
4760
4761#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4762#: apt.conf.5.xml:345
2a52e8c5 4763msgid ""
c086ac18
DK
4764"The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
4765"enabled HTTP pipeling (RFC 2616 section 8.1.2.2) which can be beneficial "
4766"e.g. on high-latency connections. It specifies how many requests are send in "
4767"a pipeline. Previous APT versions had a default of 10 for this setting, but "
4768"the default value is now 0 (= disabled) to avoid problems with the "
4769"ever-growing amount of webservers and proxies which choose to not conform to "
4770"the HTTP/1.1 specification."
2a52e8c5
DK
4771msgstr ""
4772
63fc5550 4773#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18
DK
4774#: apt.conf.5.xml:352
4775msgid ""
4776"<literal>Acquire::http::AllowRedirect</literal> controls if APT will follow "
4777"redirects, which is enabled by default."
4778msgstr ""
4779
4780#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4781#: apt.conf.5.xml:355
63fc5550
DK
4782msgid ""
4783"The used bandwidth can be limited with "
4784"<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in "
4785"kilobyte. The default value is 0 which deactivates the limit and tries uses "
01f2b54d 4786"as much as possible of the bandwidth (Note that this option implicit "
63fc5550
DK
4787"deactivates the download from multiple servers at the same time.)"
4788msgstr ""
4789
bf5c3fe8 4790#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4791#: apt.conf.5.xml:360
bf5c3fe8
MV
4792msgid ""
4793"<literal>Acquire::http::User-Agent</literal> can be used to set a different "
4794"User-Agent for the http download method as some proxies allow access for "
4795"clients only if the client uses a known identifier."
4796msgstr ""
4797
2a52e8c5 4798#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4799#: apt.conf.5.xml:366
2a52e8c5
DK
4800msgid "https"
4801msgstr ""
4802
4803#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4804#: apt.conf.5.xml:367
2a52e8c5 4805msgid ""
bf5c3fe8
MV
4806"HTTPS URIs. Cache-control, Timeout, AllowRedirect, Dl-Limit and proxy "
4807"options are the same as for <literal>http</literal> method and will also "
4808"default to the options from the <literal>http</literal> method if they are "
4809"not explicitly set for https. <literal>Pipeline-Depth</literal> option is "
2a52e8c5
DK
4810"not supported yet."
4811msgstr ""
4812
4813#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4814#: apt.conf.5.xml:373
2a52e8c5
DK
4815msgid ""
4816"<literal>CaInfo</literal> suboption specifies place of file that holds info "
4817"about trusted certificates. <literal>&lt;host&gt;::CaInfo</literal> is "
4818"corresponding per-host option. <literal>Verify-Peer</literal> boolean "
4819"suboption determines whether verify server's host certificate against "
4820"trusted certificates or not. <literal>&lt;host&gt;::Verify-Peer</literal> "
4821"is corresponding per-host option. <literal>Verify-Host</literal> boolean "
4822"suboption determines whether verify server's hostname or not. "
4823"<literal>&lt;host&gt;::Verify-Host</literal> is corresponding per-host "
4824"option. <literal>SslCert</literal> determines what certificate to use for "
4825"client authentication. <literal>&lt;host&gt;::SslCert</literal> is "
4826"corresponding per-host option. <literal>SslKey</literal> determines what "
4827"private key to use for client "
4828"authentication. <literal>&lt;host&gt;::SslKey</literal> is corresponding "
4829"per-host option. <literal>SslForceVersion</literal> overrides default SSL "
4830"version to use. Can contain 'TLSv1' or 'SSLv3' string. "
4831"<literal>&lt;host&gt;::SslForceVersion</literal> is corresponding per-host "
4832"option."
4833msgstr ""
4834
4835#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4836#: apt.conf.5.xml:391 sources.list.5.xml:171
2a52e8c5
DK
4837msgid "ftp"
4838msgstr ""
4839
4840#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4841#: apt.conf.5.xml:392
bcf91c1b
DK
4842msgid ""
4843"FTP URIs; ftp::Proxy is the default ftp proxy to use. It is in the standard "
4844"form of <literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host "
4845"proxies can also be specified by using the form "
4846"<literal>ftp::Proxy::&lt;host&gt;</literal> with the special keyword "
4847"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
4848"settings is specified, <envar>ftp_proxy</envar> environment variable will be "
4849"used. To use a ftp proxy you will have to set the "
4850"<literal>ftp::ProxyLogin</literal> script in the configuration file. This "
4851"entry specifies the commands to send to tell the proxy server what to "
4852"connect to. Please see &configureindex; for an example of how to do "
4853"this. The substitution variables available are "
2a52e8c5
DK
4854"<literal>$(PROXY_USER)</literal> <literal>$(PROXY_PASS)</literal> "
4855"<literal>$(SITE_USER)</literal> <literal>$(SITE_PASS)</literal> "
4856"<literal>$(SITE)</literal> and <literal>$(SITE_PORT)</literal> Each is taken "
4857"from it's respective URI component."
4858msgstr ""
4859
4860#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4861#: apt.conf.5.xml:411
2a52e8c5
DK
4862msgid ""
4863"Several settings are provided to control passive mode. Generally it is safe "
4864"to leave passive mode on, it works in nearly every environment. However "
4865"some situations require that passive mode be disabled and port mode ftp used "
4866"instead. This can be done globally, for connections that go through a proxy "
4867"or for a specific host (See the sample config file for examples)."
4868msgstr ""
4869
4870#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4871#: apt.conf.5.xml:418
2a52e8c5
DK
4872msgid ""
4873"It is possible to proxy FTP over HTTP by setting the "
4874"<envar>ftp_proxy</envar> environment variable to a http url - see the "
4875"discussion of the http method above for syntax. You cannot set this in the "
4876"configuration file and it is not recommended to use FTP over HTTP due to its "
4877"low efficiency."
4878msgstr ""
4879
4880#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4881#: apt.conf.5.xml:423
2a52e8c5
DK
4882msgid ""
4883"The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
4884"<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
4885"false, which means these commands are only used if the control connection is "
4886"IPv6. Setting this to true forces their use even on IPv4 connections. Note "
4887"that most FTP servers do not support RFC2428."
4888msgstr ""
4889
4890#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4891#: apt.conf.5.xml:430 sources.list.5.xml:153
2a52e8c5
DK
4892msgid "cdrom"
4893msgstr ""
4894
4895#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
c086ac18 4896#: apt.conf.5.xml:436
2a52e8c5 4897#, no-wrap
82cb5862 4898msgid "/cdrom/::Mount \"foo\";"
2a52e8c5
DK
4899msgstr ""
4900
4901#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4902#: apt.conf.5.xml:431
2a52e8c5
DK
4903msgid ""
4904"CDROM URIs; the only setting for CDROM URIs is the mount point, "
4905"<literal>cdrom::Mount</literal> which must be the mount point for the CDROM "
4906"drive as specified in <filename>/etc/fstab</filename>. It is possible to "
4907"provide alternate mount and unmount commands if your mount point cannot be "
4908"listed in the fstab (such as an SMB mount and old mount packages). The "
4909"syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
4910"cdrom block. It is important to have the trailing slash. Unmount commands "
4911"can be specified using UMount."
4912msgstr ""
4913
4914#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4915#: apt.conf.5.xml:441
2a52e8c5
DK
4916msgid "gpgv"
4917msgstr ""
4918
4919#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4920#: apt.conf.5.xml:442
2a52e8c5
DK
4921msgid ""
4922"GPGV URIs; the only option for GPGV URIs is the option to pass additional "
4923"parameters to gpgv. <literal>gpgv::Options</literal> Additional options "
4924"passed to gpgv."
4925msgstr ""
4926
bcf91c1b 4927#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 4928#: apt.conf.5.xml:447
bcf91c1b
DK
4929msgid "CompressionTypes"
4930msgstr ""
4931
4932#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
c086ac18 4933#: apt.conf.5.xml:453
bcf91c1b
DK
4934#, no-wrap
4935msgid ""
4936"Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> "
4937"\"<replaceable>Methodname</replaceable>\";"
4938msgstr ""
4939
4940#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4941#: apt.conf.5.xml:448
bcf91c1b
DK
4942msgid ""
4943"List of compression types which are understood by the acquire methods. "
4944"Files like <filename>Packages</filename> can be available in various "
4945"compression formats. Per default the acquire methods can decompress "
4946"<command>bzip2</command>, <command>lzma</command> and "
4947"<command>gzip</command> compressed files, with this setting more formats can "
4948"be added on the fly or the used method can be changed. The syntax for this "
4949"is: <placeholder type=\"synopsis\" id=\"0\"/>"
4950msgstr ""
4951
4952#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
c086ac18 4953#: apt.conf.5.xml:458
bcf91c1b
DK
4954#, no-wrap
4955msgid "Acquire::CompressionTypes::Order:: \"gz\";"
4956msgstr ""
4957
4958#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
c086ac18 4959#: apt.conf.5.xml:461
bcf91c1b
DK
4960#, no-wrap
4961msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
4962msgstr ""
4963
4964#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4965#: apt.conf.5.xml:454
bcf91c1b
DK
4966msgid ""
4967"Also the <literal>Order</literal> subgroup can be used to define in which "
4968"order the acquire system will try to download the compressed files. The "
4969"acquire system will try the first and proceed with the next compression type "
4970"in this list on error, so to prefer one over the other type simple add the "
4971"preferred type at first - not already added default types will be added at "
4972"run time to the end of the list, so e.g. <placeholder type=\"synopsis\" "
4973"id=\"0\"/> can be used to prefer <command>gzip</command> compressed files "
4974"over <command>bzip2</command> and <command>lzma</command>. If "
4975"<command>lzma</command> should be preferred over <command>gzip</command> and "
4976"<command>bzip2</command> the configure setting should look like this "
4977"<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
4978"<literal>bz2</literal> explicit to the list as it will be added automatic."
4979msgstr ""
4980
4981#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
c086ac18 4982#: apt.conf.5.xml:465
bcf91c1b
DK
4983#, no-wrap
4984msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
4985msgstr ""
4986
4987#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 4988#: apt.conf.5.xml:463
bcf91c1b
DK
4989msgid ""
4990"Note that at run time the "
4991"<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be "
4992"checked: If this setting exists the method will only be used if this file "
c77d6597 4993"exists, e.g. for the bzip2 method (the inbuilt) setting is: <placeholder "
bcf91c1b 4994"type=\"literallayout\" id=\"0\"/> Note also that list entries specified on "
01f2b54d 4995"the command line will be added at the end of the list specified in the "
bcf91c1b 4996"configuration files, but before the default entries. To prefer a type in "
30549c0c
MV
4997"this case over the ones specified in the configuration files you can set the "
4998"option direct - not in list style. This will not override the defined list, "
4999"it will only prefix the list with this type."
bcf91c1b
DK
5000msgstr ""
5001
5002#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 5003#: apt.conf.5.xml:470
bcf91c1b 5004msgid ""
30549c0c 5005"The special type <literal>uncompressed</literal> can be used to give "
c77d6597 5006"uncompressed files a preference, but note that most archives don't provide "
30549c0c 5007"uncompressed files so this is mostly only useable for local mirrors."
bcf91c1b
DK
5008msgstr ""
5009
bf5c3fe8 5010#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 5011#: apt.conf.5.xml:475
de2c243c 5012msgid "GzipIndexes"
5013msgstr ""
5014
5015#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 5016#: apt.conf.5.xml:477
de2c243c 5017msgid ""
5018"When downloading <literal>gzip</literal> compressed indexes (Packages, "
5019"Sources, or Translations), keep them gzip compressed locally instead of "
5020"unpacking them. This saves quite a lot of disk space at the expense of more "
5021"CPU requirements when building the local package caches. False by default."
5022msgstr ""
5023
5024#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c086ac18 5025#: apt.conf.5.xml:484
bf5c3fe8
MV
5026msgid "Languages"
5027msgstr ""
5028
5029#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 5030#: apt.conf.5.xml:485
bf5c3fe8
MV
5031msgid ""
5032"The Languages subsection controls which <filename>Translation</filename> "
5033"files are downloaded and in which order APT tries to display the "
5034"Description-Translations. APT will try to display the first available "
b39c1859 5035"Description in the Language which is listed at first. Languages can be "
bf5c3fe8
MV
5036"defined with their short or long Languagecodes. Note that not all archives "
5037"provide <filename>Translation</filename> files for every Language - "
5038"especially the long Languagecodes are rare, so please inform you which ones "
5039"are available before you set here impossible values."
5040msgstr ""
5041
5042#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><programlisting>
c086ac18 5043#: apt.conf.5.xml:501
bf5c3fe8
MV
5044#, no-wrap
5045msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
5046msgstr ""
5047
5048#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c086ac18 5049#: apt.conf.5.xml:491
bf5c3fe8
MV
5050msgid ""
5051"The default list includes \"environment\" and "
5052"\"en\". \"<literal>environment</literal>\" has a special meaning here: It "
5053"will be replaced at runtime with the languagecodes extracted from the "
b39c1859 5054"<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
bf5c3fe8
MV
5055"that these codes are not included twice in the list. If "
5056"<literal>LC_MESSAGES</literal> is set to \"C\" only the "
5057"<filename>Translation-en</filename> file (if available) will be used. To "
5058"force apt to use no Translation file use the setting "
5059"<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is "
5060"another special meaning code which will stop the search for a fitting "
5061"<filename>Translation</filename> file. This can be used by the system "
5062"administrator to let APT know that it should download also this files "
b39c1859 5063"without actually use them if the environment doesn't specify this "
bf5c3fe8
MV
5064"languages. So the following example configuration will result in the order "
5065"\"en, de\" in an english and in \"de, en\" in a german localization. Note "
5066"that \"fr\" is downloaded, but not used if APT is not used in a french "
5067"localization, in such an environment the order would be \"fr, de, en\". "
5068"<placeholder type=\"programlisting\" id=\"0\"/>"
5069msgstr ""
5070
c086ac18
DK
5071#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5072#: apt.conf.5.xml:502
5073msgid ""
5074"Note: To prevent problems resulting from APT being executed in different "
5075"environments (e.g. by different users or by other programs) all Translation "
5076"files which are found in <filename>/var/lib/apt/lists/</filename> will be "
5077"added to the end of the list (after an implicit "
5078"\"<literal>none</literal>\")."
5079msgstr ""
5080
2a52e8c5 5081#. type: Content of: <refentry><refsect1><para>
c086ac18 5082#: apt.conf.5.xml:255
2a52e8c5
DK
5083msgid ""
5084"The <literal>Acquire</literal> group of options controls the download of "
5085"packages and the URI handlers. <placeholder type=\"variablelist\" "
5086"id=\"0\"/>"
5087msgstr ""
5088
5089#. type: Content of: <refentry><refsect1><title>
c086ac18 5090#: apt.conf.5.xml:513
2a52e8c5
DK
5091msgid "Directories"
5092msgstr ""
5093
5094#. type: Content of: <refentry><refsect1><para>
c086ac18 5095#: apt.conf.5.xml:515
2a52e8c5
DK
5096msgid ""
5097"The <literal>Dir::State</literal> section has directories that pertain to "
5098"local state information. <literal>lists</literal> is the directory to place "
5099"downloaded package lists in and <literal>status</literal> is the name of the "
5100"dpkg status file. <literal>preferences</literal> is the name of the APT "
c086ac18
DK
5101"<filename>preferences</filename> file. <literal>Dir::State</literal> "
5102"contains the default directory to prefix on all sub items if they do not "
5103"start with <filename>/</filename> or <filename>./</filename>."
2a52e8c5
DK
5104msgstr ""
5105
5106#. type: Content of: <refentry><refsect1><para>
c086ac18 5107#: apt.conf.5.xml:522
2a52e8c5
DK
5108msgid ""
5109"<literal>Dir::Cache</literal> contains locations pertaining to local cache "
5110"information, such as the two package caches <literal>srcpkgcache</literal> "
5111"and <literal>pkgcache</literal> as well as the location to place downloaded "
5112"archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
5113"be turned off by setting their names to be blank. This will slow down "
5114"startup but save disk space. It is probably preferred to turn off the "
5115"pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the "
5116"default directory is contained in <literal>Dir::Cache</literal>"
5117msgstr ""
5118
5119#. type: Content of: <refentry><refsect1><para>
c086ac18 5120#: apt.conf.5.xml:531
2a52e8c5
DK
5121msgid ""
5122"<literal>Dir::Etc</literal> contains the location of configuration files, "
5123"<literal>sourcelist</literal> gives the location of the sourcelist and "
5124"<literal>main</literal> is the default configuration file (setting has no "
5125"effect, unless it is done from the config file specified by "
5126"<envar>APT_CONFIG</envar>)."
5127msgstr ""
5128
5129#. type: Content of: <refentry><refsect1><para>
c086ac18 5130#: apt.conf.5.xml:537
2a52e8c5
DK
5131msgid ""
5132"The <literal>Dir::Parts</literal> setting reads in all the config fragments "
5133"in lexical order from the directory specified. After this is done then the "
5134"main config file is loaded."
5135msgstr ""
5136
5137#. type: Content of: <refentry><refsect1><para>
c086ac18 5138#: apt.conf.5.xml:541
2a52e8c5
DK
5139msgid ""
5140"Binary programs are pointed to by "
5141"<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies "
5142"the location of the method handlers and <literal>gzip</literal>, "
bcf91c1b
DK
5143"<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, "
5144"<literal>apt-get</literal> <literal>dpkg-source</literal> "
5145"<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> "
5146"specify the location of the respective programs."
2a52e8c5
DK
5147msgstr ""
5148
5149#. type: Content of: <refentry><refsect1><para>
c086ac18 5150#: apt.conf.5.xml:549
2a52e8c5
DK
5151msgid ""
5152"The configuration item <literal>RootDir</literal> has a special meaning. If "
5153"set, all paths in <literal>Dir::</literal> will be relative to "
5154"<literal>RootDir</literal>, <emphasis>even paths that are specified "
5155"absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
5156"set to <filename>/tmp/staging</filename> and "
5157"<literal>Dir::State::status</literal> is set to "
5158"<filename>/var/lib/dpkg/status</filename>, then the status file will be "
5159"looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>."
5160msgstr ""
5161
b6c6b52f 5162#. type: Content of: <refentry><refsect1><para>
c086ac18 5163#: apt.conf.5.xml:562
b6c6b52f
MV
5164msgid ""
5165"The <literal>Ignore-Files-Silently</literal> list can be used to specify "
5166"which files APT should silently ignore while parsing the files in the "
5167"fragment directories. Per default a file which end with "
5168"<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> "
5169"or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last "
5170"default value these patterns can use regular expression syntax."
5171msgstr ""
5172
2a52e8c5 5173#. type: Content of: <refentry><refsect1><title>
c086ac18 5174#: apt.conf.5.xml:571
2a52e8c5
DK
5175msgid "APT in DSelect"
5176msgstr ""
5177
5178#. type: Content of: <refentry><refsect1><para>
c086ac18 5179#: apt.conf.5.xml:573
2a52e8c5
DK
5180msgid ""
5181"When APT is used as a &dselect; method several configuration directives "
5182"control the default behaviour. These are in the <literal>DSelect</literal> "
5183"section."
5184msgstr ""
5185
5186#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5187#: apt.conf.5.xml:577
2a52e8c5
DK
5188msgid "Clean"
5189msgstr ""
5190
5191#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5192#: apt.conf.5.xml:578
2a52e8c5
DK
5193msgid ""
5194"Cache Clean mode; this value may be one of always, prompt, auto, pre-auto "
5195"and never. always and prompt will remove all packages from the cache after "
5196"upgrading, prompt (the default) does so conditionally. auto removes only "
5197"those packages which are no longer downloadable (replaced with a new version "
5198"for instance). pre-auto performs this action before downloading new "
5199"packages."
5200msgstr ""
5201
5202#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5203#: apt.conf.5.xml:587
2a52e8c5
DK
5204msgid ""
5205"The contents of this variable is passed to &apt-get; as command line options "
5206"when it is run for the install phase."
5207msgstr ""
5208
5209#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5210#: apt.conf.5.xml:591
2a52e8c5
DK
5211msgid "Updateoptions"
5212msgstr ""
5213
5214#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5215#: apt.conf.5.xml:592
2a52e8c5
DK
5216msgid ""
5217"The contents of this variable is passed to &apt-get; as command line options "
5218"when it is run for the update phase."
5219msgstr ""
5220
5221#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5222#: apt.conf.5.xml:596
2a52e8c5
DK
5223msgid "PromptAfterUpdate"
5224msgstr ""
5225
5226#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5227#: apt.conf.5.xml:597
2a52e8c5
DK
5228msgid ""
5229"If true the [U]pdate operation in &dselect; will always prompt to continue. "
5230"The default is to prompt only on error."
5231msgstr ""
5232
5233#. type: Content of: <refentry><refsect1><title>
c086ac18 5234#: apt.conf.5.xml:603
2a52e8c5
DK
5235msgid "How APT calls dpkg"
5236msgstr ""
5237
5238#. type: Content of: <refentry><refsect1><para>
c086ac18 5239#: apt.conf.5.xml:604
2a52e8c5
DK
5240msgid ""
5241"Several configuration directives control how APT invokes &dpkg;. These are "
5242"in the <literal>DPkg</literal> section."
5243msgstr ""
5244
5245#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5246#: apt.conf.5.xml:609
2a52e8c5
DK
5247msgid ""
5248"This is a list of options to pass to dpkg. The options must be specified "
5249"using the list notation and each list item is passed as a single argument to "
5250"&dpkg;."
5251msgstr ""
5252
5253#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5254#: apt.conf.5.xml:614
2a52e8c5
DK
5255msgid "Pre-Invoke"
5256msgstr ""
5257
5258#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5259#: apt.conf.5.xml:614
2a52e8c5
DK
5260msgid "Post-Invoke"
5261msgstr ""
5262
5263#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5264#: apt.conf.5.xml:615
2a52e8c5
DK
5265msgid ""
5266"This is a list of shell commands to run before/after invoking &dpkg;. Like "
5267"<literal>options</literal> this must be specified in list notation. The "
5268"commands are invoked in order using <filename>/bin/sh</filename>, should any "
5269"fail APT will abort."
5270msgstr ""
5271
5272#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5273#: apt.conf.5.xml:621
2a52e8c5
DK
5274msgid "Pre-Install-Pkgs"
5275msgstr ""
5276
5277#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5278#: apt.conf.5.xml:622
2a52e8c5
DK
5279msgid ""
5280"This is a list of shell commands to run before invoking dpkg. Like "
5281"<literal>options</literal> this must be specified in list notation. The "
5282"commands are invoked in order using <filename>/bin/sh</filename>, should any "
5283"fail APT will abort. APT will pass to the commands on standard input the "
5284"filenames of all .deb files it is going to install, one per line."
5285msgstr ""
5286
5287#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5288#: apt.conf.5.xml:628
2a52e8c5
DK
5289msgid ""
5290"Version 2 of this protocol dumps more information, including the protocol "
5291"version, the APT configuration space and the packages, files and versions "
5292"being changed. Version 2 is enabled by setting "
5293"<literal>DPkg::Tools::options::cmd::Version</literal> to "
5294"2. <literal>cmd</literal> is a command given to "
5295"<literal>Pre-Install-Pkgs</literal>."
5296msgstr ""
5297
5298#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5299#: apt.conf.5.xml:635
2a52e8c5
DK
5300msgid "Run-Directory"
5301msgstr ""
5302
5303#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5304#: apt.conf.5.xml:636
2a52e8c5
DK
5305msgid ""
5306"APT chdirs to this directory before invoking dpkg, the default is "
5307"<filename>/</filename>."
5308msgstr ""
5309
5310#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5311#: apt.conf.5.xml:640
2a52e8c5
DK
5312msgid "Build-options"
5313msgstr ""
5314
5315#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5316#: apt.conf.5.xml:641
2a52e8c5
DK
5317msgid ""
5318"These options are passed to &dpkg-buildpackage; when compiling packages, the "
5319"default is to disable signing and produce all binaries."
5320msgstr ""
5321
3e9c4f70 5322#. type: Content of: <refentry><refsect1><refsect2><title>
c086ac18 5323#: apt.conf.5.xml:646
5e312de7 5324msgid "dpkg trigger usage (and related options)"
3e9c4f70
DK
5325msgstr ""
5326
5327#. type: Content of: <refentry><refsect1><refsect2><para>
c086ac18 5328#: apt.conf.5.xml:647
3e9c4f70
DK
5329msgid ""
5330"APT can call dpkg in a way so it can make aggressive use of triggers over "
30549c0c 5331"multiple calls of dpkg. Without further options dpkg will use triggers only "
5e312de7 5332"in between his own run. Activating these options can therefore decrease the "
3e9c4f70
DK
5333"time needed to perform the install / upgrade. Note that it is intended to "
5334"activate these options per default in the future, but as it changes the way "
01f2b54d 5335"APT calling dpkg drastically it needs a lot more testing. <emphasis>These "
3e9c4f70
DK
5336"options are therefore currently experimental and should not be used in "
5337"productive environments.</emphasis> Also it breaks the progress reporting so "
5338"all frontends will currently stay around half (or more) of the time in the "
5339"100% state while it actually configures all packages."
5340msgstr ""
5341
5342#. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
c086ac18 5343#: apt.conf.5.xml:662
3e9c4f70
DK
5344#, no-wrap
5345msgid ""
5346"DPkg::NoTriggers \"true\";\n"
5e312de7
DK
5347"PackageManager::Configure \"smart\";\n"
5348"DPkg::ConfigurePending \"true\";\n"
d5081aee 5349"DPkg::TriggersPending \"true\";"
3e9c4f70
DK
5350msgstr ""
5351
5352#. type: Content of: <refentry><refsect1><refsect2><para>
c086ac18 5353#: apt.conf.5.xml:656
3e9c4f70 5354msgid ""
01f2b54d 5355"Note that it is not guaranteed that APT will support these options or that "
5e312de7
DK
5356"these options will not cause (big) trouble in the future. If you have "
5357"understand the current risks and problems with these options, but are brave "
5358"enough to help testing them create a new configuration file and test a "
5359"combination of options. Please report any bugs, problems and improvements "
5360"you encounter and make sure to note which options you have used in your "
3e9c4f70 5361"reports. Asking dpkg for help could also be useful for debugging proposes, "
5e312de7
DK
5362"see e.g. <command>dpkg --audit</command>. A defensive option combination "
5363"would be <placeholder type=\"literallayout\" id=\"0\"/>"
3e9c4f70
DK
5364msgstr ""
5365
5366#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c086ac18 5367#: apt.conf.5.xml:668
5e312de7 5368msgid "DPkg::NoTriggers"
3e9c4f70
DK
5369msgstr ""
5370
5371#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c086ac18 5372#: apt.conf.5.xml:669
3e9c4f70 5373msgid ""
43be0ac4 5374"Add the no triggers flag to all dpkg calls (except the ConfigurePending "
3e9c4f70 5375"call). See &dpkg; if you are interested in what this actually means. In "
43be0ac4
MV
5376"short: dpkg will not run the triggers when this flag is present unless it is "
5377"explicitly called to do so in an extra call. Note that this option exists "
3e9c4f70
DK
5378"(undocumented) also in older apt versions with a slightly different meaning: "
5379"Previously these option only append --no-triggers to the configure calls to "
5380"dpkg - now apt will add these flag also to the unpack and remove calls."
5381msgstr ""
5382
5383#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c086ac18 5384#: apt.conf.5.xml:676
5e312de7 5385msgid "PackageManager::Configure"
3e9c4f70
DK
5386msgstr ""
5387
5388#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c086ac18 5389#: apt.conf.5.xml:677
5e312de7
DK
5390msgid ""
5391"Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
5392"and \"<literal>no</literal>\". \"<literal>all</literal>\" is the default "
5393"value and causes APT to configure all packages explicit. The "
5394"\"<literal>smart</literal>\" way is it to configure only packages which need "
5395"to be configured before another package can be unpacked (Pre-Depends) and "
5396"let the rest configure by dpkg with a call generated by the next "
5397"option. \"<literal>no</literal>\" on the other hand will not configure "
43be0ac4 5398"anything and totally rely on dpkg for configuration (which will at the "
5e312de7 5399"moment fail if a Pre-Depends is encountered). Setting this option to "
43be0ac4 5400"another than the all value will implicitly activate also the next option per "
5e312de7
DK
5401"default as otherwise the system could end in an unconfigured status which "
5402"could be unbootable!"
3e9c4f70
DK
5403msgstr ""
5404
5405#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c086ac18 5406#: apt.conf.5.xml:687
5e312de7 5407msgid "DPkg::ConfigurePending"
3e9c4f70
DK
5408msgstr ""
5409
5410#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c086ac18 5411#: apt.conf.5.xml:688
3e9c4f70
DK
5412msgid ""
5413"If this option is set apt will call <command>dpkg --configure "
5414"--pending</command> to let dpkg handle all required configurations and "
5e312de7
DK
5415"triggers. This option is activated automatic per default if the previous "
5416"option is not set to <literal>all</literal>, but deactivating could be "
5417"useful if you want to run APT multiple times in a row - e.g. in an "
43be0ac4
MV
5418"installer. In these sceneries you could deactivate this option in all but "
5419"the last run."
5e312de7
DK
5420msgstr ""
5421
5422#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c086ac18 5423#: apt.conf.5.xml:694
5e312de7
DK
5424msgid "DPkg::TriggersPending"
5425msgstr ""
5426
5427#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c086ac18 5428#: apt.conf.5.xml:695
5e312de7
DK
5429msgid ""
5430"Useful for <literal>smart</literal> configuration as a package which has "
a874991b
DK
5431"pending triggers is not considered as <literal>installed</literal> and dpkg "
5432"treats them as <literal>unpacked</literal> currently which is a dealbreaker "
5433"for Pre-Dependencies (see debbugs #526774). Note that this will process all "
5434"triggers, not only the triggers needed to configure this package."
5e312de7
DK
5435msgstr ""
5436
5437#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c086ac18 5438#: apt.conf.5.xml:700
5e312de7
DK
5439msgid "PackageManager::UnpackAll"
5440msgstr ""
5441
5442#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c086ac18 5443#: apt.conf.5.xml:701
5e312de7
DK
5444msgid ""
5445"As the configuration can be deferred to be done at the end by dpkg it can be "
5446"tried to order the unpack series only by critical needs, e.g. by "
5447"Pre-Depends. Default is true and therefore the \"old\" method of ordering in "
01f2b54d 5448"various steps by everything. While both method were present in earlier APT "
5e312de7
DK
5449"versions the <literal>OrderCritical</literal> method was unused, so this "
5450"method is very experimental and needs further improvements before becoming "
5451"really useful."
5452msgstr ""
5453
5454#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
c086ac18 5455#: apt.conf.5.xml:708
5e312de7
DK
5456msgid "OrderList::Score::Immediate"
5457msgstr ""
5458
5459#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
c086ac18 5460#: apt.conf.5.xml:716
5e312de7
DK
5461#, no-wrap
5462msgid ""
5463"OrderList::Score {\n"
5464"\tDelete 500;\n"
5465"\tEssential 200;\n"
5466"\tImmediate 10;\n"
5467"\tPreDepends 50;\n"
5468"};"
5469msgstr ""
5470
5471#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
c086ac18 5472#: apt.conf.5.xml:709
5e312de7
DK
5473msgid ""
5474"Essential packages (and there dependencies) should be configured immediately "
5475"after unpacking. It will be a good idea to do this quite early in the "
5476"upgrade process as these these configure calls require currently also "
5477"<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
5478"(which maybe not needed). Essentials get per default a high score but the "
01f2b54d 5479"immediate flag is relatively low (a package which has a Pre-Depends is "
5480"higher rated). These option and the others in the same group can be used to "
5481"change the scoring. The following example shows the settings with there "
5482"default values. <placeholder type=\"literallayout\" id=\"0\"/>"
3e9c4f70
DK
5483msgstr ""
5484
2a52e8c5 5485#. type: Content of: <refentry><refsect1><title>
c086ac18 5486#: apt.conf.5.xml:729
2a52e8c5
DK
5487msgid "Periodic and Archives options"
5488msgstr ""
5489
5490#. type: Content of: <refentry><refsect1><para>
c086ac18 5491#: apt.conf.5.xml:730
2a52e8c5
DK
5492msgid ""
5493"<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
5494"of options configure behavior of apt periodic updates, which is done by "
5495"<literal>/etc/cron.daily/apt</literal> script. See header of this script for "
5496"the brief documentation of these options."
5497msgstr ""
5498
5499#. type: Content of: <refentry><refsect1><title>
c086ac18 5500#: apt.conf.5.xml:738
2a52e8c5
DK
5501msgid "Debug options"
5502msgstr ""
5503
5504#. type: Content of: <refentry><refsect1><para>
c086ac18 5505#: apt.conf.5.xml:740
2a52e8c5
DK
5506msgid ""
5507"Enabling options in the <literal>Debug::</literal> section will cause "
5508"debugging information to be sent to the standard error stream of the program "
5509"utilizing the <literal>apt</literal> libraries, or enable special program "
5510"modes that are primarily useful for debugging the behavior of "
5511"<literal>apt</literal>. Most of these options are not interesting to a "
5512"normal user, but a few may be:"
5513msgstr ""
5514
5515#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
c086ac18 5516#: apt.conf.5.xml:751
2a52e8c5
DK
5517msgid ""
5518"<literal>Debug::pkgProblemResolver</literal> enables output about the "
5519"decisions made by <literal>dist-upgrade, upgrade, install, remove, "
5520"purge</literal>."
5521msgstr ""
5522
5523#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
c086ac18 5524#: apt.conf.5.xml:759
2a52e8c5
DK
5525msgid ""
5526"<literal>Debug::NoLocking</literal> disables all file locking. This can be "
5527"used to run some operations (for instance, <literal>apt-get -s "
5528"install</literal>) as a non-root user."
5529msgstr ""
5530
5531#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
c086ac18 5532#: apt.conf.5.xml:768
2a52e8c5
DK
5533msgid ""
5534"<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
5535"time that <literal>apt</literal> invokes &dpkg;."
5536msgstr ""
5537
5538#. TODO: provide a
5539#. motivating example, except I haven't a clue why you'd want
5540#. to do this.
5541#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
c086ac18 5542#: apt.conf.5.xml:776
2a52e8c5
DK
5543msgid ""
5544"<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
5545"in CDROM IDs."
5546msgstr ""
5547
5548#. type: Content of: <refentry><refsect1><para>
c086ac18 5549#: apt.conf.5.xml:786
2a52e8c5
DK
5550msgid "A full list of debugging options to apt follows."
5551msgstr ""
5552
5553#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5554#: apt.conf.5.xml:791
2a52e8c5
DK
5555msgid "<literal>Debug::Acquire::cdrom</literal>"
5556msgstr ""
5557
5558#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5559#: apt.conf.5.xml:795
2a52e8c5
DK
5560msgid "Print information related to accessing <literal>cdrom://</literal> sources."
5561msgstr ""
5562
5563#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5564#: apt.conf.5.xml:802
2a52e8c5
DK
5565msgid "<literal>Debug::Acquire::ftp</literal>"
5566msgstr ""
5567
5568#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5569#: apt.conf.5.xml:806
2a52e8c5
DK
5570msgid "Print information related to downloading packages using FTP."
5571msgstr ""
5572
5573#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5574#: apt.conf.5.xml:813
2a52e8c5
DK
5575msgid "<literal>Debug::Acquire::http</literal>"
5576msgstr ""
5577
5578#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5579#: apt.conf.5.xml:817
2a52e8c5
DK
5580msgid "Print information related to downloading packages using HTTP."
5581msgstr ""
5582
5583#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5584#: apt.conf.5.xml:824
2a52e8c5
DK
5585msgid "<literal>Debug::Acquire::https</literal>"
5586msgstr ""
5587
5588#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5589#: apt.conf.5.xml:828
2a52e8c5
DK
5590msgid "Print information related to downloading packages using HTTPS."
5591msgstr ""
5592
5593#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5594#: apt.conf.5.xml:835
2a52e8c5
DK
5595msgid "<literal>Debug::Acquire::gpgv</literal>"
5596msgstr ""
5597
5598#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5599#: apt.conf.5.xml:839
2a52e8c5
DK
5600msgid ""
5601"Print information related to verifying cryptographic signatures using "
5602"<literal>gpg</literal>."
5603msgstr ""
5604
5605#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5606#: apt.conf.5.xml:846
2a52e8c5
DK
5607msgid "<literal>Debug::aptcdrom</literal>"
5608msgstr ""
5609
5610#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5611#: apt.conf.5.xml:850
2a52e8c5
DK
5612msgid ""
5613"Output information about the process of accessing collections of packages "
5614"stored on CD-ROMs."
5615msgstr ""
5616
5617#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5618#: apt.conf.5.xml:857
2a52e8c5
DK
5619msgid "<literal>Debug::BuildDeps</literal>"
5620msgstr ""
5621
5622#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5623#: apt.conf.5.xml:860
2a52e8c5
DK
5624msgid "Describes the process of resolving build-dependencies in &apt-get;."
5625msgstr ""
5626
5627#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5628#: apt.conf.5.xml:867
2a52e8c5
DK
5629msgid "<literal>Debug::Hashes</literal>"
5630msgstr ""
5631
5632#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5633#: apt.conf.5.xml:870
2a52e8c5
DK
5634msgid ""
5635"Output each cryptographic hash that is generated by the "
5636"<literal>apt</literal> libraries."
5637msgstr ""
5638
5639#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5640#: apt.conf.5.xml:877
2a52e8c5
DK
5641msgid "<literal>Debug::IdentCDROM</literal>"
5642msgstr ""
5643
5644#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5645#: apt.conf.5.xml:880
2a52e8c5
DK
5646msgid ""
5647"Do not include information from <literal>statfs</literal>, namely the number "
5648"of used and free blocks on the CD-ROM filesystem, when generating an ID for "
5649"a CD-ROM."
5650msgstr ""
5651
5652#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5653#: apt.conf.5.xml:888
2a52e8c5
DK
5654msgid "<literal>Debug::NoLocking</literal>"
5655msgstr ""
5656
5657#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5658#: apt.conf.5.xml:891
2a52e8c5
DK
5659msgid ""
5660"Disable all file locking. For instance, this will allow two instances of "
5661"<quote><literal>apt-get update</literal></quote> to run at the same time."
5662msgstr ""
5663
5664#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5665#: apt.conf.5.xml:899
2a52e8c5
DK
5666msgid "<literal>Debug::pkgAcquire</literal>"
5667msgstr ""
5668
5669#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5670#: apt.conf.5.xml:903
2a52e8c5
DK
5671msgid "Log when items are added to or removed from the global download queue."
5672msgstr ""
5673
5674#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5675#: apt.conf.5.xml:910
2a52e8c5
DK
5676msgid "<literal>Debug::pkgAcquire::Auth</literal>"
5677msgstr ""
5678
5679#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5680#: apt.conf.5.xml:913
2a52e8c5
DK
5681msgid ""
5682"Output status messages and errors related to verifying checksums and "
5683"cryptographic signatures of downloaded files."
5684msgstr ""
5685
5686#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5687#: apt.conf.5.xml:920
2a52e8c5
DK
5688msgid "<literal>Debug::pkgAcquire::Diffs</literal>"
5689msgstr ""
5690
5691#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5692#: apt.conf.5.xml:923
2a52e8c5
DK
5693msgid ""
5694"Output information about downloading and applying package index list diffs, "
5695"and errors relating to package index list diffs."
5696msgstr ""
5697
5698#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5699#: apt.conf.5.xml:931
2a52e8c5
DK
5700msgid "<literal>Debug::pkgAcquire::RRed</literal>"
5701msgstr ""
5702
5703#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5704#: apt.conf.5.xml:935
2a52e8c5
DK
5705msgid ""
5706"Output information related to patching apt package lists when downloading "
5707"index diffs instead of full indices."
5708msgstr ""
5709
5710#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5711#: apt.conf.5.xml:942
2a52e8c5
DK
5712msgid "<literal>Debug::pkgAcquire::Worker</literal>"
5713msgstr ""
5714
5715#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5716#: apt.conf.5.xml:946
2a52e8c5
DK
5717msgid "Log all interactions with the sub-processes that actually perform downloads."
5718msgstr ""
5719
5720#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5721#: apt.conf.5.xml:953
2a52e8c5
DK
5722msgid "<literal>Debug::pkgAutoRemove</literal>"
5723msgstr ""
5724
5725#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5726#: apt.conf.5.xml:957
2a52e8c5
DK
5727msgid ""
5728"Log events related to the automatically-installed status of packages and to "
5729"the removal of unused packages."
5730msgstr ""
5731
5732#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5733#: apt.conf.5.xml:964
2a52e8c5
DK
5734msgid "<literal>Debug::pkgDepCache::AutoInstall</literal>"
5735msgstr ""
5736
5737#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5738#: apt.conf.5.xml:967
2a52e8c5
DK
5739msgid ""
5740"Generate debug messages describing which packages are being automatically "
5741"installed to resolve dependencies. This corresponds to the initial "
5742"auto-install pass performed in, e.g., <literal>apt-get install</literal>, "
5743"and not to the full <literal>apt</literal> dependency resolver; see "
5744"<literal>Debug::pkgProblemResolver</literal> for that."
5745msgstr ""
5746
5747#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5748#: apt.conf.5.xml:978
2a52e8c5
DK
5749msgid "<literal>Debug::pkgDepCache::Marker</literal>"
5750msgstr ""
5751
5752#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5753#: apt.conf.5.xml:981
2a52e8c5
DK
5754msgid ""
5755"Generate debug messages describing which package is marked as "
5756"keep/install/remove while the ProblemResolver does his work. Each addition "
5757"or deletion may trigger additional actions; they are shown indented two "
5758"additional space under the original entry. The format for each line is "
5759"<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
5760"<literal>MarkInstall</literal> followed by <literal>package-name &lt;a.b.c "
5761"-&gt; d.e.f | x.y.z&gt; (section)</literal> where <literal>a.b.c</literal> "
5762"is the current version of the package, <literal>d.e.f</literal> is the "
5763"version considered for installation and <literal>x.y.z</literal> is a newer "
5764"version, but not considered for installation (because of a low pin "
5765"score). The later two can be omitted if there is none or if it is the same "
5766"version as the installed. <literal>section</literal> is the name of the "
5767"section the package appears in."
5768msgstr ""
5769
5770#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5771#: apt.conf.5.xml:1000
2a52e8c5
DK
5772msgid "<literal>Debug::pkgInitConfig</literal>"
5773msgstr ""
5774
5775#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5776#: apt.conf.5.xml:1003
2a52e8c5
DK
5777msgid "Dump the default configuration to standard error on startup."
5778msgstr ""
5779
5780#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5781#: apt.conf.5.xml:1010
2a52e8c5
DK
5782msgid "<literal>Debug::pkgDPkgPM</literal>"
5783msgstr ""
5784
5785#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5786#: apt.conf.5.xml:1013
2a52e8c5
DK
5787msgid ""
5788"When invoking &dpkg;, output the precise command line with which it is being "
5789"invoked, with arguments separated by a single space character."
5790msgstr ""
5791
5792#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5793#: apt.conf.5.xml:1021
2a52e8c5
DK
5794msgid "<literal>Debug::pkgDPkgProgressReporting</literal>"
5795msgstr ""
5796
5797#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5798#: apt.conf.5.xml:1024
2a52e8c5
DK
5799msgid ""
5800"Output all the data received from &dpkg; on the status file descriptor and "
5801"any errors encountered while parsing it."
5802msgstr ""
5803
5804#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5805#: apt.conf.5.xml:1031
2a52e8c5
DK
5806msgid "<literal>Debug::pkgOrderList</literal>"
5807msgstr ""
5808
5809#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5810#: apt.conf.5.xml:1035
2a52e8c5
DK
5811msgid ""
5812"Generate a trace of the algorithm that decides the order in which "
5813"<literal>apt</literal> should pass packages to &dpkg;."
5814msgstr ""
5815
5816#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5817#: apt.conf.5.xml:1043
2a52e8c5
DK
5818msgid "<literal>Debug::pkgPackageManager</literal>"
5819msgstr ""
5820
5821#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5822#: apt.conf.5.xml:1047
2a52e8c5
DK
5823msgid "Output status messages tracing the steps performed when invoking &dpkg;."
5824msgstr ""
5825
5826#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5827#: apt.conf.5.xml:1054
2a52e8c5
DK
5828msgid "<literal>Debug::pkgPolicy</literal>"
5829msgstr ""
5830
5831#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5832#: apt.conf.5.xml:1058
2a52e8c5
DK
5833msgid "Output the priority of each package list on startup."
5834msgstr ""
5835
5836#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5837#: apt.conf.5.xml:1064
2a52e8c5
DK
5838msgid "<literal>Debug::pkgProblemResolver</literal>"
5839msgstr ""
5840
5841#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5842#: apt.conf.5.xml:1068
2a52e8c5
DK
5843msgid ""
5844"Trace the execution of the dependency resolver (this applies only to what "
5845"happens when a complex dependency problem is encountered)."
5846msgstr ""
5847
5848#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5849#: apt.conf.5.xml:1076
2a52e8c5
DK
5850msgid "<literal>Debug::pkgProblemResolver::ShowScores</literal>"
5851msgstr ""
5852
5853#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5854#: apt.conf.5.xml:1079
2a52e8c5
DK
5855msgid ""
5856"Display a list of all installed packages with their calculated score used by "
5857"the pkgProblemResolver. The description of the package is the same as "
5858"described in <literal>Debug::pkgDepCache::Marker</literal>"
5859msgstr ""
5860
5861#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
c086ac18 5862#: apt.conf.5.xml:1087
2a52e8c5
DK
5863msgid "<literal>Debug::sourceList</literal>"
5864msgstr ""
5865
5866#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
c086ac18 5867#: apt.conf.5.xml:1091
2a52e8c5
DK
5868msgid ""
5869"Print information about the vendors read from "
5870"<filename>/etc/apt/vendors.list</filename>."
5871msgstr ""
5872
5873#. type: Content of: <refentry><refsect1><para>
c086ac18 5874#: apt.conf.5.xml:1114
2a52e8c5
DK
5875msgid ""
5876"&configureindex; is a configuration file showing example values for all "
5877"possible options."
5878msgstr ""
5879
bcf91c1b 5880#. type: Content of: <refentry><refsect1><variablelist>
c086ac18 5881#: apt.conf.5.xml:1121
bcf91c1b
DK
5882msgid "&file-aptconf;"
5883msgstr ""
5884
2a52e8c5
DK
5885#. ? reading apt.conf
5886#. type: Content of: <refentry><refsect1><para>
c086ac18 5887#: apt.conf.5.xml:1126
2a52e8c5
DK
5888msgid "&apt-cache;, &apt-config;, &apt-preferences;."
5889msgstr ""
5890
5891#. The last update date
5892#. type: Content of: <refentry><refentryinfo>
0c1a7101 5893#: apt_preferences.5.xml:16
0fd68707 5894msgid "&apt-author.team; &apt-email; &apt-product; <date>16 February 2010</date>"
2a52e8c5
DK
5895msgstr ""
5896
5897#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 5898#: apt_preferences.5.xml:24 apt_preferences.5.xml:31
2a52e8c5
DK
5899msgid "apt_preferences"
5900msgstr ""
5901
5902#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 5903#: apt_preferences.5.xml:32
2a52e8c5
DK
5904msgid "Preference control file for APT"
5905msgstr ""
5906
5907#. type: Content of: <refentry><refsect1><para>
0c1a7101 5908#: apt_preferences.5.xml:37
2a52e8c5 5909msgid ""
bcf91c1b
DK
5910"The APT preferences file <filename>/etc/apt/preferences</filename> and the "
5911"fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
5912"can be used to control which versions of packages will be selected for "
2a52e8c5
DK
5913"installation."
5914msgstr ""
5915
5916#. type: Content of: <refentry><refsect1><para>
0c1a7101 5917#: apt_preferences.5.xml:42
2a52e8c5
DK
5918msgid ""
5919"Several versions of a package may be available for installation when the "
5920"&sources-list; file contains references to more than one distribution (for "
5921"example, <literal>stable</literal> and <literal>testing</literal>). APT "
5922"assigns a priority to each version that is available. Subject to dependency "
5923"constraints, <command>apt-get</command> selects the version with the highest "
5924"priority for installation. The APT preferences file overrides the "
5925"priorities that APT assigns to package versions by default, thus giving the "
5926"user control over which one is selected for installation."
5927msgstr ""
5928
5929#. type: Content of: <refentry><refsect1><para>
0c1a7101 5930#: apt_preferences.5.xml:52
2a52e8c5
DK
5931msgid ""
5932"Several instances of the same version of a package may be available when the "
5933"&sources-list; file contains references to more than one source. In this "
5934"case <command>apt-get</command> downloads the instance listed earliest in "
5935"the &sources-list; file. The APT preferences file does not affect the "
5936"choice of instance, only the choice of version."
5937msgstr ""
5938
b39c1859 5939#. type: Content of: <refentry><refsect1><para>
0c1a7101 5940#: apt_preferences.5.xml:59
b39c1859 5941msgid ""
0fd68707
MV
5942"Preferences are a strong power in the hands of a system administrator but "
5943"they can become also their biggest nightmare if used without care! APT will "
5944"not questioning the preferences so wrong settings will therefore lead to "
5945"uninstallable packages or wrong decisions while upgrading packages. Even "
5946"more problems will arise if multiply distribution releases are mixed without "
a7307a87
DK
5947"a good understanding of the following paragraphs. Packages included in a "
5948"specific release aren't tested in and therefore doesn't always work as "
5949"expected in older or newer releases or together with other packages from "
5950"different releases. You have been warned."
0fd68707
MV
5951msgstr ""
5952
5953#. type: Content of: <refentry><refsect1><para>
0c1a7101 5954#: apt_preferences.5.xml:70
0fd68707 5955msgid ""
b39c1859
MV
5956"Note that the files in the <filename>/etc/apt/preferences.d</filename> "
5957"directory are parsed in alphanumeric ascending order and need to obey the "
c77d6597
MV
5958"following naming convention: The files have either no or "
5959"\"<literal>pref</literal>\" as filename extension and only contain "
30549c0c
MV
5960"alphanumeric, hyphen (-), underscore (_) and period (.) characters. "
5961"Otherwise APT will print a notice that it has ignored a file if the file "
5962"doesn't match a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
5963"configuration list - in this case it will be silently ignored."
b39c1859
MV
5964msgstr ""
5965
5966#. type: Content of: <refentry><refsect1><refsect2><title>
30549c0c 5967#: apt_preferences.5.xml:79
2a52e8c5
DK
5968msgid "APT's Default Priority Assignments"
5969msgstr ""
5970
5971#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
30549c0c 5972#: apt_preferences.5.xml:94
2a52e8c5
DK
5973#, no-wrap
5974msgid ""
5975"<command>apt-get install -t testing "
5976"<replaceable>some-package</replaceable></command>\n"
5977msgstr ""
5978
5979#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
30549c0c 5980#: apt_preferences.5.xml:97
2a52e8c5
DK
5981#, no-wrap
5982msgid "APT::Default-Release \"stable\";\n"
5983msgstr ""
5984
5985#. type: Content of: <refentry><refsect1><refsect2><para>
30549c0c 5986#: apt_preferences.5.xml:81
2a52e8c5
DK
5987msgid ""
5988"If there is no preferences file or if there is no entry in the file that "
5989"applies to a particular version then the priority assigned to that version "
5990"is the priority of the distribution to which that version belongs. It is "
5991"possible to single out a distribution, \"the target release\", which "
5992"receives a higher priority than other distributions do by default. The "
5993"target release can be set on the <command>apt-get</command> command line or "
5994"in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
5995"that this has precedence over any general priority you set in the "
5996"<filename>/etc/apt/preferences</filename> file described later, but not over "
5997"specifically pinned packages. For example, <placeholder "
5998"type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" "
5999"id=\"1\"/>"
6000msgstr ""
6001
6002#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
30549c0c 6003#: apt_preferences.5.xml:106
b6c6b52f 6004msgid "priority 1"
2a52e8c5
DK
6005msgstr ""
6006
6007#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
30549c0c 6008#: apt_preferences.5.xml:107
b6c6b52f
MV
6009msgid ""
6010"to the versions coming from archives which in their "
782486e8
MV
6011"<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but "
6012"<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the debian "
6013"<literal>experimental</literal> archive."
b6c6b52f
MV
6014msgstr ""
6015
6016#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6017#: apt_preferences.5.xml:113
b6c6b52f
MV
6018msgid "priority 100"
6019msgstr ""
6020
6021#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8
MV
6022#: apt_preferences.5.xml:114
6023msgid ""
6024"to the version that is already installed (if any) and to the versions coming "
6025"from archives which in their <filename>Release</filename> files are marked "
6026"as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the debian "
6027"backports archive since <literal>squeeze-backports</literal>."
2a52e8c5
DK
6028msgstr ""
6029
6030#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6031#: apt_preferences.5.xml:121
2a52e8c5
DK
6032msgid "priority 500"
6033msgstr ""
6034
6035#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6036#: apt_preferences.5.xml:122
2a52e8c5
DK
6037msgid ""
6038"to the versions that are not installed and do not belong to the target "
6039"release."
6040msgstr ""
6041
6042#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6043#: apt_preferences.5.xml:126
2a52e8c5
DK
6044msgid "priority 990"
6045msgstr ""
6046
6047#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6048#: apt_preferences.5.xml:127
2a52e8c5
DK
6049msgid "to the versions that are not installed and belong to the target release."
6050msgstr ""
6051
6052#. type: Content of: <refentry><refsect1><refsect2><para>
30549c0c 6053#: apt_preferences.5.xml:101
2a52e8c5
DK
6054msgid ""
6055"If the target release has been specified then APT uses the following "
6056"algorithm to set the priorities of the versions of a package. Assign: "
6057"<placeholder type=\"variablelist\" id=\"0\"/>"
6058msgstr ""
6059
6060#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6061#: apt_preferences.5.xml:132
2a52e8c5
DK
6062msgid ""
6063"If the target release has not been specified then APT simply assigns "
6064"priority 100 to all installed package versions and priority 500 to all "
782486e8 6065"uninstalled package versions, except versions coming from archives which in "
b6c6b52f 6066"their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
782486e8
MV
6067"- these versions get the priority 1 or priority 100 if it is additionally "
6068"marked as \"ButAutomaticUpgrades: yes\"."
2a52e8c5
DK
6069msgstr ""
6070
6071#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6072#: apt_preferences.5.xml:139
2a52e8c5
DK
6073msgid ""
6074"APT then applies the following rules, listed in order of precedence, to "
6075"determine which version of a package to install."
6076msgstr ""
6077
6078#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6079#: apt_preferences.5.xml:142
2a52e8c5
DK
6080msgid ""
6081"Never downgrade unless the priority of an available version exceeds 1000. "
6082"(\"Downgrading\" is installing a less recent version of a package in place "
6083"of a more recent version. Note that none of APT's default priorities "
6084"exceeds 1000; such high priorities can only be set in the preferences file. "
6085"Note also that downgrading a package can be risky.)"
6086msgstr ""
6087
6088#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6089#: apt_preferences.5.xml:148
2a52e8c5
DK
6090msgid "Install the highest priority version."
6091msgstr ""
6092
6093#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6094#: apt_preferences.5.xml:149
2a52e8c5
DK
6095msgid ""
6096"If two or more versions have the same priority, install the most recent one "
6097"(that is, the one with the higher version number)."
6098msgstr ""
6099
6100#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6101#: apt_preferences.5.xml:152
2a52e8c5
DK
6102msgid ""
6103"If two or more versions have the same priority and version number but either "
6104"the packages differ in some of their metadata or the "
6105"<literal>--reinstall</literal> option is given, install the uninstalled one."
6106msgstr ""
6107
6108#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6109#: apt_preferences.5.xml:158
2a52e8c5
DK
6110msgid ""
6111"In a typical situation, the installed version of a package (priority 100) "
6112"is not as recent as one of the versions available from the sources listed in "
6113"the &sources-list; file (priority 500 or 990). Then the package will be "
6114"upgraded when <command>apt-get install "
6115"<replaceable>some-package</replaceable></command> or <command>apt-get "
6116"upgrade</command> is executed."
6117msgstr ""
6118
6119#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6120#: apt_preferences.5.xml:165
2a52e8c5
DK
6121msgid ""
6122"More rarely, the installed version of a package is <emphasis>more</emphasis> "
6123"recent than any of the other available versions. The package will not be "
6124"downgraded when <command>apt-get install "
6125"<replaceable>some-package</replaceable></command> or <command>apt-get "
6126"upgrade</command> is executed."
6127msgstr ""
6128
6129#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6130#: apt_preferences.5.xml:170
2a52e8c5
DK
6131msgid ""
6132"Sometimes the installed version of a package is more recent than the version "
6133"belonging to the target release, but not as recent as a version belonging to "
6134"some other distribution. Such a package will indeed be upgraded when "
6135"<command>apt-get install <replaceable>some-package</replaceable></command> "
6136"or <command>apt-get upgrade</command> is executed, because at least "
6137"<emphasis>one</emphasis> of the available versions has a higher priority "
6138"than the installed version."
6139msgstr ""
6140
6141#. type: Content of: <refentry><refsect1><refsect2><title>
782486e8 6142#: apt_preferences.5.xml:179
2a52e8c5
DK
6143msgid "The Effect of APT Preferences"
6144msgstr ""
6145
6146#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6147#: apt_preferences.5.xml:181
2a52e8c5
DK
6148msgid ""
6149"The APT preferences file allows the system administrator to control the "
6150"assignment of priorities. The file consists of one or more multi-line "
6151"records separated by blank lines. Records can have one of two forms, a "
6152"specific form and a general form."
6153msgstr ""
6154
6155#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6156#: apt_preferences.5.xml:187
2a52e8c5
DK
6157msgid ""
6158"The specific form assigns a priority (a \"Pin-Priority\") to one or more "
6159"specified packages and specified version or version range. For example, the "
6160"following record assigns a high priority to all versions of the "
6161"<filename>perl</filename> package whose version number begins with "
6162"\"<literal>5.8</literal>\". Multiple packages can be separated by spaces."
6163msgstr ""
6164
6165#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
782486e8 6166#: apt_preferences.5.xml:194
2a52e8c5
DK
6167#, no-wrap
6168msgid ""
6169"Package: perl\n"
6170"Pin: version 5.8*\n"
6171"Pin-Priority: 1001\n"
6172msgstr ""
6173
6174#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6175#: apt_preferences.5.xml:200
2a52e8c5
DK
6176msgid ""
6177"The general form assigns a priority to all of the package versions in a "
6178"given distribution (that is, to all the versions of packages that are listed "
6179"in a certain <filename>Release</filename> file) or to all of the package "
6180"versions coming from a particular Internet site, as identified by the site's "
6181"fully qualified domain name."
6182msgstr ""
6183
6184#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6185#: apt_preferences.5.xml:206
2a52e8c5
DK
6186msgid ""
6187"This general-form entry in the APT preferences file applies only to groups "
6188"of packages. For example, the following record assigns a high priority to "
6189"all package versions available from the local site."
6190msgstr ""
6191
6192#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
782486e8 6193#: apt_preferences.5.xml:211
2a52e8c5
DK
6194#, no-wrap
6195msgid ""
6196"Package: *\n"
6197"Pin: origin \"\"\n"
6198"Pin-Priority: 999\n"
6199msgstr ""
6200
6201#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6202#: apt_preferences.5.xml:216
2a52e8c5 6203msgid ""
b81dbe40
DK
6204"A note of caution: the keyword used here is \"<literal>origin</literal>\" "
6205"which can be used to match a hostname. The following record will assign a "
6206"high priority to all versions available from the server identified by the "
6207"hostname \"ftp.de.debian.org\""
6208msgstr ""
6209
6210#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
782486e8 6211#: apt_preferences.5.xml:220
b81dbe40
DK
6212#, no-wrap
6213msgid ""
6214"Package: *\n"
6215"Pin: origin \"ftp.de.debian.org\"\n"
6216"Pin-Priority: 999\n"
2a52e8c5
DK
6217msgstr ""
6218
6219#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6220#: apt_preferences.5.xml:224
b81dbe40
DK
6221msgid ""
6222"This should <emphasis>not</emphasis> be confused with the Origin of a "
6223"distribution as specified in a <filename>Release</filename> file. What "
6224"follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
6225"Internet address but an author or vendor name, such as \"Debian\" or "
6226"\"Ximian\"."
6227msgstr ""
6228
6229#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6230#: apt_preferences.5.xml:229
2a52e8c5
DK
6231msgid ""
6232"The following record assigns a low priority to all package versions "
6233"belonging to any distribution whose Archive name is "
6234"\"<literal>unstable</literal>\"."
6235msgstr ""
6236
6237#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
782486e8 6238#: apt_preferences.5.xml:233
2a52e8c5
DK
6239#, no-wrap
6240msgid ""
6241"Package: *\n"
6242"Pin: release a=unstable\n"
6243"Pin-Priority: 50\n"
6244msgstr ""
6245
6246#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6247#: apt_preferences.5.xml:238
2a52e8c5
DK
6248msgid ""
6249"The following record assigns a high priority to all package versions "
6250"belonging to any distribution whose Codename is "
b6c6b52f 6251"\"<literal>&testing-codename;</literal>\"."
2a52e8c5
DK
6252msgstr ""
6253
6254#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
782486e8 6255#: apt_preferences.5.xml:242
2a52e8c5
DK
6256#, no-wrap
6257msgid ""
6258"Package: *\n"
b6c6b52f 6259"Pin: release n=&testing-codename;\n"
2a52e8c5
DK
6260"Pin-Priority: 900\n"
6261msgstr ""
6262
6263#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6264#: apt_preferences.5.xml:247
2a52e8c5
DK
6265msgid ""
6266"The following record assigns a high priority to all package versions "
6267"belonging to any release whose Archive name is \"<literal>stable</literal>\" "
6268"and whose release Version number is \"<literal>3.0</literal>\"."
6269msgstr ""
6270
6271#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
782486e8 6272#: apt_preferences.5.xml:252
2a52e8c5
DK
6273#, no-wrap
6274msgid ""
6275"Package: *\n"
6276"Pin: release a=stable, v=3.0\n"
6277"Pin-Priority: 500\n"
6278msgstr ""
6279
6280#. type: Content of: <refentry><refsect1><refsect2><title>
782486e8
MV
6281#: apt_preferences.5.xml:262
6282msgid "Regular expressions and glob() syntax"
6283msgstr ""
6284
6285#. type: Content of: <refentry><refsect1><refsect2><para>
6286#: apt_preferences.5.xml:264
6287msgid ""
6288"APT also supports pinning by glob() expressions and regular expressions "
6289"surrounded by /. For example, the following example assigns the priority 500 "
6290"to all packages from experimental where the name starts with gnome (as a "
c77d6597
MV
6291"glob()-like expression) or contains the word kde (as a POSIX extended "
6292"regular expression surrounded by slashes)."
782486e8
MV
6293msgstr ""
6294
6295#. type: Content of: <refentry><refsect1><refsect2><programlisting>
6296#: apt_preferences.5.xml:273
6297#, no-wrap
6298msgid ""
6299"Package: gnome* /kde/\n"
6300"Pin: release n=experimental\n"
6301"Pin-Priority: 500\n"
6302msgstr ""
6303
6304#. type: Content of: <refentry><refsect1><refsect2><para>
6305#: apt_preferences.5.xml:279
6306msgid ""
6307"The rule for those expressions is that they can occur anywhere where a "
c77d6597 6308"string can occur. Thus, the following pin assigns the priority 990 to all "
782486e8
MV
6309"packages from a release starting with karmic."
6310msgstr ""
6311
6312#. type: Content of: <refentry><refsect1><refsect2><programlisting>
6313#: apt_preferences.5.xml:285
6314#, no-wrap
6315msgid ""
6316"Package: *\n"
6317"Pin: release n=karmic*\n"
6318"Pin-Priority: 990\n"
6319msgstr ""
6320
6321#. type: Content of: <refentry><refsect1><refsect2><literal>
6322#: apt_preferences.5.xml:290
6323msgid "Package"
6324msgstr ""
6325
6326#. type: Content of: <refentry><refsect1><refsect2><literal>
6327#: apt_preferences.5.xml:296
6328msgid "*"
6329msgstr ""
6330
6331#. type: Content of: <refentry><refsect1><refsect2><title>
6332#: apt_preferences.5.xml:306
2a52e8c5
DK
6333msgid "How APT Interprets Priorities"
6334msgstr ""
6335
6336#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6337#: apt_preferences.5.xml:314
2a52e8c5
DK
6338msgid "P &gt; 1000"
6339msgstr ""
6340
6341#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6342#: apt_preferences.5.xml:315
2a52e8c5
DK
6343msgid ""
6344"causes a version to be installed even if this constitutes a downgrade of the "
6345"package"
6346msgstr ""
6347
6348#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6349#: apt_preferences.5.xml:319
2a52e8c5
DK
6350msgid "990 &lt; P &lt;=1000"
6351msgstr ""
6352
6353#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6354#: apt_preferences.5.xml:320
2a52e8c5
DK
6355msgid ""
6356"causes a version to be installed even if it does not come from the target "
6357"release, unless the installed version is more recent"
6358msgstr ""
6359
6360#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6361#: apt_preferences.5.xml:325
2a52e8c5
DK
6362msgid "500 &lt; P &lt;=990"
6363msgstr ""
6364
6365#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6366#: apt_preferences.5.xml:326
2a52e8c5
DK
6367msgid ""
6368"causes a version to be installed unless there is a version available "
6369"belonging to the target release or the installed version is more recent"
6370msgstr ""
6371
6372#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6373#: apt_preferences.5.xml:331
2a52e8c5
DK
6374msgid "100 &lt; P &lt;=500"
6375msgstr ""
6376
6377#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6378#: apt_preferences.5.xml:332
2a52e8c5
DK
6379msgid ""
6380"causes a version to be installed unless there is a version available "
6381"belonging to some other distribution or the installed version is more recent"
6382msgstr ""
6383
6384#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6385#: apt_preferences.5.xml:337
2a52e8c5
DK
6386msgid "0 &lt; P &lt;=100"
6387msgstr ""
6388
6389#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6390#: apt_preferences.5.xml:338
2a52e8c5
DK
6391msgid ""
6392"causes a version to be installed only if there is no installed version of "
6393"the package"
6394msgstr ""
6395
6396#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6397#: apt_preferences.5.xml:342
2a52e8c5
DK
6398msgid "P &lt; 0"
6399msgstr ""
6400
6401#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6402#: apt_preferences.5.xml:343
2a52e8c5
DK
6403msgid "prevents the version from being installed"
6404msgstr ""
6405
6406#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6407#: apt_preferences.5.xml:309
2a52e8c5
DK
6408msgid ""
6409"Priorities (P) assigned in the APT preferences file must be positive or "
6410"negative integers. They are interpreted as follows (roughly speaking): "
6411"<placeholder type=\"variablelist\" id=\"0\"/>"
6412msgstr ""
6413
6414#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6415#: apt_preferences.5.xml:348
2a52e8c5
DK
6416msgid ""
6417"If any specific-form records match an available package version then the "
6418"first such record determines the priority of the package version. Failing "
6419"that, if any general-form records match an available package version then "
6420"the first such record determines the priority of the package version."
6421msgstr ""
6422
6423#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6424#: apt_preferences.5.xml:354
2a52e8c5
DK
6425msgid ""
6426"For example, suppose the APT preferences file contains the three records "
6427"presented earlier:"
6428msgstr ""
6429
6430#. type: Content of: <refentry><refsect1><refsect2><programlisting>
782486e8 6431#: apt_preferences.5.xml:358
2a52e8c5
DK
6432#, no-wrap
6433msgid ""
6434"Package: perl\n"
6435"Pin: version 5.8*\n"
6436"Pin-Priority: 1001\n"
6437"\n"
6438"Package: *\n"
6439"Pin: origin \"\"\n"
6440"Pin-Priority: 999\n"
6441"\n"
6442"Package: *\n"
6443"Pin: release unstable\n"
6444"Pin-Priority: 50\n"
6445msgstr ""
6446
6447#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6448#: apt_preferences.5.xml:371
2a52e8c5
DK
6449msgid "Then:"
6450msgstr ""
6451
6452#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6453#: apt_preferences.5.xml:373
2a52e8c5
DK
6454msgid ""
6455"The most recent available version of the <literal>perl</literal> package "
6456"will be installed, so long as that version's version number begins with "
6457"\"<literal>5.8</literal>\". If <emphasis>any</emphasis> 5.8* version of "
6458"<literal>perl</literal> is available and the installed version is 5.9*, then "
6459"<literal>perl</literal> will be downgraded."
6460msgstr ""
6461
6462#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6463#: apt_preferences.5.xml:378
2a52e8c5
DK
6464msgid ""
6465"A version of any package other than <literal>perl</literal> that is "
6466"available from the local system has priority over other versions, even "
6467"versions belonging to the target release."
6468msgstr ""
6469
6470#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
782486e8 6471#: apt_preferences.5.xml:382
2a52e8c5
DK
6472msgid ""
6473"A version of a package whose origin is not the local system but some other "
6474"site listed in &sources-list; and which belongs to an "
6475"<literal>unstable</literal> distribution is only installed if it is selected "
6476"for installation and no version of the package is already installed."
6477msgstr ""
6478
6479#. type: Content of: <refentry><refsect1><refsect2><title>
782486e8 6480#: apt_preferences.5.xml:392
2a52e8c5
DK
6481msgid "Determination of Package Version and Distribution Properties"
6482msgstr ""
6483
6484#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6485#: apt_preferences.5.xml:394
2a52e8c5
DK
6486msgid ""
6487"The locations listed in the &sources-list; file should provide "
6488"<filename>Packages</filename> and <filename>Release</filename> files to "
6489"describe the packages available at that location."
6490msgstr ""
6491
6492#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6493#: apt_preferences.5.xml:406
2a52e8c5
DK
6494msgid "the <literal>Package:</literal> line"
6495msgstr ""
6496
6497#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6498#: apt_preferences.5.xml:407
2a52e8c5
DK
6499msgid "gives the package name"
6500msgstr ""
6501
6502#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6503#: apt_preferences.5.xml:410 apt_preferences.5.xml:460
2a52e8c5
DK
6504msgid "the <literal>Version:</literal> line"
6505msgstr ""
6506
6507#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6508#: apt_preferences.5.xml:411
2a52e8c5
DK
6509msgid "gives the version number for the named package"
6510msgstr ""
6511
6512#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6513#: apt_preferences.5.xml:398
2a52e8c5
DK
6514msgid ""
6515"The <filename>Packages</filename> file is normally found in the directory "
6516"<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: "
6517"for example, "
6518"<filename>.../dists/stable/main/binary-i386/Packages</filename>. It "
6519"consists of a series of multi-line records, one for each package available "
6520"in that directory. Only two lines in each record are relevant for setting "
6521"APT priorities: <placeholder type=\"variablelist\" id=\"0\"/>"
6522msgstr ""
6523
6524#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6525#: apt_preferences.5.xml:427
2a52e8c5
DK
6526msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
6527msgstr ""
6528
6529#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6530#: apt_preferences.5.xml:428
2a52e8c5
DK
6531msgid ""
6532"names the archive to which all the packages in the directory tree belong. "
6533"For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
6534"that all of the packages in the directory tree below the parent of the "
6535"<filename>Release</filename> file are in a <literal>stable</literal> "
6536"archive. Specifying this value in the APT preferences file would require "
6537"the line:"
6538msgstr ""
6539
6540#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
782486e8 6541#: apt_preferences.5.xml:438
2a52e8c5
DK
6542#, no-wrap
6543msgid "Pin: release a=stable\n"
6544msgstr ""
6545
6546#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6547#: apt_preferences.5.xml:444
2a52e8c5
DK
6548msgid "the <literal>Codename:</literal> line"
6549msgstr ""
6550
6551#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6552#: apt_preferences.5.xml:445
2a52e8c5
DK
6553msgid ""
6554"names the codename to which all the packages in the directory tree belong. "
b6c6b52f
MV
6555"For example, the line \"Codename: &testing-codename;\" specifies that all of "
6556"the packages in the directory tree below the parent of the "
2a52e8c5 6557"<filename>Release</filename> file belong to a version named "
b6c6b52f
MV
6558"<literal>&testing-codename;</literal>. Specifying this value in the APT "
6559"preferences file would require the line:"
2a52e8c5
DK
6560msgstr ""
6561
6562#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
782486e8 6563#: apt_preferences.5.xml:454
2a52e8c5 6564#, no-wrap
b6c6b52f 6565msgid "Pin: release n=&testing-codename;\n"
2a52e8c5
DK
6566msgstr ""
6567
6568#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6569#: apt_preferences.5.xml:461
2a52e8c5
DK
6570msgid ""
6571"names the release version. For example, the packages in the tree might "
6572"belong to Debian GNU/Linux release version 3.0. Note that there is normally "
6573"no version number for the <literal>testing</literal> and "
6574"<literal>unstable</literal> distributions because they have not been "
6575"released yet. Specifying this in the APT preferences file would require one "
6576"of the following lines."
6577msgstr ""
6578
6579#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
782486e8 6580#: apt_preferences.5.xml:470
2a52e8c5
DK
6581#, no-wrap
6582msgid ""
6583"Pin: release v=3.0\n"
6584"Pin: release a=stable, v=3.0\n"
6585"Pin: release 3.0\n"
6586msgstr ""
6587
6588#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6589#: apt_preferences.5.xml:479
2a52e8c5
DK
6590msgid "the <literal>Component:</literal> line"
6591msgstr ""
6592
6593#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6594#: apt_preferences.5.xml:480
2a52e8c5
DK
6595msgid ""
6596"names the licensing component associated with the packages in the directory "
6597"tree of the <filename>Release</filename> file. For example, the line "
6598"\"Component: main\" specifies that all the packages in the directory tree "
6599"are from the <literal>main</literal> component, which entails that they are "
6600"licensed under terms listed in the Debian Free Software Guidelines. "
6601"Specifying this component in the APT preferences file would require the "
6602"line:"
6603msgstr ""
6604
6605#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
782486e8 6606#: apt_preferences.5.xml:489
2a52e8c5
DK
6607#, no-wrap
6608msgid "Pin: release c=main\n"
6609msgstr ""
6610
6611#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6612#: apt_preferences.5.xml:495
2a52e8c5
DK
6613msgid "the <literal>Origin:</literal> line"
6614msgstr ""
6615
6616#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6617#: apt_preferences.5.xml:496
2a52e8c5
DK
6618msgid ""
6619"names the originator of the packages in the directory tree of the "
6620"<filename>Release</filename> file. Most commonly, this is "
6621"<literal>Debian</literal>. Specifying this origin in the APT preferences "
6622"file would require the line:"
6623msgstr ""
6624
6625#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
782486e8 6626#: apt_preferences.5.xml:502
2a52e8c5
DK
6627#, no-wrap
6628msgid "Pin: release o=Debian\n"
6629msgstr ""
6630
6631#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
782486e8 6632#: apt_preferences.5.xml:508
2a52e8c5
DK
6633msgid "the <literal>Label:</literal> line"
6634msgstr ""
6635
6636#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
782486e8 6637#: apt_preferences.5.xml:509
2a52e8c5
DK
6638msgid ""
6639"names the label of the packages in the directory tree of the "
6640"<filename>Release</filename> file. Most commonly, this is "
6641"<literal>Debian</literal>. Specifying this label in the APT preferences "
6642"file would require the line:"
6643msgstr ""
6644
6645#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
782486e8 6646#: apt_preferences.5.xml:515
2a52e8c5
DK
6647#, no-wrap
6648msgid "Pin: release l=Debian\n"
6649msgstr ""
6650
6651#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6652#: apt_preferences.5.xml:416
2a52e8c5
DK
6653msgid ""
6654"The <filename>Release</filename> file is normally found in the directory "
6655"<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
6656"example, <filename>.../dists/stable/Release</filename>, or "
b6c6b52f
MV
6657"<filename>.../dists/&stable-codename;/Release</filename>. It consists of a "
6658"single multi-line record which applies to <emphasis>all</emphasis> of the "
6659"packages in the directory tree below its parent. Unlike the "
2a52e8c5
DK
6660"<filename>Packages</filename> file, nearly all of the lines in a "
6661"<filename>Release</filename> file are relevant for setting APT priorities: "
6662"<placeholder type=\"variablelist\" id=\"0\"/>"
6663msgstr ""
6664
6665#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6666#: apt_preferences.5.xml:522
2a52e8c5
DK
6667msgid ""
6668"All of the <filename>Packages</filename> and <filename>Release</filename> "
6669"files retrieved from locations listed in the &sources-list; file are stored "
6670"in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
6671"named by the variable <literal>Dir::State::Lists</literal> in the "
6672"<filename>apt.conf</filename> file. For example, the file "
6673"<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
6674"contains the <filename>Release</filename> file retrieved from the site "
6675"<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
6676"architecture files from the <literal>contrib</literal> component of the "
6677"<literal>unstable</literal> distribution."
6678msgstr ""
6679
6680#. type: Content of: <refentry><refsect1><refsect2><title>
782486e8 6681#: apt_preferences.5.xml:535
2a52e8c5
DK
6682msgid "Optional Lines in an APT Preferences Record"
6683msgstr ""
6684
6685#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6686#: apt_preferences.5.xml:537
2a52e8c5
DK
6687msgid ""
6688"Each record in the APT preferences file can optionally begin with one or "
6689"more lines beginning with the word <literal>Explanation:</literal>. This "
6690"provides a place for comments."
6691msgstr ""
6692
2a52e8c5 6693#. type: Content of: <refentry><refsect1><refsect2><title>
782486e8 6694#: apt_preferences.5.xml:546
2a52e8c5
DK
6695msgid "Tracking Stable"
6696msgstr ""
6697
6698#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
782486e8 6699#: apt_preferences.5.xml:554
2a52e8c5
DK
6700#, no-wrap
6701msgid ""
6702"Explanation: Uninstall or do not install any Debian-originated\n"
6703"Explanation: package versions other than those in the stable distro\n"
6704"Package: *\n"
6705"Pin: release a=stable\n"
6706"Pin-Priority: 900\n"
6707"\n"
6708"Package: *\n"
6709"Pin: release o=Debian\n"
6710"Pin-Priority: -10\n"
6711msgstr ""
6712
6713#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6714#: apt_preferences.5.xml:548
2a52e8c5
DK
6715msgid ""
6716"The following APT preferences file will cause APT to assign a priority "
6717"higher than the default (500) to all package versions belonging to a "
6718"<literal>stable</literal> distribution and a prohibitively low priority to "
6719"package versions belonging to other <literal>Debian</literal> "
6720"distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
6721msgstr ""
6722
6723#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
782486e8 6724#: apt_preferences.5.xml:571 apt_preferences.5.xml:617 apt_preferences.5.xml:675
2a52e8c5
DK
6725#, no-wrap
6726msgid ""
6727"apt-get install <replaceable>package-name</replaceable>\n"
6728"apt-get upgrade\n"
6729"apt-get dist-upgrade\n"
6730msgstr ""
6731
6732#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6733#: apt_preferences.5.xml:566
2a52e8c5
DK
6734msgid ""
6735"With a suitable &sources-list; file and the above preferences file, any of "
6736"the following commands will cause APT to upgrade to the latest "
6737"<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
6738"id=\"0\"/>"
6739msgstr ""
6740
6741#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
782486e8 6742#: apt_preferences.5.xml:583
2a52e8c5
DK
6743#, no-wrap
6744msgid "apt-get install <replaceable>package</replaceable>/testing\n"
6745msgstr ""
6746
6747#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6748#: apt_preferences.5.xml:577
2a52e8c5
DK
6749msgid ""
6750"The following command will cause APT to upgrade the specified package to the "
6751"latest version from the <literal>testing</literal> distribution; the package "
6752"will not be upgraded again unless this command is given again. <placeholder "
6753"type=\"programlisting\" id=\"0\"/>"
6754msgstr ""
6755
6756#. type: Content of: <refentry><refsect1><refsect2><title>
782486e8 6757#: apt_preferences.5.xml:589
2a52e8c5
DK
6758msgid "Tracking Testing or Unstable"
6759msgstr ""
6760
6761#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
782486e8 6762#: apt_preferences.5.xml:598
2a52e8c5
DK
6763#, no-wrap
6764msgid ""
6765"Package: *\n"
6766"Pin: release a=testing\n"
6767"Pin-Priority: 900\n"
6768"\n"
6769"Package: *\n"
6770"Pin: release a=unstable\n"
6771"Pin-Priority: 800\n"
6772"\n"
6773"Package: *\n"
6774"Pin: release o=Debian\n"
6775"Pin-Priority: -10\n"
6776msgstr ""
6777
6778#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6779#: apt_preferences.5.xml:591
2a52e8c5
DK
6780msgid ""
6781"The following APT preferences file will cause APT to assign a high priority "
6782"to package versions from the <literal>testing</literal> distribution, a "
6783"lower priority to package versions from the <literal>unstable</literal> "
6784"distribution, and a prohibitively low priority to package versions from "
6785"other <literal>Debian</literal> distributions. <placeholder "
6786"type=\"programlisting\" id=\"0\"/>"
6787msgstr ""
6788
6789#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6790#: apt_preferences.5.xml:612
2a52e8c5
DK
6791msgid ""
6792"With a suitable &sources-list; file and the above preferences file, any of "
6793"the following commands will cause APT to upgrade to the latest "
6794"<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
6795"id=\"0\"/>"
6796msgstr ""
6797
6798#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
782486e8 6799#: apt_preferences.5.xml:632
2a52e8c5
DK
6800#, no-wrap
6801msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
6802msgstr ""
6803
6804#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6805#: apt_preferences.5.xml:623
2a52e8c5
DK
6806msgid ""
6807"The following command will cause APT to upgrade the specified package to the "
6808"latest version from the <literal>unstable</literal> distribution. "
6809"Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
6810"the most recent <literal>testing</literal> version if that is more recent "
6811"than the installed version, otherwise, to the most recent "
6812"<literal>unstable</literal> version if that is more recent than the "
6813"installed version. <placeholder type=\"programlisting\" id=\"0\"/>"
6814msgstr ""
6815
6816#. type: Content of: <refentry><refsect1><refsect2><title>
782486e8 6817#: apt_preferences.5.xml:639
2a52e8c5
DK
6818msgid "Tracking the evolution of a codename release"
6819msgstr ""
6820
6821#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
782486e8 6822#: apt_preferences.5.xml:653
2a52e8c5
DK
6823#, no-wrap
6824msgid ""
6825"Explanation: Uninstall or do not install any Debian-originated package "
6826"versions\n"
b6c6b52f
MV
6827"Explanation: other than those in the distribution codenamed with "
6828"&testing-codename; or sid\n"
2a52e8c5 6829"Package: *\n"
b6c6b52f 6830"Pin: release n=&testing-codename;\n"
2a52e8c5
DK
6831"Pin-Priority: 900\n"
6832"\n"
6833"Explanation: Debian unstable is always codenamed with sid\n"
6834"Package: *\n"
b81dbe40 6835"Pin: release n=sid\n"
2a52e8c5
DK
6836"Pin-Priority: 800\n"
6837"\n"
6838"Package: *\n"
6839"Pin: release o=Debian\n"
6840"Pin-Priority: -10\n"
6841msgstr ""
6842
6843#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6844#: apt_preferences.5.xml:641
2a52e8c5
DK
6845msgid ""
6846"The following APT preferences file will cause APT to assign a priority "
6847"higher than the default (500) to all package versions belonging to a "
6848"specified codename of a distribution and a prohibitively low priority to "
6849"package versions belonging to other <literal>Debian</literal> distributions, "
6850"codenames and archives. Note that with this APT preference APT will follow "
6851"the migration of a release from the archive <literal>testing</literal> to "
6852"<literal>stable</literal> and later <literal>oldstable</literal>. If you "
6853"want to follow for example the progress in <literal>testing</literal> "
6854"notwithstanding the codename changes you should use the example "
6855"configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
6856msgstr ""
6857
6858#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6859#: apt_preferences.5.xml:670
2a52e8c5
DK
6860msgid ""
6861"With a suitable &sources-list; file and the above preferences file, any of "
6862"the following commands will cause APT to upgrade to the latest version(s) in "
b6c6b52f
MV
6863"the release codenamed with <literal>&testing-codename;</literal>. "
6864"<placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
6865msgstr ""
6866
6867#. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
782486e8 6868#: apt_preferences.5.xml:690
2a52e8c5
DK
6869#, no-wrap
6870msgid "apt-get install <replaceable>package</replaceable>/sid\n"
6871msgstr ""
6872
6873#. type: Content of: <refentry><refsect1><refsect2><para>
782486e8 6874#: apt_preferences.5.xml:681
2a52e8c5
DK
6875msgid ""
6876"The following command will cause APT to upgrade the specified package to the "
6877"latest version from the <literal>sid</literal> distribution. Thereafter, "
6878"<command>apt-get upgrade</command> will upgrade the package to the most "
b6c6b52f
MV
6879"recent <literal>&testing-codename;</literal> version if that is more recent "
6880"than the installed version, otherwise, to the most recent "
6881"<literal>sid</literal> version if that is more recent than the installed "
6882"version. <placeholder type=\"programlisting\" id=\"0\"/>"
2a52e8c5
DK
6883msgstr ""
6884
bcf91c1b 6885#. type: Content of: <refentry><refsect1><variablelist>
782486e8 6886#: apt_preferences.5.xml:699
bcf91c1b
DK
6887msgid "&file-preferences;"
6888msgstr ""
6889
2a52e8c5 6890#. type: Content of: <refentry><refsect1><para>
782486e8 6891#: apt_preferences.5.xml:705
2a52e8c5
DK
6892msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
6893msgstr ""
6894
6895#. type: Content of: <refentry><refnamediv><refname>
0c1a7101 6896#: sources.list.5.xml:25 sources.list.5.xml:32
2a52e8c5
DK
6897msgid "sources.list"
6898msgstr ""
6899
6900#. type: Content of: <refentry><refnamediv><refpurpose>
0c1a7101 6901#: sources.list.5.xml:33
2a52e8c5
DK
6902msgid "Package resource list for APT"
6903msgstr ""
6904
6905#. type: Content of: <refentry><refsect1><para>
0c1a7101 6906#: sources.list.5.xml:37
2a52e8c5
DK
6907msgid ""
6908"The package resource list is used to locate archives of the package "
6909"distribution system in use on the system. At this time, this manual page "
6910"documents only the packaging system used by the Debian GNU/Linux system. "
43be0ac4 6911"This control file is <filename>/etc/apt/sources.list</filename>."
2a52e8c5
DK
6912msgstr ""
6913
6914#. type: Content of: <refentry><refsect1><para>
0c1a7101 6915#: sources.list.5.xml:42
2a52e8c5
DK
6916msgid ""
6917"The source list is designed to support any number of active sources and a "
6918"variety of source media. The file lists one source per line, with the most "
6919"preferred source listed first. The format of each line is: <literal>type uri "
6920"args</literal> The first item, <literal>type</literal> determines the format "
43be0ac4 6921"for <literal>args</literal>. <literal>uri</literal> is a Universal Resource "
2a52e8c5
DK
6922"Identifier (URI), which is a superset of the more specific and well-known "
6923"Universal Resource Locator, or URL. The rest of the line can be marked as a "
6924"comment by using a #."
6925msgstr ""
6926
6927#. type: Content of: <refentry><refsect1><title>
0c1a7101 6928#: sources.list.5.xml:53
2a52e8c5
DK
6929msgid "sources.list.d"
6930msgstr ""
6931
6932#. type: Content of: <refentry><refsect1><para>
0c1a7101 6933#: sources.list.5.xml:54
2a52e8c5
DK
6934msgid ""
6935"The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
6936"add sources.list entries in separate files. The format is the same as for "
6937"the regular <filename>sources.list</filename> file. File names need to end "
6938"with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
6939"digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
30549c0c
MV
6940"Otherwise APT will print a notice that it has ignored a file if the file "
6941"doesn't match a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
6942"configuration list - in this case it will be silently ignored."
2a52e8c5
DK
6943msgstr ""
6944
6945#. type: Content of: <refentry><refsect1><title>
30549c0c 6946#: sources.list.5.xml:65
2a52e8c5
DK
6947msgid "The deb and deb-src types"
6948msgstr ""
6949
6950#. type: Content of: <refentry><refsect1><para>
30549c0c 6951#: sources.list.5.xml:66
2a52e8c5
DK
6952msgid ""
6953"The <literal>deb</literal> type describes a typical two-level Debian "
6954"archive, <filename>distribution/component</filename>. Typically, "
30549c0c
MV
6955"<literal>distribution</literal> is generally an archivename like "
6956"<literal>stable</literal> or <literal>testing</literal> or a codename like "
6957"<literal>&stable-codename;</literal> or "
6958"<literal>&testing-codename;</literal> while component is one of "
6959"<literal>main</literal> <literal>contrib</literal> or "
6960"<literal>non-free</literal>. The <literal>deb-src</literal> type describes a "
2a52e8c5
DK
6961"debian distribution's source code in the same form as the "
6962"<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
6963"to fetch source indexes."
6964msgstr ""
6965
6966#. type: Content of: <refentry><refsect1><para>
30549c0c 6967#: sources.list.5.xml:78
2a52e8c5
DK
6968msgid ""
6969"The format for a <filename>sources.list</filename> entry using the "
43be0ac4 6970"<literal>deb</literal> and <literal>deb-src</literal> types is:"
2a52e8c5
DK
6971msgstr ""
6972
6973#. type: Content of: <refentry><refsect1><literallayout>
30549c0c 6974#: sources.list.5.xml:81
2a52e8c5 6975#, no-wrap
c77d6597 6976msgid "deb [ options ] uri distribution [component1] [component2] [...]"
2a52e8c5
DK
6977msgstr ""
6978
6979#. type: Content of: <refentry><refsect1><para>
30549c0c 6980#: sources.list.5.xml:83
2a52e8c5
DK
6981msgid ""
6982"The URI for the <literal>deb</literal> type must specify the base of the "
6983"Debian distribution, from which APT will find the information it needs. "
6984"<literal>distribution</literal> can specify an exact path, in which case the "
6985"components must be omitted and <literal>distribution</literal> must end with "
43be0ac4
MV
6986"a slash (/). This is useful for when the case only a particular sub-section "
6987"of the archive denoted by the URI is of interest. If "
2a52e8c5
DK
6988"<literal>distribution</literal> does not specify an exact path, at least one "
6989"<literal>component</literal> must be present."
6990msgstr ""
6991
6992#. type: Content of: <refentry><refsect1><para>
30549c0c 6993#: sources.list.5.xml:92
2a52e8c5
DK
6994msgid ""
6995"<literal>distribution</literal> may also contain a variable, "
6996"<literal>$(ARCH)</literal> which expands to the Debian architecture (i386, "
6997"m68k, powerpc, ...) used on the system. This permits "
6998"architecture-independent <filename>sources.list</filename> files to be "
6999"used. In general this is only of interest when specifying an exact path, "
7000"<literal>APT</literal> will automatically generate a URI with the current "
7001"architecture otherwise."
7002msgstr ""
7003
7004#. type: Content of: <refentry><refsect1><para>
30549c0c 7005#: sources.list.5.xml:100
2a52e8c5
DK
7006msgid ""
7007"Since only one distribution can be specified per line it may be necessary to "
7008"have multiple lines for the same URI, if a subset of all available "
7009"distributions or components at that location is desired. APT will sort the "
7010"URI list after it has generated a complete set internally, and will collapse "
7011"multiple references to the same Internet host, for instance, into a single "
7012"connection, so that it does not inefficiently establish an FTP connection, "
7013"close it, do something else, and then re-establish a connection to that same "
7014"host. This feature is useful for accessing busy FTP sites with limits on the "
7015"number of simultaneous anonymous users. APT also parallelizes connections to "
7016"different hosts to more effectively deal with sites with low bandwidth."
7017msgstr ""
7018
7019#. type: Content of: <refentry><refsect1><para>
30549c0c 7020#: sources.list.5.xml:112
2a52e8c5 7021msgid ""
c77d6597
MV
7022"<literal>options</literal> is always optional and needs to be surounded by "
7023"square brackets. It can consist of multiple settings in the form "
7024"<literal><replaceable>setting</replaceable>=<replaceable>value</replaceable></literal>. "
7025"Multiple settings are separated by spaces. The following settings are "
7026"supported by APT, note though that unsupported settings will be ignored "
7027"silently:"
7028msgstr ""
7029
7030#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7031#: sources.list.5.xml:117
7032msgid ""
7033"<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</replaceable>,…</literal> "
7034"can be used to specify for which architectures packages information should "
7035"be downloaded. If this option is not set all architectures defined by the "
7036"<literal>APT::Architectures</literal> option will be downloaded."
7037msgstr ""
7038
7039#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
7040#: sources.list.5.xml:121
7041msgid ""
7042"<literal>trusted=yes</literal> can be set to indicate that packages from "
4d704f20 7043"this source are always authenticated even if the "
c77d6597
MV
7044"<filename>Release</filename> file is not signed or the signature can't be "
7045"checked. This disables parts of &apt-secure; and should therefore only be "
7046"used in a local and trusted context. <literal>trusted=no</literal> is the "
4d704f20
CL
7047"opposite which handles even correctly authenticated sources as not "
7048"authenticated."
c77d6597
MV
7049msgstr ""
7050
7051#. type: Content of: <refentry><refsect1><para>
7052#: sources.list.5.xml:128
7053msgid ""
2a52e8c5
DK
7054"It is important to list sources in order of preference, with the most "
7055"preferred source listed first. Typically this will result in sorting by "
7056"speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
7057"followed by distant Internet hosts, for example)."
7058msgstr ""
7059
7060#. type: Content of: <refentry><refsect1><para>
c77d6597 7061#: sources.list.5.xml:133
2a52e8c5
DK
7062msgid "Some examples:"
7063msgstr ""
7064
7065#. type: Content of: <refentry><refsect1><literallayout>
c77d6597 7066#: sources.list.5.xml:135
2a52e8c5
DK
7067#, no-wrap
7068msgid ""
b6c6b52f
MV
7069"deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
7070"deb http://security.debian.org/ &stable-codename;/updates main contrib "
7071"non-free\n"
2a52e8c5
DK
7072" "
7073msgstr ""
7074
7075#. type: Content of: <refentry><refsect1><title>
c77d6597 7076#: sources.list.5.xml:141
2a52e8c5
DK
7077msgid "URI specification"
7078msgstr ""
7079
7080#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c77d6597 7081#: sources.list.5.xml:146
2a52e8c5
DK
7082msgid "file"
7083msgstr ""
7084
7085#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 7086#: sources.list.5.xml:148
2a52e8c5
DK
7087msgid ""
7088"The file scheme allows an arbitrary directory in the file system to be "
7089"considered an archive. This is useful for NFS mounts and local mirrors or "
7090"archives."
7091msgstr ""
7092
7093#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 7094#: sources.list.5.xml:155
2a52e8c5
DK
7095msgid ""
7096"The cdrom scheme allows APT to use a local CDROM drive with media "
7097"swapping. Use the &apt-cdrom; program to create cdrom entries in the source "
7098"list."
7099msgstr ""
7100
7101#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 7102#: sources.list.5.xml:162
2a52e8c5
DK
7103msgid ""
7104"The http scheme specifies an HTTP server for the archive. If an environment "
7105"variable <envar>http_proxy</envar> is set with the format "
7106"http://server:port/, the proxy server specified in <envar>http_proxy</envar> "
7107"will be used. Users of authenticated HTTP/1.1 proxies may use a string of "
43be0ac4 7108"the format http://user:pass@server:port/. Note that this is an insecure "
2a52e8c5
DK
7109"method of authentication."
7110msgstr ""
7111
7112#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 7113#: sources.list.5.xml:173
2a52e8c5
DK
7114msgid ""
7115"The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
7116"is highly configurable; for more information see the &apt-conf; manual "
7117"page. Please note that a ftp proxy can be specified by using the "
7118"<envar>ftp_proxy</envar> environment variable. It is possible to specify a "
7119"http proxy (http proxy servers often understand ftp urls) using this method "
7120"and ONLY this method. ftp proxies using http specified in the configuration "
7121"file will be ignored."
7122msgstr ""
7123
7124#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c77d6597 7125#: sources.list.5.xml:182
2a52e8c5
DK
7126msgid "copy"
7127msgstr ""
7128
7129#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 7130#: sources.list.5.xml:184
2a52e8c5
DK
7131msgid ""
7132"The copy scheme is identical to the file scheme except that packages are "
7133"copied into the cache directory instead of used directly at their location. "
7134"This is useful for people using a zip disk to copy files around with APT."
7135msgstr ""
7136
7137#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c77d6597 7138#: sources.list.5.xml:189
2a52e8c5
DK
7139msgid "rsh"
7140msgstr ""
7141
7142#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c77d6597 7143#: sources.list.5.xml:189
2a52e8c5
DK
7144msgid "ssh"
7145msgstr ""
7146
7147#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 7148#: sources.list.5.xml:191
2a52e8c5
DK
7149msgid ""
7150"The rsh/ssh method invokes rsh/ssh to connect to a remote host as a given "
7151"user and access the files. It is a good idea to do prior arrangements with "
7152"RSA keys or rhosts. Access to files on the remote uses standard "
7153"<command>find</command> and <command>dd</command> commands to perform the "
7154"file transfers from the remote."
7155msgstr ""
7156
43be0ac4 7157#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
c77d6597 7158#: sources.list.5.xml:199
b39c1859 7159msgid "more recognizable URI types"
43be0ac4
MV
7160msgstr ""
7161
7162#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
c77d6597 7163#: sources.list.5.xml:201
43be0ac4
MV
7164msgid ""
7165"APT can be extended with more methods shipped in other optional packages "
7166"which should follow the nameing scheme "
7167"<literal>apt-transport-<replaceable>method</replaceable></literal>. The APT "
b39c1859
MV
7168"team e.g. maintains also the <literal>apt-transport-https</literal> package "
7169"which provides access methods for https-URIs with features similar to the "
43be0ac4
MV
7170"http method, but other methods for using e.g. debtorrent are also available, "
7171"see <citerefentry> "
7172"<refentrytitle><filename>apt-transport-debtorrent</filename></refentrytitle> "
7173"<manvolnum>1</manvolnum></citerefentry>."
7174msgstr ""
7175
2a52e8c5 7176#. type: Content of: <refentry><refsect1><para>
c77d6597 7177#: sources.list.5.xml:143
2a52e8c5
DK
7178msgid ""
7179"The currently recognized URI types are cdrom, file, http, ftp, copy, ssh, "
7180"rsh. <placeholder type=\"variablelist\" id=\"0\"/>"
7181msgstr ""
7182
7183#. type: Content of: <refentry><refsect1><para>
c77d6597 7184#: sources.list.5.xml:215
2a52e8c5
DK
7185msgid ""
7186"Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
7187"stable/main, stable/contrib, and stable/non-free."
7188msgstr ""
7189
7190#. type: Content of: <refentry><refsect1><literallayout>
c77d6597 7191#: sources.list.5.xml:217
2a52e8c5
DK
7192#, no-wrap
7193msgid "deb file:/home/jason/debian stable main contrib non-free"
7194msgstr ""
7195
7196#. type: Content of: <refentry><refsect1><para>
c77d6597 7197#: sources.list.5.xml:219
2a52e8c5
DK
7198msgid "As above, except this uses the unstable (development) distribution."
7199msgstr ""
7200
7201#. type: Content of: <refentry><refsect1><literallayout>
c77d6597 7202#: sources.list.5.xml:220
2a52e8c5
DK
7203#, no-wrap
7204msgid "deb file:/home/jason/debian unstable main contrib non-free"
7205msgstr ""
7206
7207#. type: Content of: <refentry><refsect1><para>
c77d6597 7208#: sources.list.5.xml:222
2a52e8c5
DK
7209msgid "Source line for the above"
7210msgstr ""
7211
7212#. type: Content of: <refentry><refsect1><literallayout>
c77d6597 7213#: sources.list.5.xml:223
2a52e8c5
DK
7214#, no-wrap
7215msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
7216msgstr ""
7217
7218#. type: Content of: <refentry><refsect1><para>
c77d6597
MV
7219#: sources.list.5.xml:225
7220msgid ""
7221"The first line gets package information for the architectures in "
7222"<literal>APT::Architectures</literal> while the second always retrieves "
7223"<literal>amd64</literal> and <literal>armel</literal>."
7224msgstr ""
7225
7226#. type: Content of: <refentry><refsect1><literallayout>
7227#: sources.list.5.xml:227
7228#, no-wrap
7229msgid ""
7230"deb http://ftp.debian.org/debian &stable-codename; main\n"
7231"deb [ arch=amd64,armel ] http://ftp.debian.org/debian &stable-codename; main"
7232msgstr ""
7233
7234#. type: Content of: <refentry><refsect1><para>
7235#: sources.list.5.xml:230
2a52e8c5
DK
7236msgid ""
7237"Uses HTTP to access the archive at archive.debian.org, and uses only the "
7238"hamm/main area."
7239msgstr ""
7240
7241#. type: Content of: <refentry><refsect1><literallayout>
c77d6597 7242#: sources.list.5.xml:232
2a52e8c5
DK
7243#, no-wrap
7244msgid "deb http://archive.debian.org/debian-archive hamm main"
7245msgstr ""
7246
7247#. type: Content of: <refentry><refsect1><para>
c77d6597 7248#: sources.list.5.xml:234
2a52e8c5
DK
7249msgid ""
7250"Uses FTP to access the archive at ftp.debian.org, under the debian "
b6c6b52f 7251"directory, and uses only the &stable-codename;/contrib area."
2a52e8c5
DK
7252msgstr ""
7253
7254#. type: Content of: <refentry><refsect1><literallayout>
c77d6597 7255#: sources.list.5.xml:236
2a52e8c5 7256#, no-wrap
b6c6b52f 7257msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
2a52e8c5
DK
7258msgstr ""
7259
7260#. type: Content of: <refentry><refsect1><para>
c77d6597 7261#: sources.list.5.xml:238
2a52e8c5
DK
7262msgid ""
7263"Uses FTP to access the archive at ftp.debian.org, under the debian "
7264"directory, and uses only the unstable/contrib area. If this line appears as "
43be0ac4
MV
7265"well as the one in the previous example in <filename>sources.list</filename> "
7266"a single FTP session will be used for both resource lines."
2a52e8c5
DK
7267msgstr ""
7268
7269#. type: Content of: <refentry><refsect1><literallayout>
c77d6597 7270#: sources.list.5.xml:242
2a52e8c5 7271#, no-wrap
30549c0c 7272msgid "deb ftp://ftp.debian.org/debian unstable contrib"
2a52e8c5
DK
7273msgstr ""
7274
7275#. type: Content of: <refentry><refsect1><para><literallayout>
c77d6597 7276#: sources.list.5.xml:251
2a52e8c5 7277#, no-wrap
30549c0c 7278msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
2a52e8c5
DK
7279msgstr ""
7280
7281#. type: Content of: <refentry><refsect1><para>
c77d6597 7282#: sources.list.5.xml:244
2a52e8c5 7283msgid ""
30549c0c 7284"Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
2a52e8c5
DK
7285"directory, and uses only files found under "
7286"<filename>unstable/binary-i386</filename> on i386 machines, "
30549c0c 7287"<filename>unstable/binary-amd64</filename> on amd64, and so forth for other "
2a52e8c5 7288"supported architectures. [Note this example only illustrates how to use the "
30549c0c
MV
7289"substitution variable; official debian archives are not structured like "
7290"this] <placeholder type=\"literallayout\" id=\"0\"/>"
2a52e8c5
DK
7291msgstr ""
7292
7293#. type: Content of: <refentry><refsect1><para>
c77d6597 7294#: sources.list.5.xml:256
2a52e8c5
DK
7295msgid "&apt-cache; &apt-conf;"
7296msgstr ""
43be0ac4
MV
7297
7298#. type: <title></title>
7299#: guide.sgml:4
7300msgid "APT User's Guide"
7301msgstr ""
7302
7303#. type: <author></author>
7304#: guide.sgml:6 offline.sgml:6
7305msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
7306msgstr ""
7307
7308#. type: <version></version>
7309#: guide.sgml:7
7310msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $"
7311msgstr ""
7312
7313#. type: <abstract></abstract>
7314#: guide.sgml:11
7315msgid ""
7316"This document provides an overview of how to use the the APT package "
7317"manager."
7318msgstr ""
7319
7320#. type: <copyrightsummary></copyrightsummary>
7321#: guide.sgml:15
7322msgid "Copyright &copy; Jason Gunthorpe, 1998."
7323msgstr ""
7324
7325#. type: <p></p>
7326#: guide.sgml:21 offline.sgml:22
7327msgid ""
7328"\"APT\" and this document are free software; you can redistribute them "
7329"and/or modify them under the terms of the GNU General Public License as "
7330"published by the Free Software Foundation; either version 2 of the License, "
7331"or (at your option) any later version."
7332msgstr ""
7333
7334#. type: <p></p>
7335#: guide.sgml:24 offline.sgml:25
7336msgid ""
7337"For more details, on Debian GNU/Linux systems, see the file "
7338"/usr/share/common-licenses/GPL for the full license."
7339msgstr ""
7340
7341#. type: <heading></heading>
7342#: guide.sgml:32
7343msgid "General"
7344msgstr ""
7345
7346#. type: <p></p>
7347#: guide.sgml:38
7348msgid ""
7349"The APT package currently contains two sections, the APT "
7350"<prgn>dselect</prgn> method and the <prgn>apt-get</prgn> command line user "
7351"interface. Both provide a way to install and remove packages as well as "
7352"download new packages from the Internet."
7353msgstr ""
7354
7355#. type: <heading></heading>
7356#: guide.sgml:39
7357msgid "Anatomy of the Package System"
7358msgstr ""
7359
7360#. type: <p></p>
7361#: guide.sgml:44
7362msgid ""
7363"The Debian packaging system has a large amount of information associated "
7364"with each package to help assure that it integrates cleanly and easily into "
7365"the system. The most prominent of its features is the dependency system."
7366msgstr ""
7367
7368#. type: <p></p>
7369#: guide.sgml:52
7370msgid ""
7371"The dependency system allows individual programs to make use of shared "
7372"elements in the system such as libraries. It simplifies placing infrequently "
7373"used portions of a program in separate packages to reduce the number of "
7374"things the average user is required to install. Also, it allows for choices "
7375"in mail transport agents, X servers and so on."
7376msgstr ""
7377
7378#. type: <p></p>
7379#: guide.sgml:57
7380msgid ""
7381"The first step to understanding the dependency system is to grasp the "
7382"concept of a simple dependency. The meaning of a simple dependency is that a "
7383"package requires another package to be installed at the same time to work "
7384"properly."
7385msgstr ""
7386
7387#. type: <p></p>
7388#: guide.sgml:63
7389msgid ""
7390"For instance, mailcrypt is an emacs extension that aids in encrypting email "
b39c1859 7391"with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
43be0ac4
MV
7392"simple dependency on GPG. Also, because it is an emacs extension it has a "
7393"simple dependency on emacs, without emacs it is completely useless."
7394msgstr ""
7395
7396#. type: <p></p>
7397#: guide.sgml:73
7398msgid ""
7399"The other important dependency to understand is a conflicting dependency. It "
7400"means that a package, when installed with another package, will not work and "
7401"may possibly be extremely harmful to the system. As an example consider a "
7402"mail transport agent such as sendmail, exim or qmail. It is not possible to "
7403"have two mail transport agents installed because both need to listen to the "
7404"network to receive mail. Attempting to install two will seriously damage the "
7405"system so all mail transport agents have a conflicting dependency with all "
7406"other mail transport agents."
7407msgstr ""
7408
7409#. type: <p></p>
7410#: guide.sgml:83
7411msgid ""
7412"As an added complication there is the possibility for a package to pretend "
7413"to be another package. Consider that exim and sendmail for many intents are "
7414"identical, they both deliver mail and understand a common interface. Hence, "
7415"the package system has a way for them to declare that they are both "
7416"mail-transport-agents. So, exim and sendmail both declare that they provide "
7417"a mail-transport-agent and other packages that need a mail transport agent "
7418"depend on mail-transport-agent. This can add a great deal of confusion when "
7419"trying to manually fix packages."
7420msgstr ""
7421
7422#. type: <p></p>
7423#: guide.sgml:88
7424msgid ""
7425"At any given time a single dependency may be met by packages that are "
7426"already installed or it may not be. APT attempts to help resolve dependency "
7427"issues by providing a number of automatic algorithms that help in selecting "
7428"packages for installation."
7429msgstr ""
7430
7431#. type: <p></p>
7432#: guide.sgml:102
7433msgid ""
7434"<prgn>apt-get</prgn> provides a simple way to install packages from the "
7435"command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not "
7436"understand .deb files, it works with the package's proper name and can only "
7437"install .deb archives from a <em>Source</em>."
7438msgstr ""
7439
7440#. type: <p></p>
7441#: guide.sgml:109
7442msgid ""
7443"The first <footnote><p>If you are using an http proxy server you must set "
7444"the http_proxy environment variable first, see "
7445"sources.list(5)</p></footnote> thing that should be done before using "
7446"<prgn>apt-get</prgn> is to fetch the package lists from the <em>Sources</em> "
7447"so that it knows what packages are available. This is done with <tt>apt-get "
7448"update</tt>. For instance,"
7449msgstr ""
7450
7451#. type: <example></example>
7452#: guide.sgml:116
7453#, no-wrap
7454msgid ""
7455"# apt-get update\n"
7456"Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
7457"Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7458"Reading Package Lists... Done\n"
7459"Building Dependency Tree... Done"
7460msgstr ""
7461
7462#. type: <p><taglist>
7463#: guide.sgml:120
7464msgid "Once updated there are several commands that can be used:"
7465msgstr ""
7466
7467#. type: <p></p>
7468#: guide.sgml:131
7469msgid ""
7470"Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
7471"install a new package or remove an existing package, nor will it ever "
7472"upgrade a package that might cause some other package to break. This can be "
7473"used daily to relatively safely upgrade the system. Upgrade will list all of "
7474"the packages that it could not upgrade, this usually means that they depend "
7475"on new packages or conflict with some other package. <prgn>dselect</prgn> or "
7476"<tt>apt-get install</tt> can be used to force these packages to install."
7477msgstr ""
7478
7479#. type: <p></p>
7480#: guide.sgml:140
7481msgid ""
7482"Install is used to install packages by name. The package is automatically "
7483"fetched and installed. This can be useful if you already know the name of "
7484"the package to install and do not want to go into a GUI to select it. Any "
7485"number of packages may be passed to install, they will all be "
7486"fetched. Install automatically attempts to resolve dependency problems with "
7487"the listed packages and will print a summary and ask for confirmation if "
7488"anything other than its arguments are changed."
7489msgstr ""
7490
7491#. type: <p></p>
7492#: guide.sgml:149
7493msgid ""
7494"Dist-upgrade is a complete upgrader designed to simplify upgrading between "
7495"releases of Debian. It uses a sophisticated algorithm to determine the best "
7496"set of packages to install, upgrade and remove to get as much of the system "
7497"to the newest release. In some situations it may be desired to use "
7498"dist-upgrade rather than spend the time manually resolving dependencies in "
7499"<prgn>dselect</prgn>. Once dist-upgrade has completed then "
7500"<prgn>dselect</prgn> can be used to install any packages that may have been "
7501"left out."
7502msgstr ""
7503
7504#. type: <p></p>
7505#: guide.sgml:152
7506msgid ""
7507"It is important to closely look at what dist-upgrade is going to do, its "
7508"decisions may sometimes be quite surprising."
7509msgstr ""
7510
7511#. type: <p></p>
7512#: guide.sgml:163
7513msgid ""
7514"<prgn>apt-get</prgn> has several command line options that are detailed in "
7515"its man page, <manref section=\"8\" name=\"apt-get\">. The most useful "
7516"option is <tt>-d</tt> which does not install the fetched files. If the "
7517"system has to download a large number of package it would be undesired to "
7518"start installing them in case something goes wrong. When <tt>-d</tt> is used "
7519"the downloaded archives can be installed by simply running the command that "
7520"caused them to be downloaded again without <tt>-d</tt>."
7521msgstr ""
7522
7523#. type: <heading></heading>
7524#: guide.sgml:168
7525msgid "DSelect"
7526msgstr ""
7527
7528#. type: <p></p>
7529#: guide.sgml:173
7530msgid ""
7531"The APT <prgn>dselect</prgn> method provides the complete APT system with "
7532"the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used "
7533"to select the packages to be installed or removed and APT actually installs "
7534"them."
7535msgstr ""
7536
7537#. type: <p></p>
7538#: guide.sgml:184
7539msgid ""
b39c1859
MV
7540"To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> "
7541"and then choose the APT method. You will be prompted for a set of "
7542"<em>Sources</em> which are places to fetch archives from. These can be "
7543"remote Internet sites, local Debian mirrors or CDROMs. Each source can "
7544"provide a fragment of the total Debian archive, APT will automatically "
43be0ac4
MV
7545"combine them to form a complete set of packages. If you have a CDROM then it "
7546"is a good idea to specify it first and then specify a mirror so that you "
7547"have access to the latest bug fixes. APT will automatically use packages on "
7548"your CDROM before downloading from the Internet."
7549msgstr ""
7550
7551#. type: <example></example>
7552#: guide.sgml:198
7553#, no-wrap
7554msgid ""
7555" Set up a list of distribution source locations\n"
7556"\t \n"
7557" Please give the base URL of the debian distribution.\n"
7558" The access schemes I know about are: http file\n"
7559"\t \n"
7560" For example:\n"
7561" file:/mnt/debian,\n"
7562" ftp://ftp.debian.org/debian,\n"
7563" http://ftp.de.debian.org/debian,\n"
7564" \n"
7565" \n"
7566" URL [http://llug.sep.bnl.gov/debian]:"
7567msgstr ""
7568
7569#. type: <p></p>
7570#: guide.sgml:205
7571msgid ""
7572"The <em>Sources</em> setup starts by asking for the base of the Debian "
7573"archive, defaulting to a HTTP mirror. Next it asks for the distribution to "
7574"get."
7575msgstr ""
7576
7577#. type: <example></example>
7578#: guide.sgml:212
7579#, no-wrap
7580msgid ""
7581" Please give the distribution tag to get or a path to the\n"
7582" package file ending in a /. The distribution\n"
7583" tags are typically something like: stable unstable testing non-US\n"
7584" \n"
7585" Distribution [stable]:"
7586msgstr ""
7587
7588#. type: <p></p>
7589#: guide.sgml:222
7590msgid ""
7591"The distribution refers to the Debian version in the archive, "
7592"<em>stable</em> refers to the latest released version and <em>unstable</em> "
7593"refers to the developmental version. <em>non-US</em> is only available on "
7594"some mirrors and refers to packages that contain encryption technology or "
7595"other things that cannot be exported from the United States. Importing these "
7596"packages into the US is legal however."
7597msgstr ""
7598
7599#. type: <example></example>
7600#: guide.sgml:228
7601#, no-wrap
7602msgid ""
7603" Please give the components to get\n"
7604" The components are typically something like: main contrib non-free\n"
7605" \n"
7606" Components [main contrib non-free]:"
7607msgstr ""
7608
7609#. type: <p></p>
7610#: guide.sgml:236
7611msgid ""
7612"The components list refers to the list of sub distributions to fetch. The "
7613"distribution is split up based on software licenses, main being DFSG free "
7614"packages while contrib and non-free contain things that have various "
7615"restrictions placed on their use and distribution."
7616msgstr ""
7617
7618#. type: <p></p>
7619#: guide.sgml:240
7620msgid ""
7621"Any number of sources can be added, the setup script will continue to prompt "
7622"until you have specified all that you want."
7623msgstr ""
7624
7625#. type: <p></p>
7626#: guide.sgml:247
7627msgid ""
7628"Before starting to use <prgn>dselect</prgn> it is necessary to update the "
b39c1859 7629"available list by selecting [U]pdate from the menu. This is a superset of "
43be0ac4
MV
7630"<tt>apt-get update</tt> that makes the fetched information available to "
7631"<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get "
7632"update</tt> has been run before."
7633msgstr ""
7634
7635#. type: <p></p>
7636#: guide.sgml:253
7637msgid ""
7638"You can then go on and make your selections using [S]elect and then perform "
7639"the installation using [I]nstall. When using the APT method the [C]onfig and "
7640"[R]emove commands have no meaning, the [I]nstall command performs both of "
7641"them together."
7642msgstr ""
7643
7644#. type: <p></p>
7645#: guide.sgml:258
7646msgid ""
7647"By default APT will automatically remove the package (.deb) files once they "
7648"have been successfully installed. To change this behavior place "
7649"<tt>Dselect::clean \"prompt\";</tt> in /etc/apt/apt.conf."
7650msgstr ""
7651
7652#. type: <heading></heading>
7653#: guide.sgml:264
7654msgid "The Interface"
7655msgstr ""
7656
7657#. type: <p></p>
7658#: guide.sgml:278
7659msgid ""
7660"Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the "
7661"same interface. It is a simple system that generally tells you what it will "
7662"do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method "
7663"actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method "
7664"actually provides more functionality than is present in <prgn>apt-get</prgn> "
7665"alone.</p></footnote> After printing out a summary of what will happen APT "
7666"then will print out some informative status messages so that you can "
7667"estimate how far along it is and how much is left to do."
7668msgstr ""
7669
7670#. type: <heading></heading>
7671#: guide.sgml:280
7672msgid "Startup"
7673msgstr ""
7674
7675#. type: <p></p>
7676#: guide.sgml:284
7677msgid ""
7678"Before all operations except update, APT performs a number of actions to "
7679"prepare its internal state. It also does some checks of the system's "
7680"state. At any time these operations can be performed by running <tt>apt-get "
7681"check</tt>."
7682msgstr ""
7683
7684#. type: <example></example>
7685#: guide.sgml:289
7686#, no-wrap
7687msgid ""
7688"# apt-get check\n"
7689"Reading Package Lists... Done\n"
7690"Building Dependency Tree... Done"
7691msgstr ""
7692
7693#. type: <p></p>
7694#: guide.sgml:297
7695msgid ""
7696"The first thing it does is read all the package files into memory. APT uses "
7697"a caching scheme so this operation will be faster the second time it is "
7698"run. If some of the package files are not found then they will be ignored "
7699"and a warning will be printed when apt-get exits."
7700msgstr ""
7701
7702#. type: <p></p>
7703#: guide.sgml:303
7704msgid ""
7705"The final operation performs a detailed analysis of the system's "
7706"dependencies. It checks every dependency of every installed or unpacked "
7707"package and considers if it is OK. Should this find a problem then a report "
7708"will be printed out and <prgn>apt-get</prgn> will refuse to run."
7709msgstr ""
7710
7711#. type: <example></example>
7712#: guide.sgml:320
7713#, no-wrap
7714msgid ""
7715"# apt-get check\n"
7716"Reading Package Lists... Done\n"
7717"Building Dependency Tree... Done\n"
7718"You might want to run apt-get -f install' to correct these.\n"
7719"Sorry, but the following packages have unmet dependencies:\n"
7720" 9fonts: Depends: xlib6g but it is not installed\n"
7721" uucp: Depends: mailx but it is not installed\n"
7722" blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
7723" adduser: Depends: perl-base but it is not installed\n"
7724" aumix: Depends: libgpmg1 but it is not installed\n"
7725" debiandoc-sgml: Depends: sgml-base but it is not installed\n"
7726" bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
7727" cthugha: Depends: svgalibg1 but it is not installed\n"
7728" Depends: xlib6g (>= 3.3-5) but it is not installed\n"
7729" libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
7730msgstr ""
7731
7732#. type: <p></p>
7733#: guide.sgml:329
7734msgid ""
7735"In this example the system has many problems, including a serious problem "
7736"with libreadlineg2. For each package that has unmet dependencies a line is "
7737"printed out indicating the package with the problem and the dependencies "
7738"that are unmet. A short explanation of why the package has a dependency "
7739"problem is also included."
7740msgstr ""
7741
7742#. type: <p></p>
7743#: guide.sgml:337
7744msgid ""
7745"There are two ways a system can get into a broken state like this. The first "
7746"is caused by <prgn>dpkg</prgn> missing some subtle relationships between "
7747"packages when performing upgrades. <footnote><p>APT however considers all "
7748"known dependencies and attempts to prevent broken "
7749"packages</p></footnote>. The second is if a package installation fails "
7750"during an operation. In this situation a package may have been unpacked "
7751"without its dependents being installed."
7752msgstr ""
7753
7754#. type: <p></p>
7755#: guide.sgml:345
7756msgid ""
7757"The second situation is much less serious than the first because APT places "
7758"certain constraints on the order that packages are installed. In both cases "
7759"supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to "
7760"deduce a possible solution to the problem and then continue on. The APT "
7761"<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow "
7762"for easy continuation of failed maintainer scripts."
7763msgstr ""
7764
7765#. type: <p></p>
7766#: guide.sgml:351
7767msgid ""
7768"However, if the <tt>-f</tt> option is used to correct a seriously broken "
7769"system caused by the first case then it is possible that it will either fail "
7770"immediately or the installation sequence will fail. In either case it is "
7771"necessary to manually use dpkg (possibly with forcing options) to correct "
7772"the situation enough to allow APT to proceed."
7773msgstr ""
7774
7775#. type: <heading></heading>
7776#: guide.sgml:356
7777msgid "The Status Report"
7778msgstr ""
7779
7780#. type: <p></p>
7781#: guide.sgml:363
7782msgid ""
7783"Before proceeding <prgn>apt-get</prgn> will present a report on what will "
7784"happen. Generally the report reflects the type of operation being performed "
7785"but there are several common elements. In all cases the lists reflect the "
7786"final state of things, taking into account the <tt>-f</tt> option and any "
7787"other relevant activities to the command being executed."
7788msgstr ""
7789
7790#. type: <heading></heading>
7791#: guide.sgml:364
7792msgid "The Extra Package list"
7793msgstr ""
7794
7795#. type: <example></example>
7796#: guide.sgml:372
7797#, no-wrap
7798msgid ""
7799"The following extra packages will be installed:\n"
7800" libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
7801" mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
7802" bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
7803" squake pgp-i python-base debmake ldso perl libreadlineg2\n"
7804" ssh"
7805msgstr ""
7806
7807#. type: <p></p>
7808#: guide.sgml:379
7809msgid ""
7810"The Extra Package list shows all of the packages that will be installed or "
7811"upgraded in excess of the ones mentioned on the command line. It is only "
7812"generated for an <tt>install</tt> command. The listed packages are often the "
7813"result of an Auto Install."
7814msgstr ""
7815
7816#. type: <heading></heading>
7817#: guide.sgml:382
7818msgid "The Packages to Remove"
7819msgstr ""
7820
7821#. type: <example></example>
7822#: guide.sgml:389
7823#, no-wrap
7824msgid ""
7825"The following packages will be REMOVED:\n"
7826" xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
7827" xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
7828" xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
7829" nas xpilot xfig"
7830msgstr ""
7831
7832#. type: <p></p>
7833#: guide.sgml:399
7834msgid ""
7835"The Packages to Remove list shows all of the packages that will be removed "
7836"from the system. It can be shown for any of the operations and should be "
7837"given a careful inspection to ensure nothing important is to be taken "
7838"off. The <tt>-f</tt> option is especially good at generating packages to "
7839"remove so extreme care should be used in that case. The list may contain "
7840"packages that are going to be removed because they are only partially "
7841"installed, possibly due to an aborted installation."
7842msgstr ""
7843
7844#. type: <heading></heading>
7845#: guide.sgml:402
7846msgid "The New Packages list"
7847msgstr ""
7848
7849#. type: <example></example>
7850#: guide.sgml:406
7851#, no-wrap
7852msgid ""
7853"The following NEW packages will installed:\n"
7854" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
7855msgstr ""
7856
7857#. type: <p></p>
7858#: guide.sgml:411
7859msgid ""
7860"The New Packages list is simply a reminder of what will happen. The packages "
7861"listed are not presently installed in the system but will be when APT is "
7862"done."
7863msgstr ""
7864
7865#. type: <heading></heading>
7866#: guide.sgml:414
7867msgid "The Kept Back list"
7868msgstr ""
7869
7870#. type: <example></example>
7871#: guide.sgml:419
7872#, no-wrap
7873msgid ""
7874"The following packages have been kept back\n"
7875" compface man-db tetex-base msql libpaper svgalib1\n"
7876" gs snmp arena lynx xpat2 groff xscreensaver"
7877msgstr ""
7878
7879#. type: <p></p>
7880#: guide.sgml:428
7881msgid ""
7882"Whenever the whole system is being upgraded there is the possibility that "
7883"new versions of packages cannot be installed because they require new things "
7884"or conflict with already installed things. In this case the package will "
7885"appear in the Kept Back list. The best way to convince packages listed there "
7886"to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> "
7887"to resolve their problems."
7888msgstr ""
7889
7890#. type: <heading></heading>
7891#: guide.sgml:431
7892msgid "Held Packages warning"
7893msgstr ""
7894
7895#. type: <example></example>
7896#: guide.sgml:435
7897#, no-wrap
7898msgid ""
7899"The following held packages will be changed:\n"
7900" cvs"
7901msgstr ""
7902
7903#. type: <p></p>
7904#: guide.sgml:441
7905msgid ""
7906"Sometimes you can ask APT to install a package that is on hold, in such a "
7907"case it prints out a warning that the held package is going to be "
7908"changed. This should only happen during dist-upgrade or install."
7909msgstr ""
7910
7911#. type: <heading></heading>
7912#: guide.sgml:444
7913msgid "Final summary"
7914msgstr ""
7915
7916#. type: <p></p>
7917#: guide.sgml:447
7918msgid "Finally, APT will print out a summary of all the changes that will occur."
7919msgstr ""
7920
7921#. type: <example></example>
7922#: guide.sgml:452
7923#, no-wrap
7924msgid ""
7925"206 packages upgraded, 8 newly installed, 23 to remove and 51 not "
7926"upgraded.\n"
7927"12 packages not fully installed or removed.\n"
7928"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
7929msgstr ""
7930
7931#. type: <p></p>
7932#: guide.sgml:470
7933msgid ""
7934"The first line of the summary simply is a reduced version of all of the "
7935"lists and includes the number of upgrades - that is packages already "
7936"installed that have new versions available. The second line indicates the "
7937"number of poorly configured packages, possibly the result of an aborted "
7938"installation. The final line shows the space requirements that the "
7939"installation needs. The first pair of numbers refer to the size of the "
7940"archive files. The first number indicates the number of bytes that must be "
7941"fetched from remote locations and the second indicates the total size of all "
7942"the archives required. The next number indicates the size difference between "
7943"the presently installed packages and the newly installed packages. It is "
7944"roughly equivalent to the space required in /usr after everything is "
7945"done. If a large number of packages are being removed then the value may "
7946"indicate the amount of space that will be freed."
7947msgstr ""
7948
7949#. type: <p></p>
7950#: guide.sgml:473
7951msgid ""
7952"Some other reports can be generated by using the -u option to show packages "
7953"to upgrade, they are similar to the previous examples."
7954msgstr ""
7955
7956#. type: <heading></heading>
7957#: guide.sgml:477
7958msgid "The Status Display"
7959msgstr ""
7960
7961#. type: <p></p>
7962#: guide.sgml:481
7963msgid ""
7964"During the download of archives and package files APT prints out a series of "
7965"status messages."
7966msgstr ""
7967
7968#. type: <example></example>
7969#: guide.sgml:490
7970#, no-wrap
7971msgid ""
7972"# apt-get update\n"
7973"Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
7974"Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7975"Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
7976"Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ "
7977"Packages\n"
7978"Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
7979"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
7980msgstr ""
7981
7982#. type: <p></p>
7983#: guide.sgml:500
7984msgid ""
7985"The lines starting with <em>Get</em> are printed out when APT begins to "
7986"fetch a file while the last line indicates the progress of the download. The "
7987"first percent value on the progress line indicates the total percent done of "
7988"all files. Unfortunately since the size of the Package files is unknown "
7989"<tt>apt-get update</tt> estimates the percent done which causes some "
7990"inaccuracies."
7991msgstr ""
7992
7993#. type: <p></p>
7994#: guide.sgml:509
7995msgid ""
7996"The next section of the status line is repeated once for each download "
7997"thread and indicates the operation being performed and some useful "
7998"information about what is happening. Sometimes this section will simply read "
7999"<em>Forking</em> which means the OS is loading the download module. The "
8000"first word after the [ is the fetch number as shown on the history "
8001"lines. The next word is the short form name of the object being "
8002"downloaded. For archives it will contain the name of the package that is "
8003"being fetched."
8004msgstr ""
8005
8006#. type: <p></p>
8007#: guide.sgml:524
8008msgid ""
8009"Inside of the single quote is an informative string indicating the progress "
8010"of the negotiation phase of the download. Typically it progresses from "
8011"<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or "
8012"<em>Resuming</em>. The final value is the number of bytes downloaded from "
8013"the remote site. Once the download begins this is represented as "
8014"<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 "
8015"kilobytes is expected. The total size is always shown in 4 figure notation "
8016"to preserve space. After the size display is a percent meter for the file "
8017"itself. The second last element is the instantaneous average speed. This "
8018"values is updated every 5 seconds and reflects the rate of data transfer for "
8019"that period. Finally is shown the estimated transfer time. This is updated "
8020"regularly and reflects the time to complete everything at the shown transfer "
8021"rate."
8022msgstr ""
8023
8024#. type: <p></p>
8025#: guide.sgml:530
8026msgid ""
8027"The status display updates every half second to provide a constant feedback "
8028"on the download progress while the Get lines scroll back whenever a new file "
8029"is started. Since the status display is constantly updated it is unsuitable "
8030"for logging to a file, use the <tt>-q</tt> option to remove the status "
8031"display."
8032msgstr ""
8033
8034#. type: <heading></heading>
8035#: guide.sgml:535
8036msgid "Dpkg"
8037msgstr ""
8038
8039#. type: <p></p>
8040#: guide.sgml:542
8041msgid ""
8042"APT uses <prgn>dpkg</prgn> for installing the archives and will switch over "
8043"to the <prgn>dpkg</prgn> interface once downloading is "
8044"completed. <prgn>dpkg</prgn> will also ask a number of questions as it "
8045"processes the packages and the packages themselves may also ask several "
8046"questions. Before each question there is usually a description of what it is "
8047"asking and the questions are too varied to discuss completely here."
8048msgstr ""
8049
8050#. type: <title></title>
8051#: offline.sgml:4
8052msgid "Using APT Offline"
8053msgstr ""
8054
8055#. type: <version></version>
8056#: offline.sgml:7
8057msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
8058msgstr ""
8059
8060#. type: <abstract></abstract>
8061#: offline.sgml:12
8062msgid ""
8063"This document describes how to use APT in a non-networked environment, "
8064"specifically a 'sneaker-net' approach for performing upgrades."
8065msgstr ""
8066
8067#. type: <copyrightsummary></copyrightsummary>
8068#: offline.sgml:16
8069msgid "Copyright &copy; Jason Gunthorpe, 1999."
8070msgstr ""
8071
8072#. type: <heading></heading>
8073#: offline.sgml:32
8074msgid "Introduction"
8075msgstr ""
8076
8077#. type: <heading></heading>
8078#: offline.sgml:34 offline.sgml:65 offline.sgml:180
8079msgid "Overview"
8080msgstr ""
8081
8082#. type: <p></p>
8083#: offline.sgml:40
8084msgid ""
8085"Normally APT requires direct access to a Debian archive, either from a local "
8086"media or through a network. Another common complaint is that a Debian "
8087"machine is on a slow link, such as a modem and another machine has a very "
8088"fast connection but they are physically distant."
8089msgstr ""
8090
8091#. type: <p></p>
8092#: offline.sgml:51
8093msgid ""
8094"The solution to this is to use large removable media such as a Zip disc or a "
8095"SuperDisk disc. These discs are not large enough to store the entire Debian "
8096"archive but can easily fit a subset large enough for most users. The idea is "
8097"to use APT to generate a list of packages that are required and then fetch "
8098"them onto the disc using another machine with good connectivity. It is even "
8099"possible to use another Debian machine with APT or to use a completely "
8100"different OS and a download tool like wget. Let <em>remote host</em> mean "
8101"the machine downloading the packages, and <em>target host</em> the one with "
8102"bad or no connection."
8103msgstr ""
8104
8105#. type: <p></p>
8106#: offline.sgml:57
8107msgid ""
8108"This is achieved by creatively manipulating the APT configuration file. The "
b39c1859 8109"essential premise to tell APT to look on a disc for it's archive files. Note "
43be0ac4
MV
8110"that the disc should be formated with a filesystem that can handle long file "
8111"names such as ext2, fat32 or vfat."
8112msgstr ""
8113
8114#. type: <heading></heading>
8115#: offline.sgml:63
8116msgid "Using APT on both machines"
8117msgstr ""
8118
8119#. type: <p><example>
8120#: offline.sgml:71
8121msgid ""
8122"APT being available on both machines gives the simplest configuration. The "
8123"basic idea is to place a copy of the status file on the disc and use the "
8124"remote machine to fetch the latest package files and decide which packages "
8125"to download. The disk directory structure should look like:"
8126msgstr ""
8127
8128#. type: <example></example>
8129#: offline.sgml:80
8130#, no-wrap
8131msgid ""
8132" /disc/\n"
8133" archives/\n"
8134" partial/\n"
8135" lists/\n"
8136" partial/\n"
8137" status\n"
8138" sources.list\n"
8139" apt.conf"
8140msgstr ""
8141
8142#. type: <heading></heading>
8143#: offline.sgml:88
8144msgid "The configuration file"
8145msgstr ""
8146
8147#. type: <p></p>
8148#: offline.sgml:96
8149msgid ""
8150"The configuration file should tell APT to store its files on the disc and to "
8151"use the configuration files on the disc as well. The sources.list should "
8152"contain the proper sites that you wish to use from the remote machine, and "
8153"the status file should be a copy of <em>/var/lib/dpkg/status</em> from the "
8154"<em>target host</em>. Please note, if you are using a local archive you must "
8155"use copy URIs, the syntax is identical to file URIs."
8156msgstr ""
8157
8158#. type: <p><example>
8159#: offline.sgml:100
8160msgid ""
8161"<em>apt.conf</em> must contain the necessary information to make APT use the "
8162"disc:"
8163msgstr ""
8164
8165#. type: <example></example>
8166#: offline.sgml:124
8167#, no-wrap
8168msgid ""
8169" APT\n"
8170" {\n"
8171" /* This is not necessary if the two machines are the same arch, it "
8172"tells\n"
8173" the remote APT what architecture the target machine is */\n"
8174" Architecture \"i386\";\n"
8175" \n"
8176" Get::Download-Only \"true\";\n"
8177" };\n"
8178" \n"
8179" Dir\n"
8180" {\n"
8181" /* Use the disc for state information and redirect the status file from\n"
8182" the /var/lib/dpkg default */\n"
8183" State \"/disc/\";\n"
8184" State::status \"status\";\n"
8185"\n"
8186" // Binary caches will be stored locally\n"
8187" Cache::archives \"/disc/archives/\";\n"
8188" Cache \"/tmp/\";\n"
8189" \n"
8190" // Location of the source list.\n"
8191" Etc \"/disc/\";\n"
8192" };"
8193msgstr ""
8194
8195#. type: </example></p>
8196#: offline.sgml:129
8197msgid ""
8198"More details can be seen by examining the apt.conf man page and the sample "
8199"configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>."
8200msgstr ""
8201
8202#. type: <p><example>
8203#: offline.sgml:136
8204msgid ""
8205"On the target machine the first thing to do is mount the disc and copy "
8206"<em>/var/lib/dpkg/status</em> to it. You will also need to create the "
8207"directories outlined in the Overview, <em>archives/partial/</em> and "
b39c1859 8208"<em>lists/partial/</em>. Then take the disc to the remote machine and "
43be0ac4
MV
8209"configure the sources.list. On the remote machine execute the following:"
8210msgstr ""
8211
8212#. type: <example></example>
8213#: offline.sgml:142
8214#, no-wrap
8215msgid ""
8216" # export APT_CONFIG=\"/disc/apt.conf\"\n"
8217" # apt-get update\n"
8218" [ APT fetches the package files ]\n"
8219" # apt-get dist-upgrade\n"
8220" [ APT fetches all the packages needed to upgrade the target machine ]"
8221msgstr ""
8222
8223#. type: </example></p>
8224#: offline.sgml:149
8225msgid ""
b39c1859 8226"The dist-upgrade command can be replaced with any other standard APT "
43be0ac4 8227"commands, particularly dselect-upgrade. You can even use an APT front end "
b39c1859 8228"such as <em>dselect</em>. However this presents a problem in communicating "
43be0ac4
MV
8229"your selections back to the local computer."
8230msgstr ""
8231
8232#. type: <p><example>
8233#: offline.sgml:153
8234msgid ""
8235"Now the disc contains all of the index files and archives needed to upgrade "
8236"the target machine. Take the disc back and run:"
8237msgstr ""
8238
8239#. type: <example></example>
8240#: offline.sgml:159
8241#, no-wrap
8242msgid ""
8243" # export APT_CONFIG=\"/disc/apt.conf\"\n"
8244" # apt-get check\n"
8245" [ APT generates a local copy of the cache files ]\n"
8246" # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
8247" [ Or any other APT command ]"
8248msgstr ""
8249
8250#. type: <p></p>
8251#: offline.sgml:165
8252msgid ""
8253"It is necessary for proper function to re-specify the status file to be the "
8254"local one. This is very important!"
8255msgstr ""
8256
8257#. type: <p></p>
8258#: offline.sgml:172
8259msgid ""
8260"If you are using dselect you can do the very risky operation of copying "
8261"disc/status to /var/lib/dpkg/status so that any selections you made on the "
8262"remote machine are updated. I highly recommend that people only make "
8263"selections on the local machine - but this may not always be possible. DO "
8264"NOT copy the status file if dpkg or APT have been run in the mean time!!"
8265msgstr ""
8266
8267#. type: <heading></heading>
8268#: offline.sgml:178
8269msgid "Using APT and wget"
8270msgstr ""
8271
8272#. type: <p></p>
8273#: offline.sgml:185
8274msgid ""
8275"<em>wget</em> is a popular and portable download tool that can run on nearly "
8276"any machine. Unlike the method above this requires that the Debian machine "
8277"already has a list of available packages."
8278msgstr ""
8279
8280#. type: <p></p>
8281#: offline.sgml:190
8282msgid ""
8283"The basic idea is to create a disc that has only the archive files "
8284"downloaded from the remote site. This is done by using the --print-uris "
8285"option to apt-get and then preparing a wget script to actually fetch the "
8286"packages."
8287msgstr ""
8288
8289#. type: <heading></heading>
8290#: offline.sgml:196
8291msgid "Operation"
8292msgstr ""
8293
8294#. type: <p><example>
8295#: offline.sgml:200
8296msgid ""
8297"Unlike the previous technique no special configuration files are "
8298"required. We merely use the standard APT commands to generate the file list."
8299msgstr ""
8300
8301#. type: <example></example>
8302#: offline.sgml:205
8303#, no-wrap
8304msgid ""
8305" # apt-get dist-upgrade \n"
8306" [ Press no when prompted, make sure you are happy with the actions ]\n"
8307" # apt-get -qq --print-uris dist-upgrade > uris\n"
8308" # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
8309msgstr ""
8310
8311#. type: </example></p>
8312#: offline.sgml:210
8313msgid ""
8314"Any command other than dist-upgrade could be used here, including "
8315"dselect-upgrade."
8316msgstr ""
8317
8318#. type: <p></p>
8319#: offline.sgml:216
8320msgid ""
8321"The /disc/wget-script file will now contain a list of wget commands to "
8322"execute in order to fetch the necessary archives. This script should be run "
8323"with the current directory as the disc's mount point so as to save the "
8324"output on the disc."
8325msgstr ""
8326
8327#. type: <p><example>
8328#: offline.sgml:219
8329msgid "The remote machine would do something like"
8330msgstr ""
8331
8332#. type: <example></example>
8333#: offline.sgml:223
8334#, no-wrap
8335msgid ""
8336" # cd /disc\n"
8337" # sh -x ./wget-script\n"
8338" [ wait.. ]"
8339msgstr ""
8340
8341#. type: </example><example>
8342#: offline.sgml:228
8343msgid ""
8344"Once the archives are downloaded and the disc returned to the Debian machine "
8345"installation can proceed using,"
8346msgstr ""
8347
8348#. type: <example></example>
8349#: offline.sgml:230
8350#, no-wrap
8351msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
8352msgstr ""
8353
8354#. type: </example></p>
8355#: offline.sgml:234
8356msgid "Which will use the already fetched archives on the disc."
8357msgstr ""