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