1 # Translation of apt package man pages
2 # Copyright (C) YEAR André Luís Lopes <andrelop@debian.org>
3 # This file is distributed under the same license as the apt package.
6 # André Luís Lopes <andrelop@ig.com.br>
11 "Project-Id-Version: apt\n"
12 "POT-Creation-Date: 2011-06-28 16:42+0200\n"
13 "PO-Revision-Date: 2004-09-20 17:02+0000\n"
14 "Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
15 "Language-Team: <debian-l10n-portuguese@lists.debian.org>\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
36 msgid "Debian GNU/Linux"
47 msgid "apt - Advanced Package Tool"
70 "APT is a management system for software packages. For normal day to day "
71 "package management there are several frontends available, such as B<aptitude>"
72 "(8) for the command line or B<synaptic>(8) for the X Window System. Some "
73 "options are only implemented in B<apt-get>(8) though."
85 "B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
86 "B<apt_preferences>(5), B<apt-secure>(8)"
97 msgid "apt returns zero on normal operation, decimal 100 on error."
108 msgid "This manpage isn't even started."
115 "See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
116 "B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
117 "B<reportbug>(1) command."
120 " <RefSect1><Title>Bugs</>\n"
122 " Consulte a <ulink url='http://bugs.debian.org/apt'>página de bugs do APT</"
124 " Caso você queira relatar um bug no APT, por favor consulte o arquivo\n"
125 " <filename>/usr/share/doc/debian/bug-reporting.txt</> ou o comando "
138 msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
141 " <RefSect1><Title>Author</>\n"
143 " O APT foi escrito pela equipe APT <email>apt@packages.debian.org</>.\n"
148 msgid "<!-- -*- mode: sgml; mode: fold -*- -->"
155 "<!-- Boiler plate docinfo section -->\n"
156 "<!ENTITY apt-docinfo \"\n"
158 " <address><email>apt@packages.debian.org</email></address>\n"
160 " <firstname>Jason</firstname> <surname>Gunthorpe</surname>\n"
161 " <contrib></contrib>\n"
163 " <copyright><year>1998-2001</year> <holder>Jason Gunthorpe</holder></copyright>\n"
164 " <date>28 October 2008</date>\n"
165 " <productname>Linux</productname>\n"
171 " <address><email>apt@packages.debian.org</></address>\n"
172 " <author><firstname>Jason</> <surname>Gunthorpe</></>\n"
173 " <copyright><year>1998-2001</> <holder>Jason Gunthorpe</></>\n"
174 " <date>12 Março 2001</>\n"
181 "<!ENTITY apt-author.team \"\n"
183 " <othername>APT team</othername>\n"
184 " <contrib></contrib>\n"
193 "<!ENTITY apt-qapage \"\n"
195 "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
204 "<!-- Boiler plate Bug reporting section -->\n"
205 "<!ENTITY manbugs \"\n"
206 " <refsect1><title>Bugs</title>\n"
207 " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
208 " If you wish to report a bug in APT, please see\n"
209 " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
210 " &reportbug; command.\n"
216 " <RefSect1><Title>Bugs</>\n"
218 " Consulte a <ulink url='http://bugs.debian.org/apt'>página de bugs do APT</>.\n"
219 " Caso você queira relatar um bug no APT, por favor consulte o arquivo\n"
220 " <filename>/usr/share/doc/debian/bug-reporting.txt</> ou o comando &reportbug;.\n"
227 "<!-- Boiler plate Author section -->\n"
228 "<!ENTITY manauthor \"\n"
229 " <refsect1><title>Author</title>\n"
230 " <para>APT was written by the APT team <email>apt@packages.debian.org</email>.\n"
236 " <RefSect1><Title>Author</>\n"
238 " O APT foi escrito pela equipe APT <email>apt@packages.debian.org</>.\n"
245 "<!-- Should be used within the option section of the text to\n"
246 " put in the blurb about -h, -v, -c and -o -->\n"
247 "<!ENTITY apt-commonoptions \"\n"
248 " <varlistentry><term><option>-h</option></term>\n"
249 " <term><option>--help</option></term>\n"
250 " <listitem><para>Show a short usage summary.\n"
261 " <term><option>-v</option></term>\n"
262 " <term><option>--version</option></term>\n"
263 " <listitem><para>Show the program version.\n"
274 " <term><option>-c</option></term>\n"
275 " <term><option>--config-file</option></term>\n"
276 " <listitem><para>Configuration File; Specify a configuration file to use. \n"
277 " The program will read the default configuration file and then this \n"
278 " configuration file. If configuration settings need to be set before the\n"
279 " default configuration files are parsed specify a file with the <envar>APT_CONFIG</envar>\n"
280 " environment variable. See &apt-conf; for syntax information.\n"
291 " <term><option>-o</option></term>\n"
292 " <term><option>--option</option></term>\n"
293 " <listitem><para>Set a Configuration Option; This will set an arbitrary\n"
294 " configuration option. The syntax is <option>-o Foo::Bar=bar</option>.\n"
295 " <option>-o</option> and <option>--option</option> can be used multiple\n"
296 " times to set different options.\n"
307 "<!-- Should be used within the option section of the text to\n"
308 " put in the blurb about -h, -v, -c and -o -->\n"
309 "<!ENTITY apt-cmdblurb \"\n"
310 " <para>All command line options may be set using the configuration file, the\n"
311 " descriptions indicate the configuration option to set. For boolean\n"
312 " options you can override the config file by using something like \n"
313 " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
314 " or several other variations.\n"
320 " Todas as opções de linha de comando podem ser definidas usando o\n"
321 " arquivo de configuração, as descrições indicam a opção de configuração\n"
322 " a ser definida. Para opções booleanas você pode sobrepor o arquivo de\n"
323 " configuração usando algo como <option/-f-/,<option/--no-f/,\n"
324 " <option/-f=no/ ou diversas outras variantes.\n"
331 "<!ENTITY file-aptconf \"\n"
332 " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
333 " <listitem><para>APT configuration file.\n"
334 " Configuration Item: <literal>Dir::Etc::Main</literal>.</para></listitem>\n"
342 " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
343 " <listitem><para>APT configuration file fragments.\n"
344 " Configuration Item: <literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
353 "<!ENTITY file-cachearchives \"\n"
354 " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
355 " <listitem><para>Storage area for retrieved package files.\n"
356 " Configuration Item: <literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
364 " <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
365 " <listitem><para>Storage area for package files in transit.\n"
366 " Configuration Item: <literal>Dir::Cache::Archives</literal> (implicit partial). </para></listitem>\n"
375 "<!ENTITY file-preferences \"\n"
376 " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
377 " <listitem><para>Version preferences file.\n"
378 " This is where you would specify "pinning",\n"
379 " i.e. a preference to get certain packages\n"
380 " from a separate source\n"
381 " or from a different version of a distribution.\n"
382 " Configuration Item: <literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
390 " <varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
391 " <listitem><para>File fragments for the version preferences.\n"
392 " Configuration Item: <literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
401 "<!ENTITY file-sourceslist \"\n"
402 " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
403 " <listitem><para>Locations to fetch packages from.\n"
404 " Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
412 " <varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
413 " <listitem><para>File fragments for locations to fetch packages from.\n"
414 " Configuration Item: <literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
423 "<!ENTITY file-statelists \"\n"
424 " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
425 " <listitem><para>Storage area for state information for each package resource specified in\n"
427 " Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem>\n"
435 " <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
436 " <listitem><para>Storage area for state information in transit.\n"
437 " Configuration Item: <literal>Dir::State::Lists</literal> (implicit partial).</para></listitem>\n"
446 "<!ENTITY file-trustedgpg \"\n"
447 " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
448 " <listitem><para>Keyring of local trusted keys, new keys will be added here.\n"
449 " Configuration Item: <literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
457 " <varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
458 " <listitem><para>File fragments for the trusted keys, additional keyrings can\n"
459 " be stored here (by other packages or the administrator).\n"
460 " Configuration Item <literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
469 "<!ENTITY file-extended_states \"\n"
470 " <varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
471 " <listitem><para>Status list of auto-installed packages.\n"
472 " Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
473 " </para></listitem>\n"
482 "<!-- TRANSLATOR: This is the section header for the following paragraphs - comparable\n"
483 " to the other headers like NAME and DESCRIPTION and should therefore be uppercase. -->\n"
484 "<!ENTITY translation-title \"TRANSLATION\">\n"
485 msgstr "<!ENTITY translation-title \"TRADUÇÃO\">\n"
491 "<!-- TRANSLATOR: This is a placeholder. You should write here who has contributed\n"
492 " to the translation in the past, who is responsible now and maybe further information\n"
493 " specially related to your translation. -->\n"
494 "<!ENTITY translation-holder \"\n"
495 " The english translation was done by John Doe <email>john@doe.org</email> in 2009,\n"
496 " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together with the\n"
497 " Debian Dummy l10n Team <email>debian-l10n-dummy@lists.debian.org</email>.\n"
500 "<!ENTITY translation-holder \"\n"
501 " Esta página de manual foi traduzida para o Português do Brasil por\n"
502 " André Luís Lopes <email>andrelop@ig.com.br</email>.\n"
509 "<!-- TRANSLATOR: As a translation is allowed to have 20% of untranslated/fuzzy strings\n"
510 " in a shipped manpage newer/modified paragraphs will maybe appear in english in\n"
511 " the generated manpage. This sentence is therefore here to tell the reader that this\n"
512 " is not a mistake by the translator - obviously the target is that at least for stable\n"
513 " releases this sentence is not needed. :) -->\n"
514 "<!ENTITY translation-english \"\n"
515 " Note that this translated document may contain untranslated parts.\n"
516 " This is done on purpose, to avoid losing content when the\n"
517 " translation is lagging behind the original content.\n"
521 #. The last update date
522 #. type: Content of: <refentry><refentryinfo>
523 #: apt-cache.8.xml:16
525 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>04 "
526 "February 2011</date>"
529 #. type: Content of: <refentry><refnamediv><refname>
530 #: apt-cache.8.xml:25 apt-cache.8.xml:32
534 #. type: Content of: <refentry><refmeta><manvolnum>
535 #: apt-cache.8.xml:26 apt-cdrom.8.xml:25 apt-config.8.xml:26 apt-get.8.xml:26
536 #: apt-key.8.xml:18 apt-mark.8.xml:26 apt-secure.8.xml:18
540 #. type: Content of: <refentry><refmeta><refmiscinfo>
541 #: apt-cache.8.xml:27 apt-cdrom.8.xml:26 apt-config.8.xml:27
542 #: apt-extracttemplates.1.xml:27 apt-ftparchive.1.xml:27 apt-get.8.xml:27
543 #: apt-key.8.xml:19 apt-mark.8.xml:27 apt-secure.8.xml:19
544 #: apt-sortpkgs.1.xml:27 apt.conf.5.xml:33 apt_preferences.5.xml:26
545 #: sources.list.5.xml:27
549 #. type: Content of: <refentry><refnamediv><refpurpose>
550 #: apt-cache.8.xml:33
551 msgid "query the APT cache"
554 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
555 #: apt-cache.8.xml:39
557 "<command>apt-cache</command> <arg><option>-hvsn</option></arg> <arg><option>-"
558 "o=<replaceable>config string</replaceable></option></arg> <arg><option>-"
559 "c=<replaceable>file</replaceable></option></arg> <group choice=\"req\"> "
560 "<arg>gencaches</arg> <arg>showpkg <arg choice=\"plain\" rep=\"repeat"
561 "\"><replaceable>pkg</replaceable></arg></arg> <arg>showsrc <arg choice="
562 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
563 "<arg>stats</arg> <arg>dump</arg> <arg>dumpavail</arg> <arg>unmet</arg> "
564 "<arg>search <arg choice=\"plain\"><replaceable>regex</replaceable></arg></"
565 "arg> <arg>show <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
566 "replaceable></arg></arg> <arg>depends <arg choice=\"plain\" rep=\"repeat"
567 "\"><replaceable>pkg</replaceable></arg></arg> <arg>rdepends <arg choice="
568 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
569 "<arg>pkgnames <arg choice=\"plain\"><replaceable>prefix</replaceable></arg></"
570 "arg> <arg>dotty <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
571 "replaceable></arg></arg> <arg>xvcg <arg choice=\"plain\" rep=\"repeat"
572 "\"><replaceable>pkg</replaceable></arg></arg> <arg>policy <arg choice=\"plain"
573 "\" rep=\"repeat\"><replaceable>pkgs</replaceable></arg></arg> <arg>madison "
574 "<arg choice=\"plain\" rep=\"repeat\"><replaceable>pkgs</replaceable></arg></"
578 #. type: Content of: <refentry><refsect1><title>
579 #: apt-cache.8.xml:64 apt-cdrom.8.xml:50 apt-config.8.xml:50
580 #: apt-extracttemplates.1.xml:46 apt-ftparchive.1.xml:59 apt-get.8.xml:114
581 #: apt-key.8.xml:38 apt-mark.8.xml:56 apt-secure.8.xml:43
582 #: apt-sortpkgs.1.xml:47 apt.conf.5.xml:42 apt_preferences.5.xml:36
583 #: sources.list.5.xml:36
588 #. type: Content of: <refentry><refsect1><para>
589 #: apt-cache.8.xml:65
591 "<command>apt-cache</command> performs a variety of operations on APT's "
592 "package cache. <command>apt-cache</command> does not manipulate the state of "
593 "the system but does provide operations to search and generate interesting "
594 "output from the package metadata."
597 #. type: Content of: <refentry><refsect1><para>
598 #: apt-cache.8.xml:70 apt-get.8.xml:120
600 "Unless the <option>-h</option>, or <option>--help</option> option is given, "
601 "one of the commands below must be present."
604 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
605 #: apt-cache.8.xml:74
609 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
610 #: apt-cache.8.xml:75
612 "<literal>gencaches</literal> performs the same operation as <command>apt-get "
613 "check</command>. It builds the source and package caches from the sources in "
614 "&sources-list; and from <filename>/var/lib/dpkg/status</filename>."
617 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
618 #: apt-cache.8.xml:81
619 msgid "showpkg <replaceable>pkg(s)</replaceable>"
622 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
623 #: apt-cache.8.xml:82
625 "<literal>showpkg</literal> displays information about the packages listed on "
626 "the command line. Remaining arguments are package names. The available "
627 "versions and reverse dependencies of each package listed are listed, as well "
628 "as forward dependencies for each version. Forward (normal) dependencies are "
629 "those packages upon which the package in question depends; reverse "
630 "dependencies are those packages that depend upon the package in question. "
631 "Thus, forward dependencies must be satisfied for a package, but reverse "
632 "dependencies need not be. For instance, <command>apt-cache showpkg "
633 "libreadline2</command> would produce output similar to the following:"
636 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
637 #: apt-cache.8.xml:94
640 "Package: libreadline2\n"
641 "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
642 "Reverse Depends: \n"
643 " libreadlineg2,libreadline2\n"
644 " libreadline2-altdev,libreadline2\n"
646 "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
649 "Reverse Provides: \n"
652 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
653 #: apt-cache.8.xml:106
655 "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
656 "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
657 "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
658 "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
659 "installed; libreadlineg2 and libreadline2-altdev do not have to be "
660 "installed. For the specific meaning of the remainder of the output it is "
661 "best to consult the apt source code."
664 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
665 #: apt-cache.8.xml:115
669 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
670 #: apt-cache.8.xml:115
672 "<literal>stats</literal> displays some statistics about the cache. No "
673 "further arguments are expected. Statistics reported are:"
676 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
677 #: apt-cache.8.xml:118
679 "<literal>Total package names</literal> is the number of package names found "
683 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
684 #: apt-cache.8.xml:122
686 "<literal>Normal packages</literal> is the number of regular, ordinary "
687 "package names; these are packages that bear a one-to-one correspondence "
688 "between their names and the names used by other packages for them in "
689 "dependencies. The majority of packages fall into this category."
692 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
693 #: apt-cache.8.xml:128
695 "<literal>Pure virtual packages</literal> is the number of packages that "
696 "exist only as a virtual package name; that is, packages only \"provide\" the "
697 "virtual package name, and no package actually uses the name. For instance, "
698 "\"mail-transport-agent\" in the Debian GNU/Linux system is a pure virtual "
699 "package; several packages provide \"mail-transport-agent\", but there is no "
700 "package named \"mail-transport-agent\"."
703 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
704 #: apt-cache.8.xml:136
706 "<literal>Single virtual packages</literal> is the number of packages with "
707 "only one package providing a particular virtual package. For example, in the "
708 "Debian GNU/Linux system, \"X11-text-viewer\" is a virtual package, but only "
709 "one package, xless, provides \"X11-text-viewer\"."
712 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
713 #: apt-cache.8.xml:142
715 "<literal>Mixed virtual packages</literal> is the number of packages that "
716 "either provide a particular virtual package or have the virtual package name "
717 "as the package name. For instance, in the Debian GNU/Linux system, \"debconf"
718 "\" is both an actual package, and provided by the debconf-tiny package."
721 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
722 #: apt-cache.8.xml:149
724 "<literal>Missing</literal> is the number of package names that were "
725 "referenced in a dependency but were not provided by any package. Missing "
726 "packages may be an evidence if a full distribution is not accessed, or if a "
727 "package (real or virtual) has been dropped from the distribution. Usually "
728 "they are referenced from Conflicts or Breaks statements."
731 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
732 #: apt-cache.8.xml:156
734 "<literal>Total distinct</literal> versions is the number of package versions "
735 "found in the cache; this value is therefore at least equal to the number of "
736 "total package names. If more than one distribution (both \"stable\" and "
737 "\"unstable\", for instance), is being accessed, this value can be "
738 "considerably larger than the number of total package names."
741 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
742 #: apt-cache.8.xml:163
744 "<literal>Total dependencies</literal> is the number of dependency "
745 "relationships claimed by all of the packages in the cache."
748 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
749 #: apt-cache.8.xml:170
750 msgid "showsrc <replaceable>pkg(s)</replaceable>"
753 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
754 #: apt-cache.8.xml:171
756 "<literal>showsrc</literal> displays all the source package records that "
757 "match the given package names. All versions are shown, as well as all "
758 "records that declare the name to be a Binary."
761 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
762 #: apt-cache.8.xml:176 apt-config.8.xml:87
766 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
767 #: apt-cache.8.xml:177
769 "<literal>dump</literal> shows a short listing of every package in the cache. "
770 "It is primarily for debugging."
773 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
774 #: apt-cache.8.xml:181
778 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
779 #: apt-cache.8.xml:182
781 "<literal>dumpavail</literal> prints out an available list to stdout. This is "
782 "suitable for use with &dpkg; and is used by the &dselect; method."
785 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
786 #: apt-cache.8.xml:186
790 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
791 #: apt-cache.8.xml:187
793 "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
797 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
798 #: apt-cache.8.xml:191
799 msgid "show <replaceable>pkg(s)</replaceable>"
802 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
803 #: apt-cache.8.xml:192
805 "<literal>show</literal> performs a function similar to <command>dpkg --print-"
806 "avail</command>; it displays the package records for the named packages."
809 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
810 #: apt-cache.8.xml:197
811 msgid "search <replaceable>regex [ regex ... ]</replaceable>"
814 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
815 #: apt-cache.8.xml:198
817 "<literal>search</literal> performs a full text search on all available "
818 "package lists for the POSIX regex pattern given, see "
819 "<citerefentry><refentrytitle><command>regex</command></refentrytitle> "
820 "<manvolnum>7</manvolnum></citerefentry>. It searches the package names and "
821 "the descriptions for an occurrence of the regular expression and prints out "
822 "the package name and the short description, including virtual package "
823 "names. If <option>--full</option> is given then output identical to "
824 "<literal>show</literal> is produced for each matched package, and if "
825 "<option>--names-only</option> is given then the long description is not "
826 "searched, only the package name is."
829 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
830 #: apt-cache.8.xml:211
832 "Separate arguments can be used to specify multiple search patterns that are "
836 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
837 #: apt-cache.8.xml:215
838 msgid "depends <replaceable>pkg(s)</replaceable>"
841 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
842 #: apt-cache.8.xml:216
844 "<literal>depends</literal> shows a listing of each dependency a package has "
845 "and all the possible other packages that can fulfill that dependency."
848 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
849 #: apt-cache.8.xml:220
851 msgid "rdepends <replaceable>pkg(s)</replaceable>"
854 "apt-get install <replaceable>pacote</replaceable>/testing\n"
856 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
857 #: apt-cache.8.xml:221
859 "<literal>rdepends</literal> shows a listing of each reverse dependency a "
863 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
864 #: apt-cache.8.xml:225
865 msgid "pkgnames <replaceable>[ prefix ]</replaceable>"
868 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
869 #: apt-cache.8.xml:226
871 "This command prints the name of each package APT knows. The optional "
872 "argument is a prefix match to filter the name list. The output is suitable "
873 "for use in a shell tab complete function and the output is generated "
874 "extremely quickly. This command is best used with the <option>--generate</"
878 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
879 #: apt-cache.8.xml:231
881 "Note that a package which APT knows of is not necessarily available to "
882 "download, installable or installed, e.g. virtual packages are also listed in "
883 "the generated list."
886 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
887 #: apt-cache.8.xml:236
888 msgid "dotty <replaceable>pkg(s)</replaceable>"
891 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
892 #: apt-cache.8.xml:237
894 "<literal>dotty</literal> takes a list of packages on the command line and "
895 "generates output suitable for use by dotty from the <ulink url=\"http://www."
896 "research.att.com/sw/tools/graphviz/\">GraphViz</ulink> package. The result "
897 "will be a set of nodes and edges representing the relationships between the "
898 "packages. By default the given packages will trace out all dependent "
899 "packages; this can produce a very large graph. To limit the output to only "
900 "the packages listed on the command line, set the <literal>APT::Cache::"
901 "GivenOnly</literal> option."
904 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
905 #: apt-cache.8.xml:246
907 "The resulting nodes will have several shapes; normal packages are boxes, "
908 "pure provides are triangles, mixed provides are diamonds, missing packages "
909 "are hexagons. Orange boxes mean recursion was stopped [leaf packages], blue "
910 "lines are pre-depends, green lines are conflicts."
913 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
914 #: apt-cache.8.xml:251
915 msgid "Caution, dotty cannot graph larger sets of packages."
918 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
919 #: apt-cache.8.xml:254
920 msgid "xvcg <replaceable>pkg(s)</replaceable>"
923 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
924 #: apt-cache.8.xml:255
926 "The same as <literal>dotty</literal>, only for xvcg from the <ulink url="
927 "\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG tool</ulink>."
930 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
931 #: apt-cache.8.xml:259
932 msgid "policy <replaceable>[ pkg(s) ]</replaceable>"
935 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
936 #: apt-cache.8.xml:260
938 "<literal>policy</literal> is meant to help debug issues relating to the "
939 "preferences file. With no arguments it will print out the priorities of each "
940 "source. Otherwise it prints out detailed information about the priority "
941 "selection of the named package."
944 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
945 #: apt-cache.8.xml:266
947 msgid "madison <replaceable>[ pkg(s) ]</replaceable>"
950 "apt-get install <replaceable>pacote</replaceable>/testing\n"
952 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
953 #: apt-cache.8.xml:267
955 "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
956 "to mimic the output format and a subset of the functionality of the Debian "
957 "archive management tool, <literal>madison</literal>. It displays available "
958 "versions of a package in a tabular format. Unlike the original "
959 "<literal>madison</literal>, it can only display information for the "
960 "architecture for which APT has retrieved package lists (<literal>APT::"
961 "Architecture</literal>)."
964 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
965 #: apt-cache.8.xml:278 apt-config.8.xml:96 apt-extracttemplates.1.xml:59
966 #: apt-ftparchive.1.xml:525 apt-get.8.xml:331 apt-mark.8.xml:126
967 #: apt-sortpkgs.1.xml:57 apt.conf.5.xml:560 apt.conf.5.xml:582
971 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
972 #: apt-cache.8.xml:282
973 msgid "<option>-p</option>"
976 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
977 #: apt-cache.8.xml:282
978 msgid "<option>--pkg-cache</option>"
981 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
982 #: apt-cache.8.xml:283
984 "Select the file to store the package cache. The package cache is the primary "
985 "cache used by all operations. Configuration Item: <literal>Dir::Cache::"
986 "pkgcache</literal>."
989 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
990 #: apt-cache.8.xml:288 apt-ftparchive.1.xml:572 apt-get.8.xml:393
991 #: apt-sortpkgs.1.xml:61
992 msgid "<option>-s</option>"
995 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
996 #: apt-cache.8.xml:288
997 msgid "<option>--src-cache</option>"
1000 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1001 #: apt-cache.8.xml:289
1003 "Select the file to store the source cache. The source is used only by "
1004 "<literal>gencaches</literal> and it stores a parsed version of the package "
1005 "information from remote sources. When building the package cache the source "
1006 "cache is used to avoid reparsing all of the package files. Configuration "
1007 "Item: <literal>Dir::Cache::srcpkgcache</literal>."
1010 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1011 #: apt-cache.8.xml:296 apt-ftparchive.1.xml:546 apt-get.8.xml:383
1012 msgid "<option>-q</option>"
1015 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1016 #: apt-cache.8.xml:296 apt-ftparchive.1.xml:546 apt-get.8.xml:383
1017 msgid "<option>--quiet</option>"
1020 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1021 #: apt-cache.8.xml:297
1023 "Quiet; produces output suitable for logging, omitting progress indicators. "
1024 "More q's will produce more quietness up to a maximum of 2. You can also use "
1025 "<option>-q=#</option> to set the quietness level, overriding the "
1026 "configuration file. Configuration Item: <literal>quiet</literal>."
1029 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1030 #: apt-cache.8.xml:303
1031 msgid "<option>-i</option>"
1034 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1035 #: apt-cache.8.xml:303
1036 msgid "<option>--important</option>"
1039 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1040 #: apt-cache.8.xml:304
1042 "Print only important dependencies; for use with unmet and depends. Causes "
1043 "only Depends and Pre-Depends relations to be printed. Configuration Item: "
1044 "<literal>APT::Cache::Important</literal>."
1047 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1048 #: apt-cache.8.xml:309
1049 msgid "<option>--no-pre-depends</option>"
1052 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1053 #: apt-cache.8.xml:310
1054 msgid "<option>--no-depends</option>"
1057 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1058 #: apt-cache.8.xml:311
1059 msgid "<option>--no-recommends</option>"
1062 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1063 #: apt-cache.8.xml:312
1064 msgid "<option>--no-suggests</option>"
1067 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1068 #: apt-cache.8.xml:313
1069 msgid "<option>--no-conflicts</option>"
1072 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1073 #: apt-cache.8.xml:314
1074 msgid "<option>--no-breaks</option>"
1077 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1078 #: apt-cache.8.xml:315
1079 msgid "<option>--no-replaces</option>"
1082 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1083 #: apt-cache.8.xml:316
1084 msgid "<option>--no-enhances</option>"
1087 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1088 #: apt-cache.8.xml:317
1090 "Per default the <literal>depends</literal> and <literal>rdepends</literal> "
1091 "print all dependencies. This can be tweaked with these flags which will omit "
1092 "the specified dependency type. Configuration Item: <literal>APT::Cache::"
1093 "Show<replaceable>DependencyType</replaceable></literal> e.g. <literal>APT::"
1094 "Cache::ShowRecommends</literal>."
1097 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1098 #: apt-cache.8.xml:323 apt-cdrom.8.xml:124 apt-get.8.xml:350
1099 msgid "<option>-f</option>"
1102 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1103 #: apt-cache.8.xml:323
1104 msgid "<option>--full</option>"
1107 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1108 #: apt-cache.8.xml:324
1110 "Print full package records when searching. Configuration Item: "
1111 "<literal>APT::Cache::ShowFull</literal>."
1114 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1115 #: apt-cache.8.xml:328 apt-cdrom.8.xml:134 apt-ftparchive.1.xml:584
1116 msgid "<option>-a</option>"
1119 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1120 #: apt-cache.8.xml:328
1121 msgid "<option>--all-versions</option>"
1124 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1125 #: apt-cache.8.xml:329
1127 "Print full records for all available versions. This is the default; to turn "
1128 "it off, use <option>--no-all-versions</option>. If <option>--no-all-"
1129 "versions</option> is specified, only the candidate version will displayed "
1130 "(the one which would be selected for installation). This option is only "
1131 "applicable to the <literal>show</literal> command. Configuration Item: "
1132 "<literal>APT::Cache::AllVersions</literal>."
1135 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1136 #: apt-cache.8.xml:337
1137 msgid "<option>-g</option>"
1140 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1141 #: apt-cache.8.xml:337
1142 msgid "<option>--generate</option>"
1145 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1146 #: apt-cache.8.xml:338
1148 "Perform automatic package cache regeneration, rather than use the cache as "
1149 "it is. This is the default; to turn it off, use <option>--no-generate</"
1150 "option>. Configuration Item: <literal>APT::Cache::Generate</literal>."
1153 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1154 #: apt-cache.8.xml:343
1155 msgid "<option>--names-only</option>"
1158 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1159 #: apt-cache.8.xml:343 apt-cdrom.8.xml:142
1160 msgid "<option>-n</option>"
1163 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1164 #: apt-cache.8.xml:344
1166 "Only search on the package names, not the long descriptions. Configuration "
1167 "Item: <literal>APT::Cache::NamesOnly</literal>."
1170 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1171 #: apt-cache.8.xml:348
1172 msgid "<option>--all-names</option>"
1175 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1176 #: apt-cache.8.xml:349
1178 "Make <literal>pkgnames</literal> print all names, including virtual packages "
1179 "and missing dependencies. Configuration Item: <literal>APT::Cache::"
1180 "AllNames</literal>."
1183 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1184 #: apt-cache.8.xml:354
1185 msgid "<option>--recurse</option>"
1188 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1189 #: apt-cache.8.xml:355
1191 "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1192 "that all packages mentioned are printed once. Configuration Item: "
1193 "<literal>APT::Cache::RecurseDepends</literal>."
1196 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1197 #: apt-cache.8.xml:360
1198 msgid "<option>--installed</option>"
1201 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1202 #: apt-cache.8.xml:362
1204 "Limit the output of <literal>depends</literal> and <literal>rdepends</"
1205 "literal> to packages which are currently installed. Configuration Item: "
1206 "<literal>APT::Cache::Installed</literal>."
1209 #. type: Content of: <refentry><refsect1><variablelist>
1210 #: apt-cache.8.xml:367 apt-cdrom.8.xml:153 apt-config.8.xml:101
1211 #: apt-extracttemplates.1.xml:70 apt-ftparchive.1.xml:612 apt-get.8.xml:570
1212 #: apt-mark.8.xml:140 apt-sortpkgs.1.xml:67
1213 msgid "&apt-commonoptions;"
1216 #. type: Content of: <refentry><refsect1><title>
1217 #: apt-cache.8.xml:372 apt-get.8.xml:575 apt-key.8.xml:172 apt-mark.8.xml:144
1218 #: apt.conf.5.xml:1093 apt_preferences.5.xml:697
1222 #. type: Content of: <refentry><refsect1><variablelist>
1223 #: apt-cache.8.xml:374
1224 msgid "&file-sourceslist; &file-statelists;"
1227 #. type: Content of: <refentry><refsect1><title>
1228 #: apt-cache.8.xml:379 apt-cdrom.8.xml:158 apt-config.8.xml:106
1229 #: apt-extracttemplates.1.xml:77 apt-ftparchive.1.xml:628 apt-get.8.xml:585
1230 #: apt-key.8.xml:193 apt-mark.8.xml:150 apt-secure.8.xml:185
1231 #: apt-sortpkgs.1.xml:72 apt.conf.5.xml:1099 apt_preferences.5.xml:704
1232 #: sources.list.5.xml:234
1235 msgstr "Consulte também"
1237 #. type: Content of: <refentry><refsect1><para>
1238 #: apt-cache.8.xml:380
1239 msgid "&apt-conf;, &sources-list;, &apt-get;"
1242 #. type: Content of: <refentry><refsect1><title>
1243 #: apt-cache.8.xml:384 apt-cdrom.8.xml:163 apt-config.8.xml:111
1244 #: apt-extracttemplates.1.xml:81 apt-ftparchive.1.xml:632 apt-get.8.xml:591
1245 #: apt-mark.8.xml:154 apt-sortpkgs.1.xml:76
1249 #. type: Content of: <refentry><refsect1><para>
1250 #: apt-cache.8.xml:385
1252 "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1256 #. type: Content of: <refentry><refentryinfo>
1257 #: apt-cdrom.8.xml:16
1259 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>14 "
1260 "February 2004</date>"
1263 #. type: Content of: <refentry><refnamediv><refname>
1264 #: apt-cdrom.8.xml:24 apt-cdrom.8.xml:31
1268 #. type: Content of: <refentry><refnamediv><refpurpose>
1269 #: apt-cdrom.8.xml:32
1270 msgid "APT CDROM management utility"
1273 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1274 #: apt-cdrom.8.xml:38
1276 "<command>apt-cdrom</command> <arg><option>-hvrmfan</option></arg> "
1277 "<arg><option>-d=<replaceable>cdrom mount point</replaceable></option></arg> "
1278 "<arg><option>-o=<replaceable>config string</replaceable></option></arg> "
1279 "<arg><option>-c=<replaceable>file</replaceable></option></arg> <group> "
1280 "<arg>add</arg> <arg>ident</arg> </group>"
1283 #. type: Content of: <refentry><refsect1><para>
1284 #: apt-cdrom.8.xml:51
1286 "<command>apt-cdrom</command> is used to add a new CDROM to APTs list of "
1287 "available sources. <command>apt-cdrom</command> takes care of determining "
1288 "the structure of the disc as well as correcting for several possible mis-"
1289 "burns and verifying the index files."
1292 #. type: Content of: <refentry><refsect1><para>
1293 #: apt-cdrom.8.xml:58
1295 "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
1296 "system, it cannot be done by hand. Furthermore each disk in a multi-cd set "
1297 "must be inserted and scanned separately to account for possible mis-burns."
1300 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
1301 #: apt-cdrom.8.xml:68
1305 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1306 #: apt-cdrom.8.xml:69
1308 "<literal>add</literal> is used to add a new disc to the source list. It will "
1309 "unmount the CDROM device, prompt for a disk to be inserted and then proceed "
1310 "to scan it and copy the index files. If the disc does not have a proper "
1311 "<filename>disk</filename> directory you will be prompted for a descriptive "
1315 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1316 #: apt-cdrom.8.xml:77
1318 "APT uses a CDROM ID to track which disc is currently in the drive and "
1319 "maintains a database of these IDs in <filename>&statedir;/cdroms.list</"
1323 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
1324 #: apt-cdrom.8.xml:84
1328 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1329 #: apt-cdrom.8.xml:85
1331 "A debugging tool to report the identity of the current disc as well as the "
1335 #. type: Content of: <refentry><refsect1><para>
1336 #: apt-cdrom.8.xml:64
1338 "Unless the <option>-h</option>, or <option>--help</option> option is given "
1339 "one of the commands below must be present. <placeholder type=\"variablelist"
1343 #. type: Content of: <refentry><refsect1><title>
1344 #: apt-cdrom.8.xml:94 apt-key.8.xml:158
1348 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1349 #: apt-cdrom.8.xml:98 apt-ftparchive.1.xml:540 apt-get.8.xml:345
1350 msgid "<option>-d</option>"
1353 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1354 #: apt-cdrom.8.xml:98
1355 msgid "<option>--cdrom</option>"
1358 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1359 #: apt-cdrom.8.xml:99
1361 "Mount point; specify the location to mount the cdrom. This mount point must "
1362 "be listed in <filename>/etc/fstab</filename> and properly configured. "
1363 "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
1366 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1367 #: apt-cdrom.8.xml:107
1368 msgid "<option>-r</option>"
1371 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1372 #: apt-cdrom.8.xml:107
1373 msgid "<option>--rename</option>"
1376 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1377 #: apt-cdrom.8.xml:108
1379 "Rename a disc; change the label of a disk or override the disks given label. "
1380 "This option will cause <command>apt-cdrom</command> to prompt for a new "
1381 "label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
1384 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1385 #: apt-cdrom.8.xml:116 apt-get.8.xml:364
1386 msgid "<option>-m</option>"
1389 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1390 #: apt-cdrom.8.xml:116
1391 msgid "<option>--no-mount</option>"
1394 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1395 #: apt-cdrom.8.xml:117
1397 "No mounting; prevent <command>apt-cdrom</command> from mounting and "
1398 "unmounting the mount point. Configuration Item: <literal>APT::CDROM::"
1399 "NoMount</literal>."
1402 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1403 #: apt-cdrom.8.xml:124
1404 msgid "<option>--fast</option>"
1407 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1408 #: apt-cdrom.8.xml:125
1410 "Fast Copy; Assume the package files are valid and do not check every "
1411 "package. This option should be used only if <command>apt-cdrom</command> has "
1412 "been run on this disc before and did not detect any errors. Configuration "
1413 "Item: <literal>APT::CDROM::Fast</literal>."
1416 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1417 #: apt-cdrom.8.xml:134
1418 msgid "<option>--thorough</option>"
1421 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1422 #: apt-cdrom.8.xml:135
1424 "Thorough Package Scan; This option may be needed with some old Debian "
1425 "1.1/1.2 discs that have Package files in strange places. It takes much "
1426 "longer to scan the CD but will pick them all up."
1429 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1430 #: apt-cdrom.8.xml:143 apt-get.8.xml:395
1431 msgid "<option>--just-print</option>"
1434 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1435 #: apt-cdrom.8.xml:144 apt-get.8.xml:397
1436 msgid "<option>--recon</option>"
1439 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1440 #: apt-cdrom.8.xml:145 apt-get.8.xml:398
1441 msgid "<option>--no-act</option>"
1444 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1445 #: apt-cdrom.8.xml:146
1447 "No Changes; Do not change the &sources-list; file and do not write index "
1448 "files. Everything is still checked however. Configuration Item: "
1449 "<literal>APT::CDROM::NoAct</literal>."
1452 #. type: Content of: <refentry><refsect1><para>
1453 #: apt-cdrom.8.xml:159
1455 msgid "&apt-conf;, &apt-get;, &sources-list;"
1456 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
1458 #. type: Content of: <refentry><refsect1><para>
1459 #: apt-cdrom.8.xml:164
1461 "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
1465 #. The last update date
1466 #. type: Content of: <refentry><refentryinfo>
1467 #: apt-config.8.xml:16 apt-extracttemplates.1.xml:16 apt-sortpkgs.1.xml:16
1468 #: sources.list.5.xml:16
1470 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>29 "
1471 "February 2004</date>"
1474 #. type: Content of: <refentry><refnamediv><refname>
1475 #: apt-config.8.xml:25 apt-config.8.xml:32
1479 #. type: Content of: <refentry><refnamediv><refpurpose>
1480 #: apt-config.8.xml:33
1481 msgid "APT Configuration Query program"
1484 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1485 #: apt-config.8.xml:39
1487 "<command>apt-config</command> <arg><option>-hv</option></arg> <arg><option>-"
1488 "o=<replaceable>config string</replaceable></option></arg> <arg><option>-"
1489 "c=<replaceable>file</replaceable></option></arg> <group choice=\"req\"> "
1490 "<arg>shell</arg> <arg>dump</arg> </group>"
1493 #. type: Content of: <refentry><refsect1><para>
1494 #: apt-config.8.xml:51
1496 "<command>apt-config</command> is an internal program used by various "
1497 "portions of the APT suite to provide consistent configurability. It accesses "
1498 "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
1499 "manner that is easy to use by scripted applications."
1502 #. type: Content of: <refentry><refsect1><para>
1503 #: apt-config.8.xml:56 apt-ftparchive.1.xml:75
1505 "Unless the <option>-h</option>, or <option>--help</option> option is given "
1506 "one of the commands below must be present."
1509 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1510 #: apt-config.8.xml:61
1514 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1515 #: apt-config.8.xml:63
1517 "shell is used to access the configuration information from a shell script. "
1518 "It is given pairs of arguments, the first being a shell variable and the "
1519 "second the configuration value to query. As output it lists a series of "
1520 "shell assignments commands for each present value. In a shell script it "
1521 "should be used like:"
1524 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
1525 #: apt-config.8.xml:71
1529 "RES=`apt-config shell OPTS MyApp::options`\n"
1533 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1534 #: apt-config.8.xml:76
1536 "This will set the shell environment variable $OPTS to the value of MyApp::"
1537 "options with a default of <option>-f</option>."
1540 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1541 #: apt-config.8.xml:80
1543 "The configuration item may be postfixed with a /[fdbi]. f returns file "
1544 "names, d returns directories, b returns true or false and i returns an "
1545 "integer. Each of the returns is normalized and verified internally."
1548 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1549 #: apt-config.8.xml:89
1550 msgid "Just show the contents of the configuration space."
1553 #. type: Content of: <refentry><refsect1><para>
1554 #: apt-config.8.xml:107 apt-extracttemplates.1.xml:78 apt-ftparchive.1.xml:629
1555 #: apt-sortpkgs.1.xml:73
1563 #. type: Content of: <refentry><refsect1><para>
1564 #: apt-config.8.xml:112
1566 "<command>apt-config</command> returns zero on normal operation, decimal 100 "
1570 #. type: Content of: <refentry><refnamediv><refname>
1571 #: apt-extracttemplates.1.xml:25 apt-extracttemplates.1.xml:32
1572 msgid "apt-extracttemplates"
1575 #. type: Content of: <refentry><refmeta><manvolnum>
1576 #: apt-extracttemplates.1.xml:26 apt-ftparchive.1.xml:26 apt-sortpkgs.1.xml:26
1580 #. type: Content of: <refentry><refnamediv><refpurpose>
1581 #: apt-extracttemplates.1.xml:33
1582 msgid "Utility to extract DebConf config and templates from Debian packages"
1585 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1586 #: apt-extracttemplates.1.xml:39
1588 "<command>apt-extracttemplates</command> <arg><option>-hv</option></arg> "
1589 "<arg><option>-t=<replaceable>temporary directory</replaceable></option></"
1590 "arg> <arg choice=\"plain\" rep=\"repeat\"><replaceable>file</replaceable></"
1594 #. type: Content of: <refentry><refsect1><para>
1595 #: apt-extracttemplates.1.xml:47
1597 "<command>apt-extracttemplates</command> will take one or more Debian package "
1598 "files as input and write out (to a temporary directory) all associated "
1599 "config scripts and template files. For each passed in package that contains "
1600 "config scripts and templates, one line of output will be generated in the "
1604 #. type: Content of: <refentry><refsect1><para>
1605 #: apt-extracttemplates.1.xml:52
1606 msgid "package version template-file config-script"
1609 #. type: Content of: <refentry><refsect1><para>
1610 #: apt-extracttemplates.1.xml:53
1612 "template-file and config-script are written to the temporary directory "
1613 "specified by the -t or --tempdir (<literal>APT::ExtractTemplates::TempDir</"
1614 "literal>) directory, with filenames of the form <filename>package.template."
1615 "XXXX</filename> and <filename>package.config.XXXX</filename>"
1618 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1619 #: apt-extracttemplates.1.xml:63 apt-get.8.xml:504
1620 msgid "<option>-t</option>"
1623 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1624 #: apt-extracttemplates.1.xml:63
1625 msgid "<option>--tempdir</option>"
1628 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1629 #: apt-extracttemplates.1.xml:65
1631 "Temporary directory in which to write extracted debconf template files and "
1632 "config scripts. Configuration Item: <literal>APT::ExtractTemplates::"
1636 #. type: Content of: <refentry><refsect1><para>
1637 #: apt-extracttemplates.1.xml:82
1639 "<command>apt-extracttemplates</command> returns zero on normal operation, "
1640 "decimal 100 on error."
1643 #. The last update date
1644 #. type: Content of: <refentry><refentryinfo>
1645 #: apt-ftparchive.1.xml:16
1647 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>17 "
1648 "August 2009</date>"
1651 #. type: Content of: <refentry><refnamediv><refname>
1652 #: apt-ftparchive.1.xml:25 apt-ftparchive.1.xml:32
1653 msgid "apt-ftparchive"
1656 #. type: Content of: <refentry><refnamediv><refpurpose>
1657 #: apt-ftparchive.1.xml:33
1658 msgid "Utility to generate index files"
1661 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1662 #: apt-ftparchive.1.xml:39
1664 "<command>apt-ftparchive</command> <arg><option>-hvdsq</option></arg> "
1665 "<arg><option>--md5</option></arg> <arg><option>--delink</option></arg> "
1666 "<arg><option>--readonly</option></arg> <arg><option>--contents</option></"
1667 "arg> <arg><option>--arch <replaceable>architecture</replaceable></option></"
1668 "arg> <arg><option>-o <replaceable>config</replaceable>=<replaceable>string</"
1669 "replaceable></option></arg> <arg><option>-c=<replaceable>file</replaceable></"
1670 "option></arg> <group choice=\"req\"> <arg>packages<arg choice=\"plain\" rep="
1671 "\"repeat\"><replaceable>path</replaceable></arg><arg><replaceable>override</"
1672 "replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> "
1673 "<arg>sources<arg choice=\"plain\" rep=\"repeat\"><replaceable>path</"
1674 "replaceable></arg><arg><replaceable>override</"
1675 "replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> "
1676 "<arg>contents <arg choice=\"plain\"><replaceable>path</replaceable></arg></"
1677 "arg> <arg>release <arg choice=\"plain\"><replaceable>path</replaceable></"
1678 "arg></arg> <arg>generate <arg choice=\"plain\"><replaceable>config-file</"
1679 "replaceable></arg> <arg choice=\"plain\" rep=\"repeat"
1680 "\"><replaceable>section</replaceable></arg></arg> <arg>clean <arg choice="
1681 "\"plain\"><replaceable>config-file</replaceable></arg></arg> </group>"
1684 #. type: Content of: <refentry><refsect1><para>
1685 #: apt-ftparchive.1.xml:60
1687 "<command>apt-ftparchive</command> is the command line tool that generates "
1688 "the index files that APT uses to access a distribution source. The index "
1689 "files should be generated on the origin site based on the content of that "
1693 #. type: Content of: <refentry><refsect1><para>
1694 #: apt-ftparchive.1.xml:64
1696 "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
1697 "program, incorporating its entire functionality via the <literal>packages</"
1698 "literal> command. It also contains a contents file generator, "
1699 "<literal>contents</literal>, and an elaborate means to 'script' the "
1700 "generation process for a complete archive."
1703 #. type: Content of: <refentry><refsect1><para>
1704 #: apt-ftparchive.1.xml:70
1706 "Internally <command>apt-ftparchive</command> can make use of binary "
1707 "databases to cache the contents of a .deb file and it does not rely on any "
1708 "external programs aside from &gzip;. When doing a full generate it "
1709 "automatically performs file-change checks and builds the desired compressed "
1713 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1714 #: apt-ftparchive.1.xml:79
1718 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1719 #: apt-ftparchive.1.xml:81
1721 "The packages command generates a package file from a directory tree. It "
1722 "takes the given directory and recursively searches it for .deb files, "
1723 "emitting a package record to stdout for each. This command is approximately "
1724 "equivalent to &dpkg-scanpackages;."
1727 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1728 #: apt-ftparchive.1.xml:86 apt-ftparchive.1.xml:110
1730 "The option <option>--db</option> can be used to specify a binary caching DB."
1733 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1734 #: apt-ftparchive.1.xml:89
1738 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1739 #: apt-ftparchive.1.xml:91
1741 "The <literal>sources</literal> command generates a source index file from a "
1742 "directory tree. It takes the given directory and recursively searches it "
1743 "for .dsc files, emitting a source record to stdout for each. This command is "
1744 "approximately equivalent to &dpkg-scansources;."
1747 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1748 #: apt-ftparchive.1.xml:96
1750 "If an override file is specified then a source override file will be looked "
1751 "for with an extension of .src. The --source-override option can be used to "
1752 "change the source override file that will be used."
1755 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1756 #: apt-ftparchive.1.xml:101
1760 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1761 #: apt-ftparchive.1.xml:103
1763 "The <literal>contents</literal> command generates a contents file from a "
1764 "directory tree. It takes the given directory and recursively searches it "
1765 "for .deb files, and reads the file list from each file. It then sorts and "
1766 "writes to stdout the list of files matched to packages. Directories are not "
1767 "written to the output. If multiple packages own the same file then each "
1768 "package is separated by a comma in the output."
1771 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1772 #: apt-ftparchive.1.xml:113
1776 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1777 #: apt-ftparchive.1.xml:115
1779 "The <literal>release</literal> command generates a Release file from a "
1780 "directory tree. It recursively searches the given directory for uncompressed "
1781 "<filename>Packages</filename> and <filename>Sources</filename> files and the "
1782 "ones compressed with <command>gzip</command>, <command>bzip2</command> or "
1783 "<command>lzma</command> as well as <filename>Release</filename> and "
1784 "<filename>md5sum.txt</filename> files by default (<literal>APT::FTPArchive::"
1785 "Release::Default-Patterns</literal>). Additional filename patterns can be "
1786 "added by listing them in <literal>APT::FTPArchive::Release::Patterns</"
1787 "literal>. It then writes to stdout a Release file containing a MD5, SHA1 "
1788 "and SHA256 digest for each file."
1791 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1792 #: apt-ftparchive.1.xml:125
1794 "Values for the additional metadata fields in the Release file are taken from "
1795 "the corresponding variables under <literal>APT::FTPArchive::Release</"
1796 "literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
1797 "supported fields are: <literal>Origin</literal>, <literal>Label</literal>, "
1798 "<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
1799 "literal>, <literal>Date</literal>, <literal>Valid-Until</literal>, "
1800 "<literal>Architectures</literal>, <literal>Components</literal>, "
1801 "<literal>Description</literal>."
1804 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1805 #: apt-ftparchive.1.xml:136
1809 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1810 #: apt-ftparchive.1.xml:138
1812 "The <literal>generate</literal> command is designed to be runnable from a "
1813 "cron script and builds indexes according to the given config file. The "
1814 "config language provides a flexible means of specifying which index files "
1815 "are built from which directories, as well as providing a simple means of "
1816 "maintaining the required settings."
1819 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1820 #: apt-ftparchive.1.xml:145 apt-get.8.xml:287
1824 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1825 #: apt-ftparchive.1.xml:147
1827 "The <literal>clean</literal> command tidies the databases used by the given "
1828 "configuration file by removing any records that are no longer necessary."
1831 #. type: Content of: <refentry><refsect1><title>
1832 #: apt-ftparchive.1.xml:153
1833 msgid "The Generate Configuration"
1836 #. type: Content of: <refentry><refsect1><para>
1837 #: apt-ftparchive.1.xml:155
1839 "The <literal>generate</literal> command uses a configuration file to "
1840 "describe the archives that are going to be generated. It follows the typical "
1841 "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
1842 "conf; contains a description of the syntax. Note that the generate "
1843 "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
1844 "tree manner. This only effects how the scope tag is handled."
1847 #. type: Content of: <refentry><refsect1><para>
1848 #: apt-ftparchive.1.xml:163
1850 "The generate configuration has 4 separate sections, each described below."
1853 #. type: Content of: <refentry><refsect1><refsect2><title>
1854 #: apt-ftparchive.1.xml:165
1859 #. type: Content of: <refentry><refsect1><refsect2><para>
1860 #: apt-ftparchive.1.xml:167
1862 "The <literal>Dir</literal> section defines the standard directories needed "
1863 "to locate the files required during the generation process. These "
1864 "directories are prepended certain relative paths defined in later sections "
1865 "to produce a complete an absolute path."
1868 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1869 #: apt-ftparchive.1.xml:172
1873 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1874 #: apt-ftparchive.1.xml:174
1876 "Specifies the root of the FTP archive, in a standard Debian configuration "
1877 "this is the directory that contains the <filename>ls-LR</filename> and dist "
1881 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1882 #: apt-ftparchive.1.xml:179
1886 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1887 #: apt-ftparchive.1.xml:181
1888 msgid "Specifies the location of the override files."
1891 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1892 #: apt-ftparchive.1.xml:184
1896 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1897 #: apt-ftparchive.1.xml:186
1898 msgid "Specifies the location of the cache files"
1901 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1902 #: apt-ftparchive.1.xml:189
1906 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1907 #: apt-ftparchive.1.xml:191
1909 "Specifies the location of the file list files, if the <literal>FileList</"
1910 "literal> setting is used below."
1913 #. type: Content of: <refentry><refsect1><refsect2><title>
1914 #: apt-ftparchive.1.xml:197
1915 msgid "Default Section"
1918 #. type: Content of: <refentry><refsect1><refsect2><para>
1919 #: apt-ftparchive.1.xml:199
1921 "The <literal>Default</literal> section specifies default values, and "
1922 "settings that control the operation of the generator. Other sections may "
1923 "override these defaults with a per-section setting."
1926 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1927 #: apt-ftparchive.1.xml:203
1928 msgid "Packages::Compress"
1931 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1932 #: apt-ftparchive.1.xml:205
1934 "Sets the default compression schemes to use for the Package index files. It "
1935 "is a string that contains a space separated list of at least one of: '.' (no "
1936 "compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
1940 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1941 #: apt-ftparchive.1.xml:211
1942 msgid "Packages::Extensions"
1945 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1946 #: apt-ftparchive.1.xml:213
1948 "Sets the default list of file extensions that are package files. This "
1949 "defaults to '.deb'."
1952 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1953 #: apt-ftparchive.1.xml:217
1954 msgid "Sources::Compress"
1957 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1958 #: apt-ftparchive.1.xml:219
1960 "This is similar to <literal>Packages::Compress</literal> except that it "
1961 "controls the compression for the Sources files."
1964 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1965 #: apt-ftparchive.1.xml:223
1966 msgid "Sources::Extensions"
1969 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1970 #: apt-ftparchive.1.xml:225
1972 "Sets the default list of file extensions that are source files. This "
1973 "defaults to '.dsc'."
1976 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1977 #: apt-ftparchive.1.xml:229
1978 msgid "Contents::Compress"
1981 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1982 #: apt-ftparchive.1.xml:231
1984 "This is similar to <literal>Packages::Compress</literal> except that it "
1985 "controls the compression for the Contents files."
1988 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1989 #: apt-ftparchive.1.xml:235
1990 msgid "Translation::Compress"
1993 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1994 #: apt-ftparchive.1.xml:237
1996 "This is similar to <literal>Packages::Compress</literal> except that it "
1997 "controls the compression for the Translation-en master file."
2000 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2001 #: apt-ftparchive.1.xml:241
2005 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2006 #: apt-ftparchive.1.xml:243
2008 "Specifies the number of kilobytes to delink (and replace with hard links) "
2009 "per run. This is used in conjunction with the per-section <literal>External-"
2010 "Links</literal> setting."
2013 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2014 #: apt-ftparchive.1.xml:248
2018 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2019 #: apt-ftparchive.1.xml:250
2021 "Specifies the mode of all created index files. It defaults to 0644. All "
2022 "index files are set to this mode with no regard to the umask."
2025 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2026 #: apt-ftparchive.1.xml:255 apt-ftparchive.1.xml:401
2028 msgid "LongDescription"
2031 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2032 #: apt-ftparchive.1.xml:257 apt-ftparchive.1.xml:403
2034 "Sets if long descriptions should be included in the Packages file or split "
2035 "out into a master Translation-en file."
2038 #. type: Content of: <refentry><refsect1><refsect2><title>
2039 #: apt-ftparchive.1.xml:263
2040 msgid "TreeDefault Section"
2043 #. type: Content of: <refentry><refsect1><refsect2><para>
2044 #: apt-ftparchive.1.xml:265
2046 "Sets defaults specific to <literal>Tree</literal> sections. All of these "
2047 "variables are substitution variables and have the strings $(DIST), "
2048 "$(SECTION) and $(ARCH) replaced with their respective values."
2051 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2052 #: apt-ftparchive.1.xml:270
2053 msgid "MaxContentsChange"
2056 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2057 #: apt-ftparchive.1.xml:272
2059 "Sets the number of kilobytes of contents files that are generated each day. "
2060 "The contents files are round-robined so that over several days they will all "
2064 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2065 #: apt-ftparchive.1.xml:277
2069 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2070 #: apt-ftparchive.1.xml:279
2072 "Controls the number of days a contents file is allowed to be checked without "
2073 "changing. If this limit is passed the mtime of the contents file is updated. "
2074 "This case can occur if the package file is changed in such a way that does "
2075 "not result in a new contents file [override edit for instance]. A hold off "
2076 "is allowed in hopes that new .debs will be installed, requiring a new file "
2077 "anyhow. The default is 10, the units are in days."
2080 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2081 #: apt-ftparchive.1.xml:288
2085 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2086 #: apt-ftparchive.1.xml:290
2088 "Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
2089 "$(SECTION)/binary-$(ARCH)/</filename>"
2092 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2093 #: apt-ftparchive.1.xml:294
2094 msgid "SrcDirectory"
2097 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2098 #: apt-ftparchive.1.xml:296
2100 "Sets the top of the source package directory tree. Defaults to <filename>"
2101 "$(DIST)/$(SECTION)/source/</filename>"
2104 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2105 #: apt-ftparchive.1.xml:300 apt-ftparchive.1.xml:439
2109 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2110 #: apt-ftparchive.1.xml:302
2112 "Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
2113 "binary-$(ARCH)/Packages</filename>"
2116 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2117 #: apt-ftparchive.1.xml:306 apt-ftparchive.1.xml:444
2121 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2122 #: apt-ftparchive.1.xml:308
2124 "Sets the output Sources file. Defaults to <filename>$(DIST)/$(SECTION)/"
2125 "source/Sources</filename>"
2128 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2129 #: apt-ftparchive.1.xml:312
2134 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2135 #: apt-ftparchive.1.xml:314
2137 "Set the output Translation-en master file with the long descriptions if they "
2138 "should be not included in the Packages file. Defaults to <filename>$(DIST)/"
2139 "$(SECTION)/i18n/Translation-en</filename>"
2142 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2143 #: apt-ftparchive.1.xml:319
2144 msgid "InternalPrefix"
2147 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2148 #: apt-ftparchive.1.xml:321
2150 "Sets the path prefix that causes a symlink to be considered an internal link "
2151 "instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
2155 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2156 #: apt-ftparchive.1.xml:326 apt-ftparchive.1.xml:450
2160 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2161 #: apt-ftparchive.1.xml:328
2163 "Sets the output Contents file. Defaults to <filename>$(DIST)/Contents-$(ARCH)"
2164 "</filename>. If this setting causes multiple Packages files to map onto a "
2165 "single Contents file (such as the default) then <command>apt-ftparchive</"
2166 "command> will integrate those package files together automatically."
2169 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2170 #: apt-ftparchive.1.xml:335
2171 msgid "Contents::Header"
2174 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2175 #: apt-ftparchive.1.xml:337
2176 msgid "Sets header file to prepend to the contents output."
2179 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2180 #: apt-ftparchive.1.xml:340 apt-ftparchive.1.xml:475
2184 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2185 #: apt-ftparchive.1.xml:342
2187 "Sets the binary cache database to use for this section. Multiple sections "
2188 "can share the same database."
2191 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2192 #: apt-ftparchive.1.xml:346
2196 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2197 #: apt-ftparchive.1.xml:348
2199 "Specifies that instead of walking the directory tree, <command>apt-"
2200 "ftparchive</command> should read the list of files from the given file. "
2201 "Relative files names are prefixed with the archive directory."
2204 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2205 #: apt-ftparchive.1.xml:353
2206 msgid "SourceFileList"
2209 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2210 #: apt-ftparchive.1.xml:355
2212 "Specifies that instead of walking the directory tree, <command>apt-"
2213 "ftparchive</command> should read the list of files from the given file. "
2214 "Relative files names are prefixed with the archive directory. This is used "
2215 "when processing source indexes."
2218 #. type: Content of: <refentry><refsect1><refsect2><title>
2219 #: apt-ftparchive.1.xml:363
2220 msgid "Tree Section"
2223 #. type: Content of: <refentry><refsect1><refsect2><para>
2224 #: apt-ftparchive.1.xml:365
2226 "The <literal>Tree</literal> section defines a standard Debian file tree "
2227 "which consists of a base directory, then multiple sections in that base "
2228 "directory and finally multiple Architectures in each section. The exact "
2229 "pathing used is defined by the <literal>Directory</literal> substitution "
2233 #. type: Content of: <refentry><refsect1><refsect2><para>
2234 #: apt-ftparchive.1.xml:370
2236 "The <literal>Tree</literal> section takes a scope tag which sets the "
2237 "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
2238 "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
2239 "setting such as <filename>dists/&stable-codename;</filename>."
2242 #. type: Content of: <refentry><refsect1><refsect2><para>
2243 #: apt-ftparchive.1.xml:375
2245 "All of the settings defined in the <literal>TreeDefault</literal> section "
2246 "can be use in a <literal>Tree</literal> section as well as three new "
2250 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
2251 #: apt-ftparchive.1.xml:381
2254 "for i in Sections do \n"
2255 " for j in Architectures do\n"
2256 " Generate for DIST=scope SECTION=i ARCH=j\n"
2260 #. type: Content of: <refentry><refsect1><refsect2><para>
2261 #: apt-ftparchive.1.xml:378
2263 "When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
2264 "command> performs an operation similar to: <placeholder type=\"programlisting"
2268 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2269 #: apt-ftparchive.1.xml:387
2274 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2275 #: apt-ftparchive.1.xml:389
2277 "This is a space separated list of sections which appear under the "
2278 "distribution, typically this is something like <literal>main contrib non-"
2282 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2283 #: apt-ftparchive.1.xml:394
2284 msgid "Architectures"
2287 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2288 #: apt-ftparchive.1.xml:396
2290 "This is a space separated list of all the architectures that appear under "
2291 "search section. The special architecture 'source' is used to indicate that "
2292 "this tree has a source archive."
2295 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2296 #: apt-ftparchive.1.xml:407 apt-ftparchive.1.xml:455
2300 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2301 #: apt-ftparchive.1.xml:409
2303 "Sets the binary override file. The override file contains section, priority "
2304 "and maintainer address information."
2307 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2308 #: apt-ftparchive.1.xml:413 apt-ftparchive.1.xml:460
2312 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2313 #: apt-ftparchive.1.xml:415
2315 "Sets the source override file. The override file contains section "
2319 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2320 #: apt-ftparchive.1.xml:419 apt-ftparchive.1.xml:465
2321 msgid "ExtraOverride"
2324 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2325 #: apt-ftparchive.1.xml:421 apt-ftparchive.1.xml:467
2326 msgid "Sets the binary extra override file."
2329 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2330 #: apt-ftparchive.1.xml:424 apt-ftparchive.1.xml:470
2331 msgid "SrcExtraOverride"
2334 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2335 #: apt-ftparchive.1.xml:426 apt-ftparchive.1.xml:472
2336 msgid "Sets the source extra override file."
2339 #. type: Content of: <refentry><refsect1><refsect2><title>
2340 #: apt-ftparchive.1.xml:431
2341 msgid "BinDirectory Section"
2344 #. type: Content of: <refentry><refsect1><refsect2><para>
2345 #: apt-ftparchive.1.xml:433
2347 "The <literal>bindirectory</literal> section defines a binary directory tree "
2348 "with no special structure. The scope tag specifies the location of the "
2349 "binary directory and the settings are similar to the <literal>Tree</literal> "
2350 "section with no substitution variables or <literal>Section</"
2351 "literal><literal>Architecture</literal> settings."
2354 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2355 #: apt-ftparchive.1.xml:441
2356 msgid "Sets the Packages file output."
2359 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2360 #: apt-ftparchive.1.xml:446
2362 "Sets the Sources file output. At least one of <literal>Packages</literal> or "
2363 "<literal>Sources</literal> is required."
2366 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2367 #: apt-ftparchive.1.xml:452
2368 msgid "Sets the Contents file output. (optional)"
2371 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2372 #: apt-ftparchive.1.xml:457
2373 msgid "Sets the binary override file."
2376 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2377 #: apt-ftparchive.1.xml:462
2378 msgid "Sets the source override file."
2381 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2382 #: apt-ftparchive.1.xml:477
2383 msgid "Sets the cache DB."
2386 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2387 #: apt-ftparchive.1.xml:480
2391 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2392 #: apt-ftparchive.1.xml:482
2393 msgid "Appends a path to all the output paths."
2396 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2397 #: apt-ftparchive.1.xml:485
2398 msgid "FileList, SourceFileList"
2401 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2402 #: apt-ftparchive.1.xml:487
2403 msgid "Specifies the file list file."
2406 #. type: Content of: <refentry><refsect1><title>
2407 #: apt-ftparchive.1.xml:494
2408 msgid "The Binary Override File"
2411 #. type: Content of: <refentry><refsect1><para>
2412 #: apt-ftparchive.1.xml:495
2414 "The binary override file is fully compatible with &dpkg-scanpackages;. It "
2415 "contains 4 fields separated by spaces. The first field is the package name, "
2416 "the second is the priority to force that package to, the third is the the "
2417 "section to force that package to and the final field is the maintainer "
2418 "permutation field."
2421 #. type: Content of: <refentry><refsect1><para><literallayout>
2422 #: apt-ftparchive.1.xml:501
2424 msgid "old [// oldn]* => new"
2427 #. type: Content of: <refentry><refsect1><para><literallayout>
2428 #: apt-ftparchive.1.xml:503
2433 #. type: Content of: <refentry><refsect1><para>
2434 #: apt-ftparchive.1.xml:500
2436 "The general form of the maintainer field is: <placeholder type="
2437 "\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
2438 "id=\"1\"/> The first form allows a double-slash separated list of old email "
2439 "addresses to be specified. If any of those are found then new is substituted "
2440 "for the maintainer field. The second form unconditionally substitutes the "
2444 #. type: Content of: <refentry><refsect1><title>
2445 #: apt-ftparchive.1.xml:511
2446 msgid "The Source Override File"
2449 #. type: Content of: <refentry><refsect1><para>
2450 #: apt-ftparchive.1.xml:513
2452 "The source override file is fully compatible with &dpkg-scansources;. It "
2453 "contains 2 fields separated by spaces. The first fields is the source "
2454 "package name, the second is the section to assign it."
2457 #. type: Content of: <refentry><refsect1><title>
2458 #: apt-ftparchive.1.xml:518
2459 msgid "The Extra Override File"
2462 #. type: Content of: <refentry><refsect1><para>
2463 #: apt-ftparchive.1.xml:520
2465 "The extra override file allows any arbitrary tag to be added or replaced in "
2466 "the output. It has 3 columns, the first is the package, the second is the "
2467 "tag and the remainder of the line is the new value."
2470 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2471 #: apt-ftparchive.1.xml:529
2473 "<option>--md5</option>, <option>--sha1</option>, <option>--sha256</option>"
2476 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2477 #: apt-ftparchive.1.xml:531
2479 "Generate the given checksum. These options default to on, when turned off "
2480 "the generated index files will not have the checksum fields where possible. "
2481 "Configuration Items: <literal>APT::FTPArchive::<replaceable>Checksum</"
2482 "replaceable></literal> and <literal>APT::FTPArchive::<replaceable>Index</"
2483 "replaceable>::<replaceable>Checksum</replaceable></literal> where "
2484 "<literal><replaceable>Index</replaceable></literal> can be "
2485 "<literal>Packages</literal>, <literal>Sources</literal> or <literal>Release</"
2486 "literal> and <literal><replaceable>Checksum</replaceable></literal> can be "
2487 "<literal>MD5</literal>, <literal>SHA1</literal> or <literal>SHA256</literal>."
2490 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2491 #: apt-ftparchive.1.xml:540
2492 msgid "<option>--db</option>"
2495 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2496 #: apt-ftparchive.1.xml:542
2498 "Use a binary caching DB. This has no effect on the generate command. "
2499 "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
2502 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2503 #: apt-ftparchive.1.xml:548
2505 "Quiet; produces output suitable for logging, omitting progress indicators. "
2506 "More q's will produce more quiet up to a maximum of 2. You can also use "
2507 "<option>-q=#</option> to set the quiet level, overriding the configuration "
2508 "file. Configuration Item: <literal>quiet</literal>."
2511 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2512 #: apt-ftparchive.1.xml:554
2513 msgid "<option>--delink</option>"
2516 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2517 #: apt-ftparchive.1.xml:556
2519 "Perform Delinking. If the <literal>External-Links</literal> setting is used "
2520 "then this option actually enables delinking of the files. It defaults to on "
2521 "and can be turned off with <option>--no-delink</option>. Configuration "
2522 "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
2525 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2526 #: apt-ftparchive.1.xml:562
2527 msgid "<option>--contents</option>"
2530 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2531 #: apt-ftparchive.1.xml:564
2533 "Perform contents generation. When this option is set and package indexes are "
2534 "being generated with a cache DB then the file listing will also be extracted "
2535 "and stored in the DB for later use. When using the generate command this "
2536 "option also allows the creation of any Contents files. The default is on. "
2537 "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
2540 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2541 #: apt-ftparchive.1.xml:572
2542 msgid "<option>--source-override</option>"
2545 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2546 #: apt-ftparchive.1.xml:574
2548 "Select the source override file to use with the <literal>sources</literal> "
2549 "command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
2553 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2554 #: apt-ftparchive.1.xml:578
2555 msgid "<option>--readonly</option>"
2558 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2559 #: apt-ftparchive.1.xml:580
2561 "Make the caching databases read only. Configuration Item: <literal>APT::"
2562 "FTPArchive::ReadOnlyDB</literal>."
2565 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2566 #: apt-ftparchive.1.xml:584
2567 msgid "<option>--arch</option>"
2570 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2571 #: apt-ftparchive.1.xml:585
2573 "Accept in the <literal>packages</literal> and <literal>contents</literal> "
2574 "commands only package files matching <literal>*_arch.deb</literal> or "
2575 "<literal>*_all.deb</literal> instead of all package files in the given "
2576 "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
2579 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2580 #: apt-ftparchive.1.xml:591
2581 msgid "<option>APT::FTPArchive::AlwaysStat</option>"
2584 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2585 #: apt-ftparchive.1.xml:593
2587 "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
2588 "packages are recompiled and/or republished with the same version again, this "
2589 "will lead to problems as the now outdated cached metadata like size and "
2590 "checksums will be used. With this option enabled this will no longer happen "
2591 "as it will be checked if the file was changed. Note that this option is set "
2592 "to \"<literal>false</literal>\" by default as it is not recommend to upload "
2593 "multiply versions/builds of a package with the same versionnumber, so in "
2594 "theory nobody will have these problems and therefore all these extra checks "
2598 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2599 #: apt-ftparchive.1.xml:603
2600 msgid "<option>APT::FTPArchive::LongDescription</option>"
2603 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2604 #: apt-ftparchive.1.xml:605
2606 "This configuration option defaults to \"<literal>true</literal>\" and should "
2607 "only be set to <literal>\"false\"</literal> if the Archive generated with "
2608 "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
2609 "that the <filename>Translation-en</filename> master file can only be created "
2610 "in the generate command."
2613 #. type: Content of: <refentry><refsect1><title>
2614 #: apt-ftparchive.1.xml:617 apt.conf.5.xml:1087 apt_preferences.5.xml:544
2615 #: sources.list.5.xml:198
2620 #. type: Content of: <refentry><refsect1><para><programlisting>
2621 #: apt-ftparchive.1.xml:623
2623 msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
2626 #. type: Content of: <refentry><refsect1><para>
2627 #: apt-ftparchive.1.xml:619
2629 "To create a compressed Packages file for a directory containing binary "
2630 "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
2633 #. type: Content of: <refentry><refsect1><para>
2634 #: apt-ftparchive.1.xml:633
2636 "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
2640 #. The last update date
2641 #. type: Content of: <refentry><refentryinfo>
2644 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>08 "
2645 "November 2008</date>"
2648 #. type: <heading></heading>
2649 #: apt-get.8.xml:25 apt-get.8.xml:32 guide.sgml:96
2653 #. type: Content of: <refentry><refnamediv><refpurpose>
2655 msgid "APT package handling utility -- command-line interface"
2658 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
2661 "<command>apt-get</command> <arg><option>-sqdyfmubV</option></arg> <arg> "
2662 "<option>-o= <replaceable>config_string</replaceable> </option> </arg> <arg> "
2663 "<option>-c= <replaceable>config_file</replaceable> </option> </arg> <arg> "
2664 "<option>-t=</option> <arg choice='plain'> <replaceable>target_release</"
2665 "replaceable> </arg> </arg> <group choice=\"req\"> <arg "
2666 "choice='plain'>update</arg> <arg choice='plain'>upgrade</arg> <arg "
2667 "choice='plain'>dselect-upgrade</arg> <arg choice='plain'>dist-upgrade</arg> "
2668 "<arg choice='plain'>install <arg choice=\"plain\" rep=\"repeat"
2669 "\"><replaceable>pkg</replaceable> <arg> <group choice='req'> <arg "
2670 "choice='plain'> =<replaceable>pkg_version_number</replaceable> </arg> <arg "
2671 "choice='plain'> /<replaceable>target_release</replaceable> </arg> </group> </"
2672 "arg> </arg> </arg> <arg choice='plain'>remove <arg choice=\"plain\" rep="
2673 "\"repeat\"><replaceable>pkg</replaceable></arg></arg> <arg "
2674 "choice='plain'>purge <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
2675 "replaceable></arg></arg> <arg choice='plain'>source <arg choice=\"plain\" "
2676 "rep=\"repeat\"><replaceable>pkg</replaceable> <arg> <group choice='req'> "
2677 "<arg choice='plain'> =<replaceable>pkg_version_number</replaceable> </arg> "
2678 "<arg choice='plain'> /<replaceable>target_release</replaceable> </arg> </"
2679 "group> </arg> </arg> </arg> <arg choice='plain'>build-dep <arg choice=\"plain"
2680 "\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> <arg "
2681 "choice='plain'>check</arg> <arg choice='plain'>clean</arg> <arg "
2682 "choice='plain'>autoclean</arg> <arg choice='plain'>autoremove</arg> <arg "
2683 "choice='plain'> <group choice='req'> <arg choice='plain'>-v</arg> <arg "
2684 "choice='plain'>--version</arg> </group> </arg> <arg choice='plain'> <group "
2685 "choice='req'> <arg choice='plain'>-h</arg> <arg choice='plain'>--help</arg> "
2686 "</group> </arg> </group>"
2689 #. type: Content of: <refentry><refsect1><para>
2690 #: apt-get.8.xml:115
2692 "<command>apt-get</command> is the command-line tool for handling packages, "
2693 "and may be considered the user's \"back-end\" to other tools using the APT "
2694 "library. Several \"front-end\" interfaces exist, such as &dselect;, "
2695 "&aptitude;, &synaptic; and &wajig;."
2698 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2699 #: apt-get.8.xml:124 apt-key.8.xml:127
2703 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2704 #: apt-get.8.xml:125
2706 "<literal>update</literal> is used to resynchronize the package index files "
2707 "from their sources. The indexes of available packages are fetched from the "
2708 "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
2709 "example, when using a Debian archive, this command retrieves and scans the "
2710 "<filename>Packages.gz</filename> files, so that information about new and "
2711 "updated packages is available. An <literal>update</literal> should always be "
2712 "performed before an <literal>upgrade</literal> or <literal>dist-upgrade</"
2713 "literal>. Please be aware that the overall progress meter will be incorrect "
2714 "as the size of the package files cannot be known in advance."
2717 #. type: <tag></tag>
2718 #: apt-get.8.xml:136 guide.sgml:121
2722 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2723 #: apt-get.8.xml:137
2725 "<literal>upgrade</literal> is used to install the newest versions of all "
2726 "packages currently installed on the system from the sources enumerated in "
2727 "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
2728 "with new versions available are retrieved and upgraded; under no "
2729 "circumstances are currently installed packages removed, or packages not "
2730 "already installed retrieved and installed. New versions of currently "
2731 "installed packages that cannot be upgraded without changing the install "
2732 "status of another package will be left at their current version. An "
2733 "<literal>update</literal> must be performed first so that <command>apt-get</"
2734 "command> knows that new versions of packages are available."
2737 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2738 #: apt-get.8.xml:149
2739 msgid "dselect-upgrade"
2742 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2743 #: apt-get.8.xml:150
2745 "<literal>dselect-upgrade</literal> is used in conjunction with the "
2746 "traditional Debian packaging front-end, &dselect;. <literal>dselect-upgrade</"
2747 "literal> follows the changes made by &dselect; to the <literal>Status</"
2748 "literal> field of available packages, and performs the actions necessary to "
2749 "realize that state (for instance, the removal of old and the installation of "
2753 #. type: <tag></tag>
2754 #: apt-get.8.xml:159 guide.sgml:140
2755 msgid "dist-upgrade"
2758 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2759 #: apt-get.8.xml:160
2761 "<literal>dist-upgrade</literal> in addition to performing the function of "
2762 "<literal>upgrade</literal>, also intelligently handles changing dependencies "
2763 "with new versions of packages; <command>apt-get</command> has a \"smart\" "
2764 "conflict resolution system, and it will attempt to upgrade the most "
2765 "important packages at the expense of less important ones if necessary. So, "
2766 "<literal>dist-upgrade</literal> command may remove some packages. The "
2767 "<filename>/etc/apt/sources.list</filename> file contains a list of locations "
2768 "from which to retrieve desired package files. See also &apt-preferences; "
2769 "for a mechanism for overriding the general settings for individual packages."
2772 #. type: <tag></tag>
2773 #: apt-get.8.xml:172 guide.sgml:131
2777 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2778 #: apt-get.8.xml:174
2780 "<literal>install</literal> is followed by one or more packages desired for "
2781 "installation or upgrading. Each package is a package name, not a fully "
2782 "qualified filename (for instance, in a Debian GNU/Linux system, libc6 would "
2783 "be the argument provided, not <literal>libc6_1.9.6-2.deb</literal>). All "
2784 "packages required by the package(s) specified for installation will also be "
2785 "retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
2786 "file is used to locate the desired packages. If a hyphen is appended to the "
2787 "package name (with no intervening space), the identified package will be "
2788 "removed if it is installed. Similarly a plus sign can be used to designate "
2789 "a package to install. These latter features may be used to override "
2790 "decisions made by apt-get's conflict resolution system."
2793 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2794 #: apt-get.8.xml:192
2796 "A specific version of a package can be selected for installation by "
2797 "following the package name with an equals and the version of the package to "
2798 "select. This will cause that version to be located and selected for install. "
2799 "Alternatively a specific distribution can be selected by following the "
2800 "package name with a slash and the version of the distribution or the Archive "
2801 "name (stable, testing, unstable)."
2804 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2805 #: apt-get.8.xml:199
2807 "Both of the version selection mechanisms can downgrade packages and must be "
2811 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2812 #: apt-get.8.xml:202
2814 "This is also the target to use if you want to upgrade one or more already-"
2815 "installed packages without upgrading every package you have on your system. "
2816 "Unlike the \"upgrade\" target, which installs the newest version of all "
2817 "currently installed packages, \"install\" will install the newest version of "
2818 "only the package(s) specified. Simply provide the name of the package(s) "
2819 "you wish to upgrade, and if a newer version is available, it (and its "
2820 "dependencies, as described above) will be downloaded and installed."
2823 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2824 #: apt-get.8.xml:213
2826 "Finally, the &apt-preferences; mechanism allows you to create an alternative "
2827 "installation policy for individual packages."
2830 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2831 #: apt-get.8.xml:217
2833 "If no package matches the given expression and the expression contains one "
2834 "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
2835 "it is applied to all package names in the database. Any matches are then "
2836 "installed (or removed). Note that matching is done by substring so 'lo.*' "
2837 "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
2838 "expression with a '^' or '$' character, or create a more specific regular "
2842 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2843 #: apt-get.8.xml:226
2847 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2848 #: apt-get.8.xml:227
2850 "<literal>remove</literal> is identical to <literal>install</literal> except "
2851 "that packages are removed instead of installed. Note the removing a package "
2852 "leaves its configuration files in system. If a plus sign is appended to the "
2853 "package name (with no intervening space), the identified package will be "
2854 "installed instead of removed."
2857 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2858 #: apt-get.8.xml:234
2862 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2863 #: apt-get.8.xml:235
2865 "<literal>purge</literal> is identical to <literal>remove</literal> except "
2866 "that packages are removed and purged (any configuration files are deleted "
2870 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2871 #: apt-get.8.xml:239
2875 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2876 #: apt-get.8.xml:240
2878 "<literal>source</literal> causes <command>apt-get</command> to fetch source "
2879 "packages. APT will examine the available packages to decide which source "
2880 "package to fetch. It will then find and download into the current directory "
2881 "the newest available version of that source package while respect the "
2882 "default release, set with the option <literal>APT::Default-Release</"
2883 "literal>, the <option>-t</option> option or per package with the "
2884 "<literal>pkg/release</literal> syntax, if possible."
2887 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2888 #: apt-get.8.xml:248
2890 "Source packages are tracked separately from binary packages via <literal>deb-"
2891 "src</literal> type lines in the &sources-list; file. This means that you "
2892 "will need to add such a line for each repository you want to get sources "
2893 "from. If you don't do this you will properly get another (newer, older or "
2894 "none) source version than the one you have installed or could install."
2897 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2898 #: apt-get.8.xml:255
2900 "If the <option>--compile</option> option is specified then the package will "
2901 "be compiled to a binary .deb using <command>dpkg-buildpackage</command>, if "
2902 "<option>--download-only</option> is specified then the source package will "
2906 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2907 #: apt-get.8.xml:260
2909 "A specific source version can be retrieved by postfixing the source name "
2910 "with an equals and then the version to fetch, similar to the mechanism used "
2911 "for the package files. This enables exact matching of the source package "
2912 "name and version, implicitly enabling the <literal>APT::Get::Only-Source</"
2916 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2917 #: apt-get.8.xml:266
2919 "Note that source packages are not tracked like binary packages, they exist "
2920 "only in the current directory and are similar to downloading source tar "
2924 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2925 #: apt-get.8.xml:271
2929 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2930 #: apt-get.8.xml:272
2932 "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
2933 "attempt to satisfy the build dependencies for a source package."
2936 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2937 #: apt-get.8.xml:276
2941 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2942 #: apt-get.8.xml:277
2944 "<literal>check</literal> is a diagnostic tool; it updates the package cache "
2945 "and checks for broken dependencies."
2948 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2949 #: apt-get.8.xml:281
2953 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2954 #: apt-get.8.xml:282
2956 "<literal>download</literal> will download the given binary package into the "
2957 "current directory."
2960 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2961 #: apt-get.8.xml:288
2963 "<literal>clean</literal> clears out the local repository of retrieved "
2964 "package files. It removes everything but the lock file from "
2965 "<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/archives/"
2966 "partial/</filename>. When APT is used as a &dselect; method, <literal>clean</"
2967 "literal> is run automatically. Those who do not use dselect will likely "
2968 "want to run <literal>apt-get clean</literal> from time to time to free up "
2972 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2973 #: apt-get.8.xml:297
2977 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2978 #: apt-get.8.xml:298
2980 "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
2981 "local repository of retrieved package files. The difference is that it only "
2982 "removes package files that can no longer be downloaded, and are largely "
2983 "useless. This allows a cache to be maintained over a long period without it "
2984 "growing out of control. The configuration option <literal>APT::Clean-"
2985 "Installed</literal> will prevent installed packages from being erased if it "
2989 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2990 #: apt-get.8.xml:307
2994 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2995 #: apt-get.8.xml:308
2997 "<literal>autoremove</literal> is used to remove packages that were "
2998 "automatically installed to satisfy dependencies for some package and that "
2999 "are no more needed."
3002 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3003 #: apt-get.8.xml:312
3007 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3008 #: apt-get.8.xml:313
3010 "<literal>changelog</literal> downloads a package changelog and displays it "
3011 "through <command>sensible-pager</command>. The server name and base "
3012 "directory is defined in the <literal>APT::Changelogs::Server</literal> "
3013 "variable (e. g. <ulink>http://packages.debian.org/changelogs</ulink> for "
3014 "Debian or <ulink>http://changelogs.ubuntu.com/changelogs</ulink> for "
3015 "Ubuntu). By default it displays the changelog for the version that is "
3016 "installed. However, you can specify the same options as for the "
3017 "<option>install</option> command."
3020 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3021 #: apt-get.8.xml:335
3022 msgid "<option>--no-install-recommends</option>"
3025 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3026 #: apt-get.8.xml:336
3028 "Do not consider recommended packages as a dependency for installing. "
3029 "Configuration Item: <literal>APT::Install-Recommends</literal>."
3032 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3033 #: apt-get.8.xml:340
3034 msgid "<option>--install-suggests</option>"
3037 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3038 #: apt-get.8.xml:341
3040 "Consider suggested packages as a dependency for installing. Configuration "
3041 "Item: <literal>APT::Install-Suggests</literal>."
3044 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3045 #: apt-get.8.xml:345
3046 msgid "<option>--download-only</option>"
3049 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3050 #: apt-get.8.xml:346
3052 "Download only; package files are only retrieved, not unpacked or installed. "
3053 "Configuration Item: <literal>APT::Get::Download-Only</literal>."
3056 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3057 #: apt-get.8.xml:350
3058 msgid "<option>--fix-broken</option>"
3061 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3062 #: apt-get.8.xml:351
3064 "Fix; attempt to correct a system with broken dependencies in place. This "
3065 "option, when used with install/remove, can omit any packages to permit APT "
3066 "to deduce a likely solution. If packages are specified, these have to "
3067 "completely correct the problem. The option is sometimes necessary when "
3068 "running APT for the first time; APT itself does not allow broken package "
3069 "dependencies to exist on a system. It is possible that a system's dependency "
3070 "structure can be so corrupt as to require manual intervention (which usually "
3071 "means using &dselect; or <command>dpkg --remove</command> to eliminate some "
3072 "of the offending packages). Use of this option together with <option>-m</"
3073 "option> may produce an error in some situations. Configuration Item: "
3074 "<literal>APT::Get::Fix-Broken</literal>."
3077 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3078 #: apt-get.8.xml:364
3079 msgid "<option>--ignore-missing</option>"
3082 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3083 #: apt-get.8.xml:365
3084 msgid "<option>--fix-missing</option>"
3087 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3088 #: apt-get.8.xml:366
3090 "Ignore missing packages; If packages cannot be retrieved or fail the "
3091 "integrity check after retrieval (corrupted package files), hold back those "
3092 "packages and handle the result. Use of this option together with <option>-f</"
3093 "option> may produce an error in some situations. If a package is selected "
3094 "for installation (particularly if it is mentioned on the command line) and "
3095 "it could not be downloaded then it will be silently held back. "
3096 "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
3099 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3100 #: apt-get.8.xml:376
3101 msgid "<option>--no-download</option>"
3104 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3105 #: apt-get.8.xml:377
3107 "Disables downloading of packages. This is best used with <option>--ignore-"
3108 "missing</option> to force APT to use only the .debs it has already "
3109 "downloaded. Configuration Item: <literal>APT::Get::Download</literal>."
3112 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3113 #: apt-get.8.xml:384
3115 "Quiet; produces output suitable for logging, omitting progress indicators. "
3116 "More q's will produce more quiet up to a maximum of 2. You can also use "
3117 "<option>-q=#</option> to set the quiet level, overriding the configuration "
3118 "file. Note that quiet level 2 implies <option>-y</option>, you should never "
3119 "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
3120 "may decided to do something you did not expect. Configuration Item: "
3121 "<literal>quiet</literal>."
3124 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3125 #: apt-get.8.xml:394
3126 msgid "<option>--simulate</option>"
3129 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3130 #: apt-get.8.xml:396
3131 msgid "<option>--dry-run</option>"
3134 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3135 #: apt-get.8.xml:399
3137 "No action; perform a simulation of events that would occur but do not "
3138 "actually change the system. Configuration Item: <literal>APT::Get::"
3139 "Simulate</literal>."
3142 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3143 #: apt-get.8.xml:403
3145 "Simulation run as user will deactivate locking (<literal>Debug::NoLocking</"
3146 "literal>) automatic. Also a notice will be displayed indicating that this "
3147 "is only a simulation, if the option <literal>APT::Get::Show-User-Simulation-"
3148 "Note</literal> is set (Default: true). Neither NoLocking nor the notice "
3149 "will be triggered if run as root (root should know what he is doing without "
3150 "further warnings by <literal>apt-get</literal>)."
3153 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3154 #: apt-get.8.xml:409
3156 "Simulate prints out a series of lines each one representing a dpkg "
3157 "operation, Configure (Conf), Remove (Remv), Unpack (Inst). Square brackets "
3158 "indicate broken packages and empty set of square brackets meaning breaks "
3159 "that are of no consequence (rare)."
3162 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3163 #: apt-get.8.xml:416
3164 msgid "<option>-y</option>"
3167 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3168 #: apt-get.8.xml:416
3169 msgid "<option>--yes</option>"
3172 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3173 #: apt-get.8.xml:417
3174 msgid "<option>--assume-yes</option>"
3177 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3178 #: apt-get.8.xml:418
3180 "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
3181 "non-interactively. If an undesirable situation, such as changing a held "
3182 "package, trying to install a unauthenticated package or removing an "
3183 "essential package occurs then <literal>apt-get</literal> will abort. "
3184 "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
3187 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3188 #: apt-get.8.xml:425
3189 msgid "<option>-u</option>"
3192 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3193 #: apt-get.8.xml:425
3194 msgid "<option>--show-upgraded</option>"
3197 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3198 #: apt-get.8.xml:426
3200 "Show upgraded packages; Print out a list of all packages that are to be "
3201 "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
3204 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3205 #: apt-get.8.xml:431
3206 msgid "<option>-V</option>"
3209 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3210 #: apt-get.8.xml:431
3211 msgid "<option>--verbose-versions</option>"
3214 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3215 #: apt-get.8.xml:432
3217 "Show full versions for upgraded and installed packages. Configuration Item: "
3218 "<literal>APT::Get::Show-Versions</literal>."
3221 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3222 #: apt-get.8.xml:436
3223 msgid "<option>-b</option>"
3226 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3227 #: apt-get.8.xml:436
3228 msgid "<option>--compile</option>"
3231 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3232 #: apt-get.8.xml:437
3233 msgid "<option>--build</option>"
3236 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3237 #: apt-get.8.xml:438
3239 "Compile source packages after downloading them. Configuration Item: "
3240 "<literal>APT::Get::Compile</literal>."
3243 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3244 #: apt-get.8.xml:442
3245 msgid "<option>--ignore-hold</option>"
3248 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3249 #: apt-get.8.xml:443
3251 "Ignore package Holds; This causes <command>apt-get</command> to ignore a "
3252 "hold placed on a package. This may be useful in conjunction with "
3253 "<literal>dist-upgrade</literal> to override a large number of undesired "
3254 "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
3257 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3258 #: apt-get.8.xml:449
3259 msgid "<option>--no-upgrade</option>"
3262 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3263 #: apt-get.8.xml:450
3265 "Do not upgrade packages; When used in conjunction with <literal>install</"
3266 "literal>, <literal>no-upgrade</literal> will prevent packages on the command "
3267 "line from being upgraded if they are already installed. Configuration Item: "
3268 "<literal>APT::Get::Upgrade</literal>."
3271 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3272 #: apt-get.8.xml:456
3273 msgid "<option>--only-upgrade</option>"
3276 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3277 #: apt-get.8.xml:457
3279 "Do not install new packages; When used in conjunction with <literal>install</"
3280 "literal>, <literal>only-upgrade</literal> will prevent packages on the "
3281 "command line from being upgraded if they are not already installed. "
3282 "Configuration Item: <literal>APT::Get::Only-Upgrade</literal>."
3285 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3286 #: apt-get.8.xml:463
3287 msgid "<option>--force-yes</option>"
3290 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3291 #: apt-get.8.xml:464
3293 "Force yes; This is a dangerous option that will cause apt to continue "
3294 "without prompting if it is doing something potentially harmful. It should "
3295 "not be used except in very special situations. Using <literal>force-yes</"
3296 "literal> can potentially destroy your system! Configuration Item: "
3297 "<literal>APT::Get::force-yes</literal>."
3300 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3301 #: apt-get.8.xml:471
3302 msgid "<option>--print-uris</option>"
3305 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3306 #: apt-get.8.xml:472
3308 "Instead of fetching the files to install their URIs are printed. Each URI "
3309 "will have the path, the destination file name, the size and the expected md5 "
3310 "hash. Note that the file name to write to will not always match the file "
3311 "name on the remote site! This also works with the <literal>source</literal> "
3312 "and <literal>update</literal> commands. When used with the <literal>update</"
3313 "literal> command the MD5 and size are not included, and it is up to the user "
3314 "to decompress any compressed files. Configuration Item: <literal>APT::Get::"
3315 "Print-URIs</literal>."
3318 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3319 #: apt-get.8.xml:482
3320 msgid "<option>--purge</option>"
3323 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3324 #: apt-get.8.xml:483
3326 "Use purge instead of remove for anything that would be removed. An asterisk "
3327 "(\"*\") will be displayed next to packages which are scheduled to be purged. "
3328 "<option>remove --purge</option> is equivalent to the <option>purge</option> "
3329 "command. Configuration Item: <literal>APT::Get::Purge</literal>."
3332 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3333 #: apt-get.8.xml:490
3334 msgid "<option>--reinstall</option>"
3337 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3338 #: apt-get.8.xml:491
3340 "Re-Install packages that are already installed and at the newest version. "
3341 "Configuration Item: <literal>APT::Get::ReInstall</literal>."
3344 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3345 #: apt-get.8.xml:495
3346 msgid "<option>--list-cleanup</option>"
3349 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3350 #: apt-get.8.xml:496
3352 "This option defaults to on, use <literal>--no-list-cleanup</literal> to turn "
3353 "it off. When on <command>apt-get</command> will automatically manage the "
3354 "contents of <filename>&statedir;/lists</filename> to ensure that obsolete "
3355 "files are erased. The only reason to turn it off is if you frequently "
3356 "change your source list. Configuration Item: <literal>APT::Get::List-"
3357 "Cleanup</literal>."
3360 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3361 #: apt-get.8.xml:505
3362 msgid "<option>--target-release</option>"
3365 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3366 #: apt-get.8.xml:506
3367 msgid "<option>--default-release</option>"
3370 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3371 #: apt-get.8.xml:507
3373 "This option controls the default input to the policy engine, it creates a "
3374 "default pin at priority 990 using the specified release string. This "
3375 "overrides the general settings in <filename>/etc/apt/preferences</"
3376 "filename>. Specifically pinned packages are not affected by the value of "
3377 "this option. In short, this option lets you have simple control over which "
3378 "distribution packages will be retrieved from. Some common examples might be "
3379 "<option>-t '2.1*'</option>, <option>-t unstable</option> or <option>-t sid</"
3380 "option>. Configuration Item: <literal>APT::Default-Release</literal>; see "
3381 "also the &apt-preferences; manual page."
3384 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3385 #: apt-get.8.xml:520
3386 msgid "<option>--trivial-only</option>"
3389 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3390 #: apt-get.8.xml:522
3392 "Only perform operations that are 'trivial'. Logically this can be considered "
3393 "related to <option>--assume-yes</option>, where <option>--assume-yes</"
3394 "option> will answer yes to any prompt, <option>--trivial-only</option> will "
3395 "answer no. Configuration Item: <literal>APT::Get::Trivial-Only</literal>."
3398 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3399 #: apt-get.8.xml:528
3400 msgid "<option>--no-remove</option>"
3403 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3404 #: apt-get.8.xml:529
3406 "If any packages are to be removed apt-get immediately aborts without "
3407 "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
3410 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3411 #: apt-get.8.xml:534
3412 msgid "<option>--auto-remove</option>"
3415 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3416 #: apt-get.8.xml:535
3418 "If the command is either <literal>install</literal> or <literal>remove</"
3419 "literal>, then this option acts like running <literal>autoremove</literal> "
3420 "command, removing the unused dependency packages. Configuration Item: "
3421 "<literal>APT::Get::AutomaticRemove</literal>."
3424 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3425 #: apt-get.8.xml:541
3426 msgid "<option>--only-source</option>"
3429 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3430 #: apt-get.8.xml:542
3432 "Only has meaning for the <literal>source</literal> and <literal>build-dep</"
3433 "literal> commands. Indicates that the given source names are not to be "
3434 "mapped through the binary table. This means that if this option is "
3435 "specified, these commands will only accept source package names as "
3436 "arguments, rather than accepting binary package names and looking up the "
3437 "corresponding source package. Configuration Item: <literal>APT::Get::Only-"
3441 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3442 #: apt-get.8.xml:552
3443 msgid "<option>--diff-only</option>"
3446 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3447 #: apt-get.8.xml:552
3448 msgid "<option>--dsc-only</option>"
3451 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3452 #: apt-get.8.xml:552
3453 msgid "<option>--tar-only</option>"
3456 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3457 #: apt-get.8.xml:553
3459 "Download only the diff, dsc, or tar file of a source archive. Configuration "
3460 "Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</"
3461 "literal>, and <literal>APT::Get::Tar-Only</literal>."
3464 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3465 #: apt-get.8.xml:558
3466 msgid "<option>--arch-only</option>"
3469 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3470 #: apt-get.8.xml:559
3472 "Only process architecture-dependent build-dependencies. Configuration Item: "
3473 "<literal>APT::Get::Arch-Only</literal>."
3476 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3477 #: apt-get.8.xml:563
3478 msgid "<option>--allow-unauthenticated</option>"
3481 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3482 #: apt-get.8.xml:564
3484 "Ignore if packages can't be authenticated and don't prompt about it. This "
3485 "is useful for tools like pbuilder. Configuration Item: <literal>APT::Get::"
3486 "AllowUnauthenticated</literal>."
3489 #. type: Content of: <refentry><refsect1><variablelist>
3490 #: apt-get.8.xml:577
3492 "&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; "
3496 #. type: Content of: <refentry><refsect1><para>
3497 #: apt-get.8.xml:586
3499 "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
3500 "&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, &apt-"
3501 "preferences;, the APT Howto."
3504 #. type: Content of: <refentry><refsect1><para>
3505 #: apt-get.8.xml:592
3507 "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
3511 #. type: Content of: <refentry><refsect1><title>
3512 #: apt-get.8.xml:595
3513 msgid "ORIGINAL AUTHORS"
3516 #. type: Content of: <refentry><refsect1><para>
3517 #: apt-get.8.xml:596
3518 msgid "&apt-author.jgunthorpe;"
3521 #. type: Content of: <refentry><refsect1><title>
3522 #: apt-get.8.xml:599
3523 msgid "CURRENT AUTHORS"
3526 #. type: Content of: <refentry><refsect1><para>
3527 #: apt-get.8.xml:601
3528 msgid "&apt-author.team;"
3531 #. type: Content of: <refentry><refnamediv><refname>
3532 #: apt-key.8.xml:17 apt-key.8.xml:24
3536 #. type: Content of: <refentry><refnamediv><refpurpose>
3538 msgid "APT key management utility"
3541 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
3544 "<command>apt-key</command> <arg><option>--keyring <replaceable>filename</"
3545 "replaceable></option></arg> <arg><replaceable>command</replaceable></arg> "
3546 "<arg rep=\"repeat\"><option><replaceable>arguments</replaceable></option></"
3550 #. type: Content of: <refentry><refsect1><para>
3553 "<command>apt-key</command> is used to manage the list of keys used by apt to "
3554 "authenticate packages. Packages which have been authenticated using these "
3555 "keys will be considered trusted."
3558 #. type: Content of: <refentry><refsect1><title>
3563 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3565 msgid "add <replaceable>filename</replaceable>"
3568 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3571 "Add a new key to the list of trusted keys. The key is read from "
3572 "<replaceable>filename</replaceable>, or standard input if "
3573 "<replaceable>filename</replaceable> is <literal>-</literal>."
3576 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3578 msgid "del <replaceable>keyid</replaceable>"
3581 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3583 msgid "Remove a key from the list of trusted keys."
3586 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3588 msgid "export <replaceable>keyid</replaceable>"
3591 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3593 msgid "Output the key <replaceable>keyid</replaceable> to standard output."
3596 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3601 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3603 msgid "Output all trusted keys to standard output."
3606 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3611 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3613 msgid "List trusted keys."
3616 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3617 #: apt-key.8.xml:104
3621 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3622 #: apt-key.8.xml:108
3623 msgid "List fingerprints of trusted keys."
3626 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3627 #: apt-key.8.xml:115
3631 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3632 #: apt-key.8.xml:119
3634 "Pass advanced options to gpg. With adv --recv-key you can download the "
3638 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3639 #: apt-key.8.xml:131
3641 "Update the local keyring with the keyring of Debian archive keys and removes "
3642 "from the keyring the archive keys which are no longer valid."
3645 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3646 #: apt-key.8.xml:140
3650 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3651 #: apt-key.8.xml:144
3653 "Update the local keyring with the keys of a key server and removes from the "
3654 "keyring the archive keys which are no longer valid. This requires an "
3655 "installed wget and an APT build configured to have a server to fetch from. "
3656 "APT in Debian does not support this command, but Ubuntu's APT does."
3659 #. type: Content of: <refentry><refsect1><para>
3660 #: apt-key.8.xml:159
3662 "Note that options need to be defined before the commands described in the "
3666 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3667 #: apt-key.8.xml:161
3669 msgid "--keyring <replaceable>filename</replaceable>"
3671 "<programlisting>\n"
3672 "apt-get install <replaceable>pacote</replaceable>/testing\n"
3674 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3675 #: apt-key.8.xml:162
3677 "With this option it is possible to specify a specific keyring file the "
3678 "command should operate on. The default is that a command is executed on the "
3679 "<filename>trusted.gpg</filename> file as well as on all parts in the "
3680 "<filename>trusted.gpg.d</filename> directory, through <filename>trusted.gpg</"
3681 "filename> is the primary keyring which means that e.g. new keys are added to "
3685 #. type: Content of: <refentry><refsect1><variablelist>
3686 #: apt-key.8.xml:175
3687 msgid "&file-trustedgpg;"
3690 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3691 #: apt-key.8.xml:177
3693 msgid "<filename>/etc/apt/trustdb.gpg</filename>"
3694 msgstr "<filename>/etc/apt.conf</>"
3696 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3697 #: apt-key.8.xml:178
3698 msgid "Local trust database of archive keys."
3701 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3702 #: apt-key.8.xml:181
3703 msgid "<filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename>"
3706 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3707 #: apt-key.8.xml:182
3708 msgid "Keyring of Debian archive trusted keys."
3711 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3712 #: apt-key.8.xml:185
3714 "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
3717 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3718 #: apt-key.8.xml:186
3719 msgid "Keyring of Debian archive removed trusted keys."
3722 #. type: Content of: <refentry><refsect1><para>
3723 #: apt-key.8.xml:195
3725 msgid "&apt-get;, &apt-secure;"
3726 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
3728 #. The last update date
3729 #. type: Content of: <refentry><refentryinfo>
3730 #: apt-mark.8.xml:16
3732 "&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>21 "
3736 #. type: Content of: <refentry><refnamediv><refname>
3737 #: apt-mark.8.xml:25 apt-mark.8.xml:32
3741 #. type: Content of: <refentry><refnamediv><refpurpose>
3742 #: apt-mark.8.xml:33
3743 msgid "mark/unmark a package as being automatically-installed"
3746 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
3747 #: apt-mark.8.xml:39
3749 " <command>apt-mark</command> <arg><option>-hv</option></arg> <arg><option>-"
3750 "f=<replaceable>FILENAME</replaceable></option></arg> <group choice=\"plain"
3751 "\"> <arg choice=\"plain\"> <group choice=\"req\"> <arg choice=\"plain"
3752 "\">auto</arg> <arg choice=\"plain\">manual</arg> <arg choice=\"plain"
3753 "\">showauto</arg> <arg choice=\"plain\">showmanual</arg> </group> <arg "
3754 "choice=\"plain\" rep=\"repeat\"><replaceable>package</replaceable></arg> </"
3758 #. type: Content of: <refentry><refsect1><para>
3759 #: apt-mark.8.xml:57
3761 "<command>apt-mark</command> will change whether a package has been marked as "
3762 "being automatically installed."
3765 #. type: Content of: <refentry><refsect1><para>
3766 #: apt-mark.8.xml:61
3768 "When you request that a package is installed, and as a result other packages "
3769 "are installed to satisfy its dependencies, the dependencies are marked as "
3770 "being automatically installed. Once these automatically installed packages "
3771 "are no longer depended on by any manually installed packages, they will be "
3772 "removed by e.g. <command>apt-get</command> or <command>aptitude</command>."
3775 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3776 #: apt-mark.8.xml:69
3780 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3781 #: apt-mark.8.xml:70
3783 "<literal>auto</literal> is used to mark a package as being automatically "
3784 "installed, which will cause the package to be removed when no more manually "
3785 "installed packages depend on this package."
3788 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3789 #: apt-mark.8.xml:77
3793 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3794 #: apt-mark.8.xml:78
3796 "<literal>manual</literal> is used to mark a package as being manually "
3797 "installed, which will prevent the package from being automatically removed "
3798 "if no other packages depend on it."
3801 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3802 #: apt-mark.8.xml:85
3806 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3807 #: apt-mark.8.xml:86
3809 "<literal>hold</literal> is used to mark a package as hold back, which will "
3810 "prevent the package from being automatically installed, upgraded or "
3811 "removed. The command is only a wrapper around <command>dpkg --set-"
3812 "selections</command> and the state is therefore maintained by &dpkg; and not "
3813 "effected by the <option>--filename</option> option."
3816 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3817 #: apt-mark.8.xml:95
3821 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3822 #: apt-mark.8.xml:96
3824 "<literal>unhold</literal> is used to cancel a previously set hold on a "
3825 "package to allow all actions again."
3828 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3829 #: apt-mark.8.xml:101
3833 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3834 #: apt-mark.8.xml:102
3836 "<literal>showauto</literal> is used to print a list of automatically "
3837 "installed packages with each package on a new line. All automatically "
3838 "installed packages will be listed if no package is given. If packages are "
3839 "given only those which are automatically installed will be shown."
3842 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3843 #: apt-mark.8.xml:109
3847 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3848 #: apt-mark.8.xml:110
3850 "<literal>showmanual</literal> can be used in the same way as "
3851 "<literal>showauto</literal> except that it will print a list of manually "
3852 "installed packages instead."
3855 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3856 #: apt-mark.8.xml:116
3860 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3861 #: apt-mark.8.xml:117
3863 "<literal>showhold</literal> is used to print a list of packages on hold in "
3864 "the same way as for the other show commands."
3867 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3868 #: apt-mark.8.xml:130
3870 "<option>-f=<filename><replaceable>FILENAME</replaceable></filename></option>"
3873 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3874 #: apt-mark.8.xml:131
3876 "<option>--file=<filename><replaceable>FILENAME</replaceable></filename></"
3880 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3881 #: apt-mark.8.xml:134
3883 "Read/Write package stats from <filename><replaceable>FILENAME</replaceable></"
3884 "filename> instead of the default location, which is "
3885 "<filename>extended_status</filename> in the directory defined by the "
3886 "Configuration Item: <literal>Dir::State</literal>."
3889 #. type: Content of: <refentry><refsect1><variablelist>
3890 #: apt-mark.8.xml:146
3891 msgid " &file-extended_states;"
3894 #. type: Content of: <refentry><refsect1><para>
3895 #: apt-mark.8.xml:151
3897 msgid "&apt-get;,&aptitude;,&apt-conf;"
3898 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
3900 #. type: Content of: <refentry><refsect1><para>
3901 #: apt-mark.8.xml:155
3903 "<command>apt-mark</command> returns zero on normal operation, non-zero on "
3907 #. type: Content of: <refentry><refnamediv><refname>
3908 #: apt-secure.8.xml:17 apt-secure.8.xml:39
3912 #. type: Content of: <refentry><refnamediv><refpurpose>
3913 #: apt-secure.8.xml:40
3914 msgid "Archive authentication support for APT"
3917 #. type: Content of: <refentry><refsect1><para>
3918 #: apt-secure.8.xml:45
3920 "Starting with version 0.6, <command>apt</command> contains code that does "
3921 "signature checking of the Release file for all archives. This ensures that "
3922 "packages in the archive can't be modified by people who have no access to "
3923 "the Release file signing key."
3926 #. type: Content of: <refentry><refsect1><para>
3927 #: apt-secure.8.xml:53
3929 "If a package comes from a archive without a signature or with a signature "
3930 "that apt does not have a key for that package is considered untrusted and "
3931 "installing it will result in a big warning. <command>apt-get</command> will "
3932 "currently only warn for unsigned archives, future releases might force all "
3933 "sources to be verified before downloading packages from them."
3936 #. type: Content of: <refentry><refsect1><para>
3937 #: apt-secure.8.xml:62
3939 "The package frontends &apt-get;, &aptitude; and &synaptic; support this new "
3940 "authentication feature."
3943 #. type: Content of: <refentry><refsect1><title>
3944 #: apt-secure.8.xml:67
3945 msgid "Trusted archives"
3948 #. type: Content of: <refentry><refsect1><para>
3949 #: apt-secure.8.xml:70
3951 "The chain of trust from an apt archive to the end user is made up of "
3952 "different steps. <command>apt-secure</command> is the last step in this "
3953 "chain, trusting an archive does not mean that the packages that you trust it "
3954 "do not contain malicious code but means that you trust the archive "
3955 "maintainer. It's the archive maintainer responsibility to ensure that the "
3956 "archive integrity is correct."
3959 #. type: Content of: <refentry><refsect1><para>
3960 #: apt-secure.8.xml:78
3962 "apt-secure does not review signatures at a package level. If you require "
3963 "tools to do this you should look at <command>debsig-verify</command> and "
3964 "<command>debsign</command> (provided in the debsig-verify and devscripts "
3965 "packages respectively)."
3968 #. type: Content of: <refentry><refsect1><para>
3969 #: apt-secure.8.xml:85
3971 "The chain of trust in Debian starts when a maintainer uploads a new package "
3972 "or a new version of a package to the Debian archive. This upload in order to "
3973 "become effective needs to be signed by a key of a maintainer within the "
3974 "Debian maintainer's keyring (available in the debian-keyring package). "
3975 "Maintainer's keys are signed by other maintainers following pre-established "
3976 "procedures to ensure the identity of the key holder."
3979 #. type: Content of: <refentry><refsect1><para>
3980 #: apt-secure.8.xml:95
3982 "Once the uploaded package is verified and included in the archive, the "
3983 "maintainer signature is stripped off, an MD5 sum of the package is computed "
3984 "and put in the Packages file. The MD5 sum of all of the packages files are "
3985 "then computed and put into the Release file. The Release file is then signed "
3986 "by the archive key (which is created once a year) and distributed through "
3987 "the FTP server. This key is also on the Debian keyring."
3990 #. type: Content of: <refentry><refsect1><para>
3991 #: apt-secure.8.xml:105
3993 "Any end user can check the signature of the Release file, extract the MD5 "
3994 "sum of a package from it and compare it with the MD5 sum of the package he "
3995 "downloaded. Prior to version 0.6 only the MD5 sum of the downloaded Debian "
3996 "package was checked. Now both the MD5 sum and the signature of the Release "
4000 #. type: Content of: <refentry><refsect1><para>
4001 #: apt-secure.8.xml:112
4003 "Notice that this is distinct from checking signatures on a per package "
4004 "basis. It is designed to prevent two possible attacks:"
4007 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4008 #: apt-secure.8.xml:117
4010 "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
4011 "checking, a malicious agent can introduce himself in the package download "
4012 "process and provide malicious software either by controlling a network "
4013 "element (router, switch, etc.) or by redirecting traffic to a rogue server "
4014 "(through arp or DNS spoofing attacks)."
4017 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4018 #: apt-secure.8.xml:125
4020 "<literal>Mirror network compromise</literal>. Without signature checking, a "
4021 "malicious agent can compromise a mirror host and modify the files in it to "
4022 "propagate malicious software to all users downloading packages from that "
4026 #. type: Content of: <refentry><refsect1><para>
4027 #: apt-secure.8.xml:132
4029 "However, it does not defend against a compromise of the Debian master server "
4030 "itself (which signs the packages) or against a compromise of the key used to "
4031 "sign the Release files. In any case, this mechanism can complement a per-"
4032 "package signature."
4035 #. type: Content of: <refentry><refsect1><title>
4036 #: apt-secure.8.xml:138
4037 msgid "User configuration"
4040 #. type: Content of: <refentry><refsect1><para>
4041 #: apt-secure.8.xml:140
4043 "<command>apt-key</command> is the program that manages the list of keys used "
4044 "by apt. It can be used to add or remove keys although an installation of "
4045 "this release will automatically provide the default Debian archive signing "
4046 "keys used in the Debian package repositories."
4049 #. type: Content of: <refentry><refsect1><para>
4050 #: apt-secure.8.xml:147
4052 "In order to add a new key you need to first download it (you should make "
4053 "sure you are using a trusted communication channel when retrieving it), add "
4054 "it with <command>apt-key</command> and then run <command>apt-get update</"
4055 "command> so that apt can download and verify the <filename>InRelease</"
4056 "filename> or <filename>Release.gpg</filename> files from the archives you "
4060 #. type: Content of: <refentry><refsect1><title>
4061 #: apt-secure.8.xml:156
4062 msgid "Archive configuration"
4065 #. type: Content of: <refentry><refsect1><para>
4066 #: apt-secure.8.xml:158
4068 "If you want to provide archive signatures in an archive under your "
4069 "maintenance you have to:"
4072 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4073 #: apt-secure.8.xml:163
4075 "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
4076 "already. You can do this by running <command>apt-ftparchive release</"
4077 "command> (provided in apt-utils)."
4080 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4081 #: apt-secure.8.xml:168
4083 "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg --"
4084 "clearsign -o InRelease Release</command> and <command>gpg -abs -o Release."
4085 "gpg Release</command>."
4088 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4089 #: apt-secure.8.xml:172
4091 "<emphasis>Publish the key fingerprint</emphasis>, that way your users will "
4092 "know what key they need to import in order to authenticate the files in the "
4096 #. type: Content of: <refentry><refsect1><para>
4097 #: apt-secure.8.xml:179
4099 "Whenever the contents of the archive changes (new packages are added or "
4100 "removed) the archive maintainer has to follow the first two steps previously "
4104 #. type: Content of: <refentry><refsect1><para>
4105 #: apt-secure.8.xml:187
4107 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
4108 "&debsign; &debsig-verify;, &gpg;"
4111 #. type: Content of: <refentry><refsect1><para>
4112 #: apt-secure.8.xml:191
4114 "For more background information you might want to review the <ulink url="
4115 "\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7.en.html"
4116 "\">Debian Security Infrastructure</ulink> chapter of the Securing Debian "
4117 "Manual (available also in the harden-doc package) and the <ulink url="
4118 "\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
4119 "Distribution HOWTO</ulink> by V. Alex Brennen."
4122 #. type: Content of: <refentry><refsect1><title>
4123 #: apt-secure.8.xml:204
4124 msgid "Manpage Authors"
4127 #. type: Content of: <refentry><refsect1><para>
4128 #: apt-secure.8.xml:206
4130 "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
4131 "Jones, Colin Walters, Florian Weimer and Michael Vogt."
4134 #. type: Content of: <refentry><refnamediv><refname>
4135 #: apt-sortpkgs.1.xml:25 apt-sortpkgs.1.xml:32
4136 msgid "apt-sortpkgs"
4139 #. type: Content of: <refentry><refnamediv><refpurpose>
4140 #: apt-sortpkgs.1.xml:33
4141 msgid "Utility to sort package index files"
4144 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
4145 #: apt-sortpkgs.1.xml:39
4147 "<command>apt-sortpkgs</command> <arg><option>-hvs</option></arg> "
4148 "<arg><option>-o=<replaceable>config string</replaceable></option></arg> "
4149 "<arg><option>-c=<replaceable>file</replaceable></option></arg> <arg choice="
4150 "\"plain\" rep=\"repeat\"><replaceable>file</replaceable></arg>"
4153 #. type: Content of: <refentry><refsect1><para>
4154 #: apt-sortpkgs.1.xml:48
4156 "<command>apt-sortpkgs</command> will take an index file (Source index or "
4157 "Package index) and sort the records so that they are ordered by the package "
4158 "name. It will also sort the internal fields of each record according to the "
4159 "internal sorting rules."
4162 #. type: Content of: <refentry><refsect1><para>
4163 #: apt-sortpkgs.1.xml:54
4164 msgid "All output is sent to stdout, the input must be a seekable file."
4167 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4168 #: apt-sortpkgs.1.xml:61
4169 msgid "<option>--source</option>"
4172 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4173 #: apt-sortpkgs.1.xml:63
4175 "Use Source index field ordering. Configuration Item: <literal>APT::"
4176 "SortPkgs::Source</literal>."
4179 #. type: Content of: <refentry><refsect1><para>
4180 #: apt-sortpkgs.1.xml:77
4182 "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
4186 #. The last update date
4187 #. type: Content of: <refentry><refentryinfo>
4188 #: apt.conf.5.xml:16
4190 "&apt-author.jgunthorpe; &apt-author.team; <author> <firstname>Daniel</"
4191 "firstname> <surname>Burrows</surname> <contrib>Initial documentation of "
4192 "Debug::*.</contrib> <email>dburrows@debian.org</email> </author> &apt-email; "
4193 "&apt-product; <date>16 January 2010</date>"
4196 #. type: Content of: <refentry><refnamediv><refname>
4197 #: apt.conf.5.xml:31 apt.conf.5.xml:38
4201 #. type: Content of: <refentry><refmeta><manvolnum>
4202 #: apt.conf.5.xml:32 apt_preferences.5.xml:25 sources.list.5.xml:26
4206 #. type: Content of: <refentry><refnamediv><refpurpose>
4207 #: apt.conf.5.xml:39
4208 msgid "Configuration file for APT"
4211 #. type: Content of: <refentry><refsect1><para>
4212 #: apt.conf.5.xml:43
4214 "<filename>apt.conf</filename> is the main configuration file for the APT "
4215 "suite of tools, but by far not the only place changes to options can be "
4216 "made. All tools therefore share the configuration files and also use a "
4217 "common command line parser to provide a uniform environment."
4220 #. type: Content of: <refentry><refsect1><orderedlist><para>
4221 #: apt.conf.5.xml:48
4223 "When an APT tool starts up it will read the configuration files in the "
4227 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4228 #: apt.conf.5.xml:50
4230 "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
4234 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4235 #: apt.conf.5.xml:52
4237 "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
4238 "order which have either no or \"<literal>conf</literal>\" as filename "
4239 "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
4240 "and period (.) characters. Otherwise APT will print a notice that it has "
4241 "ignored a file if the file doesn't match a pattern in the <literal>Dir::"
4242 "Ignore-Files-Silently</literal> configuration list - in this case it will be "
4246 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4247 #: apt.conf.5.xml:59
4249 "the main configuration file specified by <literal>Dir::Etc::main</literal>"
4252 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4253 #: apt.conf.5.xml:61
4255 "the command line options are applied to override the configuration "
4256 "directives or to load even more configuration files."
4259 #. type: Content of: <refentry><refsect1><title>
4260 #: apt.conf.5.xml:65
4264 #. type: Content of: <refentry><refsect1><para>
4265 #: apt.conf.5.xml:66
4267 "The configuration file is organized in a tree with options organized into "
4268 "functional groups. Option specification is given with a double colon "
4269 "notation, for instance <literal>APT::Get::Assume-Yes</literal> is an option "
4270 "within the APT tool group, for the Get tool. Options do not inherit from "
4271 "their parent groups."
4274 #. type: Content of: <refentry><refsect1><para>
4275 #: apt.conf.5.xml:72
4277 "Syntactically the configuration language is modeled after what the ISC tools "
4278 "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
4279 "treated as comments (ignored), as well as all text between <literal>/*</"
4280 "literal> and <literal>*/</literal>, just like C/C++ comments. Each line is "
4281 "of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. The trailing "
4282 "semicolon and the quotes are required. The value must be on one line, and "
4283 "there is no kind of string concatenation. It must not include inside "
4284 "quotes. The behavior of the backslash \"\\\" and escaped characters inside "
4285 "a value is undefined and it should not be used. An option name may include "
4286 "alphanumerical characters and the \"/-:._+\" characters. A new scope can be "
4287 "opened with curly braces, like:"
4290 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
4291 #: apt.conf.5.xml:86
4296 " Assume-Yes \"true\";\n"
4297 " Fix-Broken \"true\";\n"
4302 #. type: Content of: <refentry><refsect1><para>
4303 #: apt.conf.5.xml:94
4305 "with newlines placed to make it more readable. Lists can be created by "
4306 "opening a scope and including a single string enclosed in quotes followed by "
4307 "a semicolon. Multiple entries can be included, each separated by a semicolon."
4310 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
4311 #: apt.conf.5.xml:99
4313 msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
4316 #. type: Content of: <refentry><refsect1><para>
4317 #: apt.conf.5.xml:102
4319 "In general the sample configuration file in <filename>&docdir;examples/apt."
4320 "conf</filename> &configureindex; is a good guide for how it should look."
4323 #. type: Content of: <refentry><refsect1><para>
4324 #: apt.conf.5.xml:106
4326 "The names of the configuration items are not case-sensitive. So in the "
4327 "previous example you could use <literal>dpkg::pre-install-pkgs</literal>."
4330 #. type: Content of: <refentry><refsect1><para>
4331 #: apt.conf.5.xml:109
4333 "Names for the configuration items are optional if a list is defined as it "
4334 "can be see in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. "
4335 "If you don't specify a name a new entry will simply add a new option to the "
4336 "list. If you specify a name you can override the option as every other "
4337 "option by reassigning a new value to the option."
4340 #. type: Content of: <refentry><refsect1><para>
4341 #: apt.conf.5.xml:114
4343 "Two specials are allowed, <literal>#include</literal> (which is deprecated "
4344 "and not supported by alternative implementations) and <literal>#clear</"
4345 "literal>: <literal>#include</literal> will include the given file, unless "
4346 "the filename ends in a slash, then the whole directory is included. "
4347 "<literal>#clear</literal> is used to erase a part of the configuration tree. "
4348 "The specified element and all its descendants are erased. (Note that these "
4349 "lines also need to end with a semicolon.)"
4352 #. type: Content of: <refentry><refsect1><para>
4353 #: apt.conf.5.xml:122
4355 "The #clear command is the only way to delete a list or a complete scope. "
4356 "Reopening a scope or the ::-style described below will <emphasis>not</"
4357 "emphasis> override previously written entries. Only options can be "
4358 "overridden by addressing a new value to it - lists and scopes can't be "
4359 "overridden, only cleared."
4362 #. type: Content of: <refentry><refsect1><para>
4363 #: apt.conf.5.xml:127
4365 "All of the APT tools take a -o option which allows an arbitrary "
4366 "configuration directive to be specified on the command line. The syntax is a "
4367 "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
4368 "followed by an equals sign then the new value of the option. Lists can be "
4369 "appended too by adding a trailing :: to the list name. (As you might "
4370 "suspect: The scope syntax can't be used on the command line.)"
4373 #. type: Content of: <refentry><refsect1><para>
4374 #: apt.conf.5.xml:134
4376 "Note that you can use :: only for appending one item per line to a list and "
4377 "that you should not use it in combination with the scope syntax. (The scope "
4378 "syntax implicit insert ::) Using both syntaxes together will trigger a bug "
4379 "which some users unfortunately relay on: An option with the unusual name "
4380 "\"<literal>::</literal>\" which acts like every other option with a name. "
4381 "These introduces many problems including that a user who writes multiple "
4382 "lines in this <emphasis>wrong</emphasis> syntax in the hope to append to a "
4383 "list will gain the opposite as only the last assignment for this option "
4384 "\"<literal>::</literal>\" will be used. Upcoming APT versions will raise "
4385 "errors and will stop working if they encounter this misuse, so please "
4386 "correct such statements now as long as APT doesn't complain explicit about "
4390 #. type: Content of: <refentry><refsect1><title>
4391 #: apt.conf.5.xml:146
4392 msgid "The APT Group"
4395 #. type: Content of: <refentry><refsect1><para>
4396 #: apt.conf.5.xml:147
4398 "This group of options controls general APT behavior as well as holding the "
4399 "options for all of the tools."
4402 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4403 #: apt.conf.5.xml:151
4404 msgid "Architecture"
4407 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4408 #: apt.conf.5.xml:152
4410 "System Architecture; sets the architecture to use when fetching files and "
4411 "parsing package lists. The internal default is the architecture apt was "
4415 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4416 #: apt.conf.5.xml:157
4417 msgid "Default-Release"
4420 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4421 #: apt.conf.5.xml:158
4423 "Default release to install packages from if more than one version available. "
4424 "Contains release name, codename or release version. Examples: 'stable', "
4425 "'testing', 'unstable', '&stable-codename;', '&testing-codename;', '4.0', "
4426 "'5.0*'. See also &apt-preferences;."
4429 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4430 #: apt.conf.5.xml:163
4434 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4435 #: apt.conf.5.xml:164
4437 "Ignore Held packages; This global option causes the problem resolver to "
4438 "ignore held packages in its decision making."
4441 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4442 #: apt.conf.5.xml:168
4443 msgid "Clean-Installed"
4446 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4447 #: apt.conf.5.xml:169
4449 "Defaults to on. When turned on the autoclean feature will remove any "
4450 "packages which can no longer be downloaded from the cache. If turned off "
4451 "then packages that are locally installed are also excluded from cleaning - "
4452 "but note that APT provides no direct means to reinstall them."
4455 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4456 #: apt.conf.5.xml:175
4457 msgid "Immediate-Configure"
4460 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4461 #: apt.conf.5.xml:176
4463 "Defaults to on which will cause APT to install essential and important "
4464 "packages as fast as possible in the install/upgrade operation. This is done "
4465 "to limit the effect of a failing &dpkg; call: If this option is disabled APT "
4466 "does treat an important package in the same way as an extra package: Between "
4467 "the unpacking of the important package A and his configuration can then be "
4468 "many other unpack or configuration calls, e.g. for package B which has no "
4469 "relation to A, but causes the dpkg call to fail (e.g. because maintainer "
4470 "script of package B generates an error) which results in a system state in "
4471 "which package A is unpacked but unconfigured - each package depending on A "
4472 "is now no longer guaranteed to work as their dependency on A is not longer "
4473 "satisfied. The immediate configuration marker is also applied to all "
4474 "dependencies which can generate a problem if the dependencies e.g. form a "
4475 "circle as a dependency with the immediate flag is comparable with a Pre-"
4476 "Dependency. So in theory it is possible that APT encounters a situation in "
4477 "which it is unable to perform immediate configuration, errors out and refers "
4478 "to this option so the user can deactivate the immediate configuration "
4479 "temporarily to be able to perform an install/upgrade again. Note the use of "
4480 "the word \"theory\" here as this problem was only encountered by now in real "
4481 "world a few times in non-stable distribution versions and was caused by "
4482 "wrong dependencies of the package in question or by a system in an already "
4483 "broken state, so you should not blindly disable this option as the mentioned "
4484 "scenario above is not the only problem immediate configuration can help to "
4485 "prevent in the first place. Before a big operation like <literal>dist-"
4486 "upgrade</literal> is run with this option disabled it should be tried to "
4487 "explicitly <literal>install</literal> the package APT is unable to configure "
4488 "immediately, but please make sure to report your problem also to your "
4489 "distribution and to the APT team with the buglink below so they can work on "
4490 "improving or correcting the upgrade process."
4493 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4494 #: apt.conf.5.xml:198
4495 msgid "Force-LoopBreak"
4498 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4499 #: apt.conf.5.xml:199
4501 "Never Enable this option unless you -really- know what you are doing. It "
4502 "permits APT to temporarily remove an essential package to break a Conflicts/"
4503 "Conflicts or Conflicts/Pre-Depend loop between two essential packages. SUCH "
4504 "A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option will work if the "
4505 "essential packages are not tar, gzip, libc, dpkg, bash or anything that "
4506 "those packages depend on."
4509 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4510 #: apt.conf.5.xml:207
4511 msgid "Cache-Start, Cache-Grow and Cache-Limit"
4514 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4515 #: apt.conf.5.xml:208
4517 "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
4518 "the 'available' information. <literal>Cache-Start</literal> acts as a hint "
4519 "to which size the Cache will grow and is therefore the amount of memory APT "
4520 "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
4521 "that these amount of space need to be available for APT otherwise it will "
4522 "likely fail ungracefully, so for memory restricted devices these value "
4523 "should be lowered while on systems with a lot of configured sources this "
4524 "might be increased. <literal>Cache-Grow</literal> defines in byte with the "
4525 "default of 1048576 (~1 MB) how much the Cache size will be increased in the "
4526 "event the space defined by <literal>Cache-Start</literal> is not enough. "
4527 "These value will be applied again and again until either the cache is big "
4528 "enough to store all information or the size of the cache reaches the "
4529 "<literal>Cache-Limit</literal>. The default of <literal>Cache-Limit</"
4530 "literal> is 0 which stands for no limit. If <literal>Cache-Grow</literal> "
4531 "is set to 0 the automatic grow of the cache is disabled."
4534 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4535 #: apt.conf.5.xml:223
4536 msgid "Build-Essential"
4539 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4540 #: apt.conf.5.xml:224
4541 msgid "Defines which package(s) are considered essential build dependencies."
4544 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4545 #: apt.conf.5.xml:227
4549 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4550 #: apt.conf.5.xml:228
4552 "The Get subsection controls the &apt-get; tool, please see its documentation "
4553 "for more information about the options here."
4556 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4557 #: apt.conf.5.xml:232
4561 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4562 #: apt.conf.5.xml:233
4564 "The Cache subsection controls the &apt-cache; tool, please see its "
4565 "documentation for more information about the options here."
4568 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4569 #: apt.conf.5.xml:237
4573 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4574 #: apt.conf.5.xml:238
4576 "The CDROM subsection controls the &apt-cdrom; tool, please see its "
4577 "documentation for more information about the options here."
4580 #. type: Content of: <refentry><refsect1><title>
4581 #: apt.conf.5.xml:244
4582 msgid "The Acquire Group"
4585 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4586 #: apt.conf.5.xml:249
4587 msgid "Check-Valid-Until"
4590 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4591 #: apt.conf.5.xml:250
4593 "Security related option defaulting to true as an expiring validation for a "
4594 "Release file prevents longtime replay attacks and can e.g. also help users "
4595 "to identify no longer updated mirrors - but the feature depends on the "
4596 "correctness of the time on the user system. Archive maintainers are "
4597 "encouraged to create Release files with the <literal>Valid-Until</literal> "
4598 "header, but if they don't or a stricter value is volitional the following "
4599 "<literal>Max-ValidTime</literal> option can be used."
4602 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4603 #: apt.conf.5.xml:260
4604 msgid "Max-ValidTime"
4607 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4608 #: apt.conf.5.xml:261
4610 "Seconds the Release file should be considered valid after it was created. "
4611 "The default is \"for ever\" (0) if the Release file of the archive doesn't "
4612 "include a <literal>Valid-Until</literal> header. If it does then this date "
4613 "is the default. The date from the Release file or the date specified by the "
4614 "creation time of the Release file (<literal>Date</literal> header) plus the "
4615 "seconds specified with this options are used to check if the validation of a "
4616 "file has expired by using the earlier date of the two. Archive specific "
4617 "settings can be made by appending the label of the archive to the option "
4621 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4622 #: apt.conf.5.xml:273
4626 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4627 #: apt.conf.5.xml:274
4629 "Try to download deltas called <literal>PDiffs</literal> for Packages or "
4630 "Sources files instead of downloading whole ones. True by default."
4633 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4634 #: apt.conf.5.xml:277
4636 "Two sub-options to limit the use of PDiffs are also available: With "
4637 "<literal>FileLimit</literal> can be specified how many PDiff files are "
4638 "downloaded at most to patch a file. <literal>SizeLimit</literal> on the "
4639 "other hand is the maximum percentage of the size of all patches compared to "
4640 "the size of the targeted file. If one of these limits is exceeded the "
4641 "complete file is downloaded instead of the patches."
4644 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4645 #: apt.conf.5.xml:286
4649 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4650 #: apt.conf.5.xml:287
4652 "Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</"
4653 "literal> or <literal>access</literal> which determines how APT parallelizes "
4654 "outgoing connections. <literal>host</literal> means that one connection per "
4655 "target host will be opened, <literal>access</literal> means that one "
4656 "connection per URI type will be opened."
4659 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4660 #: apt.conf.5.xml:294
4664 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4665 #: apt.conf.5.xml:295
4667 "Number of retries to perform. If this is non-zero APT will retry failed "
4668 "files the given number of times."
4671 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4672 #: apt.conf.5.xml:299
4673 msgid "Source-Symlinks"
4676 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4677 #: apt.conf.5.xml:300
4679 "Use symlinks for source archives. If set to true then source archives will "
4680 "be symlinked when possible instead of copying. True is the default."
4683 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4684 #: apt.conf.5.xml:304 sources.list.5.xml:144
4688 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4689 #: apt.conf.5.xml:305
4691 "HTTP URIs; http::Proxy is the default http proxy to use. It is in the "
4692 "standard form of <literal>http://[[user][:pass]@]host[:port]/</literal>. Per "
4693 "host proxies can also be specified by using the form <literal>http::Proxy::"
4694 "<host></literal> with the special keyword <literal>DIRECT</literal> "
4695 "meaning to use no proxies. If no one of the above settings is specified, "
4696 "<envar>http_proxy</envar> environment variable will be used."
4699 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4700 #: apt.conf.5.xml:313
4702 "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
4703 "caches. <literal>No-Cache</literal> tells the proxy to not use its cached "
4704 "response under any circumstances, <literal>Max-Age</literal> is sent only "
4705 "for index files and tells the cache to refresh its object if it is older "
4706 "than the given number of seconds. Debian updates its index files daily so "
4707 "the default is 1 day. <literal>No-Store</literal> specifies that the cache "
4708 "should never store this request, it is only set for archive files. This may "
4709 "be useful to prevent polluting a proxy cache with very large .deb files. "
4710 "Note: Squid 2.0.2 does not support any of these options."
4713 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4714 #: apt.conf.5.xml:323 apt.conf.5.xml:387
4716 "The option <literal>timeout</literal> sets the timeout timer used by the "
4717 "method, this applies to all things including connection timeout and data "
4721 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4722 #: apt.conf.5.xml:326
4724 "One setting is provided to control the pipeline depth in cases where the "
4725 "remote server is not RFC conforming or buggy (such as Squid 2.0.2). "
4726 "<literal>Acquire::http::Pipeline-Depth</literal> can be a value from 0 to 5 "
4727 "indicating how many outstanding requests APT should send. A value of zero "
4728 "MUST be specified if the remote host does not properly linger on TCP "
4729 "connections - otherwise data corruption will occur. Hosts which require this "
4730 "are in violation of RFC 2068."
4733 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4734 #: apt.conf.5.xml:334
4736 "The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
4737 "literal> which accepts integer values in kilobyte. The default value is 0 "
4738 "which deactivates the limit and tries uses as much as possible of the "
4739 "bandwidth (Note that this option implicit deactivates the download from "
4740 "multiple servers at the same time.)"
4743 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4744 #: apt.conf.5.xml:339
4746 "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
4747 "User-Agent for the http download method as some proxies allow access for "
4748 "clients only if the client uses a known identifier."
4751 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4752 #: apt.conf.5.xml:345
4756 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4757 #: apt.conf.5.xml:346
4759 "HTTPS URIs. Cache-control, Timeout, AllowRedirect, Dl-Limit and proxy "
4760 "options are the same as for <literal>http</literal> method and will also "
4761 "default to the options from the <literal>http</literal> method if they are "
4762 "not explicitly set for https. <literal>Pipeline-Depth</literal> option is "
4763 "not supported yet."
4766 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4767 #: apt.conf.5.xml:352
4769 "<literal>CaInfo</literal> suboption specifies place of file that holds info "
4770 "about trusted certificates. <literal><host>::CaInfo</literal> is "
4771 "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
4772 "suboption determines whether verify server's host certificate against "
4773 "trusted certificates or not. <literal><host>::Verify-Peer</literal> "
4774 "is corresponding per-host option. <literal>Verify-Host</literal> boolean "
4775 "suboption determines whether verify server's hostname or not. <literal><"
4776 "host>::Verify-Host</literal> is corresponding per-host option. "
4777 "<literal>SslCert</literal> determines what certificate to use for client "
4778 "authentication. <literal><host>::SslCert</literal> is corresponding "
4779 "per-host option. <literal>SslKey</literal> determines what private key to "
4780 "use for client authentication. <literal><host>::SslKey</literal> is "
4781 "corresponding per-host option. <literal>SslForceVersion</literal> overrides "
4782 "default SSL version to use. Can contain 'TLSv1' or 'SSLv3' string. "
4783 "<literal><host>::SslForceVersion</literal> is corresponding per-host "
4787 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4788 #: apt.conf.5.xml:370 sources.list.5.xml:155
4792 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4793 #: apt.conf.5.xml:371
4795 "FTP URIs; ftp::Proxy is the default ftp proxy to use. It is in the standard "
4796 "form of <literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host "
4797 "proxies can also be specified by using the form <literal>ftp::Proxy::<"
4798 "host></literal> with the special keyword <literal>DIRECT</literal> "
4799 "meaning to use no proxies. If no one of the above settings is specified, "
4800 "<envar>ftp_proxy</envar> environment variable will be used. To use a ftp "
4801 "proxy you will have to set the <literal>ftp::ProxyLogin</literal> script in "
4802 "the configuration file. This entry specifies the commands to send to tell "
4803 "the proxy server what to connect to. Please see &configureindex; for an "
4804 "example of how to do this. The substitution variables available are <literal>"
4805 "$(PROXY_USER)</literal> <literal>$(PROXY_PASS)</literal> <literal>"
4806 "$(SITE_USER)</literal> <literal>$(SITE_PASS)</literal> <literal>$(SITE)</"
4807 "literal> and <literal>$(SITE_PORT)</literal> Each is taken from it's "
4808 "respective URI component."
4811 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4812 #: apt.conf.5.xml:390
4814 "Several settings are provided to control passive mode. Generally it is safe "
4815 "to leave passive mode on, it works in nearly every environment. However "
4816 "some situations require that passive mode be disabled and port mode ftp used "
4817 "instead. This can be done globally, for connections that go through a proxy "
4818 "or for a specific host (See the sample config file for examples)."
4821 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4822 #: apt.conf.5.xml:397
4824 "It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</"
4825 "envar> environment variable to a http url - see the discussion of the http "
4826 "method above for syntax. You cannot set this in the configuration file and "
4827 "it is not recommended to use FTP over HTTP due to its low efficiency."
4830 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4831 #: apt.conf.5.xml:402
4833 "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
4834 "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
4835 "false, which means these commands are only used if the control connection is "
4836 "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
4837 "that most FTP servers do not support RFC2428."
4840 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4841 #: apt.conf.5.xml:409 sources.list.5.xml:137
4845 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
4846 #: apt.conf.5.xml:415
4848 msgid "/cdrom/::Mount \"foo\";"
4851 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4852 #: apt.conf.5.xml:410
4854 "CDROM URIs; the only setting for CDROM URIs is the mount point, "
4855 "<literal>cdrom::Mount</literal> which must be the mount point for the CDROM "
4856 "drive as specified in <filename>/etc/fstab</filename>. It is possible to "
4857 "provide alternate mount and unmount commands if your mount point cannot be "
4858 "listed in the fstab (such as an SMB mount and old mount packages). The "
4859 "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
4860 "cdrom block. It is important to have the trailing slash. Unmount commands "
4861 "can be specified using UMount."
4864 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4865 #: apt.conf.5.xml:420
4869 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4870 #: apt.conf.5.xml:421
4872 "GPGV URIs; the only option for GPGV URIs is the option to pass additional "
4873 "parameters to gpgv. <literal>gpgv::Options</literal> Additional options "
4877 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4878 #: apt.conf.5.xml:426
4879 msgid "CompressionTypes"
4882 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
4883 #: apt.conf.5.xml:432
4885 msgid "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
4888 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4889 #: apt.conf.5.xml:427
4891 "List of compression types which are understood by the acquire methods. "
4892 "Files like <filename>Packages</filename> can be available in various "
4893 "compression formats. Per default the acquire methods can decompress "
4894 "<command>bzip2</command>, <command>lzma</command> and <command>gzip</"
4895 "command> compressed files, with this setting more formats can be added on "
4896 "the fly or the used method can be changed. The syntax for this is: "
4897 "<placeholder type=\"synopsis\" id=\"0\"/>"
4900 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
4901 #: apt.conf.5.xml:437
4903 msgid "Acquire::CompressionTypes::Order:: \"gz\";"
4906 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
4907 #: apt.conf.5.xml:440
4909 msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
4912 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4913 #: apt.conf.5.xml:433
4915 "Also the <literal>Order</literal> subgroup can be used to define in which "
4916 "order the acquire system will try to download the compressed files. The "
4917 "acquire system will try the first and proceed with the next compression type "
4918 "in this list on error, so to prefer one over the other type simple add the "
4919 "preferred type at first - not already added default types will be added at "
4920 "run time to the end of the list, so e.g. <placeholder type=\"synopsis\" id="
4921 "\"0\"/> can be used to prefer <command>gzip</command> compressed files over "
4922 "<command>bzip2</command> and <command>lzma</command>. If <command>lzma</"
4923 "command> should be preferred over <command>gzip</command> and "
4924 "<command>bzip2</command> the configure setting should look like this "
4925 "<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
4926 "<literal>bz2</literal> explicit to the list as it will be added automatic."
4929 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
4930 #: apt.conf.5.xml:444
4932 msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
4935 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4936 #: apt.conf.5.xml:442
4938 "Note that at run time the <literal>Dir::Bin::<replaceable>Methodname</"
4939 "replaceable></literal> will be checked: If this setting exists the method "
4940 "will only be used if this file exists, e.g. for the bzip2 method (the "
4941 "inbuilt) setting is: <placeholder type=\"literallayout\" id=\"0\"/> Note "
4942 "also that list entries specified on the command line will be added at the "
4943 "end of the list specified in the configuration files, but before the default "
4944 "entries. To prefer a type in this case over the ones specified in the "
4945 "configuration files you can set the option direct - not in list style. This "
4946 "will not override the defined list, it will only prefix the list with this "
4950 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4951 #: apt.conf.5.xml:449
4953 "The special type <literal>uncompressed</literal> can be used to give "
4954 "uncompressed files a preference, but note that most archives don't provide "
4955 "uncompressed files so this is mostly only useable for local mirrors."
4958 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4959 #: apt.conf.5.xml:454
4963 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4964 #: apt.conf.5.xml:456
4966 "When downloading <literal>gzip</literal> compressed indexes (Packages, "
4967 "Sources, or Translations), keep them gzip compressed locally instead of "
4968 "unpacking them. This saves quite a lot of disk space at the expense of more "
4969 "CPU requirements when building the local package caches. False by default."
4972 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4973 #: apt.conf.5.xml:463
4977 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4978 #: apt.conf.5.xml:464
4980 "The Languages subsection controls which <filename>Translation</filename> "
4981 "files are downloaded and in which order APT tries to display the Description-"
4982 "Translations. APT will try to display the first available Description in the "
4983 "Language which is listed at first. Languages can be defined with their short "
4984 "or long Languagecodes. Note that not all archives provide "
4985 "<filename>Translation</filename> files for every Language - especially the "
4986 "long Languagecodes are rare, so please inform you which ones are available "
4987 "before you set here impossible values."
4990 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><programlisting>
4991 #: apt.conf.5.xml:480
4993 msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
4996 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4997 #: apt.conf.5.xml:470
4999 "The default list includes \"environment\" and \"en\". "
5000 "\"<literal>environment</literal>\" has a special meaning here: It will be "
5001 "replaced at runtime with the languagecodes extracted from the "
5002 "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
5003 "that these codes are not included twice in the list. If "
5004 "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
5005 "<filename>Translation-en</filename> file (if available) will be used. To "
5006 "force apt to use no Translation file use the setting <literal>Acquire::"
5007 "Languages=none</literal>. \"<literal>none</literal>\" is another special "
5008 "meaning code which will stop the search for a fitting <filename>Translation</"
5009 "filename> file. This can be used by the system administrator to let APT "
5010 "know that it should download also this files without actually use them if "
5011 "the environment doesn't specify this languages. So the following example "
5012 "configuration will result in the order \"en, de\" in an english and in \"de, "
5013 "en\" in a german localization. Note that \"fr\" is downloaded, but not used "
5014 "if APT is not used in a french localization, in such an environment the "
5015 "order would be \"fr, de, en\". <placeholder type=\"programlisting\" id="
5019 #. type: Content of: <refentry><refsect1><para>
5020 #: apt.conf.5.xml:245
5022 "The <literal>Acquire</literal> group of options controls the download of "
5023 "packages and the URI handlers. <placeholder type=\"variablelist\" id=\"0\"/>"
5026 #. type: Content of: <refentry><refsect1><title>
5027 #: apt.conf.5.xml:487
5031 #. type: Content of: <refentry><refsect1><para>
5032 #: apt.conf.5.xml:489
5034 "The <literal>Dir::State</literal> section has directories that pertain to "
5035 "local state information. <literal>lists</literal> is the directory to place "
5036 "downloaded package lists in and <literal>status</literal> is the name of the "
5037 "dpkg status file. <literal>preferences</literal> is the name of the APT "
5038 "preferences file. <literal>Dir::State</literal> contains the default "
5039 "directory to prefix on all sub items if they do not start with <filename>/</"
5040 "filename> or <filename>./</filename>."
5043 #. type: Content of: <refentry><refsect1><para>
5044 #: apt.conf.5.xml:496
5046 "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
5047 "information, such as the two package caches <literal>srcpkgcache</literal> "
5048 "and <literal>pkgcache</literal> as well as the location to place downloaded "
5049 "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
5050 "be turned off by setting their names to be blank. This will slow down "
5051 "startup but save disk space. It is probably preferred to turn off the "
5052 "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the "
5053 "default directory is contained in <literal>Dir::Cache</literal>"
5056 #. type: Content of: <refentry><refsect1><para>
5057 #: apt.conf.5.xml:505
5059 "<literal>Dir::Etc</literal> contains the location of configuration files, "
5060 "<literal>sourcelist</literal> gives the location of the sourcelist and "
5061 "<literal>main</literal> is the default configuration file (setting has no "
5062 "effect, unless it is done from the config file specified by "
5063 "<envar>APT_CONFIG</envar>)."
5066 #. type: Content of: <refentry><refsect1><para>
5067 #: apt.conf.5.xml:511
5069 "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
5070 "in lexical order from the directory specified. After this is done then the "
5071 "main config file is loaded."
5074 #. type: Content of: <refentry><refsect1><para>
5075 #: apt.conf.5.xml:515
5077 "Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::"
5078 "Bin::Methods</literal> specifies the location of the method handlers and "
5079 "<literal>gzip</literal>, <literal>bzip2</literal>, <literal>lzma</literal>, "
5080 "<literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</"
5081 "literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</"
5082 "literal> specify the location of the respective programs."
5085 #. type: Content of: <refentry><refsect1><para>
5086 #: apt.conf.5.xml:523
5088 "The configuration item <literal>RootDir</literal> has a special meaning. If "
5089 "set, all paths in <literal>Dir::</literal> will be relative to "
5090 "<literal>RootDir</literal>, <emphasis>even paths that are specified "
5091 "absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
5092 "set to <filename>/tmp/staging</filename> and <literal>Dir::State::status</"
5093 "literal> is set to <filename>/var/lib/dpkg/status</filename>, then the "
5094 "status file will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</"
5098 #. type: Content of: <refentry><refsect1><para>
5099 #: apt.conf.5.xml:536
5101 "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
5102 "which files APT should silently ignore while parsing the files in the "
5103 "fragment directories. Per default a file which end with <literal>.disabled</"
5104 "literal>, <literal>~</literal>, <literal>.bak</literal> or <literal>.dpkg-[a-"
5105 "z]+</literal> is silently ignored. As seen in the last default value these "
5106 "patterns can use regular expression syntax."
5109 #. type: Content of: <refentry><refsect1><title>
5110 #: apt.conf.5.xml:545
5111 msgid "APT in DSelect"
5114 #. type: Content of: <refentry><refsect1><para>
5115 #: apt.conf.5.xml:547
5117 "When APT is used as a &dselect; method several configuration directives "
5118 "control the default behaviour. These are in the <literal>DSelect</literal> "
5122 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5123 #: apt.conf.5.xml:551
5127 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5128 #: apt.conf.5.xml:552
5130 "Cache Clean mode; this value may be one of always, prompt, auto, pre-auto "
5131 "and never. always and prompt will remove all packages from the cache after "
5132 "upgrading, prompt (the default) does so conditionally. auto removes only "
5133 "those packages which are no longer downloadable (replaced with a new version "
5134 "for instance). pre-auto performs this action before downloading new "
5138 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5139 #: apt.conf.5.xml:561
5141 "The contents of this variable is passed to &apt-get; as command line options "
5142 "when it is run for the install phase."
5145 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5146 #: apt.conf.5.xml:565
5147 msgid "Updateoptions"
5150 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5151 #: apt.conf.5.xml:566
5153 "The contents of this variable is passed to &apt-get; as command line options "
5154 "when it is run for the update phase."
5157 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5158 #: apt.conf.5.xml:570
5159 msgid "PromptAfterUpdate"
5162 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5163 #: apt.conf.5.xml:571
5165 "If true the [U]pdate operation in &dselect; will always prompt to continue. "
5166 "The default is to prompt only on error."
5169 #. type: Content of: <refentry><refsect1><title>
5170 #: apt.conf.5.xml:577
5171 msgid "How APT calls dpkg"
5174 #. type: Content of: <refentry><refsect1><para>
5175 #: apt.conf.5.xml:578
5177 "Several configuration directives control how APT invokes &dpkg;. These are "
5178 "in the <literal>DPkg</literal> section."
5181 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5182 #: apt.conf.5.xml:583
5184 "This is a list of options to pass to dpkg. The options must be specified "
5185 "using the list notation and each list item is passed as a single argument to "
5189 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5190 #: apt.conf.5.xml:588
5194 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5195 #: apt.conf.5.xml:588
5199 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5200 #: apt.conf.5.xml:589
5202 "This is a list of shell commands to run before/after invoking &dpkg;. Like "
5203 "<literal>options</literal> this must be specified in list notation. The "
5204 "commands are invoked in order using <filename>/bin/sh</filename>, should any "
5205 "fail APT will abort."
5208 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5209 #: apt.conf.5.xml:595
5210 msgid "Pre-Install-Pkgs"
5213 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5214 #: apt.conf.5.xml:596
5216 "This is a list of shell commands to run before invoking dpkg. Like "
5217 "<literal>options</literal> this must be specified in list notation. The "
5218 "commands are invoked in order using <filename>/bin/sh</filename>, should any "
5219 "fail APT will abort. APT will pass to the commands on standard input the "
5220 "filenames of all .deb files it is going to install, one per line."
5223 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5224 #: apt.conf.5.xml:602
5226 "Version 2 of this protocol dumps more information, including the protocol "
5227 "version, the APT configuration space and the packages, files and versions "
5228 "being changed. Version 2 is enabled by setting <literal>DPkg::Tools::"
5229 "options::cmd::Version</literal> to 2. <literal>cmd</literal> is a command "
5230 "given to <literal>Pre-Install-Pkgs</literal>."
5233 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5234 #: apt.conf.5.xml:609
5235 msgid "Run-Directory"
5238 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5239 #: apt.conf.5.xml:610
5241 "APT chdirs to this directory before invoking dpkg, the default is <filename>/"
5245 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5246 #: apt.conf.5.xml:614
5247 msgid "Build-options"
5250 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5251 #: apt.conf.5.xml:615
5253 "These options are passed to &dpkg-buildpackage; when compiling packages, the "
5254 "default is to disable signing and produce all binaries."
5257 #. type: Content of: <refentry><refsect1><refsect2><title>
5258 #: apt.conf.5.xml:620
5259 msgid "dpkg trigger usage (and related options)"
5262 #. type: Content of: <refentry><refsect1><refsect2><para>
5263 #: apt.conf.5.xml:621
5265 "APT can call dpkg in a way so it can make aggressive use of triggers over "
5266 "multiple calls of dpkg. Without further options dpkg will use triggers only "
5267 "in between his own run. Activating these options can therefore decrease the "
5268 "time needed to perform the install / upgrade. Note that it is intended to "
5269 "activate these options per default in the future, but as it changes the way "
5270 "APT calling dpkg drastically it needs a lot more testing. <emphasis>These "
5271 "options are therefore currently experimental and should not be used in "
5272 "productive environments.</emphasis> Also it breaks the progress reporting so "
5273 "all frontends will currently stay around half (or more) of the time in the "
5274 "100% state while it actually configures all packages."
5277 #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
5278 #: apt.conf.5.xml:636
5281 "DPkg::NoTriggers \"true\";\n"
5282 "PackageManager::Configure \"smart\";\n"
5283 "DPkg::ConfigurePending \"true\";\n"
5284 "DPkg::TriggersPending \"true\";"
5287 #. type: Content of: <refentry><refsect1><refsect2><para>
5288 #: apt.conf.5.xml:630
5290 "Note that it is not guaranteed that APT will support these options or that "
5291 "these options will not cause (big) trouble in the future. If you have "
5292 "understand the current risks and problems with these options, but are brave "
5293 "enough to help testing them create a new configuration file and test a "
5294 "combination of options. Please report any bugs, problems and improvements "
5295 "you encounter and make sure to note which options you have used in your "
5296 "reports. Asking dpkg for help could also be useful for debugging proposes, "
5297 "see e.g. <command>dpkg --audit</command>. A defensive option combination "
5298 "would be <placeholder type=\"literallayout\" id=\"0\"/>"
5301 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5302 #: apt.conf.5.xml:642
5303 msgid "DPkg::NoTriggers"
5306 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5307 #: apt.conf.5.xml:643
5309 "Add the no triggers flag to all dpkg calls (except the ConfigurePending "
5310 "call). See &dpkg; if you are interested in what this actually means. In "
5311 "short: dpkg will not run the triggers when this flag is present unless it is "
5312 "explicitly called to do so in an extra call. Note that this option exists "
5313 "(undocumented) also in older apt versions with a slightly different meaning: "
5314 "Previously these option only append --no-triggers to the configure calls to "
5315 "dpkg - now apt will add these flag also to the unpack and remove calls."
5318 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5319 #: apt.conf.5.xml:650
5320 msgid "PackageManager::Configure"
5323 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5324 #: apt.conf.5.xml:651
5326 "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
5327 "and \"<literal>no</literal>\". \"<literal>all</literal>\" is the default "
5328 "value and causes APT to configure all packages explicit. The "
5329 "\"<literal>smart</literal>\" way is it to configure only packages which need "
5330 "to be configured before another package can be unpacked (Pre-Depends) and "
5331 "let the rest configure by dpkg with a call generated by the next option. "
5332 "\"<literal>no</literal>\" on the other hand will not configure anything and "
5333 "totally rely on dpkg for configuration (which will at the moment fail if a "
5334 "Pre-Depends is encountered). Setting this option to another than the all "
5335 "value will implicitly activate also the next option per default as otherwise "
5336 "the system could end in an unconfigured status which could be unbootable!"
5339 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5340 #: apt.conf.5.xml:661
5341 msgid "DPkg::ConfigurePending"
5344 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5345 #: apt.conf.5.xml:662
5347 "If this option is set apt will call <command>dpkg --configure --pending</"
5348 "command> to let dpkg handle all required configurations and triggers. This "
5349 "option is activated automatic per default if the previous option is not set "
5350 "to <literal>all</literal>, but deactivating could be useful if you want to "
5351 "run APT multiple times in a row - e.g. in an installer. In these sceneries "
5352 "you could deactivate this option in all but the last run."
5355 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5356 #: apt.conf.5.xml:668
5357 msgid "DPkg::TriggersPending"
5360 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5361 #: apt.conf.5.xml:669
5363 "Useful for <literal>smart</literal> configuration as a package which has "
5364 "pending triggers is not considered as <literal>installed</literal> and dpkg "
5365 "treats them as <literal>unpacked</literal> currently which is a dealbreaker "
5366 "for Pre-Dependencies (see debbugs #526774). Note that this will process all "
5367 "triggers, not only the triggers needed to configure this package."
5370 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5371 #: apt.conf.5.xml:674
5372 msgid "PackageManager::UnpackAll"
5375 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5376 #: apt.conf.5.xml:675
5378 "As the configuration can be deferred to be done at the end by dpkg it can be "
5379 "tried to order the unpack series only by critical needs, e.g. by Pre-"
5380 "Depends. Default is true and therefore the \"old\" method of ordering in "
5381 "various steps by everything. While both method were present in earlier APT "
5382 "versions the <literal>OrderCritical</literal> method was unused, so this "
5383 "method is very experimental and needs further improvements before becoming "
5387 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5388 #: apt.conf.5.xml:682
5389 msgid "OrderList::Score::Immediate"
5392 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
5393 #: apt.conf.5.xml:690
5396 "OrderList::Score {\n"
5398 "\tEssential 200;\n"
5400 "\tPreDepends 50;\n"
5404 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5405 #: apt.conf.5.xml:683
5407 "Essential packages (and there dependencies) should be configured immediately "
5408 "after unpacking. It will be a good idea to do this quite early in the "
5409 "upgrade process as these these configure calls require currently also "
5410 "<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
5411 "(which maybe not needed). Essentials get per default a high score but the "
5412 "immediate flag is relatively low (a package which has a Pre-Depends is "
5413 "higher rated). These option and the others in the same group can be used to "
5414 "change the scoring. The following example shows the settings with there "
5415 "default values. <placeholder type=\"literallayout\" id=\"0\"/>"
5418 #. type: Content of: <refentry><refsect1><title>
5419 #: apt.conf.5.xml:703
5420 msgid "Periodic and Archives options"
5423 #. type: Content of: <refentry><refsect1><para>
5424 #: apt.conf.5.xml:704
5426 "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
5427 "of options configure behavior of apt periodic updates, which is done by "
5428 "<literal>/etc/cron.daily/apt</literal> script. See header of this script for "
5429 "the brief documentation of these options."
5432 #. type: Content of: <refentry><refsect1><title>
5433 #: apt.conf.5.xml:712
5434 msgid "Debug options"
5437 #. type: Content of: <refentry><refsect1><para>
5438 #: apt.conf.5.xml:714
5440 "Enabling options in the <literal>Debug::</literal> section will cause "
5441 "debugging information to be sent to the standard error stream of the program "
5442 "utilizing the <literal>apt</literal> libraries, or enable special program "
5443 "modes that are primarily useful for debugging the behavior of <literal>apt</"
5444 "literal>. Most of these options are not interesting to a normal user, but a "
5448 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5449 #: apt.conf.5.xml:725
5451 "<literal>Debug::pkgProblemResolver</literal> enables output about the "
5452 "decisions made by <literal>dist-upgrade, upgrade, install, remove, purge</"
5456 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5457 #: apt.conf.5.xml:733
5459 "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
5460 "used to run some operations (for instance, <literal>apt-get -s install</"
5461 "literal>) as a non-root user."
5464 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5465 #: apt.conf.5.xml:742
5467 "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
5468 "time that <literal>apt</literal> invokes &dpkg;."
5472 #. motivating example, except I haven't a clue why you'd want
5474 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5475 #: apt.conf.5.xml:750
5477 "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
5481 #. type: Content of: <refentry><refsect1><para>
5482 #: apt.conf.5.xml:760
5483 msgid "A full list of debugging options to apt follows."
5486 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5487 #: apt.conf.5.xml:765
5489 msgid "<literal>Debug::Acquire::cdrom</literal>"
5490 msgstr "a linha <literal>Archive:</literal>"
5492 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5493 #: apt.conf.5.xml:769
5495 "Print information related to accessing <literal>cdrom://</literal> sources."
5498 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5499 #: apt.conf.5.xml:776
5501 msgid "<literal>Debug::Acquire::ftp</literal>"
5502 msgstr "a linha <literal>Archive:</literal>"
5504 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5505 #: apt.conf.5.xml:780
5506 msgid "Print information related to downloading packages using FTP."
5509 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5510 #: apt.conf.5.xml:787
5512 msgid "<literal>Debug::Acquire::http</literal>"
5513 msgstr "a linha <literal>Archive:</literal>"
5515 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5516 #: apt.conf.5.xml:791
5517 msgid "Print information related to downloading packages using HTTP."
5520 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5521 #: apt.conf.5.xml:798
5523 msgid "<literal>Debug::Acquire::https</literal>"
5524 msgstr "a linha <literal>Archive:</literal>"
5526 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5527 #: apt.conf.5.xml:802
5528 msgid "Print information related to downloading packages using HTTPS."
5531 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5532 #: apt.conf.5.xml:809
5534 msgid "<literal>Debug::Acquire::gpgv</literal>"
5535 msgstr "a linha <literal>Archive:</literal>"
5537 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5538 #: apt.conf.5.xml:813
5540 "Print information related to verifying cryptographic signatures using "
5541 "<literal>gpg</literal>."
5544 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5545 #: apt.conf.5.xml:820
5547 msgid "<literal>Debug::aptcdrom</literal>"
5548 msgstr "a linha <literal>Version:</literal>"
5550 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5551 #: apt.conf.5.xml:824
5553 "Output information about the process of accessing collections of packages "
5554 "stored on CD-ROMs."
5557 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5558 #: apt.conf.5.xml:831
5560 msgid "<literal>Debug::BuildDeps</literal>"
5561 msgstr "a linha <literal>Label:</literal>"
5563 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5564 #: apt.conf.5.xml:834
5565 msgid "Describes the process of resolving build-dependencies in &apt-get;."
5568 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5569 #: apt.conf.5.xml:841
5571 msgid "<literal>Debug::Hashes</literal>"
5572 msgstr "a linha <literal>Label:</literal>"
5574 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5575 #: apt.conf.5.xml:844
5577 "Output each cryptographic hash that is generated by the <literal>apt</"
5578 "literal> libraries."
5581 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5582 #: apt.conf.5.xml:851
5584 msgid "<literal>Debug::IdentCDROM</literal>"
5585 msgstr "a linha <literal>Label:</literal>"
5587 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5588 #: apt.conf.5.xml:854
5590 "Do not include information from <literal>statfs</literal>, namely the number "
5591 "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
5595 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5596 #: apt.conf.5.xml:862
5598 msgid "<literal>Debug::NoLocking</literal>"
5599 msgstr "a linha <literal>Origin:</literal>"
5601 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5602 #: apt.conf.5.xml:865
5604 "Disable all file locking. For instance, this will allow two instances of "
5605 "<quote><literal>apt-get update</literal></quote> to run at the same time."
5608 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5609 #: apt.conf.5.xml:873
5611 msgid "<literal>Debug::pkgAcquire</literal>"
5612 msgstr "a linha <literal>Archive:</literal>"
5614 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5615 #: apt.conf.5.xml:877
5616 msgid "Log when items are added to or removed from the global download queue."
5619 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5620 #: apt.conf.5.xml:884
5622 msgid "<literal>Debug::pkgAcquire::Auth</literal>"
5623 msgstr "a linha <literal>Archive:</literal>"
5625 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5626 #: apt.conf.5.xml:887
5628 "Output status messages and errors related to verifying checksums and "
5629 "cryptographic signatures of downloaded files."
5632 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5633 #: apt.conf.5.xml:894
5635 msgid "<literal>Debug::pkgAcquire::Diffs</literal>"
5636 msgstr "a linha <literal>Archive:</literal>"
5638 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5639 #: apt.conf.5.xml:897
5641 "Output information about downloading and applying package index list diffs, "
5642 "and errors relating to package index list diffs."
5645 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5646 #: apt.conf.5.xml:905
5648 msgid "<literal>Debug::pkgAcquire::RRed</literal>"
5649 msgstr "a linha <literal>Archive:</literal>"
5651 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5652 #: apt.conf.5.xml:909
5654 "Output information related to patching apt package lists when downloading "
5655 "index diffs instead of full indices."
5658 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5659 #: apt.conf.5.xml:916
5661 msgid "<literal>Debug::pkgAcquire::Worker</literal>"
5662 msgstr "a linha <literal>Archive:</literal>"
5664 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5665 #: apt.conf.5.xml:920
5667 "Log all interactions with the sub-processes that actually perform downloads."
5670 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5671 #: apt.conf.5.xml:927
5672 msgid "<literal>Debug::pkgAutoRemove</literal>"
5675 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5676 #: apt.conf.5.xml:931
5678 "Log events related to the automatically-installed status of packages and to "
5679 "the removal of unused packages."
5682 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5683 #: apt.conf.5.xml:938
5684 msgid "<literal>Debug::pkgDepCache::AutoInstall</literal>"
5687 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5688 #: apt.conf.5.xml:941
5690 "Generate debug messages describing which packages are being automatically "
5691 "installed to resolve dependencies. This corresponds to the initial auto-"
5692 "install pass performed in, e.g., <literal>apt-get install</literal>, and not "
5693 "to the full <literal>apt</literal> dependency resolver; see <literal>Debug::"
5694 "pkgProblemResolver</literal> for that."
5697 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5698 #: apt.conf.5.xml:952
5699 msgid "<literal>Debug::pkgDepCache::Marker</literal>"
5702 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5703 #: apt.conf.5.xml:955
5705 "Generate debug messages describing which package is marked as keep/install/"
5706 "remove while the ProblemResolver does his work. Each addition or deletion "
5707 "may trigger additional actions; they are shown indented two additional space "
5708 "under the original entry. The format for each line is <literal>MarkKeep</"
5709 "literal>, <literal>MarkDelete</literal> or <literal>MarkInstall</literal> "
5710 "followed by <literal>package-name <a.b.c -> d.e.f | x.y.z> (section)"
5711 "</literal> where <literal>a.b.c</literal> is the current version of the "
5712 "package, <literal>d.e.f</literal> is the version considered for installation "
5713 "and <literal>x.y.z</literal> is a newer version, but not considered for "
5714 "installation (because of a low pin score). The later two can be omitted if "
5715 "there is none or if it is the same version as the installed. "
5716 "<literal>section</literal> is the name of the section the package appears in."
5719 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5720 #: apt.conf.5.xml:974
5722 msgid "<literal>Debug::pkgInitConfig</literal>"
5723 msgstr "a linha <literal>Version:</literal>"
5725 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5726 #: apt.conf.5.xml:977
5727 msgid "Dump the default configuration to standard error on startup."
5730 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5731 #: apt.conf.5.xml:984
5733 msgid "<literal>Debug::pkgDPkgPM</literal>"
5734 msgstr "a linha <literal>Package:</literal>"
5736 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5737 #: apt.conf.5.xml:987
5739 "When invoking &dpkg;, output the precise command line with which it is being "
5740 "invoked, with arguments separated by a single space character."
5743 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5744 #: apt.conf.5.xml:995
5745 msgid "<literal>Debug::pkgDPkgProgressReporting</literal>"
5748 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5749 #: apt.conf.5.xml:998
5751 "Output all the data received from &dpkg; on the status file descriptor and "
5752 "any errors encountered while parsing it."
5755 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5756 #: apt.conf.5.xml:1005
5758 msgid "<literal>Debug::pkgOrderList</literal>"
5759 msgstr "a linha <literal>Origin:</literal>"
5761 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5762 #: apt.conf.5.xml:1009
5764 "Generate a trace of the algorithm that decides the order in which "
5765 "<literal>apt</literal> should pass packages to &dpkg;."
5768 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5769 #: apt.conf.5.xml:1017
5771 msgid "<literal>Debug::pkgPackageManager</literal>"
5772 msgstr "a linha <literal>Package:</literal>"
5774 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5775 #: apt.conf.5.xml:1021
5777 "Output status messages tracing the steps performed when invoking &dpkg;."
5780 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5781 #: apt.conf.5.xml:1028
5783 msgid "<literal>Debug::pkgPolicy</literal>"
5784 msgstr "a linha <literal>Label:</literal>"
5786 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5787 #: apt.conf.5.xml:1032
5788 msgid "Output the priority of each package list on startup."
5791 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5792 #: apt.conf.5.xml:1038
5793 msgid "<literal>Debug::pkgProblemResolver</literal>"
5796 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5797 #: apt.conf.5.xml:1042
5799 "Trace the execution of the dependency resolver (this applies only to what "
5800 "happens when a complex dependency problem is encountered)."
5803 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5804 #: apt.conf.5.xml:1050
5805 msgid "<literal>Debug::pkgProblemResolver::ShowScores</literal>"
5808 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5809 #: apt.conf.5.xml:1053
5811 "Display a list of all installed packages with their calculated score used by "
5812 "the pkgProblemResolver. The description of the package is the same as "
5813 "described in <literal>Debug::pkgDepCache::Marker</literal>"
5816 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5817 #: apt.conf.5.xml:1061
5819 msgid "<literal>Debug::sourceList</literal>"
5820 msgstr "a linha <literal>Version:</literal>"
5822 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5823 #: apt.conf.5.xml:1065
5825 "Print information about the vendors read from <filename>/etc/apt/vendors."
5829 #. type: Content of: <refentry><refsect1><para>
5830 #: apt.conf.5.xml:1088
5832 "&configureindex; is a configuration file showing example values for all "
5836 #. type: Content of: <refentry><refsect1><variablelist>
5837 #: apt.conf.5.xml:1095
5838 msgid "&file-aptconf;"
5841 #. ? reading apt.conf
5842 #. type: Content of: <refentry><refsect1><para>
5843 #: apt.conf.5.xml:1100
5845 msgid "&apt-cache;, &apt-config;, &apt-preferences;."
5846 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
5848 #. The last update date
5849 #. type: Content of: <refentry><refentryinfo>
5850 #: apt_preferences.5.xml:16
5852 "&apt-author.team; &apt-email; &apt-product; <date>16 February 2010</date>"
5855 #. type: Content of: <refentry><refnamediv><refname>
5856 #: apt_preferences.5.xml:24 apt_preferences.5.xml:31
5858 msgid "apt_preferences"
5859 msgstr "apt_preferences"
5861 #. type: Content of: <refentry><refnamediv><refpurpose>
5862 #: apt_preferences.5.xml:32
5864 msgid "Preference control file for APT"
5865 msgstr "Arquivo de controle de preferências para o APT"
5867 #. type: Content of: <refentry><refsect1><para>
5868 #: apt_preferences.5.xml:37
5871 "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
5872 "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
5873 "can be used to control which versions of packages will be selected for "
5876 "O arquivo de preferências do APT <filename>/etc/apt/preferences</filename> "
5877 "pode ser usado para controlar quais versões de pacotes serão selecionadas "
5880 #. type: Content of: <refentry><refsect1><para>
5881 #: apt_preferences.5.xml:42
5884 "Several versions of a package may be available for installation when the "
5885 "&sources-list; file contains references to more than one distribution (for "
5886 "example, <literal>stable</literal> and <literal>testing</literal>). APT "
5887 "assigns a priority to each version that is available. Subject to dependency "
5888 "constraints, <command>apt-get</command> selects the version with the highest "
5889 "priority for installation. The APT preferences file overrides the "
5890 "priorities that APT assigns to package versions by default, thus giving the "
5891 "user control over which one is selected for installation."
5893 "Diversas versões de um pacote podem estar disponíveis para instalação quando "
5894 "o arquivo &sources-list; contém referências para mais de uma distribuição "
5895 "(por exemplo, <literal>stable</literal> e <literal>testing</literal>). O APT "
5896 "atribui uma prioridade para cada versão que esteja disponível. Sujeito a "
5897 "obstáculos de dependências, o <command>apt-get</command> seleciona para "
5898 "instalação a versão com a maior prioridade. O arquivo de preferências do APT "
5899 "sobrepoe as prioridades que o APT atribui a cada versão de pacote por "
5900 "padrão, dando assim ao usuário controle sobre qual versão do pacote é "
5901 "selecionada para instalação."
5903 #. type: Content of: <refentry><refsect1><para>
5904 #: apt_preferences.5.xml:52
5907 "Several instances of the same version of a package may be available when the "
5908 "&sources-list; file contains references to more than one source. In this "
5909 "case <command>apt-get</command> downloads the instance listed earliest in "
5910 "the &sources-list; file. The APT preferences file does not affect the "
5911 "choice of instance, only the choice of version."
5913 "Diversas instâncias da mesma versão de um pacote pode estar disponíveis "
5914 "quando o arquivo &sources-list; contém referências a mais de uma fonte. "
5915 "Nesse caso, o <command>apt-get</command> faz o download da instância listada "
5916 "antes no arquivo &sources-list; . O arquivo de preferências do APT não afeta "
5917 "a escolha da instância."
5919 #. type: Content of: <refentry><refsect1><para>
5920 #: apt_preferences.5.xml:59
5922 "Preferences are a strong power in the hands of a system administrator but "
5923 "they can become also their biggest nightmare if used without care! APT will "
5924 "not questioning the preferences so wrong settings will therefore lead to "
5925 "uninstallable packages or wrong decisions while upgrading packages. Even "
5926 "more problems will arise if multiply distribution releases are mixed without "
5927 "a good understanding of the following paragraphs. Packages included in a "
5928 "specific release aren't tested in and therefore doesn't always work as "
5929 "expected in older or newer releases or together with other packages from "
5930 "different releases. You have been warned."
5933 #. type: Content of: <refentry><refsect1><para>
5934 #: apt_preferences.5.xml:70
5936 "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
5937 "directory are parsed in alphanumeric ascending order and need to obey the "
5938 "following naming convention: The files have either no or \"<literal>pref</"
5939 "literal>\" as filename extension and only contain alphanumeric, hyphen (-), "
5940 "underscore (_) and period (.) characters. Otherwise APT will print a notice "
5941 "that it has ignored a file if the file doesn't match a pattern in the "
5942 "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in this "
5943 "case it will be silently ignored."
5946 #. type: Content of: <refentry><refsect1><refsect2><title>
5947 #: apt_preferences.5.xml:79
5949 msgid "APT's Default Priority Assignments"
5950 msgstr "Atribuições de Prioridade Padrão do APT"
5952 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5953 #: apt_preferences.5.xml:94
5955 msgid "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
5957 "<programlisting>\n"
5958 "<command>apt-get install -t testing <replaceable>algum-pacote</replaceable></command>\n"
5960 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5961 #: apt_preferences.5.xml:97
5963 msgid "APT::Default-Release \"stable\";\n"
5965 "<programlisting>\n"
5966 "APT::Default-Release \"stable\";\n"
5968 #. type: Content of: <refentry><refsect1><refsect2><para>
5969 #: apt_preferences.5.xml:81
5972 "If there is no preferences file or if there is no entry in the file that "
5973 "applies to a particular version then the priority assigned to that version "
5974 "is the priority of the distribution to which that version belongs. It is "
5975 "possible to single out a distribution, \"the target release\", which "
5976 "receives a higher priority than other distributions do by default. The "
5977 "target release can be set on the <command>apt-get</command> command line or "
5978 "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
5979 "that this has precedence over any general priority you set in the <filename>/"
5980 "etc/apt/preferences</filename> file described later, but not over "
5981 "specifically pinned packages. For example, <placeholder type="
5982 "\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
5984 "Caso não exista um arquivo de preferências ou caso não exista uma entrada no "
5985 "arquivo que se aplique a uma instância em particular, a prioridade atribuída "
5986 "a essa instância é a prioridade da distribuição para a qual a instância "
5987 "pertence. É possível selecionar uma distribuição, conhecida como \"a versão "
5988 "alvo\" (the target release), que recebe uma prioridade maior do que as "
5989 "outras distribuições. A versão alvo pode ser definida na linha de comando do "
5990 "<command>apt-get</command> ou no arquivo de configuração do APT <filename>/"
5991 "etc/apt/apt.conf</filename>. Por exemplo,"
5993 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5994 #: apt_preferences.5.xml:106
5997 msgstr "prioridade 100"
5999 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6000 #: apt_preferences.5.xml:107
6002 "to the versions coming from archives which in their <filename>Release</"
6003 "filename> files are marked as \"NotAutomatic: yes\" but <emphasis>not</"
6004 "emphasis> as \"ButAutomaticUpgrades: yes\" like the debian "
6005 "<literal>experimental</literal> archive."
6008 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6009 #: apt_preferences.5.xml:113
6011 msgid "priority 100"
6012 msgstr "prioridade 100"
6014 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6015 #: apt_preferences.5.xml:114
6017 "to the version that is already installed (if any) and to the versions coming "
6018 "from archives which in their <filename>Release</filename> files are marked "
6019 "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the debian "
6020 "backports archive since <literal>squeeze-backports</literal>."
6023 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6024 #: apt_preferences.5.xml:121
6026 msgid "priority 500"
6027 msgstr "prioridade 500"
6029 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6030 #: apt_preferences.5.xml:122
6033 "to the versions that are not installed and do not belong to the target "
6036 "para as instâncias que não estã instaladas e que não pertencem a versão alvo."
6038 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6039 #: apt_preferences.5.xml:126
6041 msgid "priority 990"
6042 msgstr "prioridade 990"
6044 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6045 #: apt_preferences.5.xml:127
6048 "to the versions that are not installed and belong to the target release."
6050 "para as instâncias que não estejam instaladas e pertençam a versão alvo."
6052 #. type: Content of: <refentry><refsect1><refsect2><para>
6053 #: apt_preferences.5.xml:101
6056 "If the target release has been specified then APT uses the following "
6057 "algorithm to set the priorities of the versions of a package. Assign: "
6058 "<placeholder type=\"variablelist\" id=\"0\"/>"
6060 "Caso uma versão alvo tenha sido especificada o APT usará o seguinte "
6061 "algoritmo para definir as prioridades das instâncias de um pacote. "
6064 #. type: Content of: <refentry><refsect1><refsect2><para>
6065 #: apt_preferences.5.xml:132
6068 "If the target release has not been specified then APT simply assigns "
6069 "priority 100 to all installed package versions and priority 500 to all "
6070 "uninstalled package versions, except versions coming from archives which in "
6071 "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
6072 "- these versions get the priority 1 or priority 100 if it is additionally "
6073 "marked as \"ButAutomaticUpgrades: yes\"."
6075 "Caso nenhuma versão alvo tenha sido especificada, o APT simplesmente irá "
6076 "atribuir a prioridade 100 para todas as instâncias de pacotes instaladas e a "
6077 "prioridade 500 para todas as instâncias de pacotes não instaladas."
6079 #. type: Content of: <refentry><refsect1><refsect2><para>
6080 #: apt_preferences.5.xml:139
6083 "APT then applies the following rules, listed in order of precedence, to "
6084 "determine which version of a package to install."
6086 "O APT aplica as regras a seguir, listadas em ordem de precedência, para "
6087 "determinar qual instância de um pacote instalar."
6089 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6090 #: apt_preferences.5.xml:142
6093 "Never downgrade unless the priority of an available version exceeds 1000. "
6094 "(\"Downgrading\" is installing a less recent version of a package in place "
6095 "of a more recent version. Note that none of APT's default priorities "
6096 "exceeds 1000; such high priorities can only be set in the preferences file. "
6097 "Note also that downgrading a package can be risky.)"
6099 "Nunca faz um downgrade a menos que a prioridade de uma instância disponível "
6100 "exceda 1000. (Fazer um \"downgrade\" é instalar uma versão menos recente de "
6101 "um pacote no lugar de uma versão mais recente. Note que nenhuma das "
6102 "prioridades padrão do APT excede 1000; prioridades altas como essa podem ser "
6103 "definidas somente no arquivo de preferências. Note também que fazer um "
6104 "\"downgrade\" pode ser arriscado.)"
6106 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6107 #: apt_preferences.5.xml:148
6109 msgid "Install the highest priority version."
6110 msgstr "Instala a instância de prioridade mais alta."
6112 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6113 #: apt_preferences.5.xml:149
6116 "If two or more versions have the same priority, install the most recent one "
6117 "(that is, the one with the higher version number)."
6119 "Caso duas ou mais instâncias possuam a mesma prioridade, instala a instância "
6120 "mais recente (ou seja, aquela com o maior número de versão)."
6122 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6123 #: apt_preferences.5.xml:152
6126 "If two or more versions have the same priority and version number but either "
6127 "the packages differ in some of their metadata or the <literal>--reinstall</"
6128 "literal> option is given, install the uninstalled one."
6130 "Caso duas ou mais instâncias possuam a mesma prioridade e número de versão "
6131 "mas os pacotes sejam diferentes em alguns de seus metadados ou a opção "
6132 "<literal>--reinstall</literal> seja fornecida, instala aquela desinstalada."
6134 #. type: Content of: <refentry><refsect1><refsect2><para>
6135 #: apt_preferences.5.xml:158
6138 "In a typical situation, the installed version of a package (priority 100) "
6139 "is not as recent as one of the versions available from the sources listed in "
6140 "the &sources-list; file (priority 500 or 990). Then the package will be "
6141 "upgraded when <command>apt-get install <replaceable>some-package</"
6142 "replaceable></command> or <command>apt-get upgrade</command> is executed."
6144 "Em uma situação típica, a instância instalada de um pacote (prioridade 100) "
6145 "não é tão recente quanto uma das versões disponíveis nas fontes listadas no "
6146 "arquivo &sources-list; (prioridade 500 ou 990). Então o pacote será "
6147 "atualizado quando os comandos <command>apt-get install <replaceable>algum-"
6148 "pacote</replaceable></command> ou <command>apt-get dist-upgrade</command> "
6151 #. type: Content of: <refentry><refsect1><refsect2><para>
6152 #: apt_preferences.5.xml:165
6155 "More rarely, the installed version of a package is <emphasis>more</emphasis> "
6156 "recent than any of the other available versions. The package will not be "
6157 "downgraded when <command>apt-get install <replaceable>some-package</"
6158 "replaceable></command> or <command>apt-get upgrade</command> is executed."
6160 "Mais raramente, a versão instalada de um pacote é <emphasis>mais</emphasis> "
6161 "recente do que qualquer uma das outras versões disponíveis. O dowgrade do "
6162 "pacote não será feito quando os comandos <command>apt-get install "
6163 "<replaceable>algum-pacote</replaceable></command> ou <command>apt-get "
6164 "upgrade</command> forem executados."
6166 #. type: Content of: <refentry><refsect1><refsect2><para>
6167 #: apt_preferences.5.xml:170
6170 "Sometimes the installed version of a package is more recent than the version "
6171 "belonging to the target release, but not as recent as a version belonging to "
6172 "some other distribution. Such a package will indeed be upgraded when "
6173 "<command>apt-get install <replaceable>some-package</replaceable></command> "
6174 "or <command>apt-get upgrade</command> is executed, because at least "
6175 "<emphasis>one</emphasis> of the available versions has a higher priority "
6176 "than the installed version."
6178 "Algumas vezes a versão instalada de um pacote é mais recente que a versão "
6179 "que pertence a versão alvo, mas não tão recente quanto a versão que pertence "
6180 "a alguma outra distribuição. Um pacote como esse será na verdade atualizado "
6181 "quando os comandos <command>apt-get install <replaceable>algum-pacote</"
6182 "replaceable></command> ou <command>apt-get upgrade</command> forem "
6183 "executados, devido a pelo menos <emphasis>uma</emphasis> das versões "
6184 "disponíveis possuir uma prioridade maior do que a versão instalada."
6186 #. type: Content of: <refentry><refsect1><refsect2><title>
6187 #: apt_preferences.5.xml:179
6189 msgid "The Effect of APT Preferences"
6190 msgstr "O Efeito das Preferências do APT"
6192 #. type: Content of: <refentry><refsect1><refsect2><para>
6193 #: apt_preferences.5.xml:181
6196 "The APT preferences file allows the system administrator to control the "
6197 "assignment of priorities. The file consists of one or more multi-line "
6198 "records separated by blank lines. Records can have one of two forms, a "
6199 "specific form and a general form."
6201 "O arquivo de preferências do APT permite ao administrador do sistema "
6202 "personalizar prioridades. O arquivo consiste de um ou mais registros de "
6203 "múltiplas linhas separados por linhas em branco. Registros podem possuir uma "
6204 "das duas formas, uma forma específica e uma forma geral."
6206 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6207 #: apt_preferences.5.xml:187
6210 "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
6211 "specified packages and specified version or version range. For example, the "
6212 "following record assigns a high priority to all versions of the "
6213 "<filename>perl</filename> package whose version number begins with "
6214 "\"<literal>5.8</literal>\". Multiple packages can be separated by spaces."
6216 "A forma específica atribui uma uma prioridade (uma \"Pin-Priority\") para um "
6217 "pacote e versão ou faixa de versão especificados. Por exemplo, o registro a "
6218 "seguir atribui uma prioridade alta para todas as versões do pacote "
6219 "<filename>perl</filename> os quais tenham seus números de versão iniciando "
6220 "com \"<literal>5.8</literal>\"."
6222 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6223 #: apt_preferences.5.xml:194
6227 "Pin: version 5.8*\n"
6228 "Pin-Priority: 1001\n"
6230 "<programlisting>\n"
6232 "Pin: version 5.8*\n"
6233 "Pin-Priority: 1001\n"
6235 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6236 #: apt_preferences.5.xml:200
6239 "The general form assigns a priority to all of the package versions in a "
6240 "given distribution (that is, to all the versions of packages that are listed "
6241 "in a certain <filename>Release</filename> file) or to all of the package "
6242 "versions coming from a particular Internet site, as identified by the site's "
6243 "fully qualified domain name."
6245 "O forma geral atribui uma prioridade para todas as versões de pacotes em uma "
6246 "dada distribuição (isto é, para toda as versões de pacotes que estejam em um "
6247 "certo arquivo <filename>Release</filename>) ou para todas as versões de "
6248 "pacotes que provenientes de um site Internet em particular, como "
6249 "identificado pelo nome de domínio totalmente qualificado do site Internet."
6251 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6252 #: apt_preferences.5.xml:206
6255 "This general-form entry in the APT preferences file applies only to groups "
6256 "of packages. For example, the following record assigns a high priority to "
6257 "all package versions available from the local site."
6259 "Essa entrada de forma geral no arquivo de preferências do APT aplica-se "
6260 "somente a grupos de pacotes. Por exemplo, o registro a seguir faz com que o "
6261 "APT atribua uma prioridade alta para todas as versões de pacotes disponíveis "
6264 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6265 #: apt_preferences.5.xml:211
6269 "Pin: origin \"\"\n"
6270 "Pin-Priority: 999\n"
6272 "<programlisting>\n"
6274 "Pin: origin \"\"\n"
6275 "Pin-Priority: 999\n"
6277 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6278 #: apt_preferences.5.xml:216
6280 "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
6281 "which can be used to match a hostname. The following record will assign a "
6282 "high priority to all versions available from the server identified by the "
6283 "hostname \"ftp.de.debian.org\""
6286 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6287 #: apt_preferences.5.xml:220
6291 "Pin: origin \"ftp.de.debian.org\"\n"
6292 "Pin-Priority: 999\n"
6294 "<programlisting>\n"
6296 "Pin: origin \"\"\n"
6297 "Pin-Priority: 999\n"
6299 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6300 #: apt_preferences.5.xml:224
6303 "This should <emphasis>not</emphasis> be confused with the Origin of a "
6304 "distribution as specified in a <filename>Release</filename> file. What "
6305 "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
6306 "Internet address but an author or vendor name, such as \"Debian\" or \"Ximian"
6309 "Uma nota de aviso : a palavra-chave usada aqui é \"<literal>origin</literal>"
6310 "\". Esta palavra não deve ser confundida com a origem (\"Origin:\") de uma "
6311 "distribuição como especificado em um arquivo <filename>Release</filename>. O "
6312 "que segue a tag \"Origin:\" em um arquivo <filename>Release</filename> não é "
6313 "um endereço de site Internet mas sim nome de autor ou distribuidor (vendor), "
6314 "como \"Debian\" ou \"Ximian\"."
6316 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6317 #: apt_preferences.5.xml:229
6320 "The following record assigns a low priority to all package versions "
6321 "belonging to any distribution whose Archive name is \"<literal>unstable</"
6324 "O registro a seguir atribui uma prioridade baixa para todas as versões de "
6325 "pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
6326 "\"<literal>unstable</literal>\"."
6328 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6329 #: apt_preferences.5.xml:233
6333 "Pin: release a=unstable\n"
6334 "Pin-Priority: 50\n"
6336 "<programlisting>\n"
6338 "Pin: release a=unstable\n"
6339 "Pin-Priority: 50\n"
6341 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6342 #: apt_preferences.5.xml:238
6345 "The following record assigns a high priority to all package versions "
6346 "belonging to any distribution whose Codename is \"<literal>&testing-codename;"
6349 "O registro a seguir atribui uma prioridade baixa para todas as versões de "
6350 "pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
6351 "\"<literal>unstable</literal>\"."
6353 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6354 #: apt_preferences.5.xml:242
6358 "Pin: release n=&testing-codename;\n"
6359 "Pin-Priority: 900\n"
6361 "<programlisting>\n"
6363 "Pin: release a=unstable\n"
6364 "Pin-Priority: 50\n"
6366 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6367 #: apt_preferences.5.xml:247
6370 "The following record assigns a high priority to all package versions "
6371 "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
6372 "and whose release Version number is \"<literal>3.0</literal>\"."
6374 "O registro a seguir atribui uma prioridade alta para todas as versões de "
6375 "pacotes que pertençam a qualquer versão cujo nome do Repositório seja "
6376 "\"<literal>stable</literal>\" e cujo número de versão seja \"<literal>3.0</"
6379 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6380 #: apt_preferences.5.xml:252
6384 "Pin: release a=stable, v=3.0\n"
6385 "Pin-Priority: 500\n"
6387 "<programlisting>\n"
6389 "Pin: release a=unstable, v=3.0\n"
6390 "Pin-Priority: 50\n"
6392 #. type: Content of: <refentry><refsect1><refsect2><title>
6393 #: apt_preferences.5.xml:262
6394 msgid "Regular expressions and glob() syntax"
6397 #. type: Content of: <refentry><refsect1><refsect2><para>
6398 #: apt_preferences.5.xml:264
6400 "APT also supports pinning by glob() expressions and regular expressions "
6401 "surrounded by /. For example, the following example assigns the priority 500 "
6402 "to all packages from experimental where the name starts with gnome (as a glob"
6403 "()-like expression) or contains the word kde (as a POSIX extended regular "
6404 "expression surrounded by slashes)."
6407 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6408 #: apt_preferences.5.xml:273
6411 "Package: gnome* /kde/\n"
6412 "Pin: release n=experimental\n"
6413 "Pin-Priority: 500\n"
6415 "<programlisting>\n"
6417 "Pin: release a=unstable\n"
6418 "Pin-Priority: 50\n"
6420 #. type: Content of: <refentry><refsect1><refsect2><para>
6421 #: apt_preferences.5.xml:279
6423 "The rule for those expressions is that they can occur anywhere where a "
6424 "string can occur. Thus, the following pin assigns the priority 990 to all "
6425 "packages from a release starting with karmic."
6428 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6429 #: apt_preferences.5.xml:285
6433 "Pin: release n=karmic*\n"
6434 "Pin-Priority: 990\n"
6436 "<programlisting>\n"
6438 "Pin: release a=unstable\n"
6439 "Pin-Priority: 50\n"
6441 #. type: Content of: <refentry><refsect1><refsect2><literal>
6442 #: apt_preferences.5.xml:290
6446 #. type: Content of: <refentry><refsect1><refsect2><literal>
6447 #: apt_preferences.5.xml:296
6451 #. type: Content of: <refentry><refsect1><refsect2><title>
6452 #: apt_preferences.5.xml:306
6454 msgid "How APT Interprets Priorities"
6455 msgstr "Como o APT Interpreta Prioridades"
6457 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6458 #: apt_preferences.5.xml:314
6461 msgstr "P > 1000"
6463 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6464 #: apt_preferences.5.xml:315
6467 "causes a version to be installed even if this constitutes a downgrade of the "
6470 "faz com que uma instância seja instalada mesmo caso isso constitua um "
6471 "dowgrade do pacote"
6473 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6474 #: apt_preferences.5.xml:319
6476 msgid "990 < P <=1000"
6477 msgstr "990 < P <=1000"
6479 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6480 #: apt_preferences.5.xml:320
6483 "causes a version to be installed even if it does not come from the target "
6484 "release, unless the installed version is more recent"
6486 "faz com que uma versão seja instalada mesmo caso a mesma não venha de uma "
6487 "versão alvo, a menos que a versão instalada seja mais recente"
6489 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6490 #: apt_preferences.5.xml:325
6492 msgid "500 < P <=990"
6493 msgstr "500 < P <=990"
6495 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6496 #: apt_preferences.5.xml:326
6499 "causes a version to be installed unless there is a version available "
6500 "belonging to the target release or the installed version is more recent"
6502 "faz com que uma versão seja instalada a menos que exista uma versão "
6503 "disponível pertencente a versão alvo ou a versão instalada seja mais recente"
6505 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6506 #: apt_preferences.5.xml:331
6508 msgid "100 < P <=500"
6509 msgstr "100 < P <=500"
6511 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6512 #: apt_preferences.5.xml:332
6515 "causes a version to be installed unless there is a version available "
6516 "belonging to some other distribution or the installed version is more recent"
6518 "faz com que uma versão seja instalada a menos que exista uma versão "
6519 "disponível pertencente a alguma outra distribuição ou a versão instalada "
6522 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6523 #: apt_preferences.5.xml:337
6525 msgid "0 < P <=100"
6526 msgstr "0 <= P <=100"
6528 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6529 #: apt_preferences.5.xml:338
6532 "causes a version to be installed only if there is no installed version of "
6535 "faz com que uma versão seja instalada somente caso não exista uma versão "
6536 "instalada do pacote"
6538 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6539 #: apt_preferences.5.xml:342
6544 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6545 #: apt_preferences.5.xml:343
6547 msgid "prevents the version from being installed"
6548 msgstr "impede a versão de ser instalada"
6550 #. type: Content of: <refentry><refsect1><refsect2><para>
6551 #: apt_preferences.5.xml:309
6554 "Priorities (P) assigned in the APT preferences file must be positive or "
6555 "negative integers. They are interpreted as follows (roughly speaking): "
6556 "<placeholder type=\"variablelist\" id=\"0\"/>"
6558 "Prioridades (P) atribuídas no arquivo de preferências do APT devem ser "
6559 "números inteiros positivos ou negativos. Eles são interpretados como a "
6560 "seguir (a grosso modo):"
6562 #. type: Content of: <refentry><refsect1><refsect2><para>
6563 #: apt_preferences.5.xml:348
6566 "If any specific-form records match an available package version then the "
6567 "first such record determines the priority of the package version. Failing "
6568 "that, if any general-form records match an available package version then "
6569 "the first such record determines the priority of the package version."
6571 "Caso um dos registro de forma específica descritos acima case (match) com "
6572 "uma versão disponível do pacote então o primeiro desses registros "
6573 "encontrados determinará a prioridade da versão do pacote. Na falha desse "
6574 "cenário, caso quaisquer registros de forma genérica casem (match) com uma "
6575 "versão do pacote disponível então o primeiro desses registros encontrado "
6576 "determinará a prioridade da versão do pacote."
6578 #. type: Content of: <refentry><refsect1><refsect2><para>
6579 #: apt_preferences.5.xml:354
6582 "For example, suppose the APT preferences file contains the three records "
6583 "presented earlier:"
6585 "Por exemplo, suponha que o arquivo de preferências do APT contenha os três "
6586 "registros apresentados anteriormente :"
6588 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6589 #: apt_preferences.5.xml:358
6593 "Pin: version 5.8*\n"
6594 "Pin-Priority: 1001\n"
6597 "Pin: origin \"\"\n"
6598 "Pin-Priority: 999\n"
6601 "Pin: release unstable\n"
6602 "Pin-Priority: 50\n"
6604 "<programlisting>\n"
6606 "Pin: version 5.8*\n"
6607 "Pin-Priority: 1001\n"
6610 "Pin: origin \"\"\n"
6611 "Pin-Priority: 999\n"
6614 "Pin: release unstable\n"
6615 "Pin-Priority: 50\n"
6617 #. type: Content of: <refentry><refsect1><refsect2><para>
6618 #: apt_preferences.5.xml:371
6622 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6623 #: apt_preferences.5.xml:373
6626 "The most recent available version of the <literal>perl</literal> package "
6627 "will be installed, so long as that version's version number begins with "
6628 "\"<literal>5.8</literal>\". If <emphasis>any</emphasis> 5.8* version of "
6629 "<literal>perl</literal> is available and the installed version is 5.9*, then "
6630 "<literal>perl</literal> will be downgraded."
6632 "A versão mais recente disponível do pacote <literal>perl</literal> será "
6633 "instalado, contanto que esse número de versão da versão inicie com "
6634 "\"<literal>5.8</literal>\". Caso <emphasis>qualquer</emphasis> versão 5.8* "
6635 "de <literal>perl</literal> esteja disponível e a versão instalada seja 5.9*, "
6636 "será feito um downgrade do <literal>perl</literal>."
6638 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6639 #: apt_preferences.5.xml:378
6642 "A version of any package other than <literal>perl</literal> that is "
6643 "available from the local system has priority over other versions, even "
6644 "versions belonging to the target release."
6646 "Uma versão de qualquer pacote diferente de <literal>perl</literal> que "
6647 "esteja disponível no sistema local possui prioridade sobre outras versões, "
6648 "mesmo versões pertencentes a versão alvo."
6650 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6651 #: apt_preferences.5.xml:382
6654 "A version of a package whose origin is not the local system but some other "
6655 "site listed in &sources-list; and which belongs to an <literal>unstable</"
6656 "literal> distribution is only installed if it is selected for installation "
6657 "and no version of the package is already installed."
6659 "Uma versão de um pacote cuja origem não seja o sistema local mas sim algum "
6660 "outro site listado no arquivo &sources-list; e que pertença a uma "
6661 "distribuição <literal>unstable</literal> é instalada somente caso a mesma "
6662 "seja selecionada para instalação e nenhuma versão do pacote já esteja "
6665 #. type: Content of: <refentry><refsect1><refsect2><title>
6666 #: apt_preferences.5.xml:392
6668 msgid "Determination of Package Version and Distribution Properties"
6669 msgstr "Determinação da Versão do Pacote e Propriedades da Distribuição"
6671 #. type: Content of: <refentry><refsect1><refsect2><para>
6672 #: apt_preferences.5.xml:394
6675 "The locations listed in the &sources-list; file should provide "
6676 "<filename>Packages</filename> and <filename>Release</filename> files to "
6677 "describe the packages available at that location."
6679 "As localidades listadas em um arquivo &sources-list; devem fornecer arquivos "
6680 "<filename>Packages</filename> e <filename>Release</filename> para descrever "
6681 "os pacotes disponíveis nessas localidades."
6683 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6684 #: apt_preferences.5.xml:406
6686 msgid "the <literal>Package:</literal> line"
6687 msgstr "a linha <literal>Package:</literal>"
6689 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6690 #: apt_preferences.5.xml:407
6692 msgid "gives the package name"
6693 msgstr "informa o nome do pacote"
6695 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6696 #: apt_preferences.5.xml:410 apt_preferences.5.xml:460
6698 msgid "the <literal>Version:</literal> line"
6699 msgstr "a linha <literal>Version:</literal>"
6701 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6702 #: apt_preferences.5.xml:411
6704 msgid "gives the version number for the named package"
6705 msgstr "informa o número de versão do pacote"
6707 #. type: Content of: <refentry><refsect1><refsect2><para>
6708 #: apt_preferences.5.xml:398
6711 "The <filename>Packages</filename> file is normally found in the directory "
6712 "<filename>.../dists/<replaceable>dist-name</replaceable>/"
6713 "<replaceable>component</replaceable>/<replaceable>arch</replaceable></"
6714 "filename>: for example, <filename>.../dists/stable/main/binary-i386/"
6715 "Packages</filename>. It consists of a series of multi-line records, one for "
6716 "each package available in that directory. Only two lines in each record are "
6717 "relevant for setting APT priorities: <placeholder type=\"variablelist\" id="
6720 "O arquivo <filename>Packages</filename> é normalmente encontrado no "
6721 "diretório <filename>.../dists/<replaceable>nome-distribuição</replaceable>/"
6722 "<replaceable>componente</replaceable>/<replaceable>arquitetura</"
6723 "replaceable></filename> : por exemplo, <filename>.../dists/stable/main/"
6724 "binary-i386/Packages</filename>. O arquivo consiste de uma série de "
6725 "registros de múltiplas linhas, uma para cada pacote disponível no diretório. "
6726 "Somente duas linhas em cada registro são relevantes para definir prioridades "
6729 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6730 #: apt_preferences.5.xml:427
6732 msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
6733 msgstr "a linha <literal>Archive:</literal>"
6735 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6736 #: apt_preferences.5.xml:428
6739 "names the archive to which all the packages in the directory tree belong. "
6740 "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
6741 "that all of the packages in the directory tree below the parent of the "
6742 "<filename>Release</filename> file are in a <literal>stable</literal> "
6743 "archive. Specifying this value in the APT preferences file would require "
6746 "dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
6747 "pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
6748 "pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
6749 "<filename>Release</filename> estão no respositório <literal>stable</"
6750 "literal>. Especificar esse valor no arquivo de preferências do APT iria "
6751 "requerer a linha :"
6753 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6754 #: apt_preferences.5.xml:438
6756 msgid "Pin: release a=stable\n"
6758 "<programlisting>\n"
6759 "Pin: release a=stable\n"
6761 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6762 #: apt_preferences.5.xml:444
6764 msgid "the <literal>Codename:</literal> line"
6765 msgstr "a linha <literal>Component:</literal>"
6767 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6768 #: apt_preferences.5.xml:445
6771 "names the codename to which all the packages in the directory tree belong. "
6772 "For example, the line \"Codename: &testing-codename;\" specifies that all of "
6773 "the packages in the directory tree below the parent of the "
6774 "<filename>Release</filename> file belong to a version named "
6775 "<literal>&testing-codename;</literal>. Specifying this value in the APT "
6776 "preferences file would require the line:"
6778 "dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
6779 "pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
6780 "pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
6781 "<filename>Release</filename> estão no respositório <literal>stable</"
6782 "literal>. Especificar esse valor no arquivo de preferências do APT iria "
6783 "requerer a linha :"
6785 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6786 #: apt_preferences.5.xml:454
6788 msgid "Pin: release n=&testing-codename;\n"
6790 "<programlisting>\n"
6791 "Pin: release a=stable\n"
6793 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6794 #: apt_preferences.5.xml:461
6797 "names the release version. For example, the packages in the tree might "
6798 "belong to Debian GNU/Linux release version 3.0. Note that there is normally "
6799 "no version number for the <literal>testing</literal> and <literal>unstable</"
6800 "literal> distributions because they have not been released yet. Specifying "
6801 "this in the APT preferences file would require one of the following lines."
6803 "dá nome a versão da distribuição. Por exemplo, os pacote na àrvore podem "
6804 "pertencer a distribuição Debian GNU/Linux versão 3.0. Note que normalmente "
6805 "não existe número de versão para as distribuições <literal>testing</literal> "
6806 "e <literal>unstable</literal> devido as mesmas não terem sido lançadas "
6807 "ainda. Especificar isso no arquivo de preferências do APT iria requerer uma "
6808 "das linhas a seguir."
6810 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6811 #: apt_preferences.5.xml:470
6814 "Pin: release v=3.0\n"
6815 "Pin: release a=stable, v=3.0\n"
6816 "Pin: release 3.0\n"
6818 "<programlisting>\n"
6819 "Pin: release v=3.0\n"
6820 "Pin: release a=stable v=3.0\n"
6821 "Pin: release 3.0\n"
6823 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6824 #: apt_preferences.5.xml:479
6826 msgid "the <literal>Component:</literal> line"
6827 msgstr "a linha <literal>Component:</literal>"
6829 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6830 #: apt_preferences.5.xml:480
6833 "names the licensing component associated with the packages in the directory "
6834 "tree of the <filename>Release</filename> file. For example, the line "
6835 "\"Component: main\" specifies that all the packages in the directory tree "
6836 "are from the <literal>main</literal> component, which entails that they are "
6837 "licensed under terms listed in the Debian Free Software Guidelines. "
6838 "Specifying this component in the APT preferences file would require the line:"
6840 "dá nome ao componente de licenciamento associado com os pacotes na àrvore de "
6841 "diretório do arquivo <filename>Release</filename>. Por exemplo, a linha "
6842 "\"Component: main\" especifica que todos os pacotes na àrvore de diretório "
6843 "são do componente <literal>main</literal>, o que significa que as mesmas "
6844 "estão licenciadas sob os termos da Linhas Guias Debian para o Software Livre "
6845 "(a DFSG). Especificar esse componente no arquivo de preferências do APT iria "
6846 "requerer a linha :"
6848 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6849 #: apt_preferences.5.xml:489
6851 msgid "Pin: release c=main\n"
6853 "<programlisting>\n"
6854 "Pin: release c=main\n"
6856 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6857 #: apt_preferences.5.xml:495
6859 msgid "the <literal>Origin:</literal> line"
6860 msgstr "a linha <literal>Origin:</literal>"
6862 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6863 #: apt_preferences.5.xml:496
6866 "names the originator of the packages in the directory tree of the "
6867 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6868 "literal>. Specifying this origin in the APT preferences file would require "
6871 "dá nome ao produtor dos pacotes na àrvore de diretório do arquivo "
6872 "<filename>Release</filename>. O mais comum é esse valor ser <literal>Debian</"
6873 "literal>. Especificar essa origem no arquivo de preferências do APT iria "
6874 "requerer a linha :"
6876 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6877 #: apt_preferences.5.xml:502
6879 msgid "Pin: release o=Debian\n"
6881 "<programlisting>\n"
6882 "Pin: release o=Debian\n"
6884 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6885 #: apt_preferences.5.xml:508
6887 msgid "the <literal>Label:</literal> line"
6888 msgstr "a linha <literal>Label:</literal>"
6890 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6891 #: apt_preferences.5.xml:509
6894 "names the label of the packages in the directory tree of the "
6895 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6896 "literal>. Specifying this label in the APT preferences file would require "
6899 "dá nome ao rótulo (label) dos pacotes na árvore de diretório. O mais comum é "
6900 "esse valor ser <literal>Debian</literal>. Especificar esse rótulo (label) no "
6901 "arquivo de preferências do APT iria requerer a linha :"
6903 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6904 #: apt_preferences.5.xml:515
6906 msgid "Pin: release l=Debian\n"
6908 "<programlisting>\n"
6909 "Pin: release l=Debian\n"
6911 #. type: Content of: <refentry><refsect1><refsect2><para>
6912 #: apt_preferences.5.xml:416
6915 "The <filename>Release</filename> file is normally found in the directory "
6916 "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
6917 "example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
6918 "dists/&stable-codename;/Release</filename>. It consists of a single multi-"
6919 "line record which applies to <emphasis>all</emphasis> of the packages in the "
6920 "directory tree below its parent. Unlike the <filename>Packages</filename> "
6921 "file, nearly all of the lines in a <filename>Release</filename> file are "
6922 "relevant for setting APT priorities: <placeholder type=\"variablelist\" id="
6925 "O arquivo <filename>Release</filename> é normalmente encontrado no diretório "
6926 "<filename>.../dists/<replaceable>nome-distribuição</replaceable></"
6927 "filename> : por exemplo, <filename>.../dists/stable/Release</filename>, ou "
6928 "<filename>.../dists/woody/Release</filename>. O arquivo consiste de um "
6929 "registro de múltiplas linhas o qual se aplica a <emphasis>todos</emphasis> "
6930 "os pacotes na àrvore de diretórios abaixo de seu diretório pai. Diferente do "
6931 "arquivo <filename>Packages</filename>, quase todas as linhas em um arquivo "
6932 "<filename>Release</filename> são relevantes para a definição de prioridades "
6935 #. type: Content of: <refentry><refsect1><refsect2><para>
6936 #: apt_preferences.5.xml:522
6939 "All of the <filename>Packages</filename> and <filename>Release</filename> "
6940 "files retrieved from locations listed in the &sources-list; file are stored "
6941 "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
6942 "named by the variable <literal>Dir::State::Lists</literal> in the "
6943 "<filename>apt.conf</filename> file. For example, the file <filename>debian."
6944 "lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
6945 "contains the <filename>Release</filename> file retrieved from the site "
6946 "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
6947 "architecture files from the <literal>contrib</literal> component of the "
6948 "<literal>unstable</literal> distribution."
6950 "Todos os arquivos <filename>Packages</filename> e <filename>Release</"
6951 "filename> obtidos das localidades listadas no arquivo &sources-list; são "
6952 "mantidos no diretório <filename>/var/lib/apt/lists</filename> ou no arquivo "
6953 "indicado pela variável <literal>Dir::State::Lists</literal> no arquivo "
6954 "<filename>apt.conf</filename>. Por exemplo, o arquivo <filename>debian.lcs."
6955 "mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> contém "
6956 "o arquivo <filename>Release</filename> obtido do site <literal>debian.lcs."
6957 "mit.edu</literal> para a arquitetura <literal>binary-i386</literal>, "
6958 "arquivos do componente <literal>contrib</literal> da distribuição "
6959 "<literal>unstable</literal>."
6961 #. type: Content of: <refentry><refsect1><refsect2><title>
6962 #: apt_preferences.5.xml:535
6964 msgid "Optional Lines in an APT Preferences Record"
6965 msgstr "Linhas Opcionais em um Registro de Preferências do APT"
6967 #. type: Content of: <refentry><refsect1><refsect2><para>
6968 #: apt_preferences.5.xml:537
6971 "Each record in the APT preferences file can optionally begin with one or "
6972 "more lines beginning with the word <literal>Explanation:</literal>. This "
6973 "provides a place for comments."
6975 "Cada registro em um arquivo de preferências do APT pode opcionalmente "
6976 "iniciar com uma ou mais linhas iniciadas com a palavra <literal>Explanation:"
6977 "</literal>. Isto oferece um local para inserir comentários."
6979 #. type: Content of: <refentry><refsect1><refsect2><title>
6980 #: apt_preferences.5.xml:546
6982 msgid "Tracking Stable"
6983 msgstr "Acompanhando a Stable"
6985 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6986 #: apt_preferences.5.xml:554
6989 "Explanation: Uninstall or do not install any Debian-originated\n"
6990 "Explanation: package versions other than those in the stable distro\n"
6992 "Pin: release a=stable\n"
6993 "Pin-Priority: 900\n"
6996 "Pin: release o=Debian\n"
6997 "Pin-Priority: -10\n"
6999 "<programlisting>\n"
7000 "Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
7001 "Explanation: do Debian a não ser aquelas na distribuição stable\n"
7003 "Pin: release a=stable\n"
7004 "Pin-Priority: 900\n"
7007 "Pin: release o=Debian\n"
7008 "Pin-Priority: -10\n"
7010 #. type: Content of: <refentry><refsect1><refsect2><para>
7011 #: apt_preferences.5.xml:548
7014 "The following APT preferences file will cause APT to assign a priority "
7015 "higher than the default (500) to all package versions belonging to a "
7016 "<literal>stable</literal> distribution and a prohibitively low priority to "
7017 "package versions belonging to other <literal>Debian</literal> "
7018 "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
7020 "O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
7021 "prioridade maior do que a prioridade padrão (500) para todas as versões de "
7022 "pacotes pertencentes a distribuição <literal>stable</literal> e uma "
7023 "prioridade proibitivamente baixa para versões de pacotes pertencentes a "
7024 "outras distribuições <literal>Debian</literal>."
7026 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7027 #: apt_preferences.5.xml:571 apt_preferences.5.xml:617
7028 #: apt_preferences.5.xml:675
7031 "apt-get install <replaceable>package-name</replaceable>\n"
7033 "apt-get dist-upgrade\n"
7035 "<programlisting>\n"
7036 "apt-get install <replaceable>nome-pacote</replaceable>\n"
7038 "apt-get dist-upgrade\n"
7040 #. type: Content of: <refentry><refsect1><refsect2><para>
7041 #: apt_preferences.5.xml:566
7044 "With a suitable &sources-list; file and the above preferences file, any of "
7045 "the following commands will cause APT to upgrade to the latest "
7046 "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
7049 "Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
7050 "quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
7051 "ulítma(s) versão(ôes) <literal>stable</literal>."
7053 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7054 #: apt_preferences.5.xml:583
7056 msgid "apt-get install <replaceable>package</replaceable>/testing\n"
7058 "<programlisting>\n"
7059 "apt-get install <replaceable>pacote</replaceable>/testing\n"
7061 #. type: Content of: <refentry><refsect1><refsect2><para>
7062 #: apt_preferences.5.xml:577
7065 "The following command will cause APT to upgrade the specified package to the "
7066 "latest version from the <literal>testing</literal> distribution; the package "
7067 "will not be upgraded again unless this command is given again. <placeholder "
7068 "type=\"programlisting\" id=\"0\"/>"
7070 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
7071 "última versão da distribuição <literal>testing</literal>; o pacote não serpa "
7072 "atualizado novamente a menos que esse comando seja executado novamente."
7074 #. type: Content of: <refentry><refsect1><refsect2><title>
7075 #: apt_preferences.5.xml:589
7077 msgid "Tracking Testing or Unstable"
7078 msgstr "Acompanhando a Testing"
7080 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7081 #: apt_preferences.5.xml:598
7085 "Pin: release a=testing\n"
7086 "Pin-Priority: 900\n"
7089 "Pin: release a=unstable\n"
7090 "Pin-Priority: 800\n"
7093 "Pin: release o=Debian\n"
7094 "Pin-Priority: -10\n"
7096 "<programlisting>\n"
7098 "Pin: release a=testing\n"
7099 "Pin-Priority: 900\n"
7102 "Pin: release a=unstable\n"
7103 "Pin-Priority: 800\n"
7106 "Pin: release o=Debian\n"
7107 "Pin-Priority: -10\n"
7109 #. type: Content of: <refentry><refsect1><refsect2><para>
7110 #: apt_preferences.5.xml:591
7113 "The following APT preferences file will cause APT to assign a high priority "
7114 "to package versions from the <literal>testing</literal> distribution, a "
7115 "lower priority to package versions from the <literal>unstable</literal> "
7116 "distribution, and a prohibitively low priority to package versions from "
7117 "other <literal>Debian</literal> distributions. <placeholder type="
7118 "\"programlisting\" id=\"0\"/>"
7120 "O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
7121 "prioridade maior para versões de pacote da distribuição <literal>testing</"
7122 "literal>, uma prioridade menor para versões de pacotes da distribuição "
7123 "<literal>unstable</literal> e uma prioridade proibitivamente baixa para "
7124 "versões de pacotes de outras distribuições <literal>Debian</literal>."
7126 #. type: Content of: <refentry><refsect1><refsect2><para>
7127 #: apt_preferences.5.xml:612
7130 "With a suitable &sources-list; file and the above preferences file, any of "
7131 "the following commands will cause APT to upgrade to the latest "
7132 "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
7135 "Com um arquivo &sources-list; adequado e o arquivo de preferências do APT "
7136 "acima, quaisquer dos comandos a seguir farão com que o APT atualize para a"
7137 "(s) última(s) versão(ões) <literal>testing</literal>."
7139 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7140 #: apt_preferences.5.xml:632
7142 msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
7144 "<programlisting>\n"
7145 "apt-get install <replaceable>pacote</replaceable>/unstable\n"
7147 #. type: Content of: <refentry><refsect1><refsect2><para>
7148 #: apt_preferences.5.xml:623
7151 "The following command will cause APT to upgrade the specified package to the "
7152 "latest version from the <literal>unstable</literal> distribution. "
7153 "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
7154 "the most recent <literal>testing</literal> version if that is more recent "
7155 "than the installed version, otherwise, to the most recent <literal>unstable</"
7156 "literal> version if that is more recent than the installed version. "
7157 "<placeholder type=\"programlisting\" id=\"0\"/>"
7159 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
7160 "última versão da distribuição <literal>unstable</literal>. Assim, o comando "
7161 "<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
7162 "<literal>testing</literal> mais recente caso essa versão seja mais recente "
7163 "que a versão instalada, caso não seja, o pacote será atualizado para a "
7164 "versão <literal>unstable</literal> mais recente caso a mesma seja mais "
7165 "recente que a versão instalada."
7167 #. type: Content of: <refentry><refsect1><refsect2><title>
7168 #: apt_preferences.5.xml:639
7169 msgid "Tracking the evolution of a codename release"
7172 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7173 #: apt_preferences.5.xml:653
7176 "Explanation: Uninstall or do not install any Debian-originated package versions\n"
7177 "Explanation: other than those in the distribution codenamed with &testing-codename; or sid\n"
7179 "Pin: release n=&testing-codename;\n"
7180 "Pin-Priority: 900\n"
7182 "Explanation: Debian unstable is always codenamed with sid\n"
7184 "Pin: release n=sid\n"
7185 "Pin-Priority: 800\n"
7188 "Pin: release o=Debian\n"
7189 "Pin-Priority: -10\n"
7191 "<programlisting>\n"
7192 "Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
7193 "Explanation: do Debian a não ser aquelas na distribuição stable\n"
7195 "Pin: release a=stable\n"
7196 "Pin-Priority: 900\n"
7199 "Pin: release o=Debian\n"
7200 "Pin-Priority: -10\n"
7202 #. type: Content of: <refentry><refsect1><refsect2><para>
7203 #: apt_preferences.5.xml:641
7205 "The following APT preferences file will cause APT to assign a priority "
7206 "higher than the default (500) to all package versions belonging to a "
7207 "specified codename of a distribution and a prohibitively low priority to "
7208 "package versions belonging to other <literal>Debian</literal> distributions, "
7209 "codenames and archives. Note that with this APT preference APT will follow "
7210 "the migration of a release from the archive <literal>testing</literal> to "
7211 "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
7212 "want to follow for example the progress in <literal>testing</literal> "
7213 "notwithstanding the codename changes you should use the example "
7214 "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
7217 #. type: Content of: <refentry><refsect1><refsect2><para>
7218 #: apt_preferences.5.xml:670
7221 "With a suitable &sources-list; file and the above preferences file, any of "
7222 "the following commands will cause APT to upgrade to the latest version(s) in "
7223 "the release codenamed with <literal>&testing-codename;</literal>. "
7224 "<placeholder type=\"programlisting\" id=\"0\"/>"
7226 "Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
7227 "quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
7228 "ulítma(s) versão(ôes) <literal>stable</literal>."
7230 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7231 #: apt_preferences.5.xml:690
7233 msgid "apt-get install <replaceable>package</replaceable>/sid\n"
7235 "<programlisting>\n"
7236 "apt-get install <replaceable>pacote</replaceable>/testing\n"
7238 #. type: Content of: <refentry><refsect1><refsect2><para>
7239 #: apt_preferences.5.xml:681
7242 "The following command will cause APT to upgrade the specified package to the "
7243 "latest version from the <literal>sid</literal> distribution. Thereafter, "
7244 "<command>apt-get upgrade</command> will upgrade the package to the most "
7245 "recent <literal>&testing-codename;</literal> version if that is more recent "
7246 "than the installed version, otherwise, to the most recent <literal>sid</"
7247 "literal> version if that is more recent than the installed version. "
7248 "<placeholder type=\"programlisting\" id=\"0\"/>"
7250 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
7251 "última versão da distribuição <literal>unstable</literal>. Assim, o comando "
7252 "<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
7253 "<literal>testing</literal> mais recente caso essa versão seja mais recente "
7254 "que a versão instalada, caso não seja, o pacote será atualizado para a "
7255 "versão <literal>unstable</literal> mais recente caso a mesma seja mais "
7256 "recente que a versão instalada."
7258 #. type: Content of: <refentry><refsect1><variablelist>
7259 #: apt_preferences.5.xml:699
7261 msgid "&file-preferences;"
7262 msgstr "apt_preferences"
7264 #. type: Content of: <refentry><refsect1><para>
7265 #: apt_preferences.5.xml:705
7267 msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7268 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7270 #. type: Content of: <refentry><refnamediv><refname>
7271 #: sources.list.5.xml:25 sources.list.5.xml:32
7272 msgid "sources.list"
7275 #. type: Content of: <refentry><refnamediv><refpurpose>
7276 #: sources.list.5.xml:33
7277 msgid "Package resource list for APT"
7280 #. type: Content of: <refentry><refsect1><para>
7281 #: sources.list.5.xml:37
7283 "The package resource list is used to locate archives of the package "
7284 "distribution system in use on the system. At this time, this manual page "
7285 "documents only the packaging system used by the Debian GNU/Linux system. "
7286 "This control file is <filename>/etc/apt/sources.list</filename>."
7289 #. type: Content of: <refentry><refsect1><para>
7290 #: sources.list.5.xml:42
7292 "The source list is designed to support any number of active sources and a "
7293 "variety of source media. The file lists one source per line, with the most "
7294 "preferred source listed first. The format of each line is: <literal>type uri "
7295 "args</literal> The first item, <literal>type</literal> determines the format "
7296 "for <literal>args</literal>. <literal>uri</literal> is a Universal Resource "
7297 "Identifier (URI), which is a superset of the more specific and well-known "
7298 "Universal Resource Locator, or URL. The rest of the line can be marked as a "
7299 "comment by using a #."
7302 #. type: Content of: <refentry><refsect1><title>
7303 #: sources.list.5.xml:53
7304 msgid "sources.list.d"
7307 #. type: Content of: <refentry><refsect1><para>
7308 #: sources.list.5.xml:54
7310 "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
7311 "add sources.list entries in separate files. The format is the same as for "
7312 "the regular <filename>sources.list</filename> file. File names need to end "
7313 "with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
7314 "digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
7315 "Otherwise APT will print a notice that it has ignored a file if the file "
7316 "doesn't match a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
7317 "configuration list - in this case it will be silently ignored."
7320 #. type: Content of: <refentry><refsect1><title>
7321 #: sources.list.5.xml:65
7322 msgid "The deb and deb-src types"
7325 #. type: Content of: <refentry><refsect1><para>
7326 #: sources.list.5.xml:66
7328 "The <literal>deb</literal> type describes a typical two-level Debian "
7329 "archive, <filename>distribution/component</filename>. Typically, "
7330 "<literal>distribution</literal> is generally an archivename like "
7331 "<literal>stable</literal> or <literal>testing</literal> or a codename like "
7332 "<literal>&stable-codename;</literal> or <literal>&testing-codename;</"
7333 "literal> while component is one of <literal>main</literal> <literal>contrib</"
7334 "literal> or <literal>non-free</literal>. The <literal>deb-src</literal> type "
7335 "describes a debian distribution's source code in the same form as the "
7336 "<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
7337 "to fetch source indexes."
7340 #. type: Content of: <refentry><refsect1><para>
7341 #: sources.list.5.xml:78
7343 "The format for a <filename>sources.list</filename> entry using the "
7344 "<literal>deb</literal> and <literal>deb-src</literal> types is:"
7347 #. type: Content of: <refentry><refsect1><literallayout>
7348 #: sources.list.5.xml:81
7350 msgid "deb uri distribution [component1] [component2] [...]"
7353 #. type: Content of: <refentry><refsect1><para>
7354 #: sources.list.5.xml:83
7356 "The URI for the <literal>deb</literal> type must specify the base of the "
7357 "Debian distribution, from which APT will find the information it needs. "
7358 "<literal>distribution</literal> can specify an exact path, in which case the "
7359 "components must be omitted and <literal>distribution</literal> must end with "
7360 "a slash (/). This is useful for when the case only a particular sub-section "
7361 "of the archive denoted by the URI is of interest. If <literal>distribution</"
7362 "literal> does not specify an exact path, at least one <literal>component</"
7363 "literal> must be present."
7366 #. type: Content of: <refentry><refsect1><para>
7367 #: sources.list.5.xml:92
7369 "<literal>distribution</literal> may also contain a variable, <literal>$(ARCH)"
7370 "</literal> which expands to the Debian architecture (i386, m68k, "
7371 "powerpc, ...) used on the system. This permits architecture-independent "
7372 "<filename>sources.list</filename> files to be used. In general this is only "
7373 "of interest when specifying an exact path, <literal>APT</literal> will "
7374 "automatically generate a URI with the current architecture otherwise."
7377 #. type: Content of: <refentry><refsect1><para>
7378 #: sources.list.5.xml:100
7380 "Since only one distribution can be specified per line it may be necessary to "
7381 "have multiple lines for the same URI, if a subset of all available "
7382 "distributions or components at that location is desired. APT will sort the "
7383 "URI list after it has generated a complete set internally, and will collapse "
7384 "multiple references to the same Internet host, for instance, into a single "
7385 "connection, so that it does not inefficiently establish an FTP connection, "
7386 "close it, do something else, and then re-establish a connection to that same "
7387 "host. This feature is useful for accessing busy FTP sites with limits on the "
7388 "number of simultaneous anonymous users. APT also parallelizes connections to "
7389 "different hosts to more effectively deal with sites with low bandwidth."
7392 #. type: Content of: <refentry><refsect1><para>
7393 #: sources.list.5.xml:112
7395 "It is important to list sources in order of preference, with the most "
7396 "preferred source listed first. Typically this will result in sorting by "
7397 "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
7398 "followed by distant Internet hosts, for example)."
7401 #. type: Content of: <refentry><refsect1><para>
7402 #: sources.list.5.xml:117
7404 msgid "Some examples:"
7407 #. type: Content of: <refentry><refsect1><literallayout>
7408 #: sources.list.5.xml:119
7411 "deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
7412 "deb http://security.debian.org/ &stable-codename;/updates main contrib non-free\n"
7416 #. type: Content of: <refentry><refsect1><title>
7417 #: sources.list.5.xml:125
7418 msgid "URI specification"
7421 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7422 #: sources.list.5.xml:130
7426 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7427 #: sources.list.5.xml:132
7429 "The file scheme allows an arbitrary directory in the file system to be "
7430 "considered an archive. This is useful for NFS mounts and local mirrors or "
7434 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7435 #: sources.list.5.xml:139
7437 "The cdrom scheme allows APT to use a local CDROM drive with media swapping. "
7438 "Use the &apt-cdrom; program to create cdrom entries in the source list."
7441 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7442 #: sources.list.5.xml:146
7444 "The http scheme specifies an HTTP server for the archive. If an environment "
7445 "variable <envar>http_proxy</envar> is set with the format http://server:"
7446 "port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
7447 "Users of authenticated HTTP/1.1 proxies may use a string of the format "
7448 "http://user:pass@server:port/. Note that this is an insecure method of "
7452 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7453 #: sources.list.5.xml:157
7455 "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
7456 "is highly configurable; for more information see the &apt-conf; manual page. "
7457 "Please note that a ftp proxy can be specified by using the <envar>ftp_proxy</"
7458 "envar> environment variable. It is possible to specify a http proxy (http "
7459 "proxy servers often understand ftp urls) using this method and ONLY this "
7460 "method. ftp proxies using http specified in the configuration file will be "
7464 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7465 #: sources.list.5.xml:166
7469 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7470 #: sources.list.5.xml:168
7472 "The copy scheme is identical to the file scheme except that packages are "
7473 "copied into the cache directory instead of used directly at their location. "
7474 "This is useful for people using a zip disk to copy files around with APT."
7477 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7478 #: sources.list.5.xml:173
7482 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7483 #: sources.list.5.xml:173
7487 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7488 #: sources.list.5.xml:175
7490 "The rsh/ssh method invokes rsh/ssh to connect to a remote host as a given "
7491 "user and access the files. It is a good idea to do prior arrangements with "
7492 "RSA keys or rhosts. Access to files on the remote uses standard "
7493 "<command>find</command> and <command>dd</command> commands to perform the "
7494 "file transfers from the remote."
7497 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7498 #: sources.list.5.xml:183
7499 msgid "more recognizable URI types"
7502 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7503 #: sources.list.5.xml:185
7505 "APT can be extended with more methods shipped in other optional packages "
7506 "which should follow the nameing scheme <literal>apt-transport-"
7507 "<replaceable>method</replaceable></literal>. The APT team e.g. maintains "
7508 "also the <literal>apt-transport-https</literal> package which provides "
7509 "access methods for https-URIs with features similar to the http method, but "
7510 "other methods for using e.g. debtorrent are also available, see "
7511 "<citerefentry> <refentrytitle><filename>apt-transport-debtorrent</filename></"
7512 "refentrytitle> <manvolnum>1</manvolnum></citerefentry>."
7515 #. type: Content of: <refentry><refsect1><para>
7516 #: sources.list.5.xml:127
7518 "The currently recognized URI types are cdrom, file, http, ftp, copy, ssh, "
7519 "rsh. <placeholder type=\"variablelist\" id=\"0\"/>"
7522 #. type: Content of: <refentry><refsect1><para>
7523 #: sources.list.5.xml:199
7525 "Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
7526 "stable/main, stable/contrib, and stable/non-free."
7529 #. type: Content of: <refentry><refsect1><literallayout>
7530 #: sources.list.5.xml:201
7532 msgid "deb file:/home/jason/debian stable main contrib non-free"
7535 #. type: Content of: <refentry><refsect1><para>
7536 #: sources.list.5.xml:203
7537 msgid "As above, except this uses the unstable (development) distribution."
7540 #. type: Content of: <refentry><refsect1><literallayout>
7541 #: sources.list.5.xml:204
7543 msgid "deb file:/home/jason/debian unstable main contrib non-free"
7546 #. type: Content of: <refentry><refsect1><para>
7547 #: sources.list.5.xml:206
7548 msgid "Source line for the above"
7551 #. type: Content of: <refentry><refsect1><literallayout>
7552 #: sources.list.5.xml:207
7554 msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
7557 #. type: Content of: <refentry><refsect1><para>
7558 #: sources.list.5.xml:209
7560 "Uses HTTP to access the archive at archive.debian.org, and uses only the "
7564 #. type: Content of: <refentry><refsect1><literallayout>
7565 #: sources.list.5.xml:211
7567 msgid "deb http://archive.debian.org/debian-archive hamm main"
7570 #. type: Content of: <refentry><refsect1><para>
7571 #: sources.list.5.xml:213
7573 "Uses FTP to access the archive at ftp.debian.org, under the debian "
7574 "directory, and uses only the &stable-codename;/contrib area."
7577 #. type: Content of: <refentry><refsect1><literallayout>
7578 #: sources.list.5.xml:215
7580 msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
7583 #. type: Content of: <refentry><refsect1><para>
7584 #: sources.list.5.xml:217
7586 "Uses FTP to access the archive at ftp.debian.org, under the debian "
7587 "directory, and uses only the unstable/contrib area. If this line appears as "
7588 "well as the one in the previous example in <filename>sources.list</filename> "
7589 "a single FTP session will be used for both resource lines."
7592 #. type: Content of: <refentry><refsect1><literallayout>
7593 #: sources.list.5.xml:221
7595 msgid "deb ftp://ftp.debian.org/debian unstable contrib"
7598 #. type: Content of: <refentry><refsect1><para><literallayout>
7599 #: sources.list.5.xml:230
7601 msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
7604 #. type: Content of: <refentry><refsect1><para>
7605 #: sources.list.5.xml:223
7607 "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
7608 "directory, and uses only files found under <filename>unstable/binary-i386</"
7609 "filename> on i386 machines, <filename>unstable/binary-amd64</filename> on "
7610 "amd64, and so forth for other supported architectures. [Note this example "
7611 "only illustrates how to use the substitution variable; official debian "
7612 "archives are not structured like this] <placeholder type=\"literallayout\" "
7616 #. type: Content of: <refentry><refsect1><para>
7617 #: sources.list.5.xml:235
7619 msgid "&apt-cache; &apt-conf;"
7620 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7622 #. type: <title></title>
7624 msgid "APT User's Guide"
7627 #. type: <author></author>
7628 #: guide.sgml:6 offline.sgml:6
7629 msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
7632 #. type: <version></version>
7634 msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $"
7637 #. type: <abstract></abstract>
7640 "This document provides an overview of how to use the the APT package manager."
7643 #. type: <copyrightsummary></copyrightsummary>
7645 msgid "Copyright © Jason Gunthorpe, 1998."
7649 #: guide.sgml:21 offline.sgml:22
7651 "\"APT\" and this document are free software; you can redistribute them and/"
7652 "or modify them under the terms of the GNU General Public License as "
7653 "published by the Free Software Foundation; either version 2 of the License, "
7654 "or (at your option) any later version."
7658 #: guide.sgml:24 offline.sgml:25
7660 "For more details, on Debian GNU/Linux systems, see the file /usr/share/"
7661 "common-licenses/GPL for the full license."
7664 #. type: <heading></heading>
7672 "The APT package currently contains two sections, the APT <prgn>dselect</"
7673 "prgn> method and the <prgn>apt-get</prgn> command line user interface. Both "
7674 "provide a way to install and remove packages as well as download new "
7675 "packages from the Internet."
7678 #. type: <heading></heading>
7680 msgid "Anatomy of the Package System"
7686 "The Debian packaging system has a large amount of information associated "
7687 "with each package to help assure that it integrates cleanly and easily into "
7688 "the system. The most prominent of its features is the dependency system."
7694 "The dependency system allows individual programs to make use of shared "
7695 "elements in the system such as libraries. It simplifies placing infrequently "
7696 "used portions of a program in separate packages to reduce the number of "
7697 "things the average user is required to install. Also, it allows for choices "
7698 "in mail transport agents, X servers and so on."
7704 "The first step to understanding the dependency system is to grasp the "
7705 "concept of a simple dependency. The meaning of a simple dependency is that a "
7706 "package requires another package to be installed at the same time to work "
7713 "For instance, mailcrypt is an emacs extension that aids in encrypting email "
7714 "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
7715 "simple dependency on GPG. Also, because it is an emacs extension it has a "
7716 "simple dependency on emacs, without emacs it is completely useless."
7722 "The other important dependency to understand is a conflicting dependency. It "
7723 "means that a package, when installed with another package, will not work and "
7724 "may possibly be extremely harmful to the system. As an example consider a "
7725 "mail transport agent such as sendmail, exim or qmail. It is not possible to "
7726 "have two mail transport agents installed because both need to listen to the "
7727 "network to receive mail. Attempting to install two will seriously damage the "
7728 "system so all mail transport agents have a conflicting dependency with all "
7729 "other mail transport agents."
7735 "As an added complication there is the possibility for a package to pretend "
7736 "to be another package. Consider that exim and sendmail for many intents are "
7737 "identical, they both deliver mail and understand a common interface. Hence, "
7738 "the package system has a way for them to declare that they are both mail-"
7739 "transport-agents. So, exim and sendmail both declare that they provide a "
7740 "mail-transport-agent and other packages that need a mail transport agent "
7741 "depend on mail-transport-agent. This can add a great deal of confusion when "
7742 "trying to manually fix packages."
7748 "At any given time a single dependency may be met by packages that are "
7749 "already installed or it may not be. APT attempts to help resolve dependency "
7750 "issues by providing a number of automatic algorithms that help in selecting "
7751 "packages for installation."
7757 "<prgn>apt-get</prgn> provides a simple way to install packages from the "
7758 "command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not "
7759 "understand .deb files, it works with the package's proper name and can only "
7760 "install .deb archives from a <em>Source</em>."
7766 "The first <footnote><p>If you are using an http proxy server you must set "
7767 "the http_proxy environment variable first, see sources.list(5)</p></"
7768 "footnote> thing that should be done before using <prgn>apt-get</prgn> is to "
7769 "fetch the package lists from the <em>Sources</em> so that it knows what "
7770 "packages are available. This is done with <tt>apt-get update</tt>. For "
7774 #. type: <example></example>
7778 "# apt-get update\n"
7779 "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
7780 "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7781 "Reading Package Lists... Done\n"
7782 "Building Dependency Tree... Done"
7785 #. type: <p><taglist>
7787 msgid "Once updated there are several commands that can be used:"
7793 "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
7794 "install a new package or remove an existing package, nor will it ever "
7795 "upgrade a package that might cause some other package to break. This can be "
7796 "used daily to relatively safely upgrade the system. Upgrade will list all of "
7797 "the packages that it could not upgrade, this usually means that they depend "
7798 "on new packages or conflict with some other package. <prgn>dselect</prgn> or "
7799 "<tt>apt-get install</tt> can be used to force these packages to install."
7805 "Install is used to install packages by name. The package is automatically "
7806 "fetched and installed. This can be useful if you already know the name of "
7807 "the package to install and do not want to go into a GUI to select it. Any "
7808 "number of packages may be passed to install, they will all be fetched. "
7809 "Install automatically attempts to resolve dependency problems with the "
7810 "listed packages and will print a summary and ask for confirmation if "
7811 "anything other than its arguments are changed."
7817 "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
7818 "releases of Debian. It uses a sophisticated algorithm to determine the best "
7819 "set of packages to install, upgrade and remove to get as much of the system "
7820 "to the newest release. In some situations it may be desired to use dist-"
7821 "upgrade rather than spend the time manually resolving dependencies in "
7822 "<prgn>dselect</prgn>. Once dist-upgrade has completed then <prgn>dselect</"
7823 "prgn> can be used to install any packages that may have been left out."
7829 "It is important to closely look at what dist-upgrade is going to do, its "
7830 "decisions may sometimes be quite surprising."
7836 "<prgn>apt-get</prgn> has several command line options that are detailed in "
7837 "its man page, <manref section=\"8\" name=\"apt-get\">. The most useful "
7838 "option is <tt>-d</tt> which does not install the fetched files. If the "
7839 "system has to download a large number of package it would be undesired to "
7840 "start installing them in case something goes wrong. When <tt>-d</tt> is used "
7841 "the downloaded archives can be installed by simply running the command that "
7842 "caused them to be downloaded again without <tt>-d</tt>."
7845 #. type: <heading></heading>
7853 "The APT <prgn>dselect</prgn> method provides the complete APT system with "
7854 "the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used "
7855 "to select the packages to be installed or removed and APT actually installs "
7862 "To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> "
7863 "and then choose the APT method. You will be prompted for a set of "
7864 "<em>Sources</em> which are places to fetch archives from. These can be "
7865 "remote Internet sites, local Debian mirrors or CDROMs. Each source can "
7866 "provide a fragment of the total Debian archive, APT will automatically "
7867 "combine them to form a complete set of packages. If you have a CDROM then it "
7868 "is a good idea to specify it first and then specify a mirror so that you "
7869 "have access to the latest bug fixes. APT will automatically use packages on "
7870 "your CDROM before downloading from the Internet."
7873 #. type: <example></example>
7877 " Set up a list of distribution source locations\n"
7879 " Please give the base URL of the debian distribution.\n"
7880 " The access schemes I know about are: http file\n"
7883 " file:/mnt/debian,\n"
7884 " ftp://ftp.debian.org/debian,\n"
7885 " http://ftp.de.debian.org/debian,\n"
7888 " URL [http://llug.sep.bnl.gov/debian]:"
7894 "The <em>Sources</em> setup starts by asking for the base of the Debian "
7895 "archive, defaulting to a HTTP mirror. Next it asks for the distribution to "
7899 #. type: <example></example>
7903 " Please give the distribution tag to get or a path to the\n"
7904 " package file ending in a /. The distribution\n"
7905 " tags are typically something like: stable unstable testing non-US\n"
7907 " Distribution [stable]:"
7913 "The distribution refers to the Debian version in the archive, <em>stable</"
7914 "em> refers to the latest released version and <em>unstable</em> refers to "
7915 "the developmental version. <em>non-US</em> is only available on some mirrors "
7916 "and refers to packages that contain encryption technology or other things "
7917 "that cannot be exported from the United States. Importing these packages "
7918 "into the US is legal however."
7921 #. type: <example></example>
7925 " Please give the components to get\n"
7926 " The components are typically something like: main contrib non-free\n"
7928 " Components [main contrib non-free]:"
7934 "The components list refers to the list of sub distributions to fetch. The "
7935 "distribution is split up based on software licenses, main being DFSG free "
7936 "packages while contrib and non-free contain things that have various "
7937 "restrictions placed on their use and distribution."
7943 "Any number of sources can be added, the setup script will continue to prompt "
7944 "until you have specified all that you want."
7950 "Before starting to use <prgn>dselect</prgn> it is necessary to update the "
7951 "available list by selecting [U]pdate from the menu. This is a superset of "
7952 "<tt>apt-get update</tt> that makes the fetched information available to "
7953 "<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get update</"
7954 "tt> has been run before."
7960 "You can then go on and make your selections using [S]elect and then perform "
7961 "the installation using [I]nstall. When using the APT method the [C]onfig and "
7962 "[R]emove commands have no meaning, the [I]nstall command performs both of "
7969 "By default APT will automatically remove the package (.deb) files once they "
7970 "have been successfully installed. To change this behavior place <tt>Dselect::"
7971 "clean \"prompt\";</tt> in /etc/apt/apt.conf."
7974 #. type: <heading></heading>
7976 msgid "The Interface"
7982 "Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the "
7983 "same interface. It is a simple system that generally tells you what it will "
7984 "do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method "
7985 "actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method "
7986 "actually provides more functionality than is present in <prgn>apt-get</prgn> "
7987 "alone.</p></footnote> After printing out a summary of what will happen APT "
7988 "then will print out some informative status messages so that you can "
7989 "estimate how far along it is and how much is left to do."
7992 #. type: <heading></heading>
8000 "Before all operations except update, APT performs a number of actions to "
8001 "prepare its internal state. It also does some checks of the system's state. "
8002 "At any time these operations can be performed by running <tt>apt-get check</"
8006 #. type: <example></example>
8011 "Reading Package Lists... Done\n"
8012 "Building Dependency Tree... Done"
8018 "The first thing it does is read all the package files into memory. APT uses "
8019 "a caching scheme so this operation will be faster the second time it is run. "
8020 "If some of the package files are not found then they will be ignored and a "
8021 "warning will be printed when apt-get exits."
8027 "The final operation performs a detailed analysis of the system's "
8028 "dependencies. It checks every dependency of every installed or unpacked "
8029 "package and considers if it is OK. Should this find a problem then a report "
8030 "will be printed out and <prgn>apt-get</prgn> will refuse to run."
8033 #. type: <example></example>
8038 "Reading Package Lists... Done\n"
8039 "Building Dependency Tree... Done\n"
8040 "You might want to run apt-get -f install' to correct these.\n"
8041 "Sorry, but the following packages have unmet dependencies:\n"
8042 " 9fonts: Depends: xlib6g but it is not installed\n"
8043 " uucp: Depends: mailx but it is not installed\n"
8044 " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8045 " adduser: Depends: perl-base but it is not installed\n"
8046 " aumix: Depends: libgpmg1 but it is not installed\n"
8047 " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
8048 " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
8049 " cthugha: Depends: svgalibg1 but it is not installed\n"
8050 " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8051 " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
8057 "In this example the system has many problems, including a serious problem "
8058 "with libreadlineg2. For each package that has unmet dependencies a line is "
8059 "printed out indicating the package with the problem and the dependencies "
8060 "that are unmet. A short explanation of why the package has a dependency "
8061 "problem is also included."
8067 "There are two ways a system can get into a broken state like this. The first "
8068 "is caused by <prgn>dpkg</prgn> missing some subtle relationships between "
8069 "packages when performing upgrades. <footnote><p>APT however considers all "
8070 "known dependencies and attempts to prevent broken packages</p></footnote>. "
8071 "The second is if a package installation fails during an operation. In this "
8072 "situation a package may have been unpacked without its dependents being "
8079 "The second situation is much less serious than the first because APT places "
8080 "certain constraints on the order that packages are installed. In both cases "
8081 "supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to "
8082 "deduce a possible solution to the problem and then continue on. The APT "
8083 "<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow "
8084 "for easy continuation of failed maintainer scripts."
8090 "However, if the <tt>-f</tt> option is used to correct a seriously broken "
8091 "system caused by the first case then it is possible that it will either fail "
8092 "immediately or the installation sequence will fail. In either case it is "
8093 "necessary to manually use dpkg (possibly with forcing options) to correct "
8094 "the situation enough to allow APT to proceed."
8097 #. type: <heading></heading>
8099 msgid "The Status Report"
8105 "Before proceeding <prgn>apt-get</prgn> will present a report on what will "
8106 "happen. Generally the report reflects the type of operation being performed "
8107 "but there are several common elements. In all cases the lists reflect the "
8108 "final state of things, taking into account the <tt>-f</tt> option and any "
8109 "other relevant activities to the command being executed."
8112 #. type: <heading></heading>
8114 msgid "The Extra Package list"
8117 #. type: <example></example>
8121 "The following extra packages will be installed:\n"
8122 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
8123 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
8124 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
8125 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
8132 "The Extra Package list shows all of the packages that will be installed or "
8133 "upgraded in excess of the ones mentioned on the command line. It is only "
8134 "generated for an <tt>install</tt> command. The listed packages are often the "
8135 "result of an Auto Install."
8138 #. type: <heading></heading>
8140 msgid "The Packages to Remove"
8143 #. type: <example></example>
8147 "The following packages will be REMOVED:\n"
8148 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
8149 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
8150 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
8157 "The Packages to Remove list shows all of the packages that will be removed "
8158 "from the system. It can be shown for any of the operations and should be "
8159 "given a careful inspection to ensure nothing important is to be taken off. "
8160 "The <tt>-f</tt> option is especially good at generating packages to remove "
8161 "so extreme care should be used in that case. The list may contain packages "
8162 "that are going to be removed because they are only partially installed, "
8163 "possibly due to an aborted installation."
8166 #. type: <heading></heading>
8168 msgid "The New Packages list"
8171 #. type: <example></example>
8175 "The following NEW packages will installed:\n"
8176 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
8182 "The New Packages list is simply a reminder of what will happen. The packages "
8183 "listed are not presently installed in the system but will be when APT is "
8187 #. type: <heading></heading>
8189 msgid "The Kept Back list"
8192 #. type: <example></example>
8196 "The following packages have been kept back\n"
8197 " compface man-db tetex-base msql libpaper svgalib1\n"
8198 " gs snmp arena lynx xpat2 groff xscreensaver"
8204 "Whenever the whole system is being upgraded there is the possibility that "
8205 "new versions of packages cannot be installed because they require new things "
8206 "or conflict with already installed things. In this case the package will "
8207 "appear in the Kept Back list. The best way to convince packages listed there "
8208 "to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> "
8209 "to resolve their problems."
8212 #. type: <heading></heading>
8214 msgid "Held Packages warning"
8217 #. type: <example></example>
8221 "The following held packages will be changed:\n"
8228 "Sometimes you can ask APT to install a package that is on hold, in such a "
8229 "case it prints out a warning that the held package is going to be changed. "
8230 "This should only happen during dist-upgrade or install."
8233 #. type: <heading></heading>
8235 msgid "Final summary"
8241 "Finally, APT will print out a summary of all the changes that will occur."
8244 #. type: <example></example>
8248 "206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
8249 "12 packages not fully installed or removed.\n"
8250 "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
8256 "The first line of the summary simply is a reduced version of all of the "
8257 "lists and includes the number of upgrades - that is packages already "
8258 "installed that have new versions available. The second line indicates the "
8259 "number of poorly configured packages, possibly the result of an aborted "
8260 "installation. The final line shows the space requirements that the "
8261 "installation needs. The first pair of numbers refer to the size of the "
8262 "archive files. The first number indicates the number of bytes that must be "
8263 "fetched from remote locations and the second indicates the total size of all "
8264 "the archives required. The next number indicates the size difference between "
8265 "the presently installed packages and the newly installed packages. It is "
8266 "roughly equivalent to the space required in /usr after everything is done. "
8267 "If a large number of packages are being removed then the value may indicate "
8268 "the amount of space that will be freed."
8274 "Some other reports can be generated by using the -u option to show packages "
8275 "to upgrade, they are similar to the previous examples."
8278 #. type: <heading></heading>
8280 msgid "The Status Display"
8286 "During the download of archives and package files APT prints out a series of "
8290 #. type: <example></example>
8294 "# apt-get update\n"
8295 "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
8296 "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
8297 "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
8298 "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
8299 "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
8300 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
8306 "The lines starting with <em>Get</em> are printed out when APT begins to "
8307 "fetch a file while the last line indicates the progress of the download. The "
8308 "first percent value on the progress line indicates the total percent done of "
8309 "all files. Unfortunately since the size of the Package files is unknown "
8310 "<tt>apt-get update</tt> estimates the percent done which causes some "
8317 "The next section of the status line is repeated once for each download "
8318 "thread and indicates the operation being performed and some useful "
8319 "information about what is happening. Sometimes this section will simply read "
8320 "<em>Forking</em> which means the OS is loading the download module. The "
8321 "first word after the [ is the fetch number as shown on the history lines. "
8322 "The next word is the short form name of the object being downloaded. For "
8323 "archives it will contain the name of the package that is being fetched."
8329 "Inside of the single quote is an informative string indicating the progress "
8330 "of the negotiation phase of the download. Typically it progresses from "
8331 "<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or "
8332 "<em>Resuming</em>. The final value is the number of bytes downloaded from "
8333 "the remote site. Once the download begins this is represented as "
8334 "<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 "
8335 "kilobytes is expected. The total size is always shown in 4 figure notation "
8336 "to preserve space. After the size display is a percent meter for the file "
8337 "itself. The second last element is the instantaneous average speed. This "
8338 "values is updated every 5 seconds and reflects the rate of data transfer for "
8339 "that period. Finally is shown the estimated transfer time. This is updated "
8340 "regularly and reflects the time to complete everything at the shown transfer "
8347 "The status display updates every half second to provide a constant feedback "
8348 "on the download progress while the Get lines scroll back whenever a new file "
8349 "is started. Since the status display is constantly updated it is unsuitable "
8350 "for logging to a file, use the <tt>-q</tt> option to remove the status "
8354 #. type: <heading></heading>
8362 "APT uses <prgn>dpkg</prgn> for installing the archives and will switch over "
8363 "to the <prgn>dpkg</prgn> interface once downloading is completed. "
8364 "<prgn>dpkg</prgn> will also ask a number of questions as it processes the "
8365 "packages and the packages themselves may also ask several questions. Before "
8366 "each question there is usually a description of what it is asking and the "
8367 "questions are too varied to discuss completely here."
8370 #. type: <title></title>
8372 msgid "Using APT Offline"
8375 #. type: <version></version>
8377 msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
8380 #. type: <abstract></abstract>
8383 "This document describes how to use APT in a non-networked environment, "
8384 "specifically a 'sneaker-net' approach for performing upgrades."
8387 #. type: <copyrightsummary></copyrightsummary>
8389 msgid "Copyright © Jason Gunthorpe, 1999."
8392 #. type: <heading></heading>
8394 msgid "Introduction"
8397 #. type: <heading></heading>
8398 #: offline.sgml:34 offline.sgml:65 offline.sgml:180
8405 "Normally APT requires direct access to a Debian archive, either from a local "
8406 "media or through a network. Another common complaint is that a Debian "
8407 "machine is on a slow link, such as a modem and another machine has a very "
8408 "fast connection but they are physically distant."
8414 "The solution to this is to use large removable media such as a Zip disc or a "
8415 "SuperDisk disc. These discs are not large enough to store the entire Debian "
8416 "archive but can easily fit a subset large enough for most users. The idea is "
8417 "to use APT to generate a list of packages that are required and then fetch "
8418 "them onto the disc using another machine with good connectivity. It is even "
8419 "possible to use another Debian machine with APT or to use a completely "
8420 "different OS and a download tool like wget. Let <em>remote host</em> mean "
8421 "the machine downloading the packages, and <em>target host</em> the one with "
8422 "bad or no connection."
8428 "This is achieved by creatively manipulating the APT configuration file. The "
8429 "essential premise to tell APT to look on a disc for it's archive files. Note "
8430 "that the disc should be formated with a filesystem that can handle long file "
8431 "names such as ext2, fat32 or vfat."
8434 #. type: <heading></heading>
8436 msgid "Using APT on both machines"
8439 #. type: <p><example>
8442 "APT being available on both machines gives the simplest configuration. The "
8443 "basic idea is to place a copy of the status file on the disc and use the "
8444 "remote machine to fetch the latest package files and decide which packages "
8445 "to download. The disk directory structure should look like:"
8448 #. type: <example></example>
8462 #. type: <heading></heading>
8464 msgid "The configuration file"
8470 "The configuration file should tell APT to store its files on the disc and to "
8471 "use the configuration files on the disc as well. The sources.list should "
8472 "contain the proper sites that you wish to use from the remote machine, and "
8473 "the status file should be a copy of <em>/var/lib/dpkg/status</em> from the "
8474 "<em>target host</em>. Please note, if you are using a local archive you must "
8475 "use copy URIs, the syntax is identical to file URIs."
8478 #. type: <p><example>
8481 "<em>apt.conf</em> must contain the necessary information to make APT use the "
8485 #. type: <example></example>
8491 " /* This is not necessary if the two machines are the same arch, it tells\n"
8492 " the remote APT what architecture the target machine is */\n"
8493 " Architecture \"i386\";\n"
8495 " Get::Download-Only \"true\";\n"
8500 " /* Use the disc for state information and redirect the status file from\n"
8501 " the /var/lib/dpkg default */\n"
8502 " State \"/disc/\";\n"
8503 " State::status \"status\";\n"
8505 " // Binary caches will be stored locally\n"
8506 " Cache::archives \"/disc/archives/\";\n"
8507 " Cache \"/tmp/\";\n"
8509 " // Location of the source list.\n"
8510 " Etc \"/disc/\";\n"
8514 #. type: </example></p>
8517 "More details can be seen by examining the apt.conf man page and the sample "
8518 "configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>."
8521 #. type: <p><example>
8524 "On the target machine the first thing to do is mount the disc and copy <em>/"
8525 "var/lib/dpkg/status</em> to it. You will also need to create the directories "
8526 "outlined in the Overview, <em>archives/partial/</em> and <em>lists/partial/</"
8527 "em>. Then take the disc to the remote machine and configure the sources."
8528 "list. On the remote machine execute the following:"
8531 #. type: <example></example>
8535 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
8536 " # apt-get update\n"
8537 " [ APT fetches the package files ]\n"
8538 " # apt-get dist-upgrade\n"
8539 " [ APT fetches all the packages needed to upgrade the target machine ]"
8542 #. type: </example></p>
8545 "The dist-upgrade command can be replaced with any other standard APT "
8546 "commands, particularly dselect-upgrade. You can even use an APT front end "
8547 "such as <em>dselect</em>. However this presents a problem in communicating "
8548 "your selections back to the local computer."
8551 #. type: <p><example>
8554 "Now the disc contains all of the index files and archives needed to upgrade "
8555 "the target machine. Take the disc back and run:"
8558 #. type: <example></example>
8562 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
8563 " # apt-get check\n"
8564 " [ APT generates a local copy of the cache files ]\n"
8565 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
8566 " [ Or any other APT command ]"
8572 "It is necessary for proper function to re-specify the status file to be the "
8573 "local one. This is very important!"
8579 "If you are using dselect you can do the very risky operation of copying disc/"
8580 "status to /var/lib/dpkg/status so that any selections you made on the remote "
8581 "machine are updated. I highly recommend that people only make selections on "
8582 "the local machine - but this may not always be possible. DO NOT copy the "
8583 "status file if dpkg or APT have been run in the mean time!!"
8586 #. type: <heading></heading>
8588 msgid "Using APT and wget"
8594 "<em>wget</em> is a popular and portable download tool that can run on nearly "
8595 "any machine. Unlike the method above this requires that the Debian machine "
8596 "already has a list of available packages."
8602 "The basic idea is to create a disc that has only the archive files "
8603 "downloaded from the remote site. This is done by using the --print-uris "
8604 "option to apt-get and then preparing a wget script to actually fetch the "
8608 #. type: <heading></heading>
8614 #. type: <p><example>
8617 "Unlike the previous technique no special configuration files are required. "
8618 "We merely use the standard APT commands to generate the file list."
8621 #. type: <example></example>
8625 " # apt-get dist-upgrade \n"
8626 " [ Press no when prompted, make sure you are happy with the actions ]\n"
8627 " # apt-get -qq --print-uris dist-upgrade > uris\n"
8628 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
8631 #. type: </example></p>
8634 "Any command other than dist-upgrade could be used here, including dselect-"
8641 "The /disc/wget-script file will now contain a list of wget commands to "
8642 "execute in order to fetch the necessary archives. This script should be run "
8643 "with the current directory as the disc's mount point so as to save the "
8644 "output on the disc."
8647 #. type: <p><example>
8649 msgid "The remote machine would do something like"
8652 #. type: <example></example>
8657 " # sh -x ./wget-script\n"
8661 #. type: </example><example>
8664 "Once the archives are downloaded and the disc returned to the Debian machine "
8665 "installation can proceed using,"
8668 #. type: <example></example>
8671 msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
8674 #. type: </example></p>
8676 msgid "Which will use the already fetched archives on the disc."
8680 #~ msgid "to the version that is already installed (if any)."
8681 #~ msgstr "para a instância que já esteja instalada (caso exista)."
8685 #~ "The <literal>Pin-Priority:</literal> line in each APT preferences record "
8686 #~ "is optional. If omitted, APT assigns a priority of 1 less than the last "
8687 #~ "value specified on a line beginning with <literal>Pin-Priority: "
8688 #~ "release ...</literal>."
8690 #~ "A linha <literal>Pin-Priority:</literal> em cada registro de preferências "
8691 #~ "do APT é opcional. Caso omitida, o APT atribuirá uma prioridade de 1 "
8692 #~ "menos o último valor especificado em uma linha iniciando com <literal>Pin-"
8693 #~ "Priority: release ...</literal>."
8696 #~ msgid "<filename>/etc/apt/trusted.gpg</filename>"
8697 #~ msgstr "<filename>/etc/apt.conf</>"
8700 #~ msgid "/usr/share/doc/apt/"
8701 #~ msgstr "/usr/share/doc/apt/"
8704 #~ msgid "<filename>&docdir;examples/configure-index.gz</>"
8705 #~ msgstr "<filename>&docdir;examples/configure-index.gz</>"
8708 #~ msgid "/var/lib/apt"
8709 #~ msgstr "/var/lib/apt"
8712 #~ msgid "/var/cache/apt"
8713 #~ msgstr "/var/cache/apt"
8718 #~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8719 #~ " <ListItem><Para>\n"
8720 #~ " Show a short usage summary.\n"
8721 #~ " </VarListEntry>\n"
8723 #~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8724 #~ " <ListItem><Para>\n"
8725 #~ " Show the program version.\n"
8726 #~ " </VarListEntry>\n"
8728 #~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8729 #~ " <ListItem><Para>\n"
8730 #~ " Configuration File; Specify a configuration file to use. \n"
8731 #~ " The program will read the default configuration file and then this \n"
8732 #~ " configuration file. See &apt-conf; for syntax information. \n"
8733 #~ " </VarListEntry>\n"
8735 #~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8736 #~ " <ListItem><Para>\n"
8737 #~ " Set a Configuration Option; This will set an arbitary "
8738 #~ "configuration \n"
8739 #~ " option. The syntax is <option>-o Foo::Bar=bar</>.\n"
8740 #~ " </VarListEntry>\n"
8743 #~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8744 #~ " <ListItem><Para>\n"
8745 #~ " Exibe um pequeno resumo de uso.\n"
8746 #~ " </VarListEntry>\n"
8748 #~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8749 #~ " <ListItem><Para>\n"
8750 #~ " Exibe a versão do programa.\n"
8751 #~ " </VarListEntry>\n"
8753 #~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8754 #~ " <ListItem><Para>\n"
8755 #~ " Arquivo de Configuração; Especifica um arquivo de configuração\n"
8756 #~ " a ser usado. O programa irá ler o arquivo de configuração padrão\n"
8757 #~ " e então este arquivo de configuração. Consulte &apt-conf; para\n"
8758 #~ " informação de sintaxe. \n"
8759 #~ " </VarListEntry>\n"
8761 #~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8762 #~ " <ListItem><Para>\n"
8763 #~ " Defie uma Opção de Configuração; Esta opção irá definir uma opção\n"
8764 #~ " de configuração arbitrária. A sintaxe é <option>-o Foo::Bar=bar</>.\n"
8765 #~ " </VarListEntry>\n"
8768 #~ msgid "<manvolnum>5</manvolnum>"
8769 #~ msgstr "<manvolnum>5</manvolnum>"
8772 #~ msgid "</programlisting> Then:"
8773 #~ msgstr "</programlisting> Então :"
8776 #~ msgid "&manbugs; &manauthor;"
8777 #~ msgstr "&manbugs; &manauthor;"