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-07-05 13:23+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
946 msgid "madison <replaceable>/[ pkg(s) ]</replaceable>"
949 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
950 #: apt-cache.8.xml:267
952 "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
953 "to mimic the output format and a subset of the functionality of the Debian "
954 "archive management tool, <literal>madison</literal>. It displays available "
955 "versions of a package in a tabular format. Unlike the original "
956 "<literal>madison</literal>, it can only display information for the "
957 "architecture for which APT has retrieved package lists (<literal>APT::"
958 "Architecture</literal>)."
961 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
962 #: apt-cache.8.xml:278 apt-config.8.xml:96 apt-extracttemplates.1.xml:59
963 #: apt-ftparchive.1.xml:525 apt-get.8.xml:331 apt-mark.8.xml:126
964 #: apt-sortpkgs.1.xml:57 apt.conf.5.xml:560 apt.conf.5.xml:582
968 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
969 #: apt-cache.8.xml:282
970 msgid "<option>-p</option>"
973 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
974 #: apt-cache.8.xml:282
975 msgid "<option>--pkg-cache</option>"
978 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
979 #: apt-cache.8.xml:283
981 "Select the file to store the package cache. The package cache is the primary "
982 "cache used by all operations. Configuration Item: <literal>Dir::Cache::"
983 "pkgcache</literal>."
986 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
987 #: apt-cache.8.xml:288 apt-ftparchive.1.xml:572 apt-get.8.xml:393
988 #: apt-sortpkgs.1.xml:61
989 msgid "<option>-s</option>"
992 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
993 #: apt-cache.8.xml:288
994 msgid "<option>--src-cache</option>"
997 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
998 #: apt-cache.8.xml:289
1000 "Select the file to store the source cache. The source is used only by "
1001 "<literal>gencaches</literal> and it stores a parsed version of the package "
1002 "information from remote sources. When building the package cache the source "
1003 "cache is used to avoid reparsing all of the package files. Configuration "
1004 "Item: <literal>Dir::Cache::srcpkgcache</literal>."
1007 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1008 #: apt-cache.8.xml:296 apt-ftparchive.1.xml:546 apt-get.8.xml:383
1009 msgid "<option>-q</option>"
1012 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1013 #: apt-cache.8.xml:296 apt-ftparchive.1.xml:546 apt-get.8.xml:383
1014 msgid "<option>--quiet</option>"
1017 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1018 #: apt-cache.8.xml:297
1020 "Quiet; produces output suitable for logging, omitting progress indicators. "
1021 "More q's will produce more quietness up to a maximum of 2. You can also use "
1022 "<option>-q=#</option> to set the quietness level, overriding the "
1023 "configuration file. Configuration Item: <literal>quiet</literal>."
1026 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1027 #: apt-cache.8.xml:303
1028 msgid "<option>-i</option>"
1031 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1032 #: apt-cache.8.xml:303
1033 msgid "<option>--important</option>"
1036 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1037 #: apt-cache.8.xml:304
1039 "Print only important dependencies; for use with unmet and depends. Causes "
1040 "only Depends and Pre-Depends relations to be printed. Configuration Item: "
1041 "<literal>APT::Cache::Important</literal>."
1044 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1045 #: apt-cache.8.xml:309
1046 msgid "<option>--no-pre-depends</option>"
1049 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1050 #: apt-cache.8.xml:310
1051 msgid "<option>--no-depends</option>"
1054 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1055 #: apt-cache.8.xml:311
1056 msgid "<option>--no-recommends</option>"
1059 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1060 #: apt-cache.8.xml:312
1061 msgid "<option>--no-suggests</option>"
1064 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1065 #: apt-cache.8.xml:313
1066 msgid "<option>--no-conflicts</option>"
1069 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1070 #: apt-cache.8.xml:314
1071 msgid "<option>--no-breaks</option>"
1074 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1075 #: apt-cache.8.xml:315
1076 msgid "<option>--no-replaces</option>"
1079 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1080 #: apt-cache.8.xml:316
1081 msgid "<option>--no-enhances</option>"
1084 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1085 #: apt-cache.8.xml:317
1087 "Per default the <literal>depends</literal> and <literal>rdepends</literal> "
1088 "print all dependencies. This can be tweaked with these flags which will omit "
1089 "the specified dependency type. Configuration Item: <literal>APT::Cache::"
1090 "Show<replaceable>DependencyType</replaceable></literal> e.g. <literal>APT::"
1091 "Cache::ShowRecommends</literal>."
1094 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1095 #: apt-cache.8.xml:323 apt-cdrom.8.xml:124 apt-get.8.xml:350
1096 msgid "<option>-f</option>"
1099 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1100 #: apt-cache.8.xml:323
1101 msgid "<option>--full</option>"
1104 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1105 #: apt-cache.8.xml:324
1107 "Print full package records when searching. Configuration Item: "
1108 "<literal>APT::Cache::ShowFull</literal>."
1111 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1112 #: apt-cache.8.xml:328 apt-cdrom.8.xml:134 apt-ftparchive.1.xml:584
1113 msgid "<option>-a</option>"
1116 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1117 #: apt-cache.8.xml:328
1118 msgid "<option>--all-versions</option>"
1121 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1122 #: apt-cache.8.xml:329
1124 "Print full records for all available versions. This is the default; to turn "
1125 "it off, use <option>--no-all-versions</option>. If <option>--no-all-"
1126 "versions</option> is specified, only the candidate version will displayed "
1127 "(the one which would be selected for installation). This option is only "
1128 "applicable to the <literal>show</literal> command. Configuration Item: "
1129 "<literal>APT::Cache::AllVersions</literal>."
1132 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1133 #: apt-cache.8.xml:337
1134 msgid "<option>-g</option>"
1137 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1138 #: apt-cache.8.xml:337
1139 msgid "<option>--generate</option>"
1142 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1143 #: apt-cache.8.xml:338
1145 "Perform automatic package cache regeneration, rather than use the cache as "
1146 "it is. This is the default; to turn it off, use <option>--no-generate</"
1147 "option>. Configuration Item: <literal>APT::Cache::Generate</literal>."
1150 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1151 #: apt-cache.8.xml:343
1152 msgid "<option>--names-only</option>"
1155 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1156 #: apt-cache.8.xml:343 apt-cdrom.8.xml:142
1157 msgid "<option>-n</option>"
1160 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1161 #: apt-cache.8.xml:344
1163 "Only search on the package names, not the long descriptions. Configuration "
1164 "Item: <literal>APT::Cache::NamesOnly</literal>."
1167 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1168 #: apt-cache.8.xml:348
1169 msgid "<option>--all-names</option>"
1172 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1173 #: apt-cache.8.xml:349
1175 "Make <literal>pkgnames</literal> print all names, including virtual packages "
1176 "and missing dependencies. Configuration Item: <literal>APT::Cache::"
1177 "AllNames</literal>."
1180 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1181 #: apt-cache.8.xml:354
1182 msgid "<option>--recurse</option>"
1185 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1186 #: apt-cache.8.xml:355
1188 "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1189 "that all packages mentioned are printed once. Configuration Item: "
1190 "<literal>APT::Cache::RecurseDepends</literal>."
1193 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1194 #: apt-cache.8.xml:360
1195 msgid "<option>--installed</option>"
1198 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1199 #: apt-cache.8.xml:362
1201 "Limit the output of <literal>depends</literal> and <literal>rdepends</"
1202 "literal> to packages which are currently installed. Configuration Item: "
1203 "<literal>APT::Cache::Installed</literal>."
1206 #. type: Content of: <refentry><refsect1><variablelist>
1207 #: apt-cache.8.xml:367 apt-cdrom.8.xml:153 apt-config.8.xml:101
1208 #: apt-extracttemplates.1.xml:70 apt-ftparchive.1.xml:612 apt-get.8.xml:570
1209 #: apt-mark.8.xml:140 apt-sortpkgs.1.xml:67
1210 msgid "&apt-commonoptions;"
1213 #. type: Content of: <refentry><refsect1><title>
1214 #: apt-cache.8.xml:372 apt-get.8.xml:575 apt-key.8.xml:175 apt-mark.8.xml:144
1215 #: apt.conf.5.xml:1093 apt_preferences.5.xml:697
1219 #. type: Content of: <refentry><refsect1><variablelist>
1220 #: apt-cache.8.xml:374
1221 msgid "&file-sourceslist; &file-statelists;"
1224 #. type: Content of: <refentry><refsect1><title>
1225 #: apt-cache.8.xml:379 apt-cdrom.8.xml:158 apt-config.8.xml:106
1226 #: apt-extracttemplates.1.xml:77 apt-ftparchive.1.xml:628 apt-get.8.xml:585
1227 #: apt-key.8.xml:196 apt-mark.8.xml:150 apt-secure.8.xml:185
1228 #: apt-sortpkgs.1.xml:72 apt.conf.5.xml:1099 apt_preferences.5.xml:704
1229 #: sources.list.5.xml:234
1232 msgstr "Consulte também"
1234 #. type: Content of: <refentry><refsect1><para>
1235 #: apt-cache.8.xml:380
1236 msgid "&apt-conf;, &sources-list;, &apt-get;"
1239 #. type: Content of: <refentry><refsect1><title>
1240 #: apt-cache.8.xml:384 apt-cdrom.8.xml:163 apt-config.8.xml:111
1241 #: apt-extracttemplates.1.xml:81 apt-ftparchive.1.xml:632 apt-get.8.xml:591
1242 #: apt-mark.8.xml:154 apt-sortpkgs.1.xml:76
1246 #. type: Content of: <refentry><refsect1><para>
1247 #: apt-cache.8.xml:385
1249 "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1253 #. type: Content of: <refentry><refentryinfo>
1254 #: apt-cdrom.8.xml:16
1256 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>14 "
1257 "February 2004</date>"
1260 #. type: Content of: <refentry><refnamediv><refname>
1261 #: apt-cdrom.8.xml:24 apt-cdrom.8.xml:31
1265 #. type: Content of: <refentry><refnamediv><refpurpose>
1266 #: apt-cdrom.8.xml:32
1267 msgid "APT CDROM management utility"
1270 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1271 #: apt-cdrom.8.xml:38
1273 "<command>apt-cdrom</command> <arg><option>-hvrmfan</option></arg> "
1274 "<arg><option>-d=<replaceable>cdrom mount point</replaceable></option></arg> "
1275 "<arg><option>-o=<replaceable>config string</replaceable></option></arg> "
1276 "<arg><option>-c=<replaceable>file</replaceable></option></arg> <group> "
1277 "<arg>add</arg> <arg>ident</arg> </group>"
1280 #. type: Content of: <refentry><refsect1><para>
1281 #: apt-cdrom.8.xml:51
1283 "<command>apt-cdrom</command> is used to add a new CDROM to APTs list of "
1284 "available sources. <command>apt-cdrom</command> takes care of determining "
1285 "the structure of the disc as well as correcting for several possible mis-"
1286 "burns and verifying the index files."
1289 #. type: Content of: <refentry><refsect1><para>
1290 #: apt-cdrom.8.xml:58
1292 "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
1293 "system, it cannot be done by hand. Furthermore each disk in a multi-cd set "
1294 "must be inserted and scanned separately to account for possible mis-burns."
1297 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
1298 #: apt-cdrom.8.xml:68
1302 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1303 #: apt-cdrom.8.xml:69
1305 "<literal>add</literal> is used to add a new disc to the source list. It will "
1306 "unmount the CDROM device, prompt for a disk to be inserted and then proceed "
1307 "to scan it and copy the index files. If the disc does not have a proper "
1308 "<filename>disk</filename> directory you will be prompted for a descriptive "
1312 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1313 #: apt-cdrom.8.xml:77
1315 "APT uses a CDROM ID to track which disc is currently in the drive and "
1316 "maintains a database of these IDs in <filename>&statedir;/cdroms.list</"
1320 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
1321 #: apt-cdrom.8.xml:84
1325 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1326 #: apt-cdrom.8.xml:85
1328 "A debugging tool to report the identity of the current disc as well as the "
1332 #. type: Content of: <refentry><refsect1><para>
1333 #: apt-cdrom.8.xml:64
1335 "Unless the <option>-h</option>, or <option>--help</option> option is given "
1336 "one of the commands below must be present. <placeholder type=\"variablelist"
1340 #. type: Content of: <refentry><refsect1><title>
1341 #: apt-cdrom.8.xml:94 apt-key.8.xml:161
1345 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1346 #: apt-cdrom.8.xml:98 apt-ftparchive.1.xml:540 apt-get.8.xml:345
1347 msgid "<option>-d</option>"
1350 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1351 #: apt-cdrom.8.xml:98
1352 msgid "<option>--cdrom</option>"
1355 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1356 #: apt-cdrom.8.xml:99
1358 "Mount point; specify the location to mount the cdrom. This mount point must "
1359 "be listed in <filename>/etc/fstab</filename> and properly configured. "
1360 "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
1363 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1364 #: apt-cdrom.8.xml:107
1365 msgid "<option>-r</option>"
1368 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1369 #: apt-cdrom.8.xml:107
1370 msgid "<option>--rename</option>"
1373 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1374 #: apt-cdrom.8.xml:108
1376 "Rename a disc; change the label of a disk or override the disks given label. "
1377 "This option will cause <command>apt-cdrom</command> to prompt for a new "
1378 "label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
1381 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1382 #: apt-cdrom.8.xml:116 apt-get.8.xml:364
1383 msgid "<option>-m</option>"
1386 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1387 #: apt-cdrom.8.xml:116
1388 msgid "<option>--no-mount</option>"
1391 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1392 #: apt-cdrom.8.xml:117
1394 "No mounting; prevent <command>apt-cdrom</command> from mounting and "
1395 "unmounting the mount point. Configuration Item: <literal>APT::CDROM::"
1396 "NoMount</literal>."
1399 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1400 #: apt-cdrom.8.xml:124
1401 msgid "<option>--fast</option>"
1404 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1405 #: apt-cdrom.8.xml:125
1407 "Fast Copy; Assume the package files are valid and do not check every "
1408 "package. This option should be used only if <command>apt-cdrom</command> has "
1409 "been run on this disc before and did not detect any errors. Configuration "
1410 "Item: <literal>APT::CDROM::Fast</literal>."
1413 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1414 #: apt-cdrom.8.xml:134
1415 msgid "<option>--thorough</option>"
1418 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1419 #: apt-cdrom.8.xml:135
1421 "Thorough Package Scan; This option may be needed with some old Debian "
1422 "1.1/1.2 discs that have Package files in strange places. It takes much "
1423 "longer to scan the CD but will pick them all up."
1426 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1427 #: apt-cdrom.8.xml:143 apt-get.8.xml:395
1428 msgid "<option>--just-print</option>"
1431 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1432 #: apt-cdrom.8.xml:144 apt-get.8.xml:397
1433 msgid "<option>--recon</option>"
1436 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1437 #: apt-cdrom.8.xml:145 apt-get.8.xml:398
1438 msgid "<option>--no-act</option>"
1441 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1442 #: apt-cdrom.8.xml:146
1444 "No Changes; Do not change the &sources-list; file and do not write index "
1445 "files. Everything is still checked however. Configuration Item: "
1446 "<literal>APT::CDROM::NoAct</literal>."
1449 #. type: Content of: <refentry><refsect1><para>
1450 #: apt-cdrom.8.xml:159
1452 msgid "&apt-conf;, &apt-get;, &sources-list;"
1453 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
1455 #. type: Content of: <refentry><refsect1><para>
1456 #: apt-cdrom.8.xml:164
1458 "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
1462 #. The last update date
1463 #. type: Content of: <refentry><refentryinfo>
1464 #: apt-config.8.xml:16 apt-extracttemplates.1.xml:16 apt-sortpkgs.1.xml:16
1465 #: sources.list.5.xml:16
1467 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>29 "
1468 "February 2004</date>"
1471 #. type: Content of: <refentry><refnamediv><refname>
1472 #: apt-config.8.xml:25 apt-config.8.xml:32
1476 #. type: Content of: <refentry><refnamediv><refpurpose>
1477 #: apt-config.8.xml:33
1478 msgid "APT Configuration Query program"
1481 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1482 #: apt-config.8.xml:39
1484 "<command>apt-config</command> <arg><option>-hv</option></arg> <arg><option>-"
1485 "o=<replaceable>config string</replaceable></option></arg> <arg><option>-"
1486 "c=<replaceable>file</replaceable></option></arg> <group choice=\"req\"> "
1487 "<arg>shell</arg> <arg>dump</arg> </group>"
1490 #. type: Content of: <refentry><refsect1><para>
1491 #: apt-config.8.xml:51
1493 "<command>apt-config</command> is an internal program used by various "
1494 "portions of the APT suite to provide consistent configurability. It accesses "
1495 "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
1496 "manner that is easy to use by scripted applications."
1499 #. type: Content of: <refentry><refsect1><para>
1500 #: apt-config.8.xml:56 apt-ftparchive.1.xml:75
1502 "Unless the <option>-h</option>, or <option>--help</option> option is given "
1503 "one of the commands below must be present."
1506 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1507 #: apt-config.8.xml:61
1511 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1512 #: apt-config.8.xml:63
1514 "shell is used to access the configuration information from a shell script. "
1515 "It is given pairs of arguments, the first being a shell variable and the "
1516 "second the configuration value to query. As output it lists a series of "
1517 "shell assignments commands for each present value. In a shell script it "
1518 "should be used like:"
1521 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
1522 #: apt-config.8.xml:71
1526 "RES=`apt-config shell OPTS MyApp::options`\n"
1530 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1531 #: apt-config.8.xml:76
1533 "This will set the shell environment variable $OPTS to the value of MyApp::"
1534 "options with a default of <option>-f</option>."
1537 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1538 #: apt-config.8.xml:80
1540 "The configuration item may be postfixed with a /[fdbi]. f returns file "
1541 "names, d returns directories, b returns true or false and i returns an "
1542 "integer. Each of the returns is normalized and verified internally."
1545 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1546 #: apt-config.8.xml:89
1547 msgid "Just show the contents of the configuration space."
1550 #. type: Content of: <refentry><refsect1><para>
1551 #: apt-config.8.xml:107 apt-extracttemplates.1.xml:78 apt-ftparchive.1.xml:629
1552 #: apt-sortpkgs.1.xml:73
1560 #. type: Content of: <refentry><refsect1><para>
1561 #: apt-config.8.xml:112
1563 "<command>apt-config</command> returns zero on normal operation, decimal 100 "
1567 #. type: Content of: <refentry><refnamediv><refname>
1568 #: apt-extracttemplates.1.xml:25 apt-extracttemplates.1.xml:32
1569 msgid "apt-extracttemplates"
1572 #. type: Content of: <refentry><refmeta><manvolnum>
1573 #: apt-extracttemplates.1.xml:26 apt-ftparchive.1.xml:26 apt-sortpkgs.1.xml:26
1577 #. type: Content of: <refentry><refnamediv><refpurpose>
1578 #: apt-extracttemplates.1.xml:33
1579 msgid "Utility to extract DebConf config and templates from Debian packages"
1582 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1583 #: apt-extracttemplates.1.xml:39
1585 "<command>apt-extracttemplates</command> <arg><option>-hv</option></arg> "
1586 "<arg><option>-t=<replaceable>temporary directory</replaceable></option></"
1587 "arg> <arg choice=\"plain\" rep=\"repeat\"><replaceable>file</replaceable></"
1591 #. type: Content of: <refentry><refsect1><para>
1592 #: apt-extracttemplates.1.xml:47
1594 "<command>apt-extracttemplates</command> will take one or more Debian package "
1595 "files as input and write out (to a temporary directory) all associated "
1596 "config scripts and template files. For each passed in package that contains "
1597 "config scripts and templates, one line of output will be generated in the "
1601 #. type: Content of: <refentry><refsect1><para>
1602 #: apt-extracttemplates.1.xml:52
1603 msgid "package version template-file config-script"
1606 #. type: Content of: <refentry><refsect1><para>
1607 #: apt-extracttemplates.1.xml:53
1609 "template-file and config-script are written to the temporary directory "
1610 "specified by the -t or --tempdir (<literal>APT::ExtractTemplates::TempDir</"
1611 "literal>) directory, with filenames of the form <filename>package.template."
1612 "XXXX</filename> and <filename>package.config.XXXX</filename>"
1615 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1616 #: apt-extracttemplates.1.xml:63 apt-get.8.xml:504
1617 msgid "<option>-t</option>"
1620 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1621 #: apt-extracttemplates.1.xml:63
1622 msgid "<option>--tempdir</option>"
1625 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1626 #: apt-extracttemplates.1.xml:65
1628 "Temporary directory in which to write extracted debconf template files and "
1629 "config scripts. Configuration Item: <literal>APT::ExtractTemplates::"
1633 #. type: Content of: <refentry><refsect1><para>
1634 #: apt-extracttemplates.1.xml:82
1636 "<command>apt-extracttemplates</command> returns zero on normal operation, "
1637 "decimal 100 on error."
1640 #. The last update date
1641 #. type: Content of: <refentry><refentryinfo>
1642 #: apt-ftparchive.1.xml:16
1644 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>17 "
1645 "August 2009</date>"
1648 #. type: Content of: <refentry><refnamediv><refname>
1649 #: apt-ftparchive.1.xml:25 apt-ftparchive.1.xml:32
1650 msgid "apt-ftparchive"
1653 #. type: Content of: <refentry><refnamediv><refpurpose>
1654 #: apt-ftparchive.1.xml:33
1655 msgid "Utility to generate index files"
1658 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1659 #: apt-ftparchive.1.xml:39
1661 "<command>apt-ftparchive</command> <arg><option>-hvdsq</option></arg> "
1662 "<arg><option>--md5</option></arg> <arg><option>--delink</option></arg> "
1663 "<arg><option>--readonly</option></arg> <arg><option>--contents</option></"
1664 "arg> <arg><option>--arch <replaceable>architecture</replaceable></option></"
1665 "arg> <arg><option>-o <replaceable>config</replaceable>=<replaceable>string</"
1666 "replaceable></option></arg> <arg><option>-c=<replaceable>file</replaceable></"
1667 "option></arg> <group choice=\"req\"> <arg>packages<arg choice=\"plain\" rep="
1668 "\"repeat\"><replaceable>path</replaceable></arg><arg><replaceable>override</"
1669 "replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> "
1670 "<arg>sources<arg choice=\"plain\" rep=\"repeat\"><replaceable>path</"
1671 "replaceable></arg><arg><replaceable>override</"
1672 "replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> "
1673 "<arg>contents <arg choice=\"plain\"><replaceable>path</replaceable></arg></"
1674 "arg> <arg>release <arg choice=\"plain\"><replaceable>path</replaceable></"
1675 "arg></arg> <arg>generate <arg choice=\"plain\"><replaceable>config-file</"
1676 "replaceable></arg> <arg choice=\"plain\" rep=\"repeat"
1677 "\"><replaceable>section</replaceable></arg></arg> <arg>clean <arg choice="
1678 "\"plain\"><replaceable>config-file</replaceable></arg></arg> </group>"
1681 #. type: Content of: <refentry><refsect1><para>
1682 #: apt-ftparchive.1.xml:60
1684 "<command>apt-ftparchive</command> is the command line tool that generates "
1685 "the index files that APT uses to access a distribution source. The index "
1686 "files should be generated on the origin site based on the content of that "
1690 #. type: Content of: <refentry><refsect1><para>
1691 #: apt-ftparchive.1.xml:64
1693 "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
1694 "program, incorporating its entire functionality via the <literal>packages</"
1695 "literal> command. It also contains a contents file generator, "
1696 "<literal>contents</literal>, and an elaborate means to 'script' the "
1697 "generation process for a complete archive."
1700 #. type: Content of: <refentry><refsect1><para>
1701 #: apt-ftparchive.1.xml:70
1703 "Internally <command>apt-ftparchive</command> can make use of binary "
1704 "databases to cache the contents of a .deb file and it does not rely on any "
1705 "external programs aside from &gzip;. When doing a full generate it "
1706 "automatically performs file-change checks and builds the desired compressed "
1710 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1711 #: apt-ftparchive.1.xml:79
1715 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1716 #: apt-ftparchive.1.xml:81
1718 "The packages command generates a package file from a directory tree. It "
1719 "takes the given directory and recursively searches it for .deb files, "
1720 "emitting a package record to stdout for each. This command is approximately "
1721 "equivalent to &dpkg-scanpackages;."
1724 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1725 #: apt-ftparchive.1.xml:86 apt-ftparchive.1.xml:110
1727 "The option <option>--db</option> can be used to specify a binary caching DB."
1730 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1731 #: apt-ftparchive.1.xml:89
1735 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1736 #: apt-ftparchive.1.xml:91
1738 "The <literal>sources</literal> command generates a source index file from a "
1739 "directory tree. It takes the given directory and recursively searches it "
1740 "for .dsc files, emitting a source record to stdout for each. This command is "
1741 "approximately equivalent to &dpkg-scansources;."
1744 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1745 #: apt-ftparchive.1.xml:96
1747 "If an override file is specified then a source override file will be looked "
1748 "for with an extension of .src. The --source-override option can be used to "
1749 "change the source override file that will be used."
1752 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1753 #: apt-ftparchive.1.xml:101
1757 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1758 #: apt-ftparchive.1.xml:103
1760 "The <literal>contents</literal> command generates a contents file from a "
1761 "directory tree. It takes the given directory and recursively searches it "
1762 "for .deb files, and reads the file list from each file. It then sorts and "
1763 "writes to stdout the list of files matched to packages. Directories are not "
1764 "written to the output. If multiple packages own the same file then each "
1765 "package is separated by a comma in the output."
1768 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1769 #: apt-ftparchive.1.xml:113
1773 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1774 #: apt-ftparchive.1.xml:115
1776 "The <literal>release</literal> command generates a Release file from a "
1777 "directory tree. It recursively searches the given directory for uncompressed "
1778 "<filename>Packages</filename> and <filename>Sources</filename> files and the "
1779 "ones compressed with <command>gzip</command>, <command>bzip2</command> or "
1780 "<command>lzma</command> as well as <filename>Release</filename> and "
1781 "<filename>md5sum.txt</filename> files by default (<literal>APT::FTPArchive::"
1782 "Release::Default-Patterns</literal>). Additional filename patterns can be "
1783 "added by listing them in <literal>APT::FTPArchive::Release::Patterns</"
1784 "literal>. It then writes to stdout a Release file containing a MD5, SHA1 "
1785 "and SHA256 digest for each file."
1788 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1789 #: apt-ftparchive.1.xml:125
1791 "Values for the additional metadata fields in the Release file are taken from "
1792 "the corresponding variables under <literal>APT::FTPArchive::Release</"
1793 "literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
1794 "supported fields are: <literal>Origin</literal>, <literal>Label</literal>, "
1795 "<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
1796 "literal>, <literal>Date</literal>, <literal>Valid-Until</literal>, "
1797 "<literal>Architectures</literal>, <literal>Components</literal>, "
1798 "<literal>Description</literal>."
1801 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1802 #: apt-ftparchive.1.xml:136
1806 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1807 #: apt-ftparchive.1.xml:138
1809 "The <literal>generate</literal> command is designed to be runnable from a "
1810 "cron script and builds indexes according to the given config file. The "
1811 "config language provides a flexible means of specifying which index files "
1812 "are built from which directories, as well as providing a simple means of "
1813 "maintaining the required settings."
1816 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1817 #: apt-ftparchive.1.xml:145 apt-get.8.xml:287
1821 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1822 #: apt-ftparchive.1.xml:147
1824 "The <literal>clean</literal> command tidies the databases used by the given "
1825 "configuration file by removing any records that are no longer necessary."
1828 #. type: Content of: <refentry><refsect1><title>
1829 #: apt-ftparchive.1.xml:153
1830 msgid "The Generate Configuration"
1833 #. type: Content of: <refentry><refsect1><para>
1834 #: apt-ftparchive.1.xml:155
1836 "The <literal>generate</literal> command uses a configuration file to "
1837 "describe the archives that are going to be generated. It follows the typical "
1838 "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
1839 "conf; contains a description of the syntax. Note that the generate "
1840 "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
1841 "tree manner. This only effects how the scope tag is handled."
1844 #. type: Content of: <refentry><refsect1><para>
1845 #: apt-ftparchive.1.xml:163
1847 "The generate configuration has 4 separate sections, each described below."
1850 #. type: Content of: <refentry><refsect1><refsect2><title>
1851 #: apt-ftparchive.1.xml:165
1856 #. type: Content of: <refentry><refsect1><refsect2><para>
1857 #: apt-ftparchive.1.xml:167
1859 "The <literal>Dir</literal> section defines the standard directories needed "
1860 "to locate the files required during the generation process. These "
1861 "directories are prepended certain relative paths defined in later sections "
1862 "to produce a complete an absolute path."
1865 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1866 #: apt-ftparchive.1.xml:172
1870 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1871 #: apt-ftparchive.1.xml:174
1873 "Specifies the root of the FTP archive, in a standard Debian configuration "
1874 "this is the directory that contains the <filename>ls-LR</filename> and dist "
1878 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1879 #: apt-ftparchive.1.xml:179
1883 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1884 #: apt-ftparchive.1.xml:181
1885 msgid "Specifies the location of the override files."
1888 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1889 #: apt-ftparchive.1.xml:184
1893 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1894 #: apt-ftparchive.1.xml:186
1895 msgid "Specifies the location of the cache files"
1898 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1899 #: apt-ftparchive.1.xml:189
1903 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1904 #: apt-ftparchive.1.xml:191
1906 "Specifies the location of the file list files, if the <literal>FileList</"
1907 "literal> setting is used below."
1910 #. type: Content of: <refentry><refsect1><refsect2><title>
1911 #: apt-ftparchive.1.xml:197
1912 msgid "Default Section"
1915 #. type: Content of: <refentry><refsect1><refsect2><para>
1916 #: apt-ftparchive.1.xml:199
1918 "The <literal>Default</literal> section specifies default values, and "
1919 "settings that control the operation of the generator. Other sections may "
1920 "override these defaults with a per-section setting."
1923 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1924 #: apt-ftparchive.1.xml:203
1925 msgid "Packages::Compress"
1928 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1929 #: apt-ftparchive.1.xml:205
1931 "Sets the default compression schemes to use for the Package index files. It "
1932 "is a string that contains a space separated list of at least one of: '.' (no "
1933 "compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
1937 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1938 #: apt-ftparchive.1.xml:211
1939 msgid "Packages::Extensions"
1942 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1943 #: apt-ftparchive.1.xml:213
1945 "Sets the default list of file extensions that are package files. This "
1946 "defaults to '.deb'."
1949 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1950 #: apt-ftparchive.1.xml:217
1951 msgid "Sources::Compress"
1954 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1955 #: apt-ftparchive.1.xml:219
1957 "This is similar to <literal>Packages::Compress</literal> except that it "
1958 "controls the compression for the Sources files."
1961 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1962 #: apt-ftparchive.1.xml:223
1963 msgid "Sources::Extensions"
1966 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1967 #: apt-ftparchive.1.xml:225
1969 "Sets the default list of file extensions that are source files. This "
1970 "defaults to '.dsc'."
1973 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1974 #: apt-ftparchive.1.xml:229
1975 msgid "Contents::Compress"
1978 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1979 #: apt-ftparchive.1.xml:231
1981 "This is similar to <literal>Packages::Compress</literal> except that it "
1982 "controls the compression for the Contents files."
1985 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1986 #: apt-ftparchive.1.xml:235
1987 msgid "Translation::Compress"
1990 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
1991 #: apt-ftparchive.1.xml:237
1993 "This is similar to <literal>Packages::Compress</literal> except that it "
1994 "controls the compression for the Translation-en master file."
1997 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
1998 #: apt-ftparchive.1.xml:241
2002 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2003 #: apt-ftparchive.1.xml:243
2005 "Specifies the number of kilobytes to delink (and replace with hard links) "
2006 "per run. This is used in conjunction with the per-section <literal>External-"
2007 "Links</literal> setting."
2010 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2011 #: apt-ftparchive.1.xml:248
2015 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2016 #: apt-ftparchive.1.xml:250
2018 "Specifies the mode of all created index files. It defaults to 0644. All "
2019 "index files are set to this mode with no regard to the umask."
2022 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2023 #: apt-ftparchive.1.xml:255 apt-ftparchive.1.xml:401
2025 msgid "LongDescription"
2028 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2029 #: apt-ftparchive.1.xml:257 apt-ftparchive.1.xml:403
2031 "Sets if long descriptions should be included in the Packages file or split "
2032 "out into a master Translation-en file."
2035 #. type: Content of: <refentry><refsect1><refsect2><title>
2036 #: apt-ftparchive.1.xml:263
2037 msgid "TreeDefault Section"
2040 #. type: Content of: <refentry><refsect1><refsect2><para>
2041 #: apt-ftparchive.1.xml:265
2043 "Sets defaults specific to <literal>Tree</literal> sections. All of these "
2044 "variables are substitution variables and have the strings $(DIST), "
2045 "$(SECTION) and $(ARCH) replaced with their respective values."
2048 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2049 #: apt-ftparchive.1.xml:270
2050 msgid "MaxContentsChange"
2053 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2054 #: apt-ftparchive.1.xml:272
2056 "Sets the number of kilobytes of contents files that are generated each day. "
2057 "The contents files are round-robined so that over several days they will all "
2061 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2062 #: apt-ftparchive.1.xml:277
2066 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2067 #: apt-ftparchive.1.xml:279
2069 "Controls the number of days a contents file is allowed to be checked without "
2070 "changing. If this limit is passed the mtime of the contents file is updated. "
2071 "This case can occur if the package file is changed in such a way that does "
2072 "not result in a new contents file [override edit for instance]. A hold off "
2073 "is allowed in hopes that new .debs will be installed, requiring a new file "
2074 "anyhow. The default is 10, the units are in days."
2077 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2078 #: apt-ftparchive.1.xml:288
2082 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2083 #: apt-ftparchive.1.xml:290
2085 "Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
2086 "$(SECTION)/binary-$(ARCH)/</filename>"
2089 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2090 #: apt-ftparchive.1.xml:294
2091 msgid "SrcDirectory"
2094 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2095 #: apt-ftparchive.1.xml:296
2097 "Sets the top of the source package directory tree. Defaults to <filename>"
2098 "$(DIST)/$(SECTION)/source/</filename>"
2101 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2102 #: apt-ftparchive.1.xml:300 apt-ftparchive.1.xml:439
2106 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2107 #: apt-ftparchive.1.xml:302
2109 "Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
2110 "binary-$(ARCH)/Packages</filename>"
2113 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2114 #: apt-ftparchive.1.xml:306 apt-ftparchive.1.xml:444
2118 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2119 #: apt-ftparchive.1.xml:308
2121 "Sets the output Sources file. Defaults to <filename>$(DIST)/$(SECTION)/"
2122 "source/Sources</filename>"
2125 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2126 #: apt-ftparchive.1.xml:312
2131 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2132 #: apt-ftparchive.1.xml:314
2134 "Set the output Translation-en master file with the long descriptions if they "
2135 "should be not included in the Packages file. Defaults to <filename>$(DIST)/"
2136 "$(SECTION)/i18n/Translation-en</filename>"
2139 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2140 #: apt-ftparchive.1.xml:319
2141 msgid "InternalPrefix"
2144 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2145 #: apt-ftparchive.1.xml:321
2147 "Sets the path prefix that causes a symlink to be considered an internal link "
2148 "instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
2152 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2153 #: apt-ftparchive.1.xml:326 apt-ftparchive.1.xml:450
2157 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2158 #: apt-ftparchive.1.xml:328
2160 "Sets the output Contents file. Defaults to <filename>$(DIST)/Contents-$(ARCH)"
2161 "</filename>. If this setting causes multiple Packages files to map onto a "
2162 "single Contents file (such as the default) then <command>apt-ftparchive</"
2163 "command> will integrate those package files together automatically."
2166 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2167 #: apt-ftparchive.1.xml:335
2168 msgid "Contents::Header"
2171 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2172 #: apt-ftparchive.1.xml:337
2173 msgid "Sets header file to prepend to the contents output."
2176 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2177 #: apt-ftparchive.1.xml:340 apt-ftparchive.1.xml:475
2181 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2182 #: apt-ftparchive.1.xml:342
2184 "Sets the binary cache database to use for this section. Multiple sections "
2185 "can share the same database."
2188 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2189 #: apt-ftparchive.1.xml:346
2193 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2194 #: apt-ftparchive.1.xml:348
2196 "Specifies that instead of walking the directory tree, <command>apt-"
2197 "ftparchive</command> should read the list of files from the given file. "
2198 "Relative files names are prefixed with the archive directory."
2201 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2202 #: apt-ftparchive.1.xml:353
2203 msgid "SourceFileList"
2206 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2207 #: apt-ftparchive.1.xml:355
2209 "Specifies that instead of walking the directory tree, <command>apt-"
2210 "ftparchive</command> should read the list of files from the given file. "
2211 "Relative files names are prefixed with the archive directory. This is used "
2212 "when processing source indexes."
2215 #. type: Content of: <refentry><refsect1><refsect2><title>
2216 #: apt-ftparchive.1.xml:363
2217 msgid "Tree Section"
2220 #. type: Content of: <refentry><refsect1><refsect2><para>
2221 #: apt-ftparchive.1.xml:365
2223 "The <literal>Tree</literal> section defines a standard Debian file tree "
2224 "which consists of a base directory, then multiple sections in that base "
2225 "directory and finally multiple Architectures in each section. The exact "
2226 "pathing used is defined by the <literal>Directory</literal> substitution "
2230 #. type: Content of: <refentry><refsect1><refsect2><para>
2231 #: apt-ftparchive.1.xml:370
2233 "The <literal>Tree</literal> section takes a scope tag which sets the "
2234 "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
2235 "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
2236 "setting such as <filename>dists/&stable-codename;</filename>."
2239 #. type: Content of: <refentry><refsect1><refsect2><para>
2240 #: apt-ftparchive.1.xml:375
2242 "All of the settings defined in the <literal>TreeDefault</literal> section "
2243 "can be use in a <literal>Tree</literal> section as well as three new "
2247 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
2248 #: apt-ftparchive.1.xml:381
2251 "for i in Sections do \n"
2252 " for j in Architectures do\n"
2253 " Generate for DIST=scope SECTION=i ARCH=j\n"
2257 #. type: Content of: <refentry><refsect1><refsect2><para>
2258 #: apt-ftparchive.1.xml:378
2260 "When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
2261 "command> performs an operation similar to: <placeholder type=\"programlisting"
2265 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2266 #: apt-ftparchive.1.xml:387
2271 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2272 #: apt-ftparchive.1.xml:389
2274 "This is a space separated list of sections which appear under the "
2275 "distribution, typically this is something like <literal>main contrib non-"
2279 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2280 #: apt-ftparchive.1.xml:394
2281 msgid "Architectures"
2284 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2285 #: apt-ftparchive.1.xml:396
2287 "This is a space separated list of all the architectures that appear under "
2288 "search section. The special architecture 'source' is used to indicate that "
2289 "this tree has a source archive."
2292 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2293 #: apt-ftparchive.1.xml:407 apt-ftparchive.1.xml:455
2297 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2298 #: apt-ftparchive.1.xml:409
2300 "Sets the binary override file. The override file contains section, priority "
2301 "and maintainer address information."
2304 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2305 #: apt-ftparchive.1.xml:413 apt-ftparchive.1.xml:460
2309 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2310 #: apt-ftparchive.1.xml:415
2312 "Sets the source override file. The override file contains section "
2316 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2317 #: apt-ftparchive.1.xml:419 apt-ftparchive.1.xml:465
2318 msgid "ExtraOverride"
2321 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2322 #: apt-ftparchive.1.xml:421 apt-ftparchive.1.xml:467
2323 msgid "Sets the binary extra override file."
2326 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2327 #: apt-ftparchive.1.xml:424 apt-ftparchive.1.xml:470
2328 msgid "SrcExtraOverride"
2331 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2332 #: apt-ftparchive.1.xml:426 apt-ftparchive.1.xml:472
2333 msgid "Sets the source extra override file."
2336 #. type: Content of: <refentry><refsect1><refsect2><title>
2337 #: apt-ftparchive.1.xml:431
2338 msgid "BinDirectory Section"
2341 #. type: Content of: <refentry><refsect1><refsect2><para>
2342 #: apt-ftparchive.1.xml:433
2344 "The <literal>bindirectory</literal> section defines a binary directory tree "
2345 "with no special structure. The scope tag specifies the location of the "
2346 "binary directory and the settings are similar to the <literal>Tree</literal> "
2347 "section with no substitution variables or <literal>Section</"
2348 "literal><literal>Architecture</literal> settings."
2351 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2352 #: apt-ftparchive.1.xml:441
2353 msgid "Sets the Packages file output."
2356 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2357 #: apt-ftparchive.1.xml:446
2359 "Sets the Sources file output. At least one of <literal>Packages</literal> or "
2360 "<literal>Sources</literal> is required."
2363 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2364 #: apt-ftparchive.1.xml:452
2365 msgid "Sets the Contents file output. (optional)"
2368 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2369 #: apt-ftparchive.1.xml:457
2370 msgid "Sets the binary override file."
2373 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2374 #: apt-ftparchive.1.xml:462
2375 msgid "Sets the source override file."
2378 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2379 #: apt-ftparchive.1.xml:477
2380 msgid "Sets the cache DB."
2383 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2384 #: apt-ftparchive.1.xml:480
2388 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2389 #: apt-ftparchive.1.xml:482
2390 msgid "Appends a path to all the output paths."
2393 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2394 #: apt-ftparchive.1.xml:485
2395 msgid "FileList, SourceFileList"
2398 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2399 #: apt-ftparchive.1.xml:487
2400 msgid "Specifies the file list file."
2403 #. type: Content of: <refentry><refsect1><title>
2404 #: apt-ftparchive.1.xml:494
2405 msgid "The Binary Override File"
2408 #. type: Content of: <refentry><refsect1><para>
2409 #: apt-ftparchive.1.xml:495
2411 "The binary override file is fully compatible with &dpkg-scanpackages;. It "
2412 "contains 4 fields separated by spaces. The first field is the package name, "
2413 "the second is the priority to force that package to, the third is the the "
2414 "section to force that package to and the final field is the maintainer "
2415 "permutation field."
2418 #. type: Content of: <refentry><refsect1><para><literallayout>
2419 #: apt-ftparchive.1.xml:501
2421 msgid "old [// oldn]* => new"
2424 #. type: Content of: <refentry><refsect1><para><literallayout>
2425 #: apt-ftparchive.1.xml:503
2430 #. type: Content of: <refentry><refsect1><para>
2431 #: apt-ftparchive.1.xml:500
2433 "The general form of the maintainer field is: <placeholder type="
2434 "\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
2435 "id=\"1\"/> The first form allows a double-slash separated list of old email "
2436 "addresses to be specified. If any of those are found then new is substituted "
2437 "for the maintainer field. The second form unconditionally substitutes the "
2441 #. type: Content of: <refentry><refsect1><title>
2442 #: apt-ftparchive.1.xml:511
2443 msgid "The Source Override File"
2446 #. type: Content of: <refentry><refsect1><para>
2447 #: apt-ftparchive.1.xml:513
2449 "The source override file is fully compatible with &dpkg-scansources;. It "
2450 "contains 2 fields separated by spaces. The first fields is the source "
2451 "package name, the second is the section to assign it."
2454 #. type: Content of: <refentry><refsect1><title>
2455 #: apt-ftparchive.1.xml:518
2456 msgid "The Extra Override File"
2459 #. type: Content of: <refentry><refsect1><para>
2460 #: apt-ftparchive.1.xml:520
2462 "The extra override file allows any arbitrary tag to be added or replaced in "
2463 "the output. It has 3 columns, the first is the package, the second is the "
2464 "tag and the remainder of the line is the new value."
2467 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2468 #: apt-ftparchive.1.xml:529
2470 "<option>--md5</option>, <option>--sha1</option>, <option>--sha256</option>"
2473 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2474 #: apt-ftparchive.1.xml:531
2476 "Generate the given checksum. These options default to on, when turned off "
2477 "the generated index files will not have the checksum fields where possible. "
2478 "Configuration Items: <literal>APT::FTPArchive::<replaceable>Checksum</"
2479 "replaceable></literal> and <literal>APT::FTPArchive::<replaceable>Index</"
2480 "replaceable>::<replaceable>Checksum</replaceable></literal> where "
2481 "<literal><replaceable>Index</replaceable></literal> can be "
2482 "<literal>Packages</literal>, <literal>Sources</literal> or <literal>Release</"
2483 "literal> and <literal><replaceable>Checksum</replaceable></literal> can be "
2484 "<literal>MD5</literal>, <literal>SHA1</literal> or <literal>SHA256</literal>."
2487 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2488 #: apt-ftparchive.1.xml:540
2489 msgid "<option>--db</option>"
2492 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2493 #: apt-ftparchive.1.xml:542
2495 "Use a binary caching DB. This has no effect on the generate command. "
2496 "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
2499 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2500 #: apt-ftparchive.1.xml:548
2502 "Quiet; produces output suitable for logging, omitting progress indicators. "
2503 "More q's will produce more quiet up to a maximum of 2. You can also use "
2504 "<option>-q=#</option> to set the quiet level, overriding the configuration "
2505 "file. Configuration Item: <literal>quiet</literal>."
2508 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2509 #: apt-ftparchive.1.xml:554
2510 msgid "<option>--delink</option>"
2513 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2514 #: apt-ftparchive.1.xml:556
2516 "Perform Delinking. If the <literal>External-Links</literal> setting is used "
2517 "then this option actually enables delinking of the files. It defaults to on "
2518 "and can be turned off with <option>--no-delink</option>. Configuration "
2519 "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
2522 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2523 #: apt-ftparchive.1.xml:562
2524 msgid "<option>--contents</option>"
2527 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2528 #: apt-ftparchive.1.xml:564
2530 "Perform contents generation. When this option is set and package indexes are "
2531 "being generated with a cache DB then the file listing will also be extracted "
2532 "and stored in the DB for later use. When using the generate command this "
2533 "option also allows the creation of any Contents files. The default is on. "
2534 "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
2537 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2538 #: apt-ftparchive.1.xml:572
2539 msgid "<option>--source-override</option>"
2542 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2543 #: apt-ftparchive.1.xml:574
2545 "Select the source override file to use with the <literal>sources</literal> "
2546 "command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
2550 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2551 #: apt-ftparchive.1.xml:578
2552 msgid "<option>--readonly</option>"
2555 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2556 #: apt-ftparchive.1.xml:580
2558 "Make the caching databases read only. Configuration Item: <literal>APT::"
2559 "FTPArchive::ReadOnlyDB</literal>."
2562 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2563 #: apt-ftparchive.1.xml:584
2564 msgid "<option>--arch</option>"
2567 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2568 #: apt-ftparchive.1.xml:585
2570 "Accept in the <literal>packages</literal> and <literal>contents</literal> "
2571 "commands only package files matching <literal>*_arch.deb</literal> or "
2572 "<literal>*_all.deb</literal> instead of all package files in the given "
2573 "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
2576 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2577 #: apt-ftparchive.1.xml:591
2578 msgid "<option>APT::FTPArchive::AlwaysStat</option>"
2581 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2582 #: apt-ftparchive.1.xml:593
2584 "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
2585 "packages are recompiled and/or republished with the same version again, this "
2586 "will lead to problems as the now outdated cached metadata like size and "
2587 "checksums will be used. With this option enabled this will no longer happen "
2588 "as it will be checked if the file was changed. Note that this option is set "
2589 "to \"<literal>false</literal>\" by default as it is not recommend to upload "
2590 "multiply versions/builds of a package with the same versionnumber, so in "
2591 "theory nobody will have these problems and therefore all these extra checks "
2595 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2596 #: apt-ftparchive.1.xml:603
2597 msgid "<option>APT::FTPArchive::LongDescription</option>"
2600 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2601 #: apt-ftparchive.1.xml:605
2603 "This configuration option defaults to \"<literal>true</literal>\" and should "
2604 "only be set to <literal>\"false\"</literal> if the Archive generated with "
2605 "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
2606 "that the <filename>Translation-en</filename> master file can only be created "
2607 "in the generate command."
2610 #. type: Content of: <refentry><refsect1><title>
2611 #: apt-ftparchive.1.xml:617 apt.conf.5.xml:1087 apt_preferences.5.xml:544
2612 #: sources.list.5.xml:198
2617 #. type: Content of: <refentry><refsect1><para><programlisting>
2618 #: apt-ftparchive.1.xml:623
2620 msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
2623 #. type: Content of: <refentry><refsect1><para>
2624 #: apt-ftparchive.1.xml:619
2626 "To create a compressed Packages file for a directory containing binary "
2627 "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
2630 #. type: Content of: <refentry><refsect1><para>
2631 #: apt-ftparchive.1.xml:633
2633 "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
2637 #. The last update date
2638 #. type: Content of: <refentry><refentryinfo>
2641 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>08 "
2642 "November 2008</date>"
2645 #. type: <heading></heading>
2646 #: apt-get.8.xml:25 apt-get.8.xml:32 guide.sgml:96
2650 #. type: Content of: <refentry><refnamediv><refpurpose>
2652 msgid "APT package handling utility -- command-line interface"
2655 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
2658 "<command>apt-get</command> <arg><option>-sqdyfmubV</option></arg> <arg> "
2659 "<option>-o= <replaceable>config_string</replaceable> </option> </arg> <arg> "
2660 "<option>-c= <replaceable>config_file</replaceable> </option> </arg> <arg> "
2661 "<option>-t=</option> <arg choice='plain'> <replaceable>target_release</"
2662 "replaceable> </arg> </arg> <group choice=\"req\"> <arg "
2663 "choice='plain'>update</arg> <arg choice='plain'>upgrade</arg> <arg "
2664 "choice='plain'>dselect-upgrade</arg> <arg choice='plain'>dist-upgrade</arg> "
2665 "<arg choice='plain'>install <arg choice=\"plain\" rep=\"repeat"
2666 "\"><replaceable>pkg</replaceable> <arg> <group choice='req'> <arg "
2667 "choice='plain'> =<replaceable>pkg_version_number</replaceable> </arg> <arg "
2668 "choice='plain'> /<replaceable>target_release</replaceable> </arg> </group> </"
2669 "arg> </arg> </arg> <arg choice='plain'>remove <arg choice=\"plain\" rep="
2670 "\"repeat\"><replaceable>pkg</replaceable></arg></arg> <arg "
2671 "choice='plain'>purge <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
2672 "replaceable></arg></arg> <arg choice='plain'>source <arg choice=\"plain\" "
2673 "rep=\"repeat\"><replaceable>pkg</replaceable> <arg> <group choice='req'> "
2674 "<arg choice='plain'> =<replaceable>pkg_version_number</replaceable> </arg> "
2675 "<arg choice='plain'> /<replaceable>target_release</replaceable> </arg> </"
2676 "group> </arg> </arg> </arg> <arg choice='plain'>build-dep <arg choice=\"plain"
2677 "\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> <arg "
2678 "choice='plain'>check</arg> <arg choice='plain'>clean</arg> <arg "
2679 "choice='plain'>autoclean</arg> <arg choice='plain'>autoremove</arg> <arg "
2680 "choice='plain'> <group choice='req'> <arg choice='plain'>-v</arg> <arg "
2681 "choice='plain'>--version</arg> </group> </arg> <arg choice='plain'> <group "
2682 "choice='req'> <arg choice='plain'>-h</arg> <arg choice='plain'>--help</arg> "
2683 "</group> </arg> </group>"
2686 #. type: Content of: <refentry><refsect1><para>
2687 #: apt-get.8.xml:115
2689 "<command>apt-get</command> is the command-line tool for handling packages, "
2690 "and may be considered the user's \"back-end\" to other tools using the APT "
2691 "library. Several \"front-end\" interfaces exist, such as &dselect;, "
2692 "&aptitude;, &synaptic; and &wajig;."
2695 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2696 #: apt-get.8.xml:124 apt-key.8.xml:127
2700 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2701 #: apt-get.8.xml:125
2703 "<literal>update</literal> is used to resynchronize the package index files "
2704 "from their sources. The indexes of available packages are fetched from the "
2705 "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
2706 "example, when using a Debian archive, this command retrieves and scans the "
2707 "<filename>Packages.gz</filename> files, so that information about new and "
2708 "updated packages is available. An <literal>update</literal> should always be "
2709 "performed before an <literal>upgrade</literal> or <literal>dist-upgrade</"
2710 "literal>. Please be aware that the overall progress meter will be incorrect "
2711 "as the size of the package files cannot be known in advance."
2714 #. type: <tag></tag>
2715 #: apt-get.8.xml:136 guide.sgml:121
2719 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2720 #: apt-get.8.xml:137
2722 "<literal>upgrade</literal> is used to install the newest versions of all "
2723 "packages currently installed on the system from the sources enumerated in "
2724 "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
2725 "with new versions available are retrieved and upgraded; under no "
2726 "circumstances are currently installed packages removed, or packages not "
2727 "already installed retrieved and installed. New versions of currently "
2728 "installed packages that cannot be upgraded without changing the install "
2729 "status of another package will be left at their current version. An "
2730 "<literal>update</literal> must be performed first so that <command>apt-get</"
2731 "command> knows that new versions of packages are available."
2734 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2735 #: apt-get.8.xml:149
2736 msgid "dselect-upgrade"
2739 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2740 #: apt-get.8.xml:150
2742 "<literal>dselect-upgrade</literal> is used in conjunction with the "
2743 "traditional Debian packaging front-end, &dselect;. <literal>dselect-upgrade</"
2744 "literal> follows the changes made by &dselect; to the <literal>Status</"
2745 "literal> field of available packages, and performs the actions necessary to "
2746 "realize that state (for instance, the removal of old and the installation of "
2750 #. type: <tag></tag>
2751 #: apt-get.8.xml:159 guide.sgml:140
2752 msgid "dist-upgrade"
2755 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2756 #: apt-get.8.xml:160
2758 "<literal>dist-upgrade</literal> in addition to performing the function of "
2759 "<literal>upgrade</literal>, also intelligently handles changing dependencies "
2760 "with new versions of packages; <command>apt-get</command> has a \"smart\" "
2761 "conflict resolution system, and it will attempt to upgrade the most "
2762 "important packages at the expense of less important ones if necessary. So, "
2763 "<literal>dist-upgrade</literal> command may remove some packages. The "
2764 "<filename>/etc/apt/sources.list</filename> file contains a list of locations "
2765 "from which to retrieve desired package files. See also &apt-preferences; "
2766 "for a mechanism for overriding the general settings for individual packages."
2769 #. type: <tag></tag>
2770 #: apt-get.8.xml:172 guide.sgml:131
2774 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2775 #: apt-get.8.xml:174
2777 "<literal>install</literal> is followed by one or more packages desired for "
2778 "installation or upgrading. Each package is a package name, not a fully "
2779 "qualified filename (for instance, in a Debian GNU/Linux system, libc6 would "
2780 "be the argument provided, not <literal>libc6_1.9.6-2.deb</literal>). All "
2781 "packages required by the package(s) specified for installation will also be "
2782 "retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
2783 "file is used to locate the desired packages. If a hyphen is appended to the "
2784 "package name (with no intervening space), the identified package will be "
2785 "removed if it is installed. Similarly a plus sign can be used to designate "
2786 "a package to install. These latter features may be used to override "
2787 "decisions made by apt-get's conflict resolution system."
2790 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2791 #: apt-get.8.xml:192
2793 "A specific version of a package can be selected for installation by "
2794 "following the package name with an equals and the version of the package to "
2795 "select. This will cause that version to be located and selected for install. "
2796 "Alternatively a specific distribution can be selected by following the "
2797 "package name with a slash and the version of the distribution or the Archive "
2798 "name (stable, testing, unstable)."
2801 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2802 #: apt-get.8.xml:199
2804 "Both of the version selection mechanisms can downgrade packages and must be "
2808 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2809 #: apt-get.8.xml:202
2811 "This is also the target to use if you want to upgrade one or more already-"
2812 "installed packages without upgrading every package you have on your system. "
2813 "Unlike the \"upgrade\" target, which installs the newest version of all "
2814 "currently installed packages, \"install\" will install the newest version of "
2815 "only the package(s) specified. Simply provide the name of the package(s) "
2816 "you wish to upgrade, and if a newer version is available, it (and its "
2817 "dependencies, as described above) will be downloaded and installed."
2820 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2821 #: apt-get.8.xml:213
2823 "Finally, the &apt-preferences; mechanism allows you to create an alternative "
2824 "installation policy for individual packages."
2827 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2828 #: apt-get.8.xml:217
2830 "If no package matches the given expression and the expression contains one "
2831 "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
2832 "it is applied to all package names in the database. Any matches are then "
2833 "installed (or removed). Note that matching is done by substring so 'lo.*' "
2834 "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
2835 "expression with a '^' or '$' character, or create a more specific regular "
2839 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2840 #: apt-get.8.xml:226
2844 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2845 #: apt-get.8.xml:227
2847 "<literal>remove</literal> is identical to <literal>install</literal> except "
2848 "that packages are removed instead of installed. Note the removing a package "
2849 "leaves its configuration files in system. If a plus sign is appended to the "
2850 "package name (with no intervening space), the identified package will be "
2851 "installed instead of removed."
2854 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2855 #: apt-get.8.xml:234
2859 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2860 #: apt-get.8.xml:235
2862 "<literal>purge</literal> is identical to <literal>remove</literal> except "
2863 "that packages are removed and purged (any configuration files are deleted "
2867 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2868 #: apt-get.8.xml:239
2872 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2873 #: apt-get.8.xml:240
2875 "<literal>source</literal> causes <command>apt-get</command> to fetch source "
2876 "packages. APT will examine the available packages to decide which source "
2877 "package to fetch. It will then find and download into the current directory "
2878 "the newest available version of that source package while respect the "
2879 "default release, set with the option <literal>APT::Default-Release</"
2880 "literal>, the <option>-t</option> option or per package with the "
2881 "<literal>pkg/release</literal> syntax, if possible."
2884 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2885 #: apt-get.8.xml:248
2887 "Source packages are tracked separately from binary packages via <literal>deb-"
2888 "src</literal> type lines in the &sources-list; file. This means that you "
2889 "will need to add such a line for each repository you want to get sources "
2890 "from. If you don't do this you will properly get another (newer, older or "
2891 "none) source version than the one you have installed or could install."
2894 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2895 #: apt-get.8.xml:255
2897 "If the <option>--compile</option> option is specified then the package will "
2898 "be compiled to a binary .deb using <command>dpkg-buildpackage</command>, if "
2899 "<option>--download-only</option> is specified then the source package will "
2903 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2904 #: apt-get.8.xml:260
2906 "A specific source version can be retrieved by postfixing the source name "
2907 "with an equals and then the version to fetch, similar to the mechanism used "
2908 "for the package files. This enables exact matching of the source package "
2909 "name and version, implicitly enabling the <literal>APT::Get::Only-Source</"
2913 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2914 #: apt-get.8.xml:266
2916 "Note that source packages are not tracked like binary packages, they exist "
2917 "only in the current directory and are similar to downloading source tar "
2921 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2922 #: apt-get.8.xml:271
2926 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2927 #: apt-get.8.xml:272
2929 "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
2930 "attempt to satisfy the build dependencies for a source package."
2933 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2934 #: apt-get.8.xml:276
2938 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2939 #: apt-get.8.xml:277
2941 "<literal>check</literal> is a diagnostic tool; it updates the package cache "
2942 "and checks for broken dependencies."
2945 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2946 #: apt-get.8.xml:281
2950 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2951 #: apt-get.8.xml:282
2953 "<literal>download</literal> will download the given binary package into the "
2954 "current directory."
2957 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2958 #: apt-get.8.xml:288
2960 "<literal>clean</literal> clears out the local repository of retrieved "
2961 "package files. It removes everything but the lock file from "
2962 "<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/archives/"
2963 "partial/</filename>. When APT is used as a &dselect; method, <literal>clean</"
2964 "literal> is run automatically. Those who do not use dselect will likely "
2965 "want to run <literal>apt-get clean</literal> from time to time to free up "
2969 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2970 #: apt-get.8.xml:297
2974 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2975 #: apt-get.8.xml:298
2977 "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
2978 "local repository of retrieved package files. The difference is that it only "
2979 "removes package files that can no longer be downloaded, and are largely "
2980 "useless. This allows a cache to be maintained over a long period without it "
2981 "growing out of control. The configuration option <literal>APT::Clean-"
2982 "Installed</literal> will prevent installed packages from being erased if it "
2986 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2987 #: apt-get.8.xml:307
2991 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2992 #: apt-get.8.xml:308
2994 "<literal>autoremove</literal> is used to remove packages that were "
2995 "automatically installed to satisfy dependencies for some package and that "
2996 "are no more needed."
2999 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3000 #: apt-get.8.xml:312
3004 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3005 #: apt-get.8.xml:313
3007 "<literal>changelog</literal> downloads a package changelog and displays it "
3008 "through <command>sensible-pager</command>. The server name and base "
3009 "directory is defined in the <literal>APT::Changelogs::Server</literal> "
3010 "variable (e. g. <ulink>http://packages.debian.org/changelogs</ulink> for "
3011 "Debian or <ulink>http://changelogs.ubuntu.com/changelogs</ulink> for "
3012 "Ubuntu). By default it displays the changelog for the version that is "
3013 "installed. However, you can specify the same options as for the "
3014 "<option>install</option> command."
3017 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3018 #: apt-get.8.xml:335
3019 msgid "<option>--no-install-recommends</option>"
3022 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3023 #: apt-get.8.xml:336
3025 "Do not consider recommended packages as a dependency for installing. "
3026 "Configuration Item: <literal>APT::Install-Recommends</literal>."
3029 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3030 #: apt-get.8.xml:340
3031 msgid "<option>--install-suggests</option>"
3034 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3035 #: apt-get.8.xml:341
3037 "Consider suggested packages as a dependency for installing. Configuration "
3038 "Item: <literal>APT::Install-Suggests</literal>."
3041 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3042 #: apt-get.8.xml:345
3043 msgid "<option>--download-only</option>"
3046 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3047 #: apt-get.8.xml:346
3049 "Download only; package files are only retrieved, not unpacked or installed. "
3050 "Configuration Item: <literal>APT::Get::Download-Only</literal>."
3053 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3054 #: apt-get.8.xml:350
3055 msgid "<option>--fix-broken</option>"
3058 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3059 #: apt-get.8.xml:351
3061 "Fix; attempt to correct a system with broken dependencies in place. This "
3062 "option, when used with install/remove, can omit any packages to permit APT "
3063 "to deduce a likely solution. If packages are specified, these have to "
3064 "completely correct the problem. The option is sometimes necessary when "
3065 "running APT for the first time; APT itself does not allow broken package "
3066 "dependencies to exist on a system. It is possible that a system's dependency "
3067 "structure can be so corrupt as to require manual intervention (which usually "
3068 "means using &dselect; or <command>dpkg --remove</command> to eliminate some "
3069 "of the offending packages). Use of this option together with <option>-m</"
3070 "option> may produce an error in some situations. Configuration Item: "
3071 "<literal>APT::Get::Fix-Broken</literal>."
3074 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3075 #: apt-get.8.xml:364
3076 msgid "<option>--ignore-missing</option>"
3079 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3080 #: apt-get.8.xml:365
3081 msgid "<option>--fix-missing</option>"
3084 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3085 #: apt-get.8.xml:366
3087 "Ignore missing packages; If packages cannot be retrieved or fail the "
3088 "integrity check after retrieval (corrupted package files), hold back those "
3089 "packages and handle the result. Use of this option together with <option>-f</"
3090 "option> may produce an error in some situations. If a package is selected "
3091 "for installation (particularly if it is mentioned on the command line) and "
3092 "it could not be downloaded then it will be silently held back. "
3093 "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
3096 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3097 #: apt-get.8.xml:376
3098 msgid "<option>--no-download</option>"
3101 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3102 #: apt-get.8.xml:377
3104 "Disables downloading of packages. This is best used with <option>--ignore-"
3105 "missing</option> to force APT to use only the .debs it has already "
3106 "downloaded. Configuration Item: <literal>APT::Get::Download</literal>."
3109 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3110 #: apt-get.8.xml:384
3112 "Quiet; produces output suitable for logging, omitting progress indicators. "
3113 "More q's will produce more quiet up to a maximum of 2. You can also use "
3114 "<option>-q=#</option> to set the quiet level, overriding the configuration "
3115 "file. Note that quiet level 2 implies <option>-y</option>, you should never "
3116 "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
3117 "may decided to do something you did not expect. Configuration Item: "
3118 "<literal>quiet</literal>."
3121 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3122 #: apt-get.8.xml:394
3123 msgid "<option>--simulate</option>"
3126 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3127 #: apt-get.8.xml:396
3128 msgid "<option>--dry-run</option>"
3131 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3132 #: apt-get.8.xml:399
3134 "No action; perform a simulation of events that would occur but do not "
3135 "actually change the system. Configuration Item: <literal>APT::Get::"
3136 "Simulate</literal>."
3139 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3140 #: apt-get.8.xml:403
3142 "Simulation run as user will deactivate locking (<literal>Debug::NoLocking</"
3143 "literal>) automatic. Also a notice will be displayed indicating that this "
3144 "is only a simulation, if the option <literal>APT::Get::Show-User-Simulation-"
3145 "Note</literal> is set (Default: true). Neither NoLocking nor the notice "
3146 "will be triggered if run as root (root should know what he is doing without "
3147 "further warnings by <literal>apt-get</literal>)."
3150 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3151 #: apt-get.8.xml:409
3153 "Simulate prints out a series of lines each one representing a dpkg "
3154 "operation, Configure (Conf), Remove (Remv), Unpack (Inst). Square brackets "
3155 "indicate broken packages and empty set of square brackets meaning breaks "
3156 "that are of no consequence (rare)."
3159 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3160 #: apt-get.8.xml:416
3161 msgid "<option>-y</option>"
3164 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3165 #: apt-get.8.xml:416
3166 msgid "<option>--yes</option>"
3169 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3170 #: apt-get.8.xml:417
3171 msgid "<option>--assume-yes</option>"
3174 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3175 #: apt-get.8.xml:418
3177 "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
3178 "non-interactively. If an undesirable situation, such as changing a held "
3179 "package, trying to install a unauthenticated package or removing an "
3180 "essential package occurs then <literal>apt-get</literal> will abort. "
3181 "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
3184 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3185 #: apt-get.8.xml:425
3186 msgid "<option>-u</option>"
3189 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3190 #: apt-get.8.xml:425
3191 msgid "<option>--show-upgraded</option>"
3194 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3195 #: apt-get.8.xml:426
3197 "Show upgraded packages; Print out a list of all packages that are to be "
3198 "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
3201 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3202 #: apt-get.8.xml:431
3203 msgid "<option>-V</option>"
3206 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3207 #: apt-get.8.xml:431
3208 msgid "<option>--verbose-versions</option>"
3211 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3212 #: apt-get.8.xml:432
3214 "Show full versions for upgraded and installed packages. Configuration Item: "
3215 "<literal>APT::Get::Show-Versions</literal>."
3218 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3219 #: apt-get.8.xml:436
3220 msgid "<option>-b</option>"
3223 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3224 #: apt-get.8.xml:436
3225 msgid "<option>--compile</option>"
3228 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3229 #: apt-get.8.xml:437
3230 msgid "<option>--build</option>"
3233 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3234 #: apt-get.8.xml:438
3236 "Compile source packages after downloading them. Configuration Item: "
3237 "<literal>APT::Get::Compile</literal>."
3240 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3241 #: apt-get.8.xml:442
3242 msgid "<option>--ignore-hold</option>"
3245 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3246 #: apt-get.8.xml:443
3248 "Ignore package Holds; This causes <command>apt-get</command> to ignore a "
3249 "hold placed on a package. This may be useful in conjunction with "
3250 "<literal>dist-upgrade</literal> to override a large number of undesired "
3251 "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
3254 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3255 #: apt-get.8.xml:449
3256 msgid "<option>--no-upgrade</option>"
3259 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3260 #: apt-get.8.xml:450
3262 "Do not upgrade packages; When used in conjunction with <literal>install</"
3263 "literal>, <literal>no-upgrade</literal> will prevent packages on the command "
3264 "line from being upgraded if they are already installed. Configuration Item: "
3265 "<literal>APT::Get::Upgrade</literal>."
3268 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3269 #: apt-get.8.xml:456
3270 msgid "<option>--only-upgrade</option>"
3273 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3274 #: apt-get.8.xml:457
3276 "Do not install new packages; When used in conjunction with <literal>install</"
3277 "literal>, <literal>only-upgrade</literal> will prevent packages on the "
3278 "command line from being upgraded if they are not already installed. "
3279 "Configuration Item: <literal>APT::Get::Only-Upgrade</literal>."
3282 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3283 #: apt-get.8.xml:463
3284 msgid "<option>--force-yes</option>"
3287 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3288 #: apt-get.8.xml:464
3290 "Force yes; This is a dangerous option that will cause apt to continue "
3291 "without prompting if it is doing something potentially harmful. It should "
3292 "not be used except in very special situations. Using <literal>force-yes</"
3293 "literal> can potentially destroy your system! Configuration Item: "
3294 "<literal>APT::Get::force-yes</literal>."
3297 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3298 #: apt-get.8.xml:471
3299 msgid "<option>--print-uris</option>"
3302 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3303 #: apt-get.8.xml:472
3305 "Instead of fetching the files to install their URIs are printed. Each URI "
3306 "will have the path, the destination file name, the size and the expected md5 "
3307 "hash. Note that the file name to write to will not always match the file "
3308 "name on the remote site! This also works with the <literal>source</literal> "
3309 "and <literal>update</literal> commands. When used with the <literal>update</"
3310 "literal> command the MD5 and size are not included, and it is up to the user "
3311 "to decompress any compressed files. Configuration Item: <literal>APT::Get::"
3312 "Print-URIs</literal>."
3315 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3316 #: apt-get.8.xml:482
3317 msgid "<option>--purge</option>"
3320 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3321 #: apt-get.8.xml:483
3323 "Use purge instead of remove for anything that would be removed. An asterisk "
3324 "(\"*\") will be displayed next to packages which are scheduled to be purged. "
3325 "<option>remove --purge</option> is equivalent to the <option>purge</option> "
3326 "command. Configuration Item: <literal>APT::Get::Purge</literal>."
3329 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3330 #: apt-get.8.xml:490
3331 msgid "<option>--reinstall</option>"
3334 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3335 #: apt-get.8.xml:491
3337 "Re-Install packages that are already installed and at the newest version. "
3338 "Configuration Item: <literal>APT::Get::ReInstall</literal>."
3341 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3342 #: apt-get.8.xml:495
3343 msgid "<option>--list-cleanup</option>"
3346 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3347 #: apt-get.8.xml:496
3349 "This option defaults to on, use <literal>--no-list-cleanup</literal> to turn "
3350 "it off. When on <command>apt-get</command> will automatically manage the "
3351 "contents of <filename>&statedir;/lists</filename> to ensure that obsolete "
3352 "files are erased. The only reason to turn it off is if you frequently "
3353 "change your source list. Configuration Item: <literal>APT::Get::List-"
3354 "Cleanup</literal>."
3357 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3358 #: apt-get.8.xml:505
3359 msgid "<option>--target-release</option>"
3362 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3363 #: apt-get.8.xml:506
3364 msgid "<option>--default-release</option>"
3367 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3368 #: apt-get.8.xml:507
3370 "This option controls the default input to the policy engine, it creates a "
3371 "default pin at priority 990 using the specified release string. This "
3372 "overrides the general settings in <filename>/etc/apt/preferences</"
3373 "filename>. Specifically pinned packages are not affected by the value of "
3374 "this option. In short, this option lets you have simple control over which "
3375 "distribution packages will be retrieved from. Some common examples might be "
3376 "<option>-t '2.1*'</option>, <option>-t unstable</option> or <option>-t sid</"
3377 "option>. Configuration Item: <literal>APT::Default-Release</literal>; see "
3378 "also the &apt-preferences; manual page."
3381 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3382 #: apt-get.8.xml:520
3383 msgid "<option>--trivial-only</option>"
3386 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3387 #: apt-get.8.xml:522
3389 "Only perform operations that are 'trivial'. Logically this can be considered "
3390 "related to <option>--assume-yes</option>, where <option>--assume-yes</"
3391 "option> will answer yes to any prompt, <option>--trivial-only</option> will "
3392 "answer no. Configuration Item: <literal>APT::Get::Trivial-Only</literal>."
3395 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3396 #: apt-get.8.xml:528
3397 msgid "<option>--no-remove</option>"
3400 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3401 #: apt-get.8.xml:529
3403 "If any packages are to be removed apt-get immediately aborts without "
3404 "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
3407 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3408 #: apt-get.8.xml:534
3409 msgid "<option>--auto-remove</option>"
3412 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3413 #: apt-get.8.xml:535
3415 "If the command is either <literal>install</literal> or <literal>remove</"
3416 "literal>, then this option acts like running <literal>autoremove</literal> "
3417 "command, removing the unused dependency packages. Configuration Item: "
3418 "<literal>APT::Get::AutomaticRemove</literal>."
3421 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3422 #: apt-get.8.xml:541
3423 msgid "<option>--only-source</option>"
3426 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3427 #: apt-get.8.xml:542
3429 "Only has meaning for the <literal>source</literal> and <literal>build-dep</"
3430 "literal> commands. Indicates that the given source names are not to be "
3431 "mapped through the binary table. This means that if this option is "
3432 "specified, these commands will only accept source package names as "
3433 "arguments, rather than accepting binary package names and looking up the "
3434 "corresponding source package. Configuration Item: <literal>APT::Get::Only-"
3438 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3439 #: apt-get.8.xml:552
3440 msgid "<option>--diff-only</option>"
3443 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3444 #: apt-get.8.xml:552
3445 msgid "<option>--dsc-only</option>"
3448 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3449 #: apt-get.8.xml:552
3450 msgid "<option>--tar-only</option>"
3453 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3454 #: apt-get.8.xml:553
3456 "Download only the diff, dsc, or tar file of a source archive. Configuration "
3457 "Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</"
3458 "literal>, and <literal>APT::Get::Tar-Only</literal>."
3461 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3462 #: apt-get.8.xml:558
3463 msgid "<option>--arch-only</option>"
3466 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3467 #: apt-get.8.xml:559
3469 "Only process architecture-dependent build-dependencies. Configuration Item: "
3470 "<literal>APT::Get::Arch-Only</literal>."
3473 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3474 #: apt-get.8.xml:563
3475 msgid "<option>--allow-unauthenticated</option>"
3478 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3479 #: apt-get.8.xml:564
3481 "Ignore if packages can't be authenticated and don't prompt about it. This "
3482 "is useful for tools like pbuilder. Configuration Item: <literal>APT::Get::"
3483 "AllowUnauthenticated</literal>."
3486 #. type: Content of: <refentry><refsect1><variablelist>
3487 #: apt-get.8.xml:577
3489 "&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; "
3493 #. type: Content of: <refentry><refsect1><para>
3494 #: apt-get.8.xml:586
3496 "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
3497 "&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, &apt-"
3498 "preferences;, the APT Howto."
3501 #. type: Content of: <refentry><refsect1><para>
3502 #: apt-get.8.xml:592
3504 "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
3508 #. type: Content of: <refentry><refsect1><title>
3509 #: apt-get.8.xml:595
3510 msgid "ORIGINAL AUTHORS"
3513 #. type: Content of: <refentry><refsect1><para>
3514 #: apt-get.8.xml:596
3515 msgid "&apt-author.jgunthorpe;"
3518 #. type: Content of: <refentry><refsect1><title>
3519 #: apt-get.8.xml:599
3520 msgid "CURRENT AUTHORS"
3523 #. type: Content of: <refentry><refsect1><para>
3524 #: apt-get.8.xml:601
3525 msgid "&apt-author.team;"
3528 #. type: Content of: <refentry><refnamediv><refname>
3529 #: apt-key.8.xml:17 apt-key.8.xml:24
3533 #. type: Content of: <refentry><refnamediv><refpurpose>
3535 msgid "APT key management utility"
3538 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
3541 "<command>apt-key</command> <arg><option>--keyring <replaceable>filename</"
3542 "replaceable></option></arg> <arg><replaceable>command</replaceable></arg> "
3543 "<arg rep=\"repeat\"><option><replaceable>arguments</replaceable></option></"
3547 #. type: Content of: <refentry><refsect1><para>
3550 "<command>apt-key</command> is used to manage the list of keys used by apt to "
3551 "authenticate packages. Packages which have been authenticated using these "
3552 "keys will be considered trusted."
3555 #. type: Content of: <refentry><refsect1><title>
3560 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3562 msgid "add <replaceable>filename</replaceable>"
3565 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3568 "Add a new key to the list of trusted keys. The key is read from "
3569 "<replaceable>filename</replaceable>, or standard input if "
3570 "<replaceable>filename</replaceable> is <literal>-</literal>."
3573 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3575 msgid "del <replaceable>keyid</replaceable>"
3578 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3580 msgid "Remove a key from the list of trusted keys."
3583 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3585 msgid "export <replaceable>keyid</replaceable>"
3588 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3590 msgid "Output the key <replaceable>keyid</replaceable> to standard output."
3593 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3598 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3600 msgid "Output all trusted keys to standard output."
3603 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3608 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3610 msgid "List trusted keys."
3613 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3614 #: apt-key.8.xml:104
3618 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3619 #: apt-key.8.xml:108
3620 msgid "List fingerprints of trusted keys."
3623 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3624 #: apt-key.8.xml:115
3628 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3629 #: apt-key.8.xml:119
3631 "Pass advanced options to gpg. With adv --recv-key you can download the "
3635 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3636 #: apt-key.8.xml:131
3638 "Update the local keyring with the archive keyring and remove from the local "
3639 "keyring the archive keys which are no longer valid. The archive keyring is "
3640 "shipped in the <literal>archive-keyring</literal> package of your "
3641 "distribution, e.g. the <literal>debian-archive-keyring</literal> package in "
3645 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3646 #: apt-key.8.xml:141
3650 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3651 #: apt-key.8.xml:145
3653 "Work similar to the <command>update</command> command above, but get the "
3654 "archive keyring from an URI instead and validate it against a master key. "
3655 "This requires an installed &wget; and an APT build configured to have a "
3656 "server to fetch from and a master keyring to validate. APT in Debian does "
3657 "not support this command and relies on <command>update</command> instead, "
3658 "but Ubuntu's APT does."
3661 #. type: Content of: <refentry><refsect1><para>
3662 #: apt-key.8.xml:162
3664 "Note that options need to be defined before the commands described in the "
3668 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3669 #: apt-key.8.xml:164
3671 msgid "--keyring <replaceable>filename</replaceable>"
3673 "<programlisting>\n"
3674 "apt-get install <replaceable>pacote</replaceable>/testing\n"
3676 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3677 #: apt-key.8.xml:165
3679 "With this option it is possible to specify a specific keyring file the "
3680 "command should operate on. The default is that a command is executed on the "
3681 "<filename>trusted.gpg</filename> file as well as on all parts in the "
3682 "<filename>trusted.gpg.d</filename> directory, through <filename>trusted.gpg</"
3683 "filename> is the primary keyring which means that e.g. new keys are added to "
3687 #. type: Content of: <refentry><refsect1><variablelist>
3688 #: apt-key.8.xml:178
3689 msgid "&file-trustedgpg;"
3692 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3693 #: apt-key.8.xml:180
3695 msgid "<filename>/etc/apt/trustdb.gpg</filename>"
3696 msgstr "<filename>/etc/apt.conf</>"
3698 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3699 #: apt-key.8.xml:181
3700 msgid "Local trust database of archive keys."
3703 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3704 #: apt-key.8.xml:184
3705 msgid "<filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename>"
3708 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3709 #: apt-key.8.xml:185
3710 msgid "Keyring of Debian archive trusted keys."
3713 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3714 #: apt-key.8.xml:188
3716 "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
3719 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3720 #: apt-key.8.xml:189
3721 msgid "Keyring of Debian archive removed trusted keys."
3724 #. type: Content of: <refentry><refsect1><para>
3725 #: apt-key.8.xml:198
3727 msgid "&apt-get;, &apt-secure;"
3728 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
3730 #. The last update date
3731 #. type: Content of: <refentry><refentryinfo>
3732 #: apt-mark.8.xml:16
3734 "&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>21 "
3738 #. type: Content of: <refentry><refnamediv><refname>
3739 #: apt-mark.8.xml:25 apt-mark.8.xml:32
3743 #. type: Content of: <refentry><refnamediv><refpurpose>
3744 #: apt-mark.8.xml:33
3745 msgid "mark/unmark a package as being automatically-installed"
3748 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
3749 #: apt-mark.8.xml:39
3751 " <command>apt-mark</command> <arg><option>-hv</option></arg> <arg><option>-"
3752 "f=<replaceable>FILENAME</replaceable></option></arg> <group choice=\"plain"
3753 "\"> <arg choice=\"plain\"> <group choice=\"req\"> <arg choice=\"plain"
3754 "\">auto</arg> <arg choice=\"plain\">manual</arg> <arg choice=\"plain"
3755 "\">showauto</arg> <arg choice=\"plain\">showmanual</arg> </group> <arg "
3756 "choice=\"plain\" rep=\"repeat\"><replaceable>package</replaceable></arg> </"
3760 #. type: Content of: <refentry><refsect1><para>
3761 #: apt-mark.8.xml:57
3763 "<command>apt-mark</command> will change whether a package has been marked as "
3764 "being automatically installed."
3767 #. type: Content of: <refentry><refsect1><para>
3768 #: apt-mark.8.xml:61
3770 "When you request that a package is installed, and as a result other packages "
3771 "are installed to satisfy its dependencies, the dependencies are marked as "
3772 "being automatically installed. Once these automatically installed packages "
3773 "are no longer depended on by any manually installed packages, they will be "
3774 "removed by e.g. <command>apt-get</command> or <command>aptitude</command>."
3777 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3778 #: apt-mark.8.xml:69
3782 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3783 #: apt-mark.8.xml:70
3785 "<literal>auto</literal> is used to mark a package as being automatically "
3786 "installed, which will cause the package to be removed when no more manually "
3787 "installed packages depend on this package."
3790 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3791 #: apt-mark.8.xml:77
3795 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3796 #: apt-mark.8.xml:78
3798 "<literal>manual</literal> is used to mark a package as being manually "
3799 "installed, which will prevent the package from being automatically removed "
3800 "if no other packages depend on it."
3803 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3804 #: apt-mark.8.xml:85
3808 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3809 #: apt-mark.8.xml:86
3811 "<literal>hold</literal> is used to mark a package as hold back, which will "
3812 "prevent the package from being automatically installed, upgraded or "
3813 "removed. The command is only a wrapper around <command>dpkg --set-"
3814 "selections</command> and the state is therefore maintained by &dpkg; and not "
3815 "effected by the <option>--filename</option> option."
3818 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3819 #: apt-mark.8.xml:95
3823 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3824 #: apt-mark.8.xml:96
3826 "<literal>unhold</literal> is used to cancel a previously set hold on a "
3827 "package to allow all actions again."
3830 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3831 #: apt-mark.8.xml:101
3835 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3836 #: apt-mark.8.xml:102
3838 "<literal>showauto</literal> is used to print a list of automatically "
3839 "installed packages with each package on a new line. All automatically "
3840 "installed packages will be listed if no package is given. If packages are "
3841 "given only those which are automatically installed will be shown."
3844 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3845 #: apt-mark.8.xml:109
3849 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3850 #: apt-mark.8.xml:110
3852 "<literal>showmanual</literal> can be used in the same way as "
3853 "<literal>showauto</literal> except that it will print a list of manually "
3854 "installed packages instead."
3857 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3858 #: apt-mark.8.xml:116
3862 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3863 #: apt-mark.8.xml:117
3865 "<literal>showhold</literal> is used to print a list of packages on hold in "
3866 "the same way as for the other show commands."
3869 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3870 #: apt-mark.8.xml:130
3872 "<option>-f=<filename><replaceable>FILENAME</replaceable></filename></option>"
3875 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3876 #: apt-mark.8.xml:131
3878 "<option>--file=<filename><replaceable>FILENAME</replaceable></filename></"
3882 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3883 #: apt-mark.8.xml:134
3885 "Read/Write package stats from <filename><replaceable>FILENAME</replaceable></"
3886 "filename> instead of the default location, which is "
3887 "<filename>extended_status</filename> in the directory defined by the "
3888 "Configuration Item: <literal>Dir::State</literal>."
3891 #. type: Content of: <refentry><refsect1><variablelist>
3892 #: apt-mark.8.xml:146
3893 msgid " &file-extended_states;"
3896 #. type: Content of: <refentry><refsect1><para>
3897 #: apt-mark.8.xml:151
3899 msgid "&apt-get;,&aptitude;,&apt-conf;"
3900 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
3902 #. type: Content of: <refentry><refsect1><para>
3903 #: apt-mark.8.xml:155
3905 "<command>apt-mark</command> returns zero on normal operation, non-zero on "
3909 #. type: Content of: <refentry><refnamediv><refname>
3910 #: apt-secure.8.xml:17 apt-secure.8.xml:39
3914 #. type: Content of: <refentry><refnamediv><refpurpose>
3915 #: apt-secure.8.xml:40
3916 msgid "Archive authentication support for APT"
3919 #. type: Content of: <refentry><refsect1><para>
3920 #: apt-secure.8.xml:45
3922 "Starting with version 0.6, <command>apt</command> contains code that does "
3923 "signature checking of the Release file for all archives. This ensures that "
3924 "packages in the archive can't be modified by people who have no access to "
3925 "the Release file signing key."
3928 #. type: Content of: <refentry><refsect1><para>
3929 #: apt-secure.8.xml:53
3931 "If a package comes from a archive without a signature or with a signature "
3932 "that apt does not have a key for that package is considered untrusted and "
3933 "installing it will result in a big warning. <command>apt-get</command> will "
3934 "currently only warn for unsigned archives, future releases might force all "
3935 "sources to be verified before downloading packages from them."
3938 #. type: Content of: <refentry><refsect1><para>
3939 #: apt-secure.8.xml:62
3941 "The package frontends &apt-get;, &aptitude; and &synaptic; support this new "
3942 "authentication feature."
3945 #. type: Content of: <refentry><refsect1><title>
3946 #: apt-secure.8.xml:67
3947 msgid "Trusted archives"
3950 #. type: Content of: <refentry><refsect1><para>
3951 #: apt-secure.8.xml:70
3953 "The chain of trust from an apt archive to the end user is made up of "
3954 "different steps. <command>apt-secure</command> is the last step in this "
3955 "chain, trusting an archive does not mean that the packages that you trust it "
3956 "do not contain malicious code but means that you trust the archive "
3957 "maintainer. It's the archive maintainer responsibility to ensure that the "
3958 "archive integrity is correct."
3961 #. type: Content of: <refentry><refsect1><para>
3962 #: apt-secure.8.xml:78
3964 "apt-secure does not review signatures at a package level. If you require "
3965 "tools to do this you should look at <command>debsig-verify</command> and "
3966 "<command>debsign</command> (provided in the debsig-verify and devscripts "
3967 "packages respectively)."
3970 #. type: Content of: <refentry><refsect1><para>
3971 #: apt-secure.8.xml:85
3973 "The chain of trust in Debian starts when a maintainer uploads a new package "
3974 "or a new version of a package to the Debian archive. This upload in order to "
3975 "become effective needs to be signed by a key of a maintainer within the "
3976 "Debian maintainer's keyring (available in the debian-keyring package). "
3977 "Maintainer's keys are signed by other maintainers following pre-established "
3978 "procedures to ensure the identity of the key holder."
3981 #. type: Content of: <refentry><refsect1><para>
3982 #: apt-secure.8.xml:95
3984 "Once the uploaded package is verified and included in the archive, the "
3985 "maintainer signature is stripped off, an MD5 sum of the package is computed "
3986 "and put in the Packages file. The MD5 sum of all of the packages files are "
3987 "then computed and put into the Release file. The Release file is then signed "
3988 "by the archive key (which is created once a year) and distributed through "
3989 "the FTP server. This key is also on the Debian keyring."
3992 #. type: Content of: <refentry><refsect1><para>
3993 #: apt-secure.8.xml:105
3995 "Any end user can check the signature of the Release file, extract the MD5 "
3996 "sum of a package from it and compare it with the MD5 sum of the package he "
3997 "downloaded. Prior to version 0.6 only the MD5 sum of the downloaded Debian "
3998 "package was checked. Now both the MD5 sum and the signature of the Release "
4002 #. type: Content of: <refentry><refsect1><para>
4003 #: apt-secure.8.xml:112
4005 "Notice that this is distinct from checking signatures on a per package "
4006 "basis. It is designed to prevent two possible attacks:"
4009 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4010 #: apt-secure.8.xml:117
4012 "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
4013 "checking, a malicious agent can introduce himself in the package download "
4014 "process and provide malicious software either by controlling a network "
4015 "element (router, switch, etc.) or by redirecting traffic to a rogue server "
4016 "(through arp or DNS spoofing attacks)."
4019 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4020 #: apt-secure.8.xml:125
4022 "<literal>Mirror network compromise</literal>. Without signature checking, a "
4023 "malicious agent can compromise a mirror host and modify the files in it to "
4024 "propagate malicious software to all users downloading packages from that "
4028 #. type: Content of: <refentry><refsect1><para>
4029 #: apt-secure.8.xml:132
4031 "However, it does not defend against a compromise of the Debian master server "
4032 "itself (which signs the packages) or against a compromise of the key used to "
4033 "sign the Release files. In any case, this mechanism can complement a per-"
4034 "package signature."
4037 #. type: Content of: <refentry><refsect1><title>
4038 #: apt-secure.8.xml:138
4039 msgid "User configuration"
4042 #. type: Content of: <refentry><refsect1><para>
4043 #: apt-secure.8.xml:140
4045 "<command>apt-key</command> is the program that manages the list of keys used "
4046 "by apt. It can be used to add or remove keys although an installation of "
4047 "this release will automatically provide the default Debian archive signing "
4048 "keys used in the Debian package repositories."
4051 #. type: Content of: <refentry><refsect1><para>
4052 #: apt-secure.8.xml:147
4054 "In order to add a new key you need to first download it (you should make "
4055 "sure you are using a trusted communication channel when retrieving it), add "
4056 "it with <command>apt-key</command> and then run <command>apt-get update</"
4057 "command> so that apt can download and verify the <filename>InRelease</"
4058 "filename> or <filename>Release.gpg</filename> files from the archives you "
4062 #. type: Content of: <refentry><refsect1><title>
4063 #: apt-secure.8.xml:156
4064 msgid "Archive configuration"
4067 #. type: Content of: <refentry><refsect1><para>
4068 #: apt-secure.8.xml:158
4070 "If you want to provide archive signatures in an archive under your "
4071 "maintenance you have to:"
4074 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4075 #: apt-secure.8.xml:163
4077 "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
4078 "already. You can do this by running <command>apt-ftparchive release</"
4079 "command> (provided in apt-utils)."
4082 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4083 #: apt-secure.8.xml:168
4085 "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg --"
4086 "clearsign -o InRelease Release</command> and <command>gpg -abs -o Release."
4087 "gpg Release</command>."
4090 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4091 #: apt-secure.8.xml:172
4093 "<emphasis>Publish the key fingerprint</emphasis>, that way your users will "
4094 "know what key they need to import in order to authenticate the files in the "
4098 #. type: Content of: <refentry><refsect1><para>
4099 #: apt-secure.8.xml:179
4101 "Whenever the contents of the archive changes (new packages are added or "
4102 "removed) the archive maintainer has to follow the first two steps previously "
4106 #. type: Content of: <refentry><refsect1><para>
4107 #: apt-secure.8.xml:187
4109 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
4110 "&debsign; &debsig-verify;, &gpg;"
4113 #. type: Content of: <refentry><refsect1><para>
4114 #: apt-secure.8.xml:191
4116 "For more background information you might want to review the <ulink url="
4117 "\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7.en.html"
4118 "\">Debian Security Infrastructure</ulink> chapter of the Securing Debian "
4119 "Manual (available also in the harden-doc package) and the <ulink url="
4120 "\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
4121 "Distribution HOWTO</ulink> by V. Alex Brennen."
4124 #. type: Content of: <refentry><refsect1><title>
4125 #: apt-secure.8.xml:204
4126 msgid "Manpage Authors"
4129 #. type: Content of: <refentry><refsect1><para>
4130 #: apt-secure.8.xml:206
4132 "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
4133 "Jones, Colin Walters, Florian Weimer and Michael Vogt."
4136 #. type: Content of: <refentry><refnamediv><refname>
4137 #: apt-sortpkgs.1.xml:25 apt-sortpkgs.1.xml:32
4138 msgid "apt-sortpkgs"
4141 #. type: Content of: <refentry><refnamediv><refpurpose>
4142 #: apt-sortpkgs.1.xml:33
4143 msgid "Utility to sort package index files"
4146 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
4147 #: apt-sortpkgs.1.xml:39
4149 "<command>apt-sortpkgs</command> <arg><option>-hvs</option></arg> "
4150 "<arg><option>-o=<replaceable>config string</replaceable></option></arg> "
4151 "<arg><option>-c=<replaceable>file</replaceable></option></arg> <arg choice="
4152 "\"plain\" rep=\"repeat\"><replaceable>file</replaceable></arg>"
4155 #. type: Content of: <refentry><refsect1><para>
4156 #: apt-sortpkgs.1.xml:48
4158 "<command>apt-sortpkgs</command> will take an index file (Source index or "
4159 "Package index) and sort the records so that they are ordered by the package "
4160 "name. It will also sort the internal fields of each record according to the "
4161 "internal sorting rules."
4164 #. type: Content of: <refentry><refsect1><para>
4165 #: apt-sortpkgs.1.xml:54
4166 msgid "All output is sent to stdout, the input must be a seekable file."
4169 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4170 #: apt-sortpkgs.1.xml:61
4171 msgid "<option>--source</option>"
4174 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4175 #: apt-sortpkgs.1.xml:63
4177 "Use Source index field ordering. Configuration Item: <literal>APT::"
4178 "SortPkgs::Source</literal>."
4181 #. type: Content of: <refentry><refsect1><para>
4182 #: apt-sortpkgs.1.xml:77
4184 "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
4188 #. The last update date
4189 #. type: Content of: <refentry><refentryinfo>
4190 #: apt.conf.5.xml:16
4192 "&apt-author.jgunthorpe; &apt-author.team; <author> <firstname>Daniel</"
4193 "firstname> <surname>Burrows</surname> <contrib>Initial documentation of "
4194 "Debug::*.</contrib> <email>dburrows@debian.org</email> </author> &apt-email; "
4195 "&apt-product; <date>16 January 2010</date>"
4198 #. type: Content of: <refentry><refnamediv><refname>
4199 #: apt.conf.5.xml:31 apt.conf.5.xml:38
4203 #. type: Content of: <refentry><refmeta><manvolnum>
4204 #: apt.conf.5.xml:32 apt_preferences.5.xml:25 sources.list.5.xml:26
4208 #. type: Content of: <refentry><refnamediv><refpurpose>
4209 #: apt.conf.5.xml:39
4210 msgid "Configuration file for APT"
4213 #. type: Content of: <refentry><refsect1><para>
4214 #: apt.conf.5.xml:43
4216 "<filename>apt.conf</filename> is the main configuration file for the APT "
4217 "suite of tools, but by far not the only place changes to options can be "
4218 "made. All tools therefore share the configuration files and also use a "
4219 "common command line parser to provide a uniform environment."
4222 #. type: Content of: <refentry><refsect1><orderedlist><para>
4223 #: apt.conf.5.xml:48
4225 "When an APT tool starts up it will read the configuration files in the "
4229 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4230 #: apt.conf.5.xml:50
4232 "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
4236 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4237 #: apt.conf.5.xml:52
4239 "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
4240 "order which have either no or \"<literal>conf</literal>\" as filename "
4241 "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
4242 "and period (.) characters. Otherwise APT will print a notice that it has "
4243 "ignored a file if the file doesn't match a pattern in the <literal>Dir::"
4244 "Ignore-Files-Silently</literal> configuration list - in this case it will be "
4248 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4249 #: apt.conf.5.xml:59
4251 "the main configuration file specified by <literal>Dir::Etc::main</literal>"
4254 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4255 #: apt.conf.5.xml:61
4257 "the command line options are applied to override the configuration "
4258 "directives or to load even more configuration files."
4261 #. type: Content of: <refentry><refsect1><title>
4262 #: apt.conf.5.xml:65
4266 #. type: Content of: <refentry><refsect1><para>
4267 #: apt.conf.5.xml:66
4269 "The configuration file is organized in a tree with options organized into "
4270 "functional groups. Option specification is given with a double colon "
4271 "notation, for instance <literal>APT::Get::Assume-Yes</literal> is an option "
4272 "within the APT tool group, for the Get tool. Options do not inherit from "
4273 "their parent groups."
4276 #. type: Content of: <refentry><refsect1><para>
4277 #: apt.conf.5.xml:72
4279 "Syntactically the configuration language is modeled after what the ISC tools "
4280 "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
4281 "treated as comments (ignored), as well as all text between <literal>/*</"
4282 "literal> and <literal>*/</literal>, just like C/C++ comments. Each line is "
4283 "of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. The trailing "
4284 "semicolon and the quotes are required. The value must be on one line, and "
4285 "there is no kind of string concatenation. It must not include inside "
4286 "quotes. The behavior of the backslash \"\\\" and escaped characters inside "
4287 "a value is undefined and it should not be used. An option name may include "
4288 "alphanumerical characters and the \"/-:._+\" characters. A new scope can be "
4289 "opened with curly braces, like:"
4292 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
4293 #: apt.conf.5.xml:86
4298 " Assume-Yes \"true\";\n"
4299 " Fix-Broken \"true\";\n"
4304 #. type: Content of: <refentry><refsect1><para>
4305 #: apt.conf.5.xml:94
4307 "with newlines placed to make it more readable. Lists can be created by "
4308 "opening a scope and including a single string enclosed in quotes followed by "
4309 "a semicolon. Multiple entries can be included, each separated by a semicolon."
4312 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
4313 #: apt.conf.5.xml:99
4315 msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
4318 #. type: Content of: <refentry><refsect1><para>
4319 #: apt.conf.5.xml:102
4321 "In general the sample configuration file in <filename>&docdir;examples/apt."
4322 "conf</filename> &configureindex; is a good guide for how it should look."
4325 #. type: Content of: <refentry><refsect1><para>
4326 #: apt.conf.5.xml:106
4328 "The names of the configuration items are not case-sensitive. So in the "
4329 "previous example you could use <literal>dpkg::pre-install-pkgs</literal>."
4332 #. type: Content of: <refentry><refsect1><para>
4333 #: apt.conf.5.xml:109
4335 "Names for the configuration items are optional if a list is defined as it "
4336 "can be see in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. "
4337 "If you don't specify a name a new entry will simply add a new option to the "
4338 "list. If you specify a name you can override the option as every other "
4339 "option by reassigning a new value to the option."
4342 #. type: Content of: <refentry><refsect1><para>
4343 #: apt.conf.5.xml:114
4345 "Two specials are allowed, <literal>#include</literal> (which is deprecated "
4346 "and not supported by alternative implementations) and <literal>#clear</"
4347 "literal>: <literal>#include</literal> will include the given file, unless "
4348 "the filename ends in a slash, then the whole directory is included. "
4349 "<literal>#clear</literal> is used to erase a part of the configuration tree. "
4350 "The specified element and all its descendants are erased. (Note that these "
4351 "lines also need to end with a semicolon.)"
4354 #. type: Content of: <refentry><refsect1><para>
4355 #: apt.conf.5.xml:122
4357 "The #clear command is the only way to delete a list or a complete scope. "
4358 "Reopening a scope or the ::-style described below will <emphasis>not</"
4359 "emphasis> override previously written entries. Only options can be "
4360 "overridden by addressing a new value to it - lists and scopes can't be "
4361 "overridden, only cleared."
4364 #. type: Content of: <refentry><refsect1><para>
4365 #: apt.conf.5.xml:127
4367 "All of the APT tools take a -o option which allows an arbitrary "
4368 "configuration directive to be specified on the command line. The syntax is a "
4369 "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
4370 "followed by an equals sign then the new value of the option. Lists can be "
4371 "appended too by adding a trailing :: to the list name. (As you might "
4372 "suspect: The scope syntax can't be used on the command line.)"
4375 #. type: Content of: <refentry><refsect1><para>
4376 #: apt.conf.5.xml:134
4378 "Note that you can use :: only for appending one item per line to a list and "
4379 "that you should not use it in combination with the scope syntax. (The scope "
4380 "syntax implicit insert ::) Using both syntaxes together will trigger a bug "
4381 "which some users unfortunately relay on: An option with the unusual name "
4382 "\"<literal>::</literal>\" which acts like every other option with a name. "
4383 "These introduces many problems including that a user who writes multiple "
4384 "lines in this <emphasis>wrong</emphasis> syntax in the hope to append to a "
4385 "list will gain the opposite as only the last assignment for this option "
4386 "\"<literal>::</literal>\" will be used. Upcoming APT versions will raise "
4387 "errors and will stop working if they encounter this misuse, so please "
4388 "correct such statements now as long as APT doesn't complain explicit about "
4392 #. type: Content of: <refentry><refsect1><title>
4393 #: apt.conf.5.xml:146
4394 msgid "The APT Group"
4397 #. type: Content of: <refentry><refsect1><para>
4398 #: apt.conf.5.xml:147
4400 "This group of options controls general APT behavior as well as holding the "
4401 "options for all of the tools."
4404 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4405 #: apt.conf.5.xml:151
4406 msgid "Architecture"
4409 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4410 #: apt.conf.5.xml:152
4412 "System Architecture; sets the architecture to use when fetching files and "
4413 "parsing package lists. The internal default is the architecture apt was "
4417 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4418 #: apt.conf.5.xml:157
4419 msgid "Default-Release"
4422 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4423 #: apt.conf.5.xml:158
4425 "Default release to install packages from if more than one version available. "
4426 "Contains release name, codename or release version. Examples: 'stable', "
4427 "'testing', 'unstable', '&stable-codename;', '&testing-codename;', '4.0', "
4428 "'5.0*'. See also &apt-preferences;."
4431 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4432 #: apt.conf.5.xml:163
4436 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4437 #: apt.conf.5.xml:164
4439 "Ignore Held packages; This global option causes the problem resolver to "
4440 "ignore held packages in its decision making."
4443 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4444 #: apt.conf.5.xml:168
4445 msgid "Clean-Installed"
4448 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4449 #: apt.conf.5.xml:169
4451 "Defaults to on. When turned on the autoclean feature will remove any "
4452 "packages which can no longer be downloaded from the cache. If turned off "
4453 "then packages that are locally installed are also excluded from cleaning - "
4454 "but note that APT provides no direct means to reinstall them."
4457 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4458 #: apt.conf.5.xml:175
4459 msgid "Immediate-Configure"
4462 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4463 #: apt.conf.5.xml:176
4465 "Defaults to on which will cause APT to install essential and important "
4466 "packages as fast as possible in the install/upgrade operation. This is done "
4467 "to limit the effect of a failing &dpkg; call: If this option is disabled APT "
4468 "does treat an important package in the same way as an extra package: Between "
4469 "the unpacking of the important package A and his configuration can then be "
4470 "many other unpack or configuration calls, e.g. for package B which has no "
4471 "relation to A, but causes the dpkg call to fail (e.g. because maintainer "
4472 "script of package B generates an error) which results in a system state in "
4473 "which package A is unpacked but unconfigured - each package depending on A "
4474 "is now no longer guaranteed to work as their dependency on A is not longer "
4475 "satisfied. The immediate configuration marker is also applied to all "
4476 "dependencies which can generate a problem if the dependencies e.g. form a "
4477 "circle as a dependency with the immediate flag is comparable with a Pre-"
4478 "Dependency. So in theory it is possible that APT encounters a situation in "
4479 "which it is unable to perform immediate configuration, errors out and refers "
4480 "to this option so the user can deactivate the immediate configuration "
4481 "temporarily to be able to perform an install/upgrade again. Note the use of "
4482 "the word \"theory\" here as this problem was only encountered by now in real "
4483 "world a few times in non-stable distribution versions and was caused by "
4484 "wrong dependencies of the package in question or by a system in an already "
4485 "broken state, so you should not blindly disable this option as the mentioned "
4486 "scenario above is not the only problem immediate configuration can help to "
4487 "prevent in the first place. Before a big operation like <literal>dist-"
4488 "upgrade</literal> is run with this option disabled it should be tried to "
4489 "explicitly <literal>install</literal> the package APT is unable to configure "
4490 "immediately, but please make sure to report your problem also to your "
4491 "distribution and to the APT team with the buglink below so they can work on "
4492 "improving or correcting the upgrade process."
4495 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4496 #: apt.conf.5.xml:198
4497 msgid "Force-LoopBreak"
4500 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4501 #: apt.conf.5.xml:199
4503 "Never Enable this option unless you -really- know what you are doing. It "
4504 "permits APT to temporarily remove an essential package to break a Conflicts/"
4505 "Conflicts or Conflicts/Pre-Depend loop between two essential packages. SUCH "
4506 "A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option will work if the "
4507 "essential packages are not tar, gzip, libc, dpkg, bash or anything that "
4508 "those packages depend on."
4511 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4512 #: apt.conf.5.xml:207
4513 msgid "Cache-Start, Cache-Grow and Cache-Limit"
4516 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4517 #: apt.conf.5.xml:208
4519 "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
4520 "the 'available' information. <literal>Cache-Start</literal> acts as a hint "
4521 "to which size the Cache will grow and is therefore the amount of memory APT "
4522 "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
4523 "that these amount of space need to be available for APT otherwise it will "
4524 "likely fail ungracefully, so for memory restricted devices these value "
4525 "should be lowered while on systems with a lot of configured sources this "
4526 "might be increased. <literal>Cache-Grow</literal> defines in byte with the "
4527 "default of 1048576 (~1 MB) how much the Cache size will be increased in the "
4528 "event the space defined by <literal>Cache-Start</literal> is not enough. "
4529 "These value will be applied again and again until either the cache is big "
4530 "enough to store all information or the size of the cache reaches the "
4531 "<literal>Cache-Limit</literal>. The default of <literal>Cache-Limit</"
4532 "literal> is 0 which stands for no limit. If <literal>Cache-Grow</literal> "
4533 "is set to 0 the automatic grow of the cache is disabled."
4536 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4537 #: apt.conf.5.xml:223
4538 msgid "Build-Essential"
4541 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4542 #: apt.conf.5.xml:224
4543 msgid "Defines which package(s) are considered essential build dependencies."
4546 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4547 #: apt.conf.5.xml:227
4551 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4552 #: apt.conf.5.xml:228
4554 "The Get subsection controls the &apt-get; tool, please see its documentation "
4555 "for more information about the options here."
4558 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4559 #: apt.conf.5.xml:232
4563 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4564 #: apt.conf.5.xml:233
4566 "The Cache subsection controls the &apt-cache; tool, please see its "
4567 "documentation for more information about the options here."
4570 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4571 #: apt.conf.5.xml:237
4575 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4576 #: apt.conf.5.xml:238
4578 "The CDROM subsection controls the &apt-cdrom; tool, please see its "
4579 "documentation for more information about the options here."
4582 #. type: Content of: <refentry><refsect1><title>
4583 #: apt.conf.5.xml:244
4584 msgid "The Acquire Group"
4587 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4588 #: apt.conf.5.xml:249
4589 msgid "Check-Valid-Until"
4592 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4593 #: apt.conf.5.xml:250
4595 "Security related option defaulting to true as an expiring validation for a "
4596 "Release file prevents longtime replay attacks and can e.g. also help users "
4597 "to identify no longer updated mirrors - but the feature depends on the "
4598 "correctness of the time on the user system. Archive maintainers are "
4599 "encouraged to create Release files with the <literal>Valid-Until</literal> "
4600 "header, but if they don't or a stricter value is volitional the following "
4601 "<literal>Max-ValidTime</literal> option can be used."
4604 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4605 #: apt.conf.5.xml:260
4606 msgid "Max-ValidTime"
4609 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4610 #: apt.conf.5.xml:261
4612 "Seconds the Release file should be considered valid after it was created. "
4613 "The default is \"for ever\" (0) if the Release file of the archive doesn't "
4614 "include a <literal>Valid-Until</literal> header. If it does then this date "
4615 "is the default. The date from the Release file or the date specified by the "
4616 "creation time of the Release file (<literal>Date</literal> header) plus the "
4617 "seconds specified with this options are used to check if the validation of a "
4618 "file has expired by using the earlier date of the two. Archive specific "
4619 "settings can be made by appending the label of the archive to the option "
4623 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4624 #: apt.conf.5.xml:273
4628 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4629 #: apt.conf.5.xml:274
4631 "Try to download deltas called <literal>PDiffs</literal> for Packages or "
4632 "Sources files instead of downloading whole ones. True by default."
4635 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4636 #: apt.conf.5.xml:277
4638 "Two sub-options to limit the use of PDiffs are also available: With "
4639 "<literal>FileLimit</literal> can be specified how many PDiff files are "
4640 "downloaded at most to patch a file. <literal>SizeLimit</literal> on the "
4641 "other hand is the maximum precentage of the size of all patches compared to "
4642 "the size of the targeted file. If one of these limits is exceeded the "
4643 "complete file is downloaded instead of the patches."
4646 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4647 #: apt.conf.5.xml:286
4651 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4652 #: apt.conf.5.xml:287
4654 "Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</"
4655 "literal> or <literal>access</literal> which determines how APT parallelizes "
4656 "outgoing connections. <literal>host</literal> means that one connection per "
4657 "target host will be opened, <literal>access</literal> means that one "
4658 "connection per URI type will be opened."
4661 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4662 #: apt.conf.5.xml:294
4666 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4667 #: apt.conf.5.xml:295
4669 "Number of retries to perform. If this is non-zero APT will retry failed "
4670 "files the given number of times."
4673 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4674 #: apt.conf.5.xml:299
4675 msgid "Source-Symlinks"
4678 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4679 #: apt.conf.5.xml:300
4681 "Use symlinks for source archives. If set to true then source archives will "
4682 "be symlinked when possible instead of copying. True is the default."
4685 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4686 #: apt.conf.5.xml:304 sources.list.5.xml:144
4690 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4691 #: apt.conf.5.xml:305
4693 "HTTP URIs; http::Proxy is the default http proxy to use. It is in the "
4694 "standard form of <literal>http://[[user][:pass]@]host[:port]/</literal>. Per "
4695 "host proxies can also be specified by using the form <literal>http::Proxy::"
4696 "<host></literal> with the special keyword <literal>DIRECT</literal> "
4697 "meaning to use no proxies. If no one of the above settings is specified, "
4698 "<envar>http_proxy</envar> environment variable will be used."
4701 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4702 #: apt.conf.5.xml:313
4704 "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
4705 "caches. <literal>No-Cache</literal> tells the proxy to not use its cached "
4706 "response under any circumstances, <literal>Max-Age</literal> is sent only "
4707 "for index files and tells the cache to refresh its object if it is older "
4708 "than the given number of seconds. Debian updates its index files daily so "
4709 "the default is 1 day. <literal>No-Store</literal> specifies that the cache "
4710 "should never store this request, it is only set for archive files. This may "
4711 "be useful to prevent polluting a proxy cache with very large .deb files. "
4712 "Note: Squid 2.0.2 does not support any of these options."
4715 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4716 #: apt.conf.5.xml:323 apt.conf.5.xml:387
4718 "The option <literal>timeout</literal> sets the timeout timer used by the "
4719 "method, this applies to all things including connection timeout and data "
4723 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4724 #: apt.conf.5.xml:326
4726 "One setting is provided to control the pipeline depth in cases where the "
4727 "remote server is not RFC conforming or buggy (such as Squid 2.0.2). "
4728 "<literal>Acquire::http::Pipeline-Depth</literal> can be a value from 0 to 5 "
4729 "indicating how many outstanding requests APT should send. A value of zero "
4730 "MUST be specified if the remote host does not properly linger on TCP "
4731 "connections - otherwise data corruption will occur. Hosts which require this "
4732 "are in violation of RFC 2068."
4735 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4736 #: apt.conf.5.xml:334
4738 "The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
4739 "literal> which accepts integer values in kilobyte. The default value is 0 "
4740 "which deactivates the limit and tries uses as much as possible of the "
4741 "bandwidth (Note that this option implicit deactivates the download from "
4742 "multiple servers at the same time.)"
4745 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4746 #: apt.conf.5.xml:339
4748 "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
4749 "User-Agent for the http download method as some proxies allow access for "
4750 "clients only if the client uses a known identifier."
4753 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4754 #: apt.conf.5.xml:345
4758 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4759 #: apt.conf.5.xml:346
4761 "HTTPS URIs. Cache-control, Timeout, AllowRedirect, Dl-Limit and proxy "
4762 "options are the same as for <literal>http</literal> method and will also "
4763 "default to the options from the <literal>http</literal> method if they are "
4764 "not explicitly set for https. <literal>Pipeline-Depth</literal> option is "
4765 "not supported yet."
4768 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4769 #: apt.conf.5.xml:352
4771 "<literal>CaInfo</literal> suboption specifies place of file that holds info "
4772 "about trusted certificates. <literal><host>::CaInfo</literal> is "
4773 "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
4774 "suboption determines whether verify server's host certificate against "
4775 "trusted certificates or not. <literal><host>::Verify-Peer</literal> "
4776 "is corresponding per-host option. <literal>Verify-Host</literal> boolean "
4777 "suboption determines whether verify server's hostname or not. <literal><"
4778 "host>::Verify-Host</literal> is corresponding per-host option. "
4779 "<literal>SslCert</literal> determines what certificate to use for client "
4780 "authentication. <literal><host>::SslCert</literal> is corresponding "
4781 "per-host option. <literal>SslKey</literal> determines what private key to "
4782 "use for client authentication. <literal><host>::SslKey</literal> is "
4783 "corresponding per-host option. <literal>SslForceVersion</literal> overrides "
4784 "default SSL version to use. Can contain 'TLSv1' or 'SSLv3' string. "
4785 "<literal><host>::SslForceVersion</literal> is corresponding per-host "
4789 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4790 #: apt.conf.5.xml:370 sources.list.5.xml:155
4794 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4795 #: apt.conf.5.xml:371
4797 "FTP URIs; ftp::Proxy is the default ftp proxy to use. It is in the standard "
4798 "form of <literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host "
4799 "proxies can also be specified by using the form <literal>ftp::Proxy::<"
4800 "host></literal> with the special keyword <literal>DIRECT</literal> "
4801 "meaning to use no proxies. If no one of the above settings is specified, "
4802 "<envar>ftp_proxy</envar> environment variable will be used. To use a ftp "
4803 "proxy you will have to set the <literal>ftp::ProxyLogin</literal> script in "
4804 "the configuration file. This entry specifies the commands to send to tell "
4805 "the proxy server what to connect to. Please see &configureindex; for an "
4806 "example of how to do this. The substitution variables available are <literal>"
4807 "$(PROXY_USER)</literal> <literal>$(PROXY_PASS)</literal> <literal>"
4808 "$(SITE_USER)</literal> <literal>$(SITE_PASS)</literal> <literal>$(SITE)</"
4809 "literal> and <literal>$(SITE_PORT)</literal> Each is taken from it's "
4810 "respective URI component."
4813 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4814 #: apt.conf.5.xml:390
4816 "Several settings are provided to control passive mode. Generally it is safe "
4817 "to leave passive mode on, it works in nearly every environment. However "
4818 "some situations require that passive mode be disabled and port mode ftp used "
4819 "instead. This can be done globally, for connections that go through a proxy "
4820 "or for a specific host (See the sample config file for examples)."
4823 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4824 #: apt.conf.5.xml:397
4826 "It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</"
4827 "envar> environment variable to a http url - see the discussion of the http "
4828 "method above for syntax. You cannot set this in the configuration file and "
4829 "it is not recommended to use FTP over HTTP due to its low efficiency."
4832 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4833 #: apt.conf.5.xml:402
4835 "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
4836 "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
4837 "false, which means these commands are only used if the control connection is "
4838 "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
4839 "that most FTP servers do not support RFC2428."
4842 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4843 #: apt.conf.5.xml:409 sources.list.5.xml:137
4847 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
4848 #: apt.conf.5.xml:415
4850 msgid "/cdrom/::Mount \"foo\";"
4853 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4854 #: apt.conf.5.xml:410
4856 "CDROM URIs; the only setting for CDROM URIs is the mount point, "
4857 "<literal>cdrom::Mount</literal> which must be the mount point for the CDROM "
4858 "drive as specified in <filename>/etc/fstab</filename>. It is possible to "
4859 "provide alternate mount and unmount commands if your mount point cannot be "
4860 "listed in the fstab (such as an SMB mount and old mount packages). The "
4861 "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
4862 "cdrom block. It is important to have the trailing slash. Unmount commands "
4863 "can be specified using UMount."
4866 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4867 #: apt.conf.5.xml:420
4871 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4872 #: apt.conf.5.xml:421
4874 "GPGV URIs; the only option for GPGV URIs is the option to pass additional "
4875 "parameters to gpgv. <literal>gpgv::Options</literal> Additional options "
4879 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4880 #: apt.conf.5.xml:426
4881 msgid "CompressionTypes"
4884 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
4885 #: apt.conf.5.xml:432
4887 msgid "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
4890 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4891 #: apt.conf.5.xml:427
4893 "List of compression types which are understood by the acquire methods. "
4894 "Files like <filename>Packages</filename> can be available in various "
4895 "compression formats. Per default the acquire methods can decompress "
4896 "<command>bzip2</command>, <command>lzma</command> and <command>gzip</"
4897 "command> compressed files, with this setting more formats can be added on "
4898 "the fly or the used method can be changed. The syntax for this is: "
4899 "<placeholder type=\"synopsis\" id=\"0\"/>"
4902 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
4903 #: apt.conf.5.xml:437
4905 msgid "Acquire::CompressionTypes::Order:: \"gz\";"
4908 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
4909 #: apt.conf.5.xml:440
4911 msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
4914 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4915 #: apt.conf.5.xml:433
4917 "Also the <literal>Order</literal> subgroup can be used to define in which "
4918 "order the acquire system will try to download the compressed files. The "
4919 "acquire system will try the first and proceed with the next compression type "
4920 "in this list on error, so to prefer one over the other type simple add the "
4921 "preferred type at first - not already added default types will be added at "
4922 "run time to the end of the list, so e.g. <placeholder type=\"synopsis\" id="
4923 "\"0\"/> can be used to prefer <command>gzip</command> compressed files over "
4924 "<command>bzip2</command> and <command>lzma</command>. If <command>lzma</"
4925 "command> should be preferred over <command>gzip</command> and "
4926 "<command>bzip2</command> the configure setting should look like this "
4927 "<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
4928 "<literal>bz2</literal> explicit to the list as it will be added automatic."
4931 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
4932 #: apt.conf.5.xml:444
4934 msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
4937 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4938 #: apt.conf.5.xml:442
4940 "Note that at run time the <literal>Dir::Bin::<replaceable>Methodname</"
4941 "replaceable></literal> will be checked: If this setting exists the method "
4942 "will only be used if this file exists, e.g. for the bzip2 method (the "
4943 "inbuilt) setting is: <placeholder type=\"literallayout\" id=\"0\"/> Note "
4944 "also that list entries specified on the command line will be added at the "
4945 "end of the list specified in the configuration files, but before the default "
4946 "entries. To prefer a type in this case over the ones specified in the "
4947 "configuration files you can set the option direct - not in list style. This "
4948 "will not override the defined list, it will only prefix the list with this "
4952 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4953 #: apt.conf.5.xml:449
4955 "The special type <literal>uncompressed</literal> can be used to give "
4956 "uncompressed files a preference, but note that most archives don't provide "
4957 "uncompressed files so this is mostly only useable for local mirrors."
4960 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4961 #: apt.conf.5.xml:454
4965 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4966 #: apt.conf.5.xml:456
4968 "When downloading <literal>gzip</literal> compressed indexes (Packages, "
4969 "Sources, or Translations), keep them gzip compressed locally instead of "
4970 "unpacking them. This saves quite a lot of disk space at the expense of more "
4971 "CPU requirements when building the local package caches. False by default."
4974 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4975 #: apt.conf.5.xml:463
4979 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4980 #: apt.conf.5.xml:464
4982 "The Languages subsection controls which <filename>Translation</filename> "
4983 "files are downloaded and in which order APT tries to display the Description-"
4984 "Translations. APT will try to display the first available Description in the "
4985 "Language which is listed at first. Languages can be defined with their short "
4986 "or long Languagecodes. Note that not all archives provide "
4987 "<filename>Translation</filename> files for every Language - especially the "
4988 "long Languagecodes are rare, so please inform you which ones are available "
4989 "before you set here impossible values."
4992 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><programlisting>
4993 #: apt.conf.5.xml:480
4995 msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
4998 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4999 #: apt.conf.5.xml:470
5001 "The default list includes \"environment\" and \"en\". "
5002 "\"<literal>environment</literal>\" has a special meaning here: It will be "
5003 "replaced at runtime with the languagecodes extracted from the "
5004 "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
5005 "that these codes are not included twice in the list. If "
5006 "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
5007 "<filename>Translation-en</filename> file (if available) will be used. To "
5008 "force apt to use no Translation file use the setting <literal>Acquire::"
5009 "Languages=none</literal>. \"<literal>none</literal>\" is another special "
5010 "meaning code which will stop the search for a fitting <filename>Translation</"
5011 "filename> file. This can be used by the system administrator to let APT "
5012 "know that it should download also this files without actually use them if "
5013 "the environment doesn't specify this languages. So the following example "
5014 "configuration will result in the order \"en, de\" in an english and in \"de, "
5015 "en\" in a german localization. Note that \"fr\" is downloaded, but not used "
5016 "if APT is not used in a french localization, in such an environment the "
5017 "order would be \"fr, de, en\". <placeholder type=\"programlisting\" id="
5021 #. type: Content of: <refentry><refsect1><para>
5022 #: apt.conf.5.xml:245
5024 "The <literal>Acquire</literal> group of options controls the download of "
5025 "packages and the URI handlers. <placeholder type=\"variablelist\" id=\"0\"/>"
5028 #. type: Content of: <refentry><refsect1><title>
5029 #: apt.conf.5.xml:487
5033 #. type: Content of: <refentry><refsect1><para>
5034 #: apt.conf.5.xml:489
5036 "The <literal>Dir::State</literal> section has directories that pertain to "
5037 "local state information. <literal>lists</literal> is the directory to place "
5038 "downloaded package lists in and <literal>status</literal> is the name of the "
5039 "dpkg status file. <literal>preferences</literal> is the name of the APT "
5040 "preferences file. <literal>Dir::State</literal> contains the default "
5041 "directory to prefix on all sub items if they do not start with <filename>/</"
5042 "filename> or <filename>./</filename>."
5045 #. type: Content of: <refentry><refsect1><para>
5046 #: apt.conf.5.xml:496
5048 "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
5049 "information, such as the two package caches <literal>srcpkgcache</literal> "
5050 "and <literal>pkgcache</literal> as well as the location to place downloaded "
5051 "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
5052 "be turned off by setting their names to be blank. This will slow down "
5053 "startup but save disk space. It is probably preferred to turn off the "
5054 "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the "
5055 "default directory is contained in <literal>Dir::Cache</literal>"
5058 #. type: Content of: <refentry><refsect1><para>
5059 #: apt.conf.5.xml:505
5061 "<literal>Dir::Etc</literal> contains the location of configuration files, "
5062 "<literal>sourcelist</literal> gives the location of the sourcelist and "
5063 "<literal>main</literal> is the default configuration file (setting has no "
5064 "effect, unless it is done from the config file specified by "
5065 "<envar>APT_CONFIG</envar>)."
5068 #. type: Content of: <refentry><refsect1><para>
5069 #: apt.conf.5.xml:511
5071 "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
5072 "in lexical order from the directory specified. After this is done then the "
5073 "main config file is loaded."
5076 #. type: Content of: <refentry><refsect1><para>
5077 #: apt.conf.5.xml:515
5079 "Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::"
5080 "Bin::Methods</literal> specifies the location of the method handlers and "
5081 "<literal>gzip</literal>, <literal>bzip2</literal>, <literal>lzma</literal>, "
5082 "<literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</"
5083 "literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</"
5084 "literal> specify the location of the respective programs."
5087 #. type: Content of: <refentry><refsect1><para>
5088 #: apt.conf.5.xml:523
5090 "The configuration item <literal>RootDir</literal> has a special meaning. If "
5091 "set, all paths in <literal>Dir::</literal> will be relative to "
5092 "<literal>RootDir</literal>, <emphasis>even paths that are specified "
5093 "absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
5094 "set to <filename>/tmp/staging</filename> and <literal>Dir::State::status</"
5095 "literal> is set to <filename>/var/lib/dpkg/status</filename>, then the "
5096 "status file will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</"
5100 #. type: Content of: <refentry><refsect1><para>
5101 #: apt.conf.5.xml:536
5103 "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
5104 "which files APT should silently ignore while parsing the files in the "
5105 "fragment directories. Per default a file which end with <literal>.disabled</"
5106 "literal>, <literal>~</literal>, <literal>.bak</literal> or <literal>.dpkg-[a-"
5107 "z]+</literal> is silently ignored. As seen in the last default value these "
5108 "patterns can use regular expression syntax."
5111 #. type: Content of: <refentry><refsect1><title>
5112 #: apt.conf.5.xml:545
5113 msgid "APT in DSelect"
5116 #. type: Content of: <refentry><refsect1><para>
5117 #: apt.conf.5.xml:547
5119 "When APT is used as a &dselect; method several configuration directives "
5120 "control the default behaviour. These are in the <literal>DSelect</literal> "
5124 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5125 #: apt.conf.5.xml:551
5129 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5130 #: apt.conf.5.xml:552
5132 "Cache Clean mode; this value may be one of always, prompt, auto, pre-auto "
5133 "and never. always and prompt will remove all packages from the cache after "
5134 "upgrading, prompt (the default) does so conditionally. auto removes only "
5135 "those packages which are no longer downloadable (replaced with a new version "
5136 "for instance). pre-auto performs this action before downloading new "
5140 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5141 #: apt.conf.5.xml:561
5143 "The contents of this variable is passed to &apt-get; as command line options "
5144 "when it is run for the install phase."
5147 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5148 #: apt.conf.5.xml:565
5149 msgid "Updateoptions"
5152 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5153 #: apt.conf.5.xml:566
5155 "The contents of this variable is passed to &apt-get; as command line options "
5156 "when it is run for the update phase."
5159 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5160 #: apt.conf.5.xml:570
5161 msgid "PromptAfterUpdate"
5164 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5165 #: apt.conf.5.xml:571
5167 "If true the [U]pdate operation in &dselect; will always prompt to continue. "
5168 "The default is to prompt only on error."
5171 #. type: Content of: <refentry><refsect1><title>
5172 #: apt.conf.5.xml:577
5173 msgid "How APT calls dpkg"
5176 #. type: Content of: <refentry><refsect1><para>
5177 #: apt.conf.5.xml:578
5179 "Several configuration directives control how APT invokes &dpkg;. These are "
5180 "in the <literal>DPkg</literal> section."
5183 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5184 #: apt.conf.5.xml:583
5186 "This is a list of options to pass to dpkg. The options must be specified "
5187 "using the list notation and each list item is passed as a single argument to "
5191 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5192 #: apt.conf.5.xml:588
5196 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5197 #: apt.conf.5.xml:588
5201 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5202 #: apt.conf.5.xml:589
5204 "This is a list of shell commands to run before/after invoking &dpkg;. Like "
5205 "<literal>options</literal> this must be specified in list notation. The "
5206 "commands are invoked in order using <filename>/bin/sh</filename>, should any "
5207 "fail APT will abort."
5210 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5211 #: apt.conf.5.xml:595
5212 msgid "Pre-Install-Pkgs"
5215 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5216 #: apt.conf.5.xml:596
5218 "This is a list of shell commands to run before invoking dpkg. Like "
5219 "<literal>options</literal> this must be specified in list notation. The "
5220 "commands are invoked in order using <filename>/bin/sh</filename>, should any "
5221 "fail APT will abort. APT will pass to the commands on standard input the "
5222 "filenames of all .deb files it is going to install, one per line."
5225 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5226 #: apt.conf.5.xml:602
5228 "Version 2 of this protocol dumps more information, including the protocol "
5229 "version, the APT configuration space and the packages, files and versions "
5230 "being changed. Version 2 is enabled by setting <literal>DPkg::Tools::"
5231 "options::cmd::Version</literal> to 2. <literal>cmd</literal> is a command "
5232 "given to <literal>Pre-Install-Pkgs</literal>."
5235 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5236 #: apt.conf.5.xml:609
5237 msgid "Run-Directory"
5240 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5241 #: apt.conf.5.xml:610
5243 "APT chdirs to this directory before invoking dpkg, the default is <filename>/"
5247 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5248 #: apt.conf.5.xml:614
5249 msgid "Build-options"
5252 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5253 #: apt.conf.5.xml:615
5255 "These options are passed to &dpkg-buildpackage; when compiling packages, the "
5256 "default is to disable signing and produce all binaries."
5259 #. type: Content of: <refentry><refsect1><refsect2><title>
5260 #: apt.conf.5.xml:620
5261 msgid "dpkg trigger usage (and related options)"
5264 #. type: Content of: <refentry><refsect1><refsect2><para>
5265 #: apt.conf.5.xml:621
5267 "APT can call dpkg in a way so it can make aggressive use of triggers over "
5268 "multiple calls of dpkg. Without further options dpkg will use triggers only "
5269 "in between his own run. Activating these options can therefore decrease the "
5270 "time needed to perform the install / upgrade. Note that it is intended to "
5271 "activate these options per default in the future, but as it changes the way "
5272 "APT calling dpkg drastically it needs a lot more testing. <emphasis>These "
5273 "options are therefore currently experimental and should not be used in "
5274 "productive environments.</emphasis> Also it breaks the progress reporting so "
5275 "all frontends will currently stay around half (or more) of the time in the "
5276 "100% state while it actually configures all packages."
5279 #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
5280 #: apt.conf.5.xml:636
5283 "DPkg::NoTriggers \"true\";\n"
5284 "PackageManager::Configure \"smart\";\n"
5285 "DPkg::ConfigurePending \"true\";\n"
5286 "DPkg::TriggersPending \"true\";"
5289 #. type: Content of: <refentry><refsect1><refsect2><para>
5290 #: apt.conf.5.xml:630
5292 "Note that it is not guaranteed that APT will support these options or that "
5293 "these options will not cause (big) trouble in the future. If you have "
5294 "understand the current risks and problems with these options, but are brave "
5295 "enough to help testing them create a new configuration file and test a "
5296 "combination of options. Please report any bugs, problems and improvements "
5297 "you encounter and make sure to note which options you have used in your "
5298 "reports. Asking dpkg for help could also be useful for debugging proposes, "
5299 "see e.g. <command>dpkg --audit</command>. A defensive option combination "
5300 "would be <placeholder type=\"literallayout\" id=\"0\"/>"
5303 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5304 #: apt.conf.5.xml:642
5305 msgid "DPkg::NoTriggers"
5308 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5309 #: apt.conf.5.xml:643
5311 "Add the no triggers flag to all dpkg calls (except the ConfigurePending "
5312 "call). See &dpkg; if you are interested in what this actually means. In "
5313 "short: dpkg will not run the triggers when this flag is present unless it is "
5314 "explicitly called to do so in an extra call. Note that this option exists "
5315 "(undocumented) also in older apt versions with a slightly different meaning: "
5316 "Previously these option only append --no-triggers to the configure calls to "
5317 "dpkg - now apt will add these flag also to the unpack and remove calls."
5320 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5321 #: apt.conf.5.xml:650
5322 msgid "PackageManager::Configure"
5325 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5326 #: apt.conf.5.xml:651
5328 "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
5329 "and \"<literal>no</literal>\". \"<literal>all</literal>\" is the default "
5330 "value and causes APT to configure all packages explicit. The "
5331 "\"<literal>smart</literal>\" way is it to configure only packages which need "
5332 "to be configured before another package can be unpacked (Pre-Depends) and "
5333 "let the rest configure by dpkg with a call generated by the next option. "
5334 "\"<literal>no</literal>\" on the other hand will not configure anything and "
5335 "totally rely on dpkg for configuration (which will at the moment fail if a "
5336 "Pre-Depends is encountered). Setting this option to another than the all "
5337 "value will implicitly activate also the next option per default as otherwise "
5338 "the system could end in an unconfigured status which could be unbootable!"
5341 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5342 #: apt.conf.5.xml:661
5343 msgid "DPkg::ConfigurePending"
5346 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5347 #: apt.conf.5.xml:662
5349 "If this option is set apt will call <command>dpkg --configure --pending</"
5350 "command> to let dpkg handle all required configurations and triggers. This "
5351 "option is activated automatic per default if the previous option is not set "
5352 "to <literal>all</literal>, but deactivating could be useful if you want to "
5353 "run APT multiple times in a row - e.g. in an installer. In these sceneries "
5354 "you could deactivate this option in all but the last run."
5357 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5358 #: apt.conf.5.xml:668
5359 msgid "DPkg::TriggersPending"
5362 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5363 #: apt.conf.5.xml:669
5365 "Useful for <literal>smart</literal> configuration as a package which has "
5366 "pending triggers is not considered as <literal>installed</literal> and dpkg "
5367 "treats them as <literal>unpacked</literal> currently which is a dealbreaker "
5368 "for Pre-Dependencies (see debbugs #526774). Note that this will process all "
5369 "triggers, not only the triggers needed to configure this package."
5372 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5373 #: apt.conf.5.xml:674
5374 msgid "PackageManager::UnpackAll"
5377 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5378 #: apt.conf.5.xml:675
5380 "As the configuration can be deferred to be done at the end by dpkg it can be "
5381 "tried to order the unpack series only by critical needs, e.g. by Pre-"
5382 "Depends. Default is true and therefore the \"old\" method of ordering in "
5383 "various steps by everything. While both method were present in earlier APT "
5384 "versions the <literal>OrderCritical</literal> method was unused, so this "
5385 "method is very experimental and needs further improvements before becoming "
5389 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5390 #: apt.conf.5.xml:682
5391 msgid "OrderList::Score::Immediate"
5394 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
5395 #: apt.conf.5.xml:690
5398 "OrderList::Score {\n"
5400 "\tEssential 200;\n"
5402 "\tPreDepends 50;\n"
5406 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5407 #: apt.conf.5.xml:683
5409 "Essential packages (and there dependencies) should be configured immediately "
5410 "after unpacking. It will be a good idea to do this quite early in the "
5411 "upgrade process as these these configure calls require currently also "
5412 "<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
5413 "(which maybe not needed). Essentials get per default a high score but the "
5414 "immediate flag is relatively low (a package which has a Pre-Depends is "
5415 "higher rated). These option and the others in the same group can be used to "
5416 "change the scoring. The following example shows the settings with there "
5417 "default values. <placeholder type=\"literallayout\" id=\"0\"/>"
5420 #. type: Content of: <refentry><refsect1><title>
5421 #: apt.conf.5.xml:703
5422 msgid "Periodic and Archives options"
5425 #. type: Content of: <refentry><refsect1><para>
5426 #: apt.conf.5.xml:704
5428 "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
5429 "of options configure behavior of apt periodic updates, which is done by "
5430 "<literal>/etc/cron.daily/apt</literal> script. See header of this script for "
5431 "the brief documentation of these options."
5434 #. type: Content of: <refentry><refsect1><title>
5435 #: apt.conf.5.xml:712
5436 msgid "Debug options"
5439 #. type: Content of: <refentry><refsect1><para>
5440 #: apt.conf.5.xml:714
5442 "Enabling options in the <literal>Debug::</literal> section will cause "
5443 "debugging information to be sent to the standard error stream of the program "
5444 "utilizing the <literal>apt</literal> libraries, or enable special program "
5445 "modes that are primarily useful for debugging the behavior of <literal>apt</"
5446 "literal>. Most of these options are not interesting to a normal user, but a "
5450 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5451 #: apt.conf.5.xml:725
5453 "<literal>Debug::pkgProblemResolver</literal> enables output about the "
5454 "decisions made by <literal>dist-upgrade, upgrade, install, remove, purge</"
5458 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5459 #: apt.conf.5.xml:733
5461 "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
5462 "used to run some operations (for instance, <literal>apt-get -s install</"
5463 "literal>) as a non-root user."
5466 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5467 #: apt.conf.5.xml:742
5469 "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
5470 "time that <literal>apt</literal> invokes &dpkg;."
5474 #. motivating example, except I haven't a clue why you'd want
5476 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5477 #: apt.conf.5.xml:750
5479 "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
5483 #. type: Content of: <refentry><refsect1><para>
5484 #: apt.conf.5.xml:760
5485 msgid "A full list of debugging options to apt follows."
5488 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5489 #: apt.conf.5.xml:765
5491 msgid "<literal>Debug::Acquire::cdrom</literal>"
5492 msgstr "a linha <literal>Archive:</literal>"
5494 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5495 #: apt.conf.5.xml:769
5497 "Print information related to accessing <literal>cdrom://</literal> sources."
5500 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5501 #: apt.conf.5.xml:776
5503 msgid "<literal>Debug::Acquire::ftp</literal>"
5504 msgstr "a linha <literal>Archive:</literal>"
5506 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5507 #: apt.conf.5.xml:780
5508 msgid "Print information related to downloading packages using FTP."
5511 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5512 #: apt.conf.5.xml:787
5514 msgid "<literal>Debug::Acquire::http</literal>"
5515 msgstr "a linha <literal>Archive:</literal>"
5517 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5518 #: apt.conf.5.xml:791
5519 msgid "Print information related to downloading packages using HTTP."
5522 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5523 #: apt.conf.5.xml:798
5525 msgid "<literal>Debug::Acquire::https</literal>"
5526 msgstr "a linha <literal>Archive:</literal>"
5528 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5529 #: apt.conf.5.xml:802
5530 msgid "Print information related to downloading packages using HTTPS."
5533 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5534 #: apt.conf.5.xml:809
5536 msgid "<literal>Debug::Acquire::gpgv</literal>"
5537 msgstr "a linha <literal>Archive:</literal>"
5539 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5540 #: apt.conf.5.xml:813
5542 "Print information related to verifying cryptographic signatures using "
5543 "<literal>gpg</literal>."
5546 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5547 #: apt.conf.5.xml:820
5549 msgid "<literal>Debug::aptcdrom</literal>"
5550 msgstr "a linha <literal>Version:</literal>"
5552 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5553 #: apt.conf.5.xml:824
5555 "Output information about the process of accessing collections of packages "
5556 "stored on CD-ROMs."
5559 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5560 #: apt.conf.5.xml:831
5562 msgid "<literal>Debug::BuildDeps</literal>"
5563 msgstr "a linha <literal>Label:</literal>"
5565 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5566 #: apt.conf.5.xml:834
5567 msgid "Describes the process of resolving build-dependencies in &apt-get;."
5570 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5571 #: apt.conf.5.xml:841
5573 msgid "<literal>Debug::Hashes</literal>"
5574 msgstr "a linha <literal>Label:</literal>"
5576 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5577 #: apt.conf.5.xml:844
5579 "Output each cryptographic hash that is generated by the <literal>apt</"
5580 "literal> libraries."
5583 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5584 #: apt.conf.5.xml:851
5586 msgid "<literal>Debug::IdentCDROM</literal>"
5587 msgstr "a linha <literal>Label:</literal>"
5589 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5590 #: apt.conf.5.xml:854
5592 "Do not include information from <literal>statfs</literal>, namely the number "
5593 "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
5597 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5598 #: apt.conf.5.xml:862
5600 msgid "<literal>Debug::NoLocking</literal>"
5601 msgstr "a linha <literal>Origin:</literal>"
5603 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5604 #: apt.conf.5.xml:865
5606 "Disable all file locking. For instance, this will allow two instances of "
5607 "<quote><literal>apt-get update</literal></quote> to run at the same time."
5610 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5611 #: apt.conf.5.xml:873
5613 msgid "<literal>Debug::pkgAcquire</literal>"
5614 msgstr "a linha <literal>Archive:</literal>"
5616 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5617 #: apt.conf.5.xml:877
5618 msgid "Log when items are added to or removed from the global download queue."
5621 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5622 #: apt.conf.5.xml:884
5624 msgid "<literal>Debug::pkgAcquire::Auth</literal>"
5625 msgstr "a linha <literal>Archive:</literal>"
5627 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5628 #: apt.conf.5.xml:887
5630 "Output status messages and errors related to verifying checksums and "
5631 "cryptographic signatures of downloaded files."
5634 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5635 #: apt.conf.5.xml:894
5637 msgid "<literal>Debug::pkgAcquire::Diffs</literal>"
5638 msgstr "a linha <literal>Archive:</literal>"
5640 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5641 #: apt.conf.5.xml:897
5643 "Output information about downloading and applying package index list diffs, "
5644 "and errors relating to package index list diffs."
5647 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5648 #: apt.conf.5.xml:905
5650 msgid "<literal>Debug::pkgAcquire::RRed</literal>"
5651 msgstr "a linha <literal>Archive:</literal>"
5653 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5654 #: apt.conf.5.xml:909
5656 "Output information related to patching apt package lists when downloading "
5657 "index diffs instead of full indices."
5660 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5661 #: apt.conf.5.xml:916
5663 msgid "<literal>Debug::pkgAcquire::Worker</literal>"
5664 msgstr "a linha <literal>Archive:</literal>"
5666 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5667 #: apt.conf.5.xml:920
5669 "Log all interactions with the sub-processes that actually perform downloads."
5672 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5673 #: apt.conf.5.xml:927
5674 msgid "<literal>Debug::pkgAutoRemove</literal>"
5677 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5678 #: apt.conf.5.xml:931
5680 "Log events related to the automatically-installed status of packages and to "
5681 "the removal of unused packages."
5684 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5685 #: apt.conf.5.xml:938
5686 msgid "<literal>Debug::pkgDepCache::AutoInstall</literal>"
5689 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5690 #: apt.conf.5.xml:941
5692 "Generate debug messages describing which packages are being automatically "
5693 "installed to resolve dependencies. This corresponds to the initial auto-"
5694 "install pass performed in, e.g., <literal>apt-get install</literal>, and not "
5695 "to the full <literal>apt</literal> dependency resolver; see <literal>Debug::"
5696 "pkgProblemResolver</literal> for that."
5699 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5700 #: apt.conf.5.xml:952
5701 msgid "<literal>Debug::pkgDepCache::Marker</literal>"
5704 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5705 #: apt.conf.5.xml:955
5707 "Generate debug messages describing which package is marked as keep/install/"
5708 "remove while the ProblemResolver does his work. Each addition or deletion "
5709 "may trigger additional actions; they are shown indented two additional space "
5710 "under the original entry. The format for each line is <literal>MarkKeep</"
5711 "literal>, <literal>MarkDelete</literal> or <literal>MarkInstall</literal> "
5712 "followed by <literal>package-name <a.b.c -> d.e.f | x.y.z> (section)"
5713 "</literal> where <literal>a.b.c</literal> is the current version of the "
5714 "package, <literal>d.e.f</literal> is the version considered for installation "
5715 "and <literal>x.y.z</literal> is a newer version, but not considered for "
5716 "installation (because of a low pin score). The later two can be omitted if "
5717 "there is none or if it is the same version as the installed. "
5718 "<literal>section</literal> is the name of the section the package appears in."
5721 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5722 #: apt.conf.5.xml:974
5724 msgid "<literal>Debug::pkgInitConfig</literal>"
5725 msgstr "a linha <literal>Version:</literal>"
5727 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5728 #: apt.conf.5.xml:977
5729 msgid "Dump the default configuration to standard error on startup."
5732 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5733 #: apt.conf.5.xml:984
5735 msgid "<literal>Debug::pkgDPkgPM</literal>"
5736 msgstr "a linha <literal>Package:</literal>"
5738 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5739 #: apt.conf.5.xml:987
5741 "When invoking &dpkg;, output the precise command line with which it is being "
5742 "invoked, with arguments separated by a single space character."
5745 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5746 #: apt.conf.5.xml:995
5747 msgid "<literal>Debug::pkgDPkgProgressReporting</literal>"
5750 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5751 #: apt.conf.5.xml:998
5753 "Output all the data received from &dpkg; on the status file descriptor and "
5754 "any errors encountered while parsing it."
5757 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5758 #: apt.conf.5.xml:1005
5760 msgid "<literal>Debug::pkgOrderList</literal>"
5761 msgstr "a linha <literal>Origin:</literal>"
5763 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5764 #: apt.conf.5.xml:1009
5766 "Generate a trace of the algorithm that decides the order in which "
5767 "<literal>apt</literal> should pass packages to &dpkg;."
5770 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5771 #: apt.conf.5.xml:1017
5773 msgid "<literal>Debug::pkgPackageManager</literal>"
5774 msgstr "a linha <literal>Package:</literal>"
5776 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5777 #: apt.conf.5.xml:1021
5779 "Output status messages tracing the steps performed when invoking &dpkg;."
5782 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5783 #: apt.conf.5.xml:1028
5785 msgid "<literal>Debug::pkgPolicy</literal>"
5786 msgstr "a linha <literal>Label:</literal>"
5788 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5789 #: apt.conf.5.xml:1032
5790 msgid "Output the priority of each package list on startup."
5793 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5794 #: apt.conf.5.xml:1038
5795 msgid "<literal>Debug::pkgProblemResolver</literal>"
5798 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5799 #: apt.conf.5.xml:1042
5801 "Trace the execution of the dependency resolver (this applies only to what "
5802 "happens when a complex dependency problem is encountered)."
5805 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5806 #: apt.conf.5.xml:1050
5807 msgid "<literal>Debug::pkgProblemResolver::ShowScores</literal>"
5810 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5811 #: apt.conf.5.xml:1053
5813 "Display a list of all installed packages with their calculated score used by "
5814 "the pkgProblemResolver. The description of the package is the same as "
5815 "described in <literal>Debug::pkgDepCache::Marker</literal>"
5818 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5819 #: apt.conf.5.xml:1061
5821 msgid "<literal>Debug::sourceList</literal>"
5822 msgstr "a linha <literal>Version:</literal>"
5824 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5825 #: apt.conf.5.xml:1065
5827 "Print information about the vendors read from <filename>/etc/apt/vendors."
5831 #. type: Content of: <refentry><refsect1><para>
5832 #: apt.conf.5.xml:1088
5834 "&configureindex; is a configuration file showing example values for all "
5838 #. type: Content of: <refentry><refsect1><variablelist>
5839 #: apt.conf.5.xml:1095
5840 msgid "&file-aptconf;"
5843 #. ? reading apt.conf
5844 #. type: Content of: <refentry><refsect1><para>
5845 #: apt.conf.5.xml:1100
5847 msgid "&apt-cache;, &apt-config;, &apt-preferences;."
5848 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
5850 #. The last update date
5851 #. type: Content of: <refentry><refentryinfo>
5852 #: apt_preferences.5.xml:16
5854 "&apt-author.team; &apt-email; &apt-product; <date>16 February 2010</date>"
5857 #. type: Content of: <refentry><refnamediv><refname>
5858 #: apt_preferences.5.xml:24 apt_preferences.5.xml:31
5860 msgid "apt_preferences"
5861 msgstr "apt_preferences"
5863 #. type: Content of: <refentry><refnamediv><refpurpose>
5864 #: apt_preferences.5.xml:32
5866 msgid "Preference control file for APT"
5867 msgstr "Arquivo de controle de preferências para o APT"
5869 #. type: Content of: <refentry><refsect1><para>
5870 #: apt_preferences.5.xml:37
5873 "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
5874 "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
5875 "can be used to control which versions of packages will be selected for "
5878 "O arquivo de preferências do APT <filename>/etc/apt/preferences</filename> "
5879 "pode ser usado para controlar quais versões de pacotes serão selecionadas "
5882 #. type: Content of: <refentry><refsect1><para>
5883 #: apt_preferences.5.xml:42
5886 "Several versions of a package may be available for installation when the "
5887 "&sources-list; file contains references to more than one distribution (for "
5888 "example, <literal>stable</literal> and <literal>testing</literal>). APT "
5889 "assigns a priority to each version that is available. Subject to dependency "
5890 "constraints, <command>apt-get</command> selects the version with the highest "
5891 "priority for installation. The APT preferences file overrides the "
5892 "priorities that APT assigns to package versions by default, thus giving the "
5893 "user control over which one is selected for installation."
5895 "Diversas versões de um pacote podem estar disponíveis para instalação quando "
5896 "o arquivo &sources-list; contém referências para mais de uma distribuição "
5897 "(por exemplo, <literal>stable</literal> e <literal>testing</literal>). O APT "
5898 "atribui uma prioridade para cada versão que esteja disponível. Sujeito a "
5899 "obstáculos de dependências, o <command>apt-get</command> seleciona para "
5900 "instalação a versão com a maior prioridade. O arquivo de preferências do APT "
5901 "sobrepoe as prioridades que o APT atribui a cada versão de pacote por "
5902 "padrão, dando assim ao usuário controle sobre qual versão do pacote é "
5903 "selecionada para instalação."
5905 #. type: Content of: <refentry><refsect1><para>
5906 #: apt_preferences.5.xml:52
5909 "Several instances of the same version of a package may be available when the "
5910 "&sources-list; file contains references to more than one source. In this "
5911 "case <command>apt-get</command> downloads the instance listed earliest in "
5912 "the &sources-list; file. The APT preferences file does not affect the "
5913 "choice of instance, only the choice of version."
5915 "Diversas instâncias da mesma versão de um pacote pode estar disponíveis "
5916 "quando o arquivo &sources-list; contém referências a mais de uma fonte. "
5917 "Nesse caso, o <command>apt-get</command> faz o download da instância listada "
5918 "antes no arquivo &sources-list; . O arquivo de preferências do APT não afeta "
5919 "a escolha da instância."
5921 #. type: Content of: <refentry><refsect1><para>
5922 #: apt_preferences.5.xml:59
5924 "Preferences are a strong power in the hands of a system administrator but "
5925 "they can become also their biggest nightmare if used without care! APT will "
5926 "not questioning the preferences so wrong settings will therefore lead to "
5927 "uninstallable packages or wrong decisions while upgrading packages. Even "
5928 "more problems will arise if multiply distribution releases are mixed without "
5929 "a good understanding of the following paragraphs. Packages included in a "
5930 "specific release aren't tested in and therefore doesn't always work as "
5931 "expected in older or newer releases or together with other packages from "
5932 "different releases. You have been warned."
5935 #. type: Content of: <refentry><refsect1><para>
5936 #: apt_preferences.5.xml:70
5938 "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
5939 "directory are parsed in alphanumeric ascending order and need to obey the "
5940 "following naming convention: The files have either no or \"<literal>pref</"
5941 "literal>\" as filename extension and only contain alphanumeric, hyphen (-), "
5942 "underscore (_) and period (.) characters. Otherwise APT will print a notice "
5943 "that it has ignored a file if the file doesn't match a pattern in the "
5944 "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in this "
5945 "case it will be silently ignored."
5948 #. type: Content of: <refentry><refsect1><refsect2><title>
5949 #: apt_preferences.5.xml:79
5951 msgid "APT's Default Priority Assignments"
5952 msgstr "Atribuições de Prioridade Padrão do APT"
5954 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5955 #: apt_preferences.5.xml:94
5957 msgid "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
5959 "<programlisting>\n"
5960 "<command>apt-get install -t testing <replaceable>algum-pacote</replaceable></command>\n"
5962 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5963 #: apt_preferences.5.xml:97
5965 msgid "APT::Default-Release \"stable\";\n"
5967 "<programlisting>\n"
5968 "APT::Default-Release \"stable\";\n"
5970 #. type: Content of: <refentry><refsect1><refsect2><para>
5971 #: apt_preferences.5.xml:81
5974 "If there is no preferences file or if there is no entry in the file that "
5975 "applies to a particular version then the priority assigned to that version "
5976 "is the priority of the distribution to which that version belongs. It is "
5977 "possible to single out a distribution, \"the target release\", which "
5978 "receives a higher priority than other distributions do by default. The "
5979 "target release can be set on the <command>apt-get</command> command line or "
5980 "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
5981 "that this has precedence over any general priority you set in the <filename>/"
5982 "etc/apt/preferences</filename> file described later, but not over "
5983 "specifically pinned packages. For example, <placeholder type="
5984 "\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
5986 "Caso não exista um arquivo de preferências ou caso não exista uma entrada no "
5987 "arquivo que se aplique a uma instância em particular, a prioridade atribuída "
5988 "a essa instância é a prioridade da distribuição para a qual a instância "
5989 "pertence. É possível selecionar uma distribuição, conhecida como \"a versão "
5990 "alvo\" (the target release), que recebe uma prioridade maior do que as "
5991 "outras distribuições. A versão alvo pode ser definida na linha de comando do "
5992 "<command>apt-get</command> ou no arquivo de configuração do APT <filename>/"
5993 "etc/apt/apt.conf</filename>. Por exemplo,"
5995 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5996 #: apt_preferences.5.xml:106
5999 msgstr "prioridade 100"
6001 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6002 #: apt_preferences.5.xml:107
6004 "to the versions coming from archives which in their <filename>Release</"
6005 "filename> files are marked as \"NotAutomatic: yes\" but <emphasis>not</"
6006 "emphasis> as \"ButAutomaticUpgrades: yes\" like the debian "
6007 "<literal>experimental</literal> archive."
6010 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6011 #: apt_preferences.5.xml:113
6013 msgid "priority 100"
6014 msgstr "prioridade 100"
6016 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6017 #: apt_preferences.5.xml:114
6019 "to the version that is already installed (if any) and to the versions coming "
6020 "from archives which in their <filename>Release</filename> files are marked "
6021 "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the debian "
6022 "backports archive since <literal>squeeze-backports</literal>."
6025 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6026 #: apt_preferences.5.xml:121
6028 msgid "priority 500"
6029 msgstr "prioridade 500"
6031 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6032 #: apt_preferences.5.xml:122
6035 "to the versions that are not installed and do not belong to the target "
6038 "para as instâncias que não estã instaladas e que não pertencem a versão alvo."
6040 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6041 #: apt_preferences.5.xml:126
6043 msgid "priority 990"
6044 msgstr "prioridade 990"
6046 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6047 #: apt_preferences.5.xml:127
6050 "to the versions that are not installed and belong to the target release."
6052 "para as instâncias que não estejam instaladas e pertençam a versão alvo."
6054 #. type: Content of: <refentry><refsect1><refsect2><para>
6055 #: apt_preferences.5.xml:101
6058 "If the target release has been specified then APT uses the following "
6059 "algorithm to set the priorities of the versions of a package. Assign: "
6060 "<placeholder type=\"variablelist\" id=\"0\"/>"
6062 "Caso uma versão alvo tenha sido especificada o APT usará o seguinte "
6063 "algoritmo para definir as prioridades das instâncias de um pacote. "
6066 #. type: Content of: <refentry><refsect1><refsect2><para>
6067 #: apt_preferences.5.xml:132
6070 "If the target release has not been specified then APT simply assigns "
6071 "priority 100 to all installed package versions and priority 500 to all "
6072 "uninstalled package versions, except versions coming from archives which in "
6073 "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
6074 "- these versions get the priority 1 or priority 100 if it is additionally "
6075 "marked as \"ButAutomaticUpgrades: yes\"."
6077 "Caso nenhuma versão alvo tenha sido especificada, o APT simplesmente irá "
6078 "atribuir a prioridade 100 para todas as instâncias de pacotes instaladas e a "
6079 "prioridade 500 para todas as instâncias de pacotes não instaladas."
6081 #. type: Content of: <refentry><refsect1><refsect2><para>
6082 #: apt_preferences.5.xml:139
6085 "APT then applies the following rules, listed in order of precedence, to "
6086 "determine which version of a package to install."
6088 "O APT aplica as regras a seguir, listadas em ordem de precedência, para "
6089 "determinar qual instância de um pacote instalar."
6091 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6092 #: apt_preferences.5.xml:142
6095 "Never downgrade unless the priority of an available version exceeds 1000. "
6096 "(\"Downgrading\" is installing a less recent version of a package in place "
6097 "of a more recent version. Note that none of APT's default priorities "
6098 "exceeds 1000; such high priorities can only be set in the preferences file. "
6099 "Note also that downgrading a package can be risky.)"
6101 "Nunca faz um downgrade a menos que a prioridade de uma instância disponível "
6102 "exceda 1000. (Fazer um \"downgrade\" é instalar uma versão menos recente de "
6103 "um pacote no lugar de uma versão mais recente. Note que nenhuma das "
6104 "prioridades padrão do APT excede 1000; prioridades altas como essa podem ser "
6105 "definidas somente no arquivo de preferências. Note também que fazer um "
6106 "\"downgrade\" pode ser arriscado.)"
6108 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6109 #: apt_preferences.5.xml:148
6111 msgid "Install the highest priority version."
6112 msgstr "Instala a instância de prioridade mais alta."
6114 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6115 #: apt_preferences.5.xml:149
6118 "If two or more versions have the same priority, install the most recent one "
6119 "(that is, the one with the higher version number)."
6121 "Caso duas ou mais instâncias possuam a mesma prioridade, instala a instância "
6122 "mais recente (ou seja, aquela com o maior número de versão)."
6124 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6125 #: apt_preferences.5.xml:152
6128 "If two or more versions have the same priority and version number but either "
6129 "the packages differ in some of their metadata or the <literal>--reinstall</"
6130 "literal> option is given, install the uninstalled one."
6132 "Caso duas ou mais instâncias possuam a mesma prioridade e número de versão "
6133 "mas os pacotes sejam diferentes em alguns de seus metadados ou a opção "
6134 "<literal>--reinstall</literal> seja fornecida, instala aquela desinstalada."
6136 #. type: Content of: <refentry><refsect1><refsect2><para>
6137 #: apt_preferences.5.xml:158
6140 "In a typical situation, the installed version of a package (priority 100) "
6141 "is not as recent as one of the versions available from the sources listed in "
6142 "the &sources-list; file (priority 500 or 990). Then the package will be "
6143 "upgraded when <command>apt-get install <replaceable>some-package</"
6144 "replaceable></command> or <command>apt-get upgrade</command> is executed."
6146 "Em uma situação típica, a instância instalada de um pacote (prioridade 100) "
6147 "não é tão recente quanto uma das versões disponíveis nas fontes listadas no "
6148 "arquivo &sources-list; (prioridade 500 ou 990). Então o pacote será "
6149 "atualizado quando os comandos <command>apt-get install <replaceable>algum-"
6150 "pacote</replaceable></command> ou <command>apt-get dist-upgrade</command> "
6153 #. type: Content of: <refentry><refsect1><refsect2><para>
6154 #: apt_preferences.5.xml:165
6157 "More rarely, the installed version of a package is <emphasis>more</emphasis> "
6158 "recent than any of the other available versions. The package will not be "
6159 "downgraded when <command>apt-get install <replaceable>some-package</"
6160 "replaceable></command> or <command>apt-get upgrade</command> is executed."
6162 "Mais raramente, a versão instalada de um pacote é <emphasis>mais</emphasis> "
6163 "recente do que qualquer uma das outras versões disponíveis. O dowgrade do "
6164 "pacote não será feito quando os comandos <command>apt-get install "
6165 "<replaceable>algum-pacote</replaceable></command> ou <command>apt-get "
6166 "upgrade</command> forem executados."
6168 #. type: Content of: <refentry><refsect1><refsect2><para>
6169 #: apt_preferences.5.xml:170
6172 "Sometimes the installed version of a package is more recent than the version "
6173 "belonging to the target release, but not as recent as a version belonging to "
6174 "some other distribution. Such a package will indeed be upgraded when "
6175 "<command>apt-get install <replaceable>some-package</replaceable></command> "
6176 "or <command>apt-get upgrade</command> is executed, because at least "
6177 "<emphasis>one</emphasis> of the available versions has a higher priority "
6178 "than the installed version."
6180 "Algumas vezes a versão instalada de um pacote é mais recente que a versão "
6181 "que pertence a versão alvo, mas não tão recente quanto a versão que pertence "
6182 "a alguma outra distribuição. Um pacote como esse será na verdade atualizado "
6183 "quando os comandos <command>apt-get install <replaceable>algum-pacote</"
6184 "replaceable></command> ou <command>apt-get upgrade</command> forem "
6185 "executados, devido a pelo menos <emphasis>uma</emphasis> das versões "
6186 "disponíveis possuir uma prioridade maior do que a versão instalada."
6188 #. type: Content of: <refentry><refsect1><refsect2><title>
6189 #: apt_preferences.5.xml:179
6191 msgid "The Effect of APT Preferences"
6192 msgstr "O Efeito das Preferências do APT"
6194 #. type: Content of: <refentry><refsect1><refsect2><para>
6195 #: apt_preferences.5.xml:181
6198 "The APT preferences file allows the system administrator to control the "
6199 "assignment of priorities. The file consists of one or more multi-line "
6200 "records separated by blank lines. Records can have one of two forms, a "
6201 "specific form and a general form."
6203 "O arquivo de preferências do APT permite ao administrador do sistema "
6204 "personalizar prioridades. O arquivo consiste de um ou mais registros de "
6205 "múltiplas linhas separados por linhas em branco. Registros podem possuir uma "
6206 "das duas formas, uma forma específica e uma forma geral."
6208 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6209 #: apt_preferences.5.xml:187
6212 "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
6213 "specified packages and specified version or version range. For example, the "
6214 "following record assigns a high priority to all versions of the "
6215 "<filename>perl</filename> package whose version number begins with "
6216 "\"<literal>5.8</literal>\". Multiple packages can be separated by spaces."
6218 "A forma específica atribui uma uma prioridade (uma \"Pin-Priority\") para um "
6219 "pacote e versão ou faixa de versão especificados. Por exemplo, o registro a "
6220 "seguir atribui uma prioridade alta para todas as versões do pacote "
6221 "<filename>perl</filename> os quais tenham seus números de versão iniciando "
6222 "com \"<literal>5.8</literal>\"."
6224 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6225 #: apt_preferences.5.xml:194
6229 "Pin: version 5.8*\n"
6230 "Pin-Priority: 1001\n"
6232 "<programlisting>\n"
6234 "Pin: version 5.8*\n"
6235 "Pin-Priority: 1001\n"
6237 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6238 #: apt_preferences.5.xml:200
6241 "The general form assigns a priority to all of the package versions in a "
6242 "given distribution (that is, to all the versions of packages that are listed "
6243 "in a certain <filename>Release</filename> file) or to all of the package "
6244 "versions coming from a particular Internet site, as identified by the site's "
6245 "fully qualified domain name."
6247 "O forma geral atribui uma prioridade para todas as versões de pacotes em uma "
6248 "dada distribuição (isto é, para toda as versões de pacotes que estejam em um "
6249 "certo arquivo <filename>Release</filename>) ou para todas as versões de "
6250 "pacotes que provenientes de um site Internet em particular, como "
6251 "identificado pelo nome de domínio totalmente qualificado do site Internet."
6253 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6254 #: apt_preferences.5.xml:206
6257 "This general-form entry in the APT preferences file applies only to groups "
6258 "of packages. For example, the following record assigns a high priority to "
6259 "all package versions available from the local site."
6261 "Essa entrada de forma geral no arquivo de preferências do APT aplica-se "
6262 "somente a grupos de pacotes. Por exemplo, o registro a seguir faz com que o "
6263 "APT atribua uma prioridade alta para todas as versões de pacotes disponíveis "
6266 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6267 #: apt_preferences.5.xml:211
6271 "Pin: origin \"\"\n"
6272 "Pin-Priority: 999\n"
6274 "<programlisting>\n"
6276 "Pin: origin \"\"\n"
6277 "Pin-Priority: 999\n"
6279 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6280 #: apt_preferences.5.xml:216
6282 "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
6283 "which can be used to match a hostname. The following record will assign a "
6284 "high priority to all versions available from the server identified by the "
6285 "hostname \"ftp.de.debian.org\""
6288 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6289 #: apt_preferences.5.xml:220
6293 "Pin: origin \"ftp.de.debian.org\"\n"
6294 "Pin-Priority: 999\n"
6296 "<programlisting>\n"
6298 "Pin: origin \"\"\n"
6299 "Pin-Priority: 999\n"
6301 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6302 #: apt_preferences.5.xml:224
6305 "This should <emphasis>not</emphasis> be confused with the Origin of a "
6306 "distribution as specified in a <filename>Release</filename> file. What "
6307 "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
6308 "Internet address but an author or vendor name, such as \"Debian\" or \"Ximian"
6311 "Uma nota de aviso : a palavra-chave usada aqui é \"<literal>origin</literal>"
6312 "\". Esta palavra não deve ser confundida com a origem (\"Origin:\") de uma "
6313 "distribuição como especificado em um arquivo <filename>Release</filename>. O "
6314 "que segue a tag \"Origin:\" em um arquivo <filename>Release</filename> não é "
6315 "um endereço de site Internet mas sim nome de autor ou distribuidor (vendor), "
6316 "como \"Debian\" ou \"Ximian\"."
6318 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6319 #: apt_preferences.5.xml:229
6322 "The following record assigns a low priority to all package versions "
6323 "belonging to any distribution whose Archive name is \"<literal>unstable</"
6326 "O registro a seguir atribui uma prioridade baixa para todas as versões de "
6327 "pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
6328 "\"<literal>unstable</literal>\"."
6330 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6331 #: apt_preferences.5.xml:233
6335 "Pin: release a=unstable\n"
6336 "Pin-Priority: 50\n"
6338 "<programlisting>\n"
6340 "Pin: release a=unstable\n"
6341 "Pin-Priority: 50\n"
6343 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6344 #: apt_preferences.5.xml:238
6347 "The following record assigns a high priority to all package versions "
6348 "belonging to any distribution whose Codename is \"<literal>&testing-codename;"
6351 "O registro a seguir atribui uma prioridade baixa para todas as versões de "
6352 "pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
6353 "\"<literal>unstable</literal>\"."
6355 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6356 #: apt_preferences.5.xml:242
6360 "Pin: release n=&testing-codename;\n"
6361 "Pin-Priority: 900\n"
6363 "<programlisting>\n"
6365 "Pin: release a=unstable\n"
6366 "Pin-Priority: 50\n"
6368 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6369 #: apt_preferences.5.xml:247
6372 "The following record assigns a high priority to all package versions "
6373 "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
6374 "and whose release Version number is \"<literal>3.0</literal>\"."
6376 "O registro a seguir atribui uma prioridade alta para todas as versões de "
6377 "pacotes que pertençam a qualquer versão cujo nome do Repositório seja "
6378 "\"<literal>stable</literal>\" e cujo número de versão seja \"<literal>3.0</"
6381 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6382 #: apt_preferences.5.xml:252
6386 "Pin: release a=stable, v=3.0\n"
6387 "Pin-Priority: 500\n"
6389 "<programlisting>\n"
6391 "Pin: release a=unstable, v=3.0\n"
6392 "Pin-Priority: 50\n"
6394 #. type: Content of: <refentry><refsect1><refsect2><title>
6395 #: apt_preferences.5.xml:262
6396 msgid "Regular expressions and glob() syntax"
6399 #. type: Content of: <refentry><refsect1><refsect2><para>
6400 #: apt_preferences.5.xml:264
6402 "APT also supports pinning by glob() expressions and regular expressions "
6403 "surrounded by /. For example, the following example assigns the priority 500 "
6404 "to all packages from experimental where the name starts with gnome (as a glob"
6405 "()-like expression) or contains the word kde (as a POSIX extended regular "
6406 "expression surrounded by slashes)."
6409 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6410 #: apt_preferences.5.xml:273
6413 "Package: gnome* /kde/\n"
6414 "Pin: release n=experimental\n"
6415 "Pin-Priority: 500\n"
6417 "<programlisting>\n"
6419 "Pin: release a=unstable\n"
6420 "Pin-Priority: 50\n"
6422 #. type: Content of: <refentry><refsect1><refsect2><para>
6423 #: apt_preferences.5.xml:279
6425 "The rule for those expressions is that they can occur anywhere where a "
6426 "string can occur. Thus, the following pin assigns the priority 990 to all "
6427 "packages from a release starting with karmic."
6430 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6431 #: apt_preferences.5.xml:285
6435 "Pin: release n=karmic*\n"
6436 "Pin-Priority: 990\n"
6438 "<programlisting>\n"
6440 "Pin: release a=unstable\n"
6441 "Pin-Priority: 50\n"
6443 #. type: Content of: <refentry><refsect1><refsect2><literal>
6444 #: apt_preferences.5.xml:290
6448 #. type: Content of: <refentry><refsect1><refsect2><literal>
6449 #: apt_preferences.5.xml:296
6453 #. type: Content of: <refentry><refsect1><refsect2><title>
6454 #: apt_preferences.5.xml:306
6456 msgid "How APT Interprets Priorities"
6457 msgstr "Como o APT Interpreta Prioridades"
6459 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6460 #: apt_preferences.5.xml:314
6463 msgstr "P > 1000"
6465 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6466 #: apt_preferences.5.xml:315
6469 "causes a version to be installed even if this constitutes a downgrade of the "
6472 "faz com que uma instância seja instalada mesmo caso isso constitua um "
6473 "dowgrade do pacote"
6475 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6476 #: apt_preferences.5.xml:319
6478 msgid "990 < P <=1000"
6479 msgstr "990 < P <=1000"
6481 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6482 #: apt_preferences.5.xml:320
6485 "causes a version to be installed even if it does not come from the target "
6486 "release, unless the installed version is more recent"
6488 "faz com que uma versão seja instalada mesmo caso a mesma não venha de uma "
6489 "versão alvo, a menos que a versão instalada seja mais recente"
6491 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6492 #: apt_preferences.5.xml:325
6494 msgid "500 < P <=990"
6495 msgstr "500 < P <=990"
6497 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6498 #: apt_preferences.5.xml:326
6501 "causes a version to be installed unless there is a version available "
6502 "belonging to the target release or the installed version is more recent"
6504 "faz com que uma versão seja instalada a menos que exista uma versão "
6505 "disponível pertencente a versão alvo ou a versão instalada seja mais recente"
6507 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6508 #: apt_preferences.5.xml:331
6510 msgid "100 < P <=500"
6511 msgstr "100 < P <=500"
6513 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6514 #: apt_preferences.5.xml:332
6517 "causes a version to be installed unless there is a version available "
6518 "belonging to some other distribution or the installed version is more recent"
6520 "faz com que uma versão seja instalada a menos que exista uma versão "
6521 "disponível pertencente a alguma outra distribuição ou a versão instalada "
6524 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6525 #: apt_preferences.5.xml:337
6527 msgid "0 < P <=100"
6528 msgstr "0 <= P <=100"
6530 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6531 #: apt_preferences.5.xml:338
6534 "causes a version to be installed only if there is no installed version of "
6537 "faz com que uma versão seja instalada somente caso não exista uma versão "
6538 "instalada do pacote"
6540 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6541 #: apt_preferences.5.xml:342
6546 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6547 #: apt_preferences.5.xml:343
6549 msgid "prevents the version from being installed"
6550 msgstr "impede a versão de ser instalada"
6552 #. type: Content of: <refentry><refsect1><refsect2><para>
6553 #: apt_preferences.5.xml:309
6556 "Priorities (P) assigned in the APT preferences file must be positive or "
6557 "negative integers. They are interpreted as follows (roughly speaking): "
6558 "<placeholder type=\"variablelist\" id=\"0\"/>"
6560 "Prioridades (P) atribuídas no arquivo de preferências do APT devem ser "
6561 "números inteiros positivos ou negativos. Eles são interpretados como a "
6562 "seguir (a grosso modo):"
6564 #. type: Content of: <refentry><refsect1><refsect2><para>
6565 #: apt_preferences.5.xml:348
6568 "If any specific-form records match an available package version then the "
6569 "first such record determines the priority of the package version. Failing "
6570 "that, if any general-form records match an available package version then "
6571 "the first such record determines the priority of the package version."
6573 "Caso um dos registro de forma específica descritos acima case (match) com "
6574 "uma versão disponível do pacote então o primeiro desses registros "
6575 "encontrados determinará a prioridade da versão do pacote. Na falha desse "
6576 "cenário, caso quaisquer registros de forma genérica casem (match) com uma "
6577 "versão do pacote disponível então o primeiro desses registros encontrado "
6578 "determinará a prioridade da versão do pacote."
6580 #. type: Content of: <refentry><refsect1><refsect2><para>
6581 #: apt_preferences.5.xml:354
6584 "For example, suppose the APT preferences file contains the three records "
6585 "presented earlier:"
6587 "Por exemplo, suponha que o arquivo de preferências do APT contenha os três "
6588 "registros apresentados anteriormente :"
6590 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6591 #: apt_preferences.5.xml:358
6595 "Pin: version 5.8*\n"
6596 "Pin-Priority: 1001\n"
6599 "Pin: origin \"\"\n"
6600 "Pin-Priority: 999\n"
6603 "Pin: release unstable\n"
6604 "Pin-Priority: 50\n"
6606 "<programlisting>\n"
6608 "Pin: version 5.8*\n"
6609 "Pin-Priority: 1001\n"
6612 "Pin: origin \"\"\n"
6613 "Pin-Priority: 999\n"
6616 "Pin: release unstable\n"
6617 "Pin-Priority: 50\n"
6619 #. type: Content of: <refentry><refsect1><refsect2><para>
6620 #: apt_preferences.5.xml:371
6624 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6625 #: apt_preferences.5.xml:373
6628 "The most recent available version of the <literal>perl</literal> package "
6629 "will be installed, so long as that version's version number begins with "
6630 "\"<literal>5.8</literal>\". If <emphasis>any</emphasis> 5.8* version of "
6631 "<literal>perl</literal> is available and the installed version is 5.9*, then "
6632 "<literal>perl</literal> will be downgraded."
6634 "A versão mais recente disponível do pacote <literal>perl</literal> será "
6635 "instalado, contanto que esse número de versão da versão inicie com "
6636 "\"<literal>5.8</literal>\". Caso <emphasis>qualquer</emphasis> versão 5.8* "
6637 "de <literal>perl</literal> esteja disponível e a versão instalada seja 5.9*, "
6638 "será feito um downgrade do <literal>perl</literal>."
6640 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6641 #: apt_preferences.5.xml:378
6644 "A version of any package other than <literal>perl</literal> that is "
6645 "available from the local system has priority over other versions, even "
6646 "versions belonging to the target release."
6648 "Uma versão de qualquer pacote diferente de <literal>perl</literal> que "
6649 "esteja disponível no sistema local possui prioridade sobre outras versões, "
6650 "mesmo versões pertencentes a versão alvo."
6652 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6653 #: apt_preferences.5.xml:382
6656 "A version of a package whose origin is not the local system but some other "
6657 "site listed in &sources-list; and which belongs to an <literal>unstable</"
6658 "literal> distribution is only installed if it is selected for installation "
6659 "and no version of the package is already installed."
6661 "Uma versão de um pacote cuja origem não seja o sistema local mas sim algum "
6662 "outro site listado no arquivo &sources-list; e que pertença a uma "
6663 "distribuição <literal>unstable</literal> é instalada somente caso a mesma "
6664 "seja selecionada para instalação e nenhuma versão do pacote já esteja "
6667 #. type: Content of: <refentry><refsect1><refsect2><title>
6668 #: apt_preferences.5.xml:392
6670 msgid "Determination of Package Version and Distribution Properties"
6671 msgstr "Determinação da Versão do Pacote e Propriedades da Distribuição"
6673 #. type: Content of: <refentry><refsect1><refsect2><para>
6674 #: apt_preferences.5.xml:394
6677 "The locations listed in the &sources-list; file should provide "
6678 "<filename>Packages</filename> and <filename>Release</filename> files to "
6679 "describe the packages available at that location."
6681 "As localidades listadas em um arquivo &sources-list; devem fornecer arquivos "
6682 "<filename>Packages</filename> e <filename>Release</filename> para descrever "
6683 "os pacotes disponíveis nessas localidades."
6685 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6686 #: apt_preferences.5.xml:406
6688 msgid "the <literal>Package:</literal> line"
6689 msgstr "a linha <literal>Package:</literal>"
6691 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6692 #: apt_preferences.5.xml:407
6694 msgid "gives the package name"
6695 msgstr "informa o nome do pacote"
6697 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6698 #: apt_preferences.5.xml:410 apt_preferences.5.xml:460
6700 msgid "the <literal>Version:</literal> line"
6701 msgstr "a linha <literal>Version:</literal>"
6703 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6704 #: apt_preferences.5.xml:411
6706 msgid "gives the version number for the named package"
6707 msgstr "informa o número de versão do pacote"
6709 #. type: Content of: <refentry><refsect1><refsect2><para>
6710 #: apt_preferences.5.xml:398
6713 "The <filename>Packages</filename> file is normally found in the directory "
6714 "<filename>.../dists/<replaceable>dist-name</replaceable>/"
6715 "<replaceable>component</replaceable>/<replaceable>arch</replaceable></"
6716 "filename>: for example, <filename>.../dists/stable/main/binary-i386/"
6717 "Packages</filename>. It consists of a series of multi-line records, one for "
6718 "each package available in that directory. Only two lines in each record are "
6719 "relevant for setting APT priorities: <placeholder type=\"variablelist\" id="
6722 "O arquivo <filename>Packages</filename> é normalmente encontrado no "
6723 "diretório <filename>.../dists/<replaceable>nome-distribuição</replaceable>/"
6724 "<replaceable>componente</replaceable>/<replaceable>arquitetura</"
6725 "replaceable></filename> : por exemplo, <filename>.../dists/stable/main/"
6726 "binary-i386/Packages</filename>. O arquivo consiste de uma série de "
6727 "registros de múltiplas linhas, uma para cada pacote disponível no diretório. "
6728 "Somente duas linhas em cada registro são relevantes para definir prioridades "
6731 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6732 #: apt_preferences.5.xml:427
6734 msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
6735 msgstr "a linha <literal>Archive:</literal>"
6737 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6738 #: apt_preferences.5.xml:428
6741 "names the archive to which all the packages in the directory tree belong. "
6742 "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
6743 "that all of the packages in the directory tree below the parent of the "
6744 "<filename>Release</filename> file are in a <literal>stable</literal> "
6745 "archive. Specifying this value in the APT preferences file would require "
6748 "dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
6749 "pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
6750 "pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
6751 "<filename>Release</filename> estão no respositório <literal>stable</"
6752 "literal>. Especificar esse valor no arquivo de preferências do APT iria "
6753 "requerer a linha :"
6755 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6756 #: apt_preferences.5.xml:438
6758 msgid "Pin: release a=stable\n"
6760 "<programlisting>\n"
6761 "Pin: release a=stable\n"
6763 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6764 #: apt_preferences.5.xml:444
6766 msgid "the <literal>Codename:</literal> line"
6767 msgstr "a linha <literal>Component:</literal>"
6769 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6770 #: apt_preferences.5.xml:445
6773 "names the codename to which all the packages in the directory tree belong. "
6774 "For example, the line \"Codename: &testing-codename;\" specifies that all of "
6775 "the packages in the directory tree below the parent of the "
6776 "<filename>Release</filename> file belong to a version named "
6777 "<literal>&testing-codename;</literal>. Specifying this value in the APT "
6778 "preferences file would require the line:"
6780 "dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
6781 "pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
6782 "pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
6783 "<filename>Release</filename> estão no respositório <literal>stable</"
6784 "literal>. Especificar esse valor no arquivo de preferências do APT iria "
6785 "requerer a linha :"
6787 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6788 #: apt_preferences.5.xml:454
6790 msgid "Pin: release n=&testing-codename;\n"
6792 "<programlisting>\n"
6793 "Pin: release a=stable\n"
6795 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6796 #: apt_preferences.5.xml:461
6799 "names the release version. For example, the packages in the tree might "
6800 "belong to Debian GNU/Linux release version 3.0. Note that there is normally "
6801 "no version number for the <literal>testing</literal> and <literal>unstable</"
6802 "literal> distributions because they have not been released yet. Specifying "
6803 "this in the APT preferences file would require one of the following lines."
6805 "dá nome a versão da distribuição. Por exemplo, os pacote na àrvore podem "
6806 "pertencer a distribuição Debian GNU/Linux versão 3.0. Note que normalmente "
6807 "não existe número de versão para as distribuições <literal>testing</literal> "
6808 "e <literal>unstable</literal> devido as mesmas não terem sido lançadas "
6809 "ainda. Especificar isso no arquivo de preferências do APT iria requerer uma "
6810 "das linhas a seguir."
6812 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6813 #: apt_preferences.5.xml:470
6816 "Pin: release v=3.0\n"
6817 "Pin: release a=stable, v=3.0\n"
6818 "Pin: release 3.0\n"
6820 "<programlisting>\n"
6821 "Pin: release v=3.0\n"
6822 "Pin: release a=stable v=3.0\n"
6823 "Pin: release 3.0\n"
6825 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6826 #: apt_preferences.5.xml:479
6828 msgid "the <literal>Component:</literal> line"
6829 msgstr "a linha <literal>Component:</literal>"
6831 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6832 #: apt_preferences.5.xml:480
6835 "names the licensing component associated with the packages in the directory "
6836 "tree of the <filename>Release</filename> file. For example, the line "
6837 "\"Component: main\" specifies that all the packages in the directory tree "
6838 "are from the <literal>main</literal> component, which entails that they are "
6839 "licensed under terms listed in the Debian Free Software Guidelines. "
6840 "Specifying this component in the APT preferences file would require the line:"
6842 "dá nome ao componente de licenciamento associado com os pacotes na àrvore de "
6843 "diretório do arquivo <filename>Release</filename>. Por exemplo, a linha "
6844 "\"Component: main\" especifica que todos os pacotes na àrvore de diretório "
6845 "são do componente <literal>main</literal>, o que significa que as mesmas "
6846 "estão licenciadas sob os termos da Linhas Guias Debian para o Software Livre "
6847 "(a DFSG). Especificar esse componente no arquivo de preferências do APT iria "
6848 "requerer a linha :"
6850 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6851 #: apt_preferences.5.xml:489
6853 msgid "Pin: release c=main\n"
6855 "<programlisting>\n"
6856 "Pin: release c=main\n"
6858 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6859 #: apt_preferences.5.xml:495
6861 msgid "the <literal>Origin:</literal> line"
6862 msgstr "a linha <literal>Origin:</literal>"
6864 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6865 #: apt_preferences.5.xml:496
6868 "names the originator of the packages in the directory tree of the "
6869 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6870 "literal>. Specifying this origin in the APT preferences file would require "
6873 "dá nome ao produtor dos pacotes na àrvore de diretório do arquivo "
6874 "<filename>Release</filename>. O mais comum é esse valor ser <literal>Debian</"
6875 "literal>. Especificar essa origem no arquivo de preferências do APT iria "
6876 "requerer a linha :"
6878 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6879 #: apt_preferences.5.xml:502
6881 msgid "Pin: release o=Debian\n"
6883 "<programlisting>\n"
6884 "Pin: release o=Debian\n"
6886 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6887 #: apt_preferences.5.xml:508
6889 msgid "the <literal>Label:</literal> line"
6890 msgstr "a linha <literal>Label:</literal>"
6892 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6893 #: apt_preferences.5.xml:509
6896 "names the label of the packages in the directory tree of the "
6897 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6898 "literal>. Specifying this label in the APT preferences file would require "
6901 "dá nome ao rótulo (label) dos pacotes na árvore de diretório. O mais comum é "
6902 "esse valor ser <literal>Debian</literal>. Especificar esse rótulo (label) no "
6903 "arquivo de preferências do APT iria requerer a linha :"
6905 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6906 #: apt_preferences.5.xml:515
6908 msgid "Pin: release l=Debian\n"
6910 "<programlisting>\n"
6911 "Pin: release l=Debian\n"
6913 #. type: Content of: <refentry><refsect1><refsect2><para>
6914 #: apt_preferences.5.xml:416
6917 "The <filename>Release</filename> file is normally found in the directory "
6918 "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
6919 "example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
6920 "dists/&stable-codename;/Release</filename>. It consists of a single multi-"
6921 "line record which applies to <emphasis>all</emphasis> of the packages in the "
6922 "directory tree below its parent. Unlike the <filename>Packages</filename> "
6923 "file, nearly all of the lines in a <filename>Release</filename> file are "
6924 "relevant for setting APT priorities: <placeholder type=\"variablelist\" id="
6927 "O arquivo <filename>Release</filename> é normalmente encontrado no diretório "
6928 "<filename>.../dists/<replaceable>nome-distribuição</replaceable></"
6929 "filename> : por exemplo, <filename>.../dists/stable/Release</filename>, ou "
6930 "<filename>.../dists/woody/Release</filename>. O arquivo consiste de um "
6931 "registro de múltiplas linhas o qual se aplica a <emphasis>todos</emphasis> "
6932 "os pacotes na àrvore de diretórios abaixo de seu diretório pai. Diferente do "
6933 "arquivo <filename>Packages</filename>, quase todas as linhas em um arquivo "
6934 "<filename>Release</filename> são relevantes para a definição de prioridades "
6937 #. type: Content of: <refentry><refsect1><refsect2><para>
6938 #: apt_preferences.5.xml:522
6941 "All of the <filename>Packages</filename> and <filename>Release</filename> "
6942 "files retrieved from locations listed in the &sources-list; file are stored "
6943 "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
6944 "named by the variable <literal>Dir::State::Lists</literal> in the "
6945 "<filename>apt.conf</filename> file. For example, the file <filename>debian."
6946 "lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
6947 "contains the <filename>Release</filename> file retrieved from the site "
6948 "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
6949 "architecture files from the <literal>contrib</literal> component of the "
6950 "<literal>unstable</literal> distribution."
6952 "Todos os arquivos <filename>Packages</filename> e <filename>Release</"
6953 "filename> obtidos das localidades listadas no arquivo &sources-list; são "
6954 "mantidos no diretório <filename>/var/lib/apt/lists</filename> ou no arquivo "
6955 "indicado pela variável <literal>Dir::State::Lists</literal> no arquivo "
6956 "<filename>apt.conf</filename>. Por exemplo, o arquivo <filename>debian.lcs."
6957 "mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> contém "
6958 "o arquivo <filename>Release</filename> obtido do site <literal>debian.lcs."
6959 "mit.edu</literal> para a arquitetura <literal>binary-i386</literal>, "
6960 "arquivos do componente <literal>contrib</literal> da distribuição "
6961 "<literal>unstable</literal>."
6963 #. type: Content of: <refentry><refsect1><refsect2><title>
6964 #: apt_preferences.5.xml:535
6966 msgid "Optional Lines in an APT Preferences Record"
6967 msgstr "Linhas Opcionais em um Registro de Preferências do APT"
6969 #. type: Content of: <refentry><refsect1><refsect2><para>
6970 #: apt_preferences.5.xml:537
6973 "Each record in the APT preferences file can optionally begin with one or "
6974 "more lines beginning with the word <literal>Explanation:</literal>. This "
6975 "provides a place for comments."
6977 "Cada registro em um arquivo de preferências do APT pode opcionalmente "
6978 "iniciar com uma ou mais linhas iniciadas com a palavra <literal>Explanation:"
6979 "</literal>. Isto oferece um local para inserir comentários."
6981 #. type: Content of: <refentry><refsect1><refsect2><title>
6982 #: apt_preferences.5.xml:546
6984 msgid "Tracking Stable"
6985 msgstr "Acompanhando a Stable"
6987 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6988 #: apt_preferences.5.xml:554
6991 "Explanation: Uninstall or do not install any Debian-originated\n"
6992 "Explanation: package versions other than those in the stable distro\n"
6994 "Pin: release a=stable\n"
6995 "Pin-Priority: 900\n"
6998 "Pin: release o=Debian\n"
6999 "Pin-Priority: -10\n"
7001 "<programlisting>\n"
7002 "Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
7003 "Explanation: do Debian a não ser aquelas na distribuição stable\n"
7005 "Pin: release a=stable\n"
7006 "Pin-Priority: 900\n"
7009 "Pin: release o=Debian\n"
7010 "Pin-Priority: -10\n"
7012 #. type: Content of: <refentry><refsect1><refsect2><para>
7013 #: apt_preferences.5.xml:548
7016 "The following APT preferences file will cause APT to assign a priority "
7017 "higher than the default (500) to all package versions belonging to a "
7018 "<literal>stable</literal> distribution and a prohibitively low priority to "
7019 "package versions belonging to other <literal>Debian</literal> "
7020 "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
7022 "O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
7023 "prioridade maior do que a prioridade padrão (500) para todas as versões de "
7024 "pacotes pertencentes a distribuição <literal>stable</literal> e uma "
7025 "prioridade proibitivamente baixa para versões de pacotes pertencentes a "
7026 "outras distribuições <literal>Debian</literal>."
7028 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7029 #: apt_preferences.5.xml:571 apt_preferences.5.xml:617
7030 #: apt_preferences.5.xml:675
7033 "apt-get install <replaceable>package-name</replaceable>\n"
7035 "apt-get dist-upgrade\n"
7037 "<programlisting>\n"
7038 "apt-get install <replaceable>nome-pacote</replaceable>\n"
7040 "apt-get dist-upgrade\n"
7042 #. type: Content of: <refentry><refsect1><refsect2><para>
7043 #: apt_preferences.5.xml:566
7046 "With a suitable &sources-list; file and the above preferences file, any of "
7047 "the following commands will cause APT to upgrade to the latest "
7048 "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
7051 "Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
7052 "quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
7053 "ulítma(s) versão(ôes) <literal>stable</literal>."
7055 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7056 #: apt_preferences.5.xml:583
7058 msgid "apt-get install <replaceable>package</replaceable>/testing\n"
7060 "<programlisting>\n"
7061 "apt-get install <replaceable>pacote</replaceable>/testing\n"
7063 #. type: Content of: <refentry><refsect1><refsect2><para>
7064 #: apt_preferences.5.xml:577
7067 "The following command will cause APT to upgrade the specified package to the "
7068 "latest version from the <literal>testing</literal> distribution; the package "
7069 "will not be upgraded again unless this command is given again. <placeholder "
7070 "type=\"programlisting\" id=\"0\"/>"
7072 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
7073 "última versão da distribuição <literal>testing</literal>; o pacote não serpa "
7074 "atualizado novamente a menos que esse comando seja executado novamente."
7076 #. type: Content of: <refentry><refsect1><refsect2><title>
7077 #: apt_preferences.5.xml:589
7079 msgid "Tracking Testing or Unstable"
7080 msgstr "Acompanhando a Testing"
7082 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7083 #: apt_preferences.5.xml:598
7087 "Pin: release a=testing\n"
7088 "Pin-Priority: 900\n"
7091 "Pin: release a=unstable\n"
7092 "Pin-Priority: 800\n"
7095 "Pin: release o=Debian\n"
7096 "Pin-Priority: -10\n"
7098 "<programlisting>\n"
7100 "Pin: release a=testing\n"
7101 "Pin-Priority: 900\n"
7104 "Pin: release a=unstable\n"
7105 "Pin-Priority: 800\n"
7108 "Pin: release o=Debian\n"
7109 "Pin-Priority: -10\n"
7111 #. type: Content of: <refentry><refsect1><refsect2><para>
7112 #: apt_preferences.5.xml:591
7115 "The following APT preferences file will cause APT to assign a high priority "
7116 "to package versions from the <literal>testing</literal> distribution, a "
7117 "lower priority to package versions from the <literal>unstable</literal> "
7118 "distribution, and a prohibitively low priority to package versions from "
7119 "other <literal>Debian</literal> distributions. <placeholder type="
7120 "\"programlisting\" id=\"0\"/>"
7122 "O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
7123 "prioridade maior para versões de pacote da distribuição <literal>testing</"
7124 "literal>, uma prioridade menor para versões de pacotes da distribuição "
7125 "<literal>unstable</literal> e uma prioridade proibitivamente baixa para "
7126 "versões de pacotes de outras distribuições <literal>Debian</literal>."
7128 #. type: Content of: <refentry><refsect1><refsect2><para>
7129 #: apt_preferences.5.xml:612
7132 "With a suitable &sources-list; file and the above preferences file, any of "
7133 "the following commands will cause APT to upgrade to the latest "
7134 "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
7137 "Com um arquivo &sources-list; adequado e o arquivo de preferências do APT "
7138 "acima, quaisquer dos comandos a seguir farão com que o APT atualize para a"
7139 "(s) última(s) versão(ões) <literal>testing</literal>."
7141 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7142 #: apt_preferences.5.xml:632
7144 msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
7146 "<programlisting>\n"
7147 "apt-get install <replaceable>pacote</replaceable>/unstable\n"
7149 #. type: Content of: <refentry><refsect1><refsect2><para>
7150 #: apt_preferences.5.xml:623
7153 "The following command will cause APT to upgrade the specified package to the "
7154 "latest version from the <literal>unstable</literal> distribution. "
7155 "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
7156 "the most recent <literal>testing</literal> version if that is more recent "
7157 "than the installed version, otherwise, to the most recent <literal>unstable</"
7158 "literal> version if that is more recent than the installed version. "
7159 "<placeholder type=\"programlisting\" id=\"0\"/>"
7161 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
7162 "última versão da distribuição <literal>unstable</literal>. Assim, o comando "
7163 "<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
7164 "<literal>testing</literal> mais recente caso essa versão seja mais recente "
7165 "que a versão instalada, caso não seja, o pacote será atualizado para a "
7166 "versão <literal>unstable</literal> mais recente caso a mesma seja mais "
7167 "recente que a versão instalada."
7169 #. type: Content of: <refentry><refsect1><refsect2><title>
7170 #: apt_preferences.5.xml:639
7171 msgid "Tracking the evolution of a codename release"
7174 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7175 #: apt_preferences.5.xml:653
7178 "Explanation: Uninstall or do not install any Debian-originated package versions\n"
7179 "Explanation: other than those in the distribution codenamed with &testing-codename; or sid\n"
7181 "Pin: release n=&testing-codename;\n"
7182 "Pin-Priority: 900\n"
7184 "Explanation: Debian unstable is always codenamed with sid\n"
7186 "Pin: release n=sid\n"
7187 "Pin-Priority: 800\n"
7190 "Pin: release o=Debian\n"
7191 "Pin-Priority: -10\n"
7193 "<programlisting>\n"
7194 "Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
7195 "Explanation: do Debian a não ser aquelas na distribuição stable\n"
7197 "Pin: release a=stable\n"
7198 "Pin-Priority: 900\n"
7201 "Pin: release o=Debian\n"
7202 "Pin-Priority: -10\n"
7204 #. type: Content of: <refentry><refsect1><refsect2><para>
7205 #: apt_preferences.5.xml:641
7207 "The following APT preferences file will cause APT to assign a priority "
7208 "higher than the default (500) to all package versions belonging to a "
7209 "specified codename of a distribution and a prohibitively low priority to "
7210 "package versions belonging to other <literal>Debian</literal> distributions, "
7211 "codenames and archives. Note that with this APT preference APT will follow "
7212 "the migration of a release from the archive <literal>testing</literal> to "
7213 "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
7214 "want to follow for example the progress in <literal>testing</literal> "
7215 "notwithstanding the codename changes you should use the example "
7216 "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
7219 #. type: Content of: <refentry><refsect1><refsect2><para>
7220 #: apt_preferences.5.xml:670
7223 "With a suitable &sources-list; file and the above preferences file, any of "
7224 "the following commands will cause APT to upgrade to the latest version(s) in "
7225 "the release codenamed with <literal>&testing-codename;</literal>. "
7226 "<placeholder type=\"programlisting\" id=\"0\"/>"
7228 "Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
7229 "quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
7230 "ulítma(s) versão(ôes) <literal>stable</literal>."
7232 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7233 #: apt_preferences.5.xml:690
7235 msgid "apt-get install <replaceable>package</replaceable>/sid\n"
7237 "<programlisting>\n"
7238 "apt-get install <replaceable>pacote</replaceable>/testing\n"
7240 #. type: Content of: <refentry><refsect1><refsect2><para>
7241 #: apt_preferences.5.xml:681
7244 "The following command will cause APT to upgrade the specified package to the "
7245 "latest version from the <literal>sid</literal> distribution. Thereafter, "
7246 "<command>apt-get upgrade</command> will upgrade the package to the most "
7247 "recent <literal>&testing-codename;</literal> version if that is more recent "
7248 "than the installed version, otherwise, to the most recent <literal>sid</"
7249 "literal> version if that is more recent than the installed version. "
7250 "<placeholder type=\"programlisting\" id=\"0\"/>"
7252 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
7253 "última versão da distribuição <literal>unstable</literal>. Assim, o comando "
7254 "<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
7255 "<literal>testing</literal> mais recente caso essa versão seja mais recente "
7256 "que a versão instalada, caso não seja, o pacote será atualizado para a "
7257 "versão <literal>unstable</literal> mais recente caso a mesma seja mais "
7258 "recente que a versão instalada."
7260 #. type: Content of: <refentry><refsect1><variablelist>
7261 #: apt_preferences.5.xml:699
7263 msgid "&file-preferences;"
7264 msgstr "apt_preferences"
7266 #. type: Content of: <refentry><refsect1><para>
7267 #: apt_preferences.5.xml:705
7269 msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7270 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7272 #. type: Content of: <refentry><refnamediv><refname>
7273 #: sources.list.5.xml:25 sources.list.5.xml:32
7274 msgid "sources.list"
7277 #. type: Content of: <refentry><refnamediv><refpurpose>
7278 #: sources.list.5.xml:33
7279 msgid "Package resource list for APT"
7282 #. type: Content of: <refentry><refsect1><para>
7283 #: sources.list.5.xml:37
7285 "The package resource list is used to locate archives of the package "
7286 "distribution system in use on the system. At this time, this manual page "
7287 "documents only the packaging system used by the Debian GNU/Linux system. "
7288 "This control file is <filename>/etc/apt/sources.list</filename>."
7291 #. type: Content of: <refentry><refsect1><para>
7292 #: sources.list.5.xml:42
7294 "The source list is designed to support any number of active sources and a "
7295 "variety of source media. The file lists one source per line, with the most "
7296 "preferred source listed first. The format of each line is: <literal>type uri "
7297 "args</literal> The first item, <literal>type</literal> determines the format "
7298 "for <literal>args</literal>. <literal>uri</literal> is a Universal Resource "
7299 "Identifier (URI), which is a superset of the more specific and well-known "
7300 "Universal Resource Locator, or URL. The rest of the line can be marked as a "
7301 "comment by using a #."
7304 #. type: Content of: <refentry><refsect1><title>
7305 #: sources.list.5.xml:53
7306 msgid "sources.list.d"
7309 #. type: Content of: <refentry><refsect1><para>
7310 #: sources.list.5.xml:54
7312 "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
7313 "add sources.list entries in separate files. The format is the same as for "
7314 "the regular <filename>sources.list</filename> file. File names need to end "
7315 "with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
7316 "digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
7317 "Otherwise APT will print a notice that it has ignored a file if the file "
7318 "doesn't match a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
7319 "configuration list - in this case it will be silently ignored."
7322 #. type: Content of: <refentry><refsect1><title>
7323 #: sources.list.5.xml:65
7324 msgid "The deb and deb-src types"
7327 #. type: Content of: <refentry><refsect1><para>
7328 #: sources.list.5.xml:66
7330 "The <literal>deb</literal> type describes a typical two-level Debian "
7331 "archive, <filename>distribution/component</filename>. Typically, "
7332 "<literal>distribution</literal> is generally an archivename like "
7333 "<literal>stable</literal> or <literal>testing</literal> or a codename like "
7334 "<literal>&stable-codename;</literal> or <literal>&testing-codename;</"
7335 "literal> while component is one of <literal>main</literal> <literal>contrib</"
7336 "literal> or <literal>non-free</literal>. The <literal>deb-src</literal> type "
7337 "describes a debian distribution's source code in the same form as the "
7338 "<literal>deb</literal> type. A <literal>deb-src</literal> line is required "
7339 "to fetch source indexes."
7342 #. type: Content of: <refentry><refsect1><para>
7343 #: sources.list.5.xml:78
7345 "The format for a <filename>sources.list</filename> entry using the "
7346 "<literal>deb</literal> and <literal>deb-src</literal> types is:"
7349 #. type: Content of: <refentry><refsect1><literallayout>
7350 #: sources.list.5.xml:81
7352 msgid "deb uri distribution [component1] [component2] [...]"
7355 #. type: Content of: <refentry><refsect1><para>
7356 #: sources.list.5.xml:83
7358 "The URI for the <literal>deb</literal> type must specify the base of the "
7359 "Debian distribution, from which APT will find the information it needs. "
7360 "<literal>distribution</literal> can specify an exact path, in which case the "
7361 "components must be omitted and <literal>distribution</literal> must end with "
7362 "a slash (/). This is useful for when the case only a particular sub-section "
7363 "of the archive denoted by the URI is of interest. If <literal>distribution</"
7364 "literal> does not specify an exact path, at least one <literal>component</"
7365 "literal> must be present."
7368 #. type: Content of: <refentry><refsect1><para>
7369 #: sources.list.5.xml:92
7371 "<literal>distribution</literal> may also contain a variable, <literal>$(ARCH)"
7372 "</literal> which expands to the Debian architecture (i386, m68k, "
7373 "powerpc, ...) used on the system. This permits architecture-independent "
7374 "<filename>sources.list</filename> files to be used. In general this is only "
7375 "of interest when specifying an exact path, <literal>APT</literal> will "
7376 "automatically generate a URI with the current architecture otherwise."
7379 #. type: Content of: <refentry><refsect1><para>
7380 #: sources.list.5.xml:100
7382 "Since only one distribution can be specified per line it may be necessary to "
7383 "have multiple lines for the same URI, if a subset of all available "
7384 "distributions or components at that location is desired. APT will sort the "
7385 "URI list after it has generated a complete set internally, and will collapse "
7386 "multiple references to the same Internet host, for instance, into a single "
7387 "connection, so that it does not inefficiently establish an FTP connection, "
7388 "close it, do something else, and then re-establish a connection to that same "
7389 "host. This feature is useful for accessing busy FTP sites with limits on the "
7390 "number of simultaneous anonymous users. APT also parallelizes connections to "
7391 "different hosts to more effectively deal with sites with low bandwidth."
7394 #. type: Content of: <refentry><refsect1><para>
7395 #: sources.list.5.xml:112
7397 "It is important to list sources in order of preference, with the most "
7398 "preferred source listed first. Typically this will result in sorting by "
7399 "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
7400 "followed by distant Internet hosts, for example)."
7403 #. type: Content of: <refentry><refsect1><para>
7404 #: sources.list.5.xml:117
7406 msgid "Some examples:"
7409 #. type: Content of: <refentry><refsect1><literallayout>
7410 #: sources.list.5.xml:119
7413 "deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
7414 "deb http://security.debian.org/ &stable-codename;/updates main contrib non-free\n"
7418 #. type: Content of: <refentry><refsect1><title>
7419 #: sources.list.5.xml:125
7420 msgid "URI specification"
7423 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7424 #: sources.list.5.xml:130
7428 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7429 #: sources.list.5.xml:132
7431 "The file scheme allows an arbitrary directory in the file system to be "
7432 "considered an archive. This is useful for NFS mounts and local mirrors or "
7436 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7437 #: sources.list.5.xml:139
7439 "The cdrom scheme allows APT to use a local CDROM drive with media swapping. "
7440 "Use the &apt-cdrom; program to create cdrom entries in the source list."
7443 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7444 #: sources.list.5.xml:146
7446 "The http scheme specifies an HTTP server for the archive. If an environment "
7447 "variable <envar>http_proxy</envar> is set with the format http://server:"
7448 "port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
7449 "Users of authenticated HTTP/1.1 proxies may use a string of the format "
7450 "http://user:pass@server:port/. Note that this is an insecure method of "
7454 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7455 #: sources.list.5.xml:157
7457 "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
7458 "is highly configurable; for more information see the &apt-conf; manual page. "
7459 "Please note that a ftp proxy can be specified by using the <envar>ftp_proxy</"
7460 "envar> environment variable. It is possible to specify a http proxy (http "
7461 "proxy servers often understand ftp urls) using this method and ONLY this "
7462 "method. ftp proxies using http specified in the configuration file will be "
7466 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7467 #: sources.list.5.xml:166
7471 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7472 #: sources.list.5.xml:168
7474 "The copy scheme is identical to the file scheme except that packages are "
7475 "copied into the cache directory instead of used directly at their location. "
7476 "This is useful for people using a zip disk to copy files around with APT."
7479 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7480 #: sources.list.5.xml:173
7484 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7485 #: sources.list.5.xml:173
7489 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7490 #: sources.list.5.xml:175
7492 "The rsh/ssh method invokes rsh/ssh to connect to a remote host as a given "
7493 "user and access the files. It is a good idea to do prior arrangements with "
7494 "RSA keys or rhosts. Access to files on the remote uses standard "
7495 "<command>find</command> and <command>dd</command> commands to perform the "
7496 "file transfers from the remote."
7499 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7500 #: sources.list.5.xml:183
7501 msgid "more recognizable URI types"
7504 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7505 #: sources.list.5.xml:185
7507 "APT can be extended with more methods shipped in other optional packages "
7508 "which should follow the nameing scheme <literal>apt-transport-"
7509 "<replaceable>method</replaceable></literal>. The APT team e.g. maintains "
7510 "also the <literal>apt-transport-https</literal> package which provides "
7511 "access methods for https-URIs with features similar to the http method, but "
7512 "other methods for using e.g. debtorrent are also available, see "
7513 "<citerefentry> <refentrytitle><filename>apt-transport-debtorrent</filename></"
7514 "refentrytitle> <manvolnum>1</manvolnum></citerefentry>."
7517 #. type: Content of: <refentry><refsect1><para>
7518 #: sources.list.5.xml:127
7520 "The currently recognized URI types are cdrom, file, http, ftp, copy, ssh, "
7521 "rsh. <placeholder type=\"variablelist\" id=\"0\"/>"
7524 #. type: Content of: <refentry><refsect1><para>
7525 #: sources.list.5.xml:199
7527 "Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
7528 "stable/main, stable/contrib, and stable/non-free."
7531 #. type: Content of: <refentry><refsect1><literallayout>
7532 #: sources.list.5.xml:201
7534 msgid "deb file:/home/jason/debian stable main contrib non-free"
7537 #. type: Content of: <refentry><refsect1><para>
7538 #: sources.list.5.xml:203
7539 msgid "As above, except this uses the unstable (development) distribution."
7542 #. type: Content of: <refentry><refsect1><literallayout>
7543 #: sources.list.5.xml:204
7545 msgid "deb file:/home/jason/debian unstable main contrib non-free"
7548 #. type: Content of: <refentry><refsect1><para>
7549 #: sources.list.5.xml:206
7550 msgid "Source line for the above"
7553 #. type: Content of: <refentry><refsect1><literallayout>
7554 #: sources.list.5.xml:207
7556 msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
7559 #. type: Content of: <refentry><refsect1><para>
7560 #: sources.list.5.xml:209
7562 "Uses HTTP to access the archive at archive.debian.org, and uses only the "
7566 #. type: Content of: <refentry><refsect1><literallayout>
7567 #: sources.list.5.xml:211
7569 msgid "deb http://archive.debian.org/debian-archive hamm main"
7572 #. type: Content of: <refentry><refsect1><para>
7573 #: sources.list.5.xml:213
7575 "Uses FTP to access the archive at ftp.debian.org, under the debian "
7576 "directory, and uses only the &stable-codename;/contrib area."
7579 #. type: Content of: <refentry><refsect1><literallayout>
7580 #: sources.list.5.xml:215
7582 msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
7585 #. type: Content of: <refentry><refsect1><para>
7586 #: sources.list.5.xml:217
7588 "Uses FTP to access the archive at ftp.debian.org, under the debian "
7589 "directory, and uses only the unstable/contrib area. If this line appears as "
7590 "well as the one in the previous example in <filename>sources.list</filename> "
7591 "a single FTP session will be used for both resource lines."
7594 #. type: Content of: <refentry><refsect1><literallayout>
7595 #: sources.list.5.xml:221
7597 msgid "deb ftp://ftp.debian.org/debian unstable contrib"
7600 #. type: Content of: <refentry><refsect1><para><literallayout>
7601 #: sources.list.5.xml:230
7603 msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
7606 #. type: Content of: <refentry><refsect1><para>
7607 #: sources.list.5.xml:223
7609 "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
7610 "directory, and uses only files found under <filename>unstable/binary-i386</"
7611 "filename> on i386 machines, <filename>unstable/binary-amd64</filename> on "
7612 "amd64, and so forth for other supported architectures. [Note this example "
7613 "only illustrates how to use the substitution variable; official debian "
7614 "archives are not structured like this] <placeholder type=\"literallayout\" "
7618 #. type: Content of: <refentry><refsect1><para>
7619 #: sources.list.5.xml:235
7621 msgid "&apt-cache; &apt-conf;"
7622 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7624 #. type: <title></title>
7626 msgid "APT User's Guide"
7629 #. type: <author></author>
7630 #: guide.sgml:6 offline.sgml:6
7631 msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
7634 #. type: <version></version>
7636 msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $"
7639 #. type: <abstract></abstract>
7642 "This document provides an overview of how to use the the APT package manager."
7645 #. type: <copyrightsummary></copyrightsummary>
7647 msgid "Copyright © Jason Gunthorpe, 1998."
7651 #: guide.sgml:21 offline.sgml:22
7653 "\"APT\" and this document are free software; you can redistribute them and/"
7654 "or modify them under the terms of the GNU General Public License as "
7655 "published by the Free Software Foundation; either version 2 of the License, "
7656 "or (at your option) any later version."
7660 #: guide.sgml:24 offline.sgml:25
7662 "For more details, on Debian GNU/Linux systems, see the file /usr/share/"
7663 "common-licenses/GPL for the full license."
7666 #. type: <heading></heading>
7674 "The APT package currently contains two sections, the APT <prgn>dselect</"
7675 "prgn> method and the <prgn>apt-get</prgn> command line user interface. Both "
7676 "provide a way to install and remove packages as well as download new "
7677 "packages from the Internet."
7680 #. type: <heading></heading>
7682 msgid "Anatomy of the Package System"
7688 "The Debian packaging system has a large amount of information associated "
7689 "with each package to help assure that it integrates cleanly and easily into "
7690 "the system. The most prominent of its features is the dependency system."
7696 "The dependency system allows individual programs to make use of shared "
7697 "elements in the system such as libraries. It simplifies placing infrequently "
7698 "used portions of a program in separate packages to reduce the number of "
7699 "things the average user is required to install. Also, it allows for choices "
7700 "in mail transport agents, X servers and so on."
7706 "The first step to understanding the dependency system is to grasp the "
7707 "concept of a simple dependency. The meaning of a simple dependency is that a "
7708 "package requires another package to be installed at the same time to work "
7715 "For instance, mailcrypt is an emacs extension that aids in encrypting email "
7716 "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
7717 "simple dependency on GPG. Also, because it is an emacs extension it has a "
7718 "simple dependency on emacs, without emacs it is completely useless."
7724 "The other important dependency to understand is a conflicting dependency. It "
7725 "means that a package, when installed with another package, will not work and "
7726 "may possibly be extremely harmful to the system. As an example consider a "
7727 "mail transport agent such as sendmail, exim or qmail. It is not possible to "
7728 "have two mail transport agents installed because both need to listen to the "
7729 "network to receive mail. Attempting to install two will seriously damage the "
7730 "system so all mail transport agents have a conflicting dependency with all "
7731 "other mail transport agents."
7737 "As an added complication there is the possibility for a package to pretend "
7738 "to be another package. Consider that exim and sendmail for many intents are "
7739 "identical, they both deliver mail and understand a common interface. Hence, "
7740 "the package system has a way for them to declare that they are both mail-"
7741 "transport-agents. So, exim and sendmail both declare that they provide a "
7742 "mail-transport-agent and other packages that need a mail transport agent "
7743 "depend on mail-transport-agent. This can add a great deal of confusion when "
7744 "trying to manually fix packages."
7750 "At any given time a single dependency may be met by packages that are "
7751 "already installed or it may not be. APT attempts to help resolve dependency "
7752 "issues by providing a number of automatic algorithms that help in selecting "
7753 "packages for installation."
7759 "<prgn>apt-get</prgn> provides a simple way to install packages from the "
7760 "command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not "
7761 "understand .deb files, it works with the package's proper name and can only "
7762 "install .deb archives from a <em>Source</em>."
7768 "The first <footnote><p>If you are using an http proxy server you must set "
7769 "the http_proxy environment variable first, see sources.list(5)</p></"
7770 "footnote> thing that should be done before using <prgn>apt-get</prgn> is to "
7771 "fetch the package lists from the <em>Sources</em> so that it knows what "
7772 "packages are available. This is done with <tt>apt-get update</tt>. For "
7776 #. type: <example></example>
7780 "# apt-get update\n"
7781 "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
7782 "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7783 "Reading Package Lists... Done\n"
7784 "Building Dependency Tree... Done"
7787 #. type: <p><taglist>
7789 msgid "Once updated there are several commands that can be used:"
7795 "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
7796 "install a new package or remove an existing package, nor will it ever "
7797 "upgrade a package that might cause some other package to break. This can be "
7798 "used daily to relatively safely upgrade the system. Upgrade will list all of "
7799 "the packages that it could not upgrade, this usually means that they depend "
7800 "on new packages or conflict with some other package. <prgn>dselect</prgn> or "
7801 "<tt>apt-get install</tt> can be used to force these packages to install."
7807 "Install is used to install packages by name. The package is automatically "
7808 "fetched and installed. This can be useful if you already know the name of "
7809 "the package to install and do not want to go into a GUI to select it. Any "
7810 "number of packages may be passed to install, they will all be fetched. "
7811 "Install automatically attempts to resolve dependency problems with the "
7812 "listed packages and will print a summary and ask for confirmation if "
7813 "anything other than its arguments are changed."
7819 "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
7820 "releases of Debian. It uses a sophisticated algorithm to determine the best "
7821 "set of packages to install, upgrade and remove to get as much of the system "
7822 "to the newest release. In some situations it may be desired to use dist-"
7823 "upgrade rather than spend the time manually resolving dependencies in "
7824 "<prgn>dselect</prgn>. Once dist-upgrade has completed then <prgn>dselect</"
7825 "prgn> can be used to install any packages that may have been left out."
7831 "It is important to closely look at what dist-upgrade is going to do, its "
7832 "decisions may sometimes be quite surprising."
7838 "<prgn>apt-get</prgn> has several command line options that are detailed in "
7839 "its man page, <manref section=\"8\" name=\"apt-get\">. The most useful "
7840 "option is <tt>-d</tt> which does not install the fetched files. If the "
7841 "system has to download a large number of package it would be undesired to "
7842 "start installing them in case something goes wrong. When <tt>-d</tt> is used "
7843 "the downloaded archives can be installed by simply running the command that "
7844 "caused them to be downloaded again without <tt>-d</tt>."
7847 #. type: <heading></heading>
7855 "The APT <prgn>dselect</prgn> method provides the complete APT system with "
7856 "the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used "
7857 "to select the packages to be installed or removed and APT actually installs "
7864 "To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> "
7865 "and then choose the APT method. You will be prompted for a set of "
7866 "<em>Sources</em> which are places to fetch archives from. These can be "
7867 "remote Internet sites, local Debian mirrors or CDROMs. Each source can "
7868 "provide a fragment of the total Debian archive, APT will automatically "
7869 "combine them to form a complete set of packages. If you have a CDROM then it "
7870 "is a good idea to specify it first and then specify a mirror so that you "
7871 "have access to the latest bug fixes. APT will automatically use packages on "
7872 "your CDROM before downloading from the Internet."
7875 #. type: <example></example>
7879 " Set up a list of distribution source locations\n"
7881 " Please give the base URL of the debian distribution.\n"
7882 " The access schemes I know about are: http file\n"
7885 " file:/mnt/debian,\n"
7886 " ftp://ftp.debian.org/debian,\n"
7887 " http://ftp.de.debian.org/debian,\n"
7890 " URL [http://llug.sep.bnl.gov/debian]:"
7896 "The <em>Sources</em> setup starts by asking for the base of the Debian "
7897 "archive, defaulting to a HTTP mirror. Next it asks for the distribution to "
7901 #. type: <example></example>
7905 " Please give the distribution tag to get or a path to the\n"
7906 " package file ending in a /. The distribution\n"
7907 " tags are typically something like: stable unstable testing non-US\n"
7909 " Distribution [stable]:"
7915 "The distribution refers to the Debian version in the archive, <em>stable</"
7916 "em> refers to the latest released version and <em>unstable</em> refers to "
7917 "the developmental version. <em>non-US</em> is only available on some mirrors "
7918 "and refers to packages that contain encryption technology or other things "
7919 "that cannot be exported from the United States. Importing these packages "
7920 "into the US is legal however."
7923 #. type: <example></example>
7927 " Please give the components to get\n"
7928 " The components are typically something like: main contrib non-free\n"
7930 " Components [main contrib non-free]:"
7936 "The components list refers to the list of sub distributions to fetch. The "
7937 "distribution is split up based on software licenses, main being DFSG free "
7938 "packages while contrib and non-free contain things that have various "
7939 "restrictions placed on their use and distribution."
7945 "Any number of sources can be added, the setup script will continue to prompt "
7946 "until you have specified all that you want."
7952 "Before starting to use <prgn>dselect</prgn> it is necessary to update the "
7953 "available list by selecting [U]pdate from the menu. This is a superset of "
7954 "<tt>apt-get update</tt> that makes the fetched information available to "
7955 "<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get update</"
7956 "tt> has been run before."
7962 "You can then go on and make your selections using [S]elect and then perform "
7963 "the installation using [I]nstall. When using the APT method the [C]onfig and "
7964 "[R]emove commands have no meaning, the [I]nstall command performs both of "
7971 "By default APT will automatically remove the package (.deb) files once they "
7972 "have been successfully installed. To change this behavior place <tt>Dselect::"
7973 "clean \"prompt\";</tt> in /etc/apt/apt.conf."
7976 #. type: <heading></heading>
7978 msgid "The Interface"
7984 "Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the "
7985 "same interface. It is a simple system that generally tells you what it will "
7986 "do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method "
7987 "actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method "
7988 "actually provides more functionality than is present in <prgn>apt-get</prgn> "
7989 "alone.</p></footnote> After printing out a summary of what will happen APT "
7990 "then will print out some informative status messages so that you can "
7991 "estimate how far along it is and how much is left to do."
7994 #. type: <heading></heading>
8002 "Before all operations except update, APT performs a number of actions to "
8003 "prepare its internal state. It also does some checks of the system's state. "
8004 "At any time these operations can be performed by running <tt>apt-get check</"
8008 #. type: <example></example>
8013 "Reading Package Lists... Done\n"
8014 "Building Dependency Tree... Done"
8020 "The first thing it does is read all the package files into memory. APT uses "
8021 "a caching scheme so this operation will be faster the second time it is run. "
8022 "If some of the package files are not found then they will be ignored and a "
8023 "warning will be printed when apt-get exits."
8029 "The final operation performs a detailed analysis of the system's "
8030 "dependencies. It checks every dependency of every installed or unpacked "
8031 "package and considers if it is OK. Should this find a problem then a report "
8032 "will be printed out and <prgn>apt-get</prgn> will refuse to run."
8035 #. type: <example></example>
8040 "Reading Package Lists... Done\n"
8041 "Building Dependency Tree... Done\n"
8042 "You might want to run apt-get -f install' to correct these.\n"
8043 "Sorry, but the following packages have unmet dependencies:\n"
8044 " 9fonts: Depends: xlib6g but it is not installed\n"
8045 " uucp: Depends: mailx but it is not installed\n"
8046 " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8047 " adduser: Depends: perl-base but it is not installed\n"
8048 " aumix: Depends: libgpmg1 but it is not installed\n"
8049 " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
8050 " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
8051 " cthugha: Depends: svgalibg1 but it is not installed\n"
8052 " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8053 " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
8059 "In this example the system has many problems, including a serious problem "
8060 "with libreadlineg2. For each package that has unmet dependencies a line is "
8061 "printed out indicating the package with the problem and the dependencies "
8062 "that are unmet. A short explanation of why the package has a dependency "
8063 "problem is also included."
8069 "There are two ways a system can get into a broken state like this. The first "
8070 "is caused by <prgn>dpkg</prgn> missing some subtle relationships between "
8071 "packages when performing upgrades. <footnote><p>APT however considers all "
8072 "known dependencies and attempts to prevent broken packages</p></footnote>. "
8073 "The second is if a package installation fails during an operation. In this "
8074 "situation a package may have been unpacked without its dependents being "
8081 "The second situation is much less serious than the first because APT places "
8082 "certain constraints on the order that packages are installed. In both cases "
8083 "supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to "
8084 "deduce a possible solution to the problem and then continue on. The APT "
8085 "<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow "
8086 "for easy continuation of failed maintainer scripts."
8092 "However, if the <tt>-f</tt> option is used to correct a seriously broken "
8093 "system caused by the first case then it is possible that it will either fail "
8094 "immediately or the installation sequence will fail. In either case it is "
8095 "necessary to manually use dpkg (possibly with forcing options) to correct "
8096 "the situation enough to allow APT to proceed."
8099 #. type: <heading></heading>
8101 msgid "The Status Report"
8107 "Before proceeding <prgn>apt-get</prgn> will present a report on what will "
8108 "happen. Generally the report reflects the type of operation being performed "
8109 "but there are several common elements. In all cases the lists reflect the "
8110 "final state of things, taking into account the <tt>-f</tt> option and any "
8111 "other relevant activities to the command being executed."
8114 #. type: <heading></heading>
8116 msgid "The Extra Package list"
8119 #. type: <example></example>
8123 "The following extra packages will be installed:\n"
8124 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
8125 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
8126 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
8127 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
8134 "The Extra Package list shows all of the packages that will be installed or "
8135 "upgraded in excess of the ones mentioned on the command line. It is only "
8136 "generated for an <tt>install</tt> command. The listed packages are often the "
8137 "result of an Auto Install."
8140 #. type: <heading></heading>
8142 msgid "The Packages to Remove"
8145 #. type: <example></example>
8149 "The following packages will be REMOVED:\n"
8150 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
8151 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
8152 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
8159 "The Packages to Remove list shows all of the packages that will be removed "
8160 "from the system. It can be shown for any of the operations and should be "
8161 "given a careful inspection to ensure nothing important is to be taken off. "
8162 "The <tt>-f</tt> option is especially good at generating packages to remove "
8163 "so extreme care should be used in that case. The list may contain packages "
8164 "that are going to be removed because they are only partially installed, "
8165 "possibly due to an aborted installation."
8168 #. type: <heading></heading>
8170 msgid "The New Packages list"
8173 #. type: <example></example>
8177 "The following NEW packages will installed:\n"
8178 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
8184 "The New Packages list is simply a reminder of what will happen. The packages "
8185 "listed are not presently installed in the system but will be when APT is "
8189 #. type: <heading></heading>
8191 msgid "The Kept Back list"
8194 #. type: <example></example>
8198 "The following packages have been kept back\n"
8199 " compface man-db tetex-base msql libpaper svgalib1\n"
8200 " gs snmp arena lynx xpat2 groff xscreensaver"
8206 "Whenever the whole system is being upgraded there is the possibility that "
8207 "new versions of packages cannot be installed because they require new things "
8208 "or conflict with already installed things. In this case the package will "
8209 "appear in the Kept Back list. The best way to convince packages listed there "
8210 "to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> "
8211 "to resolve their problems."
8214 #. type: <heading></heading>
8216 msgid "Held Packages warning"
8219 #. type: <example></example>
8223 "The following held packages will be changed:\n"
8230 "Sometimes you can ask APT to install a package that is on hold, in such a "
8231 "case it prints out a warning that the held package is going to be changed. "
8232 "This should only happen during dist-upgrade or install."
8235 #. type: <heading></heading>
8237 msgid "Final summary"
8243 "Finally, APT will print out a summary of all the changes that will occur."
8246 #. type: <example></example>
8250 "206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
8251 "12 packages not fully installed or removed.\n"
8252 "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
8258 "The first line of the summary simply is a reduced version of all of the "
8259 "lists and includes the number of upgrades - that is packages already "
8260 "installed that have new versions available. The second line indicates the "
8261 "number of poorly configured packages, possibly the result of an aborted "
8262 "installation. The final line shows the space requirements that the "
8263 "installation needs. The first pair of numbers refer to the size of the "
8264 "archive files. The first number indicates the number of bytes that must be "
8265 "fetched from remote locations and the second indicates the total size of all "
8266 "the archives required. The next number indicates the size difference between "
8267 "the presently installed packages and the newly installed packages. It is "
8268 "roughly equivalent to the space required in /usr after everything is done. "
8269 "If a large number of packages are being removed then the value may indicate "
8270 "the amount of space that will be freed."
8276 "Some other reports can be generated by using the -u option to show packages "
8277 "to upgrade, they are similar to the previous examples."
8280 #. type: <heading></heading>
8282 msgid "The Status Display"
8288 "During the download of archives and package files APT prints out a series of "
8292 #. type: <example></example>
8296 "# apt-get update\n"
8297 "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
8298 "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
8299 "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
8300 "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
8301 "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
8302 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
8308 "The lines starting with <em>Get</em> are printed out when APT begins to "
8309 "fetch a file while the last line indicates the progress of the download. The "
8310 "first percent value on the progress line indicates the total percent done of "
8311 "all files. Unfortunately since the size of the Package files is unknown "
8312 "<tt>apt-get update</tt> estimates the percent done which causes some "
8319 "The next section of the status line is repeated once for each download "
8320 "thread and indicates the operation being performed and some useful "
8321 "information about what is happening. Sometimes this section will simply read "
8322 "<em>Forking</em> which means the OS is loading the download module. The "
8323 "first word after the [ is the fetch number as shown on the history lines. "
8324 "The next word is the short form name of the object being downloaded. For "
8325 "archives it will contain the name of the package that is being fetched."
8331 "Inside of the single quote is an informative string indicating the progress "
8332 "of the negotiation phase of the download. Typically it progresses from "
8333 "<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or "
8334 "<em>Resuming</em>. The final value is the number of bytes downloaded from "
8335 "the remote site. Once the download begins this is represented as "
8336 "<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 "
8337 "kilobytes is expected. The total size is always shown in 4 figure notation "
8338 "to preserve space. After the size display is a percent meter for the file "
8339 "itself. The second last element is the instantaneous average speed. This "
8340 "values is updated every 5 seconds and reflects the rate of data transfer for "
8341 "that period. Finally is shown the estimated transfer time. This is updated "
8342 "regularly and reflects the time to complete everything at the shown transfer "
8349 "The status display updates every half second to provide a constant feedback "
8350 "on the download progress while the Get lines scroll back whenever a new file "
8351 "is started. Since the status display is constantly updated it is unsuitable "
8352 "for logging to a file, use the <tt>-q</tt> option to remove the status "
8356 #. type: <heading></heading>
8364 "APT uses <prgn>dpkg</prgn> for installing the archives and will switch over "
8365 "to the <prgn>dpkg</prgn> interface once downloading is completed. "
8366 "<prgn>dpkg</prgn> will also ask a number of questions as it processes the "
8367 "packages and the packages themselves may also ask several questions. Before "
8368 "each question there is usually a description of what it is asking and the "
8369 "questions are too varied to discuss completely here."
8372 #. type: <title></title>
8374 msgid "Using APT Offline"
8377 #. type: <version></version>
8379 msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
8382 #. type: <abstract></abstract>
8385 "This document describes how to use APT in a non-networked environment, "
8386 "specifically a 'sneaker-net' approach for performing upgrades."
8389 #. type: <copyrightsummary></copyrightsummary>
8391 msgid "Copyright © Jason Gunthorpe, 1999."
8394 #. type: <heading></heading>
8396 msgid "Introduction"
8399 #. type: <heading></heading>
8400 #: offline.sgml:34 offline.sgml:65 offline.sgml:180
8407 "Normally APT requires direct access to a Debian archive, either from a local "
8408 "media or through a network. Another common complaint is that a Debian "
8409 "machine is on a slow link, such as a modem and another machine has a very "
8410 "fast connection but they are physically distant."
8416 "The solution to this is to use large removable media such as a Zip disc or a "
8417 "SuperDisk disc. These discs are not large enough to store the entire Debian "
8418 "archive but can easily fit a subset large enough for most users. The idea is "
8419 "to use APT to generate a list of packages that are required and then fetch "
8420 "them onto the disc using another machine with good connectivity. It is even "
8421 "possible to use another Debian machine with APT or to use a completely "
8422 "different OS and a download tool like wget. Let <em>remote host</em> mean "
8423 "the machine downloading the packages, and <em>target host</em> the one with "
8424 "bad or no connection."
8430 "This is achieved by creatively manipulating the APT configuration file. The "
8431 "essential premise to tell APT to look on a disc for it's archive files. Note "
8432 "that the disc should be formated with a filesystem that can handle long file "
8433 "names such as ext2, fat32 or vfat."
8436 #. type: <heading></heading>
8438 msgid "Using APT on both machines"
8441 #. type: <p><example>
8444 "APT being available on both machines gives the simplest configuration. The "
8445 "basic idea is to place a copy of the status file on the disc and use the "
8446 "remote machine to fetch the latest package files and decide which packages "
8447 "to download. The disk directory structure should look like:"
8450 #. type: <example></example>
8464 #. type: <heading></heading>
8466 msgid "The configuration file"
8472 "The configuration file should tell APT to store its files on the disc and to "
8473 "use the configuration files on the disc as well. The sources.list should "
8474 "contain the proper sites that you wish to use from the remote machine, and "
8475 "the status file should be a copy of <em>/var/lib/dpkg/status</em> from the "
8476 "<em>target host</em>. Please note, if you are using a local archive you must "
8477 "use copy URIs, the syntax is identical to file URIs."
8480 #. type: <p><example>
8483 "<em>apt.conf</em> must contain the necessary information to make APT use the "
8487 #. type: <example></example>
8493 " /* This is not necessary if the two machines are the same arch, it tells\n"
8494 " the remote APT what architecture the target machine is */\n"
8495 " Architecture \"i386\";\n"
8497 " Get::Download-Only \"true\";\n"
8502 " /* Use the disc for state information and redirect the status file from\n"
8503 " the /var/lib/dpkg default */\n"
8504 " State \"/disc/\";\n"
8505 " State::status \"status\";\n"
8507 " // Binary caches will be stored locally\n"
8508 " Cache::archives \"/disc/archives/\";\n"
8509 " Cache \"/tmp/\";\n"
8511 " // Location of the source list.\n"
8512 " Etc \"/disc/\";\n"
8516 #. type: </example></p>
8519 "More details can be seen by examining the apt.conf man page and the sample "
8520 "configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>."
8523 #. type: <p><example>
8526 "On the target machine the first thing to do is mount the disc and copy <em>/"
8527 "var/lib/dpkg/status</em> to it. You will also need to create the directories "
8528 "outlined in the Overview, <em>archives/partial/</em> and <em>lists/partial/</"
8529 "em>. Then take the disc to the remote machine and configure the sources."
8530 "list. On the remote machine execute the following:"
8533 #. type: <example></example>
8537 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
8538 " # apt-get update\n"
8539 " [ APT fetches the package files ]\n"
8540 " # apt-get dist-upgrade\n"
8541 " [ APT fetches all the packages needed to upgrade the target machine ]"
8544 #. type: </example></p>
8547 "The dist-upgrade command can be replaced with any other standard APT "
8548 "commands, particularly dselect-upgrade. You can even use an APT front end "
8549 "such as <em>dselect</em>. However this presents a problem in communicating "
8550 "your selections back to the local computer."
8553 #. type: <p><example>
8556 "Now the disc contains all of the index files and archives needed to upgrade "
8557 "the target machine. Take the disc back and run:"
8560 #. type: <example></example>
8564 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
8565 " # apt-get check\n"
8566 " [ APT generates a local copy of the cache files ]\n"
8567 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
8568 " [ Or any other APT command ]"
8574 "It is necessary for proper function to re-specify the status file to be the "
8575 "local one. This is very important!"
8581 "If you are using dselect you can do the very risky operation of copying disc/"
8582 "status to /var/lib/dpkg/status so that any selections you made on the remote "
8583 "machine are updated. I highly recommend that people only make selections on "
8584 "the local machine - but this may not always be possible. DO NOT copy the "
8585 "status file if dpkg or APT have been run in the mean time!!"
8588 #. type: <heading></heading>
8590 msgid "Using APT and wget"
8596 "<em>wget</em> is a popular and portable download tool that can run on nearly "
8597 "any machine. Unlike the method above this requires that the Debian machine "
8598 "already has a list of available packages."
8604 "The basic idea is to create a disc that has only the archive files "
8605 "downloaded from the remote site. This is done by using the --print-uris "
8606 "option to apt-get and then preparing a wget script to actually fetch the "
8610 #. type: <heading></heading>
8616 #. type: <p><example>
8619 "Unlike the previous technique no special configuration files are required. "
8620 "We merely use the standard APT commands to generate the file list."
8623 #. type: <example></example>
8627 " # apt-get dist-upgrade \n"
8628 " [ Press no when prompted, make sure you are happy with the actions ]\n"
8629 " # apt-get -qq --print-uris dist-upgrade > uris\n"
8630 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
8633 #. type: </example></p>
8636 "Any command other than dist-upgrade could be used here, including dselect-"
8643 "The /disc/wget-script file will now contain a list of wget commands to "
8644 "execute in order to fetch the necessary archives. This script should be run "
8645 "with the current directory as the disc's mount point so as to save the "
8646 "output on the disc."
8649 #. type: <p><example>
8651 msgid "The remote machine would do something like"
8654 #. type: <example></example>
8659 " # sh -x ./wget-script\n"
8663 #. type: </example><example>
8666 "Once the archives are downloaded and the disc returned to the Debian machine "
8667 "installation can proceed using,"
8670 #. type: <example></example>
8673 msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
8676 #. type: </example></p>
8678 msgid "Which will use the already fetched archives on the disc."
8682 #~ msgid "to the version that is already installed (if any)."
8683 #~ msgstr "para a instância que já esteja instalada (caso exista)."
8687 #~ "The <literal>Pin-Priority:</literal> line in each APT preferences record "
8688 #~ "is optional. If omitted, APT assigns a priority of 1 less than the last "
8689 #~ "value specified on a line beginning with <literal>Pin-Priority: "
8690 #~ "release ...</literal>."
8692 #~ "A linha <literal>Pin-Priority:</literal> em cada registro de preferências "
8693 #~ "do APT é opcional. Caso omitida, o APT atribuirá uma prioridade de 1 "
8694 #~ "menos o último valor especificado em uma linha iniciando com <literal>Pin-"
8695 #~ "Priority: release ...</literal>."
8698 #~ msgid "<filename>/etc/apt/trusted.gpg</filename>"
8699 #~ msgstr "<filename>/etc/apt.conf</>"
8702 #~ msgid "/usr/share/doc/apt/"
8703 #~ msgstr "/usr/share/doc/apt/"
8706 #~ msgid "<filename>&docdir;examples/configure-index.gz</>"
8707 #~ msgstr "<filename>&docdir;examples/configure-index.gz</>"
8710 #~ msgid "/var/lib/apt"
8711 #~ msgstr "/var/lib/apt"
8714 #~ msgid "/var/cache/apt"
8715 #~ msgstr "/var/cache/apt"
8720 #~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8721 #~ " <ListItem><Para>\n"
8722 #~ " Show a short usage summary.\n"
8723 #~ " </VarListEntry>\n"
8725 #~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8726 #~ " <ListItem><Para>\n"
8727 #~ " Show the program version.\n"
8728 #~ " </VarListEntry>\n"
8730 #~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8731 #~ " <ListItem><Para>\n"
8732 #~ " Configuration File; Specify a configuration file to use. \n"
8733 #~ " The program will read the default configuration file and then this \n"
8734 #~ " configuration file. See &apt-conf; for syntax information. \n"
8735 #~ " </VarListEntry>\n"
8737 #~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8738 #~ " <ListItem><Para>\n"
8739 #~ " Set a Configuration Option; This will set an arbitary "
8740 #~ "configuration \n"
8741 #~ " option. The syntax is <option>-o Foo::Bar=bar</>.\n"
8742 #~ " </VarListEntry>\n"
8745 #~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8746 #~ " <ListItem><Para>\n"
8747 #~ " Exibe um pequeno resumo de uso.\n"
8748 #~ " </VarListEntry>\n"
8750 #~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8751 #~ " <ListItem><Para>\n"
8752 #~ " Exibe a versão do programa.\n"
8753 #~ " </VarListEntry>\n"
8755 #~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8756 #~ " <ListItem><Para>\n"
8757 #~ " Arquivo de Configuração; Especifica um arquivo de configuração\n"
8758 #~ " a ser usado. O programa irá ler o arquivo de configuração padrão\n"
8759 #~ " e então este arquivo de configuração. Consulte &apt-conf; para\n"
8760 #~ " informação de sintaxe. \n"
8761 #~ " </VarListEntry>\n"
8763 #~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8764 #~ " <ListItem><Para>\n"
8765 #~ " Defie uma Opção de Configuração; Esta opção irá definir uma opção\n"
8766 #~ " de configuração arbitrária. A sintaxe é <option>-o Foo::Bar=bar</>.\n"
8767 #~ " </VarListEntry>\n"
8770 #~ msgid "<manvolnum>5</manvolnum>"
8771 #~ msgstr "<manvolnum>5</manvolnum>"
8774 #~ msgid "</programlisting> Then:"
8775 #~ msgstr "</programlisting> Então :"
8778 #~ msgid "&manbugs; &manauthor;"
8779 #~ msgstr "&manbugs; &manauthor;"