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