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: 2010-03-14 16:41+0100\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"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
35 msgid "Debian GNU/Linux"
46 msgid "apt - Advanced Package Tool"
69 "APT is a management system for software packages. For normal day to day "
70 "package management there are several frontends available, such as B<aptitude>"
71 "(8) for the command line or B<synaptic>(8) for the X Window System. Some "
72 "options are only implemented in B<apt-get>(8) though."
101 "B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
102 "B<apt_preferences>(5), B<apt-secure>(8)"
113 msgid "apt returns zero on normal operation, decimal 100 on error."
124 msgid "This manpage isn't even started."
131 "See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
132 "B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
133 "B<reportbug>(1) command."
136 " <RefSect1><Title>Bugs</>\n"
138 " Consulte a <ulink url='http://bugs.debian.org/apt'>página de bugs do APT</"
140 " Caso você queira relatar um bug no APT, por favor consulte o arquivo\n"
141 " <filename>/usr/share/doc/debian/bug-reporting.txt</> ou o comando "
154 msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
157 " <RefSect1><Title>Author</>\n"
159 " O APT foi escrito pela equipe APT <email>apt@packages.debian.org</>.\n"
164 msgid "<!-- -*- mode: sgml; mode: fold -*- -->"
170 "<!-- Some common paths.. --> <!ENTITY docdir \"/usr/share/doc/apt/\"> <!"
171 "ENTITY guidesdir \"/usr/share/doc/apt-doc/\"> <!ENTITY configureindex "
172 "\"<filename>&docdir;examples/configure-index.gz</filename>\"> <!ENTITY "
173 "aptconfdir \"<filename>/etc/apt.conf</filename>\"> <!ENTITY statedir \"/var/"
174 "lib/apt\"> <!ENTITY cachedir \"/var/cache/apt\">"
181 "<!-- Cross references to other man pages -->\n"
182 "<!ENTITY apt-conf \"<citerefentry>\n"
183 " <refentrytitle><filename>apt.conf</filename></refentrytitle>\n"
184 " <manvolnum>5</manvolnum>\n"
185 " </citerefentry>\"\n"
193 "<!ENTITY apt-get \"<citerefentry>\n"
194 " <refentrytitle><command>apt-get</command></refentrytitle>\n"
195 " <manvolnum>8</manvolnum>\n"
196 " </citerefentry>\"\n"
204 "<!ENTITY apt-config \"<citerefentry>\n"
205 " <refentrytitle><command>apt-config</command></refentrytitle>\n"
206 " <manvolnum>8</manvolnum>\n"
207 " </citerefentry>\"\n"
215 "<!ENTITY apt-cdrom \"<citerefentry>\n"
216 " <refentrytitle><command>apt-cdrom</command></refentrytitle>\n"
217 " <manvolnum>8</manvolnum>\n"
218 " </citerefentry>\"\n"
226 "<!ENTITY apt-cache \"<citerefentry>\n"
227 " <refentrytitle><command>apt-cache</command></refentrytitle>\n"
228 " <manvolnum>8</manvolnum>\n"
229 " </citerefentry>\"\n"
237 "<!ENTITY apt-preferences \"<citerefentry>\n"
238 " <refentrytitle><command>apt_preferences</command></refentrytitle>\n"
239 " <manvolnum>5</manvolnum>\n"
240 " </citerefentry>\"\n"
248 "<!ENTITY apt-key \"<citerefentry>\n"
249 " <refentrytitle><command>apt-key</command></refentrytitle>\n"
250 " <manvolnum>8</manvolnum>\n"
251 " </citerefentry>\"\n"
259 "<!ENTITY apt-secure \"<citerefentry>\n"
260 " <refentrytitle>apt-secure</refentrytitle>\n"
261 " <manvolnum>8</manvolnum>\n"
262 " </citerefentry>\"\n"
270 "<!ENTITY apt-ftparchive \"<citerefentry>\n"
271 " <refentrytitle><filename>apt-ftparchive</filename></refentrytitle>\n"
272 " <manvolnum>1</manvolnum>\n"
273 " </citerefentry>\"\n"
281 "<!ENTITY sources-list \"<citerefentry>\n"
282 " <refentrytitle><filename>sources.list</filename></refentrytitle>\n"
283 " <manvolnum>5</manvolnum>\n"
284 " </citerefentry>\"\n"
292 "<!ENTITY reportbug \"<citerefentry>\n"
293 " <refentrytitle><command>reportbug</command></refentrytitle>\n"
294 " <manvolnum>1</manvolnum>\n"
295 " </citerefentry>\"\n"
303 "<!ENTITY dpkg \"<citerefentry>\n"
304 " <refentrytitle><command>dpkg</command></refentrytitle>\n"
305 " <manvolnum>1</manvolnum>\n"
306 " </citerefentry>\"\n"
314 "<!ENTITY dpkg-buildpackage \"<citerefentry>\n"
315 " <refentrytitle><command>dpkg-buildpackage</command></refentrytitle>\n"
316 " <manvolnum>1</manvolnum>\n"
317 " </citerefentry>\"\n"
325 "<!ENTITY gzip \"<citerefentry>\n"
326 " <refentrytitle><command>gzip</command></refentrytitle>\n"
327 " <manvolnum>1</manvolnum>\n"
328 " </citerefentry>\"\n"
336 "<!ENTITY dpkg-scanpackages \"<citerefentry>\n"
337 " <refentrytitle><command>dpkg-scanpackages</command></refentrytitle>\n"
338 " <manvolnum>1</manvolnum>\n"
339 " </citerefentry>\"\n"
347 "<!ENTITY dpkg-scansources \"<citerefentry>\n"
348 " <refentrytitle><command>dpkg-scansources</command></refentrytitle>\n"
349 " <manvolnum>1</manvolnum>\n"
350 " </citerefentry>\"\n"
358 "<!ENTITY dselect \"<citerefentry>\n"
359 " <refentrytitle><command>dselect</command></refentrytitle>\n"
360 " <manvolnum>1</manvolnum>\n"
361 " </citerefentry>\"\n"
369 "<!ENTITY aptitude \"<citerefentry>\n"
370 " <refentrytitle><command>aptitude</command></refentrytitle>\n"
371 " <manvolnum>8</manvolnum>\n"
372 " </citerefentry>\"\n"
380 "<!ENTITY synaptic \"<citerefentry>\n"
381 " <refentrytitle><command>synaptic</command></refentrytitle>\n"
382 " <manvolnum>8</manvolnum>\n"
383 " </citerefentry>\"\n"
391 "<!ENTITY debsign \"<citerefentry>\n"
392 " <refentrytitle><command>debsign</command></refentrytitle>\n"
393 " <manvolnum>1</manvolnum>\n"
394 " </citerefentry>\"\n"
402 "<!ENTITY debsig-verify \"<citerefentry>\n"
403 " <refentrytitle><command>debsig-verify</command></refentrytitle>\n"
404 " <manvolnum>1</manvolnum>\n"
405 " </citerefentry>\"\n"
413 "<!ENTITY gpg \"<citerefentry>\n"
414 " <refentrytitle><command>gpg</command></refentrytitle>\n"
415 " <manvolnum>1</manvolnum>\n"
416 " </citerefentry>\"\n"
424 "<!ENTITY gnome-apt \"<citerefentry>\n"
425 " <refentrytitle><command>gnome-apt</command></refentrytitle>\n"
426 " <manvolnum>1</manvolnum>\n"
427 " </citerefentry>\"\n"
435 "<!ENTITY wajig \"<citerefentry>\n"
436 " <refentrytitle><command>wajig</command></refentrytitle>\n"
437 " <manvolnum>1</manvolnum>\n"
438 " </citerefentry>\"\n"
446 "<!-- Boiler plate docinfo section -->\n"
447 "<!ENTITY apt-docinfo \"\n"
449 " <address><email>apt@packages.debian.org</email></address>\n"
451 " <firstname>Jason</firstname> <surname>Gunthorpe</surname>\n"
452 " <contrib></contrib>\n"
454 " <copyright><year>1998-2001</year> <holder>Jason Gunthorpe</holder></copyright>\n"
455 " <date>28 October 2008</date>\n"
456 " <productname>Linux</productname>\n"
460 " <address><email>apt@packages.debian.org</></address>\n"
461 " <author><firstname>Jason</> <surname>Gunthorpe</></>\n"
462 " <copyright><year>1998-2001</> <holder>Jason Gunthorpe</></>\n"
463 " <date>12 Março 2001</>\n"
478 "<!ENTITY apt-email \"\n"
480 " <email>apt@packages.debian.org</email>\n"
489 "<!ENTITY apt-author.jgunthorpe \"\n"
491 " <firstname>Jason</firstname>\n"
492 " <surname>Gunthorpe</surname>\n"
493 " <contrib></contrib>\n"
502 "<!ENTITY apt-author.moconnor \"\n"
504 " <firstname>Mike</firstname>\n"
505 " <surname>O'Connor</surname>\n"
506 " <contrib></contrib>\n"
515 "<!ENTITY apt-author.team \"\n"
517 " <othername>APT team</othername>\n"
518 " <contrib></contrib>\n"
524 #: apt.ent:204 apt.ent:215
527 "<!ENTITY apt-product \"\n"
528 " <productname>Linux</productname>\n"
536 "<!ENTITY apt-copyright \"\n"
538 " <holder>Jason Gunthorpe</holder>\n"
539 " <year>1998-2001</year>\n"
548 "<!ENTITY apt-qapage \"\n"
550 "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
559 "<!-- Boiler plate Bug reporting section -->\n"
560 "<!ENTITY manbugs \"\n"
561 " <refsect1><title>Bugs</title>\n"
562 " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>. \n"
563 " If you wish to report a bug in APT, please see\n"
564 " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
565 " &reportbug; command.\n"
571 " <RefSect1><Title>Bugs</>\n"
573 " Consulte a <ulink url='http://bugs.debian.org/apt'>página de bugs do APT</>.\n"
574 " Caso você queira relatar um bug no APT, por favor consulte o arquivo\n"
575 " <filename>/usr/share/doc/debian/bug-reporting.txt</> ou o comando &reportbug;.\n"
582 "<!-- Boiler plate Author section -->\n"
583 "<!ENTITY manauthor \"\n"
584 " <refsect1><title>Author</title>\n"
585 " <para>APT was written by the APT team <email>apt@packages.debian.org</email>.\n"
591 " <RefSect1><Title>Author</>\n"
593 " O APT foi escrito pela equipe APT <email>apt@packages.debian.org</>.\n"
600 "<!-- Should be used within the option section of the text to\n"
601 " put in the blurb about -h, -v, -c and -o -->\n"
602 "<!ENTITY apt-commonoptions \"\n"
603 " <varlistentry><term><option>-h</option></term>\n"
604 " <term><option>--help</option></term>\n"
605 " <listitem><para>Show a short usage summary.\n"
616 " <term><option>-v</option></term>\n"
617 " <term><option>--version</option></term>\n"
618 " <listitem><para>Show the program version.\n"
629 " <term><option>-c</option></term>\n"
630 " <term><option>--config-file</option></term>\n"
631 " <listitem><para>Configuration File; Specify a configuration file to use. \n"
632 " The program will read the default configuration file and then this \n"
633 " configuration file. See &apt-conf; for syntax information. \n"
644 " <term><option>-o</option></term>\n"
645 " <term><option>--option</option></term>\n"
646 " <listitem><para>Set a Configuration Option; This will set an arbitrary\n"
647 " configuration option. The syntax is <option>-o Foo::Bar=bar</option>.\n"
648 " <option>-o</option> and <option>--option</option> can be used multiple\n"
649 " times to set different options.\n"
660 "<!-- Should be used within the option section of the text to\n"
661 " put in the blurb about -h, -v, -c and -o -->\n"
662 "<!ENTITY apt-cmdblurb \"\n"
663 " <para>All command line options may be set using the configuration file, the\n"
664 " descriptions indicate the configuration option to set. For boolean\n"
665 " options you can override the config file by using something like \n"
666 " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
667 " or several other variations.\n"
673 " Todas as opções de linha de comando podem ser definidas usando o\n"
674 " arquivo de configuração, as descrições indicam a opção de configuração\n"
675 " a ser definida. Para opções booleanas você pode sobrepor o arquivo de\n"
676 " configuração usando algo como <option/-f-/,<option/--no-f/,\n"
677 " <option/-f=no/ ou diversas outras variantes.\n"
684 "<!ENTITY file-aptconf \"\n"
685 " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
686 " <listitem><para>APT configuration file.\n"
687 " Configuration Item: <literal>Dir::Etc::Main</literal>.</para></listitem>\n"
695 " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
696 " <listitem><para>APT configuration file fragments.\n"
697 " Configuration Item: <literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
706 "<!ENTITY file-cachearchives \"\n"
707 " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
708 " <listitem><para>Storage area for retrieved package files.\n"
709 " Configuration Item: <literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
717 " <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
718 " <listitem><para>Storage area for package files in transit.\n"
719 " Configuration Item: <literal>Dir::Cache::Archives</literal> (implicit partial). </para></listitem>\n"
728 "<!ENTITY file-preferences \"\n"
729 " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
730 " <listitem><para>Version preferences file.\n"
731 " This is where you would specify "pinning",\n"
732 " i.e. a preference to get certain packages\n"
733 " from a separate source\n"
734 " or from a different version of a distribution.\n"
735 " Configuration Item: <literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
743 " <varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
744 " <listitem><para>File fragments for the version preferences.\n"
745 " Configuration Item: <literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
754 "<!ENTITY file-sourceslist \"\n"
755 " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
756 " <listitem><para>Locations to fetch packages from.\n"
757 " Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
765 " <varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
766 " <listitem><para>File fragments for locations to fetch packages from.\n"
767 " Configuration Item: <literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
776 "<!ENTITY file-statelists \"\n"
777 " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
778 " <listitem><para>Storage area for state information for each package resource specified in\n"
780 " Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem>\n"
788 " <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
789 " <listitem><para>Storage area for state information in transit.\n"
790 " Configuration Item: <literal>Dir::State::Lists</literal> (implicit partial).</para></listitem>\n"
799 "<!ENTITY file-trustedgpg \"\n"
800 " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
801 " <listitem><para>Keyring of local trusted keys, new keys will be added here.\n"
802 " Configuration Item: <literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
810 " <varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
811 " <listitem><para>File fragments for the trusted keys, additional keyrings can\n"
812 " be stored here (by other packages or the administrator).\n"
813 " Configuration Item <literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
821 msgid "<!ENTITY translation-title \"TRANSLATION\">"
822 msgstr "<!ENTITY translation-title \"Tradução\">"
828 "<!-- TRANSLATOR: This is a placeholder. You should write here who has constributed\n"
829 " to the translation in the past, who is responsible now and maybe further information\n"
830 " specially related to your translation. -->\n"
831 "<!ENTITY translation-holder \"\n"
832 " The english translation was done by John Doe <email>john@doe.org</email> in 2009,\n"
833 " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together with the\n"
834 " Debian Dummy l10n Team <email>debian-l10n-dummy@lists.debian.org</email>.\n"
837 "<!ENTITY translation-holder \"\n"
838 " Esta página de manual foi traduzida para o Português do Brasil por\n"
839 " André Luís Lopes <email>andrelop@ig.com.br</email>.\n"
846 "<!-- TRANSLATOR: As a translation is allowed to have 20% of untranslated/fuzzy strings\n"
847 " in a shipped manpage will maybe appear english parts. -->\n"
848 "<!ENTITY translation-english \"\n"
849 " Note that this translated document may contain untranslated parts.\n"
850 " This is done on purpose, to avoid losing content when the\n"
851 " translation is lagging behind the original content.\n"
855 #. The last update date
856 #. type: Content of: <refentry><refentryinfo>
857 #: apt-cache.8.xml:13 apt-config.8.xml:13 apt-extracttemplates.1.xml:13
858 #: apt-sortpkgs.1.xml:13 sources.list.5.xml:13
860 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>29 "
861 "February 2004</date>"
864 #. type: Content of: <refentry><refnamediv><refname>
865 #: apt-cache.8.xml:22 apt-cache.8.xml:29
869 #. type: Content of: <refentry><refmeta><manvolnum>
870 #: apt-cache.8.xml:23 apt-cdrom.8.xml:22 apt-config.8.xml:23 apt-get.8.xml:23
871 #: apt-key.8.xml:15 apt-mark.8.xml:23 apt-secure.8.xml:15
875 #. type: Content of: <refentry><refmeta><refmiscinfo>
876 #: apt-cache.8.xml:24 apt-cdrom.8.xml:23 apt-config.8.xml:24
877 #: apt-extracttemplates.1.xml:24 apt-ftparchive.1.xml:24 apt-get.8.xml:24
878 #: apt-key.8.xml:16 apt-mark.8.xml:24 apt-secure.8.xml:16
879 #: apt-sortpkgs.1.xml:24 apt.conf.5.xml:30 apt_preferences.5.xml:23
880 #: sources.list.5.xml:24
884 #. type: Content of: <refentry><refnamediv><refpurpose>
885 #: apt-cache.8.xml:30
886 msgid "APT package handling utility -- cache manipulator"
889 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
890 #: apt-cache.8.xml:36
892 "<command>apt-cache</command> <arg><option>-hvsn</option></arg> <arg><option>-"
893 "o=<replaceable>config string</replaceable></option></arg> <arg><option>-"
894 "c=<replaceable>file</replaceable></option></arg> <group choice=\"req\"> "
895 "<arg>add <arg choice=\"plain\" rep=\"repeat\"><replaceable>file</"
896 "replaceable></arg></arg> <arg>gencaches</arg> <arg>showpkg <arg choice="
897 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
898 "<arg>showsrc <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
899 "replaceable></arg></arg> <arg>stats</arg> <arg>dump</arg> <arg>dumpavail</"
900 "arg> <arg>unmet</arg> <arg>search <arg choice=\"plain\"><replaceable>regex</"
901 "replaceable></arg></arg> <arg>show <arg choice=\"plain\" rep=\"repeat"
902 "\"><replaceable>pkg</replaceable></arg></arg> <arg>depends <arg choice="
903 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
904 "<arg>rdepends <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
905 "replaceable></arg></arg> <arg>pkgnames <arg choice=\"plain"
906 "\"><replaceable>prefix</replaceable></arg></arg> <arg>dotty <arg choice="
907 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
908 "<arg>xvcg <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
909 "replaceable></arg></arg> <arg>policy <arg choice=\"plain\" rep=\"repeat"
910 "\"><replaceable>pkgs</replaceable></arg></arg> <arg>madison <arg choice="
911 "\"plain\" rep=\"repeat\"><replaceable>pkgs</replaceable></arg></arg> </group>"
914 #. type: Content of: <refentry><refsect1><title>
915 #: apt-cache.8.xml:62 apt-cdrom.8.xml:47 apt-config.8.xml:47
916 #: apt-extracttemplates.1.xml:43 apt-ftparchive.1.xml:56 apt-get.8.xml:125
917 #: apt-key.8.xml:35 apt-mark.8.xml:52 apt-secure.8.xml:40
918 #: apt-sortpkgs.1.xml:44 apt.conf.5.xml:39 apt_preferences.5.xml:33
919 #: sources.list.5.xml:33
924 #. type: Content of: <refentry><refsect1><para>
925 #: apt-cache.8.xml:63
927 "<command>apt-cache</command> performs a variety of operations on APT's "
928 "package cache. <command>apt-cache</command> does not manipulate the state of "
929 "the system but does provide operations to search and generate interesting "
930 "output from the package metadata."
933 #. type: Content of: <refentry><refsect1><para>
934 #: apt-cache.8.xml:68 apt-get.8.xml:131
936 "Unless the <option>-h</option>, or <option>--help</option> option is given, "
937 "one of the commands below must be present."
940 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
941 #: apt-cache.8.xml:72
942 msgid "add <replaceable>file(s)</replaceable>"
945 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
946 #: apt-cache.8.xml:73
948 "<literal>add</literal> adds the named package index files to the package "
949 "cache. This is for debugging only."
952 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
953 #: apt-cache.8.xml:77
957 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
958 #: apt-cache.8.xml:78
960 "<literal>gencaches</literal> performs the same operation as <command>apt-get "
961 "check</command>. It builds the source and package caches from the sources in "
962 "&sources-list; and from <filename>/var/lib/dpkg/status</filename>."
965 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
966 #: apt-cache.8.xml:84
967 msgid "showpkg <replaceable>pkg(s)</replaceable>"
970 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
971 #: apt-cache.8.xml:85
973 "<literal>showpkg</literal> displays information about the packages listed on "
974 "the command line. Remaining arguments are package names. The available "
975 "versions and reverse dependencies of each package listed are listed, as well "
976 "as forward dependencies for each version. Forward (normal) dependencies are "
977 "those packages upon which the package in question depends; reverse "
978 "dependencies are those packages that depend upon the package in question. "
979 "Thus, forward dependencies must be satisfied for a package, but reverse "
980 "dependencies need not be. For instance, <command>apt-cache showpkg "
981 "libreadline2</command> would produce output similar to the following:"
984 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
985 #: apt-cache.8.xml:97
988 "Package: libreadline2\n"
989 "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
990 "Reverse Depends: \n"
991 " libreadlineg2,libreadline2\n"
992 " libreadline2-altdev,libreadline2\n"
994 "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
997 "Reverse Provides: \n"
1000 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1001 #: apt-cache.8.xml:109
1003 "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
1004 "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
1005 "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
1006 "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
1007 "installed; libreadlineg2 and libreadline2-altdev do not have to be "
1008 "installed. For the specific meaning of the remainder of the output it is "
1009 "best to consult the apt source code."
1012 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1013 #: apt-cache.8.xml:118
1017 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1018 #: apt-cache.8.xml:118
1020 "<literal>stats</literal> displays some statistics about the cache. No "
1021 "further arguments are expected. Statistics reported are:"
1024 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1025 #: apt-cache.8.xml:121
1027 "<literal>Total package names</literal> is the number of package names found "
1031 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1032 #: apt-cache.8.xml:125
1034 "<literal>Normal packages</literal> is the number of regular, ordinary "
1035 "package names; these are packages that bear a one-to-one correspondence "
1036 "between their names and the names used by other packages for them in "
1037 "dependencies. The majority of packages fall into this category."
1040 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1041 #: apt-cache.8.xml:131
1043 "<literal>Pure virtual packages</literal> is the number of packages that "
1044 "exist only as a virtual package name; that is, packages only \"provide\" the "
1045 "virtual package name, and no package actually uses the name. For instance, "
1046 "\"mail-transport-agent\" in the Debian GNU/Linux system is a pure virtual "
1047 "package; several packages provide \"mail-transport-agent\", but there is no "
1048 "package named \"mail-transport-agent\"."
1051 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1052 #: apt-cache.8.xml:139
1054 "<literal>Single virtual packages</literal> is the number of packages with "
1055 "only one package providing a particular virtual package. For example, in the "
1056 "Debian GNU/Linux system, \"X11-text-viewer\" is a virtual package, but only "
1057 "one package, xless, provides \"X11-text-viewer\"."
1060 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1061 #: apt-cache.8.xml:145
1063 "<literal>Mixed virtual packages</literal> is the number of packages that "
1064 "either provide a particular virtual package or have the virtual package name "
1065 "as the package name. For instance, in the Debian GNU/Linux system, \"debconf"
1066 "\" is both an actual package, and provided by the debconf-tiny package."
1069 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1070 #: apt-cache.8.xml:152
1072 "<literal>Missing</literal> is the number of package names that were "
1073 "referenced in a dependency but were not provided by any package. Missing "
1074 "packages may be an evidence if a full distribution is not accessed, or if a "
1075 "package (real or virtual) has been dropped from the distribution. Usually "
1076 "they are referenced from Conflicts or Breaks statements."
1079 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1080 #: apt-cache.8.xml:159
1082 "<literal>Total distinct</literal> versions is the number of package versions "
1083 "found in the cache; this value is therefore at least equal to the number of "
1084 "total package names. If more than one distribution (both \"stable\" and "
1085 "\"unstable\", for instance), is being accessed, this value can be "
1086 "considerably larger than the number of total package names."
1089 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1090 #: apt-cache.8.xml:166
1092 "<literal>Total dependencies</literal> is the number of dependency "
1093 "relationships claimed by all of the packages in the cache."
1096 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1097 #: apt-cache.8.xml:173
1098 msgid "showsrc <replaceable>pkg(s)</replaceable>"
1101 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1102 #: apt-cache.8.xml:174
1104 "<literal>showsrc</literal> displays all the source package records that "
1105 "match the given package names. All versions are shown, as well as all "
1106 "records that declare the name to be a Binary."
1109 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1110 #: apt-cache.8.xml:179 apt-config.8.xml:84
1114 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1115 #: apt-cache.8.xml:180
1117 "<literal>dump</literal> shows a short listing of every package in the cache. "
1118 "It is primarily for debugging."
1121 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1122 #: apt-cache.8.xml:184
1126 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1127 #: apt-cache.8.xml:185
1129 "<literal>dumpavail</literal> prints out an available list to stdout. This is "
1130 "suitable for use with &dpkg; and is used by the &dselect; method."
1133 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1134 #: apt-cache.8.xml:189
1138 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1139 #: apt-cache.8.xml:190
1141 "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
1145 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1146 #: apt-cache.8.xml:194
1147 msgid "show <replaceable>pkg(s)</replaceable>"
1150 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1151 #: apt-cache.8.xml:195
1153 "<literal>show</literal> performs a function similar to <command>dpkg --print-"
1154 "avail</command>; it displays the package records for the named packages."
1157 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1158 #: apt-cache.8.xml:200
1159 msgid "search <replaceable>regex [ regex ... ]</replaceable>"
1162 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1163 #: apt-cache.8.xml:201
1165 "<literal>search</literal> performs a full text search on all available "
1166 "package lists for the POSIX regex pattern given, see "
1167 "<citerefentry><refentrytitle><command>regex</command></refentrytitle> "
1168 "<manvolnum>7</manvolnum></citerefentry>. It searches the package names and "
1169 "the descriptions for an occurrence of the regular expression and prints out "
1170 "the package name and the short description, including virtual package "
1171 "names. If <option>--full</option> is given then output identical to "
1172 "<literal>show</literal> is produced for each matched package, and if "
1173 "<option>--names-only</option> is given then the long description is not "
1174 "searched, only the package name is."
1177 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1178 #: apt-cache.8.xml:214
1180 "Separate arguments can be used to specify multiple search patterns that are "
1184 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1185 #: apt-cache.8.xml:218
1186 msgid "depends <replaceable>pkg(s)</replaceable>"
1189 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1190 #: apt-cache.8.xml:219
1192 "<literal>depends</literal> shows a listing of each dependency a package has "
1193 "and all the possible other packages that can fulfill that dependency."
1196 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1197 #: apt-cache.8.xml:223
1199 msgid "rdepends <replaceable>pkg(s)</replaceable>"
1201 "<programlisting>\n"
1202 "apt-get install <replaceable>pacote</replaceable>/testing\n"
1204 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1205 #: apt-cache.8.xml:224
1207 "<literal>rdepends</literal> shows a listing of each reverse dependency a "
1211 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1212 #: apt-cache.8.xml:228
1213 msgid "pkgnames <replaceable>[ prefix ]</replaceable>"
1216 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1217 #: apt-cache.8.xml:229
1219 "This command prints the name of each package APT knows. The optional "
1220 "argument is a prefix match to filter the name list. The output is suitable "
1221 "for use in a shell tab complete function and the output is generated "
1222 "extremely quickly. This command is best used with the <option>--generate</"
1226 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1227 #: apt-cache.8.xml:234
1229 "Note that a package which APT knows of is not necessarily available to "
1230 "download, installable or installed, e.g. virtual packages are also listed in "
1231 "the generated list."
1234 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1235 #: apt-cache.8.xml:239
1236 msgid "dotty <replaceable>pkg(s)</replaceable>"
1239 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1240 #: apt-cache.8.xml:240
1242 "<literal>dotty</literal> takes a list of packages on the command line and "
1243 "generates output suitable for use by dotty from the <ulink url=\"http://www."
1244 "research.att.com/sw/tools/graphviz/\">GraphViz</ulink> package. The result "
1245 "will be a set of nodes and edges representing the relationships between the "
1246 "packages. By default the given packages will trace out all dependent "
1247 "packages; this can produce a very large graph. To limit the output to only "
1248 "the packages listed on the command line, set the <literal>APT::Cache::"
1249 "GivenOnly</literal> option."
1252 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1253 #: apt-cache.8.xml:249
1255 "The resulting nodes will have several shapes; normal packages are boxes, "
1256 "pure provides are triangles, mixed provides are diamonds, missing packages "
1257 "are hexagons. Orange boxes mean recursion was stopped [leaf packages], blue "
1258 "lines are pre-depends, green lines are conflicts."
1261 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1262 #: apt-cache.8.xml:254
1263 msgid "Caution, dotty cannot graph larger sets of packages."
1266 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1267 #: apt-cache.8.xml:257
1268 msgid "xvcg <replaceable>pkg(s)</replaceable>"
1271 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1272 #: apt-cache.8.xml:258
1274 "The same as <literal>dotty</literal>, only for xvcg from the <ulink url="
1275 "\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG tool</ulink>."
1278 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1279 #: apt-cache.8.xml:262
1280 msgid "policy <replaceable>[ pkg(s) ]</replaceable>"
1283 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1284 #: apt-cache.8.xml:263
1286 "<literal>policy</literal> is meant to help debug issues relating to the "
1287 "preferences file. With no arguments it will print out the priorities of each "
1288 "source. Otherwise it prints out detailed information about the priority "
1289 "selection of the named package."
1292 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1293 #: apt-cache.8.xml:269
1294 msgid "madison <replaceable>/[ pkg(s) ]</replaceable>"
1297 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1298 #: apt-cache.8.xml:270
1300 "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
1301 "to mimic the output format and a subset of the functionality of the Debian "
1302 "archive management tool, <literal>madison</literal>. It displays available "
1303 "versions of a package in a tabular format. Unlike the original "
1304 "<literal>madison</literal>, it can only display information for the "
1305 "architecture for which APT has retrieved package lists (<literal>APT::"
1306 "Architecture</literal>)."
1309 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1310 #: apt-cache.8.xml:281 apt-config.8.xml:93 apt-extracttemplates.1.xml:56
1311 #: apt-ftparchive.1.xml:493 apt-get.8.xml:319 apt-mark.8.xml:89
1312 #: apt-sortpkgs.1.xml:54 apt.conf.5.xml:502 apt.conf.5.xml:524
1316 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1317 #: apt-cache.8.xml:285
1318 msgid "<option>-p</option>"
1321 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1322 #: apt-cache.8.xml:285
1323 msgid "<option>--pkg-cache</option>"
1326 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1327 #: apt-cache.8.xml:286
1329 "Select the file to store the package cache. The package cache is the primary "
1330 "cache used by all operations. Configuration Item: <literal>Dir::Cache::"
1331 "pkgcache</literal>."
1334 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1335 #: apt-cache.8.xml:291 apt-ftparchive.1.xml:536 apt-get.8.xml:376
1336 #: apt-sortpkgs.1.xml:58
1337 msgid "<option>-s</option>"
1340 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1341 #: apt-cache.8.xml:291
1342 msgid "<option>--src-cache</option>"
1345 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1346 #: apt-cache.8.xml:292
1348 "Select the file to store the source cache. The source is used only by "
1349 "<literal>gencaches</literal> and it stores a parsed version of the package "
1350 "information from remote sources. When building the package cache the source "
1351 "cache is used to avoid reparsing all of the package files. Configuration "
1352 "Item: <literal>Dir::Cache::srcpkgcache</literal>."
1355 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1356 #: apt-cache.8.xml:299 apt-ftparchive.1.xml:510 apt-get.8.xml:366
1357 msgid "<option>-q</option>"
1360 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1361 #: apt-cache.8.xml:299 apt-ftparchive.1.xml:510 apt-get.8.xml:366
1362 msgid "<option>--quiet</option>"
1365 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1366 #: apt-cache.8.xml:300
1368 "Quiet; produces output suitable for logging, omitting progress indicators. "
1369 "More q's will produce more quietness up to a maximum of 2. You can also use "
1370 "<option>-q=#</option> to set the quietness level, overriding the "
1371 "configuration file. Configuration Item: <literal>quiet</literal>."
1374 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1375 #: apt-cache.8.xml:306
1376 msgid "<option>-i</option>"
1379 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1380 #: apt-cache.8.xml:306
1381 msgid "<option>--important</option>"
1384 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1385 #: apt-cache.8.xml:307
1387 "Print only important dependencies; for use with unmet and depends. Causes "
1388 "only Depends and Pre-Depends relations to be printed. Configuration Item: "
1389 "<literal>APT::Cache::Important</literal>."
1392 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1393 #: apt-cache.8.xml:312 apt-cdrom.8.xml:121 apt-get.8.xml:333
1394 msgid "<option>-f</option>"
1397 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1398 #: apt-cache.8.xml:312
1399 msgid "<option>--full</option>"
1402 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1403 #: apt-cache.8.xml:313
1405 "Print full package records when searching. Configuration Item: "
1406 "<literal>APT::Cache::ShowFull</literal>."
1409 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1410 #: apt-cache.8.xml:317 apt-cdrom.8.xml:131 apt-ftparchive.1.xml:548
1411 msgid "<option>-a</option>"
1414 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1415 #: apt-cache.8.xml:317
1416 msgid "<option>--all-versions</option>"
1419 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1420 #: apt-cache.8.xml:318
1422 "Print full records for all available versions. This is the default; to turn "
1423 "it off, use <option>--no-all-versions</option>. If <option>--no-all-"
1424 "versions</option> is specified, only the candidate version will displayed "
1425 "(the one which would be selected for installation). This option is only "
1426 "applicable to the <literal>show</literal> command. Configuration Item: "
1427 "<literal>APT::Cache::AllVersions</literal>."
1430 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1431 #: apt-cache.8.xml:326
1432 msgid "<option>-g</option>"
1435 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1436 #: apt-cache.8.xml:326
1437 msgid "<option>--generate</option>"
1440 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1441 #: apt-cache.8.xml:327
1443 "Perform automatic package cache regeneration, rather than use the cache as "
1444 "it is. This is the default; to turn it off, use <option>--no-generate</"
1445 "option>. Configuration Item: <literal>APT::Cache::Generate</literal>."
1448 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1449 #: apt-cache.8.xml:332
1450 msgid "<option>--names-only</option>"
1453 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1454 #: apt-cache.8.xml:332 apt-cdrom.8.xml:139
1455 msgid "<option>-n</option>"
1458 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1459 #: apt-cache.8.xml:333
1461 "Only search on the package names, not the long descriptions. Configuration "
1462 "Item: <literal>APT::Cache::NamesOnly</literal>."
1465 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1466 #: apt-cache.8.xml:337
1467 msgid "<option>--all-names</option>"
1470 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1471 #: apt-cache.8.xml:338
1473 "Make <literal>pkgnames</literal> print all names, including virtual packages "
1474 "and missing dependencies. Configuration Item: <literal>APT::Cache::"
1475 "AllNames</literal>."
1478 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1479 #: apt-cache.8.xml:343
1480 msgid "<option>--recurse</option>"
1483 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1484 #: apt-cache.8.xml:344
1486 "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1487 "that all packages mentioned are printed once. Configuration Item: "
1488 "<literal>APT::Cache::RecurseDepends</literal>."
1491 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1492 #: apt-cache.8.xml:349
1493 msgid "<option>--installed</option>"
1496 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1497 #: apt-cache.8.xml:351
1499 "Limit the output of <literal>depends</literal> and <literal>rdepends</"
1500 "literal> to packages which are currently installed. Configuration Item: "
1501 "<literal>APT::Cache::Installed</literal>."
1504 #. type: Content of: <refentry><refsect1><variablelist>
1505 #: apt-cache.8.xml:356 apt-cdrom.8.xml:150 apt-config.8.xml:98
1506 #: apt-extracttemplates.1.xml:67 apt-ftparchive.1.xml:576 apt-get.8.xml:561
1507 #: apt-sortpkgs.1.xml:64
1508 msgid "&apt-commonoptions;"
1511 #. type: Content of: <refentry><refsect1><title>
1512 #: apt-cache.8.xml:361 apt-get.8.xml:566 apt-key.8.xml:153 apt-mark.8.xml:122
1513 #: apt.conf.5.xml:1035 apt_preferences.5.xml:633
1517 #. type: Content of: <refentry><refsect1><variablelist>
1518 #: apt-cache.8.xml:363
1519 msgid "&file-sourceslist; &file-statelists;"
1522 #. type: Content of: <refentry><refsect1><title>
1523 #: apt-cache.8.xml:368 apt-cdrom.8.xml:155 apt-config.8.xml:103
1524 #: apt-extracttemplates.1.xml:74 apt-ftparchive.1.xml:592 apt-get.8.xml:576
1525 #: apt-key.8.xml:174 apt-mark.8.xml:133 apt-secure.8.xml:181
1526 #: apt-sortpkgs.1.xml:69 apt.conf.5.xml:1041 apt_preferences.5.xml:640
1527 #: sources.list.5.xml:233
1530 msgstr "Consulte também"
1532 #. type: Content of: <refentry><refsect1><para>
1533 #: apt-cache.8.xml:369
1534 msgid "&apt-conf;, &sources-list;, &apt-get;"
1537 #. type: Content of: <refentry><refsect1><title>
1538 #: apt-cache.8.xml:373 apt-cdrom.8.xml:160 apt-config.8.xml:108
1539 #: apt-extracttemplates.1.xml:78 apt-ftparchive.1.xml:596 apt-get.8.xml:582
1540 #: apt-mark.8.xml:137 apt-sortpkgs.1.xml:73
1544 #. type: Content of: <refentry><refsect1><para>
1545 #: apt-cache.8.xml:374
1547 "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1551 #. type: Content of: <refentry><refentryinfo>
1552 #: apt-cdrom.8.xml:13
1554 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>14 "
1555 "February 2004</date>"
1558 #. type: Content of: <refentry><refnamediv><refname>
1559 #: apt-cdrom.8.xml:21 apt-cdrom.8.xml:28
1563 #. type: Content of: <refentry><refnamediv><refpurpose>
1564 #: apt-cdrom.8.xml:29
1565 msgid "APT CDROM management utility"
1568 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1569 #: apt-cdrom.8.xml:35
1571 "<command>apt-cdrom</command> <arg><option>-hvrmfan</option></arg> "
1572 "<arg><option>-d=<replaceable>cdrom mount point</replaceable></option></arg> "
1573 "<arg><option>-o=<replaceable>config string</replaceable></option></arg> "
1574 "<arg><option>-c=<replaceable>file</replaceable></option></arg> <group> "
1575 "<arg>add</arg> <arg>ident</arg> </group>"
1578 #. type: Content of: <refentry><refsect1><para>
1579 #: apt-cdrom.8.xml:48
1581 "<command>apt-cdrom</command> is used to add a new CDROM to APTs list of "
1582 "available sources. <command>apt-cdrom</command> takes care of determining "
1583 "the structure of the disc as well as correcting for several possible mis-"
1584 "burns and verifying the index files."
1587 #. type: Content of: <refentry><refsect1><para>
1588 #: apt-cdrom.8.xml:55
1590 "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
1591 "system, it cannot be done by hand. Furthermore each disk in a multi-cd set "
1592 "must be inserted and scanned separately to account for possible mis-burns."
1595 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
1596 #: apt-cdrom.8.xml:65
1600 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1601 #: apt-cdrom.8.xml:66
1603 "<literal>add</literal> is used to add a new disc to the source list. It will "
1604 "unmount the CDROM device, prompt for a disk to be inserted and then proceed "
1605 "to scan it and copy the index files. If the disc does not have a proper "
1606 "<filename>disk</filename> directory you will be prompted for a descriptive "
1610 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1611 #: apt-cdrom.8.xml:74
1613 "APT uses a CDROM ID to track which disc is currently in the drive and "
1614 "maintains a database of these IDs in <filename>&statedir;/cdroms.list</"
1618 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
1619 #: apt-cdrom.8.xml:81
1623 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1624 #: apt-cdrom.8.xml:82
1626 "A debugging tool to report the identity of the current disc as well as the "
1630 #. type: Content of: <refentry><refsect1><para>
1631 #: apt-cdrom.8.xml:61
1633 "Unless the <option>-h</option>, or <option>--help</option> option is given "
1634 "one of the commands below must be present. <placeholder type=\"variablelist"
1638 #. type: Content of: <refentry><refsect1><title>
1639 #: apt-cdrom.8.xml:91 apt-key.8.xml:139
1643 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1644 #: apt-cdrom.8.xml:95 apt-ftparchive.1.xml:504 apt-get.8.xml:328
1645 msgid "<option>-d</option>"
1648 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1649 #: apt-cdrom.8.xml:95
1650 msgid "<option>--cdrom</option>"
1653 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1654 #: apt-cdrom.8.xml:96
1656 "Mount point; specify the location to mount the cdrom. This mount point must "
1657 "be listed in <filename>/etc/fstab</filename> and properly configured. "
1658 "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
1661 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1662 #: apt-cdrom.8.xml:104
1663 msgid "<option>-r</option>"
1666 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1667 #: apt-cdrom.8.xml:104
1668 msgid "<option>--rename</option>"
1671 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1672 #: apt-cdrom.8.xml:105
1674 "Rename a disc; change the label of a disk or override the disks given label. "
1675 "This option will cause <command>apt-cdrom</command> to prompt for a new "
1676 "label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
1679 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1680 #: apt-cdrom.8.xml:113 apt-get.8.xml:347
1681 msgid "<option>-m</option>"
1684 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1685 #: apt-cdrom.8.xml:113
1686 msgid "<option>--no-mount</option>"
1689 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1690 #: apt-cdrom.8.xml:114
1692 "No mounting; prevent <command>apt-cdrom</command> from mounting and "
1693 "unmounting the mount point. Configuration Item: <literal>APT::CDROM::"
1694 "NoMount</literal>."
1697 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1698 #: apt-cdrom.8.xml:121
1699 msgid "<option>--fast</option>"
1702 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1703 #: apt-cdrom.8.xml:122
1705 "Fast Copy; Assume the package files are valid and do not check every "
1706 "package. This option should be used only if <command>apt-cdrom</command> has "
1707 "been run on this disc before and did not detect any errors. Configuration "
1708 "Item: <literal>APT::CDROM::Fast</literal>."
1711 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1712 #: apt-cdrom.8.xml:131
1713 msgid "<option>--thorough</option>"
1716 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1717 #: apt-cdrom.8.xml:132
1719 "Thorough Package Scan; This option may be needed with some old Debian "
1720 "1.1/1.2 discs that have Package files in strange places. It takes much "
1721 "longer to scan the CD but will pick them all up."
1724 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1725 #: apt-cdrom.8.xml:140 apt-get.8.xml:378
1726 msgid "<option>--just-print</option>"
1729 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1730 #: apt-cdrom.8.xml:141 apt-get.8.xml:380
1731 msgid "<option>--recon</option>"
1734 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1735 #: apt-cdrom.8.xml:142 apt-get.8.xml:381
1736 msgid "<option>--no-act</option>"
1739 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1740 #: apt-cdrom.8.xml:143
1742 "No Changes; Do not change the &sources-list; file and do not write index "
1743 "files. Everything is still checked however. Configuration Item: "
1744 "<literal>APT::CDROM::NoAct</literal>."
1747 #. type: Content of: <refentry><refsect1><para>
1748 #: apt-cdrom.8.xml:156
1750 msgid "&apt-conf;, &apt-get;, &sources-list;"
1751 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
1753 #. type: Content of: <refentry><refsect1><para>
1754 #: apt-cdrom.8.xml:161
1756 "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
1760 #. type: Content of: <refentry><refnamediv><refname>
1761 #: apt-config.8.xml:22 apt-config.8.xml:29
1765 #. type: Content of: <refentry><refnamediv><refpurpose>
1766 #: apt-config.8.xml:30
1767 msgid "APT Configuration Query program"
1770 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1771 #: apt-config.8.xml:36
1773 "<command>apt-config</command> <arg><option>-hv</option></arg> <arg><option>-"
1774 "o=<replaceable>config string</replaceable></option></arg> <arg><option>-"
1775 "c=<replaceable>file</replaceable></option></arg> <group choice=\"req\"> "
1776 "<arg>shell</arg> <arg>dump</arg> </group>"
1779 #. type: Content of: <refentry><refsect1><para>
1780 #: apt-config.8.xml:48
1782 "<command>apt-config</command> is an internal program used by various "
1783 "portions of the APT suite to provide consistent configurability. It accesses "
1784 "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
1785 "manner that is easy to use by scripted applications."
1788 #. type: Content of: <refentry><refsect1><para>
1789 #: apt-config.8.xml:53 apt-ftparchive.1.xml:72
1791 "Unless the <option>-h</option>, or <option>--help</option> option is given "
1792 "one of the commands below must be present."
1795 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1796 #: apt-config.8.xml:58
1800 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1801 #: apt-config.8.xml:60
1803 "shell is used to access the configuration information from a shell script. "
1804 "It is given pairs of arguments, the first being a shell variable and the "
1805 "second the configuration value to query. As output it lists a series of "
1806 "shell assignments commands for each present value. In a shell script it "
1807 "should be used like:"
1810 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
1811 #: apt-config.8.xml:68
1815 "RES=`apt-config shell OPTS MyApp::options`\n"
1819 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1820 #: apt-config.8.xml:73
1822 "This will set the shell environment variable $OPTS to the value of MyApp::"
1823 "options with a default of <option>-f</option>."
1826 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1827 #: apt-config.8.xml:77
1829 "The configuration item may be postfixed with a /[fdbi]. f returns file "
1830 "names, d returns directories, b returns true or false and i returns an "
1831 "integer. Each of the returns is normalized and verified internally."
1834 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1835 #: apt-config.8.xml:86
1836 msgid "Just show the contents of the configuration space."
1839 #. type: Content of: <refentry><refsect1><para>
1840 #: apt-config.8.xml:104 apt-extracttemplates.1.xml:75 apt-ftparchive.1.xml:593
1841 #: apt-sortpkgs.1.xml:70
1849 #. type: Content of: <refentry><refsect1><para>
1850 #: apt-config.8.xml:109
1852 "<command>apt-config</command> returns zero on normal operation, decimal 100 "
1856 #. type: Content of: <refentry><refnamediv><refname>
1857 #: apt-extracttemplates.1.xml:22 apt-extracttemplates.1.xml:29
1858 msgid "apt-extracttemplates"
1861 #. type: Content of: <refentry><refmeta><manvolnum>
1862 #: apt-extracttemplates.1.xml:23 apt-ftparchive.1.xml:23 apt-sortpkgs.1.xml:23
1866 #. type: Content of: <refentry><refnamediv><refpurpose>
1867 #: apt-extracttemplates.1.xml:30
1868 msgid "Utility to extract DebConf config and templates from Debian packages"
1871 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1872 #: apt-extracttemplates.1.xml:36
1874 "<command>apt-extracttemplates</command> <arg><option>-hv</option></arg> "
1875 "<arg><option>-t=<replaceable>temporary directory</replaceable></option></"
1876 "arg> <arg choice=\"plain\" rep=\"repeat\"><replaceable>file</replaceable></"
1880 #. type: Content of: <refentry><refsect1><para>
1881 #: apt-extracttemplates.1.xml:44
1883 "<command>apt-extracttemplates</command> will take one or more Debian package "
1884 "files as input and write out (to a temporary directory) all associated "
1885 "config scripts and template files. For each passed in package that contains "
1886 "config scripts and templates, one line of output will be generated in the "
1890 #. type: Content of: <refentry><refsect1><para>
1891 #: apt-extracttemplates.1.xml:49
1892 msgid "package version template-file config-script"
1895 #. type: Content of: <refentry><refsect1><para>
1896 #: apt-extracttemplates.1.xml:50
1898 "template-file and config-script are written to the temporary directory "
1899 "specified by the -t or --tempdir (<literal>APT::ExtractTemplates::TempDir</"
1900 "literal>) directory, with filenames of the form <filename>package.template."
1901 "XXXX</filename> and <filename>package.config.XXXX</filename>"
1904 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1905 #: apt-extracttemplates.1.xml:60 apt-get.8.xml:495
1906 msgid "<option>-t</option>"
1909 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1910 #: apt-extracttemplates.1.xml:60
1911 msgid "<option>--tempdir</option>"
1914 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1915 #: apt-extracttemplates.1.xml:62
1917 "Temporary directory in which to write extracted debconf template files and "
1918 "config scripts. Configuration Item: <literal>APT::ExtractTemplates::"
1922 #. type: Content of: <refentry><refsect1><para>
1923 #: apt-extracttemplates.1.xml:79
1925 "<command>apt-extracttemplates</command> returns zero on normal operation, "
1926 "decimal 100 on error."
1929 #. The last update date
1930 #. type: Content of: <refentry><refentryinfo>
1931 #: apt-ftparchive.1.xml:13
1933 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>17 "
1934 "August 2009</date>"
1937 #. type: Content of: <refentry><refnamediv><refname>
1938 #: apt-ftparchive.1.xml:22 apt-ftparchive.1.xml:29
1939 msgid "apt-ftparchive"
1942 #. type: Content of: <refentry><refnamediv><refpurpose>
1943 #: apt-ftparchive.1.xml:30
1944 msgid "Utility to generate index files"
1947 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1948 #: apt-ftparchive.1.xml:36
1950 "<command>apt-ftparchive</command> <arg><option>-hvdsq</option></arg> "
1951 "<arg><option>--md5</option></arg> <arg><option>--delink</option></arg> "
1952 "<arg><option>--readonly</option></arg> <arg><option>--contents</option></"
1953 "arg> <arg><option>--arch <replaceable>architecture</replaceable></option></"
1954 "arg> <arg><option>-o <replaceable>config</replaceable>=<replaceable>string</"
1955 "replaceable></option></arg> <arg><option>-c=<replaceable>file</replaceable></"
1956 "option></arg> <group choice=\"req\"> <arg>packages<arg choice=\"plain\" rep="
1957 "\"repeat\"><replaceable>path</replaceable></arg><arg><replaceable>override</"
1958 "replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> "
1959 "<arg>sources<arg choice=\"plain\" rep=\"repeat\"><replaceable>path</"
1960 "replaceable></arg><arg><replaceable>override</"
1961 "replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> "
1962 "<arg>contents <arg choice=\"plain\"><replaceable>path</replaceable></arg></"
1963 "arg> <arg>release <arg choice=\"plain\"><replaceable>path</replaceable></"
1964 "arg></arg> <arg>generate <arg choice=\"plain\"><replaceable>config-file</"
1965 "replaceable></arg> <arg choice=\"plain\" rep=\"repeat"
1966 "\"><replaceable>section</replaceable></arg></arg> <arg>clean <arg choice="
1967 "\"plain\"><replaceable>config-file</replaceable></arg></arg> </group>"
1970 #. type: Content of: <refentry><refsect1><para>
1971 #: apt-ftparchive.1.xml:57
1973 "<command>apt-ftparchive</command> is the command line tool that generates "
1974 "the index files that APT uses to access a distribution source. The index "
1975 "files should be generated on the origin site based on the content of that "
1979 #. type: Content of: <refentry><refsect1><para>
1980 #: apt-ftparchive.1.xml:61
1982 "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
1983 "program, incorporating its entire functionality via the <literal>packages</"
1984 "literal> command. It also contains a contents file generator, "
1985 "<literal>contents</literal>, and an elaborate means to 'script' the "
1986 "generation process for a complete archive."
1989 #. type: Content of: <refentry><refsect1><para>
1990 #: apt-ftparchive.1.xml:67
1992 "Internally <command>apt-ftparchive</command> can make use of binary "
1993 "databases to cache the contents of a .deb file and it does not rely on any "
1994 "external programs aside from &gzip;. When doing a full generate it "
1995 "automatically performs file-change checks and builds the desired compressed "
1999 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2000 #: apt-ftparchive.1.xml:76
2004 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2005 #: apt-ftparchive.1.xml:78
2007 "The packages command generates a package file from a directory tree. It "
2008 "takes the given directory and recursively searches it for .deb files, "
2009 "emitting a package record to stdout for each. This command is approximately "
2010 "equivalent to &dpkg-scanpackages;."
2013 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2014 #: apt-ftparchive.1.xml:83 apt-ftparchive.1.xml:107
2016 "The option <option>--db</option> can be used to specify a binary caching DB."
2019 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2020 #: apt-ftparchive.1.xml:86
2024 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2025 #: apt-ftparchive.1.xml:88
2027 "The <literal>sources</literal> command generates a source index file from a "
2028 "directory tree. It takes the given directory and recursively searches it "
2029 "for .dsc files, emitting a source record to stdout for each. This command is "
2030 "approximately equivalent to &dpkg-scansources;."
2033 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2034 #: apt-ftparchive.1.xml:93
2036 "If an override file is specified then a source override file will be looked "
2037 "for with an extension of .src. The --source-override option can be used to "
2038 "change the source override file that will be used."
2041 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2042 #: apt-ftparchive.1.xml:98
2046 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2047 #: apt-ftparchive.1.xml:100
2049 "The <literal>contents</literal> command generates a contents file from a "
2050 "directory tree. It takes the given directory and recursively searches it "
2051 "for .deb files, and reads the file list from each file. It then sorts and "
2052 "writes to stdout the list of files matched to packages. Directories are not "
2053 "written to the output. If multiple packages own the same file then each "
2054 "package is separated by a comma in the output."
2057 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2058 #: apt-ftparchive.1.xml:110
2062 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2063 #: apt-ftparchive.1.xml:112
2065 "The <literal>release</literal> command generates a Release file from a "
2066 "directory tree. It recursively searches the given directory for Packages, "
2067 "Packages.gz, Packages.bz2, Sources, Sources.gz, Sources.bz2, Release and "
2068 "md5sum.txt files. It then writes to stdout a Release file containing an MD5 "
2069 "digest and SHA1 digest for each file."
2072 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2073 #: apt-ftparchive.1.xml:119
2075 "Values for the additional metadata fields in the Release file are taken from "
2076 "the corresponding variables under <literal>APT::FTPArchive::Release</"
2077 "literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
2078 "supported fields are: <literal>Origin</literal>, <literal>Label</literal>, "
2079 "<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
2080 "literal>, <literal>Date</literal>, <literal>Architectures</literal>, "
2081 "<literal>Components</literal>, <literal>Description</literal>."
2084 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2085 #: apt-ftparchive.1.xml:129
2089 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2090 #: apt-ftparchive.1.xml:131
2092 "The <literal>generate</literal> command is designed to be runnable from a "
2093 "cron script and builds indexes according to the given config file. The "
2094 "config language provides a flexible means of specifying which index files "
2095 "are built from which directories, as well as providing a simple means of "
2096 "maintaining the required settings."
2099 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2100 #: apt-ftparchive.1.xml:138 apt-get.8.xml:292
2104 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2105 #: apt-ftparchive.1.xml:140
2107 "The <literal>clean</literal> command tidies the databases used by the given "
2108 "configuration file by removing any records that are no longer necessary."
2111 #. type: Content of: <refentry><refsect1><title>
2112 #: apt-ftparchive.1.xml:146
2113 msgid "The Generate Configuration"
2116 #. type: Content of: <refentry><refsect1><para>
2117 #: apt-ftparchive.1.xml:148
2119 "The <literal>generate</literal> command uses a configuration file to "
2120 "describe the archives that are going to be generated. It follows the typical "
2121 "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
2122 "conf; contains a description of the syntax. Note that the generate "
2123 "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
2124 "tree manner. This only effects how the scope tag is handled."
2127 #. type: Content of: <refentry><refsect1><para>
2128 #: apt-ftparchive.1.xml:156
2130 "The generate configuration has 4 separate sections, each described below."
2133 #. type: Content of: <refentry><refsect1><refsect2><title>
2134 #: apt-ftparchive.1.xml:158
2139 #. type: Content of: <refentry><refsect1><refsect2><para>
2140 #: apt-ftparchive.1.xml:160
2142 "The <literal>Dir</literal> section defines the standard directories needed "
2143 "to locate the files required during the generation process. These "
2144 "directories are prepended certain relative paths defined in later sections "
2145 "to produce a complete an absolute path."
2148 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2149 #: apt-ftparchive.1.xml:165
2153 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2154 #: apt-ftparchive.1.xml:167
2156 "Specifies the root of the FTP archive, in a standard Debian configuration "
2157 "this is the directory that contains the <filename>ls-LR</filename> and dist "
2161 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2162 #: apt-ftparchive.1.xml:172
2166 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2167 #: apt-ftparchive.1.xml:174
2168 msgid "Specifies the location of the override files."
2171 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2172 #: apt-ftparchive.1.xml:177
2176 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2177 #: apt-ftparchive.1.xml:179
2178 msgid "Specifies the location of the cache files"
2181 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2182 #: apt-ftparchive.1.xml:182
2186 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2187 #: apt-ftparchive.1.xml:184
2189 "Specifies the location of the file list files, if the <literal>FileList</"
2190 "literal> setting is used below."
2193 #. type: Content of: <refentry><refsect1><refsect2><title>
2194 #: apt-ftparchive.1.xml:190
2195 msgid "Default Section"
2198 #. type: Content of: <refentry><refsect1><refsect2><para>
2199 #: apt-ftparchive.1.xml:192
2201 "The <literal>Default</literal> section specifies default values, and "
2202 "settings that control the operation of the generator. Other sections may "
2203 "override these defaults with a per-section setting."
2206 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2207 #: apt-ftparchive.1.xml:196
2208 msgid "Packages::Compress"
2211 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2212 #: apt-ftparchive.1.xml:198
2214 "Sets the default compression schemes to use for the Package index files. It "
2215 "is a string that contains a space separated list of at least one of: '.' (no "
2216 "compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
2220 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2221 #: apt-ftparchive.1.xml:204
2222 msgid "Packages::Extensions"
2225 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2226 #: apt-ftparchive.1.xml:206
2228 "Sets the default list of file extensions that are package files. This "
2229 "defaults to '.deb'."
2232 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2233 #: apt-ftparchive.1.xml:210
2234 msgid "Sources::Compress"
2237 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2238 #: apt-ftparchive.1.xml:212
2240 "This is similar to <literal>Packages::Compress</literal> except that it "
2241 "controls the compression for the Sources files."
2244 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2245 #: apt-ftparchive.1.xml:216
2246 msgid "Sources::Extensions"
2249 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2250 #: apt-ftparchive.1.xml:218
2252 "Sets the default list of file extensions that are source files. This "
2253 "defaults to '.dsc'."
2256 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2257 #: apt-ftparchive.1.xml:222
2258 msgid "Contents::Compress"
2261 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2262 #: apt-ftparchive.1.xml:224
2264 "This is similar to <literal>Packages::Compress</literal> except that it "
2265 "controls the compression for the Contents files."
2268 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2269 #: apt-ftparchive.1.xml:228
2273 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2274 #: apt-ftparchive.1.xml:230
2276 "Specifies the number of kilobytes to delink (and replace with hard links) "
2277 "per run. This is used in conjunction with the per-section <literal>External-"
2278 "Links</literal> setting."
2281 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2282 #: apt-ftparchive.1.xml:235
2286 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2287 #: apt-ftparchive.1.xml:237
2289 "Specifies the mode of all created index files. It defaults to 0644. All "
2290 "index files are set to this mode with no regard to the umask."
2293 #. type: Content of: <refentry><refsect1><refsect2><title>
2294 #: apt-ftparchive.1.xml:244
2295 msgid "TreeDefault Section"
2298 #. type: Content of: <refentry><refsect1><refsect2><para>
2299 #: apt-ftparchive.1.xml:246
2301 "Sets defaults specific to <literal>Tree</literal> sections. All of these "
2302 "variables are substitution variables and have the strings $(DIST), "
2303 "$(SECTION) and $(ARCH) replaced with their respective values."
2306 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2307 #: apt-ftparchive.1.xml:251
2308 msgid "MaxContentsChange"
2311 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2312 #: apt-ftparchive.1.xml:253
2314 "Sets the number of kilobytes of contents files that are generated each day. "
2315 "The contents files are round-robined so that over several days they will all "
2319 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2320 #: apt-ftparchive.1.xml:258
2324 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2325 #: apt-ftparchive.1.xml:260
2327 "Controls the number of days a contents file is allowed to be checked without "
2328 "changing. If this limit is passed the mtime of the contents file is updated. "
2329 "This case can occur if the package file is changed in such a way that does "
2330 "not result in a new contents file [override edit for instance]. A hold off "
2331 "is allowed in hopes that new .debs will be installed, requiring a new file "
2332 "anyhow. The default is 10, the units are in days."
2335 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2336 #: apt-ftparchive.1.xml:269
2340 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2341 #: apt-ftparchive.1.xml:271
2343 "Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
2344 "$(SECTION)/binary-$(ARCH)/</filename>"
2347 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2348 #: apt-ftparchive.1.xml:275
2349 msgid "SrcDirectory"
2352 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2353 #: apt-ftparchive.1.xml:277
2355 "Sets the top of the source package directory tree. Defaults to <filename>"
2356 "$(DIST)/$(SECTION)/source/</filename>"
2359 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2360 #: apt-ftparchive.1.xml:281 apt-ftparchive.1.xml:407
2364 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2365 #: apt-ftparchive.1.xml:283
2367 "Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
2368 "binary-$(ARCH)/Packages</filename>"
2371 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2372 #: apt-ftparchive.1.xml:287 apt-ftparchive.1.xml:412
2376 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2377 #: apt-ftparchive.1.xml:289
2379 "Sets the output Sources file. Defaults to <filename>$(DIST)/$(SECTION)/"
2380 "source/Sources</filename>"
2383 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2384 #: apt-ftparchive.1.xml:293
2385 msgid "InternalPrefix"
2388 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2389 #: apt-ftparchive.1.xml:295
2391 "Sets the path prefix that causes a symlink to be considered an internal link "
2392 "instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
2396 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2397 #: apt-ftparchive.1.xml:300 apt-ftparchive.1.xml:418
2401 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2402 #: apt-ftparchive.1.xml:302
2404 "Sets the output Contents file. Defaults to <filename>$(DIST)/Contents-$(ARCH)"
2405 "</filename>. If this setting causes multiple Packages files to map onto a "
2406 "single Contents file (such as the default) then <command>apt-ftparchive</"
2407 "command> will integrate those package files together automatically."
2410 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2411 #: apt-ftparchive.1.xml:309
2412 msgid "Contents::Header"
2415 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2416 #: apt-ftparchive.1.xml:311
2417 msgid "Sets header file to prepend to the contents output."
2420 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2421 #: apt-ftparchive.1.xml:314 apt-ftparchive.1.xml:443
2425 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2426 #: apt-ftparchive.1.xml:316
2428 "Sets the binary cache database to use for this section. Multiple sections "
2429 "can share the same database."
2432 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2433 #: apt-ftparchive.1.xml:320
2437 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2438 #: apt-ftparchive.1.xml:322
2440 "Specifies that instead of walking the directory tree, <command>apt-"
2441 "ftparchive</command> should read the list of files from the given file. "
2442 "Relative files names are prefixed with the archive directory."
2445 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2446 #: apt-ftparchive.1.xml:327
2447 msgid "SourceFileList"
2450 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2451 #: apt-ftparchive.1.xml:329
2453 "Specifies that instead of walking the directory tree, <command>apt-"
2454 "ftparchive</command> should read the list of files from the given file. "
2455 "Relative files names are prefixed with the archive directory. This is used "
2456 "when processing source indexes."
2459 #. type: Content of: <refentry><refsect1><refsect2><title>
2460 #: apt-ftparchive.1.xml:337
2461 msgid "Tree Section"
2464 #. type: Content of: <refentry><refsect1><refsect2><para>
2465 #: apt-ftparchive.1.xml:339
2467 "The <literal>Tree</literal> section defines a standard Debian file tree "
2468 "which consists of a base directory, then multiple sections in that base "
2469 "directory and finally multiple Architectures in each section. The exact "
2470 "pathing used is defined by the <literal>Directory</literal> substitution "
2474 #. type: Content of: <refentry><refsect1><refsect2><para>
2475 #: apt-ftparchive.1.xml:344
2477 "The <literal>Tree</literal> section takes a scope tag which sets the "
2478 "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
2479 "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
2480 "setting such as <filename>dists/woody</filename>."
2483 #. type: Content of: <refentry><refsect1><refsect2><para>
2484 #: apt-ftparchive.1.xml:349
2486 "All of the settings defined in the <literal>TreeDefault</literal> section "
2487 "can be use in a <literal>Tree</literal> section as well as three new "
2491 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
2492 #: apt-ftparchive.1.xml:355
2495 "for i in Sections do \n"
2496 " for j in Architectures do\n"
2497 " Generate for DIST=scope SECTION=i ARCH=j\n"
2501 #. type: Content of: <refentry><refsect1><refsect2><para>
2502 #: apt-ftparchive.1.xml:352
2504 "When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
2505 "command> performs an operation similar to: <placeholder type=\"programlisting"
2509 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2510 #: apt-ftparchive.1.xml:361
2515 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2516 #: apt-ftparchive.1.xml:363
2518 "This is a space separated list of sections which appear under the "
2519 "distribution, typically this is something like <literal>main contrib non-"
2523 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2524 #: apt-ftparchive.1.xml:368
2525 msgid "Architectures"
2528 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2529 #: apt-ftparchive.1.xml:370
2531 "This is a space separated list of all the architectures that appear under "
2532 "search section. The special architecture 'source' is used to indicate that "
2533 "this tree has a source archive."
2536 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2537 #: apt-ftparchive.1.xml:375 apt-ftparchive.1.xml:423
2541 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2542 #: apt-ftparchive.1.xml:377
2544 "Sets the binary override file. The override file contains section, priority "
2545 "and maintainer address information."
2548 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2549 #: apt-ftparchive.1.xml:381 apt-ftparchive.1.xml:428
2553 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2554 #: apt-ftparchive.1.xml:383
2556 "Sets the source override file. The override file contains section "
2560 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2561 #: apt-ftparchive.1.xml:387 apt-ftparchive.1.xml:433
2562 msgid "ExtraOverride"
2565 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2566 #: apt-ftparchive.1.xml:389 apt-ftparchive.1.xml:435
2567 msgid "Sets the binary extra override file."
2570 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2571 #: apt-ftparchive.1.xml:392 apt-ftparchive.1.xml:438
2572 msgid "SrcExtraOverride"
2575 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2576 #: apt-ftparchive.1.xml:394 apt-ftparchive.1.xml:440
2577 msgid "Sets the source extra override file."
2580 #. type: Content of: <refentry><refsect1><refsect2><title>
2581 #: apt-ftparchive.1.xml:399
2582 msgid "BinDirectory Section"
2585 #. type: Content of: <refentry><refsect1><refsect2><para>
2586 #: apt-ftparchive.1.xml:401
2588 "The <literal>bindirectory</literal> section defines a binary directory tree "
2589 "with no special structure. The scope tag specifies the location of the "
2590 "binary directory and the settings are similar to the <literal>Tree</literal> "
2591 "section with no substitution variables or <literal>Section</"
2592 "literal><literal>Architecture</literal> settings."
2595 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2596 #: apt-ftparchive.1.xml:409
2597 msgid "Sets the Packages file output."
2600 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2601 #: apt-ftparchive.1.xml:414
2603 "Sets the Sources file output. At least one of <literal>Packages</literal> or "
2604 "<literal>Sources</literal> is required."
2607 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2608 #: apt-ftparchive.1.xml:420
2609 msgid "Sets the Contents file output. (optional)"
2612 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2613 #: apt-ftparchive.1.xml:425
2614 msgid "Sets the binary override file."
2617 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2618 #: apt-ftparchive.1.xml:430
2619 msgid "Sets the source override file."
2622 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2623 #: apt-ftparchive.1.xml:445
2624 msgid "Sets the cache DB."
2627 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2628 #: apt-ftparchive.1.xml:448
2632 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2633 #: apt-ftparchive.1.xml:450
2634 msgid "Appends a path to all the output paths."
2637 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2638 #: apt-ftparchive.1.xml:453
2639 msgid "FileList, SourceFileList"
2642 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2643 #: apt-ftparchive.1.xml:455
2644 msgid "Specifies the file list file."
2647 #. type: Content of: <refentry><refsect1><title>
2648 #: apt-ftparchive.1.xml:462
2649 msgid "The Binary Override File"
2652 #. type: Content of: <refentry><refsect1><para>
2653 #: apt-ftparchive.1.xml:463
2655 "The binary override file is fully compatible with &dpkg-scanpackages;. It "
2656 "contains 4 fields separated by spaces. The first field is the package name, "
2657 "the second is the priority to force that package to, the third is the the "
2658 "section to force that package to and the final field is the maintainer "
2659 "permutation field."
2662 #. type: Content of: <refentry><refsect1><para><literallayout>
2663 #: apt-ftparchive.1.xml:469
2665 msgid "old [// oldn]* => new"
2668 #. type: Content of: <refentry><refsect1><para><literallayout>
2669 #: apt-ftparchive.1.xml:471
2674 #. type: Content of: <refentry><refsect1><para>
2675 #: apt-ftparchive.1.xml:468
2677 "The general form of the maintainer field is: <placeholder type="
2678 "\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
2679 "id=\"1\"/> The first form allows a double-slash separated list of old email "
2680 "addresses to be specified. If any of those are found then new is substituted "
2681 "for the maintainer field. The second form unconditionally substitutes the "
2685 #. type: Content of: <refentry><refsect1><title>
2686 #: apt-ftparchive.1.xml:479
2687 msgid "The Source Override File"
2690 #. type: Content of: <refentry><refsect1><para>
2691 #: apt-ftparchive.1.xml:481
2693 "The source override file is fully compatible with &dpkg-scansources;. It "
2694 "contains 2 fields separated by spaces. The first fields is the source "
2695 "package name, the second is the section to assign it."
2698 #. type: Content of: <refentry><refsect1><title>
2699 #: apt-ftparchive.1.xml:486
2700 msgid "The Extra Override File"
2703 #. type: Content of: <refentry><refsect1><para>
2704 #: apt-ftparchive.1.xml:488
2706 "The extra override file allows any arbitrary tag to be added or replaced in "
2707 "the output. It has 3 columns, the first is the package, the second is the "
2708 "tag and the remainder of the line is the new value."
2711 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2712 #: apt-ftparchive.1.xml:497
2713 msgid "<option>--md5</option>"
2716 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2717 #: apt-ftparchive.1.xml:499
2719 "Generate MD5 sums. This defaults to on, when turned off the generated index "
2720 "files will not have MD5Sum fields where possible. Configuration Item: "
2721 "<literal>APT::FTPArchive::MD5</literal>"
2724 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2725 #: apt-ftparchive.1.xml:504
2726 msgid "<option>--db</option>"
2729 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2730 #: apt-ftparchive.1.xml:506
2732 "Use a binary caching DB. This has no effect on the generate command. "
2733 "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
2736 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2737 #: apt-ftparchive.1.xml:512
2739 "Quiet; produces output suitable for logging, omitting progress indicators. "
2740 "More q's will produce more quiet up to a maximum of 2. You can also use "
2741 "<option>-q=#</option> to set the quiet level, overriding the configuration "
2742 "file. Configuration Item: <literal>quiet</literal>."
2745 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2746 #: apt-ftparchive.1.xml:518
2747 msgid "<option>--delink</option>"
2750 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2751 #: apt-ftparchive.1.xml:520
2753 "Perform Delinking. If the <literal>External-Links</literal> setting is used "
2754 "then this option actually enables delinking of the files. It defaults to on "
2755 "and can be turned off with <option>--no-delink</option>. Configuration "
2756 "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
2759 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2760 #: apt-ftparchive.1.xml:526
2761 msgid "<option>--contents</option>"
2764 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2765 #: apt-ftparchive.1.xml:528
2767 "Perform contents generation. When this option is set and package indexes are "
2768 "being generated with a cache DB then the file listing will also be extracted "
2769 "and stored in the DB for later use. When using the generate command this "
2770 "option also allows the creation of any Contents files. The default is on. "
2771 "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
2774 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2775 #: apt-ftparchive.1.xml:536
2776 msgid "<option>--source-override</option>"
2779 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2780 #: apt-ftparchive.1.xml:538
2782 "Select the source override file to use with the <literal>sources</literal> "
2783 "command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
2787 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2788 #: apt-ftparchive.1.xml:542
2789 msgid "<option>--readonly</option>"
2792 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2793 #: apt-ftparchive.1.xml:544
2795 "Make the caching databases read only. Configuration Item: <literal>APT::"
2796 "FTPArchive::ReadOnlyDB</literal>."
2799 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2800 #: apt-ftparchive.1.xml:548
2801 msgid "<option>--arch</option>"
2804 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2805 #: apt-ftparchive.1.xml:549
2807 "Accept in the <literal>packages</literal> and <literal>contents</literal> "
2808 "commands only package files matching <literal>*_arch.deb</literal> or "
2809 "<literal>*_all.deb</literal> instead of all package files in the given "
2810 "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
2813 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2814 #: apt-ftparchive.1.xml:555
2815 msgid "<option>APT::FTPArchive::AlwaysStat</option>"
2818 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2819 #: apt-ftparchive.1.xml:557
2821 "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
2822 "packages are recompiled and/or republished with the same version again, this "
2823 "will lead to problems as the now outdated cached metadata like size and "
2824 "checksums will be used. With this option enabled this will no longer happen "
2825 "as it will be checked if the file was changed. Note that this option is set "
2826 "to \"<literal>false</literal>\" by default as it is not recommend to upload "
2827 "multiply versions/builds of a package with the same versionnumber, so in "
2828 "theory nobody will have these problems and therefore all these extra checks "
2832 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2833 #: apt-ftparchive.1.xml:567
2834 msgid "<option>APT::FTPArchive::LongDescription</option>"
2837 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2838 #: apt-ftparchive.1.xml:569
2840 "This configuration option defaults to \"<literal>true</literal>\" and should "
2841 "only be set to <literal>\"false\"</literal> if the Archive generated with "
2842 "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
2843 "that it is currently not possible to create these files with <command>apt-"
2844 "ftparchive</command>."
2847 #. type: Content of: <refentry><refsect1><title>
2848 #: apt-ftparchive.1.xml:581 apt.conf.5.xml:1029 apt_preferences.5.xml:480
2849 #: sources.list.5.xml:193
2854 #. type: Content of: <refentry><refsect1><para><programlisting>
2855 #: apt-ftparchive.1.xml:587
2857 msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
2860 #. type: Content of: <refentry><refsect1><para>
2861 #: apt-ftparchive.1.xml:583
2863 "To create a compressed Packages file for a directory containing binary "
2864 "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
2867 #. type: Content of: <refentry><refsect1><para>
2868 #: apt-ftparchive.1.xml:597
2870 "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
2874 #. The last update date
2875 #. type: Content of: <refentry><refentryinfo>
2878 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>08 "
2879 "November 2008</date>"
2882 #. type: <heading></heading>
2883 #: apt-get.8.xml:22 apt-get.8.xml:29 guide.sgml:96
2887 #. type: Content of: <refentry><refnamediv><refpurpose>
2889 msgid "APT package handling utility -- command-line interface"
2892 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
2895 "<command>apt-get</command> <arg><option>-sqdyfmubV</option></arg> <arg> "
2896 "<option>-o= <replaceable>config_string</replaceable> </option> </arg> <arg> "
2897 "<option>-c= <replaceable>config_file</replaceable> </option> </arg> <arg> "
2898 "<option>-t=</option> <group choice='req'> <arg choice='plain'> "
2899 "<replaceable>target_release_name</replaceable> </arg> <arg choice='plain'> "
2900 "<replaceable>target_release_number_expression</replaceable> </arg> <arg "
2901 "choice='plain'> <replaceable>target_release_codename</replaceable> </arg> </"
2902 "group> </arg> <group choice=\"req\"> <arg choice='plain'>update</arg> <arg "
2903 "choice='plain'>upgrade</arg> <arg choice='plain'>dselect-upgrade</arg> <arg "
2904 "choice='plain'>dist-upgrade</arg> <arg choice='plain'>install <arg choice="
2905 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable> <arg> <group "
2906 "choice='req'> <arg choice='plain'> =<replaceable>pkg_version_number</"
2907 "replaceable> </arg> <arg choice='plain'> /<replaceable>target_release_name</"
2908 "replaceable> </arg> <arg choice='plain'> /"
2909 "<replaceable>target_release_codename</replaceable> </arg> </group> </arg> </"
2910 "arg> </arg> <arg choice='plain'>remove <arg choice=\"plain\" rep=\"repeat"
2911 "\"><replaceable>pkg</replaceable></arg></arg> <arg choice='plain'>purge <arg "
2912 "choice=\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
2913 "<arg choice='plain'>source <arg choice=\"plain\" rep=\"repeat"
2914 "\"><replaceable>pkg</replaceable> <arg> <group choice='req'> <arg "
2915 "choice='plain'> =<replaceable>pkg_version_number</replaceable> </arg> <arg "
2916 "choice='plain'> /<replaceable>target_release_name</replaceable> </arg> <arg "
2917 "choice='plain'> /<replaceable>target_release_codename</replaceable> </arg> </"
2918 "group> </arg> </arg> </arg> <arg choice='plain'>build-dep <arg choice=\"plain"
2919 "\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> <arg "
2920 "choice='plain'>check</arg> <arg choice='plain'>clean</arg> <arg "
2921 "choice='plain'>autoclean</arg> <arg choice='plain'>autoremove</arg> <arg "
2922 "choice='plain'> <group choice='req'> <arg choice='plain'>-v</arg> <arg "
2923 "choice='plain'>--version</arg> </group> </arg> <arg choice='plain'> <group "
2924 "choice='req'> <arg choice='plain'>-h</arg> <arg choice='plain'>--help</arg> "
2925 "</group> </arg> </group>"
2928 #. type: Content of: <refentry><refsect1><para>
2929 #: apt-get.8.xml:126
2931 "<command>apt-get</command> is the command-line tool for handling packages, "
2932 "and may be considered the user's \"back-end\" to other tools using the APT "
2933 "library. Several \"front-end\" interfaces exist, such as &dselect;, "
2934 "&aptitude;, &synaptic;, &gnome-apt; and &wajig;."
2937 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2938 #: apt-get.8.xml:135 apt-key.8.xml:124
2942 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2943 #: apt-get.8.xml:136
2945 "<literal>update</literal> is used to resynchronize the package index files "
2946 "from their sources. The indexes of available packages are fetched from the "
2947 "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
2948 "example, when using a Debian archive, this command retrieves and scans the "
2949 "<filename>Packages.gz</filename> files, so that information about new and "
2950 "updated packages is available. An <literal>update</literal> should always be "
2951 "performed before an <literal>upgrade</literal> or <literal>dist-upgrade</"
2952 "literal>. Please be aware that the overall progress meter will be incorrect "
2953 "as the size of the package files cannot be known in advance."
2956 #. type: <tag></tag>
2957 #: apt-get.8.xml:147 guide.sgml:121
2961 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2962 #: apt-get.8.xml:148
2964 "<literal>upgrade</literal> is used to install the newest versions of all "
2965 "packages currently installed on the system from the sources enumerated in "
2966 "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
2967 "with new versions available are retrieved and upgraded; under no "
2968 "circumstances are currently installed packages removed, or packages not "
2969 "already installed retrieved and installed. New versions of currently "
2970 "installed packages that cannot be upgraded without changing the install "
2971 "status of another package will be left at their current version. An "
2972 "<literal>update</literal> must be performed first so that <command>apt-get</"
2973 "command> knows that new versions of packages are available."
2976 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2977 #: apt-get.8.xml:160
2978 msgid "dselect-upgrade"
2981 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2982 #: apt-get.8.xml:161
2984 "<literal>dselect-upgrade</literal> is used in conjunction with the "
2985 "traditional Debian packaging front-end, &dselect;. <literal>dselect-upgrade</"
2986 "literal> follows the changes made by &dselect; to the <literal>Status</"
2987 "literal> field of available packages, and performs the actions necessary to "
2988 "realize that state (for instance, the removal of old and the installation of "
2992 #. type: <tag></tag>
2993 #: apt-get.8.xml:170 guide.sgml:140
2994 msgid "dist-upgrade"
2997 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2998 #: apt-get.8.xml:171
3000 "<literal>dist-upgrade</literal> in addition to performing the function of "
3001 "<literal>upgrade</literal>, also intelligently handles changing dependencies "
3002 "with new versions of packages; <command>apt-get</command> has a \"smart\" "
3003 "conflict resolution system, and it will attempt to upgrade the most "
3004 "important packages at the expense of less important ones if necessary. So, "
3005 "<literal>dist-upgrade</literal> command may remove some packages. The "
3006 "<filename>/etc/apt/sources.list</filename> file contains a list of locations "
3007 "from which to retrieve desired package files. See also &apt-preferences; "
3008 "for a mechanism for overriding the general settings for individual packages."
3011 #. type: <tag></tag>
3012 #: apt-get.8.xml:183 guide.sgml:131
3016 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3017 #: apt-get.8.xml:185
3019 "<literal>install</literal> is followed by one or more packages desired for "
3020 "installation or upgrading. Each package is a package name, not a fully "
3021 "qualified filename (for instance, in a Debian GNU/Linux system, libc6 would "
3022 "be the argument provided, not <literal>libc6_1.9.6-2.deb</literal>). All "
3023 "packages required by the package(s) specified for installation will also be "
3024 "retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
3025 "file is used to locate the desired packages. If a hyphen is appended to the "
3026 "package name (with no intervening space), the identified package will be "
3027 "removed if it is installed. Similarly a plus sign can be used to designate "
3028 "a package to install. These latter features may be used to override "
3029 "decisions made by apt-get's conflict resolution system."
3032 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3033 #: apt-get.8.xml:203
3035 "A specific version of a package can be selected for installation by "
3036 "following the package name with an equals and the version of the package to "
3037 "select. This will cause that version to be located and selected for install. "
3038 "Alternatively a specific distribution can be selected by following the "
3039 "package name with a slash and the version of the distribution or the Archive "
3040 "name (stable, testing, unstable)."
3043 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3044 #: apt-get.8.xml:210
3046 "Both of the version selection mechanisms can downgrade packages and must be "
3050 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3051 #: apt-get.8.xml:213
3053 "This is also the target to use if you want to upgrade one or more already-"
3054 "installed packages without upgrading every package you have on your system. "
3055 "Unlike the \"upgrade\" target, which installs the newest version of all "
3056 "currently installed packages, \"install\" will install the newest version of "
3057 "only the package(s) specified. Simply provide the name of the package(s) "
3058 "you wish to upgrade, and if a newer version is available, it (and its "
3059 "dependencies, as described above) will be downloaded and installed."
3062 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3063 #: apt-get.8.xml:224
3065 "Finally, the &apt-preferences; mechanism allows you to create an alternative "
3066 "installation policy for individual packages."
3069 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3070 #: apt-get.8.xml:228
3072 "If no package matches the given expression and the expression contains one "
3073 "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
3074 "it is applied to all package names in the database. Any matches are then "
3075 "installed (or removed). Note that matching is done by substring so 'lo.*' "
3076 "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
3077 "expression with a '^' or '$' character, or create a more specific regular "
3081 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3082 #: apt-get.8.xml:237
3086 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3087 #: apt-get.8.xml:238
3089 "<literal>remove</literal> is identical to <literal>install</literal> except "
3090 "that packages are removed instead of installed. Note the removing a package "
3091 "leaves its configuration files in system. If a plus sign is appended to the "
3092 "package name (with no intervening space), the identified package will be "
3093 "installed instead of removed."
3096 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3097 #: apt-get.8.xml:245
3101 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3102 #: apt-get.8.xml:246
3104 "<literal>purge</literal> is identical to <literal>remove</literal> except "
3105 "that packages are removed and purged (any configuration files are deleted "
3109 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3110 #: apt-get.8.xml:250
3114 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3115 #: apt-get.8.xml:251
3117 "<literal>source</literal> causes <command>apt-get</command> to fetch source "
3118 "packages. APT will examine the available packages to decide which source "
3119 "package to fetch. It will then find and download into the current directory "
3120 "the newest available version of that source package while respect the "
3121 "default release, set with the option <literal>APT::Default-Release</"
3122 "literal>, the <option>-t</option> option or per package with the "
3123 "<literal>pkg/release</literal> syntax, if possible."
3126 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3127 #: apt-get.8.xml:259
3129 "Source packages are tracked separately from binary packages via <literal>deb-"
3130 "src</literal> type lines in the &sources-list; file. This means that you "
3131 "will need to add such a line for each repository you want to get sources "
3132 "from. If you don't do this you will properly get another (newer, older or "
3133 "none) source version than the one you have installed or could install."
3136 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3137 #: apt-get.8.xml:266
3139 "If the <option>--compile</option> option is specified then the package will "
3140 "be compiled to a binary .deb using <command>dpkg-buildpackage</command>, if "
3141 "<option>--download-only</option> is specified then the source package will "
3145 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3146 #: apt-get.8.xml:271
3148 "A specific source version can be retrieved by postfixing the source name "
3149 "with an equals and then the version to fetch, similar to the mechanism used "
3150 "for the package files. This enables exact matching of the source package "
3151 "name and version, implicitly enabling the <literal>APT::Get::Only-Source</"
3155 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3156 #: apt-get.8.xml:277
3158 "Note that source packages are not tracked like binary packages, they exist "
3159 "only in the current directory and are similar to downloading source tar "
3163 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3164 #: apt-get.8.xml:282
3168 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3169 #: apt-get.8.xml:283
3171 "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
3172 "attempt to satisfy the build dependencies for a source package."
3175 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3176 #: apt-get.8.xml:287
3180 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3181 #: apt-get.8.xml:288
3183 "<literal>check</literal> is a diagnostic tool; it updates the package cache "
3184 "and checks for broken dependencies."
3187 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3188 #: apt-get.8.xml:293
3190 "<literal>clean</literal> clears out the local repository of retrieved "
3191 "package files. It removes everything but the lock file from "
3192 "<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/archives/"
3193 "partial/</filename>. When APT is used as a &dselect; method, <literal>clean</"
3194 "literal> is run automatically. Those who do not use dselect will likely "
3195 "want to run <literal>apt-get clean</literal> from time to time to free up "
3199 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3200 #: apt-get.8.xml:302
3204 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3205 #: apt-get.8.xml:303
3207 "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
3208 "local repository of retrieved package files. The difference is that it only "
3209 "removes package files that can no longer be downloaded, and are largely "
3210 "useless. This allows a cache to be maintained over a long period without it "
3211 "growing out of control. The configuration option <literal>APT::Clean-"
3212 "Installed</literal> will prevent installed packages from being erased if it "
3216 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3217 #: apt-get.8.xml:312
3221 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3222 #: apt-get.8.xml:313
3224 "<literal>autoremove</literal> is used to remove packages that were "
3225 "automatically installed to satisfy dependencies for some package and that "
3226 "are no more needed."
3229 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3230 #: apt-get.8.xml:323 apt-get.8.xml:429
3231 msgid "<option>--no-install-recommends</option>"
3234 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3235 #: apt-get.8.xml:324
3237 "Do not consider recommended packages as a dependency for installing. "
3238 "Configuration Item: <literal>APT::Install-Recommends</literal>."
3241 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3242 #: apt-get.8.xml:328
3243 msgid "<option>--download-only</option>"
3246 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3247 #: apt-get.8.xml:329
3249 "Download only; package files are only retrieved, not unpacked or installed. "
3250 "Configuration Item: <literal>APT::Get::Download-Only</literal>."
3253 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3254 #: apt-get.8.xml:333
3255 msgid "<option>--fix-broken</option>"
3258 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3259 #: apt-get.8.xml:334
3261 "Fix; attempt to correct a system with broken dependencies in place. This "
3262 "option, when used with install/remove, can omit any packages to permit APT "
3263 "to deduce a likely solution. If packages are specified, these have to "
3264 "completely correct the problem. The option is sometimes necessary when "
3265 "running APT for the first time; APT itself does not allow broken package "
3266 "dependencies to exist on a system. It is possible that a system's dependency "
3267 "structure can be so corrupt as to require manual intervention (which usually "
3268 "means using &dselect; or <command>dpkg --remove</command> to eliminate some "
3269 "of the offending packages). Use of this option together with <option>-m</"
3270 "option> may produce an error in some situations. Configuration Item: "
3271 "<literal>APT::Get::Fix-Broken</literal>."
3274 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3275 #: apt-get.8.xml:347
3276 msgid "<option>--ignore-missing</option>"
3279 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3280 #: apt-get.8.xml:348
3281 msgid "<option>--fix-missing</option>"
3284 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3285 #: apt-get.8.xml:349
3287 "Ignore missing packages; If packages cannot be retrieved or fail the "
3288 "integrity check after retrieval (corrupted package files), hold back those "
3289 "packages and handle the result. Use of this option together with <option>-f</"
3290 "option> may produce an error in some situations. If a package is selected "
3291 "for installation (particularly if it is mentioned on the command line) and "
3292 "it could not be downloaded then it will be silently held back. "
3293 "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
3296 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3297 #: apt-get.8.xml:359
3298 msgid "<option>--no-download</option>"
3301 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3302 #: apt-get.8.xml:360
3304 "Disables downloading of packages. This is best used with <option>--ignore-"
3305 "missing</option> to force APT to use only the .debs it has already "
3306 "downloaded. Configuration Item: <literal>APT::Get::Download</literal>."
3309 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3310 #: apt-get.8.xml:367
3312 "Quiet; produces output suitable for logging, omitting progress indicators. "
3313 "More q's will produce more quiet up to a maximum of 2. You can also use "
3314 "<option>-q=#</option> to set the quiet level, overriding the configuration "
3315 "file. Note that quiet level 2 implies <option>-y</option>, you should never "
3316 "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
3317 "may decided to do something you did not expect. Configuration Item: "
3318 "<literal>quiet</literal>."
3321 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3322 #: apt-get.8.xml:377
3323 msgid "<option>--simulate</option>"
3326 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3327 #: apt-get.8.xml:379
3328 msgid "<option>--dry-run</option>"
3331 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3332 #: apt-get.8.xml:382
3334 "No action; perform a simulation of events that would occur but do not "
3335 "actually change the system. Configuration Item: <literal>APT::Get::"
3336 "Simulate</literal>."
3339 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3340 #: apt-get.8.xml:386
3342 "Simulation run as user will deactivate locking (<literal>Debug::NoLocking</"
3343 "literal>) automatic. Also a notice will be displayed indicating that this "
3344 "is only a simulation, if the option <literal>APT::Get::Show-User-Simulation-"
3345 "Note</literal> is set (Default: true). Neither NoLocking nor the notice "
3346 "will be triggered if run as root (root should know what he is doing without "
3347 "further warnings by <literal>apt-get</literal>)."
3350 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3351 #: apt-get.8.xml:392
3353 "Simulate prints out a series of lines each one representing a dpkg "
3354 "operation, Configure (Conf), Remove (Remv), Unpack (Inst). Square brackets "
3355 "indicate broken packages and empty set of square brackets meaning breaks "
3356 "that are of no consequence (rare)."
3359 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3360 #: apt-get.8.xml:399
3361 msgid "<option>-y</option>"
3364 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3365 #: apt-get.8.xml:399
3366 msgid "<option>--yes</option>"
3369 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3370 #: apt-get.8.xml:400
3371 msgid "<option>--assume-yes</option>"
3374 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3375 #: apt-get.8.xml:401
3377 "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
3378 "non-interactively. If an undesirable situation, such as changing a held "
3379 "package, trying to install a unauthenticated package or removing an "
3380 "essential package occurs then <literal>apt-get</literal> will abort. "
3381 "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
3384 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3385 #: apt-get.8.xml:408
3386 msgid "<option>-u</option>"
3389 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3390 #: apt-get.8.xml:408
3391 msgid "<option>--show-upgraded</option>"
3394 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3395 #: apt-get.8.xml:409
3397 "Show upgraded packages; Print out a list of all packages that are to be "
3398 "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
3401 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3402 #: apt-get.8.xml:414
3403 msgid "<option>-V</option>"
3406 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3407 #: apt-get.8.xml:414
3408 msgid "<option>--verbose-versions</option>"
3411 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3412 #: apt-get.8.xml:415
3414 "Show full versions for upgraded and installed packages. Configuration Item: "
3415 "<literal>APT::Get::Show-Versions</literal>."
3418 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3419 #: apt-get.8.xml:419
3420 msgid "<option>-b</option>"
3423 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3424 #: apt-get.8.xml:419
3425 msgid "<option>--compile</option>"
3428 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3429 #: apt-get.8.xml:420
3430 msgid "<option>--build</option>"
3433 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3434 #: apt-get.8.xml:421
3436 "Compile source packages after downloading them. Configuration Item: "
3437 "<literal>APT::Get::Compile</literal>."
3440 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3441 #: apt-get.8.xml:425
3442 msgid "<option>--install-recommends</option>"
3445 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3446 #: apt-get.8.xml:426
3447 msgid "Also install recommended packages."
3450 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3451 #: apt-get.8.xml:430
3452 msgid "Do not install recommended packages."
3455 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3456 #: apt-get.8.xml:433
3457 msgid "<option>--ignore-hold</option>"
3460 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3461 #: apt-get.8.xml:434
3463 "Ignore package Holds; This causes <command>apt-get</command> to ignore a "
3464 "hold placed on a package. This may be useful in conjunction with "
3465 "<literal>dist-upgrade</literal> to override a large number of undesired "
3466 "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
3469 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3470 #: apt-get.8.xml:440
3471 msgid "<option>--no-upgrade</option>"
3474 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3475 #: apt-get.8.xml:441
3477 "Do not upgrade packages; When used in conjunction with <literal>install</"
3478 "literal>, <literal>no-upgrade</literal> will prevent packages on the command "
3479 "line from being upgraded if they are already installed. Configuration Item: "
3480 "<literal>APT::Get::Upgrade</literal>."
3483 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3484 #: apt-get.8.xml:447
3485 msgid "<option>--only-upgrade</option>"
3488 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3489 #: apt-get.8.xml:448
3491 "Do not install new packages; When used in conjunction with <literal>install</"
3492 "literal>, <literal>only-upgrade</literal> will prevent packages on the "
3493 "command line from being upgraded if they are not already installed. "
3494 "Configuration Item: <literal>APT::Get::Only-Upgrade</literal>."
3497 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3498 #: apt-get.8.xml:454
3499 msgid "<option>--force-yes</option>"
3502 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3503 #: apt-get.8.xml:455
3505 "Force yes; This is a dangerous option that will cause apt to continue "
3506 "without prompting if it is doing something potentially harmful. It should "
3507 "not be used except in very special situations. Using <literal>force-yes</"
3508 "literal> can potentially destroy your system! Configuration Item: "
3509 "<literal>APT::Get::force-yes</literal>."
3512 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3513 #: apt-get.8.xml:462
3514 msgid "<option>--print-uris</option>"
3517 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3518 #: apt-get.8.xml:463
3520 "Instead of fetching the files to install their URIs are printed. Each URI "
3521 "will have the path, the destination file name, the size and the expected md5 "
3522 "hash. Note that the file name to write to will not always match the file "
3523 "name on the remote site! This also works with the <literal>source</literal> "
3524 "and <literal>update</literal> commands. When used with the <literal>update</"
3525 "literal> command the MD5 and size are not included, and it is up to the user "
3526 "to decompress any compressed files. Configuration Item: <literal>APT::Get::"
3527 "Print-URIs</literal>."
3530 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3531 #: apt-get.8.xml:473
3532 msgid "<option>--purge</option>"
3535 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3536 #: apt-get.8.xml:474
3538 "Use purge instead of remove for anything that would be removed. An asterisk "
3539 "(\"*\") will be displayed next to packages which are scheduled to be purged. "
3540 "<option>remove --purge</option> is equivalent to the <option>purge</option> "
3541 "command. Configuration Item: <literal>APT::Get::Purge</literal>."
3544 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3545 #: apt-get.8.xml:481
3546 msgid "<option>--reinstall</option>"
3549 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3550 #: apt-get.8.xml:482
3552 "Re-Install packages that are already installed and at the newest version. "
3553 "Configuration Item: <literal>APT::Get::ReInstall</literal>."
3556 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3557 #: apt-get.8.xml:486
3558 msgid "<option>--list-cleanup</option>"
3561 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3562 #: apt-get.8.xml:487
3564 "This option defaults to on, use <literal>--no-list-cleanup</literal> to turn "
3565 "it off. When on <command>apt-get</command> will automatically manage the "
3566 "contents of <filename>&statedir;/lists</filename> to ensure that obsolete "
3567 "files are erased. The only reason to turn it off is if you frequently "
3568 "change your source list. Configuration Item: <literal>APT::Get::List-"
3569 "Cleanup</literal>."
3572 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3573 #: apt-get.8.xml:496
3574 msgid "<option>--target-release</option>"
3577 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3578 #: apt-get.8.xml:497
3579 msgid "<option>--default-release</option>"
3582 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3583 #: apt-get.8.xml:498
3585 "This option controls the default input to the policy engine, it creates a "
3586 "default pin at priority 990 using the specified release string. This "
3587 "overrides the general settings in <filename>/etc/apt/preferences</"
3588 "filename>. Specifically pinned packages are not affected by the value of "
3589 "this option. In short, this option lets you have simple control over which "
3590 "distribution packages will be retrieved from. Some common examples might be "
3591 "<option>-t '2.1*'</option>, <option>-t unstable</option> or <option>-t sid</"
3592 "option>. Configuration Item: <literal>APT::Default-Release</literal>; see "
3593 "also the &apt-preferences; manual page."
3596 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3597 #: apt-get.8.xml:511
3598 msgid "<option>--trivial-only</option>"
3601 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3602 #: apt-get.8.xml:513
3604 "Only perform operations that are 'trivial'. Logically this can be considered "
3605 "related to <option>--assume-yes</option>, where <option>--assume-yes</"
3606 "option> will answer yes to any prompt, <option>--trivial-only</option> will "
3607 "answer no. Configuration Item: <literal>APT::Get::Trivial-Only</literal>."
3610 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3611 #: apt-get.8.xml:519
3612 msgid "<option>--no-remove</option>"
3615 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3616 #: apt-get.8.xml:520
3618 "If any packages are to be removed apt-get immediately aborts without "
3619 "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
3622 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3623 #: apt-get.8.xml:525
3624 msgid "<option>--auto-remove</option>"
3627 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3628 #: apt-get.8.xml:526
3630 "If the command is either <literal>install</literal> or <literal>remove</"
3631 "literal>, then this option acts like running <literal>autoremove</literal> "
3632 "command, removing the unused dependency packages. Configuration Item: "
3633 "<literal>APT::Get::AutomaticRemove</literal>."
3636 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3637 #: apt-get.8.xml:532
3638 msgid "<option>--only-source</option>"
3641 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3642 #: apt-get.8.xml:533
3644 "Only has meaning for the <literal>source</literal> and <literal>build-dep</"
3645 "literal> commands. Indicates that the given source names are not to be "
3646 "mapped through the binary table. This means that if this option is "
3647 "specified, these commands will only accept source package names as "
3648 "arguments, rather than accepting binary package names and looking up the "
3649 "corresponding source package. Configuration Item: <literal>APT::Get::Only-"
3653 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3654 #: apt-get.8.xml:543
3655 msgid "<option>--diff-only</option>"
3658 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3659 #: apt-get.8.xml:543
3660 msgid "<option>--dsc-only</option>"
3663 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3664 #: apt-get.8.xml:543
3665 msgid "<option>--tar-only</option>"
3668 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3669 #: apt-get.8.xml:544
3671 "Download only the diff, dsc, or tar file of a source archive. Configuration "
3672 "Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</"
3673 "literal>, and <literal>APT::Get::Tar-Only</literal>."
3676 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3677 #: apt-get.8.xml:549
3678 msgid "<option>--arch-only</option>"
3681 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3682 #: apt-get.8.xml:550
3684 "Only process architecture-dependent build-dependencies. Configuration Item: "
3685 "<literal>APT::Get::Arch-Only</literal>."
3688 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3689 #: apt-get.8.xml:554
3690 msgid "<option>--allow-unauthenticated</option>"
3693 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3694 #: apt-get.8.xml:555
3696 "Ignore if packages can't be authenticated and don't prompt about it. This "
3697 "is useful for tools like pbuilder. Configuration Item: <literal>APT::Get::"
3698 "AllowUnauthenticated</literal>."
3701 #. type: Content of: <refentry><refsect1><variablelist>
3702 #: apt-get.8.xml:568
3704 "&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; "
3708 #. type: Content of: <refentry><refsect1><para>
3709 #: apt-get.8.xml:577
3711 "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
3712 "&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, &apt-"
3713 "preferences;, the APT Howto."
3716 #. type: Content of: <refentry><refsect1><para>
3717 #: apt-get.8.xml:583
3719 "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
3723 #. type: Content of: <refentry><refsect1><title>
3724 #: apt-get.8.xml:586
3725 msgid "ORIGINAL AUTHORS"
3728 #. type: Content of: <refentry><refsect1><para>
3729 #: apt-get.8.xml:587
3730 msgid "&apt-author.jgunthorpe;"
3733 #. type: Content of: <refentry><refsect1><title>
3734 #: apt-get.8.xml:590
3735 msgid "CURRENT AUTHORS"
3738 #. type: Content of: <refentry><refsect1><para>
3739 #: apt-get.8.xml:592
3740 msgid "&apt-author.team;"
3743 #. type: Content of: <refentry><refnamediv><refname>
3744 #: apt-key.8.xml:14 apt-key.8.xml:21
3748 #. type: Content of: <refentry><refnamediv><refpurpose>
3750 msgid "APT key management utility"
3753 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
3756 "<command>apt-key</command> <arg><option>--keyring <replaceable>filename</"
3757 "replaceable></option></arg> <arg><replaceable>command</replaceable></arg> "
3758 "<arg rep=\"repeat\"><option><replaceable>arguments</replaceable></option></"
3762 #. type: Content of: <refentry><refsect1><para>
3765 "<command>apt-key</command> is used to manage the list of keys used by apt to "
3766 "authenticate packages. Packages which have been authenticated using these "
3767 "keys will be considered trusted."
3770 #. type: Content of: <refentry><refsect1><title>
3775 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3777 msgid "add <replaceable>filename</replaceable>"
3780 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3783 "Add a new key to the list of trusted keys. The key is read from "
3784 "<replaceable>filename</replaceable>, or standard input if "
3785 "<replaceable>filename</replaceable> is <literal>-</literal>."
3788 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3790 msgid "del <replaceable>keyid</replaceable>"
3793 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3795 msgid "Remove a key from the list of trusted keys."
3798 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3800 msgid "export <replaceable>keyid</replaceable>"
3803 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3805 msgid "Output the key <replaceable>keyid</replaceable> to standard output."
3808 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3813 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3815 msgid "Output all trusted keys to standard output."
3818 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3823 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3825 msgid "List trusted keys."
3828 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3829 #: apt-key.8.xml:101
3833 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3834 #: apt-key.8.xml:105
3835 msgid "List fingerprints of trusted keys."
3838 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3839 #: apt-key.8.xml:112
3843 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3844 #: apt-key.8.xml:116
3846 "Pass advanced options to gpg. With adv --recv-key you can download the "
3850 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3851 #: apt-key.8.xml:128
3853 "Update the local keyring with the keyring of Debian archive keys and removes "
3854 "from the keyring the archive keys which are no longer valid."
3857 #. type: Content of: <refentry><refsect1><para>
3858 #: apt-key.8.xml:140
3860 "Note that options need to be defined before the commands described in the "
3864 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3865 #: apt-key.8.xml:142
3867 msgid "--keyring <replaceable>filename</replaceable>"
3869 "<programlisting>\n"
3870 "apt-get install <replaceable>pacote</replaceable>/testing\n"
3872 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3873 #: apt-key.8.xml:143
3875 "With this option it is possible to specify a specific keyring file the "
3876 "command should operate on. The default is that a command is executed on the "
3877 "<filename>trusted.gpg</filename> file as well as on all parts in the "
3878 "<filename>trusted.gpg.d</filename> directory, through <filename>trusted.gpg</"
3879 "filename> is the primary keyring which means that e.g. new keys are added to "
3883 #. type: Content of: <refentry><refsect1><variablelist>
3884 #: apt-key.8.xml:156
3885 msgid "&file-trustedgpg;"
3888 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3889 #: apt-key.8.xml:158
3891 msgid "<filename>/etc/apt/trustdb.gpg</filename>"
3892 msgstr "<filename>/etc/apt.conf</>"
3894 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3895 #: apt-key.8.xml:159
3896 msgid "Local trust database of archive keys."
3899 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3900 #: apt-key.8.xml:162
3901 msgid "<filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename>"
3904 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3905 #: apt-key.8.xml:163
3906 msgid "Keyring of Debian archive trusted keys."
3909 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3910 #: apt-key.8.xml:166
3912 "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
3915 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3916 #: apt-key.8.xml:167
3917 msgid "Keyring of Debian archive removed trusted keys."
3920 #. type: Content of: <refentry><refsect1><para>
3921 #: apt-key.8.xml:176
3923 msgid "&apt-get;, &apt-secure;"
3924 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
3926 #. The last update date
3927 #. type: Content of: <refentry><refentryinfo>
3928 #: apt-mark.8.xml:13
3930 "&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>9 "
3931 "August 2009</date>"
3934 #. type: Content of: <refentry><refnamediv><refname>
3935 #: apt-mark.8.xml:22 apt-mark.8.xml:29
3939 #. type: Content of: <refentry><refnamediv><refpurpose>
3940 #: apt-mark.8.xml:30
3941 msgid "mark/unmark a package as being automatically-installed"
3944 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
3945 #: apt-mark.8.xml:36
3947 " <command>apt-mark</command> <arg><option>-hv</option></arg> <arg><option>-"
3948 "f=<replaceable>FILENAME</replaceable></option></arg> <group choice=\"plain"
3949 "\"> <arg choice=\"plain\"> <group choice=\"req\"> <arg choice=\"plain"
3950 "\">markauto</arg> <arg choice=\"plain\">unmarkauto</arg> </group> <arg "
3951 "choice=\"plain\" rep=\"repeat\"><replaceable>package</replaceable></arg> </"
3952 "arg> <arg choice=\"plain\">showauto</arg> </group>"
3955 #. type: Content of: <refentry><refsect1><para>
3956 #: apt-mark.8.xml:53
3958 "<command>apt-mark</command> will change whether a package has been marked as "
3959 "being automatically installed."
3962 #. type: Content of: <refentry><refsect1><para>
3963 #: apt-mark.8.xml:57
3965 "When you request that a package is installed, and as a result other packages "
3966 "are installed to satisfy its dependencies, the dependencies are marked as "
3967 "being automatically installed. Once these automatically installed packages "
3968 "are no longer depended on by any manually installed packages, they will be "
3969 "removed by e.g. <command>apt-get</command> or <command>aptitude</command>."
3972 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3973 #: apt-mark.8.xml:65
3977 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3978 #: apt-mark.8.xml:66
3980 "<literal>markauto</literal> is used to mark a package as being automatically "
3981 "installed, which will cause the package to be removed when no more manually "
3982 "installed packages depend on this package."
3985 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3986 #: apt-mark.8.xml:73
3990 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3991 #: apt-mark.8.xml:74
3993 "<literal>unmarkauto</literal> is used to mark a package as being manually "
3994 "installed, which will prevent the package from being automatically removed "
3995 "if no other packages depend on it."
3998 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3999 #: apt-mark.8.xml:81
4003 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4004 #: apt-mark.8.xml:82
4006 "<literal>showauto</literal> is used to print a list of automatically "
4007 "installed packages with each package on a new line."
4010 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4011 #: apt-mark.8.xml:93
4013 "<option>-f=<filename><replaceable>FILENAME</replaceable></filename></option>"
4016 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4017 #: apt-mark.8.xml:94
4019 "<option>--file=<filename><replaceable>FILENAME</replaceable></filename></"
4023 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4024 #: apt-mark.8.xml:97
4026 "Read/Write package stats from <filename><replaceable>FILENAME</replaceable></"
4027 "filename> instead of the default location, which is "
4028 "<filename>extended_status</filename> in the directory defined by the "
4029 "Configuration Item: <literal>Dir::State</literal>."
4032 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4033 #: apt-mark.8.xml:103
4034 msgid "<option>-h</option>"
4037 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4038 #: apt-mark.8.xml:104
4039 msgid "<option>--help</option>"
4042 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4043 #: apt-mark.8.xml:105
4044 msgid "Show a short usage summary."
4047 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4048 #: apt-mark.8.xml:111
4049 msgid "<option>-v</option>"
4052 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4053 #: apt-mark.8.xml:112
4054 msgid "<option>--version</option>"
4057 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4058 #: apt-mark.8.xml:113
4059 msgid "Show the program version."
4062 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4063 #: apt-mark.8.xml:124
4064 msgid "<filename>/var/lib/apt/extended_states</filename>"
4067 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4068 #: apt-mark.8.xml:125
4070 "Status list of auto-installed packages. Configuration Item: <literal>Dir::"
4071 "State</literal> sets the path to the <filename>extended_states</filename> "
4075 #. type: Content of: <refentry><refsect1><para>
4076 #: apt-mark.8.xml:134
4078 msgid "&apt-get;,&aptitude;,&apt-conf;"
4079 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
4081 #. type: Content of: <refentry><refsect1><para>
4082 #: apt-mark.8.xml:138
4084 "<command>apt-mark</command> returns zero on normal operation, non-zero on "
4088 #. type: Content of: <refentry><refnamediv><refname>
4089 #: apt-secure.8.xml:14 apt-secure.8.xml:36
4093 #. type: Content of: <refentry><refnamediv><refpurpose>
4094 #: apt-secure.8.xml:37
4095 msgid "Archive authentication support for APT"
4098 #. type: Content of: <refentry><refsect1><para>
4099 #: apt-secure.8.xml:42
4101 "Starting with version 0.6, <command>apt</command> contains code that does "
4102 "signature checking of the Release file for all archives. This ensures that "
4103 "packages in the archive can't be modified by people who have no access to "
4104 "the Release file signing key."
4107 #. type: Content of: <refentry><refsect1><para>
4108 #: apt-secure.8.xml:50
4110 "If a package comes from a archive without a signature or with a signature "
4111 "that apt does not have a key for that package is considered untrusted and "
4112 "installing it will result in a big warning. <command>apt-get</command> will "
4113 "currently only warn for unsigned archives, future releases might force all "
4114 "sources to be verified before downloading packages from them."
4117 #. type: Content of: <refentry><refsect1><para>
4118 #: apt-secure.8.xml:59
4120 "The package frontends &apt-get;, &aptitude; and &synaptic; support this new "
4121 "authentication feature."
4124 #. type: Content of: <refentry><refsect1><title>
4125 #: apt-secure.8.xml:64
4126 msgid "Trusted archives"
4129 #. type: Content of: <refentry><refsect1><para>
4130 #: apt-secure.8.xml:67
4132 "The chain of trust from an apt archive to the end user is made up of "
4133 "different steps. <command>apt-secure</command> is the last step in this "
4134 "chain, trusting an archive does not mean that the packages that you trust it "
4135 "do not contain malicious code but means that you trust the archive "
4136 "maintainer. It's the archive maintainer responsibility to ensure that the "
4137 "archive integrity is correct."
4140 #. type: Content of: <refentry><refsect1><para>
4141 #: apt-secure.8.xml:75
4143 "apt-secure does not review signatures at a package level. If you require "
4144 "tools to do this you should look at <command>debsig-verify</command> and "
4145 "<command>debsign</command> (provided in the debsig-verify and devscripts "
4146 "packages respectively)."
4149 #. type: Content of: <refentry><refsect1><para>
4150 #: apt-secure.8.xml:82
4152 "The chain of trust in Debian starts when a maintainer uploads a new package "
4153 "or a new version of a package to the Debian archive. This upload in order to "
4154 "become effective needs to be signed by a key of a maintainer within the "
4155 "Debian maintainer's keyring (available in the debian-keyring package). "
4156 "Maintainer's keys are signed by other maintainers following pre-established "
4157 "procedures to ensure the identity of the key holder."
4160 #. type: Content of: <refentry><refsect1><para>
4161 #: apt-secure.8.xml:92
4163 "Once the uploaded package is verified and included in the archive, the "
4164 "maintainer signature is stripped off, an MD5 sum of the package is computed "
4165 "and put in the Packages file. The MD5 sum of all of the packages files are "
4166 "then computed and put into the Release file. The Release file is then signed "
4167 "by the archive key (which is created once a year) and distributed through "
4168 "the FTP server. This key is also on the Debian keyring."
4171 #. type: Content of: <refentry><refsect1><para>
4172 #: apt-secure.8.xml:102
4174 "Any end user can check the signature of the Release file, extract the MD5 "
4175 "sum of a package from it and compare it with the MD5 sum of the package he "
4176 "downloaded. Prior to version 0.6 only the MD5 sum of the downloaded Debian "
4177 "package was checked. Now both the MD5 sum and the signature of the Release "
4181 #. type: Content of: <refentry><refsect1><para>
4182 #: apt-secure.8.xml:109
4184 "Notice that this is distinct from checking signatures on a per package "
4185 "basis. It is designed to prevent two possible attacks:"
4188 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4189 #: apt-secure.8.xml:114
4191 "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
4192 "checking, a malicious agent can introduce himself in the package download "
4193 "process and provide malicious software either by controlling a network "
4194 "element (router, switch, etc.) or by redirecting traffic to a rogue server "
4195 "(through arp or DNS spoofing attacks)."
4198 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4199 #: apt-secure.8.xml:122
4201 "<literal>Mirror network compromise</literal>. Without signature checking, a "
4202 "malicious agent can compromise a mirror host and modify the files in it to "
4203 "propagate malicious software to all users downloading packages from that "
4207 #. type: Content of: <refentry><refsect1><para>
4208 #: apt-secure.8.xml:129
4210 "However, it does not defend against a compromise of the Debian master server "
4211 "itself (which signs the packages) or against a compromise of the key used to "
4212 "sign the Release files. In any case, this mechanism can complement a per-"
4213 "package signature."
4216 #. type: Content of: <refentry><refsect1><title>
4217 #: apt-secure.8.xml:135
4218 msgid "User configuration"
4221 #. type: Content of: <refentry><refsect1><para>
4222 #: apt-secure.8.xml:137
4224 "<command>apt-key</command> is the program that manages the list of keys used "
4225 "by apt. It can be used to add or remove keys although an installation of "
4226 "this release will automatically provide the default Debian archive signing "
4227 "keys used in the Debian package repositories."
4230 #. type: Content of: <refentry><refsect1><para>
4231 #: apt-secure.8.xml:144
4233 "In order to add a new key you need to first download it (you should make "
4234 "sure you are using a trusted communication channel when retrieving it), add "
4235 "it with <command>apt-key</command> and then run <command>apt-get update</"
4236 "command> so that apt can download and verify the <filename>Release.gpg</"
4237 "filename> files from the archives you have configured."
4240 #. type: Content of: <refentry><refsect1><title>
4241 #: apt-secure.8.xml:153
4242 msgid "Archive configuration"
4245 #. type: Content of: <refentry><refsect1><para>
4246 #: apt-secure.8.xml:155
4248 "If you want to provide archive signatures in an archive under your "
4249 "maintenance you have to:"
4252 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4253 #: apt-secure.8.xml:160
4255 "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
4256 "already. You can do this by running <command>apt-ftparchive release</"
4257 "command> (provided in apt-utils)."
4260 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4261 #: apt-secure.8.xml:165
4263 "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg -abs -"
4264 "o Release.gpg Release</command>."
4267 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4268 #: apt-secure.8.xml:168
4270 "<emphasis>Publish the key fingerprint</emphasis>, that way your users will "
4271 "know what key they need to import in order to authenticate the files in the "
4275 #. type: Content of: <refentry><refsect1><para>
4276 #: apt-secure.8.xml:175
4278 "Whenever the contents of the archive changes (new packages are added or "
4279 "removed) the archive maintainer has to follow the first two steps previously "
4283 #. type: Content of: <refentry><refsect1><para>
4284 #: apt-secure.8.xml:183
4286 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
4287 "&debsign; &debsig-verify;, &gpg;"
4290 #. type: Content of: <refentry><refsect1><para>
4291 #: apt-secure.8.xml:187
4293 "For more background information you might want to review the <ulink url="
4294 "\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7.en.html"
4295 "\">Debian Security Infrastructure</ulink> chapter of the Securing Debian "
4296 "Manual (available also in the harden-doc package) and the <ulink url="
4297 "\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
4298 "Distribution HOWTO</ulink> by V. Alex Brennen."
4301 #. type: Content of: <refentry><refsect1><title>
4302 #: apt-secure.8.xml:200
4303 msgid "Manpage Authors"
4306 #. type: Content of: <refentry><refsect1><para>
4307 #: apt-secure.8.xml:202
4309 "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
4310 "Jones, Colin Walters, Florian Weimer and Michael Vogt."
4313 #. type: Content of: <refentry><refnamediv><refname>
4314 #: apt-sortpkgs.1.xml:22 apt-sortpkgs.1.xml:29
4315 msgid "apt-sortpkgs"
4318 #. type: Content of: <refentry><refnamediv><refpurpose>
4319 #: apt-sortpkgs.1.xml:30
4320 msgid "Utility to sort package index files"
4323 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
4324 #: apt-sortpkgs.1.xml:36
4326 "<command>apt-sortpkgs</command> <arg><option>-hvs</option></arg> "
4327 "<arg><option>-o=<replaceable>config string</replaceable></option></arg> "
4328 "<arg><option>-c=<replaceable>file</replaceable></option></arg> <arg choice="
4329 "\"plain\" rep=\"repeat\"><replaceable>file</replaceable></arg>"
4332 #. type: Content of: <refentry><refsect1><para>
4333 #: apt-sortpkgs.1.xml:45
4335 "<command>apt-sortpkgs</command> will take an index file (Source index or "
4336 "Package index) and sort the records so that they are ordered by the package "
4337 "name. It will also sort the internal fields of each record according to the "
4338 "internal sorting rules."
4341 #. type: Content of: <refentry><refsect1><para>
4342 #: apt-sortpkgs.1.xml:51
4343 msgid "All output is sent to stdout, the input must be a seekable file."
4346 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4347 #: apt-sortpkgs.1.xml:58
4348 msgid "<option>--source</option>"
4351 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4352 #: apt-sortpkgs.1.xml:60
4354 "Use Source index field ordering. Configuration Item: <literal>APT::"
4355 "SortPkgs::Source</literal>."
4358 #. type: Content of: <refentry><refsect1><para>
4359 #: apt-sortpkgs.1.xml:74
4361 "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
4365 #. The last update date
4366 #. type: Content of: <refentry><refentryinfo>
4367 #: apt.conf.5.xml:13
4369 "&apt-author.jgunthorpe; &apt-author.team; <author> <firstname>Daniel</"
4370 "firstname> <surname>Burrows</surname> <contrib>Initial documentation of "
4371 "Debug::*.</contrib> <email>dburrows@debian.org</email> </author> &apt-email; "
4372 "&apt-product; <date>16 January 2010</date>"
4375 #. type: Content of: <refentry><refnamediv><refname>
4376 #: apt.conf.5.xml:28 apt.conf.5.xml:35
4380 #. type: Content of: <refentry><refmeta><manvolnum>
4381 #: apt.conf.5.xml:29 apt_preferences.5.xml:22 sources.list.5.xml:23
4385 #. type: Content of: <refentry><refnamediv><refpurpose>
4386 #: apt.conf.5.xml:36
4387 msgid "Configuration file for APT"
4390 #. type: Content of: <refentry><refsect1><para>
4391 #: apt.conf.5.xml:40
4393 "<filename>apt.conf</filename> is the main configuration file for the APT "
4394 "suite of tools, but by far not the only place changes to options can be "
4395 "made. All tools therefore share the configuration files and also use a "
4396 "common command line parser to provide a uniform environment."
4399 #. type: Content of: <refentry><refsect1><orderedlist><para>
4400 #: apt.conf.5.xml:45
4402 "When an APT tool starts up it will read the configuration files in the "
4406 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4407 #: apt.conf.5.xml:47
4409 "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
4413 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4414 #: apt.conf.5.xml:49
4416 "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
4417 "order which have no or \"<literal>conf</literal>\" as filename extension and "
4418 "which only contain alphanumeric, hyphen (-), underscore (_) and period (.) "
4419 "characters - otherwise they will be silently ignored."
4422 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4423 #: apt.conf.5.xml:54
4425 "the main configuration file specified by <literal>Dir::Etc::main</literal>"
4428 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
4429 #: apt.conf.5.xml:56
4431 "the command line options are applied to override the configuration "
4432 "directives or to load even more configuration files."
4435 #. type: Content of: <refentry><refsect1><title>
4436 #: apt.conf.5.xml:60
4440 #. type: Content of: <refentry><refsect1><para>
4441 #: apt.conf.5.xml:61
4443 "The configuration file is organized in a tree with options organized into "
4444 "functional groups. Option specification is given with a double colon "
4445 "notation, for instance <literal>APT::Get::Assume-Yes</literal> is an option "
4446 "within the APT tool group, for the Get tool. Options do not inherit from "
4447 "their parent groups."
4450 #. type: Content of: <refentry><refsect1><para>
4451 #: apt.conf.5.xml:67
4453 "Syntactically the configuration language is modeled after what the ISC tools "
4454 "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
4455 "treated as comments (ignored), as well as all text between <literal>/*</"
4456 "literal> and <literal>*/</literal>, just like C/C++ comments. Each line is "
4457 "of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. The trailing "
4458 "semicolon and the quotes are required. The value must be on one line, and "
4459 "there is no kind of string concatenation. It must not include inside "
4460 "quotes. The behavior of the backslash \"\\\" and escaped characters inside "
4461 "a value is undefined and it should not be used. An option name may include "
4462 "alphanumerical characters and the \"/-:._+\" characters. A new scope can be "
4463 "opened with curly braces, like:"
4466 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
4467 #: apt.conf.5.xml:81
4472 " Assume-Yes \"true\";\n"
4473 " Fix-Broken \"true\";\n"
4478 #. type: Content of: <refentry><refsect1><para>
4479 #: apt.conf.5.xml:89
4481 "with newlines placed to make it more readable. Lists can be created by "
4482 "opening a scope and including a single string enclosed in quotes followed by "
4483 "a semicolon. Multiple entries can be included, each separated by a semicolon."
4486 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
4487 #: apt.conf.5.xml:94
4489 msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
4492 #. type: Content of: <refentry><refsect1><para>
4493 #: apt.conf.5.xml:97
4495 "In general the sample configuration file in <filename>&docdir;examples/apt."
4496 "conf</filename> &configureindex; is a good guide for how it should look."
4499 #. type: Content of: <refentry><refsect1><para>
4500 #: apt.conf.5.xml:101
4502 "The names of the configuration items are not case-sensitive. So in the "
4503 "previous example you could use <literal>dpkg::pre-install-pkgs</literal>."
4506 #. type: Content of: <refentry><refsect1><para>
4507 #: apt.conf.5.xml:104
4509 "Names for the configuration items are optional if a list is defined as it "
4510 "can be see in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. "
4511 "If you don't specify a name a new entry will simply add a new option to the "
4512 "list. If you specify a name you can override the option as every other "
4513 "option by reassigning a new value to the option."
4516 #. type: Content of: <refentry><refsect1><para>
4517 #: apt.conf.5.xml:109
4519 "Two specials are allowed, <literal>#include</literal> (which is deprecated "
4520 "and not supported by alternative implementations) and <literal>#clear</"
4521 "literal>: <literal>#include</literal> will include the given file, unless "
4522 "the filename ends in a slash, then the whole directory is included. "
4523 "<literal>#clear</literal> is used to erase a part of the configuration tree. "
4524 "The specified element and all its descendants are erased. (Note that these "
4525 "lines also need to end with a semicolon.)"
4528 #. type: Content of: <refentry><refsect1><para>
4529 #: apt.conf.5.xml:117
4531 "The #clear command is the only way to delete a list or a complete scope. "
4532 "Reopening a scope or the ::-style described below will <emphasis>not</"
4533 "emphasis> override previously written entries. Only options can be "
4534 "overridden by addressing a new value to it - lists and scopes can't be "
4535 "overridden, only cleared."
4538 #. type: Content of: <refentry><refsect1><para>
4539 #: apt.conf.5.xml:122
4541 "All of the APT tools take a -o option which allows an arbitrary "
4542 "configuration directive to be specified on the command line. The syntax is a "
4543 "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
4544 "followed by an equals sign then the new value of the option. Lists can be "
4545 "appended too by adding a trailing :: to the list name. (As you might "
4546 "suspect: The scope syntax can't be used on the command line.)"
4549 #. type: Content of: <refentry><refsect1><para>
4550 #: apt.conf.5.xml:129
4552 "Note that you can use :: only for appending one item per line to a list and "
4553 "that you should not use it in combination with the scope syntax. (The scope "
4554 "syntax implicit insert ::) Using both syntaxes together will trigger a bug "
4555 "which some users unfortunately relay on: An option with the unusual name "
4556 "\"<literal>::</literal>\" which acts like every other option with a name. "
4557 "These introduces many problems including that a user who writes multiple "
4558 "lines in this <emphasis>wrong</emphasis> syntax in the hope to append to a "
4559 "list will gain the opposite as only the last assignment for this option "
4560 "\"<literal>::</literal>\" will be used. Upcoming APT versions will raise "
4561 "errors and will stop working if they encounter this misuse, so please "
4562 "correct such statements now as long as APT doesn't complain explicit about "
4566 #. type: Content of: <refentry><refsect1><title>
4567 #: apt.conf.5.xml:141
4568 msgid "The APT Group"
4571 #. type: Content of: <refentry><refsect1><para>
4572 #: apt.conf.5.xml:142
4574 "This group of options controls general APT behavior as well as holding the "
4575 "options for all of the tools."
4578 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4579 #: apt.conf.5.xml:146
4580 msgid "Architecture"
4583 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4584 #: apt.conf.5.xml:147
4586 "System Architecture; sets the architecture to use when fetching files and "
4587 "parsing package lists. The internal default is the architecture apt was "
4591 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4592 #: apt.conf.5.xml:152
4593 msgid "Default-Release"
4596 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4597 #: apt.conf.5.xml:153
4599 "Default release to install packages from if more than one version available. "
4600 "Contains release name, codename or release version. Examples: 'stable', "
4601 "'testing', 'unstable', 'lenny', 'squeeze', '4.0', '5.0*'. See also &apt-"
4605 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4606 #: apt.conf.5.xml:157
4610 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4611 #: apt.conf.5.xml:158
4613 "Ignore Held packages; This global option causes the problem resolver to "
4614 "ignore held packages in its decision making."
4617 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4618 #: apt.conf.5.xml:162
4619 msgid "Clean-Installed"
4622 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4623 #: apt.conf.5.xml:163
4625 "Defaults to on. When turned on the autoclean feature will remove any "
4626 "packages which can no longer be downloaded from the cache. If turned off "
4627 "then packages that are locally installed are also excluded from cleaning - "
4628 "but note that APT provides no direct means to reinstall them."
4631 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4632 #: apt.conf.5.xml:169
4633 msgid "Immediate-Configure"
4636 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4637 #: apt.conf.5.xml:170
4639 "Defaults to on which will cause APT to install essential and important "
4640 "packages as fast as possible in the install/upgrade operation. This is done "
4641 "to limit the effect of a failing &dpkg; call: If this option is disabled APT "
4642 "does treat an important package in the same way as an extra package: Between "
4643 "the unpacking of the important package A and his configuration can then be "
4644 "many other unpack or configuration calls, e.g. for package B which has no "
4645 "relation to A, but causes the dpkg call to fail (e.g. because maintainer "
4646 "script of package B generates an error) which results in a system state in "
4647 "which package A is unpacked but unconfigured - each package depending on A "
4648 "is now no longer guaranteed to work as their dependency on A is not longer "
4649 "satisfied. The immediate configuration marker is also applied to all "
4650 "dependencies which can generate a problem if the dependencies e.g. form a "
4651 "circle as a dependency with the immediate flag is comparable with a Pre-"
4652 "Dependency. So in theory it is possible that APT encounters a situation in "
4653 "which it is unable to perform immediate configuration, errors out and refers "
4654 "to this option so the user can deactivate the immediate configuration "
4655 "temporarily to be able to perform an install/upgrade again. Note the use of "
4656 "the word \"theory\" here as this problem was only encountered by now in real "
4657 "world a few times in non-stable distribution versions and was caused by "
4658 "wrong dependencies of the package in question or by a system in an already "
4659 "broken state, so you should not blindly disable this option as the mentioned "
4660 "scenario above is not the only problem immediate configuration can help to "
4661 "prevent in the first place. Before a big operation like <literal>dist-"
4662 "upgrade</literal> is run with this option disabled it should be tried to "
4663 "explicitly <literal>install</literal> the package APT is unable to configure "
4664 "immediately, but please make sure to report your problem also to your "
4665 "distribution and to the APT team with the buglink below so they can work on "
4666 "improving or correcting the upgrade process."
4669 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4670 #: apt.conf.5.xml:192
4671 msgid "Force-LoopBreak"
4674 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4675 #: apt.conf.5.xml:193
4677 "Never Enable this option unless you -really- know what you are doing. It "
4678 "permits APT to temporarily remove an essential package to break a Conflicts/"
4679 "Conflicts or Conflicts/Pre-Depend loop between two essential packages. SUCH "
4680 "A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option will work if the "
4681 "essential packages are not tar, gzip, libc, dpkg, bash or anything that "
4682 "those packages depend on."
4685 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4686 #: apt.conf.5.xml:201
4690 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4691 #: apt.conf.5.xml:202
4693 "APT uses a fixed size memory mapped cache file to store the 'available' "
4694 "information. This sets the size of that cache (in bytes)."
4697 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4698 #: apt.conf.5.xml:206
4699 msgid "Build-Essential"
4702 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4703 #: apt.conf.5.xml:207
4704 msgid "Defines which package(s) are considered essential build dependencies."
4707 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4708 #: apt.conf.5.xml:210
4712 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4713 #: apt.conf.5.xml:211
4715 "The Get subsection controls the &apt-get; tool, please see its documentation "
4716 "for more information about the options here."
4719 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4720 #: apt.conf.5.xml:215
4724 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4725 #: apt.conf.5.xml:216
4727 "The Cache subsection controls the &apt-cache; tool, please see its "
4728 "documentation for more information about the options here."
4731 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4732 #: apt.conf.5.xml:220
4736 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4737 #: apt.conf.5.xml:221
4739 "The CDROM subsection controls the &apt-cdrom; tool, please see its "
4740 "documentation for more information about the options here."
4743 #. type: Content of: <refentry><refsect1><title>
4744 #: apt.conf.5.xml:227
4745 msgid "The Acquire Group"
4748 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4749 #: apt.conf.5.xml:232
4753 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4754 #: apt.conf.5.xml:233
4756 "Try to download deltas called <literal>PDiffs</literal> for Packages or "
4757 "Sources files instead of downloading whole ones. True by default."
4760 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4761 #: apt.conf.5.xml:236
4763 "Two sub-options to limit the use of PDiffs are also available: With "
4764 "<literal>FileLimit</literal> can be specified how many PDiff files are "
4765 "downloaded at most to patch a file. <literal>SizeLimit</literal> on the "
4766 "other hand is the maximum precentage of the size of all patches compared to "
4767 "the size of the targeted file. If one of these limits is exceeded the "
4768 "complete file is downloaded instead of the patches."
4771 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4772 #: apt.conf.5.xml:245
4776 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4777 #: apt.conf.5.xml:246
4779 "Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</"
4780 "literal> or <literal>access</literal> which determines how APT parallelizes "
4781 "outgoing connections. <literal>host</literal> means that one connection per "
4782 "target host will be opened, <literal>access</literal> means that one "
4783 "connection per URI type will be opened."
4786 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4787 #: apt.conf.5.xml:253
4791 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4792 #: apt.conf.5.xml:254
4794 "Number of retries to perform. If this is non-zero APT will retry failed "
4795 "files the given number of times."
4798 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4799 #: apt.conf.5.xml:258
4800 msgid "Source-Symlinks"
4803 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4804 #: apt.conf.5.xml:259
4806 "Use symlinks for source archives. If set to true then source archives will "
4807 "be symlinked when possible instead of copying. True is the default."
4810 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4811 #: apt.conf.5.xml:263 sources.list.5.xml:139
4815 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4816 #: apt.conf.5.xml:264
4818 "HTTP URIs; http::Proxy is the default http proxy to use. It is in the "
4819 "standard form of <literal>http://[[user][:pass]@]host[:port]/</literal>. Per "
4820 "host proxies can also be specified by using the form <literal>http::Proxy::"
4821 "<host></literal> with the special keyword <literal>DIRECT</literal> "
4822 "meaning to use no proxies. If no one of the above settings is specified, "
4823 "<envar>http_proxy</envar> environment variable will be used."
4826 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4827 #: apt.conf.5.xml:272
4829 "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
4830 "caches. <literal>No-Cache</literal> tells the proxy to not use its cached "
4831 "response under any circumstances, <literal>Max-Age</literal> is sent only "
4832 "for index files and tells the cache to refresh its object if it is older "
4833 "than the given number of seconds. Debian updates its index files daily so "
4834 "the default is 1 day. <literal>No-Store</literal> specifies that the cache "
4835 "should never store this request, it is only set for archive files. This may "
4836 "be useful to prevent polluting a proxy cache with very large .deb files. "
4837 "Note: Squid 2.0.2 does not support any of these options."
4840 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4841 #: apt.conf.5.xml:282 apt.conf.5.xml:346
4843 "The option <literal>timeout</literal> sets the timeout timer used by the "
4844 "method, this applies to all things including connection timeout and data "
4848 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4849 #: apt.conf.5.xml:285
4851 "One setting is provided to control the pipeline depth in cases where the "
4852 "remote server is not RFC conforming or buggy (such as Squid 2.0.2). "
4853 "<literal>Acquire::http::Pipeline-Depth</literal> can be a value from 0 to 5 "
4854 "indicating how many outstanding requests APT should send. A value of zero "
4855 "MUST be specified if the remote host does not properly linger on TCP "
4856 "connections - otherwise data corruption will occur. Hosts which require this "
4857 "are in violation of RFC 2068."
4860 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4861 #: apt.conf.5.xml:293
4863 "The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
4864 "literal> which accepts integer values in kilobyte. The default value is 0 "
4865 "which deactivates the limit and tries uses as much as possible of the "
4866 "bandwidth (Note that this option implicit deactivates the download from "
4867 "multiple servers at the same time.)"
4870 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4871 #: apt.conf.5.xml:298
4873 "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
4874 "User-Agent for the http download method as some proxies allow access for "
4875 "clients only if the client uses a known identifier."
4878 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4879 #: apt.conf.5.xml:304
4883 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4884 #: apt.conf.5.xml:305
4886 "HTTPS URIs. Cache-control, Timeout, AllowRedirect, Dl-Limit and proxy "
4887 "options are the same as for <literal>http</literal> method and will also "
4888 "default to the options from the <literal>http</literal> method if they are "
4889 "not explicitly set for https. <literal>Pipeline-Depth</literal> option is "
4890 "not supported yet."
4893 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4894 #: apt.conf.5.xml:311
4896 "<literal>CaInfo</literal> suboption specifies place of file that holds info "
4897 "about trusted certificates. <literal><host>::CaInfo</literal> is "
4898 "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
4899 "suboption determines whether verify server's host certificate against "
4900 "trusted certificates or not. <literal><host>::Verify-Peer</literal> "
4901 "is corresponding per-host option. <literal>Verify-Host</literal> boolean "
4902 "suboption determines whether verify server's hostname or not. <literal><"
4903 "host>::Verify-Host</literal> is corresponding per-host option. "
4904 "<literal>SslCert</literal> determines what certificate to use for client "
4905 "authentication. <literal><host>::SslCert</literal> is corresponding "
4906 "per-host option. <literal>SslKey</literal> determines what private key to "
4907 "use for client authentication. <literal><host>::SslKey</literal> is "
4908 "corresponding per-host option. <literal>SslForceVersion</literal> overrides "
4909 "default SSL version to use. Can contain 'TLSv1' or 'SSLv3' string. "
4910 "<literal><host>::SslForceVersion</literal> is corresponding per-host "
4914 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4915 #: apt.conf.5.xml:329 sources.list.5.xml:150
4919 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4920 #: apt.conf.5.xml:330
4922 "FTP URIs; ftp::Proxy is the default ftp proxy to use. It is in the standard "
4923 "form of <literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host "
4924 "proxies can also be specified by using the form <literal>ftp::Proxy::<"
4925 "host></literal> with the special keyword <literal>DIRECT</literal> "
4926 "meaning to use no proxies. If no one of the above settings is specified, "
4927 "<envar>ftp_proxy</envar> environment variable will be used. To use a ftp "
4928 "proxy you will have to set the <literal>ftp::ProxyLogin</literal> script in "
4929 "the configuration file. This entry specifies the commands to send to tell "
4930 "the proxy server what to connect to. Please see &configureindex; for an "
4931 "example of how to do this. The substitution variables available are <literal>"
4932 "$(PROXY_USER)</literal> <literal>$(PROXY_PASS)</literal> <literal>"
4933 "$(SITE_USER)</literal> <literal>$(SITE_PASS)</literal> <literal>$(SITE)</"
4934 "literal> and <literal>$(SITE_PORT)</literal> Each is taken from it's "
4935 "respective URI component."
4938 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4939 #: apt.conf.5.xml:349
4941 "Several settings are provided to control passive mode. Generally it is safe "
4942 "to leave passive mode on, it works in nearly every environment. However "
4943 "some situations require that passive mode be disabled and port mode ftp used "
4944 "instead. This can be done globally, for connections that go through a proxy "
4945 "or for a specific host (See the sample config file for examples)."
4948 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4949 #: apt.conf.5.xml:356
4951 "It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</"
4952 "envar> environment variable to a http url - see the discussion of the http "
4953 "method above for syntax. You cannot set this in the configuration file and "
4954 "it is not recommended to use FTP over HTTP due to its low efficiency."
4957 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4958 #: apt.conf.5.xml:361
4960 "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
4961 "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
4962 "false, which means these commands are only used if the control connection is "
4963 "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
4964 "that most FTP servers do not support RFC2428."
4967 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4968 #: apt.conf.5.xml:368 sources.list.5.xml:132
4972 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
4973 #: apt.conf.5.xml:374
4975 msgid "/cdrom/::Mount \"foo\";"
4978 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4979 #: apt.conf.5.xml:369
4981 "CDROM URIs; the only setting for CDROM URIs is the mount point, "
4982 "<literal>cdrom::Mount</literal> which must be the mount point for the CDROM "
4983 "drive as specified in <filename>/etc/fstab</filename>. It is possible to "
4984 "provide alternate mount and unmount commands if your mount point cannot be "
4985 "listed in the fstab (such as an SMB mount and old mount packages). The "
4986 "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
4987 "cdrom block. It is important to have the trailing slash. Unmount commands "
4988 "can be specified using UMount."
4991 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4992 #: apt.conf.5.xml:379
4996 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4997 #: apt.conf.5.xml:380
4999 "GPGV URIs; the only option for GPGV URIs is the option to pass additional "
5000 "parameters to gpgv. <literal>gpgv::Options</literal> Additional options "
5004 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
5005 #: apt.conf.5.xml:385
5006 msgid "CompressionTypes"
5009 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
5010 #: apt.conf.5.xml:391
5012 msgid "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
5015 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5016 #: apt.conf.5.xml:386
5018 "List of compression types which are understood by the acquire methods. "
5019 "Files like <filename>Packages</filename> can be available in various "
5020 "compression formats. Per default the acquire methods can decompress "
5021 "<command>bzip2</command>, <command>lzma</command> and <command>gzip</"
5022 "command> compressed files, with this setting more formats can be added on "
5023 "the fly or the used method can be changed. The syntax for this is: "
5024 "<placeholder type=\"synopsis\" id=\"0\"/>"
5027 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
5028 #: apt.conf.5.xml:396
5030 msgid "Acquire::CompressionTypes::Order:: \"gz\";"
5033 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
5034 #: apt.conf.5.xml:399
5036 msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
5039 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5040 #: apt.conf.5.xml:392
5042 "Also the <literal>Order</literal> subgroup can be used to define in which "
5043 "order the acquire system will try to download the compressed files. The "
5044 "acquire system will try the first and proceed with the next compression type "
5045 "in this list on error, so to prefer one over the other type simple add the "
5046 "preferred type at first - not already added default types will be added at "
5047 "run time to the end of the list, so e.g. <placeholder type=\"synopsis\" id="
5048 "\"0\"/> can be used to prefer <command>gzip</command> compressed files over "
5049 "<command>bzip2</command> and <command>lzma</command>. If <command>lzma</"
5050 "command> should be preferred over <command>gzip</command> and "
5051 "<command>bzip2</command> the configure setting should look like this "
5052 "<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
5053 "<literal>bz2</literal> explicit to the list as it will be added automatic."
5056 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
5057 #: apt.conf.5.xml:403
5059 msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
5062 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5063 #: apt.conf.5.xml:401
5065 "Note that at run time the <literal>Dir::Bin::<replaceable>Methodname</"
5066 "replaceable></literal> will be checked: If this setting exists the method "
5067 "will only be used if this file exists, e.g. for the bzip2 method (the "
5068 "inbuilt) setting is <placeholder type=\"literallayout\" id=\"0\"/> Note also "
5069 "that list entries specified on the command line will be added at the end of "
5070 "the list specified in the configuration files, but before the default "
5071 "entries. To prefer a type in this case over the ones specified in in the "
5072 "configuration files you can set the option direct - not in list style. This "
5073 "will not override the defined list, it will only prefix the list with this "
5077 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5078 #: apt.conf.5.xml:408
5080 "While it is possible to add an empty compression type to the order list, but "
5081 "APT in its current version doesn't understand it correctly and will display "
5082 "many warnings about not downloaded files - these warnings are most of the "
5083 "time false negatives. Future versions will maybe include a way to really "
5084 "prefer uncompressed files to support the usage of local mirrors."
5087 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
5088 #: apt.conf.5.xml:414
5092 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5093 #: apt.conf.5.xml:415
5095 "The Languages subsection controls which <filename>Translation</filename> "
5096 "files are downloaded and in which order APT tries to display the Description-"
5097 "Translations. APT will try to display the first available Description in the "
5098 "Language which is listed at first. Languages can be defined with their short "
5099 "or long Languagecodes. Note that not all archives provide "
5100 "<filename>Translation</filename> files for every Language - especially the "
5101 "long Languagecodes are rare, so please inform you which ones are available "
5102 "before you set here impossible values."
5105 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><programlisting>
5106 #: apt.conf.5.xml:431
5108 msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
5111 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5112 #: apt.conf.5.xml:421
5114 "The default list includes \"environment\" and \"en\". "
5115 "\"<literal>environment</literal>\" has a special meaning here: It will be "
5116 "replaced at runtime with the languagecodes extracted from the "
5117 "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
5118 "that these codes are not included twice in the list. If "
5119 "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
5120 "<filename>Translation-en</filename> file (if available) will be used. To "
5121 "force apt to use no Translation file use the setting <literal>Acquire::"
5122 "Languages=none</literal>. \"<literal>none</literal>\" is another special "
5123 "meaning code which will stop the search for a fitting <filename>Translation</"
5124 "filename> file. This can be used by the system administrator to let APT "
5125 "know that it should download also this files without actually use them if "
5126 "the environment doesn't specify this languages. So the following example "
5127 "configuration will result in the order \"en, de\" in an english and in \"de, "
5128 "en\" in a german localization. Note that \"fr\" is downloaded, but not used "
5129 "if APT is not used in a french localization, in such an environment the "
5130 "order would be \"fr, de, en\". <placeholder type=\"programlisting\" id=\"0"
5134 #. type: Content of: <refentry><refsect1><para>
5135 #: apt.conf.5.xml:228
5137 "The <literal>Acquire</literal> group of options controls the download of "
5138 "packages and the URI handlers. <placeholder type=\"variablelist\" id=\"0\"/>"
5141 #. type: Content of: <refentry><refsect1><title>
5142 #: apt.conf.5.xml:438
5146 #. type: Content of: <refentry><refsect1><para>
5147 #: apt.conf.5.xml:440
5149 "The <literal>Dir::State</literal> section has directories that pertain to "
5150 "local state information. <literal>lists</literal> is the directory to place "
5151 "downloaded package lists in and <literal>status</literal> is the name of the "
5152 "dpkg status file. <literal>preferences</literal> is the name of the APT "
5153 "preferences file. <literal>Dir::State</literal> contains the default "
5154 "directory to prefix on all sub items if they do not start with <filename>/</"
5155 "filename> or <filename>./</filename>."
5158 #. type: Content of: <refentry><refsect1><para>
5159 #: apt.conf.5.xml:447
5161 "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
5162 "information, such as the two package caches <literal>srcpkgcache</literal> "
5163 "and <literal>pkgcache</literal> as well as the location to place downloaded "
5164 "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
5165 "be turned off by setting their names to be blank. This will slow down "
5166 "startup but save disk space. It is probably preferred to turn off the "
5167 "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the "
5168 "default directory is contained in <literal>Dir::Cache</literal>"
5171 #. type: Content of: <refentry><refsect1><para>
5172 #: apt.conf.5.xml:456
5174 "<literal>Dir::Etc</literal> contains the location of configuration files, "
5175 "<literal>sourcelist</literal> gives the location of the sourcelist and "
5176 "<literal>main</literal> is the default configuration file (setting has no "
5177 "effect, unless it is done from the config file specified by "
5178 "<envar>APT_CONFIG</envar>)."
5181 #. type: Content of: <refentry><refsect1><para>
5182 #: apt.conf.5.xml:462
5184 "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
5185 "in lexical order from the directory specified. After this is done then the "
5186 "main config file is loaded."
5189 #. type: Content of: <refentry><refsect1><para>
5190 #: apt.conf.5.xml:466
5192 "Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::"
5193 "Bin::Methods</literal> specifies the location of the method handlers and "
5194 "<literal>gzip</literal>, <literal>bzip2</literal>, <literal>lzma</literal>, "
5195 "<literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</"
5196 "literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</"
5197 "literal> specify the location of the respective programs."
5200 #. type: Content of: <refentry><refsect1><para>
5201 #: apt.conf.5.xml:474
5203 "The configuration item <literal>RootDir</literal> has a special meaning. If "
5204 "set, all paths in <literal>Dir::</literal> will be relative to "
5205 "<literal>RootDir</literal>, <emphasis>even paths that are specified "
5206 "absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
5207 "set to <filename>/tmp/staging</filename> and <literal>Dir::State::status</"
5208 "literal> is set to <filename>/var/lib/dpkg/status</filename>, then the "
5209 "status file will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</"
5213 #. type: Content of: <refentry><refsect1><title>
5214 #: apt.conf.5.xml:487
5215 msgid "APT in DSelect"
5218 #. type: Content of: <refentry><refsect1><para>
5219 #: apt.conf.5.xml:489
5221 "When APT is used as a &dselect; method several configuration directives "
5222 "control the default behaviour. These are in the <literal>DSelect</literal> "
5226 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5227 #: apt.conf.5.xml:493
5231 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5232 #: apt.conf.5.xml:494
5234 "Cache Clean mode; this value may be one of always, prompt, auto, pre-auto "
5235 "and never. always and prompt will remove all packages from the cache after "
5236 "upgrading, prompt (the default) does so conditionally. auto removes only "
5237 "those packages which are no longer downloadable (replaced with a new version "
5238 "for instance). pre-auto performs this action before downloading new "
5242 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5243 #: apt.conf.5.xml:503
5245 "The contents of this variable is passed to &apt-get; as command line options "
5246 "when it is run for the install phase."
5249 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5250 #: apt.conf.5.xml:507
5251 msgid "Updateoptions"
5254 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5255 #: apt.conf.5.xml:508
5257 "The contents of this variable is passed to &apt-get; as command line options "
5258 "when it is run for the update phase."
5261 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5262 #: apt.conf.5.xml:512
5263 msgid "PromptAfterUpdate"
5266 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5267 #: apt.conf.5.xml:513
5269 "If true the [U]pdate operation in &dselect; will always prompt to continue. "
5270 "The default is to prompt only on error."
5273 #. type: Content of: <refentry><refsect1><title>
5274 #: apt.conf.5.xml:519
5275 msgid "How APT calls dpkg"
5278 #. type: Content of: <refentry><refsect1><para>
5279 #: apt.conf.5.xml:520
5281 "Several configuration directives control how APT invokes &dpkg;. These are "
5282 "in the <literal>DPkg</literal> section."
5285 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5286 #: apt.conf.5.xml:525
5288 "This is a list of options to pass to dpkg. The options must be specified "
5289 "using the list notation and each list item is passed as a single argument to "
5293 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5294 #: apt.conf.5.xml:530
5298 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5299 #: apt.conf.5.xml:530
5303 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5304 #: apt.conf.5.xml:531
5306 "This is a list of shell commands to run before/after invoking &dpkg;. Like "
5307 "<literal>options</literal> this must be specified in list notation. The "
5308 "commands are invoked in order using <filename>/bin/sh</filename>, should any "
5309 "fail APT will abort."
5312 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5313 #: apt.conf.5.xml:537
5314 msgid "Pre-Install-Pkgs"
5317 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5318 #: apt.conf.5.xml:538
5320 "This is a list of shell commands to run before invoking dpkg. Like "
5321 "<literal>options</literal> this must be specified in list notation. The "
5322 "commands are invoked in order using <filename>/bin/sh</filename>, should any "
5323 "fail APT will abort. APT will pass to the commands on standard input the "
5324 "filenames of all .deb files it is going to install, one per line."
5327 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5328 #: apt.conf.5.xml:544
5330 "Version 2 of this protocol dumps more information, including the protocol "
5331 "version, the APT configuration space and the packages, files and versions "
5332 "being changed. Version 2 is enabled by setting <literal>DPkg::Tools::"
5333 "options::cmd::Version</literal> to 2. <literal>cmd</literal> is a command "
5334 "given to <literal>Pre-Install-Pkgs</literal>."
5337 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5338 #: apt.conf.5.xml:551
5339 msgid "Run-Directory"
5342 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5343 #: apt.conf.5.xml:552
5345 "APT chdirs to this directory before invoking dpkg, the default is <filename>/"
5349 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5350 #: apt.conf.5.xml:556
5351 msgid "Build-options"
5354 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5355 #: apt.conf.5.xml:557
5357 "These options are passed to &dpkg-buildpackage; when compiling packages, the "
5358 "default is to disable signing and produce all binaries."
5361 #. type: Content of: <refentry><refsect1><refsect2><title>
5362 #: apt.conf.5.xml:562
5363 msgid "dpkg trigger usage (and related options)"
5366 #. type: Content of: <refentry><refsect1><refsect2><para>
5367 #: apt.conf.5.xml:563
5369 "APT can call dpkg in a way so it can make aggressive use of triggers over "
5370 "multiply calls of dpkg. Without further options dpkg will use triggers only "
5371 "in between his own run. Activating these options can therefore decrease the "
5372 "time needed to perform the install / upgrade. Note that it is intended to "
5373 "activate these options per default in the future, but as it changes the way "
5374 "APT calling dpkg drastically it needs a lot more testing. <emphasis>These "
5375 "options are therefore currently experimental and should not be used in "
5376 "productive environments.</emphasis> Also it breaks the progress reporting so "
5377 "all frontends will currently stay around half (or more) of the time in the "
5378 "100% state while it actually configures all packages."
5381 #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
5382 #: apt.conf.5.xml:578
5385 "DPkg::NoTriggers \"true\";\n"
5386 "PackageManager::Configure \"smart\";\n"
5387 "DPkg::ConfigurePending \"true\";\n"
5388 "DPkg::TriggersPending \"true\";"
5391 #. type: Content of: <refentry><refsect1><refsect2><para>
5392 #: apt.conf.5.xml:572
5394 "Note that it is not guaranteed that APT will support these options or that "
5395 "these options will not cause (big) trouble in the future. If you have "
5396 "understand the current risks and problems with these options, but are brave "
5397 "enough to help testing them create a new configuration file and test a "
5398 "combination of options. Please report any bugs, problems and improvements "
5399 "you encounter and make sure to note which options you have used in your "
5400 "reports. Asking dpkg for help could also be useful for debugging proposes, "
5401 "see e.g. <command>dpkg --audit</command>. A defensive option combination "
5402 "would be <placeholder type=\"literallayout\" id=\"0\"/>"
5405 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5406 #: apt.conf.5.xml:584
5407 msgid "DPkg::NoTriggers"
5410 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5411 #: apt.conf.5.xml:585
5413 "Add the no triggers flag to all dpkg calls (except the ConfigurePending "
5414 "call). See &dpkg; if you are interested in what this actually means. In "
5415 "short: dpkg will not run the triggers when this flag is present unless it is "
5416 "explicitly called to do so in an extra call. Note that this option exists "
5417 "(undocumented) also in older apt versions with a slightly different meaning: "
5418 "Previously these option only append --no-triggers to the configure calls to "
5419 "dpkg - now apt will add these flag also to the unpack and remove calls."
5422 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5423 #: apt.conf.5.xml:592
5424 msgid "PackageManager::Configure"
5427 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5428 #: apt.conf.5.xml:593
5430 "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
5431 "and \"<literal>no</literal>\". \"<literal>all</literal>\" is the default "
5432 "value and causes APT to configure all packages explicit. The "
5433 "\"<literal>smart</literal>\" way is it to configure only packages which need "
5434 "to be configured before another package can be unpacked (Pre-Depends) and "
5435 "let the rest configure by dpkg with a call generated by the next option. "
5436 "\"<literal>no</literal>\" on the other hand will not configure anything and "
5437 "totally rely on dpkg for configuration (which will at the moment fail if a "
5438 "Pre-Depends is encountered). Setting this option to another than the all "
5439 "value will implicitly activate also the next option per default as otherwise "
5440 "the system could end in an unconfigured status which could be unbootable!"
5443 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5444 #: apt.conf.5.xml:603
5445 msgid "DPkg::ConfigurePending"
5448 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5449 #: apt.conf.5.xml:604
5451 "If this option is set apt will call <command>dpkg --configure --pending</"
5452 "command> to let dpkg handle all required configurations and triggers. This "
5453 "option is activated automatic per default if the previous option is not set "
5454 "to <literal>all</literal>, but deactivating could be useful if you want to "
5455 "run APT multiple times in a row - e.g. in an installer. In these sceneries "
5456 "you could deactivate this option in all but the last run."
5459 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5460 #: apt.conf.5.xml:610
5461 msgid "DPkg::TriggersPending"
5464 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5465 #: apt.conf.5.xml:611
5467 "Useful for <literal>smart</literal> configuration as a package which has "
5468 "pending triggers is not considered as <literal>installed</literal> and dpkg "
5469 "treats them as <literal>unpacked</literal> currently which is a dealbreaker "
5470 "for Pre-Dependencies (see debbugs #526774). Note that this will process all "
5471 "triggers, not only the triggers needed to configure this package."
5474 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5475 #: apt.conf.5.xml:616
5476 msgid "PackageManager::UnpackAll"
5479 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5480 #: apt.conf.5.xml:617
5482 "As the configuration can be deferred to be done at the end by dpkg it can be "
5483 "tried to order the unpack series only by critical needs, e.g. by Pre-"
5484 "Depends. Default is true and therefore the \"old\" method of ordering in "
5485 "various steps by everything. While both method were present in earlier APT "
5486 "versions the <literal>OrderCritical</literal> method was unused, so this "
5487 "method is very experimental and needs further improvements before becoming "
5491 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5492 #: apt.conf.5.xml:624
5493 msgid "OrderList::Score::Immediate"
5496 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
5497 #: apt.conf.5.xml:632
5500 "OrderList::Score {\n"
5502 "\tEssential 200;\n"
5504 "\tPreDepends 50;\n"
5508 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5509 #: apt.conf.5.xml:625
5511 "Essential packages (and there dependencies) should be configured immediately "
5512 "after unpacking. It will be a good idea to do this quite early in the "
5513 "upgrade process as these these configure calls require currently also "
5514 "<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
5515 "(which maybe not needed). Essentials get per default a high score but the "
5516 "immediate flag is relatively low (a package which has a Pre-Depends is "
5517 "higher rated). These option and the others in the same group can be used to "
5518 "change the scoring. The following example shows the settings with there "
5519 "default values. <placeholder type=\"literallayout\" id=\"0\"/>"
5522 #. type: Content of: <refentry><refsect1><title>
5523 #: apt.conf.5.xml:645
5524 msgid "Periodic and Archives options"
5527 #. type: Content of: <refentry><refsect1><para>
5528 #: apt.conf.5.xml:646
5530 "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
5531 "of options configure behavior of apt periodic updates, which is done by "
5532 "<literal>/etc/cron.daily/apt</literal> script. See header of this script for "
5533 "the brief documentation of these options."
5536 #. type: Content of: <refentry><refsect1><title>
5537 #: apt.conf.5.xml:654
5538 msgid "Debug options"
5541 #. type: Content of: <refentry><refsect1><para>
5542 #: apt.conf.5.xml:656
5544 "Enabling options in the <literal>Debug::</literal> section will cause "
5545 "debugging information to be sent to the standard error stream of the program "
5546 "utilizing the <literal>apt</literal> libraries, or enable special program "
5547 "modes that are primarily useful for debugging the behavior of <literal>apt</"
5548 "literal>. Most of these options are not interesting to a normal user, but a "
5552 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5553 #: apt.conf.5.xml:667
5555 "<literal>Debug::pkgProblemResolver</literal> enables output about the "
5556 "decisions made by <literal>dist-upgrade, upgrade, install, remove, purge</"
5560 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5561 #: apt.conf.5.xml:675
5563 "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
5564 "used to run some operations (for instance, <literal>apt-get -s install</"
5565 "literal>) as a non-root user."
5568 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5569 #: apt.conf.5.xml:684
5571 "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
5572 "time that <literal>apt</literal> invokes &dpkg;."
5576 #. motivating example, except I haven't a clue why you'd want
5578 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5579 #: apt.conf.5.xml:692
5581 "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
5585 #. type: Content of: <refentry><refsect1><para>
5586 #: apt.conf.5.xml:702
5587 msgid "A full list of debugging options to apt follows."
5590 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5591 #: apt.conf.5.xml:707
5593 msgid "<literal>Debug::Acquire::cdrom</literal>"
5594 msgstr "a linha <literal>Archive:</literal>"
5596 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5597 #: apt.conf.5.xml:711
5599 "Print information related to accessing <literal>cdrom://</literal> sources."
5602 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5603 #: apt.conf.5.xml:718
5605 msgid "<literal>Debug::Acquire::ftp</literal>"
5606 msgstr "a linha <literal>Archive:</literal>"
5608 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5609 #: apt.conf.5.xml:722
5610 msgid "Print information related to downloading packages using FTP."
5613 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5614 #: apt.conf.5.xml:729
5616 msgid "<literal>Debug::Acquire::http</literal>"
5617 msgstr "a linha <literal>Archive:</literal>"
5619 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5620 #: apt.conf.5.xml:733
5621 msgid "Print information related to downloading packages using HTTP."
5624 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5625 #: apt.conf.5.xml:740
5627 msgid "<literal>Debug::Acquire::https</literal>"
5628 msgstr "a linha <literal>Archive:</literal>"
5630 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5631 #: apt.conf.5.xml:744
5632 msgid "Print information related to downloading packages using HTTPS."
5635 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5636 #: apt.conf.5.xml:751
5638 msgid "<literal>Debug::Acquire::gpgv</literal>"
5639 msgstr "a linha <literal>Archive:</literal>"
5641 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5642 #: apt.conf.5.xml:755
5644 "Print information related to verifying cryptographic signatures using "
5645 "<literal>gpg</literal>."
5648 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5649 #: apt.conf.5.xml:762
5651 msgid "<literal>Debug::aptcdrom</literal>"
5652 msgstr "a linha <literal>Version:</literal>"
5654 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5655 #: apt.conf.5.xml:766
5657 "Output information about the process of accessing collections of packages "
5658 "stored on CD-ROMs."
5661 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5662 #: apt.conf.5.xml:773
5664 msgid "<literal>Debug::BuildDeps</literal>"
5665 msgstr "a linha <literal>Label:</literal>"
5667 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5668 #: apt.conf.5.xml:776
5669 msgid "Describes the process of resolving build-dependencies in &apt-get;."
5672 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5673 #: apt.conf.5.xml:783
5675 msgid "<literal>Debug::Hashes</literal>"
5676 msgstr "a linha <literal>Label:</literal>"
5678 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5679 #: apt.conf.5.xml:786
5681 "Output each cryptographic hash that is generated by the <literal>apt</"
5682 "literal> libraries."
5685 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5686 #: apt.conf.5.xml:793
5688 msgid "<literal>Debug::IdentCDROM</literal>"
5689 msgstr "a linha <literal>Label:</literal>"
5691 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5692 #: apt.conf.5.xml:796
5694 "Do not include information from <literal>statfs</literal>, namely the number "
5695 "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
5699 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5700 #: apt.conf.5.xml:804
5702 msgid "<literal>Debug::NoLocking</literal>"
5703 msgstr "a linha <literal>Origin:</literal>"
5705 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5706 #: apt.conf.5.xml:807
5708 "Disable all file locking. For instance, this will allow two instances of "
5709 "<quote><literal>apt-get update</literal></quote> to run at the same time."
5712 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5713 #: apt.conf.5.xml:815
5715 msgid "<literal>Debug::pkgAcquire</literal>"
5716 msgstr "a linha <literal>Archive:</literal>"
5718 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5719 #: apt.conf.5.xml:819
5720 msgid "Log when items are added to or removed from the global download queue."
5723 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5724 #: apt.conf.5.xml:826
5726 msgid "<literal>Debug::pkgAcquire::Auth</literal>"
5727 msgstr "a linha <literal>Archive:</literal>"
5729 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5730 #: apt.conf.5.xml:829
5732 "Output status messages and errors related to verifying checksums and "
5733 "cryptographic signatures of downloaded files."
5736 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5737 #: apt.conf.5.xml:836
5739 msgid "<literal>Debug::pkgAcquire::Diffs</literal>"
5740 msgstr "a linha <literal>Archive:</literal>"
5742 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5743 #: apt.conf.5.xml:839
5745 "Output information about downloading and applying package index list diffs, "
5746 "and errors relating to package index list diffs."
5749 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5750 #: apt.conf.5.xml:847
5752 msgid "<literal>Debug::pkgAcquire::RRed</literal>"
5753 msgstr "a linha <literal>Archive:</literal>"
5755 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5756 #: apt.conf.5.xml:851
5758 "Output information related to patching apt package lists when downloading "
5759 "index diffs instead of full indices."
5762 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5763 #: apt.conf.5.xml:858
5765 msgid "<literal>Debug::pkgAcquire::Worker</literal>"
5766 msgstr "a linha <literal>Archive:</literal>"
5768 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5769 #: apt.conf.5.xml:862
5771 "Log all interactions with the sub-processes that actually perform downloads."
5774 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5775 #: apt.conf.5.xml:869
5776 msgid "<literal>Debug::pkgAutoRemove</literal>"
5779 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5780 #: apt.conf.5.xml:873
5782 "Log events related to the automatically-installed status of packages and to "
5783 "the removal of unused packages."
5786 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5787 #: apt.conf.5.xml:880
5788 msgid "<literal>Debug::pkgDepCache::AutoInstall</literal>"
5791 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5792 #: apt.conf.5.xml:883
5794 "Generate debug messages describing which packages are being automatically "
5795 "installed to resolve dependencies. This corresponds to the initial auto-"
5796 "install pass performed in, e.g., <literal>apt-get install</literal>, and not "
5797 "to the full <literal>apt</literal> dependency resolver; see <literal>Debug::"
5798 "pkgProblemResolver</literal> for that."
5801 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5802 #: apt.conf.5.xml:894
5803 msgid "<literal>Debug::pkgDepCache::Marker</literal>"
5806 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5807 #: apt.conf.5.xml:897
5809 "Generate debug messages describing which package is marked as keep/install/"
5810 "remove while the ProblemResolver does his work. Each addition or deletion "
5811 "may trigger additional actions; they are shown indented two additional space "
5812 "under the original entry. The format for each line is <literal>MarkKeep</"
5813 "literal>, <literal>MarkDelete</literal> or <literal>MarkInstall</literal> "
5814 "followed by <literal>package-name <a.b.c -> d.e.f | x.y.z> (section)"
5815 "</literal> where <literal>a.b.c</literal> is the current version of the "
5816 "package, <literal>d.e.f</literal> is the version considered for installation "
5817 "and <literal>x.y.z</literal> is a newer version, but not considered for "
5818 "installation (because of a low pin score). The later two can be omitted if "
5819 "there is none or if it is the same version as the installed. "
5820 "<literal>section</literal> is the name of the section the package appears in."
5823 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5824 #: apt.conf.5.xml:916
5826 msgid "<literal>Debug::pkgInitConfig</literal>"
5827 msgstr "a linha <literal>Version:</literal>"
5829 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5830 #: apt.conf.5.xml:919
5831 msgid "Dump the default configuration to standard error on startup."
5834 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5835 #: apt.conf.5.xml:926
5837 msgid "<literal>Debug::pkgDPkgPM</literal>"
5838 msgstr "a linha <literal>Package:</literal>"
5840 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5841 #: apt.conf.5.xml:929
5843 "When invoking &dpkg;, output the precise command line with which it is being "
5844 "invoked, with arguments separated by a single space character."
5847 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5848 #: apt.conf.5.xml:937
5849 msgid "<literal>Debug::pkgDPkgProgressReporting</literal>"
5852 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5853 #: apt.conf.5.xml:940
5855 "Output all the data received from &dpkg; on the status file descriptor and "
5856 "any errors encountered while parsing it."
5859 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5860 #: apt.conf.5.xml:947
5862 msgid "<literal>Debug::pkgOrderList</literal>"
5863 msgstr "a linha <literal>Origin:</literal>"
5865 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5866 #: apt.conf.5.xml:951
5868 "Generate a trace of the algorithm that decides the order in which "
5869 "<literal>apt</literal> should pass packages to &dpkg;."
5872 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5873 #: apt.conf.5.xml:959
5875 msgid "<literal>Debug::pkgPackageManager</literal>"
5876 msgstr "a linha <literal>Package:</literal>"
5878 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5879 #: apt.conf.5.xml:963
5881 "Output status messages tracing the steps performed when invoking &dpkg;."
5884 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5885 #: apt.conf.5.xml:970
5887 msgid "<literal>Debug::pkgPolicy</literal>"
5888 msgstr "a linha <literal>Label:</literal>"
5890 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5891 #: apt.conf.5.xml:974
5892 msgid "Output the priority of each package list on startup."
5895 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5896 #: apt.conf.5.xml:980
5897 msgid "<literal>Debug::pkgProblemResolver</literal>"
5900 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5901 #: apt.conf.5.xml:984
5903 "Trace the execution of the dependency resolver (this applies only to what "
5904 "happens when a complex dependency problem is encountered)."
5907 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5908 #: apt.conf.5.xml:992
5909 msgid "<literal>Debug::pkgProblemResolver::ShowScores</literal>"
5912 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5913 #: apt.conf.5.xml:995
5915 "Display a list of all installed packages with their calculated score used by "
5916 "the pkgProblemResolver. The description of the package is the same as "
5917 "described in <literal>Debug::pkgDepCache::Marker</literal>"
5920 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5921 #: apt.conf.5.xml:1003
5923 msgid "<literal>Debug::sourceList</literal>"
5924 msgstr "a linha <literal>Version:</literal>"
5926 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5927 #: apt.conf.5.xml:1007
5929 "Print information about the vendors read from <filename>/etc/apt/vendors."
5933 #. type: Content of: <refentry><refsect1><para>
5934 #: apt.conf.5.xml:1030
5936 "&configureindex; is a configuration file showing example values for all "
5940 #. type: Content of: <refentry><refsect1><variablelist>
5941 #: apt.conf.5.xml:1037
5942 msgid "&file-aptconf;"
5945 #. ? reading apt.conf
5946 #. type: Content of: <refentry><refsect1><para>
5947 #: apt.conf.5.xml:1042
5949 msgid "&apt-cache;, &apt-config;, &apt-preferences;."
5950 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
5952 #. The last update date
5953 #. type: Content of: <refentry><refentryinfo>
5954 #: apt_preferences.5.xml:13
5956 "&apt-author.team; &apt-email; &apt-product; <date>16 February 2010</date>"
5959 #. type: Content of: <refentry><refnamediv><refname>
5960 #: apt_preferences.5.xml:21 apt_preferences.5.xml:28
5962 msgid "apt_preferences"
5963 msgstr "apt_preferences"
5965 #. type: Content of: <refentry><refnamediv><refpurpose>
5966 #: apt_preferences.5.xml:29
5968 msgid "Preference control file for APT"
5969 msgstr "Arquivo de controle de preferências para o APT"
5971 #. type: Content of: <refentry><refsect1><para>
5972 #: apt_preferences.5.xml:34
5975 "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
5976 "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
5977 "can be used to control which versions of packages will be selected for "
5980 "O arquivo de preferências do APT <filename>/etc/apt/preferences</filename> "
5981 "pode ser usado para controlar quais versões de pacotes serão selecionadas "
5984 #. type: Content of: <refentry><refsect1><para>
5985 #: apt_preferences.5.xml:39
5988 "Several versions of a package may be available for installation when the "
5989 "&sources-list; file contains references to more than one distribution (for "
5990 "example, <literal>stable</literal> and <literal>testing</literal>). APT "
5991 "assigns a priority to each version that is available. Subject to dependency "
5992 "constraints, <command>apt-get</command> selects the version with the highest "
5993 "priority for installation. The APT preferences file overrides the "
5994 "priorities that APT assigns to package versions by default, thus giving the "
5995 "user control over which one is selected for installation."
5997 "Diversas versões de um pacote podem estar disponíveis para instalação quando "
5998 "o arquivo &sources-list; contém referências para mais de uma distribuição "
5999 "(por exemplo, <literal>stable</literal> e <literal>testing</literal>). O APT "
6000 "atribui uma prioridade para cada versão que esteja disponível. Sujeito a "
6001 "obstáculos de dependências, o <command>apt-get</command> seleciona para "
6002 "instalação a versão com a maior prioridade. O arquivo de preferências do APT "
6003 "sobrepoe as prioridades que o APT atribui a cada versão de pacote por "
6004 "padrão, dando assim ao usuário controle sobre qual versão do pacote é "
6005 "selecionada para instalação."
6007 #. type: Content of: <refentry><refsect1><para>
6008 #: apt_preferences.5.xml:49
6011 "Several instances of the same version of a package may be available when the "
6012 "&sources-list; file contains references to more than one source. In this "
6013 "case <command>apt-get</command> downloads the instance listed earliest in "
6014 "the &sources-list; file. The APT preferences file does not affect the "
6015 "choice of instance, only the choice of version."
6017 "Diversas instâncias da mesma versão de um pacote pode estar disponíveis "
6018 "quando o arquivo &sources-list; contém referências a mais de uma fonte. "
6019 "Nesse caso, o <command>apt-get</command> faz o download da instância listada "
6020 "antes no arquivo &sources-list; . O arquivo de preferências do APT não afeta "
6021 "a escolha da instância."
6023 #. type: Content of: <refentry><refsect1><para>
6024 #: apt_preferences.5.xml:56
6026 "Preferences are a strong power in the hands of a system administrator but "
6027 "they can become also their biggest nightmare if used without care! APT will "
6028 "not questioning the preferences so wrong settings will therefore lead to "
6029 "uninstallable packages or wrong decisions while upgrading packages. Even "
6030 "more problems will arise if multiply distribution releases are mixed without "
6031 "a good understanding of the following paragraphs. Packages included in a "
6032 "specific release aren't tested in and therefore doesn't always work as "
6033 "expected in older or newer releases or together with other packages from "
6034 "different releases. You have been warned."
6037 #. type: Content of: <refentry><refsect1><para>
6038 #: apt_preferences.5.xml:67
6040 "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
6041 "directory are parsed in alphanumeric ascending order and need to obey the "
6042 "following naming convention: The files have no or \"<literal>pref</literal>"
6043 "\" as filename extension and which only contain alphanumeric, hyphen (-), "
6044 "underscore (_) and period (.) characters - otherwise they will be silently "
6048 #. type: Content of: <refentry><refsect1><refsect2><title>
6049 #: apt_preferences.5.xml:74
6051 msgid "APT's Default Priority Assignments"
6052 msgstr "Atribuições de Prioridade Padrão do APT"
6054 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6055 #: apt_preferences.5.xml:89
6057 msgid "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
6059 "<programlisting>\n"
6060 "<command>apt-get install -t testing <replaceable>algum-pacote</replaceable></command>\n"
6062 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6063 #: apt_preferences.5.xml:92
6065 msgid "APT::Default-Release \"stable\";\n"
6067 "<programlisting>\n"
6068 "APT::Default-Release \"stable\";\n"
6070 #. type: Content of: <refentry><refsect1><refsect2><para>
6071 #: apt_preferences.5.xml:76
6074 "If there is no preferences file or if there is no entry in the file that "
6075 "applies to a particular version then the priority assigned to that version "
6076 "is the priority of the distribution to which that version belongs. It is "
6077 "possible to single out a distribution, \"the target release\", which "
6078 "receives a higher priority than other distributions do by default. The "
6079 "target release can be set on the <command>apt-get</command> command line or "
6080 "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
6081 "that this has precedence over any general priority you set in the <filename>/"
6082 "etc/apt/preferences</filename> file described later, but not over "
6083 "specifically pinned packages. For example, <placeholder type="
6084 "\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
6086 "Caso não exista um arquivo de preferências ou caso não exista uma entrada no "
6087 "arquivo que se aplique a uma instância em particular, a prioridade atribuída "
6088 "a essa instância é a prioridade da distribuição para a qual a instância "
6089 "pertence. É possível selecionar uma distribuição, conhecida como \"a versão "
6090 "alvo\" (the target release), que recebe uma prioridade maior do que as "
6091 "outras distribuições. A versão alvo pode ser definida na linha de comando do "
6092 "<command>apt-get</command> ou no arquivo de configuração do APT <filename>/"
6093 "etc/apt/apt.conf</filename>. Por exemplo,"
6095 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6096 #: apt_preferences.5.xml:101
6098 msgid "priority 100"
6099 msgstr "prioridade 100"
6101 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6102 #: apt_preferences.5.xml:102
6104 msgid "to the version that is already installed (if any)."
6105 msgstr "para a instância que já esteja instalada (caso exista)."
6107 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6108 #: apt_preferences.5.xml:106
6110 msgid "priority 500"
6111 msgstr "prioridade 500"
6113 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6114 #: apt_preferences.5.xml:107
6117 "to the versions that are not installed and do not belong to the target "
6120 "para as instâncias que não estã instaladas e que não pertencem a versão alvo."
6122 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6123 #: apt_preferences.5.xml:111
6125 msgid "priority 990"
6126 msgstr "prioridade 990"
6128 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6129 #: apt_preferences.5.xml:112
6132 "to the versions that are not installed and belong to the target release."
6134 "para as instâncias que não estejam instaladas e pertençam a versão alvo."
6136 #. type: Content of: <refentry><refsect1><refsect2><para>
6137 #: apt_preferences.5.xml:96
6140 "If the target release has been specified then APT uses the following "
6141 "algorithm to set the priorities of the versions of a package. Assign: "
6142 "<placeholder type=\"variablelist\" id=\"0\"/>"
6144 "Caso uma versão alvo tenha sido especificada o APT usará o seguinte "
6145 "algoritmo para definir as prioridades das instâncias de um pacote. "
6148 #. type: Content of: <refentry><refsect1><refsect2><para>
6149 #: apt_preferences.5.xml:117
6152 "If the target release has not been specified then APT simply assigns "
6153 "priority 100 to all installed package versions and priority 500 to all "
6154 "uninstalled package versions."
6156 "Caso nenhuma versão alvo tenha sido especificada, o APT simplesmente irá "
6157 "atribuir a prioridade 100 para todas as instâncias de pacotes instaladas e a "
6158 "prioridade 500 para todas as instâncias de pacotes não instaladas."
6160 #. type: Content of: <refentry><refsect1><refsect2><para>
6161 #: apt_preferences.5.xml:121
6164 "APT then applies the following rules, listed in order of precedence, to "
6165 "determine which version of a package to install."
6167 "O APT aplica as regras a seguir, listadas em ordem de precedência, para "
6168 "determinar qual instância de um pacote instalar."
6170 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6171 #: apt_preferences.5.xml:124
6174 "Never downgrade unless the priority of an available version exceeds 1000. "
6175 "(\"Downgrading\" is installing a less recent version of a package in place "
6176 "of a more recent version. Note that none of APT's default priorities "
6177 "exceeds 1000; such high priorities can only be set in the preferences file. "
6178 "Note also that downgrading a package can be risky.)"
6180 "Nunca faz um downgrade a menos que a prioridade de uma instância disponível "
6181 "exceda 1000. (Fazer um \"downgrade\" é instalar uma versão menos recente de "
6182 "um pacote no lugar de uma versão mais recente. Note que nenhuma das "
6183 "prioridades padrão do APT excede 1000; prioridades altas como essa podem ser "
6184 "definidas somente no arquivo de preferências. Note também que fazer um "
6185 "\"downgrade\" pode ser arriscado.)"
6187 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6188 #: apt_preferences.5.xml:130
6190 msgid "Install the highest priority version."
6191 msgstr "Instala a instância de prioridade mais alta."
6193 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6194 #: apt_preferences.5.xml:131
6197 "If two or more versions have the same priority, install the most recent one "
6198 "(that is, the one with the higher version number)."
6200 "Caso duas ou mais instâncias possuam a mesma prioridade, instala a instância "
6201 "mais recente (ou seja, aquela com o maior número de versão)."
6203 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6204 #: apt_preferences.5.xml:134
6207 "If two or more versions have the same priority and version number but either "
6208 "the packages differ in some of their metadata or the <literal>--reinstall</"
6209 "literal> option is given, install the uninstalled one."
6211 "Caso duas ou mais instâncias possuam a mesma prioridade e número de versão "
6212 "mas os pacotes sejam diferentes em alguns de seus metadados ou a opção "
6213 "<literal>--reinstall</literal> seja fornecida, instala aquela desinstalada."
6215 #. type: Content of: <refentry><refsect1><refsect2><para>
6216 #: apt_preferences.5.xml:140
6219 "In a typical situation, the installed version of a package (priority 100) "
6220 "is not as recent as one of the versions available from the sources listed in "
6221 "the &sources-list; file (priority 500 or 990). Then the package will be "
6222 "upgraded when <command>apt-get install <replaceable>some-package</"
6223 "replaceable></command> or <command>apt-get upgrade</command> is executed."
6225 "Em uma situação típica, a instância instalada de um pacote (prioridade 100) "
6226 "não é tão recente quanto uma das versões disponíveis nas fontes listadas no "
6227 "arquivo &sources-list; (prioridade 500 ou 990). Então o pacote será "
6228 "atualizado quando os comandos <command>apt-get install <replaceable>algum-"
6229 "pacote</replaceable></command> ou <command>apt-get dist-upgrade</command> "
6232 #. type: Content of: <refentry><refsect1><refsect2><para>
6233 #: apt_preferences.5.xml:147
6236 "More rarely, the installed version of a package is <emphasis>more</emphasis> "
6237 "recent than any of the other available versions. The package will not be "
6238 "downgraded when <command>apt-get install <replaceable>some-package</"
6239 "replaceable></command> or <command>apt-get upgrade</command> is executed."
6241 "Mais raramente, a versão instalada de um pacote é <emphasis>mais</emphasis> "
6242 "recente do que qualquer uma das outras versões disponíveis. O dowgrade do "
6243 "pacote não será feito quando os comandos <command>apt-get install "
6244 "<replaceable>algum-pacote</replaceable></command> ou <command>apt-get "
6245 "upgrade</command> forem executados."
6247 #. type: Content of: <refentry><refsect1><refsect2><para>
6248 #: apt_preferences.5.xml:152
6251 "Sometimes the installed version of a package is more recent than the version "
6252 "belonging to the target release, but not as recent as a version belonging to "
6253 "some other distribution. Such a package will indeed be upgraded when "
6254 "<command>apt-get install <replaceable>some-package</replaceable></command> "
6255 "or <command>apt-get upgrade</command> is executed, because at least "
6256 "<emphasis>one</emphasis> of the available versions has a higher priority "
6257 "than the installed version."
6259 "Algumas vezes a versão instalada de um pacote é mais recente que a versão "
6260 "que pertence a versão alvo, mas não tão recente quanto a versão que pertence "
6261 "a alguma outra distribuição. Um pacote como esse será na verdade atualizado "
6262 "quando os comandos <command>apt-get install <replaceable>algum-pacote</"
6263 "replaceable></command> ou <command>apt-get upgrade</command> forem "
6264 "executados, devido a pelo menos <emphasis>uma</emphasis> das versões "
6265 "disponíveis possuir uma prioridade maior do que a versão instalada."
6267 #. type: Content of: <refentry><refsect1><refsect2><title>
6268 #: apt_preferences.5.xml:161
6270 msgid "The Effect of APT Preferences"
6271 msgstr "O Efeito das Preferências do APT"
6273 #. type: Content of: <refentry><refsect1><refsect2><para>
6274 #: apt_preferences.5.xml:163
6277 "The APT preferences file allows the system administrator to control the "
6278 "assignment of priorities. The file consists of one or more multi-line "
6279 "records separated by blank lines. Records can have one of two forms, a "
6280 "specific form and a general form."
6282 "O arquivo de preferências do APT permite ao administrador do sistema "
6283 "personalizar prioridades. O arquivo consiste de um ou mais registros de "
6284 "múltiplas linhas separados por linhas em branco. Registros podem possuir uma "
6285 "das duas formas, uma forma específica e uma forma geral."
6287 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6288 #: apt_preferences.5.xml:169
6291 "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
6292 "specified packages and specified version or version range. For example, the "
6293 "following record assigns a high priority to all versions of the "
6294 "<filename>perl</filename> package whose version number begins with "
6295 "\"<literal>5.8</literal>\". Multiple packages can be separated by spaces."
6297 "A forma específica atribui uma uma prioridade (uma \"Pin-Priority\") para um "
6298 "pacote e versão ou faixa de versão especificados. Por exemplo, o registro a "
6299 "seguir atribui uma prioridade alta para todas as versões do pacote "
6300 "<filename>perl</filename> os quais tenham seus números de versão iniciando "
6301 "com \"<literal>5.8</literal>\"."
6303 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6304 #: apt_preferences.5.xml:176
6308 "Pin: version 5.8*\n"
6309 "Pin-Priority: 1001\n"
6311 "<programlisting>\n"
6313 "Pin: version 5.8*\n"
6314 "Pin-Priority: 1001\n"
6316 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6317 #: apt_preferences.5.xml:182
6320 "The general form assigns a priority to all of the package versions in a "
6321 "given distribution (that is, to all the versions of packages that are listed "
6322 "in a certain <filename>Release</filename> file) or to all of the package "
6323 "versions coming from a particular Internet site, as identified by the site's "
6324 "fully qualified domain name."
6326 "O forma geral atribui uma prioridade para todas as versões de pacotes em uma "
6327 "dada distribuição (isto é, para toda as versões de pacotes que estejam em um "
6328 "certo arquivo <filename>Release</filename>) ou para todas as versões de "
6329 "pacotes que provenientes de um site Internet em particular, como "
6330 "identificado pelo nome de domínio totalmente qualificado do site Internet."
6332 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6333 #: apt_preferences.5.xml:188
6336 "This general-form entry in the APT preferences file applies only to groups "
6337 "of packages. For example, the following record assigns a high priority to "
6338 "all package versions available from the local site."
6340 "Essa entrada de forma geral no arquivo de preferências do APT aplica-se "
6341 "somente a grupos de pacotes. Por exemplo, o registro a seguir faz com que o "
6342 "APT atribua uma prioridade alta para todas as versões de pacotes disponíveis "
6345 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6346 #: apt_preferences.5.xml:193
6350 "Pin: origin \"\"\n"
6351 "Pin-Priority: 999\n"
6353 "<programlisting>\n"
6355 "Pin: origin \"\"\n"
6356 "Pin-Priority: 999\n"
6358 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6359 #: apt_preferences.5.xml:198
6362 "A note of caution: the keyword used here is \"<literal>origin</literal>\". "
6363 "This should not be confused with the Origin of a distribution as specified "
6364 "in a <filename>Release</filename> file. What follows the \"Origin:\" tag in "
6365 "a <filename>Release</filename> file is not an Internet address but an author "
6366 "or vendor name, such as \"Debian\" or \"Ximian\"."
6368 "Uma nota de aviso : a palavra-chave usada aqui é \"<literal>origin</literal>"
6369 "\". Esta palavra não deve ser confundida com a origem (\"Origin:\") de uma "
6370 "distribuição como especificado em um arquivo <filename>Release</filename>. O "
6371 "que segue a tag \"Origin:\" em um arquivo <filename>Release</filename> não é "
6372 "um endereço de site Internet mas sim nome de autor ou distribuidor (vendor), "
6373 "como \"Debian\" ou \"Ximian\"."
6375 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6376 #: apt_preferences.5.xml:204
6379 "The following record assigns a low priority to all package versions "
6380 "belonging to any distribution whose Archive name is \"<literal>unstable</"
6383 "O registro a seguir atribui uma prioridade baixa para todas as versões de "
6384 "pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
6385 "\"<literal>unstable</literal>\"."
6387 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6388 #: apt_preferences.5.xml:208
6392 "Pin: release a=unstable\n"
6393 "Pin-Priority: 50\n"
6395 "<programlisting>\n"
6397 "Pin: release a=unstable\n"
6398 "Pin-Priority: 50\n"
6400 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6401 #: apt_preferences.5.xml:213
6404 "The following record assigns a high priority to all package versions "
6405 "belonging to any distribution whose Codename is \"<literal>squeeze</literal>"
6408 "O registro a seguir atribui uma prioridade baixa para todas as versões de "
6409 "pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
6410 "\"<literal>unstable</literal>\"."
6412 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6413 #: apt_preferences.5.xml:217
6417 "Pin: release n=squeeze\n"
6418 "Pin-Priority: 900\n"
6420 "<programlisting>\n"
6422 "Pin: release a=unstable\n"
6423 "Pin-Priority: 50\n"
6425 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6426 #: apt_preferences.5.xml:222
6429 "The following record assigns a high priority to all package versions "
6430 "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
6431 "and whose release Version number is \"<literal>3.0</literal>\"."
6433 "O registro a seguir atribui uma prioridade alta para todas as versões de "
6434 "pacotes que pertençam a qualquer versão cujo nome do Repositório seja "
6435 "\"<literal>stable</literal>\" e cujo número de versão seja \"<literal>3.0</"
6438 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
6439 #: apt_preferences.5.xml:227
6443 "Pin: release a=stable, v=3.0\n"
6444 "Pin-Priority: 500\n"
6446 "<programlisting>\n"
6448 "Pin: release a=unstable, v=3.0\n"
6449 "Pin-Priority: 50\n"
6451 #. type: Content of: <refentry><refsect1><refsect2><title>
6452 #: apt_preferences.5.xml:238
6454 msgid "How APT Interprets Priorities"
6455 msgstr "Como o APT Interpreta Prioridades"
6457 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6458 #: apt_preferences.5.xml:246
6461 msgstr "P > 1000"
6463 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6464 #: apt_preferences.5.xml:247
6467 "causes a version to be installed even if this constitutes a downgrade of the "
6470 "faz com que uma instância seja instalada mesmo caso isso constitua um "
6471 "dowgrade do pacote"
6473 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6474 #: apt_preferences.5.xml:251
6476 msgid "990 < P <=1000"
6477 msgstr "990 < P <=1000"
6479 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6480 #: apt_preferences.5.xml:252
6483 "causes a version to be installed even if it does not come from the target "
6484 "release, unless the installed version is more recent"
6486 "faz com que uma versão seja instalada mesmo caso a mesma não venha de uma "
6487 "versão alvo, a menos que a versão instalada seja mais recente"
6489 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6490 #: apt_preferences.5.xml:257
6492 msgid "500 < P <=990"
6493 msgstr "500 < P <=990"
6495 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6496 #: apt_preferences.5.xml:258
6499 "causes a version to be installed unless there is a version available "
6500 "belonging to the target release or the installed version is more recent"
6502 "faz com que uma versão seja instalada a menos que exista uma versão "
6503 "disponível pertencente a versão alvo ou a versão instalada seja mais recente"
6505 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6506 #: apt_preferences.5.xml:263
6508 msgid "100 < P <=500"
6509 msgstr "100 < P <=500"
6511 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6512 #: apt_preferences.5.xml:264
6515 "causes a version to be installed unless there is a version available "
6516 "belonging to some other distribution or the installed version is more recent"
6518 "faz com que uma versão seja instalada a menos que exista uma versão "
6519 "disponível pertencente a alguma outra distribuição ou a versão instalada "
6522 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6523 #: apt_preferences.5.xml:269
6525 msgid "0 < P <=100"
6526 msgstr "0 <= P <=100"
6528 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6529 #: apt_preferences.5.xml:270
6532 "causes a version to be installed only if there is no installed version of "
6535 "faz com que uma versão seja instalada somente caso não exista uma versão "
6536 "instalada do pacote"
6538 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6539 #: apt_preferences.5.xml:274
6544 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6545 #: apt_preferences.5.xml:275
6547 msgid "prevents the version from being installed"
6548 msgstr "impede a versão de ser instalada"
6550 #. type: Content of: <refentry><refsect1><refsect2><para>
6551 #: apt_preferences.5.xml:241
6554 "Priorities (P) assigned in the APT preferences file must be positive or "
6555 "negative integers. They are interpreted as follows (roughly speaking): "
6556 "<placeholder type=\"variablelist\" id=\"0\"/>"
6558 "Prioridades (P) atribuídas no arquivo de preferências do APT devem ser "
6559 "números inteiros positivos ou negativos. Eles são interpretados como a "
6560 "seguir (a grosso modo):"
6562 #. type: Content of: <refentry><refsect1><refsect2><para>
6563 #: apt_preferences.5.xml:280
6566 "If any specific-form records match an available package version then the "
6567 "first such record determines the priority of the package version. Failing "
6568 "that, if any general-form records match an available package version then "
6569 "the first such record determines the priority of the package version."
6571 "Caso um dos registro de forma específica descritos acima case (match) com "
6572 "uma versão disponível do pacote então o primeiro desses registros "
6573 "encontrados determinará a prioridade da versão do pacote. Na falha desse "
6574 "cenário, caso quaisquer registros de forma genérica casem (match) com uma "
6575 "versão do pacote disponível então o primeiro desses registros encontrado "
6576 "determinará a prioridade da versão do pacote."
6578 #. type: Content of: <refentry><refsect1><refsect2><para>
6579 #: apt_preferences.5.xml:286
6582 "For example, suppose the APT preferences file contains the three records "
6583 "presented earlier:"
6585 "Por exemplo, suponha que o arquivo de preferências do APT contenha os três "
6586 "registros apresentados anteriormente :"
6588 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6589 #: apt_preferences.5.xml:290
6593 "Pin: version 5.8*\n"
6594 "Pin-Priority: 1001\n"
6597 "Pin: origin \"\"\n"
6598 "Pin-Priority: 999\n"
6601 "Pin: release unstable\n"
6602 "Pin-Priority: 50\n"
6604 "<programlisting>\n"
6606 "Pin: version 5.8*\n"
6607 "Pin-Priority: 1001\n"
6610 "Pin: origin \"\"\n"
6611 "Pin-Priority: 999\n"
6614 "Pin: release unstable\n"
6615 "Pin-Priority: 50\n"
6617 #. type: Content of: <refentry><refsect1><refsect2><para>
6618 #: apt_preferences.5.xml:303
6622 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6623 #: apt_preferences.5.xml:305
6626 "The most recent available version of the <literal>perl</literal> package "
6627 "will be installed, so long as that version's version number begins with "
6628 "\"<literal>5.8</literal>\". If <emphasis>any</emphasis> 5.8* version of "
6629 "<literal>perl</literal> is available and the installed version is 5.9*, then "
6630 "<literal>perl</literal> will be downgraded."
6632 "A versão mais recente disponível do pacote <literal>perl</literal> será "
6633 "instalado, contanto que esse número de versão da versão inicie com "
6634 "\"<literal>5.8</literal>\". Caso <emphasis>qualquer</emphasis> versão 5.8* "
6635 "de <literal>perl</literal> esteja disponível e a versão instalada seja 5.9*, "
6636 "será feito um downgrade do <literal>perl</literal>."
6638 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6639 #: apt_preferences.5.xml:310
6642 "A version of any package other than <literal>perl</literal> that is "
6643 "available from the local system has priority over other versions, even "
6644 "versions belonging to the target release."
6646 "Uma versão de qualquer pacote diferente de <literal>perl</literal> que "
6647 "esteja disponível no sistema local possui prioridade sobre outras versões, "
6648 "mesmo versões pertencentes a versão alvo."
6650 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6651 #: apt_preferences.5.xml:314
6654 "A version of a package whose origin is not the local system but some other "
6655 "site listed in &sources-list; and which belongs to an <literal>unstable</"
6656 "literal> distribution is only installed if it is selected for installation "
6657 "and no version of the package is already installed."
6659 "Uma versão de um pacote cuja origem não seja o sistema local mas sim algum "
6660 "outro site listado no arquivo &sources-list; e que pertença a uma "
6661 "distribuição <literal>unstable</literal> é instalada somente caso a mesma "
6662 "seja selecionada para instalação e nenhuma versão do pacote já esteja "
6665 #. type: Content of: <refentry><refsect1><refsect2><title>
6666 #: apt_preferences.5.xml:324
6668 msgid "Determination of Package Version and Distribution Properties"
6669 msgstr "Determinação da Versão do Pacote e Propriedades da Distribuição"
6671 #. type: Content of: <refentry><refsect1><refsect2><para>
6672 #: apt_preferences.5.xml:326
6675 "The locations listed in the &sources-list; file should provide "
6676 "<filename>Packages</filename> and <filename>Release</filename> files to "
6677 "describe the packages available at that location."
6679 "As localidades listadas em um arquivo &sources-list; devem fornecer arquivos "
6680 "<filename>Packages</filename> e <filename>Release</filename> para descrever "
6681 "os pacotes disponíveis nessas localidades."
6683 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6684 #: apt_preferences.5.xml:338
6686 msgid "the <literal>Package:</literal> line"
6687 msgstr "a linha <literal>Package:</literal>"
6689 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6690 #: apt_preferences.5.xml:339
6692 msgid "gives the package name"
6693 msgstr "informa o nome do pacote"
6695 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6696 #: apt_preferences.5.xml:342 apt_preferences.5.xml:392
6698 msgid "the <literal>Version:</literal> line"
6699 msgstr "a linha <literal>Version:</literal>"
6701 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6702 #: apt_preferences.5.xml:343
6704 msgid "gives the version number for the named package"
6705 msgstr "informa o número de versão do pacote"
6707 #. type: Content of: <refentry><refsect1><refsect2><para>
6708 #: apt_preferences.5.xml:330
6711 "The <filename>Packages</filename> file is normally found in the directory "
6712 "<filename>.../dists/<replaceable>dist-name</replaceable>/"
6713 "<replaceable>component</replaceable>/<replaceable>arch</replaceable></"
6714 "filename>: for example, <filename>.../dists/stable/main/binary-i386/"
6715 "Packages</filename>. It consists of a series of multi-line records, one for "
6716 "each package available in that directory. Only two lines in each record are "
6717 "relevant for setting APT priorities: <placeholder type=\"variablelist\" id="
6720 "O arquivo <filename>Packages</filename> é normalmente encontrado no "
6721 "diretório <filename>.../dists/<replaceable>nome-distribuição</replaceable>/"
6722 "<replaceable>componente</replaceable>/<replaceable>arquitetura</"
6723 "replaceable></filename> : por exemplo, <filename>.../dists/stable/main/"
6724 "binary-i386/Packages</filename>. O arquivo consiste de uma série de "
6725 "registros de múltiplas linhas, uma para cada pacote disponível no diretório. "
6726 "Somente duas linhas em cada registro são relevantes para definir prioridades "
6729 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6730 #: apt_preferences.5.xml:359
6732 msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
6733 msgstr "a linha <literal>Archive:</literal>"
6735 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6736 #: apt_preferences.5.xml:360
6739 "names the archive to which all the packages in the directory tree belong. "
6740 "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
6741 "that all of the packages in the directory tree below the parent of the "
6742 "<filename>Release</filename> file are in a <literal>stable</literal> "
6743 "archive. Specifying this value in the APT preferences file would require "
6746 "dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
6747 "pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
6748 "pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
6749 "<filename>Release</filename> estão no respositório <literal>stable</"
6750 "literal>. Especificar esse valor no arquivo de preferências do APT iria "
6751 "requerer a linha :"
6753 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6754 #: apt_preferences.5.xml:370
6756 msgid "Pin: release a=stable\n"
6758 "<programlisting>\n"
6759 "Pin: release a=stable\n"
6761 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6762 #: apt_preferences.5.xml:376
6764 msgid "the <literal>Codename:</literal> line"
6765 msgstr "a linha <literal>Component:</literal>"
6767 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6768 #: apt_preferences.5.xml:377
6771 "names the codename to which all the packages in the directory tree belong. "
6772 "For example, the line \"Codename: squeeze\" specifies that all of the "
6773 "packages in the directory tree below the parent of the <filename>Release</"
6774 "filename> file belong to a version named <literal>squeeze</literal>. "
6775 "Specifying this value in the APT preferences file would require the line:"
6777 "dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
6778 "pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
6779 "pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
6780 "<filename>Release</filename> estão no respositório <literal>stable</"
6781 "literal>. Especificar esse valor no arquivo de preferências do APT iria "
6782 "requerer a linha :"
6784 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6785 #: apt_preferences.5.xml:386
6787 msgid "Pin: release n=squeeze\n"
6790 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6791 #: apt_preferences.5.xml:393
6794 "names the release version. For example, the packages in the tree might "
6795 "belong to Debian GNU/Linux release version 3.0. Note that there is normally "
6796 "no version number for the <literal>testing</literal> and <literal>unstable</"
6797 "literal> distributions because they have not been released yet. Specifying "
6798 "this in the APT preferences file would require one of the following lines."
6800 "dá nome a versão da distribuição. Por exemplo, os pacote na àrvore podem "
6801 "pertencer a distribuição Debian GNU/Linux versão 3.0. Note que normalmente "
6802 "não existe número de versão para as distribuições <literal>testing</literal> "
6803 "e <literal>unstable</literal> devido as mesmas não terem sido lançadas "
6804 "ainda. Especificar isso no arquivo de preferências do APT iria requerer uma "
6805 "das linhas a seguir."
6807 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6808 #: apt_preferences.5.xml:402
6811 "Pin: release v=3.0\n"
6812 "Pin: release a=stable, v=3.0\n"
6813 "Pin: release 3.0\n"
6815 "<programlisting>\n"
6816 "Pin: release v=3.0\n"
6817 "Pin: release a=stable v=3.0\n"
6818 "Pin: release 3.0\n"
6820 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6821 #: apt_preferences.5.xml:411
6823 msgid "the <literal>Component:</literal> line"
6824 msgstr "a linha <literal>Component:</literal>"
6826 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6827 #: apt_preferences.5.xml:412
6830 "names the licensing component associated with the packages in the directory "
6831 "tree of the <filename>Release</filename> file. For example, the line "
6832 "\"Component: main\" specifies that all the packages in the directory tree "
6833 "are from the <literal>main</literal> component, which entails that they are "
6834 "licensed under terms listed in the Debian Free Software Guidelines. "
6835 "Specifying this component in the APT preferences file would require the line:"
6837 "dá nome ao componente de licenciamento associado com os pacotes na àrvore de "
6838 "diretório do arquivo <filename>Release</filename>. Por exemplo, a linha "
6839 "\"Component: main\" especifica que todos os pacotes na àrvore de diretório "
6840 "são do componente <literal>main</literal>, o que significa que as mesmas "
6841 "estão licenciadas sob os termos da Linhas Guias Debian para o Software Livre "
6842 "(a DFSG). Especificar esse componente no arquivo de preferências do APT iria "
6843 "requerer a linha :"
6845 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6846 #: apt_preferences.5.xml:421
6848 msgid "Pin: release c=main\n"
6850 "<programlisting>\n"
6851 "Pin: release c=main\n"
6853 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6854 #: apt_preferences.5.xml:427
6856 msgid "the <literal>Origin:</literal> line"
6857 msgstr "a linha <literal>Origin:</literal>"
6859 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6860 #: apt_preferences.5.xml:428
6863 "names the originator of the packages in the directory tree of the "
6864 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6865 "literal>. Specifying this origin in the APT preferences file would require "
6868 "dá nome ao produtor dos pacotes na àrvore de diretório do arquivo "
6869 "<filename>Release</filename>. O mais comum é esse valor ser <literal>Debian</"
6870 "literal>. Especificar essa origem no arquivo de preferências do APT iria "
6871 "requerer a linha :"
6873 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6874 #: apt_preferences.5.xml:434
6876 msgid "Pin: release o=Debian\n"
6878 "<programlisting>\n"
6879 "Pin: release o=Debian\n"
6881 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6882 #: apt_preferences.5.xml:440
6884 msgid "the <literal>Label:</literal> line"
6885 msgstr "a linha <literal>Label:</literal>"
6887 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6888 #: apt_preferences.5.xml:441
6891 "names the label of the packages in the directory tree of the "
6892 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6893 "literal>. Specifying this label in the APT preferences file would require "
6896 "dá nome ao rótulo (label) dos pacotes na árvore de diretório. O mais comum é "
6897 "esse valor ser <literal>Debian</literal>. Especificar esse rótulo (label) no "
6898 "arquivo de preferências do APT iria requerer a linha :"
6900 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6901 #: apt_preferences.5.xml:447
6903 msgid "Pin: release l=Debian\n"
6905 "<programlisting>\n"
6906 "Pin: release l=Debian\n"
6908 #. type: Content of: <refentry><refsect1><refsect2><para>
6909 #: apt_preferences.5.xml:348
6912 "The <filename>Release</filename> file is normally found in the directory "
6913 "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
6914 "example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
6915 "dists/woody/Release</filename>. It consists of a single multi-line record "
6916 "which applies to <emphasis>all</emphasis> of the packages in the directory "
6917 "tree below its parent. Unlike the <filename>Packages</filename> file, "
6918 "nearly all of the lines in a <filename>Release</filename> file are relevant "
6919 "for setting APT priorities: <placeholder type=\"variablelist\" id=\"0\"/>"
6921 "O arquivo <filename>Release</filename> é normalmente encontrado no diretório "
6922 "<filename>.../dists/<replaceable>nome-distribuição</replaceable></"
6923 "filename> : por exemplo, <filename>.../dists/stable/Release</filename>, ou "
6924 "<filename>.../dists/woody/Release</filename>. O arquivo consiste de um "
6925 "registro de múltiplas linhas o qual se aplica a <emphasis>todos</emphasis> "
6926 "os pacotes na àrvore de diretórios abaixo de seu diretório pai. Diferente do "
6927 "arquivo <filename>Packages</filename>, quase todas as linhas em um arquivo "
6928 "<filename>Release</filename> são relevantes para a definição de prioridades "
6931 #. type: Content of: <refentry><refsect1><refsect2><para>
6932 #: apt_preferences.5.xml:454
6935 "All of the <filename>Packages</filename> and <filename>Release</filename> "
6936 "files retrieved from locations listed in the &sources-list; file are stored "
6937 "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
6938 "named by the variable <literal>Dir::State::Lists</literal> in the "
6939 "<filename>apt.conf</filename> file. For example, the file <filename>debian."
6940 "lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
6941 "contains the <filename>Release</filename> file retrieved from the site "
6942 "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
6943 "architecture files from the <literal>contrib</literal> component of the "
6944 "<literal>unstable</literal> distribution."
6946 "Todos os arquivos <filename>Packages</filename> e <filename>Release</"
6947 "filename> obtidos das localidades listadas no arquivo &sources-list; são "
6948 "mantidos no diretório <filename>/var/lib/apt/lists</filename> ou no arquivo "
6949 "indicado pela variável <literal>Dir::State::Lists</literal> no arquivo "
6950 "<filename>apt.conf</filename>. Por exemplo, o arquivo <filename>debian.lcs."
6951 "mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> contém "
6952 "o arquivo <filename>Release</filename> obtido do site <literal>debian.lcs."
6953 "mit.edu</literal> para a arquitetura <literal>binary-i386</literal>, "
6954 "arquivos do componente <literal>contrib</literal> da distribuição "
6955 "<literal>unstable</literal>."
6957 #. type: Content of: <refentry><refsect1><refsect2><title>
6958 #: apt_preferences.5.xml:467
6960 msgid "Optional Lines in an APT Preferences Record"
6961 msgstr "Linhas Opcionais em um Registro de Preferências do APT"
6963 #. type: Content of: <refentry><refsect1><refsect2><para>
6964 #: apt_preferences.5.xml:469
6967 "Each record in the APT preferences file can optionally begin with one or "
6968 "more lines beginning with the word <literal>Explanation:</literal>. This "
6969 "provides a place for comments."
6971 "Cada registro em um arquivo de preferências do APT pode opcionalmente "
6972 "iniciar com uma ou mais linhas iniciadas com a palavra <literal>Explanation:"
6973 "</literal>. Isto oferece um local para inserir comentários."
6975 #. type: Content of: <refentry><refsect1><refsect2><para>
6976 #: apt_preferences.5.xml:473
6979 "The <literal>Pin-Priority:</literal> line in each APT preferences record is "
6980 "optional. If omitted, APT assigns a priority of 1 less than the last value "
6981 "specified on a line beginning with <literal>Pin-Priority: release ...</"
6984 "A linha <literal>Pin-Priority:</literal> em cada registro de preferências do "
6985 "APT é opcional. Caso omitida, o APT atribuirá uma prioridade de 1 menos o "
6986 "último valor especificado em uma linha iniciando com <literal>Pin-Priority: "
6987 "release ...</literal>."
6989 #. type: Content of: <refentry><refsect1><refsect2><title>
6990 #: apt_preferences.5.xml:482
6992 msgid "Tracking Stable"
6993 msgstr "Acompanhando a Stable"
6995 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6996 #: apt_preferences.5.xml:490
6999 "Explanation: Uninstall or do not install any Debian-originated\n"
7000 "Explanation: package versions other than those in the stable distro\n"
7002 "Pin: release a=stable\n"
7003 "Pin-Priority: 900\n"
7006 "Pin: release o=Debian\n"
7007 "Pin-Priority: -10\n"
7009 "<programlisting>\n"
7010 "Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
7011 "Explanation: do Debian a não ser aquelas na distribuição stable\n"
7013 "Pin: release a=stable\n"
7014 "Pin-Priority: 900\n"
7017 "Pin: release o=Debian\n"
7018 "Pin-Priority: -10\n"
7020 #. type: Content of: <refentry><refsect1><refsect2><para>
7021 #: apt_preferences.5.xml:484
7024 "The following APT preferences file will cause APT to assign a priority "
7025 "higher than the default (500) to all package versions belonging to a "
7026 "<literal>stable</literal> distribution and a prohibitively low priority to "
7027 "package versions belonging to other <literal>Debian</literal> "
7028 "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
7030 "O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
7031 "prioridade maior do que a prioridade padrão (500) para todas as versões de "
7032 "pacotes pertencentes a distribuição <literal>stable</literal> e uma "
7033 "prioridade proibitivamente baixa para versões de pacotes pertencentes a "
7034 "outras distribuições <literal>Debian</literal>."
7036 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7037 #: apt_preferences.5.xml:507 apt_preferences.5.xml:553
7038 #: apt_preferences.5.xml:611
7041 "apt-get install <replaceable>package-name</replaceable>\n"
7043 "apt-get dist-upgrade\n"
7045 "<programlisting>\n"
7046 "apt-get install <replaceable>nome-pacote</replaceable>\n"
7048 "apt-get dist-upgrade\n"
7050 #. type: Content of: <refentry><refsect1><refsect2><para>
7051 #: apt_preferences.5.xml:502
7054 "With a suitable &sources-list; file and the above preferences file, any of "
7055 "the following commands will cause APT to upgrade to the latest "
7056 "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
7059 "Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
7060 "quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
7061 "ulítma(s) versão(ôes) <literal>stable</literal>."
7063 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7064 #: apt_preferences.5.xml:519
7066 msgid "apt-get install <replaceable>package</replaceable>/testing\n"
7068 "<programlisting>\n"
7069 "apt-get install <replaceable>pacote</replaceable>/testing\n"
7071 #. type: Content of: <refentry><refsect1><refsect2><para>
7072 #: apt_preferences.5.xml:513
7075 "The following command will cause APT to upgrade the specified package to the "
7076 "latest version from the <literal>testing</literal> distribution; the package "
7077 "will not be upgraded again unless this command is given again. <placeholder "
7078 "type=\"programlisting\" id=\"0\"/>"
7080 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
7081 "última versão da distribuição <literal>testing</literal>; o pacote não serpa "
7082 "atualizado novamente a menos que esse comando seja executado novamente."
7084 #. type: Content of: <refentry><refsect1><refsect2><title>
7085 #: apt_preferences.5.xml:525
7087 msgid "Tracking Testing or Unstable"
7088 msgstr "Acompanhando a Testing"
7090 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7091 #: apt_preferences.5.xml:534
7095 "Pin: release a=testing\n"
7096 "Pin-Priority: 900\n"
7099 "Pin: release a=unstable\n"
7100 "Pin-Priority: 800\n"
7103 "Pin: release o=Debian\n"
7104 "Pin-Priority: -10\n"
7106 "<programlisting>\n"
7108 "Pin: release a=testing\n"
7109 "Pin-Priority: 900\n"
7112 "Pin: release a=unstable\n"
7113 "Pin-Priority: 800\n"
7116 "Pin: release o=Debian\n"
7117 "Pin-Priority: -10\n"
7119 #. type: Content of: <refentry><refsect1><refsect2><para>
7120 #: apt_preferences.5.xml:527
7123 "The following APT preferences file will cause APT to assign a high priority "
7124 "to package versions from the <literal>testing</literal> distribution, a "
7125 "lower priority to package versions from the <literal>unstable</literal> "
7126 "distribution, and a prohibitively low priority to package versions from "
7127 "other <literal>Debian</literal> distributions. <placeholder type="
7128 "\"programlisting\" id=\"0\"/>"
7130 "O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
7131 "prioridade maior para versões de pacote da distribuição <literal>testing</"
7132 "literal>, uma prioridade menor para versões de pacotes da distribuição "
7133 "<literal>unstable</literal> e uma prioridade proibitivamente baixa para "
7134 "versões de pacotes de outras distribuições <literal>Debian</literal>."
7136 #. type: Content of: <refentry><refsect1><refsect2><para>
7137 #: apt_preferences.5.xml:548
7140 "With a suitable &sources-list; file and the above preferences file, any of "
7141 "the following commands will cause APT to upgrade to the latest "
7142 "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
7145 "Com um arquivo &sources-list; adequado e o arquivo de preferências do APT "
7146 "acima, quaisquer dos comandos a seguir farão com que o APT atualize para a"
7147 "(s) última(s) versão(ões) <literal>testing</literal>."
7149 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7150 #: apt_preferences.5.xml:568
7152 msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
7154 "<programlisting>\n"
7155 "apt-get install <replaceable>pacote</replaceable>/unstable\n"
7157 #. type: Content of: <refentry><refsect1><refsect2><para>
7158 #: apt_preferences.5.xml:559
7161 "The following command will cause APT to upgrade the specified package to the "
7162 "latest version from the <literal>unstable</literal> distribution. "
7163 "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
7164 "the most recent <literal>testing</literal> version if that is more recent "
7165 "than the installed version, otherwise, to the most recent <literal>unstable</"
7166 "literal> version if that is more recent than the installed version. "
7167 "<placeholder type=\"programlisting\" id=\"0\"/>"
7169 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
7170 "última versão da distribuição <literal>unstable</literal>. Assim, o comando "
7171 "<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
7172 "<literal>testing</literal> mais recente caso essa versão seja mais recente "
7173 "que a versão instalada, caso não seja, o pacote será atualizado para a "
7174 "versão <literal>unstable</literal> mais recente caso a mesma seja mais "
7175 "recente que a versão instalada."
7177 #. type: Content of: <refentry><refsect1><refsect2><title>
7178 #: apt_preferences.5.xml:575
7179 msgid "Tracking the evolution of a codename release"
7182 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7183 #: apt_preferences.5.xml:589
7186 "Explanation: Uninstall or do not install any Debian-originated package versions\n"
7187 "Explanation: other than those in the distribution codenamed with squeeze or sid\n"
7189 "Pin: release n=squeeze\n"
7190 "Pin-Priority: 900\n"
7192 "Explanation: Debian unstable is always codenamed with sid\n"
7194 "Pin: release a=sid\n"
7195 "Pin-Priority: 800\n"
7198 "Pin: release o=Debian\n"
7199 "Pin-Priority: -10\n"
7201 "<programlisting>\n"
7202 "Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
7203 "Explanation: do Debian a não ser aquelas na distribuição stable\n"
7205 "Pin: release a=stable\n"
7206 "Pin-Priority: 900\n"
7209 "Pin: release o=Debian\n"
7210 "Pin-Priority: -10\n"
7212 #. type: Content of: <refentry><refsect1><refsect2><para>
7213 #: apt_preferences.5.xml:577
7215 "The following APT preferences file will cause APT to assign a priority "
7216 "higher than the default (500) to all package versions belonging to a "
7217 "specified codename of a distribution and a prohibitively low priority to "
7218 "package versions belonging to other <literal>Debian</literal> distributions, "
7219 "codenames and archives. Note that with this APT preference APT will follow "
7220 "the migration of a release from the archive <literal>testing</literal> to "
7221 "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
7222 "want to follow for example the progress in <literal>testing</literal> "
7223 "notwithstanding the codename changes you should use the example "
7224 "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
7227 #. type: Content of: <refentry><refsect1><refsect2><para>
7228 #: apt_preferences.5.xml:606
7231 "With a suitable &sources-list; file and the above preferences file, any of "
7232 "the following commands will cause APT to upgrade to the latest version(s) in "
7233 "the release codenamed with <literal>squeeze</literal>. <placeholder type="
7234 "\"programlisting\" id=\"0\"/>"
7236 "Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
7237 "quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
7238 "ulítma(s) versão(ôes) <literal>stable</literal>."
7240 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
7241 #: apt_preferences.5.xml:626
7243 msgid "apt-get install <replaceable>package</replaceable>/sid\n"
7245 "<programlisting>\n"
7246 "apt-get install <replaceable>pacote</replaceable>/testing\n"
7248 #. type: Content of: <refentry><refsect1><refsect2><para>
7249 #: apt_preferences.5.xml:617
7252 "The following command will cause APT to upgrade the specified package to the "
7253 "latest version from the <literal>sid</literal> distribution. Thereafter, "
7254 "<command>apt-get upgrade</command> will upgrade the package to the most "
7255 "recent <literal>squeeze</literal> version if that is more recent than the "
7256 "installed version, otherwise, to the most recent <literal>sid</literal> "
7257 "version if that is more recent than the installed version. <placeholder "
7258 "type=\"programlisting\" id=\"0\"/>"
7260 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
7261 "última versão da distribuição <literal>unstable</literal>. Assim, o comando "
7262 "<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
7263 "<literal>testing</literal> mais recente caso essa versão seja mais recente "
7264 "que a versão instalada, caso não seja, o pacote será atualizado para a "
7265 "versão <literal>unstable</literal> mais recente caso a mesma seja mais "
7266 "recente que a versão instalada."
7268 #. type: Content of: <refentry><refsect1><variablelist>
7269 #: apt_preferences.5.xml:635
7271 msgid "&file-preferences;"
7272 msgstr "apt_preferences"
7274 #. type: Content of: <refentry><refsect1><para>
7275 #: apt_preferences.5.xml:641
7277 msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7278 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7280 #. type: Content of: <refentry><refnamediv><refname>
7281 #: sources.list.5.xml:22 sources.list.5.xml:29
7282 msgid "sources.list"
7285 #. type: Content of: <refentry><refnamediv><refpurpose>
7286 #: sources.list.5.xml:30
7287 msgid "Package resource list for APT"
7290 #. type: Content of: <refentry><refsect1><para>
7291 #: sources.list.5.xml:34
7293 "The package resource list is used to locate archives of the package "
7294 "distribution system in use on the system. At this time, this manual page "
7295 "documents only the packaging system used by the Debian GNU/Linux system. "
7296 "This control file is <filename>/etc/apt/sources.list</filename>."
7299 #. type: Content of: <refentry><refsect1><para>
7300 #: sources.list.5.xml:39
7302 "The source list is designed to support any number of active sources and a "
7303 "variety of source media. The file lists one source per line, with the most "
7304 "preferred source listed first. The format of each line is: <literal>type uri "
7305 "args</literal> The first item, <literal>type</literal> determines the format "
7306 "for <literal>args</literal>. <literal>uri</literal> is a Universal Resource "
7307 "Identifier (URI), which is a superset of the more specific and well-known "
7308 "Universal Resource Locator, or URL. The rest of the line can be marked as a "
7309 "comment by using a #."
7312 #. type: Content of: <refentry><refsect1><title>
7313 #: sources.list.5.xml:50
7314 msgid "sources.list.d"
7317 #. type: Content of: <refentry><refsect1><para>
7318 #: sources.list.5.xml:51
7320 "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
7321 "add sources.list entries in separate files. The format is the same as for "
7322 "the regular <filename>sources.list</filename> file. File names need to end "
7323 "with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
7324 "digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
7325 "Otherwise they will be silently ignored."
7328 #. type: Content of: <refentry><refsect1><title>
7329 #: sources.list.5.xml:60
7330 msgid "The deb and deb-src types"
7333 #. type: Content of: <refentry><refsect1><para>
7334 #: sources.list.5.xml:61
7336 "The <literal>deb</literal> type describes a typical two-level Debian "
7337 "archive, <filename>distribution/component</filename>. Typically, "
7338 "<literal>distribution</literal> is generally one of <literal>stable</"
7339 "literal> <literal>unstable</literal> or <literal>testing</literal> while "
7340 "component is one of <literal>main</literal> <literal>contrib</literal> "
7341 "<literal>non-free</literal> or <literal>non-us</literal>. The <literal>deb-"
7342 "src</literal> type describes a debian distribution's source code in the same "
7343 "form as the <literal>deb</literal> type. A <literal>deb-src</literal> line "
7344 "is required to fetch source indexes."
7347 #. type: Content of: <refentry><refsect1><para>
7348 #: sources.list.5.xml:73
7350 "The format for a <filename>sources.list</filename> entry using the "
7351 "<literal>deb</literal> and <literal>deb-src</literal> types is:"
7354 #. type: Content of: <refentry><refsect1><literallayout>
7355 #: sources.list.5.xml:76
7357 msgid "deb uri distribution [component1] [component2] [...]"
7360 #. type: Content of: <refentry><refsect1><para>
7361 #: sources.list.5.xml:78
7363 "The URI for the <literal>deb</literal> type must specify the base of the "
7364 "Debian distribution, from which APT will find the information it needs. "
7365 "<literal>distribution</literal> can specify an exact path, in which case the "
7366 "components must be omitted and <literal>distribution</literal> must end with "
7367 "a slash (/). This is useful for when the case only a particular sub-section "
7368 "of the archive denoted by the URI is of interest. If <literal>distribution</"
7369 "literal> does not specify an exact path, at least one <literal>component</"
7370 "literal> must be present."
7373 #. type: Content of: <refentry><refsect1><para>
7374 #: sources.list.5.xml:87
7376 "<literal>distribution</literal> may also contain a variable, <literal>$(ARCH)"
7377 "</literal> which expands to the Debian architecture (i386, m68k, "
7378 "powerpc, ...) used on the system. This permits architecture-independent "
7379 "<filename>sources.list</filename> files to be used. In general this is only "
7380 "of interest when specifying an exact path, <literal>APT</literal> will "
7381 "automatically generate a URI with the current architecture otherwise."
7384 #. type: Content of: <refentry><refsect1><para>
7385 #: sources.list.5.xml:95
7387 "Since only one distribution can be specified per line it may be necessary to "
7388 "have multiple lines for the same URI, if a subset of all available "
7389 "distributions or components at that location is desired. APT will sort the "
7390 "URI list after it has generated a complete set internally, and will collapse "
7391 "multiple references to the same Internet host, for instance, into a single "
7392 "connection, so that it does not inefficiently establish an FTP connection, "
7393 "close it, do something else, and then re-establish a connection to that same "
7394 "host. This feature is useful for accessing busy FTP sites with limits on the "
7395 "number of simultaneous anonymous users. APT also parallelizes connections to "
7396 "different hosts to more effectively deal with sites with low bandwidth."
7399 #. type: Content of: <refentry><refsect1><para>
7400 #: sources.list.5.xml:107
7402 "It is important to list sources in order of preference, with the most "
7403 "preferred source listed first. Typically this will result in sorting by "
7404 "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
7405 "followed by distant Internet hosts, for example)."
7408 #. type: Content of: <refentry><refsect1><para>
7409 #: sources.list.5.xml:112
7411 msgid "Some examples:"
7414 #. type: Content of: <refentry><refsect1><literallayout>
7415 #: sources.list.5.xml:114
7418 "deb http://http.us.debian.org/debian stable main contrib non-free\n"
7419 "deb http://http.us.debian.org/debian dists/stable-updates/\n"
7423 #. type: Content of: <refentry><refsect1><title>
7424 #: sources.list.5.xml:120
7425 msgid "URI specification"
7428 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7429 #: sources.list.5.xml:125
7433 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7434 #: sources.list.5.xml:127
7436 "The file scheme allows an arbitrary directory in the file system to be "
7437 "considered an archive. This is useful for NFS mounts and local mirrors or "
7441 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7442 #: sources.list.5.xml:134
7444 "The cdrom scheme allows APT to use a local CDROM drive with media swapping. "
7445 "Use the &apt-cdrom; program to create cdrom entries in the source list."
7448 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7449 #: sources.list.5.xml:141
7451 "The http scheme specifies an HTTP server for the archive. If an environment "
7452 "variable <envar>http_proxy</envar> is set with the format http://server:"
7453 "port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
7454 "Users of authenticated HTTP/1.1 proxies may use a string of the format "
7455 "http://user:pass@server:port/. Note that this is an insecure method of "
7459 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7460 #: sources.list.5.xml:152
7462 "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
7463 "is highly configurable; for more information see the &apt-conf; manual page. "
7464 "Please note that a ftp proxy can be specified by using the <envar>ftp_proxy</"
7465 "envar> environment variable. It is possible to specify a http proxy (http "
7466 "proxy servers often understand ftp urls) using this method and ONLY this "
7467 "method. ftp proxies using http specified in the configuration file will be "
7471 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7472 #: sources.list.5.xml:161
7476 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7477 #: sources.list.5.xml:163
7479 "The copy scheme is identical to the file scheme except that packages are "
7480 "copied into the cache directory instead of used directly at their location. "
7481 "This is useful for people using a zip disk to copy files around with APT."
7484 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7485 #: sources.list.5.xml:168
7489 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7490 #: sources.list.5.xml:168
7494 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7495 #: sources.list.5.xml:170
7497 "The rsh/ssh method invokes rsh/ssh to connect to a remote host as a given "
7498 "user and access the files. It is a good idea to do prior arrangements with "
7499 "RSA keys or rhosts. Access to files on the remote uses standard "
7500 "<command>find</command> and <command>dd</command> commands to perform the "
7501 "file transfers from the remote."
7504 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
7505 #: sources.list.5.xml:178
7506 msgid "more recognizable URI types"
7509 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
7510 #: sources.list.5.xml:180
7512 "APT can be extended with more methods shipped in other optional packages "
7513 "which should follow the nameing scheme <literal>apt-transport-"
7514 "<replaceable>method</replaceable></literal>. The APT team e.g. maintains "
7515 "also the <literal>apt-transport-https</literal> package which provides "
7516 "access methods for https-URIs with features similar to the http method, but "
7517 "other methods for using e.g. debtorrent are also available, see "
7518 "<citerefentry> <refentrytitle><filename>apt-transport-debtorrent</filename></"
7519 "refentrytitle> <manvolnum>1</manvolnum></citerefentry>."
7522 #. type: Content of: <refentry><refsect1><para>
7523 #: sources.list.5.xml:122
7525 "The currently recognized URI types are cdrom, file, http, ftp, copy, ssh, "
7526 "rsh. <placeholder type=\"variablelist\" id=\"0\"/>"
7529 #. type: Content of: <refentry><refsect1><para>
7530 #: sources.list.5.xml:194
7532 "Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
7533 "stable/main, stable/contrib, and stable/non-free."
7536 #. type: Content of: <refentry><refsect1><literallayout>
7537 #: sources.list.5.xml:196
7539 msgid "deb file:/home/jason/debian stable main contrib non-free"
7542 #. type: Content of: <refentry><refsect1><para>
7543 #: sources.list.5.xml:198
7544 msgid "As above, except this uses the unstable (development) distribution."
7547 #. type: Content of: <refentry><refsect1><literallayout>
7548 #: sources.list.5.xml:199
7550 msgid "deb file:/home/jason/debian unstable main contrib non-free"
7553 #. type: Content of: <refentry><refsect1><para>
7554 #: sources.list.5.xml:201
7555 msgid "Source line for the above"
7558 #. type: Content of: <refentry><refsect1><literallayout>
7559 #: sources.list.5.xml:202
7561 msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
7564 #. type: Content of: <refentry><refsect1><para>
7565 #: sources.list.5.xml:204
7567 "Uses HTTP to access the archive at archive.debian.org, and uses only the "
7571 #. type: Content of: <refentry><refsect1><literallayout>
7572 #: sources.list.5.xml:206
7574 msgid "deb http://archive.debian.org/debian-archive hamm main"
7577 #. type: Content of: <refentry><refsect1><para>
7578 #: sources.list.5.xml:208
7580 "Uses FTP to access the archive at ftp.debian.org, under the debian "
7581 "directory, and uses only the stable/contrib area."
7584 #. type: Content of: <refentry><refsect1><literallayout>
7585 #: sources.list.5.xml:210
7587 msgid "deb ftp://ftp.debian.org/debian stable contrib"
7590 #. type: Content of: <refentry><refsect1><para>
7591 #: sources.list.5.xml:212
7593 "Uses FTP to access the archive at ftp.debian.org, under the debian "
7594 "directory, and uses only the unstable/contrib area. If this line appears as "
7595 "well as the one in the previous example in <filename>sources.list</filename> "
7596 "a single FTP session will be used for both resource lines."
7599 #. type: Content of: <refentry><refsect1><literallayout>
7600 #: sources.list.5.xml:216
7602 msgid "deb ftp://ftp.debian.org/debian unstable contrib"
7605 #. type: Content of: <refentry><refsect1><para>
7606 #: sources.list.5.xml:218
7608 "Uses HTTP to access the archive at nonus.debian.org, under the debian-non-US "
7612 #. type: Content of: <refentry><refsect1><literallayout>
7613 #: sources.list.5.xml:220
7615 msgid "deb http://nonus.debian.org/debian-non-US stable/non-US main contrib non-free"
7618 #. type: Content of: <refentry><refsect1><para><literallayout>
7619 #: sources.list.5.xml:229
7621 msgid "deb http://ftp.de.debian.org/debian-non-US unstable/binary-$(ARCH)/"
7624 #. type: Content of: <refentry><refsect1><para>
7625 #: sources.list.5.xml:222
7627 "Uses HTTP to access the archive at nonus.debian.org, under the debian-non-US "
7628 "directory, and uses only files found under <filename>unstable/binary-i386</"
7629 "filename> on i386 machines, <filename>unstable/binary-m68k</filename> on "
7630 "m68k, and so forth for other supported architectures. [Note this example "
7631 "only illustrates how to use the substitution variable; non-us is no longer "
7632 "structured like this] <placeholder type=\"literallayout\" id=\"0\"/>"
7635 #. type: Content of: <refentry><refsect1><para>
7636 #: sources.list.5.xml:234
7638 msgid "&apt-cache; &apt-conf;"
7639 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7641 #. type: <title></title>
7643 msgid "APT User's Guide"
7646 #. type: <author></author>
7647 #: guide.sgml:6 offline.sgml:6
7648 msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
7651 #. type: <version></version>
7653 msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $"
7656 #. type: <abstract></abstract>
7659 "This document provides an overview of how to use the the APT package manager."
7662 #. type: <copyrightsummary></copyrightsummary>
7664 msgid "Copyright © Jason Gunthorpe, 1998."
7668 #: guide.sgml:21 offline.sgml:22
7670 "\"APT\" and this document are free software; you can redistribute them and/"
7671 "or modify them under the terms of the GNU General Public License as "
7672 "published by the Free Software Foundation; either version 2 of the License, "
7673 "or (at your option) any later version."
7677 #: guide.sgml:24 offline.sgml:25
7679 "For more details, on Debian GNU/Linux systems, see the file /usr/share/"
7680 "common-licenses/GPL for the full license."
7683 #. type: <heading></heading>
7691 "The APT package currently contains two sections, the APT <prgn>dselect</"
7692 "prgn> method and the <prgn>apt-get</prgn> command line user interface. Both "
7693 "provide a way to install and remove packages as well as download new "
7694 "packages from the Internet."
7697 #. type: <heading></heading>
7699 msgid "Anatomy of the Package System"
7705 "The Debian packaging system has a large amount of information associated "
7706 "with each package to help assure that it integrates cleanly and easily into "
7707 "the system. The most prominent of its features is the dependency system."
7713 "The dependency system allows individual programs to make use of shared "
7714 "elements in the system such as libraries. It simplifies placing infrequently "
7715 "used portions of a program in separate packages to reduce the number of "
7716 "things the average user is required to install. Also, it allows for choices "
7717 "in mail transport agents, X servers and so on."
7723 "The first step to understanding the dependency system is to grasp the "
7724 "concept of a simple dependency. The meaning of a simple dependency is that a "
7725 "package requires another package to be installed at the same time to work "
7732 "For instance, mailcrypt is an emacs extension that aids in encrypting email "
7733 "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
7734 "simple dependency on GPG. Also, because it is an emacs extension it has a "
7735 "simple dependency on emacs, without emacs it is completely useless."
7741 "The other important dependency to understand is a conflicting dependency. It "
7742 "means that a package, when installed with another package, will not work and "
7743 "may possibly be extremely harmful to the system. As an example consider a "
7744 "mail transport agent such as sendmail, exim or qmail. It is not possible to "
7745 "have two mail transport agents installed because both need to listen to the "
7746 "network to receive mail. Attempting to install two will seriously damage the "
7747 "system so all mail transport agents have a conflicting dependency with all "
7748 "other mail transport agents."
7754 "As an added complication there is the possibility for a package to pretend "
7755 "to be another package. Consider that exim and sendmail for many intents are "
7756 "identical, they both deliver mail and understand a common interface. Hence, "
7757 "the package system has a way for them to declare that they are both mail-"
7758 "transport-agents. So, exim and sendmail both declare that they provide a "
7759 "mail-transport-agent and other packages that need a mail transport agent "
7760 "depend on mail-transport-agent. This can add a great deal of confusion when "
7761 "trying to manually fix packages."
7767 "At any given time a single dependency may be met by packages that are "
7768 "already installed or it may not be. APT attempts to help resolve dependency "
7769 "issues by providing a number of automatic algorithms that help in selecting "
7770 "packages for installation."
7776 "<prgn>apt-get</prgn> provides a simple way to install packages from the "
7777 "command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not "
7778 "understand .deb files, it works with the package's proper name and can only "
7779 "install .deb archives from a <em>Source</em>."
7785 "The first <footnote><p>If you are using an http proxy server you must set "
7786 "the http_proxy environment variable first, see sources.list(5)</p></"
7787 "footnote> thing that should be done before using <prgn>apt-get</prgn> is to "
7788 "fetch the package lists from the <em>Sources</em> so that it knows what "
7789 "packages are available. This is done with <tt>apt-get update</tt>. For "
7793 #. type: <example></example>
7797 "# apt-get update\n"
7798 "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
7799 "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7800 "Reading Package Lists... Done\n"
7801 "Building Dependency Tree... Done"
7804 #. type: <p><taglist>
7806 msgid "Once updated there are several commands that can be used:"
7812 "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
7813 "install a new package or remove an existing package, nor will it ever "
7814 "upgrade a package that might cause some other package to break. This can be "
7815 "used daily to relatively safely upgrade the system. Upgrade will list all of "
7816 "the packages that it could not upgrade, this usually means that they depend "
7817 "on new packages or conflict with some other package. <prgn>dselect</prgn> or "
7818 "<tt>apt-get install</tt> can be used to force these packages to install."
7824 "Install is used to install packages by name. The package is automatically "
7825 "fetched and installed. This can be useful if you already know the name of "
7826 "the package to install and do not want to go into a GUI to select it. Any "
7827 "number of packages may be passed to install, they will all be fetched. "
7828 "Install automatically attempts to resolve dependency problems with the "
7829 "listed packages and will print a summary and ask for confirmation if "
7830 "anything other than its arguments are changed."
7836 "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
7837 "releases of Debian. It uses a sophisticated algorithm to determine the best "
7838 "set of packages to install, upgrade and remove to get as much of the system "
7839 "to the newest release. In some situations it may be desired to use dist-"
7840 "upgrade rather than spend the time manually resolving dependencies in "
7841 "<prgn>dselect</prgn>. Once dist-upgrade has completed then <prgn>dselect</"
7842 "prgn> can be used to install any packages that may have been left out."
7848 "It is important to closely look at what dist-upgrade is going to do, its "
7849 "decisions may sometimes be quite surprising."
7855 "<prgn>apt-get</prgn> has several command line options that are detailed in "
7856 "its man page, <manref section=\"8\" name=\"apt-get\">. The most useful "
7857 "option is <tt>-d</tt> which does not install the fetched files. If the "
7858 "system has to download a large number of package it would be undesired to "
7859 "start installing them in case something goes wrong. When <tt>-d</tt> is used "
7860 "the downloaded archives can be installed by simply running the command that "
7861 "caused them to be downloaded again without <tt>-d</tt>."
7864 #. type: <heading></heading>
7872 "The APT <prgn>dselect</prgn> method provides the complete APT system with "
7873 "the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used "
7874 "to select the packages to be installed or removed and APT actually installs "
7881 "To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> "
7882 "and then choose the APT method. You will be prompted for a set of "
7883 "<em>Sources</em> which are places to fetch archives from. These can be "
7884 "remote Internet sites, local Debian mirrors or CDROMs. Each source can "
7885 "provide a fragment of the total Debian archive, APT will automatically "
7886 "combine them to form a complete set of packages. If you have a CDROM then it "
7887 "is a good idea to specify it first and then specify a mirror so that you "
7888 "have access to the latest bug fixes. APT will automatically use packages on "
7889 "your CDROM before downloading from the Internet."
7892 #. type: <example></example>
7896 " Set up a list of distribution source locations\n"
7898 " Please give the base URL of the debian distribution.\n"
7899 " The access schemes I know about are: http file\n"
7902 " file:/mnt/debian,\n"
7903 " ftp://ftp.debian.org/debian,\n"
7904 " http://ftp.de.debian.org/debian,\n"
7907 " URL [http://llug.sep.bnl.gov/debian]:"
7913 "The <em>Sources</em> setup starts by asking for the base of the Debian "
7914 "archive, defaulting to a HTTP mirror. Next it asks for the distribution to "
7918 #. type: <example></example>
7922 " Please give the distribution tag to get or a path to the\n"
7923 " package file ending in a /. The distribution\n"
7924 " tags are typically something like: stable unstable testing non-US\n"
7926 " Distribution [stable]:"
7932 "The distribution refers to the Debian version in the archive, <em>stable</"
7933 "em> refers to the latest released version and <em>unstable</em> refers to "
7934 "the developmental version. <em>non-US</em> is only available on some mirrors "
7935 "and refers to packages that contain encryption technology or other things "
7936 "that cannot be exported from the United States. Importing these packages "
7937 "into the US is legal however."
7940 #. type: <example></example>
7944 " Please give the components to get\n"
7945 " The components are typically something like: main contrib non-free\n"
7947 " Components [main contrib non-free]:"
7953 "The components list refers to the list of sub distributions to fetch. The "
7954 "distribution is split up based on software licenses, main being DFSG free "
7955 "packages while contrib and non-free contain things that have various "
7956 "restrictions placed on their use and distribution."
7962 "Any number of sources can be added, the setup script will continue to prompt "
7963 "until you have specified all that you want."
7969 "Before starting to use <prgn>dselect</prgn> it is necessary to update the "
7970 "available list by selecting [U]pdate from the menu. This is a superset of "
7971 "<tt>apt-get update</tt> that makes the fetched information available to "
7972 "<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get update</"
7973 "tt> has been run before."
7979 "You can then go on and make your selections using [S]elect and then perform "
7980 "the installation using [I]nstall. When using the APT method the [C]onfig and "
7981 "[R]emove commands have no meaning, the [I]nstall command performs both of "
7988 "By default APT will automatically remove the package (.deb) files once they "
7989 "have been successfully installed. To change this behavior place <tt>Dselect::"
7990 "clean \"prompt\";</tt> in /etc/apt/apt.conf."
7993 #. type: <heading></heading>
7995 msgid "The Interface"
8001 "Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the "
8002 "same interface. It is a simple system that generally tells you what it will "
8003 "do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method "
8004 "actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method "
8005 "actually provides more functionality than is present in <prgn>apt-get</prgn> "
8006 "alone.</p></footnote> After printing out a summary of what will happen APT "
8007 "then will print out some informative status messages so that you can "
8008 "estimate how far along it is and how much is left to do."
8011 #. type: <heading></heading>
8019 "Before all operations except update, APT performs a number of actions to "
8020 "prepare its internal state. It also does some checks of the system's state. "
8021 "At any time these operations can be performed by running <tt>apt-get check</"
8025 #. type: <example></example>
8030 "Reading Package Lists... Done\n"
8031 "Building Dependency Tree... Done"
8037 "The first thing it does is read all the package files into memory. APT uses "
8038 "a caching scheme so this operation will be faster the second time it is run. "
8039 "If some of the package files are not found then they will be ignored and a "
8040 "warning will be printed when apt-get exits."
8046 "The final operation performs a detailed analysis of the system's "
8047 "dependencies. It checks every dependency of every installed or unpacked "
8048 "package and considers if it is OK. Should this find a problem then a report "
8049 "will be printed out and <prgn>apt-get</prgn> will refuse to run."
8052 #. type: <example></example>
8057 "Reading Package Lists... Done\n"
8058 "Building Dependency Tree... Done\n"
8059 "You might want to run apt-get -f install' to correct these.\n"
8060 "Sorry, but the following packages have unmet dependencies:\n"
8061 " 9fonts: Depends: xlib6g but it is not installed\n"
8062 " uucp: Depends: mailx but it is not installed\n"
8063 " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8064 " adduser: Depends: perl-base but it is not installed\n"
8065 " aumix: Depends: libgpmg1 but it is not installed\n"
8066 " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
8067 " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
8068 " cthugha: Depends: svgalibg1 but it is not installed\n"
8069 " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
8070 " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
8076 "In this example the system has many problems, including a serious problem "
8077 "with libreadlineg2. For each package that has unmet dependencies a line is "
8078 "printed out indicating the package with the problem and the dependencies "
8079 "that are unmet. A short explanation of why the package has a dependency "
8080 "problem is also included."
8086 "There are two ways a system can get into a broken state like this. The first "
8087 "is caused by <prgn>dpkg</prgn> missing some subtle relationships between "
8088 "packages when performing upgrades. <footnote><p>APT however considers all "
8089 "known dependencies and attempts to prevent broken packages</p></footnote>. "
8090 "The second is if a package installation fails during an operation. In this "
8091 "situation a package may have been unpacked without its dependents being "
8098 "The second situation is much less serious than the first because APT places "
8099 "certain constraints on the order that packages are installed. In both cases "
8100 "supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to "
8101 "deduce a possible solution to the problem and then continue on. The APT "
8102 "<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow "
8103 "for easy continuation of failed maintainer scripts."
8109 "However, if the <tt>-f</tt> option is used to correct a seriously broken "
8110 "system caused by the first case then it is possible that it will either fail "
8111 "immediately or the installation sequence will fail. In either case it is "
8112 "necessary to manually use dpkg (possibly with forcing options) to correct "
8113 "the situation enough to allow APT to proceed."
8116 #. type: <heading></heading>
8118 msgid "The Status Report"
8124 "Before proceeding <prgn>apt-get</prgn> will present a report on what will "
8125 "happen. Generally the report reflects the type of operation being performed "
8126 "but there are several common elements. In all cases the lists reflect the "
8127 "final state of things, taking into account the <tt>-f</tt> option and any "
8128 "other relevant activities to the command being executed."
8131 #. type: <heading></heading>
8133 msgid "The Extra Package list"
8136 #. type: <example></example>
8140 "The following extra packages will be installed:\n"
8141 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
8142 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
8143 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
8144 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
8151 "The Extra Package list shows all of the packages that will be installed or "
8152 "upgraded in excess of the ones mentioned on the command line. It is only "
8153 "generated for an <tt>install</tt> command. The listed packages are often the "
8154 "result of an Auto Install."
8157 #. type: <heading></heading>
8159 msgid "The Packages to Remove"
8162 #. type: <example></example>
8166 "The following packages will be REMOVED:\n"
8167 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
8168 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
8169 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
8176 "The Packages to Remove list shows all of the packages that will be removed "
8177 "from the system. It can be shown for any of the operations and should be "
8178 "given a careful inspection to ensure nothing important is to be taken off. "
8179 "The <tt>-f</tt> option is especially good at generating packages to remove "
8180 "so extreme care should be used in that case. The list may contain packages "
8181 "that are going to be removed because they are only partially installed, "
8182 "possibly due to an aborted installation."
8185 #. type: <heading></heading>
8187 msgid "The New Packages list"
8190 #. type: <example></example>
8194 "The following NEW packages will installed:\n"
8195 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
8201 "The New Packages list is simply a reminder of what will happen. The packages "
8202 "listed are not presently installed in the system but will be when APT is "
8206 #. type: <heading></heading>
8208 msgid "The Kept Back list"
8211 #. type: <example></example>
8215 "The following packages have been kept back\n"
8216 " compface man-db tetex-base msql libpaper svgalib1\n"
8217 " gs snmp arena lynx xpat2 groff xscreensaver"
8223 "Whenever the whole system is being upgraded there is the possibility that "
8224 "new versions of packages cannot be installed because they require new things "
8225 "or conflict with already installed things. In this case the package will "
8226 "appear in the Kept Back list. The best way to convince packages listed there "
8227 "to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> "
8228 "to resolve their problems."
8231 #. type: <heading></heading>
8233 msgid "Held Packages warning"
8236 #. type: <example></example>
8240 "The following held packages will be changed:\n"
8247 "Sometimes you can ask APT to install a package that is on hold, in such a "
8248 "case it prints out a warning that the held package is going to be changed. "
8249 "This should only happen during dist-upgrade or install."
8252 #. type: <heading></heading>
8254 msgid "Final summary"
8260 "Finally, APT will print out a summary of all the changes that will occur."
8263 #. type: <example></example>
8267 "206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
8268 "12 packages not fully installed or removed.\n"
8269 "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
8275 "The first line of the summary simply is a reduced version of all of the "
8276 "lists and includes the number of upgrades - that is packages already "
8277 "installed that have new versions available. The second line indicates the "
8278 "number of poorly configured packages, possibly the result of an aborted "
8279 "installation. The final line shows the space requirements that the "
8280 "installation needs. The first pair of numbers refer to the size of the "
8281 "archive files. The first number indicates the number of bytes that must be "
8282 "fetched from remote locations and the second indicates the total size of all "
8283 "the archives required. The next number indicates the size difference between "
8284 "the presently installed packages and the newly installed packages. It is "
8285 "roughly equivalent to the space required in /usr after everything is done. "
8286 "If a large number of packages are being removed then the value may indicate "
8287 "the amount of space that will be freed."
8293 "Some other reports can be generated by using the -u option to show packages "
8294 "to upgrade, they are similar to the previous examples."
8297 #. type: <heading></heading>
8299 msgid "The Status Display"
8305 "During the download of archives and package files APT prints out a series of "
8309 #. type: <example></example>
8313 "# apt-get update\n"
8314 "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
8315 "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
8316 "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
8317 "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
8318 "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
8319 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
8325 "The lines starting with <em>Get</em> are printed out when APT begins to "
8326 "fetch a file while the last line indicates the progress of the download. The "
8327 "first percent value on the progress line indicates the total percent done of "
8328 "all files. Unfortunately since the size of the Package files is unknown "
8329 "<tt>apt-get update</tt> estimates the percent done which causes some "
8336 "The next section of the status line is repeated once for each download "
8337 "thread and indicates the operation being performed and some useful "
8338 "information about what is happening. Sometimes this section will simply read "
8339 "<em>Forking</em> which means the OS is loading the download module. The "
8340 "first word after the [ is the fetch number as shown on the history lines. "
8341 "The next word is the short form name of the object being downloaded. For "
8342 "archives it will contain the name of the package that is being fetched."
8348 "Inside of the single quote is an informative string indicating the progress "
8349 "of the negotiation phase of the download. Typically it progresses from "
8350 "<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or "
8351 "<em>Resuming</em>. The final value is the number of bytes downloaded from "
8352 "the remote site. Once the download begins this is represented as "
8353 "<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 "
8354 "kilobytes is expected. The total size is always shown in 4 figure notation "
8355 "to preserve space. After the size display is a percent meter for the file "
8356 "itself. The second last element is the instantaneous average speed. This "
8357 "values is updated every 5 seconds and reflects the rate of data transfer for "
8358 "that period. Finally is shown the estimated transfer time. This is updated "
8359 "regularly and reflects the time to complete everything at the shown transfer "
8366 "The status display updates every half second to provide a constant feedback "
8367 "on the download progress while the Get lines scroll back whenever a new file "
8368 "is started. Since the status display is constantly updated it is unsuitable "
8369 "for logging to a file, use the <tt>-q</tt> option to remove the status "
8373 #. type: <heading></heading>
8381 "APT uses <prgn>dpkg</prgn> for installing the archives and will switch over "
8382 "to the <prgn>dpkg</prgn> interface once downloading is completed. "
8383 "<prgn>dpkg</prgn> will also ask a number of questions as it processes the "
8384 "packages and the packages themselves may also ask several questions. Before "
8385 "each question there is usually a description of what it is asking and the "
8386 "questions are too varied to discuss completely here."
8389 #. type: <title></title>
8391 msgid "Using APT Offline"
8394 #. type: <version></version>
8396 msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
8399 #. type: <abstract></abstract>
8402 "This document describes how to use APT in a non-networked environment, "
8403 "specifically a 'sneaker-net' approach for performing upgrades."
8406 #. type: <copyrightsummary></copyrightsummary>
8408 msgid "Copyright © Jason Gunthorpe, 1999."
8411 #. type: <heading></heading>
8413 msgid "Introduction"
8416 #. type: <heading></heading>
8417 #: offline.sgml:34 offline.sgml:65 offline.sgml:180
8424 "Normally APT requires direct access to a Debian archive, either from a local "
8425 "media or through a network. Another common complaint is that a Debian "
8426 "machine is on a slow link, such as a modem and another machine has a very "
8427 "fast connection but they are physically distant."
8433 "The solution to this is to use large removable media such as a Zip disc or a "
8434 "SuperDisk disc. These discs are not large enough to store the entire Debian "
8435 "archive but can easily fit a subset large enough for most users. The idea is "
8436 "to use APT to generate a list of packages that are required and then fetch "
8437 "them onto the disc using another machine with good connectivity. It is even "
8438 "possible to use another Debian machine with APT or to use a completely "
8439 "different OS and a download tool like wget. Let <em>remote host</em> mean "
8440 "the machine downloading the packages, and <em>target host</em> the one with "
8441 "bad or no connection."
8447 "This is achieved by creatively manipulating the APT configuration file. The "
8448 "essential premise to tell APT to look on a disc for it's archive files. Note "
8449 "that the disc should be formated with a filesystem that can handle long file "
8450 "names such as ext2, fat32 or vfat."
8453 #. type: <heading></heading>
8455 msgid "Using APT on both machines"
8458 #. type: <p><example>
8461 "APT being available on both machines gives the simplest configuration. The "
8462 "basic idea is to place a copy of the status file on the disc and use the "
8463 "remote machine to fetch the latest package files and decide which packages "
8464 "to download. The disk directory structure should look like:"
8467 #. type: <example></example>
8481 #. type: <heading></heading>
8483 msgid "The configuration file"
8489 "The configuration file should tell APT to store its files on the disc and to "
8490 "use the configuration files on the disc as well. The sources.list should "
8491 "contain the proper sites that you wish to use from the remote machine, and "
8492 "the status file should be a copy of <em>/var/lib/dpkg/status</em> from the "
8493 "<em>target host</em>. Please note, if you are using a local archive you must "
8494 "use copy URIs, the syntax is identical to file URIs."
8497 #. type: <p><example>
8500 "<em>apt.conf</em> must contain the necessary information to make APT use the "
8504 #. type: <example></example>
8510 " /* This is not necessary if the two machines are the same arch, it tells\n"
8511 " the remote APT what architecture the target machine is */\n"
8512 " Architecture \"i386\";\n"
8514 " Get::Download-Only \"true\";\n"
8519 " /* Use the disc for state information and redirect the status file from\n"
8520 " the /var/lib/dpkg default */\n"
8521 " State \"/disc/\";\n"
8522 " State::status \"status\";\n"
8524 " // Binary caches will be stored locally\n"
8525 " Cache::archives \"/disc/archives/\";\n"
8526 " Cache \"/tmp/\";\n"
8528 " // Location of the source list.\n"
8529 " Etc \"/disc/\";\n"
8533 #. type: </example></p>
8536 "More details can be seen by examining the apt.conf man page and the sample "
8537 "configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>."
8540 #. type: <p><example>
8543 "On the target machine the first thing to do is mount the disc and copy <em>/"
8544 "var/lib/dpkg/status</em> to it. You will also need to create the directories "
8545 "outlined in the Overview, <em>archives/partial/</em> and <em>lists/partial/</"
8546 "em>. Then take the disc to the remote machine and configure the sources."
8547 "list. On the remote machine execute the following:"
8550 #. type: <example></example>
8554 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
8555 " # apt-get update\n"
8556 " [ APT fetches the package files ]\n"
8557 " # apt-get dist-upgrade\n"
8558 " [ APT fetches all the packages needed to upgrade the target machine ]"
8561 #. type: </example></p>
8564 "The dist-upgrade command can be replaced with any other standard APT "
8565 "commands, particularly dselect-upgrade. You can even use an APT front end "
8566 "such as <em>dselect</em>. However this presents a problem in communicating "
8567 "your selections back to the local computer."
8570 #. type: <p><example>
8573 "Now the disc contains all of the index files and archives needed to upgrade "
8574 "the target machine. Take the disc back and run:"
8577 #. type: <example></example>
8581 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
8582 " # apt-get check\n"
8583 " [ APT generates a local copy of the cache files ]\n"
8584 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
8585 " [ Or any other APT command ]"
8591 "It is necessary for proper function to re-specify the status file to be the "
8592 "local one. This is very important!"
8598 "If you are using dselect you can do the very risky operation of copying disc/"
8599 "status to /var/lib/dpkg/status so that any selections you made on the remote "
8600 "machine are updated. I highly recommend that people only make selections on "
8601 "the local machine - but this may not always be possible. DO NOT copy the "
8602 "status file if dpkg or APT have been run in the mean time!!"
8605 #. type: <heading></heading>
8607 msgid "Using APT and wget"
8613 "<em>wget</em> is a popular and portable download tool that can run on nearly "
8614 "any machine. Unlike the method above this requires that the Debian machine "
8615 "already has a list of available packages."
8621 "The basic idea is to create a disc that has only the archive files "
8622 "downloaded from the remote site. This is done by using the --print-uris "
8623 "option to apt-get and then preparing a wget script to actually fetch the "
8627 #. type: <heading></heading>
8633 #. type: <p><example>
8636 "Unlike the previous technique no special configuration files are required. "
8637 "We merely use the standard APT commands to generate the file list."
8640 #. type: <example></example>
8644 " # apt-get dist-upgrade \n"
8645 " [ Press no when prompted, make sure you are happy with the actions ]\n"
8646 " # apt-get -qq --print-uris dist-upgrade > uris\n"
8647 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
8650 #. type: </example></p>
8653 "Any command other than dist-upgrade could be used here, including dselect-"
8660 "The /disc/wget-script file will now contain a list of wget commands to "
8661 "execute in order to fetch the necessary archives. This script should be run "
8662 "with the current directory as the disc's mount point so as to save the "
8663 "output on the disc."
8666 #. type: <p><example>
8668 msgid "The remote machine would do something like"
8671 #. type: <example></example>
8676 " # sh -x ./wget-script\n"
8680 #. type: </example><example>
8683 "Once the archives are downloaded and the disc returned to the Debian machine "
8684 "installation can proceed using,"
8687 #. type: <example></example>
8690 msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
8693 #. type: </example></p>
8695 msgid "Which will use the already fetched archives on the disc."
8699 #~ msgid "<filename>/etc/apt/trusted.gpg</filename>"
8700 #~ msgstr "<filename>/etc/apt.conf</>"
8703 #~ msgid "/usr/share/doc/apt/"
8704 #~ msgstr "/usr/share/doc/apt/"
8707 #~ msgid "<filename>&docdir;examples/configure-index.gz</>"
8708 #~ msgstr "<filename>&docdir;examples/configure-index.gz</>"
8711 #~ msgid "/var/lib/apt"
8712 #~ msgstr "/var/lib/apt"
8715 #~ msgid "/var/cache/apt"
8716 #~ msgstr "/var/cache/apt"
8721 #~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8722 #~ " <ListItem><Para>\n"
8723 #~ " Show a short usage summary.\n"
8724 #~ " </VarListEntry>\n"
8726 #~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8727 #~ " <ListItem><Para>\n"
8728 #~ " Show the program version.\n"
8729 #~ " </VarListEntry>\n"
8731 #~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8732 #~ " <ListItem><Para>\n"
8733 #~ " Configuration File; Specify a configuration file to use. \n"
8734 #~ " The program will read the default configuration file and then this \n"
8735 #~ " configuration file. See &apt-conf; for syntax information. \n"
8736 #~ " </VarListEntry>\n"
8738 #~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8739 #~ " <ListItem><Para>\n"
8740 #~ " Set a Configuration Option; This will set an arbitary "
8741 #~ "configuration \n"
8742 #~ " option. The syntax is <option>-o Foo::Bar=bar</>.\n"
8743 #~ " </VarListEntry>\n"
8746 #~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
8747 #~ " <ListItem><Para>\n"
8748 #~ " Exibe um pequeno resumo de uso.\n"
8749 #~ " </VarListEntry>\n"
8751 #~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
8752 #~ " <ListItem><Para>\n"
8753 #~ " Exibe a versão do programa.\n"
8754 #~ " </VarListEntry>\n"
8756 #~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
8757 #~ " <ListItem><Para>\n"
8758 #~ " Arquivo de Configuração; Especifica um arquivo de configuração\n"
8759 #~ " a ser usado. O programa irá ler o arquivo de configuração padrão\n"
8760 #~ " e então este arquivo de configuração. Consulte &apt-conf; para\n"
8761 #~ " informação de sintaxe. \n"
8762 #~ " </VarListEntry>\n"
8764 #~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
8765 #~ " <ListItem><Para>\n"
8766 #~ " Defie uma Opção de Configuração; Esta opção irá definir uma opção\n"
8767 #~ " de configuração arbitrária. A sintaxe é <option>-o Foo::Bar=bar</>.\n"
8768 #~ " </VarListEntry>\n"
8771 #~ msgid "<manvolnum>5</manvolnum>"
8772 #~ msgstr "<manvolnum>5</manvolnum>"
8775 #~ msgid "</programlisting> Then:"
8776 #~ msgstr "</programlisting> Então :"
8779 #~ msgid "&manbugs; &manauthor;"
8780 #~ msgstr "&manbugs; &manauthor;"