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