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