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>
10 "Project-Id-Version: apt\n"
11 "Report-Msgid-Bugs-To: APT Development Team <deity@lists.debian.org>\n"
12 "POT-Creation-Date: 2014-08-28 00:20+0000\n"
13 "PO-Revision-Date: 2004-09-20 17:02+0000\n"
14 "Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
15 "Language-Team: <debian-l10n-portuguese@lists.debian.org>\n"
18 "Content-Type: text/plain; charset=UTF-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
25 "<!ENTITY apt-author.team \"\n"
27 " <othername>APT team</othername>\n"
28 " <contrib></contrib>\n"
37 "<!ENTITY apt-qapage \"\n"
39 "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
48 "<!-- Boiler plate Bug reporting section -->\n"
49 "<!ENTITY manbugs \"\n"
50 " <refsect1><title>Bugs</title>\n"
51 " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>.\n"
52 " If you wish to report a bug in APT, please see\n"
53 " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
54 " &reportbug; command.\n"
60 " <RefSect1><Title>Bugs</>\n"
62 " Consulte a <ulink url='http://bugs.debian.org/apt'>página de bugs do APT</>.\n"
63 " Caso você queira relatar um bug no APT, por favor consulte o arquivo\n"
64 " <filename>/usr/share/doc/debian/bug-reporting.txt</> ou o comando &reportbug;.\n"
71 "<!-- Boiler plate Author section -->\n"
72 "<!ENTITY manauthor \"\n"
73 " <refsect1><title>Author</title>\n"
74 " <para>APT was written by the APT team <email>apt@packages.debian.org</email>.\n"
80 " <RefSect1><Title>Author</>\n"
82 " O APT foi escrito pela equipe APT <email>apt@packages.debian.org</>.\n"
89 "<!-- Should be used within the option section of the text to\n"
90 " put in the blurb about -h, -v, -c and -o -->\n"
91 "<!ENTITY apt-commonoptions \"\n"
92 " <varlistentry><term><option>-h</option></term>\n"
93 " <term><option>--help</option></term>\n"
94 " <listitem><para>Show a short usage summary.\n"
105 " <term><option>-v</option></term>\n"
106 " <term><option>--version</option></term>\n"
107 " <listitem><para>Show the program version.\n"
118 " <term><option>-c</option></term>\n"
119 " <term><option>--config-file</option></term>\n"
120 " <listitem><para>Configuration File; Specify a configuration file to use. \n"
121 " The program will read the default configuration file and then this \n"
122 " configuration file. If configuration settings need to be set before the\n"
123 " default configuration files are parsed specify a file with the <envar>APT_CONFIG</envar>\n"
124 " environment variable. See &apt-conf; for syntax information.\n"
135 " <term><option>-o</option></term>\n"
136 " <term><option>--option</option></term>\n"
137 " <listitem><para>Set a Configuration Option; This will set an arbitrary\n"
138 " configuration option. The syntax is <option>-o Foo::Bar=bar</option>.\n"
139 " <option>-o</option> and <option>--option</option> can be used multiple\n"
140 " times to set different options.\n"
151 "<!-- Should be used within the option section of the text to\n"
152 " put in the blurb about -h, -v, -c and -o -->\n"
153 "<!ENTITY apt-cmdblurb \"\n"
154 " <para>All command line options may be set using the configuration file, the\n"
155 " descriptions indicate the configuration option to set. For boolean\n"
156 " options you can override the config file by using something like \n"
157 " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
158 " or several other variations.\n"
164 " Todas as opções de linha de comando podem ser definidas usando o\n"
165 " arquivo de configuração, as descrições indicam a opção de configuração\n"
166 " a ser definida. Para opções booleanas você pode sobrepor o arquivo de\n"
167 " configuração usando algo como <option/-f-/,<option/--no-f/,\n"
168 " <option/-f=no/ ou diversas outras variantes.\n"
175 "<!ENTITY file-aptconf \"\n"
176 " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
177 " <listitem><para>APT configuration file.\n"
178 " Configuration Item: <literal>Dir::Etc::Main</literal>.</para></listitem>\n"
186 " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
187 " <listitem><para>APT configuration file fragments.\n"
188 " Configuration Item: <literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
197 "<!ENTITY file-cachearchives \"\n"
198 " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
199 " <listitem><para>Storage area for retrieved package files.\n"
200 " Configuration Item: <literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
208 " <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
209 " <listitem><para>Storage area for package files in transit.\n"
210 " Configuration Item: <literal>Dir::Cache::Archives</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>\n"
219 "<!ENTITY file-preferences \"\n"
220 " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
221 " <listitem><para>Version preferences file.\n"
222 " This is where you would specify "pinning",\n"
223 " i.e. a preference to get certain packages\n"
224 " from a separate source\n"
225 " or from a different version of a distribution.\n"
226 " Configuration Item: <literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
234 " <varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
235 " <listitem><para>File fragments for the version preferences.\n"
236 " Configuration Item: <literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
245 "<!ENTITY file-sourceslist \"\n"
246 " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
247 " <listitem><para>Locations to fetch packages from.\n"
248 " Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
256 " <varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
257 " <listitem><para>File fragments for locations to fetch packages from.\n"
258 " Configuration Item: <literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
267 "<!ENTITY file-statelists \"\n"
268 " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
269 " <listitem><para>Storage area for state information for each package resource specified in\n"
271 " Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem>\n"
279 " <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
280 " <listitem><para>Storage area for state information in transit.\n"
281 " Configuration Item: <literal>Dir::State::Lists</literal> (<filename>partial</filename> will be implicitly appended)</para></listitem>\n"
290 "<!ENTITY file-trustedgpg \"\n"
291 " <varlistentry><term><filename>/etc/apt/trusted.gpg</filename></term>\n"
292 " <listitem><para>Keyring of local trusted keys, new keys will be added here.\n"
293 " Configuration Item: <literal>Dir::Etc::Trusted</literal>.</para></listitem>\n"
301 " <varlistentry><term><filename>/etc/apt/trusted.gpg.d/</filename></term>\n"
302 " <listitem><para>File fragments for the trusted keys, additional keyrings can\n"
303 " be stored here (by other packages or the administrator).\n"
304 " Configuration Item <literal>Dir::Etc::TrustedParts</literal>.</para></listitem>\n"
313 "<!ENTITY file-extended_states \"\n"
314 " <varlistentry><term><filename>/var/lib/apt/extended_states</filename></term>\n"
315 " <listitem><para>Status list of auto-installed packages.\n"
316 " Configuration Item: <literal>Dir::State::extended_states</literal>.\n"
317 " </para></listitem>\n"
326 "<!-- TRANSLATOR: This is the section header for the following paragraphs - comparable\n"
327 " to the other headers like NAME and DESCRIPTION and should therefore be uppercase. -->\n"
328 "<!ENTITY translation-title \"TRANSLATION\">\n"
329 msgstr "<!ENTITY translation-title \"TRADUÇÃO\">\n"
335 "<!-- TRANSLATOR: This is a placeholder. You should write here who has contributed\n"
336 " to the translation in the past, who is responsible now and maybe further information\n"
337 " specially related to your translation. -->\n"
338 "<!ENTITY translation-holder \"\n"
339 " The english translation was done by John Doe <email>john@doe.org</email> in 2009,\n"
340 " 2010 and Daniela Acme <email>daniela@acme.us</email> in 2010 together with the\n"
341 " Debian Dummy l10n Team <email>debian-l10n-dummy@lists.debian.org</email>.\n"
344 "<!ENTITY translation-holder \"\n"
345 " Esta página de manual foi traduzida para o Português do Brasil por\n"
346 " André Luís Lopes <email>andrelop@ig.com.br</email>.\n"
353 "<!-- TRANSLATOR: As a translation is allowed to have 20% of untranslated/fuzzy strings\n"
354 " in a shipped manpage newer/modified paragraphs will maybe appear in english in\n"
355 " the generated manpage. This sentence is therefore here to tell the reader that this\n"
356 " is not a mistake by the translator - obviously the target is that at least for stable\n"
357 " releases this sentence is not needed. :) -->\n"
358 "<!ENTITY translation-english \"\n"
359 " Note that this translated document may contain untranslated parts.\n"
360 " This is done on purpose, to avoid losing content when the\n"
361 " translation is lagging behind the original content.\n"
368 "<!-- TRANSLATOR: used as in -o=config_string e.g. -o=Debug::"
369 "pkgProblemResolver=1 --> <!ENTITY synopsis-config-string \"config_string\">"
375 "<!-- TRANSLATOR: used as in -c=config_file e.g. -c=./apt.conf --> <!ENTITY "
376 "synopsis-config-file \"config_file\">"
382 "<!-- TRANSLATOR: used as in -t=target_release or pkg/target_release e.g. -"
383 "t=squeeze apt/experimental --> <!ENTITY synopsis-target-release "
384 "\"target_release\">"
390 "<!-- TRANSLATOR: used as in -a=architecture e.g. -a=armel --> <!ENTITY "
391 "synopsis-architecture \"architecture\">"
397 "<!-- TRANSLATOR: used as in apt-get install pkg e.g. apt-get install awesome "
398 "--> <!ENTITY synopsis-pkg \"pkg\">"
404 "<!-- TRANSLATOR: used as in pkg=pkg_version_number e.g. apt=0.8.15 --> <!"
405 "ENTITY synopsis-pkg-ver-number \"pkg_version_number\">"
411 "<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache "
412 "pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">"
418 "<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search "
419 "awesome --> <!ENTITY synopsis-regex \"regex\">"
425 "<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom -"
426 "d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">"
432 "<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory e.g. "
433 "apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory "
434 "\"temporary_directory\">"
440 "<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY "
441 "synopsis-filename \"filename\">"
447 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
448 "packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">"
454 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
455 "packages path override-file pathprefix --> <!ENTITY synopsis-override "
462 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
463 "packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix "
470 "<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive "
471 "generate section --> <!ENTITY synopsis-section \"section\">"
477 "<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export "
478 "473041FA --> <!ENTITY synopsis-keyid \"keyid\">"
481 #. type: Content of: <refentry><refmeta><manvolnum>
482 #: apt.8.xml:21 apt-get.8.xml:22 apt-cache.8.xml:22 apt-key.8.xml:21
483 #: apt-mark.8.xml:22 apt-secure.8.xml:21 apt-cdrom.8.xml:21
484 #: apt-config.8.xml:22
488 #. type: Content of: <refentry><refmeta><refmiscinfo>
489 #: apt.8.xml:22 apt-get.8.xml:23 apt-cache.8.xml:23 apt-key.8.xml:22
490 #: apt-mark.8.xml:23 apt-secure.8.xml:22 apt-cdrom.8.xml:22
491 #: apt-config.8.xml:23 apt.conf.5.xml:28 apt_preferences.5.xml:22
492 #: sources.list.5.xml:23 apt-extracttemplates.1.xml:23 apt-sortpkgs.1.xml:23
493 #: apt-ftparchive.1.xml:23
497 #. type: Content of: <refentry><refnamediv><refpurpose>
499 msgid "command-line interface"
502 #. type: Content of: <refentry><refsect1><title>
503 #: apt.8.xml:33 apt-get.8.xml:34 apt-cache.8.xml:34 apt-key.8.xml:33
504 #: apt-mark.8.xml:34 apt-secure.8.xml:46 apt-cdrom.8.xml:33
505 #: apt-config.8.xml:34 apt.conf.5.xml:37 apt_preferences.5.xml:32
506 #: sources.list.5.xml:32 apt-extracttemplates.1.xml:34 apt-sortpkgs.1.xml:34
507 #: apt-ftparchive.1.xml:34
512 #. type: Content of: <refentry><refsect1><para>
515 "<command>apt</command> (Advanced Package Tool) is the command-line tool for "
516 "handling packages. It provides a commandline interface for the package "
517 "management of the system. See also &apt-get; and &apt-cache; for more low-"
518 "level command options."
521 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
524 "<literal>list</literal> is used to display a list of packages. It supports "
525 "shell pattern for matching package names and the following options: "
526 "<option>--installed</option>, <option>--upgradable</option>, <option>--all-"
527 "versions</option> are supported."
530 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
533 "<literal>search</literal> searches for the given term(s) and display "
537 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
540 "<literal>show</literal> shows the package information for the given "
544 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
547 "<literal>install</literal> is followed by one or more package names desired "
548 "for installation or upgrading."
551 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
552 #: apt.8.xml:71 apt-get.8.xml:112
554 "A specific version of a package can be selected for installation by "
555 "following the package name with an equals and the version of the package to "
556 "select. This will cause that version to be located and selected for install. "
557 "Alternatively a specific distribution can be selected by following the "
558 "package name with a slash and the version of the distribution or the Archive "
559 "name (stable, testing, unstable)."
562 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
563 #: apt.8.xml:81 apt-get.8.xml:147
565 "<literal>remove</literal> is identical to <literal>install</literal> except "
566 "that packages are removed instead of installed. Note that removing a package "
567 "leaves its configuration files on the system. If a plus sign is appended to "
568 "the package name (with no intervening space), the identified package will be "
569 "installed instead of removed."
572 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
575 "<literal>edit-sources</literal> lets you edit your sources.list file and "
576 "provides basic sanity checks."
579 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
582 "<literal>update</literal> is used to resynchronize the package index files "
583 "from their sources."
586 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
589 "<literal>upgrade</literal> is used to install the newest versions of all "
590 "packages currently installed on the system from the sources enumerated in "
591 "<filename>/etc/apt/sources.list</filename>. New packages will be installed, "
592 "but existing packages will never be removed."
595 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
598 "<literal>full-upgrade</literal> performs the function of upgrade but may "
599 "also remove installed packages if that is required in order to resolve a "
603 #. type: Content of: <refentry><refsect1><title>
604 #: apt.8.xml:120 apt-get.8.xml:251 apt-cache.8.xml:244 apt-mark.8.xml:104
605 #: apt-config.8.xml:80 apt-extracttemplates.1.xml:48 apt-sortpkgs.1.xml:44
606 #: apt-ftparchive.1.xml:500
610 #. type: Content of: <refentry><refsect1><title>
615 #. type: Content of: <refentry><refsect1><para>
618 "The &apt; commandline is designed as a end-user tool and it may change the "
619 "output between versions. While it tries to not break backward compatibility "
620 "there is no guarantee for it either. All features of &apt; are available in "
621 "&apt-cache; and &apt-get; via APT options. Please prefer using these "
622 "commands in your scripts."
625 #. type: Content of: <refentry><refsect1><title>
627 msgid "Differences to &apt-get;"
630 #. type: Content of: <refentry><refsect1><para>
633 "The <command>apt</command> command is meant to be pleasant for end users and "
634 "does not need to be backward compatible like &apt-get;. Therefore some "
635 "options are different:"
638 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
641 msgid "The option <literal>DPkg::Progress-Fancy</literal> is enabled."
642 msgstr "a linha <literal>Package:</literal>"
644 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
647 msgid "The option <literal>APT::Color</literal> is enabled."
648 msgstr "a linha <literal>Component:</literal>"
650 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
653 "A new <literal>list</literal> command is available similar to <literal>dpkg "
657 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
661 "The option <literal>upgrade</literal> has <literal>--with-new-pkgs</literal> "
662 "enabled by default."
663 msgstr "a linha <literal>Archive:</literal>"
665 #. type: Content of: <refentry><refsect1><title>
666 #: apt.8.xml:170 apt-get.8.xml:552 apt-cache.8.xml:346 apt-key.8.xml:191
667 #: apt-mark.8.xml:127 apt-secure.8.xml:187 apt-cdrom.8.xml:148
668 #: apt-config.8.xml:105 apt.conf.5.xml:1222 apt_preferences.5.xml:701
669 #: sources.list.5.xml:274 apt-extracttemplates.1.xml:66 apt-sortpkgs.1.xml:59
670 #: apt-ftparchive.1.xml:603
673 msgstr "Consulte também"
675 #. type: Content of: <refentry><refsect1><para>
678 "&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT "
679 "User's guide in &guidesdir;, &apt-preferences;, the APT Howto."
682 #. type: Content of: <refentry><refsect1><title>
683 #: apt.8.xml:176 apt-get.8.xml:558 apt-cache.8.xml:351 apt-mark.8.xml:131
684 #: apt-cdrom.8.xml:153 apt-config.8.xml:110 apt-extracttemplates.1.xml:70
685 #: apt-sortpkgs.1.xml:63 apt-ftparchive.1.xml:607
689 #. type: Content of: <refentry><refsect1><para>
692 "<command>apt</command> returns zero on normal operation, decimal 100 on "
696 #. type: Content of: <refentry><refnamediv><refpurpose>
698 msgid "APT package handling utility -- command-line interface"
701 #. type: Content of: <refentry><refsect1><para>
704 "<command>apt-get</command> is the command-line tool for handling packages, "
705 "and may be considered the user's \"back-end\" to other tools using the APT "
706 "library. Several \"front-end\" interfaces exist, such as &aptitude;, "
707 "&synaptic; and &wajig;."
710 #. type: Content of: <refentry><refsect1><para>
711 #: apt-get.8.xml:40 apt-cache.8.xml:40 apt-cdrom.8.xml:47 apt-config.8.xml:40
712 #: apt-ftparchive.1.xml:50
714 "Unless the <option>-h</option>, or <option>--help</option> option is given, "
715 "one of the commands below must be present."
718 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
721 "<literal>update</literal> is used to resynchronize the package index files "
722 "from their sources. The indexes of available packages are fetched from the "
723 "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
724 "example, when using a Debian archive, this command retrieves and scans the "
725 "<filename>Packages.gz</filename> files, so that information about new and "
726 "updated packages is available. An <literal>update</literal> should always be "
727 "performed before an <literal>upgrade</literal> or <literal>dist-upgrade</"
728 "literal>. Please be aware that the overall progress meter will be incorrect "
729 "as the size of the package files cannot be known in advance."
732 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
735 "<literal>upgrade</literal> is used to install the newest versions of all "
736 "packages currently installed on the system from the sources enumerated in "
737 "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
738 "with new versions available are retrieved and upgraded; under no "
739 "circumstances are currently installed packages removed, or packages not "
740 "already installed retrieved and installed. New versions of currently "
741 "installed packages that cannot be upgraded without changing the install "
742 "status of another package will be left at their current version. An "
743 "<literal>update</literal> must be performed first so that <command>apt-get</"
744 "command> knows that new versions of packages are available."
747 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
750 "<literal>dist-upgrade</literal> in addition to performing the function of "
751 "<literal>upgrade</literal>, also intelligently handles changing dependencies "
752 "with new versions of packages; <command>apt-get</command> has a \"smart\" "
753 "conflict resolution system, and it will attempt to upgrade the most "
754 "important packages at the expense of less important ones if necessary. The "
755 "<literal>dist-upgrade</literal> command may therefore remove some packages. "
756 "The <filename>/etc/apt/sources.list</filename> file contains a list of "
757 "locations from which to retrieve desired package files. See also &apt-"
758 "preferences; for a mechanism for overriding the general settings for "
759 "individual packages."
762 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
765 "<literal>dselect-upgrade</literal> is used in conjunction with the "
766 "traditional Debian packaging front-end, &dselect;. <literal>dselect-upgrade</"
767 "literal> follows the changes made by &dselect; to the <literal>Status</"
768 "literal> field of available packages, and performs the actions necessary to "
769 "realize that state (for instance, the removal of old and the installation of "
773 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
776 "<literal>install</literal> is followed by one or more packages desired for "
777 "installation or upgrading. Each package is a package name, not a fully "
778 "qualified filename (for instance, in a Debian system, <package>apt-utils</"
779 "package> would be the argument provided, not <filename>apt-utils_&apt-"
780 "product-version;_amd64.deb</filename>). All packages required by the "
781 "package(s) specified for installation will also be retrieved and installed. "
782 "The <filename>/etc/apt/sources.list</filename> file is used to locate the "
783 "desired packages. If a hyphen is appended to the package name (with no "
784 "intervening space), the identified package will be removed if it is "
785 "installed. Similarly a plus sign can be used to designate a package to "
786 "install. These latter features may be used to override decisions made by apt-"
787 "get's conflict resolution system."
790 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
793 "Both of the version selection mechanisms can downgrade packages and must be "
797 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
800 "This is also the target to use if you want to upgrade one or more already-"
801 "installed packages without upgrading every package you have on your system. "
802 "Unlike the \"upgrade\" target, which installs the newest version of all "
803 "currently installed packages, \"install\" will install the newest version of "
804 "only the package(s) specified. Simply provide the name of the package(s) "
805 "you wish to upgrade, and if a newer version is available, it (and its "
806 "dependencies, as described above) will be downloaded and installed."
809 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
812 "Finally, the &apt-preferences; mechanism allows you to create an alternative "
813 "installation policy for individual packages."
816 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
819 "If no package matches the given expression and the expression contains one "
820 "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
821 "it is applied to all package names in the database. Any matches are then "
822 "installed (or removed). Note that matching is done by substring so 'lo.*' "
823 "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
824 "expression with a '^' or '$' character, or create a more specific regular "
828 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
831 "<literal>purge</literal> is identical to <literal>remove</literal> except "
832 "that packages are removed and purged (any configuration files are deleted "
836 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
839 "<literal>source</literal> causes <command>apt-get</command> to fetch source "
840 "packages. APT will examine the available packages to decide which source "
841 "package to fetch. It will then find and download into the current directory "
842 "the newest available version of that source package while respecting the "
843 "default release, set with the option <literal>APT::Default-Release</"
844 "literal>, the <option>-t</option> option or per package with the "
845 "<literal>pkg/release</literal> syntax, if possible."
848 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
851 "Source packages are tracked separately from binary packages via <literal>deb-"
852 "src</literal> lines in the &sources-list; file. This means that you will "
853 "need to add such a line for each repository you want to get sources from; "
854 "otherwise you will probably get either the wrong (too old/too new) source "
855 "versions or none at all."
858 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
861 "If the <option>--compile</option> option is specified then the package will "
862 "be compiled to a binary .deb using <command>dpkg-buildpackage</command> for "
863 "the architecture as defined by the <command>--host-architecture</command> "
864 "option. If <option>--download-only</option> is specified then the source "
865 "package will not be unpacked."
868 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
871 "A specific source version can be retrieved by postfixing the source name "
872 "with an equals and then the version to fetch, similar to the mechanism used "
873 "for the package files. This enables exact matching of the source package "
874 "name and version, implicitly enabling the <literal>APT::Get::Only-Source</"
878 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
881 "Note that source packages are not installed and tracked in the "
882 "<command>dpkg</command> database like binary packages; they are simply "
883 "downloaded to the current directory, like source tarballs."
886 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
889 "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
890 "attempt to satisfy the build dependencies for a source package. By default "
891 "the dependencies are satisfied to build the package natively. If desired a "
892 "host-architecture can be specified with the <option>--host-architecture</"
893 "option> option instead."
896 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
899 "<literal>check</literal> is a diagnostic tool; it updates the package cache "
900 "and checks for broken dependencies."
903 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
906 "<literal>download</literal> will download the given binary package into the "
910 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
913 "<literal>clean</literal> clears out the local repository of retrieved "
914 "package files. It removes everything but the lock file from "
915 "<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/archives/"
916 "partial/</filename>."
919 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
922 "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
923 "local repository of retrieved package files. The difference is that it only "
924 "removes package files that can no longer be downloaded, and are largely "
925 "useless. This allows a cache to be maintained over a long period without it "
926 "growing out of control. The configuration option <literal>APT::Clean-"
927 "Installed</literal> will prevent installed packages from being erased if it "
931 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
934 "<literal>autoremove</literal> is used to remove packages that were "
935 "automatically installed to satisfy dependencies for other packages and are "
936 "now no longer needed."
939 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
942 "<literal>changelog</literal> downloads a package changelog and displays it "
943 "through <command>sensible-pager</command>. The server name and base "
944 "directory is defined in the <literal>APT::Changelogs::Server</literal> "
945 "variable (e.g. <ulink url=\"http://packages.debian.org/changelogs\">packages."
946 "debian.org/changelogs</ulink> for Debian or <ulink url=\"http://changelogs."
947 "ubuntu.com/changelogs\">changelogs.ubuntu.com/changelogs</ulink> for "
948 "Ubuntu). By default it displays the changelog for the version that is "
949 "installed. However, you can specify the same options as for the "
950 "<option>install</option> command."
953 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
956 "Do not consider recommended packages as a dependency for installing. "
957 "Configuration Item: <literal>APT::Install-Recommends</literal>."
960 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
963 "Consider suggested packages as a dependency for installing. Configuration "
964 "Item: <literal>APT::Install-Suggests</literal>."
967 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
970 "Download only; package files are only retrieved, not unpacked or installed. "
971 "Configuration Item: <literal>APT::Get::Download-Only</literal>."
974 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
977 "Fix; attempt to correct a system with broken dependencies in place. This "
978 "option, when used with install/remove, can omit any packages to permit APT "
979 "to deduce a likely solution. If packages are specified, these have to "
980 "completely correct the problem. The option is sometimes necessary when "
981 "running APT for the first time; APT itself does not allow broken package "
982 "dependencies to exist on a system. It is possible that a system's dependency "
983 "structure can be so corrupt as to require manual intervention (which usually "
984 "means using <command>dpkg --remove</command> to eliminate some of the "
985 "offending packages). Use of this option together with <option>-m</option> "
986 "may produce an error in some situations. Configuration Item: <literal>APT::"
987 "Get::Fix-Broken</literal>."
990 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
993 "Ignore missing packages; if packages cannot be retrieved or fail the "
994 "integrity check after retrieval (corrupted package files), hold back those "
995 "packages and handle the result. Use of this option together with <option>-f</"
996 "option> may produce an error in some situations. If a package is selected "
997 "for installation (particularly if it is mentioned on the command line) and "
998 "it could not be downloaded then it will be silently held back. "
999 "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
1002 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1003 #: apt-get.8.xml:297
1005 "Disables downloading of packages. This is best used with <option>--ignore-"
1006 "missing</option> to force APT to use only the .debs it has already "
1007 "downloaded. Configuration Item: <literal>APT::Get::Download</literal>."
1010 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1011 #: apt-get.8.xml:304
1013 "Quiet; produces output suitable for logging, omitting progress indicators. "
1014 "More q's will produce more quiet up to a maximum of 2. You can also use "
1015 "<option>-q=#</option> to set the quiet level, overriding the configuration "
1016 "file. Note that quiet level 2 implies <option>-y</option>; you should never "
1017 "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
1018 "may decide to do something you did not expect. Configuration Item: "
1019 "<literal>quiet</literal>."
1022 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1023 #: apt-get.8.xml:319
1025 "No action; perform a simulation of events that would occur but do not "
1026 "actually change the system. Configuration Item: <literal>APT::Get::"
1027 "Simulate</literal>."
1030 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1031 #: apt-get.8.xml:323
1033 "Simulated runs performed as a user will automatically deactivate locking "
1034 "(<literal>Debug::NoLocking</literal>), and if the option <literal>APT::Get::"
1035 "Show-User-Simulation-Note</literal> is set (as it is by default) a notice "
1036 "will also be displayed indicating that this is only a simulation. Runs "
1037 "performed as root do not trigger either NoLocking or the notice - superusers "
1038 "should know what they are doing without further warnings from <literal>apt-"
1042 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1043 #: apt-get.8.xml:331
1045 "Simulated runs print out a series of lines, each representing a "
1046 "<command>dpkg</command> operation: configure (<literal>Conf</literal>), "
1047 "remove (<literal>Remv</literal>) or unpack (<literal>Inst</literal>). "
1048 "Square brackets indicate broken packages, and empty square brackets indicate "
1049 "breaks that are of no consequence (rare)."
1052 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1053 #: apt-get.8.xml:339
1055 "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
1056 "non-interactively. If an undesirable situation, such as changing a held "
1057 "package, trying to install a unauthenticated package or removing an "
1058 "essential package occurs then <literal>apt-get</literal> will abort. "
1059 "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
1062 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1063 #: apt-get.8.xml:347
1065 "Automatic \"no\" to all prompts. Configuration Item: <literal>APT::Get::"
1066 "Assume-No</literal>."
1069 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1070 #: apt-get.8.xml:352
1072 "Show upgraded packages; print out a list of all packages that are to be "
1073 "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
1076 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1077 #: apt-get.8.xml:358
1079 "Show full versions for upgraded and installed packages. Configuration Item: "
1080 "<literal>APT::Get::Show-Versions</literal>."
1083 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1084 #: apt-get.8.xml:364
1086 "This option controls the architecture packages are built for by <command>apt-"
1087 "get source --compile</command> and how cross-builddependencies are "
1088 "satisfied. By default is it not set which means that the host architecture "
1089 "is the same as the build architecture (which is defined by <literal>APT::"
1090 "Architecture</literal>). Configuration Item: <literal>APT::Get::Host-"
1091 "Architecture</literal>."
1094 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1095 #: apt-get.8.xml:374
1097 "This option controls the activated build profiles for which a source package "
1098 "is built by <command>apt-get source --compile</command> and how build "
1099 "dependencies are satisfied. By default no build profile is active. More "
1100 "than one build profile can be activated at a time by concatenating them with "
1101 "a comma. Configuration Item: <literal>APT::Build-Profiles</literal>."
1104 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1105 #: apt-get.8.xml:385
1107 "Compile source packages after downloading them. Configuration Item: "
1108 "<literal>APT::Get::Compile</literal>."
1111 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1112 #: apt-get.8.xml:390
1114 "Ignore package holds; this causes <command>apt-get</command> to ignore a "
1115 "hold placed on a package. This may be useful in conjunction with "
1116 "<literal>dist-upgrade</literal> to override a large number of undesired "
1117 "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
1120 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1121 #: apt-get.8.xml:397
1123 "Allow installing new packages when used in conjunction with "
1124 "<literal>upgrade</literal>. This is useful if the update of a installed "
1125 "package requires new dependencies to be installed. Instead of holding the "
1126 "package back <literal>upgrade</literal> will upgrade the package and install "
1127 "the new dependencies. Note that <literal>upgrade</literal> with this option "
1128 "will never remove packages, only allow adding new ones. Configuration Item: "
1129 "<literal>APT::Get::Upgrade-Allow-New</literal>."
1132 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1133 #: apt-get.8.xml:409
1135 "Do not upgrade packages; when used in conjunction with <literal>install</"
1136 "literal>, <literal>no-upgrade</literal> will prevent packages on the command "
1137 "line from being upgraded if they are already installed. Configuration Item: "
1138 "<literal>APT::Get::Upgrade</literal>."
1141 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1142 #: apt-get.8.xml:416
1144 "Do not install new packages; when used in conjunction with <literal>install</"
1145 "literal>, <literal>only-upgrade</literal> will install upgrades for already "
1146 "installed packages only and ignore requests to install new packages. "
1147 "Configuration Item: <literal>APT::Get::Only-Upgrade</literal>."
1150 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1151 #: apt-get.8.xml:424
1153 "Force yes; this is a dangerous option that will cause apt to continue "
1154 "without prompting if it is doing something potentially harmful. It should "
1155 "not be used except in very special situations. Using <literal>force-yes</"
1156 "literal> can potentially destroy your system! Configuration Item: "
1157 "<literal>APT::Get::force-yes</literal>."
1160 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1161 #: apt-get.8.xml:432
1163 "Instead of fetching the files to install their URIs are printed. Each URI "
1164 "will have the path, the destination file name, the size and the expected MD5 "
1165 "hash. Note that the file name to write to will not always match the file "
1166 "name on the remote site! This also works with the <literal>source</literal> "
1167 "and <literal>update</literal> commands. When used with the <literal>update</"
1168 "literal> command the MD5 and size are not included, and it is up to the user "
1169 "to decompress any compressed files. Configuration Item: <literal>APT::Get::"
1170 "Print-URIs</literal>."
1173 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1174 #: apt-get.8.xml:443
1176 "Use purge instead of remove for anything that would be removed. An asterisk "
1177 "(\"*\") will be displayed next to packages which are scheduled to be purged. "
1178 "<option>remove --purge</option> is equivalent to the <option>purge</option> "
1179 "command. Configuration Item: <literal>APT::Get::Purge</literal>."
1182 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1183 #: apt-get.8.xml:451
1185 "Re-install packages that are already installed and at the newest version. "
1186 "Configuration Item: <literal>APT::Get::ReInstall</literal>."
1189 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1190 #: apt-get.8.xml:456
1192 "This option is on by default; use <literal>--no-list-cleanup</literal> to "
1193 "turn it off. When it is on, <command>apt-get</command> will automatically "
1194 "manage the contents of <filename>&statedir;/lists</filename> to ensure that "
1195 "obsolete files are erased. The only reason to turn it off is if you "
1196 "frequently change your sources list. Configuration Item: <literal>APT::Get::"
1197 "List-Cleanup</literal>."
1200 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1201 #: apt-get.8.xml:466
1203 "This option controls the default input to the policy engine; it creates a "
1204 "default pin at priority 990 using the specified release string. This "
1205 "overrides the general settings in <filename>/etc/apt/preferences</"
1206 "filename>. Specifically pinned packages are not affected by the value of "
1207 "this option. In short, this option lets you have simple control over which "
1208 "distribution packages will be retrieved from. Some common examples might be "
1209 "<option>-t '2.1*'</option>, <option>-t unstable</option> or <option>-t sid</"
1210 "option>. Configuration Item: <literal>APT::Default-Release</literal>; see "
1211 "also the &apt-preferences; manual page."
1214 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1215 #: apt-get.8.xml:481
1217 "Only perform operations that are 'trivial'. Logically this can be considered "
1218 "related to <option>--assume-yes</option>; where <option>--assume-yes</"
1219 "option> will answer yes to any prompt, <option>--trivial-only</option> will "
1220 "answer no. Configuration Item: <literal>APT::Get::Trivial-Only</literal>."
1223 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1224 #: apt-get.8.xml:488
1226 "If any packages are to be removed apt-get immediately aborts without "
1227 "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
1230 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1231 #: apt-get.8.xml:494
1233 "If the command is either <literal>install</literal> or <literal>remove</"
1234 "literal>, then this option acts like running the <literal>autoremove</"
1235 "literal> command, removing unused dependency packages. Configuration Item: "
1236 "<literal>APT::Get::AutomaticRemove</literal>."
1239 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1240 #: apt-get.8.xml:501
1242 "Only has meaning for the <literal>source</literal> and <literal>build-dep</"
1243 "literal> commands. Indicates that the given source names are not to be "
1244 "mapped through the binary table. This means that if this option is "
1245 "specified, these commands will only accept source package names as "
1246 "arguments, rather than accepting binary package names and looking up the "
1247 "corresponding source package. Configuration Item: <literal>APT::Get::Only-"
1251 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1252 #: apt-get.8.xml:512
1254 "Download only the diff, dsc, or tar file of a source archive. Configuration "
1255 "Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</"
1256 "literal>, and <literal>APT::Get::Tar-Only</literal>."
1259 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1260 #: apt-get.8.xml:518
1262 "Only process architecture-dependent build-dependencies. Configuration Item: "
1263 "<literal>APT::Get::Arch-Only</literal>."
1266 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1267 #: apt-get.8.xml:523
1269 "Ignore if packages can't be authenticated and don't prompt about it. This "
1270 "is useful for tools like pbuilder. Configuration Item: <literal>APT::Get::"
1271 "AllowUnauthenticated</literal>."
1274 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1275 #: apt-get.8.xml:529
1277 "Show user friendly progress information in the terminal window when packages "
1278 "are installed, upgraded or removed. For a machine parsable version of this "
1279 "data see README.progress-reporting in the apt doc directory. Configuration "
1280 "Item: <literal>Dpkg::Progress</literal> and <literal>Dpkg::Progress-Fancy</"
1284 #. type: Content of: <refentry><refsect1><title>
1285 #: apt-get.8.xml:542 apt-cache.8.xml:339 apt-key.8.xml:170 apt-mark.8.xml:121
1286 #: apt.conf.5.xml:1216 apt_preferences.5.xml:694
1290 #. type: Content of: <refentry><refsect1><para>
1291 #: apt-get.8.xml:553
1293 "&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, "
1294 "&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the "
1298 #. type: Content of: <refentry><refsect1><para>
1299 #: apt-get.8.xml:559
1301 "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
1305 #. type: Content of: <refentry><refnamediv><refpurpose>
1306 #: apt-cache.8.xml:29
1307 msgid "query the APT cache"
1310 #. type: Content of: <refentry><refsect1><para>
1311 #: apt-cache.8.xml:35
1313 "<command>apt-cache</command> performs a variety of operations on APT's "
1314 "package cache. <command>apt-cache</command> does not manipulate the state of "
1315 "the system but does provide operations to search and generate interesting "
1316 "output from the package metadata."
1319 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1320 #: apt-cache.8.xml:45
1322 "<literal>gencaches</literal> creates APT's package cache. This is done "
1323 "implicitly by all commands needing this cache if it is missing or outdated."
1326 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
1327 #: apt-cache.8.xml:49 apt-cache.8.xml:138 apt-cache.8.xml:159
1328 #: apt-cache.8.xml:181 apt-cache.8.xml:186 apt-cache.8.xml:202
1329 #: apt-cache.8.xml:220 apt-cache.8.xml:232
1330 msgid "&synopsis-pkg;"
1333 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1334 #: apt-cache.8.xml:50
1336 "<literal>showpkg</literal> displays information about the packages listed on "
1337 "the command line. Remaining arguments are package names. The available "
1338 "versions and reverse dependencies of each package listed are listed, as well "
1339 "as forward dependencies for each version. Forward (normal) dependencies are "
1340 "those packages upon which the package in question depends; reverse "
1341 "dependencies are those packages that depend upon the package in question. "
1342 "Thus, forward dependencies must be satisfied for a package, but reverse "
1343 "dependencies need not be. For instance, <command>apt-cache showpkg "
1344 "libreadline2</command> would produce output similar to the following:"
1347 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
1348 #: apt-cache.8.xml:62
1351 "Package: libreadline2\n"
1352 "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
1353 "Reverse Depends: \n"
1354 " libreadlineg2,libreadline2\n"
1355 " libreadline2-altdev,libreadline2\n"
1357 "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
1360 "Reverse Provides: \n"
1363 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1364 #: apt-cache.8.xml:74
1366 "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
1367 "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
1368 "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
1369 "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
1370 "installed; libreadlineg2 and libreadline2-altdev do not have to be "
1371 "installed. For the specific meaning of the remainder of the output it is "
1372 "best to consult the apt source code."
1375 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1376 #: apt-cache.8.xml:83
1378 "<literal>stats</literal> displays some statistics about the cache. No "
1379 "further arguments are expected. Statistics reported are:"
1382 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1383 #: apt-cache.8.xml:86
1385 "<literal>Total package names</literal> is the number of package names found "
1389 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1390 #: apt-cache.8.xml:90
1392 "<literal>Normal packages</literal> is the number of regular, ordinary "
1393 "package names; these are packages that bear a one-to-one correspondence "
1394 "between their names and the names used by other packages for them in "
1395 "dependencies. The majority of packages fall into this category."
1398 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1399 #: apt-cache.8.xml:96
1401 "<literal>Pure virtual packages</literal> is the number of packages that "
1402 "exist only as a virtual package name; that is, packages only \"provide\" the "
1403 "virtual package name, and no package actually uses the name. For instance, "
1404 "\"mail-transport-agent\" in the Debian system is a pure virtual package; "
1405 "several packages provide \"mail-transport-agent\", but there is no package "
1406 "named \"mail-transport-agent\"."
1409 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1410 #: apt-cache.8.xml:104
1412 "<literal>Single virtual packages</literal> is the number of packages with "
1413 "only one package providing a particular virtual package. For example, in the "
1414 "Debian system, \"X11-text-viewer\" is a virtual package, but only one "
1415 "package, xless, provides \"X11-text-viewer\"."
1418 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1419 #: apt-cache.8.xml:110
1421 "<literal>Mixed virtual packages</literal> is the number of packages that "
1422 "either provide a particular virtual package or have the virtual package name "
1423 "as the package name. For instance, in the Debian system, \"debconf\" is both "
1424 "an actual package, and provided by the debconf-tiny package."
1427 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1428 #: apt-cache.8.xml:117
1430 "<literal>Missing</literal> is the number of package names that were "
1431 "referenced in a dependency but were not provided by any package. Missing "
1432 "packages may be an evidence if a full distribution is not accessed, or if a "
1433 "package (real or virtual) has been dropped from the distribution. Usually "
1434 "they are referenced from Conflicts or Breaks statements."
1437 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1438 #: apt-cache.8.xml:124
1440 "<literal>Total distinct</literal> versions is the number of package versions "
1441 "found in the cache; this value is therefore at least equal to the number of "
1442 "total package names. If more than one distribution is being accessed (for "
1443 "instance, \"stable\" and \"unstable\"), this value can be considerably "
1444 "larger than the number of total package names."
1447 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
1448 #: apt-cache.8.xml:131
1450 "<literal>Total dependencies</literal> is the number of dependency "
1451 "relationships claimed by all of the packages in the cache."
1454 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1455 #: apt-cache.8.xml:139
1457 "<literal>showsrc</literal> displays all the source package records that "
1458 "match the given package names. All versions are shown, as well as all "
1459 "records that declare the name to be a binary package."
1462 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1463 #: apt-cache.8.xml:145
1465 "<literal>dump</literal> shows a short listing of every package in the cache. "
1466 "It is primarily for debugging."
1469 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1470 #: apt-cache.8.xml:150
1472 "<literal>dumpavail</literal> prints out an available list to stdout. This is "
1473 "suitable for use with &dpkg; and is used by the &dselect; method."
1476 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1477 #: apt-cache.8.xml:155
1479 "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
1483 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1484 #: apt-cache.8.xml:160
1486 "<literal>show</literal> performs a function similar to <command>dpkg --print-"
1487 "avail</command>; it displays the package records for the named packages."
1490 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
1491 #: apt-cache.8.xml:165
1492 msgid "&synopsis-regex;"
1495 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1496 #: apt-cache.8.xml:166
1498 "<literal>search</literal> performs a full text search on all available "
1499 "package lists for the POSIX regex pattern given, see ®ex;. It searches "
1500 "the package names and the descriptions for an occurrence of the regular "
1501 "expression and prints out the package name and the short description, "
1502 "including virtual package names. If <option>--full</option> is given then "
1503 "output identical to <literal>show</literal> is produced for each matched "
1504 "package, and if <option>--names-only</option> is given then the long "
1505 "description is not searched, only the package name is."
1508 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1509 #: apt-cache.8.xml:177
1511 "Separate arguments can be used to specify multiple search patterns that are "
1515 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1516 #: apt-cache.8.xml:182
1518 "<literal>depends</literal> shows a listing of each dependency a package has "
1519 "and all the possible other packages that can fulfill that dependency."
1522 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1523 #: apt-cache.8.xml:187
1525 "<literal>rdepends</literal> shows a listing of each reverse dependency a "
1529 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1530 #: apt-cache.8.xml:191
1532 msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>"
1534 "<programlisting>\n"
1535 "apt-get install <replaceable>pacote</replaceable>/testing\n"
1537 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1538 #: apt-cache.8.xml:192
1540 "This command prints the name of each package APT knows. The optional "
1541 "argument is a prefix match to filter the name list. The output is suitable "
1542 "for use in a shell tab complete function and the output is generated "
1543 "extremely quickly. This command is best used with the <option>--generate</"
1547 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1548 #: apt-cache.8.xml:197
1550 "Note that a package which APT knows of is not necessarily available to "
1551 "download, installable or installed, e.g. virtual packages are also listed in "
1552 "the generated list."
1555 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1556 #: apt-cache.8.xml:203
1558 "<literal>dotty</literal> takes a list of packages on the command line and "
1559 "generates output suitable for use by dotty from the <ulink url=\"http://www."
1560 "research.att.com/sw/tools/graphviz/\">GraphViz</ulink> package. The result "
1561 "will be a set of nodes and edges representing the relationships between the "
1562 "packages. By default the given packages will trace out all dependent "
1563 "packages; this can produce a very large graph. To limit the output to only "
1564 "the packages listed on the command line, set the <literal>APT::Cache::"
1565 "GivenOnly</literal> option."
1568 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1569 #: apt-cache.8.xml:212
1571 "The resulting nodes will have several shapes; normal packages are boxes, "
1572 "pure virtual packages are triangles, mixed virtual packages are diamonds, "
1573 "missing packages are hexagons. Orange boxes mean recursion was stopped (leaf "
1574 "packages), blue lines are pre-depends, green lines are conflicts."
1577 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1578 #: apt-cache.8.xml:217
1579 msgid "Caution, dotty cannot graph larger sets of packages."
1582 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1583 #: apt-cache.8.xml:221
1585 "The same as <literal>dotty</literal>, only for xvcg from the <ulink url="
1586 "\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG tool</ulink>."
1589 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1590 #: apt-cache.8.xml:225
1592 msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>"
1594 "<programlisting>\n"
1595 "apt-get install <replaceable>pacote</replaceable>/testing\n"
1597 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1598 #: apt-cache.8.xml:226
1600 "<literal>policy</literal> is meant to help debug issues relating to the "
1601 "preferences file. With no arguments it will print out the priorities of each "
1602 "source. Otherwise it prints out detailed information about the priority "
1603 "selection of the named package."
1606 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1607 #: apt-cache.8.xml:233
1609 "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
1610 "to mimic the output format and a subset of the functionality of the Debian "
1611 "archive management tool, <literal>madison</literal>. It displays available "
1612 "versions of a package in a tabular format. Unlike the original "
1613 "<literal>madison</literal>, it can only display information for the "
1614 "architecture for which APT has retrieved package lists (<literal>APT::"
1615 "Architecture</literal>)."
1618 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1619 #: apt-cache.8.xml:249
1621 "Select the file to store the package cache. The package cache is the primary "
1622 "cache used by all operations. Configuration Item: <literal>Dir::Cache::"
1623 "pkgcache</literal>."
1626 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1627 #: apt-cache.8.xml:255
1629 "Select the file to store the source cache. The source is used only by "
1630 "<literal>gencaches</literal> and it stores a parsed version of the package "
1631 "information from remote sources. When building the package cache the source "
1632 "cache is used to avoid reparsing all of the package files. Configuration "
1633 "Item: <literal>Dir::Cache::srcpkgcache</literal>."
1636 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1637 #: apt-cache.8.xml:263
1639 "Quiet; produces output suitable for logging, omitting progress indicators. "
1640 "More q's will produce more quietness up to a maximum of 2. You can also use "
1641 "<option>-q=#</option> to set the quietness level, overriding the "
1642 "configuration file. Configuration Item: <literal>quiet</literal>."
1645 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1646 #: apt-cache.8.xml:270
1648 "Print only important dependencies; for use with <literal>unmet</literal> and "
1649 "<literal>depends</literal>. Causes only Depends and Pre-Depends relations to "
1650 "be printed. Configuration Item: <literal>APT::Cache::Important</literal>."
1653 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1654 #: apt-cache.8.xml:284
1656 "Per default the <literal>depends</literal> and <literal>rdepends</literal> "
1657 "print all dependencies. This can be tweaked with these flags which will omit "
1658 "the specified dependency type. Configuration Item: <literal>APT::Cache::"
1659 "Show<replaceable>DependencyType</replaceable></literal> e.g. <literal>APT::"
1660 "Cache::ShowRecommends</literal>."
1663 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1664 #: apt-cache.8.xml:291
1666 "Print full package records when searching. Configuration Item: "
1667 "<literal>APT::Cache::ShowFull</literal>."
1670 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1671 #: apt-cache.8.xml:296
1673 "Print full records for all available versions. This is the default; to turn "
1674 "it off, use <option>--no-all-versions</option>. If <option>--no-all-"
1675 "versions</option> is specified, only the candidate version will be displayed "
1676 "(the one which would be selected for installation). This option is only "
1677 "applicable to the <literal>show</literal> command. Configuration Item: "
1678 "<literal>APT::Cache::AllVersions</literal>."
1681 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1682 #: apt-cache.8.xml:305
1684 "Perform automatic package cache regeneration, rather than use the cache as "
1685 "it is. This is the default; to turn it off, use <option>--no-generate</"
1686 "option>. Configuration Item: <literal>APT::Cache::Generate</literal>."
1689 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1690 #: apt-cache.8.xml:311
1692 "Only search on the package names, not the long descriptions. Configuration "
1693 "Item: <literal>APT::Cache::NamesOnly</literal>."
1696 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1697 #: apt-cache.8.xml:316
1699 "Make <literal>pkgnames</literal> print all names, including virtual packages "
1700 "and missing dependencies. Configuration Item: <literal>APT::Cache::"
1701 "AllNames</literal>."
1704 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1705 #: apt-cache.8.xml:322
1707 "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1708 "that all packages mentioned are printed once. Configuration Item: "
1709 "<literal>APT::Cache::RecurseDepends</literal>."
1712 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1713 #: apt-cache.8.xml:329
1715 "Limit the output of <literal>depends</literal> and <literal>rdepends</"
1716 "literal> to packages which are currently installed. Configuration Item: "
1717 "<literal>APT::Cache::Installed</literal>."
1720 #. type: Content of: <refentry><refsect1><para>
1721 #: apt-cache.8.xml:347
1722 msgid "&apt-conf;, &sources-list;, &apt-get;"
1725 #. type: Content of: <refentry><refsect1><para>
1726 #: apt-cache.8.xml:352
1728 "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1732 #. type: Content of: <refentry><refnamediv><refpurpose>
1734 msgid "APT key management utility"
1737 #. type: Content of: <refentry><refsect1><para>
1740 "<command>apt-key</command> is used to manage the list of keys used by apt to "
1741 "authenticate packages. Packages which have been authenticated using these "
1742 "keys will be considered trusted."
1745 #. type: Content of: <refentry><refsect1><title>
1750 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1753 "Add a new key to the list of trusted keys. The key is read from the "
1754 "filename given with the parameter &synopsis-param-filename; or if the "
1755 "filename is <literal>-</literal> from standard input."
1758 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1760 msgid "Remove a key from the list of trusted keys."
1763 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1765 msgid "Output the key &synopsis-param-keyid; to standard output."
1768 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1770 msgid "Output all trusted keys to standard output."
1773 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1775 msgid "List trusted keys."
1778 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1779 #: apt-key.8.xml:103
1780 msgid "List fingerprints of trusted keys."
1783 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1784 #: apt-key.8.xml:114
1786 "Pass advanced options to gpg. With adv --recv-key you can download the "
1790 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1791 #: apt-key.8.xml:126
1793 "Update the local keyring with the archive keyring and remove from the local "
1794 "keyring the archive keys which are no longer valid. The archive keyring is "
1795 "shipped in the <literal>archive-keyring</literal> package of your "
1796 "distribution, e.g. the &keyring-package; package in &keyring-distro;."
1799 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1800 #: apt-key.8.xml:140
1802 "Perform an update working similarly to the <command>update</command> command "
1803 "above, but get the archive keyring from a URI instead and validate it "
1804 "against a master key. This requires an installed &wget; and an APT build "
1805 "configured to have a server to fetch from and a master keyring to validate. "
1806 "APT in Debian does not support this command, relying on <command>update</"
1807 "command> instead, but Ubuntu's APT does."
1810 #. type: Content of: <refentry><refsect1><title>
1811 #: apt-key.8.xml:156 apt-cdrom.8.xml:76
1815 #. type: Content of: <refentry><refsect1><para>
1816 #: apt-key.8.xml:157
1818 "Note that options need to be defined before the commands described in the "
1822 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1823 #: apt-key.8.xml:160
1825 "With this option it is possible to specify a particular keyring file the "
1826 "command should operate on. The default is that a command is executed on the "
1827 "<filename>trusted.gpg</filename> file as well as on all parts in the "
1828 "<filename>trusted.gpg.d</filename> directory, though <filename>trusted.gpg</"
1829 "filename> is the primary keyring which means that e.g. new keys are added to "
1833 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1834 #: apt-key.8.xml:175
1836 msgid "<filename>/etc/apt/trustdb.gpg</filename>"
1837 msgstr "<filename>/etc/apt.conf</>"
1839 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1840 #: apt-key.8.xml:176
1841 msgid "Local trust database of archive keys."
1844 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1845 #: apt-key.8.xml:179
1846 msgid "&keyring-filename;"
1849 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1850 #: apt-key.8.xml:180
1851 msgid "Keyring of &keyring-distro; archive trusted keys."
1854 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1855 #: apt-key.8.xml:183
1856 msgid "&keyring-removed-filename;"
1859 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1860 #: apt-key.8.xml:184
1861 msgid "Keyring of &keyring-distro; archive removed trusted keys."
1864 #. type: Content of: <refentry><refsect1><para>
1865 #: apt-key.8.xml:193
1867 msgid "&apt-get;, &apt-secure;"
1868 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
1870 #. type: Content of: <refentry><refnamediv><refpurpose>
1871 #: apt-mark.8.xml:29
1872 msgid "mark/unmark a package as being automatically-installed"
1875 #. type: Content of: <refentry><refsect1><para>
1876 #: apt-mark.8.xml:35
1878 "<command>apt-mark</command> will change whether a package has been marked as "
1879 "being automatically installed."
1882 #. type: Content of: <refentry><refsect1><para>
1883 #: apt-mark.8.xml:39
1885 "When you request that a package is installed, and as a result other packages "
1886 "are installed to satisfy its dependencies, the dependencies are marked as "
1887 "being automatically installed. Once these automatically installed packages "
1888 "are no longer depended on by any manually installed packages, they will be "
1889 "removed by e.g. <command>apt-get</command> or <command>aptitude</command>."
1892 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1893 #: apt-mark.8.xml:48
1895 "<literal>auto</literal> is used to mark a package as being automatically "
1896 "installed, which will cause the package to be removed when no more manually "
1897 "installed packages depend on this package."
1900 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1901 #: apt-mark.8.xml:56
1903 "<literal>manual</literal> is used to mark a package as being manually "
1904 "installed, which will prevent the package from being automatically removed "
1905 "if no other packages depend on it."
1908 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1909 #: apt-mark.8.xml:64
1911 "<literal>hold</literal> is used to mark a package as held back, which will "
1912 "prevent the package from being automatically installed, upgraded or "
1913 "removed. The command is only a wrapper around <command>dpkg --set-"
1914 "selections</command> and the state is therefore maintained by &dpkg; and not "
1915 "affected by the <option>--file</option> option."
1918 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1919 #: apt-mark.8.xml:74
1921 "<literal>unhold</literal> is used to cancel a previously set hold on a "
1922 "package to allow all actions again."
1925 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1926 #: apt-mark.8.xml:80
1928 "<literal>showauto</literal> is used to print a list of automatically "
1929 "installed packages with each package on a new line. All automatically "
1930 "installed packages will be listed if no package is given. If packages are "
1931 "given only those which are automatically installed will be shown."
1934 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1935 #: apt-mark.8.xml:88
1937 "<literal>showmanual</literal> can be used in the same way as "
1938 "<literal>showauto</literal> except that it will print a list of manually "
1939 "installed packages instead."
1942 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1943 #: apt-mark.8.xml:95
1945 "<literal>showhold</literal> is used to print a list of packages on hold in "
1946 "the same way as for the other show commands."
1949 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1950 #: apt-mark.8.xml:111
1952 "Read/Write package stats from the filename given with the parameter "
1953 "&synopsis-param-filename; instead of from the default location, which is "
1954 "<filename>extended_status</filename> in the directory defined by the "
1955 "Configuration Item: <literal>Dir::State</literal>."
1958 #. type: Content of: <refentry><refsect1><para>
1959 #: apt-mark.8.xml:132
1961 "<command>apt-mark</command> returns zero on normal operation, non-zero on "
1965 #. type: Content of: <refentry><refnamediv><refpurpose>
1966 #: apt-secure.8.xml:43
1967 msgid "Archive authentication support for APT"
1970 #. type: Content of: <refentry><refsect1><para>
1971 #: apt-secure.8.xml:48
1973 "Starting with version 0.6, <command>apt</command> contains code that does "
1974 "signature checking of the Release file for all archives. This ensures that "
1975 "packages in the archive can't be modified by people who have no access to "
1976 "the Release file signing key."
1979 #. type: Content of: <refentry><refsect1><para>
1980 #: apt-secure.8.xml:56
1982 "If a package comes from a archive without a signature, or with a signature "
1983 "that apt does not have a key for, that package is considered untrusted, and "
1984 "installing it will result in a big warning. <command>apt-get</command> will "
1985 "currently only warn for unsigned archives; future releases might force all "
1986 "sources to be verified before downloading packages from them."
1989 #. type: Content of: <refentry><refsect1><para>
1990 #: apt-secure.8.xml:65
1992 "The package frontends &apt-get;, &aptitude; and &synaptic; support this new "
1993 "authentication feature."
1996 #. type: Content of: <refentry><refsect1><title>
1997 #: apt-secure.8.xml:70
1998 msgid "Trusted archives"
2001 #. type: Content of: <refentry><refsect1><para>
2002 #: apt-secure.8.xml:73
2004 "The chain of trust from an apt archive to the end user is made up of several "
2005 "steps. <command>apt-secure</command> is the last step in this chain; "
2006 "trusting an archive does not mean that you trust its packages not to contain "
2007 "malicious code, but means that you trust the archive maintainer. It's the "
2008 "archive maintainer's responsibility to ensure that the archive's integrity "
2012 #. type: Content of: <refentry><refsect1><para>
2013 #: apt-secure.8.xml:81
2015 "apt-secure does not review signatures at a package level. If you require "
2016 "tools to do this you should look at <command>debsig-verify</command> and "
2017 "<command>debsign</command> (provided in the debsig-verify and devscripts "
2018 "packages respectively)."
2021 #. type: Content of: <refentry><refsect1><para>
2022 #: apt-secure.8.xml:88
2024 "The chain of trust in Debian starts when a maintainer uploads a new package "
2025 "or a new version of a package to the Debian archive. In order to become "
2026 "effective, this upload needs to be signed by a key contained in the Debian "
2027 "Maintainers keyring (available in the debian-keyring package). Maintainers' "
2028 "keys are signed by other maintainers following pre-established procedures to "
2029 "ensure the identity of the key holder."
2032 #. type: Content of: <refentry><refsect1><para>
2033 #: apt-secure.8.xml:98
2035 "Once the uploaded package is verified and included in the archive, the "
2036 "maintainer signature is stripped off, and checksums of the package are "
2037 "computed and put in the Packages file. The checksums of all of the Packages "
2038 "files are then computed and put into the Release file. The Release file is "
2039 "then signed by the archive key for this &keyring-distro; release, and "
2040 "distributed alongside the packages and the Packages files on &keyring-"
2041 "distro; mirrors. The keys are in the &keyring-distro; archive keyring "
2042 "available in the &keyring-package; package."
2045 #. type: Content of: <refentry><refsect1><para>
2046 #: apt-secure.8.xml:109
2048 "End users can check the signature of the Release file, extract a checksum of "
2049 "a package from it and compare it with the checksum of the package they "
2050 "downloaded by hand - or rely on APT doing this automatically."
2053 #. type: Content of: <refentry><refsect1><para>
2054 #: apt-secure.8.xml:114
2056 "Notice that this is distinct from checking signatures on a per package "
2057 "basis. It is designed to prevent two possible attacks:"
2060 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2061 #: apt-secure.8.xml:119
2063 "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
2064 "checking, malicious agents can introduce themselves into the package "
2065 "download process and provide malicious software either by controlling a "
2066 "network element (router, switch, etc.) or by redirecting traffic to a rogue "
2067 "server (through ARP or DNS spoofing attacks)."
2070 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2071 #: apt-secure.8.xml:127
2073 "<literal>Mirror network compromise</literal>. Without signature checking, a "
2074 "malicious agent can compromise a mirror host and modify the files in it to "
2075 "propagate malicious software to all users downloading packages from that "
2079 #. type: Content of: <refentry><refsect1><para>
2080 #: apt-secure.8.xml:134
2082 "However, it does not defend against a compromise of the Debian master server "
2083 "itself (which signs the packages) or against a compromise of the key used to "
2084 "sign the Release files. In any case, this mechanism can complement a per-"
2085 "package signature."
2088 #. type: Content of: <refentry><refsect1><title>
2089 #: apt-secure.8.xml:140
2090 msgid "User configuration"
2093 #. type: Content of: <refentry><refsect1><para>
2094 #: apt-secure.8.xml:142
2096 "<command>apt-key</command> is the program that manages the list of keys used "
2097 "by apt. It can be used to add or remove keys, although an installation of "
2098 "this release will automatically contain the default Debian archive signing "
2099 "keys used in the Debian package repositories."
2102 #. type: Content of: <refentry><refsect1><para>
2103 #: apt-secure.8.xml:149
2105 "In order to add a new key you need to first download it (you should make "
2106 "sure you are using a trusted communication channel when retrieving it), add "
2107 "it with <command>apt-key</command> and then run <command>apt-get update</"
2108 "command> so that apt can download and verify the <filename>InRelease</"
2109 "filename> or <filename>Release.gpg</filename> files from the archives you "
2113 #. type: Content of: <refentry><refsect1><title>
2114 #: apt-secure.8.xml:158
2115 msgid "Archive configuration"
2118 #. type: Content of: <refentry><refsect1><para>
2119 #: apt-secure.8.xml:160
2121 "If you want to provide archive signatures in an archive under your "
2122 "maintenance you have to:"
2125 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2126 #: apt-secure.8.xml:165
2128 "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
2129 "already. You can do this by running <command>apt-ftparchive release</"
2130 "command> (provided in apt-utils)."
2133 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2134 #: apt-secure.8.xml:170
2136 "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg --"
2137 "clearsign -o InRelease Release</command> and <command>gpg -abs -o Release."
2138 "gpg Release</command>."
2141 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
2142 #: apt-secure.8.xml:174
2144 "<emphasis>Publish the key fingerprint</emphasis>, that way your users will "
2145 "know what key they need to import in order to authenticate the files in the "
2149 #. type: Content of: <refentry><refsect1><para>
2150 #: apt-secure.8.xml:181
2152 "Whenever the contents of the archive change (new packages are added or "
2153 "removed) the archive maintainer has to follow the first two steps outlined "
2157 #. type: Content of: <refentry><refsect1><para>
2158 #: apt-secure.8.xml:189
2160 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
2161 "&debsign;, &debsig-verify;, &gpg;"
2164 #. type: Content of: <refentry><refsect1><para>
2165 #: apt-secure.8.xml:193
2167 "For more background information you might want to review the <ulink url="
2168 "\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian "
2169 "Security Infrastructure</ulink> chapter of the Securing Debian Manual "
2170 "(available also in the harden-doc package) and the <ulink url=\"http://www."
2171 "cryptnet.net/fdp/crypto/strong_distro.html\" >Strong Distribution HOWTO</"
2172 "ulink> by V. Alex Brennen."
2175 #. type: Content of: <refentry><refsect1><title>
2176 #: apt-secure.8.xml:206
2177 msgid "Manpage Authors"
2180 #. type: Content of: <refentry><refsect1><para>
2181 #: apt-secure.8.xml:208
2183 "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
2184 "Jones, Colin Walters, Florian Weimer and Michael Vogt."
2187 #. type: Content of: <refentry><refnamediv><refpurpose>
2188 #: apt-cdrom.8.xml:28
2189 msgid "APT CD-ROM management utility"
2192 #. type: Content of: <refentry><refsect1><para>
2193 #: apt-cdrom.8.xml:34
2195 "<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of "
2196 "available sources. <command>apt-cdrom</command> takes care of determining "
2197 "the structure of the disc as well as correcting for several possible mis-"
2198 "burns and verifying the index files."
2201 #. type: Content of: <refentry><refsect1><para>
2202 #: apt-cdrom.8.xml:41
2204 "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
2205 "system; it cannot be done by hand. Furthermore each disc in a multi-CD set "
2206 "must be inserted and scanned separately to account for possible mis-burns."
2209 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2210 #: apt-cdrom.8.xml:52
2212 "<literal>add</literal> is used to add a new disc to the source list. It will "
2213 "unmount the CD-ROM device, prompt for a disc to be inserted and then proceed "
2214 "to scan it and copy the index files. If the disc does not have a proper "
2215 "<filename>.disk</filename> directory you will be prompted for a descriptive "
2219 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2220 #: apt-cdrom.8.xml:60
2222 "APT uses a CD-ROM ID to track which disc is currently in the drive and "
2223 "maintains a database of these IDs in <filename>&statedir;/cdroms.list</"
2227 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2228 #: apt-cdrom.8.xml:68
2230 "A debugging tool to report the identity of the current disc as well as the "
2234 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2235 #: apt-cdrom.8.xml:81
2237 "Do not try to auto-detect the CD-ROM path. Usually combined with the "
2238 "<option>--cdrom</option> option. Configuration Item: <literal>Acquire::"
2239 "cdrom::AutoDetect</literal>."
2242 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2243 #: apt-cdrom.8.xml:89
2245 "Mount point; specify the location to mount the CD-ROM. This mount point must "
2246 "be listed in <filename>/etc/fstab</filename> and properly configured. "
2247 "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
2250 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2251 #: apt-cdrom.8.xml:98
2253 "Rename a disc; change the label of a disc or override the disc's given "
2254 "label. This option will cause <command>apt-cdrom</command> to prompt for a "
2255 "new label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
2258 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2259 #: apt-cdrom.8.xml:107
2261 "No mounting; prevent <command>apt-cdrom</command> from mounting and "
2262 "unmounting the mount point. Configuration Item: <literal>APT::CDROM::"
2263 "NoMount</literal>."
2266 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2267 #: apt-cdrom.8.xml:115
2269 "Fast Copy; Assume the package files are valid and do not check every "
2270 "package. This option should be used only if <command>apt-cdrom</command> has "
2271 "been run on this disc before and did not detect any errors. Configuration "
2272 "Item: <literal>APT::CDROM::Fast</literal>."
2275 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2276 #: apt-cdrom.8.xml:125
2278 "Thorough Package Scan; This option may be needed with some old Debian "
2279 "1.1/1.2 discs that have Package files in strange places. It takes much "
2280 "longer to scan the CD but will pick them all up."
2283 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2284 #: apt-cdrom.8.xml:136
2286 "No Changes; Do not change the &sources-list; file and do not write index "
2287 "files. Everything is still checked however. Configuration Item: "
2288 "<literal>APT::CDROM::NoAct</literal>."
2291 #. type: Content of: <refentry><refsect1><para>
2292 #: apt-cdrom.8.xml:149
2294 msgid "&apt-conf;, &apt-get;, &sources-list;"
2295 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
2297 #. type: Content of: <refentry><refsect1><para>
2298 #: apt-cdrom.8.xml:154
2300 "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
2304 #. type: Content of: <refentry><refnamediv><refpurpose>
2305 #: apt-config.8.xml:29
2306 msgid "APT Configuration Query program"
2309 #. type: Content of: <refentry><refsect1><para>
2310 #: apt-config.8.xml:35
2312 "<command>apt-config</command> is an internal program used by various "
2313 "portions of the APT suite to provide consistent configurability. It accesses "
2314 "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
2315 "manner that is easy to use for scripted applications."
2318 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2319 #: apt-config.8.xml:47
2321 "shell is used to access the configuration information from a shell script. "
2322 "It is given pairs of arguments, the first being a shell variable and the "
2323 "second the configuration value to query. As output it lists shell assignment "
2324 "commands for each value present. In a shell script it should be used as "
2328 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
2329 #: apt-config.8.xml:55
2333 "RES=`apt-config shell OPTS MyApp::options`\n"
2337 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2338 #: apt-config.8.xml:60
2340 "This will set the shell environment variable $OPTS to the value of MyApp::"
2341 "options with a default of <option>-f</option>."
2344 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2345 #: apt-config.8.xml:64
2347 "The configuration item may be postfixed with a /[fdbi]. f returns file "
2348 "names, d returns directories, b returns true or false and i returns an "
2349 "integer. Each of the returns is normalized and verified internally."
2352 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2353 #: apt-config.8.xml:73
2354 msgid "Just show the contents of the configuration space."
2357 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2358 #: apt-config.8.xml:86
2360 "Include options which have an empty value. This is the default, so use --no-"
2361 "empty to remove them from the output."
2364 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable>
2365 #: apt-config.8.xml:91
2366 msgid "%f "%v";%n"
2369 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2370 #: apt-config.8.xml:92
2372 "Defines the output of each config option. %t will be replaced with "
2373 "its individual name, %f with its full hierarchical name and %v "
2374 "with its value. Use uppercase letters and special characters in the value "
2375 "will be encoded to ensure that it can e.g. be safely used in a quoted-string "
2376 "as defined by RFC822. Additionally %n will be replaced by a newline, "
2377 "and %N by a tab. A % can be printed by using %%."
2380 #. type: Content of: <refentry><refsect1><para>
2381 #: apt-config.8.xml:106 apt-extracttemplates.1.xml:67 apt-sortpkgs.1.xml:60
2382 #: apt-ftparchive.1.xml:604
2390 #. type: Content of: <refentry><refsect1><para>
2391 #: apt-config.8.xml:111
2393 "<command>apt-config</command> returns zero on normal operation, decimal 100 "
2397 #. type: Content of: <refentry><refentryinfo><author><contrib>
2398 #: apt.conf.5.xml:16
2399 msgid "Initial documentation of Debug::*."
2402 #. type: Content of: <refentry><refentryinfo><author><email>
2403 #: apt.conf.5.xml:17
2404 msgid "dburrows@debian.org"
2407 #. type: Content of: <refentry><refmeta><manvolnum>
2408 #: apt.conf.5.xml:27 apt_preferences.5.xml:21 sources.list.5.xml:22
2412 #. type: Content of: <refentry><refnamediv><refpurpose>
2413 #: apt.conf.5.xml:34
2414 msgid "Configuration file for APT"
2417 #. type: Content of: <refentry><refsect1><para>
2418 #: apt.conf.5.xml:38
2420 "<filename>/etc/apt/apt.conf</filename> is the main configuration file shared "
2421 "by all the tools in the APT suite of tools, though it is by no means the "
2422 "only place options can be set. The suite also shares a common command line "
2423 "parser to provide a uniform environment."
2426 #. type: Content of: <refentry><refsect1><orderedlist><para>
2427 #: apt.conf.5.xml:44
2429 "When an APT tool starts up it will read the configuration files in the "
2433 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2434 #: apt.conf.5.xml:46
2436 "the file specified by the <envar>APT_CONFIG</envar> environment variable (if "
2440 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2441 #: apt.conf.5.xml:48
2443 "all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending "
2444 "order which have either no or \"<literal>conf</literal>\" as filename "
2445 "extension and which only contain alphanumeric, hyphen (-), underscore (_) "
2446 "and period (.) characters. Otherwise APT will print a notice that it has "
2447 "ignored a file, unless that file matches a pattern in the <literal>Dir::"
2448 "Ignore-Files-Silently</literal> configuration list - in which case it will "
2449 "be silently ignored."
2452 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2453 #: apt.conf.5.xml:55
2455 "the main configuration file specified by <literal>Dir::Etc::main</literal>"
2458 #. type: Content of: <refentry><refsect1><orderedlist><listitem><para>
2459 #: apt.conf.5.xml:57
2461 "the command line options are applied to override the configuration "
2462 "directives or to load even more configuration files."
2465 #. type: Content of: <refentry><refsect1><title>
2466 #: apt.conf.5.xml:61
2470 #. type: Content of: <refentry><refsect1><para>
2471 #: apt.conf.5.xml:62
2473 "The configuration file is organized in a tree with options organized into "
2474 "functional groups. Option specification is given with a double colon "
2475 "notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option "
2476 "within the APT tool group, for the Get tool. Options do not inherit from "
2477 "their parent groups."
2480 #. type: Content of: <refentry><refsect1><para>
2481 #: apt.conf.5.xml:68
2483 "Syntactically the configuration language is modeled after what the ISC tools "
2484 "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
2485 "treated as comments (ignored), as well as all text between <literal>/*</"
2486 "literal> and <literal>*/</literal>, just like C/C++ comments. Each line is "
2487 "of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. The "
2488 "quotation marks and trailing semicolon are required. The value must be on "
2489 "one line, and there is no kind of string concatenation. Values must not "
2490 "include backslashes or extra quotation marks. Option names are made up of "
2491 "alphanumeric characters and the characters \"/-:._+\". A new scope can be "
2492 "opened with curly braces, like this:"
2495 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
2496 #: apt.conf.5.xml:81
2501 " Assume-Yes \"true\";\n"
2502 " Fix-Broken \"true\";\n"
2507 #. type: Content of: <refentry><refsect1><para>
2508 #: apt.conf.5.xml:89
2510 "with newlines placed to make it more readable. Lists can be created by "
2511 "opening a scope and including a single string enclosed in quotes followed by "
2512 "a semicolon. Multiple entries can be included, separated by a semicolon."
2515 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
2516 #: apt.conf.5.xml:94
2518 msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
2521 #. type: Content of: <refentry><refsect1><para>
2522 #: apt.conf.5.xml:97
2524 "In general the sample configuration file &configureindex; is a good guide "
2525 "for how it should look."
2528 #. type: Content of: <refentry><refsect1><para>
2529 #: apt.conf.5.xml:100
2531 "Case is not significant in names of configuration items, so in the previous "
2532 "example you could use <literal>dpkg::pre-install-pkgs</literal>."
2535 #. type: Content of: <refentry><refsect1><para>
2536 #: apt.conf.5.xml:103
2538 "Names for the configuration items are optional if a list is defined as can "
2539 "be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If "
2540 "you don't specify a name a new entry will simply add a new option to the "
2541 "list. If you specify a name you can override the option in the same way as "
2542 "any other option by reassigning a new value to the option."
2545 #. type: Content of: <refentry><refsect1><para>
2546 #: apt.conf.5.xml:108
2548 "Two special commands are defined: <literal>#include</literal> (which is "
2549 "deprecated and not supported by alternative implementations) and "
2550 "<literal>#clear</literal>. <literal>#include</literal> will include the "
2551 "given file, unless the filename ends in a slash, in which case the whole "
2552 "directory is included. <literal>#clear</literal> is used to erase a part of "
2553 "the configuration tree. The specified element and all its descendants are "
2554 "erased. (Note that these lines also need to end with a semicolon.)"
2557 #. type: Content of: <refentry><refsect1><para>
2558 #: apt.conf.5.xml:118
2560 "The <literal>#clear</literal> command is the only way to delete a list or a "
2561 "complete scope. Reopening a scope (or using the syntax described below with "
2562 "an appended <literal>::</literal>) will <emphasis>not</emphasis> override "
2563 "previously written entries. Options can only be overridden by addressing a "
2564 "new value to them - lists and scopes can't be overridden, only cleared."
2567 #. type: Content of: <refentry><refsect1><para>
2568 #: apt.conf.5.xml:126
2570 "All of the APT tools take an -o option which allows an arbitrary "
2571 "configuration directive to be specified on the command line. The syntax is a "
2572 "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
2573 "followed by an equals sign then the new value of the option. To append a new "
2574 "element to a list, add a trailing <literal>::</literal> to the name of the "
2575 "list. (As you might suspect, the scope syntax can't be used on the command "
2579 #. type: Content of: <refentry><refsect1><para>
2580 #: apt.conf.5.xml:134
2582 "Note that appending items to a list using <literal>::</literal> only works "
2583 "for one item per line, and that you should not use it in combination with "
2584 "the scope syntax (which adds <literal>::</literal> implicitly). Using both "
2585 "syntaxes together will trigger a bug which some users unfortunately depend "
2586 "on: an option with the unusual name \"<literal>::</literal>\" which acts "
2587 "like every other option with a name. This introduces many problems; for one "
2588 "thing, users who write multiple lines in this <emphasis>wrong</emphasis> "
2589 "syntax in the hope of appending to a list will achieve the opposite, as only "
2590 "the last assignment for this option \"<literal>::</literal>\" will be used. "
2591 "Future versions of APT will raise errors and stop working if they encounter "
2592 "this misuse, so please correct such statements now while APT doesn't "
2593 "explicitly complain about them."
2596 #. type: Content of: <refentry><refsect1><title>
2597 #: apt.conf.5.xml:149
2598 msgid "The APT Group"
2601 #. type: Content of: <refentry><refsect1><para>
2602 #: apt.conf.5.xml:150
2604 "This group of options controls general APT behavior as well as holding the "
2605 "options for all of the tools."
2608 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2609 #: apt.conf.5.xml:155
2611 "System Architecture; sets the architecture to use when fetching files and "
2612 "parsing package lists. The internal default is the architecture apt was "
2616 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2617 #: apt.conf.5.xml:162
2619 "All Architectures the system supports. For instance, CPUs implementing the "
2620 "<literal>amd64</literal> (also called <literal>x86-64</literal>) "
2621 "instruction set are also able to execute binaries compiled for the "
2622 "<literal>i386</literal> (<literal>x86</literal>) instruction set. This list "
2623 "is used when fetching files and parsing package lists. The initial default "
2624 "is always the system's native architecture (<literal>APT::Architecture</"
2625 "literal>), and foreign architectures are added to the default list when they "
2626 "are registered via <command>dpkg --add-architecture</command>."
2629 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2630 #: apt.conf.5.xml:176
2632 "List of all build profiles enabled for build-dependency resolution, without "
2633 "the \"<literal>profile.</literal>\" namespace prefix. By default this list "
2634 "is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by &dpkg-"
2635 "buildpackage; overrides the list notation."
2638 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2639 #: apt.conf.5.xml:184
2641 "Default release to install packages from if more than one version is "
2642 "available. Contains release name, codename or release version. Examples: "
2643 "'stable', 'testing', 'unstable', '&stable-codename;', '&testing-codename;', "
2644 "'4.0', '5.0*'. See also &apt-preferences;."
2647 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2648 #: apt.conf.5.xml:190
2650 "Ignore held packages; this global option causes the problem resolver to "
2651 "ignore held packages in its decision making."
2654 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2655 #: apt.conf.5.xml:195
2657 "Defaults to on. When turned on the autoclean feature will remove any "
2658 "packages which can no longer be downloaded from the cache. If turned off "
2659 "then packages that are locally installed are also excluded from cleaning - "
2660 "but note that APT provides no direct means to reinstall them."
2663 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2664 #: apt.conf.5.xml:203
2666 "Defaults to on, which will cause APT to install essential and important "
2667 "packages as soon as possible in an install/upgrade operation, in order to "
2668 "limit the effect of a failing &dpkg; call. If this option is disabled, APT "
2669 "treats an important package in the same way as an extra package: between the "
2670 "unpacking of the package A and its configuration there can be many other "
2671 "unpack or configuration calls for other unrelated packages B, C etc. If "
2672 "these cause the &dpkg; call to fail (e.g. because package B's maintainer "
2673 "scripts generate an error), this results in a system state in which package "
2674 "A is unpacked but unconfigured - so any package depending on A is now no "
2675 "longer guaranteed to work, as its dependency on A is no longer satisfied."
2678 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2679 #: apt.conf.5.xml:215
2681 "The immediate configuration marker is also applied in the potentially "
2682 "problematic case of circular dependencies, since a dependency with the "
2683 "immediate flag is equivalent to a Pre-Dependency. In theory this allows APT "
2684 "to recognise a situation in which it is unable to perform immediate "
2685 "configuration, abort, and suggest to the user that the option should be "
2686 "temporarily deactivated in order to allow the operation to proceed. Note "
2687 "the use of the word \"theory\" here; in the real world this problem has "
2688 "rarely been encountered, in non-stable distribution versions, and was caused "
2689 "by wrong dependencies of the package in question or by a system in an "
2690 "already broken state; so you should not blindly disable this option, as the "
2691 "scenario mentioned above is not the only problem it can help to prevent in "
2695 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2696 #: apt.conf.5.xml:228
2698 "Before a big operation like <literal>dist-upgrade</literal> is run with this "
2699 "option disabled you should try to explicitly <literal>install</literal> the "
2700 "package APT is unable to configure immediately; but please make sure you "
2701 "also report your problem to your distribution and to the APT team with the "
2702 "buglink below, so they can work on improving or correcting the upgrade "
2706 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2707 #: apt.conf.5.xml:239
2709 "Never enable this option unless you <emphasis>really</emphasis> know what "
2710 "you are doing. It permits APT to temporarily remove an essential package to "
2711 "break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two "
2712 "essential packages. <emphasis>Such a loop should never exist and is a grave "
2713 "bug</emphasis>. This option will work if the essential packages are not "
2714 "<command>tar</command>, <command>gzip</command>, <command>libc</command>, "
2715 "<command>dpkg</command>, <command>dash</command> or anything that those "
2716 "packages depend on."
2719 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2720 #: apt.conf.5.xml:251
2722 "APT uses since version 0.7.26 a resizable memory mapped cache file to store "
2723 "the available information. <literal>Cache-Start</literal> acts as a hint of "
2724 "the size the cache will grow to, and is therefore the amount of memory APT "
2725 "will request at startup. The default value is 20971520 bytes (~20 MB). Note "
2726 "that this amount of space needs to be available for APT; otherwise it will "
2727 "likely fail ungracefully, so for memory restricted devices this value should "
2728 "be lowered while on systems with a lot of configured sources it should be "
2729 "increased. <literal>Cache-Grow</literal> defines in bytes with the default "
2730 "of 1048576 (~1 MB) how much the cache size will be increased in the event "
2731 "the space defined by <literal>Cache-Start</literal> is not enough. This "
2732 "value will be applied again and again until either the cache is big enough "
2733 "to store all information or the size of the cache reaches the <literal>Cache-"
2734 "Limit</literal>. The default of <literal>Cache-Limit</literal> is 0 which "
2735 "stands for no limit. If <literal>Cache-Grow</literal> is set to 0 the "
2736 "automatic growth of the cache is disabled."
2739 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2740 #: apt.conf.5.xml:267
2741 msgid "Defines which packages are considered essential build dependencies."
2744 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2745 #: apt.conf.5.xml:271
2747 "The Get subsection controls the &apt-get; tool; please see its documentation "
2748 "for more information about the options here."
2751 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2752 #: apt.conf.5.xml:276
2754 "The Cache subsection controls the &apt-cache; tool; please see its "
2755 "documentation for more information about the options here."
2758 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2759 #: apt.conf.5.xml:281
2761 "The CDROM subsection controls the &apt-cdrom; tool; please see its "
2762 "documentation for more information about the options here."
2765 #. type: Content of: <refentry><refsect1><title>
2766 #: apt.conf.5.xml:287
2767 msgid "The Acquire Group"
2770 #. type: Content of: <refentry><refsect1><para>
2771 #: apt.conf.5.xml:288
2773 "The <literal>Acquire</literal> group of options controls the download of "
2774 "packages as well as the various \"acquire methods\" responsible for the "
2775 "download itself (see also &sources-list;)."
2778 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2779 #: apt.conf.5.xml:295
2781 "Security related option defaulting to true, as giving a Release file's "
2782 "validation an expiration date prevents replay attacks over a long timescale, "
2783 "and can also for example help users to identify mirrors that are no longer "
2784 "updated - but the feature depends on the correctness of the clock on the "
2785 "user system. Archive maintainers are encouraged to create Release files with "
2786 "the <literal>Valid-Until</literal> header, but if they don't or a stricter "
2787 "value is desired the <literal>Max-ValidTime</literal> option below can be "
2791 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2792 #: apt.conf.5.xml:308
2794 "Maximum time (in seconds) after its creation (as indicated by the "
2795 "<literal>Date</literal> header) that the <filename>Release</filename> file "
2796 "should be considered valid. If the Release file itself includes a "
2797 "<literal>Valid-Until</literal> header the earlier date of the two is used as "
2798 "the expiration date. The default value is <literal>0</literal> which stands "
2799 "for \"valid forever\". Archive specific settings can be made by appending "
2800 "the label of the archive to the option name."
2803 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2804 #: apt.conf.5.xml:320
2806 "Minimum time (in seconds) after its creation (as indicated by the "
2807 "<literal>Date</literal> header) that the <filename>Release</filename> file "
2808 "should be considered valid. Use this if you need to use a seldom updated "
2809 "(local) mirror of a more frequently updated archive with a <literal>Valid-"
2810 "Until</literal> header instead of completely disabling the expiration date "
2811 "checking. Archive specific settings can and should be used by appending the "
2812 "label of the archive to the option name."
2815 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2816 #: apt.conf.5.xml:332
2818 "Try to download deltas called <literal>PDiffs</literal> for indexes (like "
2819 "<filename>Packages</filename> files) instead of downloading whole ones. True "
2823 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2824 #: apt.conf.5.xml:335
2826 "Two sub-options to limit the use of PDiffs are also available: "
2827 "<literal>FileLimit</literal> can be used to specify a maximum number of "
2828 "PDiff files should be downloaded to update a file. <literal>SizeLimit</"
2829 "literal> on the other hand is the maximum percentage of the size of all "
2830 "patches compared to the size of the targeted file. If one of these limits is "
2831 "exceeded the complete file is downloaded instead of the patches."
2834 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2835 #: apt.conf.5.xml:345
2837 "Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</"
2838 "literal> or <literal>access</literal> which determines how APT parallelizes "
2839 "outgoing connections. <literal>host</literal> means that one connection per "
2840 "target host will be opened, <literal>access</literal> means that one "
2841 "connection per URI type will be opened."
2844 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2845 #: apt.conf.5.xml:353
2847 "Number of retries to perform. If this is non-zero APT will retry failed "
2848 "files the given number of times."
2851 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2852 #: apt.conf.5.xml:358
2854 "Use symlinks for source archives. If set to true then source archives will "
2855 "be symlinked when possible instead of copying. True is the default."
2858 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2859 #: apt.conf.5.xml:363
2861 "<literal>http::Proxy</literal> sets the default proxy to use for HTTP URIs. "
2862 "It is in the standard form of <literal>http://[[user][:pass]@]host[:port]/</"
2863 "literal>. Per host proxies can also be specified by using the form "
2864 "<literal>http::Proxy::<host></literal> with the special keyword "
2865 "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
2866 "settings is specified, <envar>http_proxy</envar> environment variable will "
2870 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2871 #: apt.conf.5.xml:371
2873 "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
2874 "caches. <literal>No-Cache</literal> tells the proxy not to use its cached "
2875 "response under any circumstances. <literal>Max-Age</literal> sets the "
2876 "allowed maximum age (in seconds) of an index file in the cache of the "
2877 "proxy. <literal>No-Store</literal> specifies that the proxy should not "
2878 "store the requested archive files in its cache, which can be used to prevent "
2879 "the proxy from polluting its cache with (big) .deb files."
2882 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2883 #: apt.conf.5.xml:381 apt.conf.5.xml:469
2885 "The option <literal>timeout</literal> sets the timeout timer used by the "
2886 "method; this value applies to the connection as well as the data timeout."
2889 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2890 #: apt.conf.5.xml:384
2892 "The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to "
2893 "enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial e."
2894 "g. on high-latency connections. It specifies how many requests are sent in a "
2895 "pipeline. APT tries to detect and workaround misbehaving webservers and "
2896 "proxies at runtime, but if you know that yours does not conform to the "
2897 "HTTP/1.1 specification pipelining can be disabled by setting the value to 0. "
2898 "It is enabled by default with the value 10."
2901 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2902 #: apt.conf.5.xml:391
2904 "<literal>Acquire::http::AllowRedirect</literal> controls whether APT will "
2905 "follow redirects, which is enabled by default."
2908 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2909 #: apt.conf.5.xml:394
2911 "The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
2912 "literal> which accepts integer values in kilobytes per second. The default "
2913 "value is 0 which deactivates the limit and tries to use all available "
2914 "bandwidth. Note that this option implicitly disables downloading from "
2915 "multiple servers at the same time."
2918 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2919 #: apt.conf.5.xml:401
2921 "<literal>Acquire::http::User-Agent</literal> can be used to set a different "
2922 "User-Agent for the http download method as some proxies allow access for "
2923 "clients only if the client uses a known identifier."
2926 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2927 #: apt.conf.5.xml:405
2929 "<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify "
2930 "an external command to discover the http proxy to use. Apt expects the "
2931 "command to output the proxy on stdout in the style <literal>http://proxy:"
2932 "port/</literal>. This will override the generic <literal>Acquire::http::"
2933 "Proxy</literal> but not any specific host proxy configuration set via "
2934 "<literal>Acquire::http::Proxy::$HOST</literal>. See the &squid-deb-proxy-"
2935 "client; package for an example implementation that uses avahi. This option "
2936 "takes precedence over the legacy option name <literal>ProxyAutoDetect</"
2940 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2941 #: apt.conf.5.xml:423
2943 "The <literal>Cache-control</literal>, <literal>Timeout</literal>, "
2944 "<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and "
2945 "<literal>proxy</literal> options work for HTTPS URIs in the same way as for "
2946 "the <literal>http</literal> method, and default to the same values if they "
2947 "are not explicitly set. The <literal>Pipeline-Depth</literal> option is not "
2951 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2952 #: apt.conf.5.xml:431
2954 "<literal>CaInfo</literal> suboption specifies place of file that holds info "
2955 "about trusted certificates. <literal><host>::CaInfo</literal> is the "
2956 "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
2957 "suboption determines whether or not the server's host certificate should be "
2958 "verified against trusted certificates. <literal><host>::Verify-Peer</"
2959 "literal> is the corresponding per-host option. <literal>Verify-Host</"
2960 "literal> boolean suboption determines whether or not the server's hostname "
2961 "should be verified. <literal><host>::Verify-Host</literal> is the "
2962 "corresponding per-host option. <literal>SslCert</literal> determines what "
2963 "certificate to use for client authentication. <literal><host>::"
2964 "SslCert</literal> is the corresponding per-host option. <literal>SslKey</"
2965 "literal> determines what private key to use for client authentication. "
2966 "<literal><host>::SslKey</literal> is the corresponding per-host "
2967 "option. <literal>SslForceVersion</literal> overrides default SSL version to "
2968 "use. It can contain either of the strings '<literal>TLSv1</literal>' or "
2969 "'<literal>SSLv3</literal>'. <literal><host>::SslForceVersion</"
2970 "literal> is the corresponding per-host option."
2973 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2974 #: apt.conf.5.xml:452
2976 "<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. "
2977 "It is in the standard form of <literal>ftp://[[user][:pass]@]host[:port]/</"
2978 "literal>. Per host proxies can also be specified by using the form "
2979 "<literal>ftp::Proxy::<host></literal> with the special keyword "
2980 "<literal>DIRECT</literal> meaning to use no proxies. If no one of the above "
2981 "settings is specified, <envar>ftp_proxy</envar> environment variable will be "
2982 "used. To use an FTP proxy you will have to set the <literal>ftp::ProxyLogin</"
2983 "literal> script in the configuration file. This entry specifies the commands "
2984 "to send to tell the proxy server what to connect to. Please see "
2985 "&configureindex; for an example of how to do this. The substitution "
2986 "variables representing the corresponding URI component are <literal>"
2987 "$(PROXY_USER)</literal>, <literal>$(PROXY_PASS)</literal>, <literal>"
2988 "$(SITE_USER)</literal>, <literal>$(SITE_PASS)</literal>, <literal>$(SITE)</"
2989 "literal> and <literal>$(SITE_PORT)</literal>."
2992 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2993 #: apt.conf.5.xml:472
2995 "Several settings are provided to control passive mode. Generally it is safe "
2996 "to leave passive mode on; it works in nearly every environment. However, "
2997 "some situations require that passive mode be disabled and port mode FTP used "
2998 "instead. This can be done globally or for connections that go through a "
2999 "proxy or for a specific host (see the sample config file for examples)."
3002 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3003 #: apt.conf.5.xml:479
3005 "It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</"
3006 "envar> environment variable to an HTTP URL - see the discussion of the http "
3007 "method above for syntax. You cannot set this in the configuration file and "
3008 "it is not recommended to use FTP over HTTP due to its low efficiency."
3011 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3012 #: apt.conf.5.xml:484
3014 "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
3015 "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
3016 "false, which means these commands are only used if the control connection is "
3017 "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
3018 "that most FTP servers do not support RFC2428."
3021 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
3022 #: apt.conf.5.xml:498
3024 msgid "/cdrom/::Mount \"foo\";"
3027 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3028 #: apt.conf.5.xml:493
3030 "For URIs using the <literal>cdrom</literal> method, the only configurable "
3031 "option is the mount point, <literal>cdrom::Mount</literal>, which must be "
3032 "the mount point for the CD-ROM (or DVD, or whatever) drive as specified in "
3033 "<filename>/etc/fstab</filename>. It is possible to provide alternate mount "
3034 "and unmount commands if your mount point cannot be listed in the fstab. The "
3035 "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
3036 "<literal>cdrom</literal> block. It is important to have the trailing slash. "
3037 "Unmount commands can be specified using UMount."
3040 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3041 #: apt.conf.5.xml:506
3043 "For GPGV URIs the only configurable option is <literal>gpgv::Options</"
3044 "literal>, which passes additional parameters to gpgv."
3047 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
3048 #: apt.conf.5.xml:517
3050 msgid "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
3053 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3054 #: apt.conf.5.xml:512
3056 "List of compression types which are understood by the acquire methods. "
3057 "Files like <filename>Packages</filename> can be available in various "
3058 "compression formats. By default the acquire methods can decompress "
3059 "<command>bzip2</command>, <command>lzma</command> and <command>gzip</"
3060 "command> compressed files; with this setting more formats can be added on "
3061 "the fly or the used method can be changed. The syntax for this is: "
3062 "<placeholder type=\"synopsis\" id=\"0\"/>"
3065 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
3066 #: apt.conf.5.xml:522
3068 msgid "Acquire::CompressionTypes::Order:: \"gz\";"
3071 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis>
3072 #: apt.conf.5.xml:525
3074 msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
3077 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3078 #: apt.conf.5.xml:518
3080 "Also, the <literal>Order</literal> subgroup can be used to define in which "
3081 "order the acquire system will try to download the compressed files. The "
3082 "acquire system will try the first and proceed with the next compression type "
3083 "in this list on error, so to prefer one over the other type simply add the "
3084 "preferred type first - default types not already added will be implicitly "
3085 "appended to the end of the list, so e.g. <placeholder type=\"synopsis\" id="
3086 "\"0\"/> can be used to prefer <command>gzip</command> compressed files over "
3087 "<command>bzip2</command> and <command>lzma</command>. If <command>lzma</"
3088 "command> should be preferred over <command>gzip</command> and "
3089 "<command>bzip2</command> the configure setting should look like this: "
3090 "<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
3091 "<literal>bz2</literal> to the list explicitly as it will be added "
3095 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout>
3096 #: apt.conf.5.xml:532
3098 msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
3101 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3102 #: apt.conf.5.xml:527
3104 "Note that the <literal>Dir::Bin::<replaceable>Methodname</replaceable></"
3105 "literal> will be checked at run time. If this option has been set, the "
3106 "method will only be used if this file exists; e.g. for the <literal>bzip2</"
3107 "literal> method (the inbuilt) setting is: <placeholder type=\"literallayout"
3108 "\" id=\"0\"/> Note also that list entries specified on the command line will "
3109 "be added at the end of the list specified in the configuration files, but "
3110 "before the default entries. To prefer a type in this case over the ones "
3111 "specified in the configuration files you can set the option direct - not in "
3112 "list style. This will not override the defined list; it will only prefix "
3113 "the list with this type."
3116 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3117 #: apt.conf.5.xml:537
3119 "The special type <literal>uncompressed</literal> can be used to give "
3120 "uncompressed files a preference, but note that most archives don't provide "
3121 "uncompressed files so this is mostly only useable for local mirrors."
3124 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3125 #: apt.conf.5.xml:544
3127 "When downloading <literal>gzip</literal> compressed indexes (Packages, "
3128 "Sources, or Translations), keep them gzip compressed locally instead of "
3129 "unpacking them. This saves quite a lot of disk space at the expense of more "
3130 "CPU requirements when building the local package caches. False by default."
3133 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3134 #: apt.conf.5.xml:552
3136 "The Languages subsection controls which <filename>Translation</filename> "
3137 "files are downloaded and in which order APT tries to display the description-"
3138 "translations. APT will try to display the first available description in the "
3139 "language which is listed first. Languages can be defined with their short or "
3140 "long language codes. Note that not all archives provide "
3141 "<filename>Translation</filename> files for every language - the long "
3142 "language codes are especially rare."
3145 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting>
3146 #: apt.conf.5.xml:569
3148 msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };"
3151 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3152 #: apt.conf.5.xml:557
3154 "The default list includes \"environment\" and \"en\". "
3155 "\"<literal>environment</literal>\" has a special meaning here: it will be "
3156 "replaced at runtime with the language codes extracted from the "
3157 "<literal>LC_MESSAGES</literal> environment variable. It will also ensure "
3158 "that these codes are not included twice in the list. If "
3159 "<literal>LC_MESSAGES</literal> is set to \"C\" only the "
3160 "<filename>Translation-en</filename> file (if available) will be used. To "
3161 "force APT to use no Translation file use the setting <literal>Acquire::"
3162 "Languages=none</literal>. \"<literal>none</literal>\" is another special "
3163 "meaning code which will stop the search for a suitable "
3164 "<filename>Translation</filename> file. This tells APT to download these "
3165 "translations too, without actually using them unless the environment "
3166 "specifies the languages. So the following example configuration will result "
3167 "in the order \"en, de\" in an English locale or \"de, en\" in a German one. "
3168 "Note that \"fr\" is downloaded, but not used unless APT is used in a French "
3169 "locale (where the order would be \"fr, de, en\"). <placeholder type="
3170 "\"programlisting\" id=\"0\"/>"
3173 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3174 #: apt.conf.5.xml:570
3176 "Note: To prevent problems resulting from APT being executed in different "
3177 "environments (e.g. by different users or by other programs) all Translation "
3178 "files which are found in <filename>/var/lib/apt/lists/</filename> will be "
3179 "added to the end of the list (after an implicit \"<literal>none</literal>\")."
3182 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3183 #: apt.conf.5.xml:579
3184 msgid "When downloading, force to use only the IPv4 protocol."
3187 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3188 #: apt.conf.5.xml:585
3189 msgid "When downloading, force to use only the IPv6 protocol."
3192 #. type: Content of: <refentry><refsect1><title>
3193 #: apt.conf.5.xml:592
3197 #. type: Content of: <refentry><refsect1><para>
3198 #: apt.conf.5.xml:594
3200 "The <literal>Dir::State</literal> section has directories that pertain to "
3201 "local state information. <literal>lists</literal> is the directory to place "
3202 "downloaded package lists in and <literal>status</literal> is the name of the "
3203 "&dpkg; status file. <literal>preferences</literal> is the name of the APT "
3204 "<filename>preferences</filename> file. <literal>Dir::State</literal> "
3205 "contains the default directory to prefix on all sub-items if they do not "
3206 "start with <filename>/</filename> or <filename>./</filename>."
3209 #. type: Content of: <refentry><refsect1><para>
3210 #: apt.conf.5.xml:601
3212 "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
3213 "information, such as the two package caches <literal>srcpkgcache</literal> "
3214 "and <literal>pkgcache</literal> as well as the location to place downloaded "
3215 "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
3216 "be turned off by setting <literal>pkgcache</literal> or "
3217 "<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow "
3218 "down startup but save disk space. It is probably preferable to turn off the "
3219 "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> "
3220 "the default directory is contained in <literal>Dir::Cache</literal>"
3223 #. type: Content of: <refentry><refsect1><para>
3224 #: apt.conf.5.xml:611
3226 "<literal>Dir::Etc</literal> contains the location of configuration files, "
3227 "<literal>sourcelist</literal> gives the location of the sourcelist and "
3228 "<literal>main</literal> is the default configuration file (setting has no "
3229 "effect, unless it is done from the config file specified by "
3230 "<envar>APT_CONFIG</envar>)."
3233 #. type: Content of: <refentry><refsect1><para>
3234 #: apt.conf.5.xml:617
3236 "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
3237 "in lexical order from the directory specified. After this is done then the "
3238 "main config file is loaded."
3241 #. type: Content of: <refentry><refsect1><para>
3242 #: apt.conf.5.xml:621
3244 "Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::"
3245 "Bin::Methods</literal> specifies the location of the method handlers and "
3246 "<literal>gzip</literal>, <literal>bzip2</literal>, <literal>lzma</literal>, "
3247 "<literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</"
3248 "literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</"
3249 "literal> specify the location of the respective programs."
3252 #. type: Content of: <refentry><refsect1><para>
3253 #: apt.conf.5.xml:629
3255 "The configuration item <literal>RootDir</literal> has a special meaning. If "
3256 "set, all paths in <literal>Dir::</literal> will be relative to "
3257 "<literal>RootDir</literal>, <emphasis>even paths that are specified "
3258 "absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
3259 "set to <filename>/tmp/staging</filename> and <literal>Dir::State::status</"
3260 "literal> is set to <filename>/var/lib/dpkg/status</filename>, then the "
3261 "status file will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</"
3265 #. type: Content of: <refentry><refsect1><para>
3266 #: apt.conf.5.xml:642
3268 "The <literal>Ignore-Files-Silently</literal> list can be used to specify "
3269 "which files APT should silently ignore while parsing the files in the "
3270 "fragment directories. Per default a file which end with <literal>.disabled</"
3271 "literal>, <literal>~</literal>, <literal>.bak</literal> or <literal>.dpkg-[a-"
3272 "z]+</literal> is silently ignored. As seen in the last default value these "
3273 "patterns can use regular expression syntax."
3276 #. type: Content of: <refentry><refsect1><title>
3277 #: apt.conf.5.xml:651
3278 msgid "APT in DSelect"
3281 #. type: Content of: <refentry><refsect1><para>
3282 #: apt.conf.5.xml:653
3284 "When APT is used as a &dselect; method several configuration directives "
3285 "control the default behavior. These are in the <literal>DSelect</literal> "
3289 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3290 #: apt.conf.5.xml:658
3292 "Cache Clean mode; this value may be one of <literal>always</literal>, "
3293 "<literal>prompt</literal>, <literal>auto</literal>, <literal>pre-auto</"
3294 "literal> and <literal>never</literal>. <literal>always</literal> and "
3295 "<literal>prompt</literal> will remove all packages from the cache after "
3296 "upgrading, <literal>prompt</literal> (the default) does so conditionally. "
3297 "<literal>auto</literal> removes only those packages which are no longer "
3298 "downloadable (replaced with a new version for instance). <literal>pre-auto</"
3299 "literal> performs this action before downloading new packages."
3302 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3303 #: apt.conf.5.xml:672
3305 "The contents of this variable are passed to &apt-get; as command line "
3306 "options when it is run for the install phase."
3309 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3310 #: apt.conf.5.xml:677
3312 "The contents of this variable are passed to &apt-get; as command line "
3313 "options when it is run for the update phase."
3316 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3317 #: apt.conf.5.xml:682
3319 "If true the [U]pdate operation in &dselect; will always prompt to continue. "
3320 "The default is to prompt only on error."
3323 #. type: Content of: <refentry><refsect1><title>
3324 #: apt.conf.5.xml:688
3325 msgid "How APT calls &dpkg;"
3328 #. type: Content of: <refentry><refsect1><para>
3329 #: apt.conf.5.xml:689
3331 "Several configuration directives control how APT invokes &dpkg;. These are "
3332 "in the <literal>DPkg</literal> section."
3335 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3336 #: apt.conf.5.xml:694
3338 "This is a list of options to pass to &dpkg;. The options must be specified "
3339 "using the list notation and each list item is passed as a single argument to "
3343 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3344 #: apt.conf.5.xml:700
3346 "This is a list of shell commands to run before/after invoking &dpkg;. Like "
3347 "<literal>options</literal> this must be specified in list notation. The "
3348 "commands are invoked in order using <filename>/bin/sh</filename>; should any "
3349 "fail APT will abort."
3352 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3353 #: apt.conf.5.xml:707
3355 "This is a list of shell commands to run before invoking &dpkg;. Like "
3356 "<literal>options</literal> this must be specified in list notation. The "
3357 "commands are invoked in order using <filename>/bin/sh</filename>; should any "
3358 "fail APT will abort. APT will pass the filenames of all .deb files it is "
3359 "going to install to the commands, one per line on the requested file "
3360 "descriptor, defaulting to standard input."
3363 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3364 #: apt.conf.5.xml:714
3366 "Version 2 of this protocol dumps more information, including the protocol "
3367 "version, the APT configuration space and the packages, files and versions "
3368 "being changed. Version 3 adds the architecture and <literal>MultiArch</"
3369 "literal> flag to each version being dumped."
3372 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3373 #: apt.conf.5.xml:719
3375 "The version of the protocol to be used for the command "
3376 "<literal><replaceable>cmd</replaceable></literal> can be chosen by setting "
3377 "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</"
3378 "literal> accordingly, the default being version 1. If APT isn't supporting "
3379 "the requested version it will send the information in the highest version it "
3380 "has support for instead."
3383 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3384 #: apt.conf.5.xml:726
3386 "The file descriptor to be used to send the information can be requested with "
3387 "<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</"
3388 "literal> which defaults to <literal>0</literal> for standard input and is "
3389 "available since version 0.9.11. Support for the option can be detected by "
3390 "looking for the environment variable <envar>APT_HOOK_INFO_FD</envar> which "
3391 "contains the number of the used file descriptor as a confirmation."
3394 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3395 #: apt.conf.5.xml:736
3397 "APT chdirs to this directory before invoking &dpkg;, the default is "
3398 "<filename>/</filename>."
3401 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3402 #: apt.conf.5.xml:741
3404 "These options are passed to &dpkg-buildpackage; when compiling packages; the "
3405 "default is to disable signing and produce all binaries."
3408 #. type: Content of: <refentry><refsect1><refsect2><title>
3409 #: apt.conf.5.xml:746
3410 msgid "dpkg trigger usage (and related options)"
3413 #. type: Content of: <refentry><refsect1><refsect2><para>
3414 #: apt.conf.5.xml:747
3416 "APT can call &dpkg; in such a way as to let it make aggressive use of "
3417 "triggers over multiple calls of &dpkg;. Without further options &dpkg; will "
3418 "use triggers once each time it runs. Activating these options can therefore "
3419 "decrease the time needed to perform the install or upgrade. Note that it is "
3420 "intended to activate these options per default in the future, but as it "
3421 "drastically changes the way APT calls &dpkg; it needs a lot more testing. "
3422 "<emphasis>These options are therefore currently experimental and should not "
3423 "be used in production environments.</emphasis> It also breaks progress "
3424 "reporting such that all front-ends will currently stay around half (or more) "
3425 "of the time in the 100% state while it actually configures all packages."
3428 #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
3429 #: apt.conf.5.xml:762
3432 "DPkg::NoTriggers \"true\";\n"
3433 "PackageManager::Configure \"smart\";\n"
3434 "DPkg::ConfigurePending \"true\";\n"
3435 "DPkg::TriggersPending \"true\";"
3438 #. type: Content of: <refentry><refsect1><refsect2><para>
3439 #: apt.conf.5.xml:756
3441 "Note that it is not guaranteed that APT will support these options or that "
3442 "these options will not cause (big) trouble in the future. If you have "
3443 "understand the current risks and problems with these options, but are brave "
3444 "enough to help testing them, create a new configuration file and test a "
3445 "combination of options. Please report any bugs, problems and improvements "
3446 "you encounter and make sure to note which options you have used in your "
3447 "reports. Asking &dpkg; for help could also be useful for debugging proposes, "
3448 "see e.g. <command>dpkg --audit</command>. A defensive option combination "
3449 "would be <placeholder type=\"literallayout\" id=\"0\"/>"
3452 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3453 #: apt.conf.5.xml:769
3455 "Add the no triggers flag to all &dpkg; calls (except the ConfigurePending "
3456 "call). See &dpkg; if you are interested in what this actually means. In "
3457 "short: &dpkg; will not run the triggers when this flag is present unless it "
3458 "is explicitly called to do so in an extra call. Note that this option "
3459 "exists (undocumented) also in older APT versions with a slightly different "
3460 "meaning: Previously these option only append --no-triggers to the configure "
3461 "calls to &dpkg; - now APT will also add this flag to the unpack and remove "
3465 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3466 #: apt.conf.5.xml:777
3468 "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
3469 "and \"<literal>no</literal>\". The default value is \"<literal>all</literal>"
3470 "\", which causes APT to configure all packages. The \"<literal>smart</"
3471 "literal>\" way is to configure only packages which need to be configured "
3472 "before another package can be unpacked (Pre-Depends), and let the rest be "
3473 "configured by &dpkg; with a call generated by the ConfigurePending option "
3474 "(see below). On the other hand, \"<literal>no</literal>\" will not configure "
3475 "anything, and totally relies on &dpkg; for configuration (which at the "
3476 "moment will fail if a Pre-Depends is encountered). Setting this option to "
3477 "any value other than <literal>all</literal> will implicitly also activate "
3478 "the next option by default, as otherwise the system could end in an "
3479 "unconfigured and potentially unbootable state."
3482 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3483 #: apt.conf.5.xml:792
3485 "If this option is set APT will call <command>dpkg --configure --pending</"
3486 "command> to let &dpkg; handle all required configurations and triggers. This "
3487 "option is activated automatically per default if the previous option is not "
3488 "set to <literal>all</literal>, but deactivating it could be useful if you "
3489 "want to run APT multiple times in a row - e.g. in an installer. In these "
3490 "sceneries you could deactivate this option in all but the last run."
3493 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3494 #: apt.conf.5.xml:799
3496 "Useful for the <literal>smart</literal> configuration as a package which has "
3497 "pending triggers is not considered as <literal>installed</literal>, and "
3498 "&dpkg; treats them as <literal>unpacked</literal> currently which is a "
3499 "showstopper for Pre-Dependencies (see debbugs #526774). Note that this will "
3500 "process all triggers, not only the triggers needed to configure this package."
3503 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
3504 #: apt.conf.5.xml:812
3507 "OrderList::Score {\n"
3509 "\tEssential 200;\n"
3511 "\tPreDepends 50;\n"
3515 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
3516 #: apt.conf.5.xml:805
3518 "Essential packages (and their dependencies) should be configured immediately "
3519 "after unpacking. It is a good idea to do this quite early in the upgrade "
3520 "process as these configure calls also currently require <literal>DPkg::"
3521 "TriggersPending</literal> which will run quite a few triggers (which may not "
3522 "be needed). Essentials get per default a high score but the immediate flag "
3523 "is relatively low (a package which has a Pre-Depends is rated higher). "
3524 "These option and the others in the same group can be used to change the "
3525 "scoring. The following example shows the settings with their default "
3526 "values. <placeholder type=\"literallayout\" id=\"0\"/>"
3529 #. type: Content of: <refentry><refsect1><title>
3530 #: apt.conf.5.xml:825
3531 msgid "Periodic and Archives options"
3534 #. type: Content of: <refentry><refsect1><para>
3535 #: apt.conf.5.xml:826
3537 "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
3538 "of options configure behavior of apt periodic updates, which is done by the "
3539 "<literal>/etc/cron.daily/apt</literal> script. See the top of this script "
3540 "for the brief documentation of these options."
3543 #. type: Content of: <refentry><refsect1><title>
3544 #: apt.conf.5.xml:834
3545 msgid "Debug options"
3548 #. type: Content of: <refentry><refsect1><para>
3549 #: apt.conf.5.xml:836
3551 "Enabling options in the <literal>Debug::</literal> section will cause "
3552 "debugging information to be sent to the standard error stream of the program "
3553 "utilizing the <literal>apt</literal> libraries, or enable special program "
3554 "modes that are primarily useful for debugging the behavior of <literal>apt</"
3555 "literal>. Most of these options are not interesting to a normal user, but a "
3559 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3560 #: apt.conf.5.xml:847
3562 "<literal>Debug::pkgProblemResolver</literal> enables output about the "
3563 "decisions made by <literal>dist-upgrade, upgrade, install, remove, purge</"
3567 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3568 #: apt.conf.5.xml:855
3570 "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
3571 "used to run some operations (for instance, <literal>apt-get -s install</"
3572 "literal>) as a non-root user."
3575 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3576 #: apt.conf.5.xml:864
3578 "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
3579 "time that <literal>apt</literal> invokes &dpkg;."
3583 #. motivating example, except I haven't a clue why you'd want
3585 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
3586 #: apt.conf.5.xml:872
3588 "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
3592 #. type: Content of: <refentry><refsect1><para>
3593 #: apt.conf.5.xml:882
3594 msgid "A full list of debugging options to apt follows."
3597 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3598 #: apt.conf.5.xml:891
3600 "Print information related to accessing <literal>cdrom://</literal> sources."
3603 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3604 #: apt.conf.5.xml:902
3605 msgid "Print information related to downloading packages using FTP."
3608 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3609 #: apt.conf.5.xml:913
3610 msgid "Print information related to downloading packages using HTTP."
3613 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3614 #: apt.conf.5.xml:924
3615 msgid "Print information related to downloading packages using HTTPS."
3618 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3619 #: apt.conf.5.xml:935
3621 "Print information related to verifying cryptographic signatures using "
3622 "<literal>gpg</literal>."
3625 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3626 #: apt.conf.5.xml:946
3628 "Output information about the process of accessing collections of packages "
3629 "stored on CD-ROMs."
3632 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3633 #: apt.conf.5.xml:956
3634 msgid "Describes the process of resolving build-dependencies in &apt-get;."
3637 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3638 #: apt.conf.5.xml:966
3640 "Output each cryptographic hash that is generated by the <literal>apt</"
3641 "literal> libraries."
3644 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3645 #: apt.conf.5.xml:976
3647 "Do not include information from <literal>statfs</literal>, namely the number "
3648 "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
3652 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3653 #: apt.conf.5.xml:987
3655 "Disable all file locking. For instance, this will allow two instances of "
3656 "<quote><literal>apt-get update</literal></quote> to run at the same time."
3659 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3660 #: apt.conf.5.xml:999
3661 msgid "Log when items are added to or removed from the global download queue."
3664 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3665 #: apt.conf.5.xml:1009
3667 "Output status messages and errors related to verifying checksums and "
3668 "cryptographic signatures of downloaded files."
3671 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3672 #: apt.conf.5.xml:1019
3674 "Output information about downloading and applying package index list diffs, "
3675 "and errors relating to package index list diffs."
3678 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3679 #: apt.conf.5.xml:1031
3681 "Output information related to patching apt package lists when downloading "
3682 "index diffs instead of full indices."
3685 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3686 #: apt.conf.5.xml:1042
3688 "Log all interactions with the sub-processes that actually perform downloads."
3691 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3692 #: apt.conf.5.xml:1053
3694 "Log events related to the automatically-installed status of packages and to "
3695 "the removal of unused packages."
3698 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3699 #: apt.conf.5.xml:1063
3701 "Generate debug messages describing which packages are being automatically "
3702 "installed to resolve dependencies. This corresponds to the initial auto-"
3703 "install pass performed in, e.g., <literal>apt-get install</literal>, and not "
3704 "to the full <literal>apt</literal> dependency resolver; see <literal>Debug::"
3705 "pkgProblemResolver</literal> for that."
3708 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3709 #: apt.conf.5.xml:1077
3711 "Generate debug messages describing which packages are marked as keep/install/"
3712 "remove while the ProblemResolver does his work. Each addition or deletion "
3713 "may trigger additional actions; they are shown indented two additional "
3714 "spaces under the original entry. The format for each line is "
3715 "<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or "
3716 "<literal>MarkInstall</literal> followed by <literal>package-name <a.b.c -"
3717 "> d.e.f | x.y.z> (section)</literal> where <literal>a.b.c</literal> is "
3718 "the current version of the package, <literal>d.e.f</literal> is the version "
3719 "considered for installation and <literal>x.y.z</literal> is a newer version, "
3720 "but not considered for installation (because of a low pin score). The later "
3721 "two can be omitted if there is none or if it is the same as the installed "
3722 "version. <literal>section</literal> is the name of the section the package "
3726 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3727 #: apt.conf.5.xml:1098
3729 "When invoking &dpkg;, output the precise command line with which it is being "
3730 "invoked, with arguments separated by a single space character."
3733 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3734 #: apt.conf.5.xml:1109
3736 "Output all the data received from &dpkg; on the status file descriptor and "
3737 "any errors encountered while parsing it."
3740 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3741 #: apt.conf.5.xml:1120
3743 "Generate a trace of the algorithm that decides the order in which "
3744 "<literal>apt</literal> should pass packages to &dpkg;."
3747 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3748 #: apt.conf.5.xml:1132
3750 "Output status messages tracing the steps performed when invoking &dpkg;."
3753 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3754 #: apt.conf.5.xml:1143
3755 msgid "Output the priority of each package list on startup."
3758 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3759 #: apt.conf.5.xml:1153
3761 "Trace the execution of the dependency resolver (this applies only to what "
3762 "happens when a complex dependency problem is encountered)."
3765 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3766 #: apt.conf.5.xml:1164
3768 "Display a list of all installed packages with their calculated score used by "
3769 "the pkgProblemResolver. The description of the package is the same as "
3770 "described in <literal>Debug::pkgDepCache::Marker</literal>"
3773 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3774 #: apt.conf.5.xml:1176
3776 "Print information about the vendors read from <filename>/etc/apt/vendors."
3780 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3781 #: apt.conf.5.xml:1186
3783 "Display the external commands that are called by apt hooks. This includes e."
3784 "g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or "
3785 "<literal>APT::Update::{Pre,Post}-Invoke</literal>."
3788 #. type: Content of: <refentry><refsect1><title>
3789 #: apt.conf.5.xml:1210 apt_preferences.5.xml:541 sources.list.5.xml:233
3790 #: apt-ftparchive.1.xml:592
3795 #. type: Content of: <refentry><refsect1><para>
3796 #: apt.conf.5.xml:1211
3798 "&configureindex; is a configuration file showing example values for all "
3802 #. ? reading apt.conf
3803 #. type: Content of: <refentry><refsect1><para>
3804 #: apt.conf.5.xml:1223
3806 msgid "&apt-cache;, &apt-config;, &apt-preferences;."
3807 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
3809 #. type: Content of: <refentry><refnamediv><refpurpose>
3810 #: apt_preferences.5.xml:28
3812 msgid "Preference control file for APT"
3813 msgstr "Arquivo de controle de preferências para o APT"
3815 #. type: Content of: <refentry><refsect1><para>
3816 #: apt_preferences.5.xml:33
3819 "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
3820 "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
3821 "can be used to control which versions of packages will be selected for "
3824 "O arquivo de preferências do APT <filename>/etc/apt/preferences</filename> "
3825 "pode ser usado para controlar quais versões de pacotes serão selecionadas "
3828 #. type: Content of: <refentry><refsect1><para>
3829 #: apt_preferences.5.xml:38
3832 "Several versions of a package may be available for installation when the "
3833 "&sources-list; file contains references to more than one distribution (for "
3834 "example, <literal>stable</literal> and <literal>testing</literal>). APT "
3835 "assigns a priority to each version that is available. Subject to dependency "
3836 "constraints, <command>apt-get</command> selects the version with the highest "
3837 "priority for installation. The APT preferences override the priorities that "
3838 "APT assigns to package versions by default, thus giving the user control "
3839 "over which one is selected for installation."
3841 "Diversas versões de um pacote podem estar disponíveis para instalação quando "
3842 "o arquivo &sources-list; contém referências para mais de uma distribuição "
3843 "(por exemplo, <literal>stable</literal> e <literal>testing</literal>). O APT "
3844 "atribui uma prioridade para cada versão que esteja disponível. Sujeito a "
3845 "obstáculos de dependências, o <command>apt-get</command> seleciona para "
3846 "instalação a versão com a maior prioridade. O arquivo de preferências do APT "
3847 "sobrepoe as prioridades que o APT atribui a cada versão de pacote por "
3848 "padrão, dando assim ao usuário controle sobre qual versão do pacote é "
3849 "selecionada para instalação."
3851 #. type: Content of: <refentry><refsect1><para>
3852 #: apt_preferences.5.xml:48
3855 "Several instances of the same version of a package may be available when the "
3856 "&sources-list; file contains references to more than one source. In this "
3857 "case <command>apt-get</command> downloads the instance listed earliest in "
3858 "the &sources-list; file. The APT preferences do not affect the choice of "
3859 "instance, only the choice of version."
3861 "Diversas instâncias da mesma versão de um pacote pode estar disponíveis "
3862 "quando o arquivo &sources-list; contém referências a mais de uma fonte. "
3863 "Nesse caso, o <command>apt-get</command> faz o download da instância listada "
3864 "antes no arquivo &sources-list; . O arquivo de preferências do APT não afeta "
3865 "a escolha da instância."
3867 #. type: Content of: <refentry><refsect1><para>
3868 #: apt_preferences.5.xml:55
3870 "Preferences are a strong power in the hands of a system administrator but "
3871 "they can become also their biggest nightmare if used without care! APT will "
3872 "not question the preferences, so wrong settings can lead to uninstallable "
3873 "packages or wrong decisions while upgrading packages. Even more problems "
3874 "will arise if multiple distribution releases are mixed without a good "
3875 "understanding of the following paragraphs. Packages included in a specific "
3876 "release aren't tested in (and therefore don't always work as expected in) "
3877 "older or newer releases, or together with other packages from different "
3878 "releases. You have been warned."
3881 #. type: Content of: <refentry><refsect1><para>
3882 #: apt_preferences.5.xml:66
3884 "Note that the files in the <filename>/etc/apt/preferences.d</filename> "
3885 "directory are parsed in alphanumeric ascending order and need to obey the "
3886 "following naming convention: The files have either no or \"<literal>pref</"
3887 "literal>\" as filename extension and only contain alphanumeric, hyphen (-), "
3888 "underscore (_) and period (.) characters. Otherwise APT will print a notice "
3889 "that it has ignored a file, unless that file matches a pattern in the "
3890 "<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which "
3891 "case it will be silently ignored."
3894 #. type: Content of: <refentry><refsect1><refsect2><title>
3895 #: apt_preferences.5.xml:75
3897 msgid "APT's Default Priority Assignments"
3898 msgstr "Atribuições de Prioridade Padrão do APT"
3900 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
3901 #: apt_preferences.5.xml:90
3903 msgid "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
3905 "<programlisting>\n"
3906 "<command>apt-get install -t testing <replaceable>algum-pacote</replaceable></command>\n"
3908 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
3909 #: apt_preferences.5.xml:93
3911 msgid "APT::Default-Release \"stable\";\n"
3913 "<programlisting>\n"
3914 "APT::Default-Release \"stable\";\n"
3916 #. type: Content of: <refentry><refsect1><refsect2><para>
3917 #: apt_preferences.5.xml:77
3920 "If there is no preferences file or if there is no entry in the file that "
3921 "applies to a particular version then the priority assigned to that version "
3922 "is the priority of the distribution to which that version belongs. It is "
3923 "possible to single out a distribution, \"the target release\", which "
3924 "receives a higher priority than other distributions do by default. The "
3925 "target release can be set on the <command>apt-get</command> command line or "
3926 "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
3927 "that this has precedence over any general priority you set in the <filename>/"
3928 "etc/apt/preferences</filename> file described later, but not over "
3929 "specifically pinned packages. For example, <placeholder type="
3930 "\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
3932 "Caso não exista um arquivo de preferências ou caso não exista uma entrada no "
3933 "arquivo que se aplique a uma instância em particular, a prioridade atribuída "
3934 "a essa instância é a prioridade da distribuição para a qual a instância "
3935 "pertence. É possível selecionar uma distribuição, conhecida como \"a versão "
3936 "alvo\" (the target release), que recebe uma prioridade maior do que as "
3937 "outras distribuições. A versão alvo pode ser definida na linha de comando do "
3938 "<command>apt-get</command> ou no arquivo de configuração do APT <filename>/"
3939 "etc/apt/apt.conf</filename>. Por exemplo,"
3941 #. type: Content of: <refentry><refsect1><refsect2><para>
3942 #: apt_preferences.5.xml:97
3945 "If the target release has been specified then APT uses the following "
3946 "algorithm to set the priorities of the versions of a package. Assign:"
3948 "Caso uma versão alvo tenha sido especificada o APT usará o seguinte "
3949 "algoritmo para definir as prioridades das instâncias de um pacote. "
3952 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3953 #: apt_preferences.5.xml:102
3956 msgstr "prioridade 100"
3958 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3959 #: apt_preferences.5.xml:103
3961 "to the versions coming from archives which in their <filename>Release</"
3962 "filename> files are marked as \"NotAutomatic: yes\" but <emphasis>not</"
3963 "emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian "
3964 "<literal>experimental</literal> archive."
3967 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3968 #: apt_preferences.5.xml:109
3970 msgid "priority 100"
3971 msgstr "prioridade 100"
3973 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3974 #: apt_preferences.5.xml:110
3976 "to the version that is already installed (if any) and to the versions coming "
3977 "from archives which in their <filename>Release</filename> files are marked "
3978 "as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian "
3979 "backports archive since <literal>squeeze-backports</literal>."
3982 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3983 #: apt_preferences.5.xml:117
3985 msgid "priority 500"
3986 msgstr "prioridade 500"
3988 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
3989 #: apt_preferences.5.xml:118
3992 "to the versions that are not installed and do not belong to the target "
3995 "para as instâncias que não estã instaladas e que não pertencem a versão alvo."
3997 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
3998 #: apt_preferences.5.xml:122
4000 msgid "priority 990"
4001 msgstr "prioridade 990"
4003 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4004 #: apt_preferences.5.xml:123
4007 "to the versions that are not installed and belong to the target release."
4009 "para as instâncias que não estejam instaladas e pertençam a versão alvo."
4011 #. type: Content of: <refentry><refsect1><refsect2><para>
4012 #: apt_preferences.5.xml:128
4015 "If the target release has not been specified then APT simply assigns "
4016 "priority 100 to all installed package versions and priority 500 to all "
4017 "uninstalled package versions, except versions coming from archives which in "
4018 "their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" "
4019 "- these versions get the priority 1 or priority 100 if it is additionally "
4020 "marked as \"ButAutomaticUpgrades: yes\"."
4022 "Caso nenhuma versão alvo tenha sido especificada, o APT simplesmente irá "
4023 "atribuir a prioridade 100 para todas as instâncias de pacotes instaladas e a "
4024 "prioridade 500 para todas as instâncias de pacotes não instaladas."
4026 #. type: Content of: <refentry><refsect1><refsect2><para>
4027 #: apt_preferences.5.xml:135
4030 "APT then applies the following rules, listed in order of precedence, to "
4031 "determine which version of a package to install."
4033 "O APT aplica as regras a seguir, listadas em ordem de precedência, para "
4034 "determinar qual instância de um pacote instalar."
4036 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4037 #: apt_preferences.5.xml:138
4040 "Never downgrade unless the priority of an available version exceeds 1000. "
4041 "(\"Downgrading\" is installing a less recent version of a package in place "
4042 "of a more recent version. Note that none of APT's default priorities "
4043 "exceeds 1000; such high priorities can only be set in the preferences file. "
4044 "Note also that downgrading a package can be risky.)"
4046 "Nunca faz um downgrade a menos que a prioridade de uma instância disponível "
4047 "exceda 1000. (Fazer um \"downgrade\" é instalar uma versão menos recente de "
4048 "um pacote no lugar de uma versão mais recente. Note que nenhuma das "
4049 "prioridades padrão do APT excede 1000; prioridades altas como essa podem ser "
4050 "definidas somente no arquivo de preferências. Note também que fazer um "
4051 "\"downgrade\" pode ser arriscado.)"
4053 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4054 #: apt_preferences.5.xml:144
4056 msgid "Install the highest priority version."
4057 msgstr "Instala a instância de prioridade mais alta."
4059 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4060 #: apt_preferences.5.xml:145
4063 "If two or more versions have the same priority, install the most recent one "
4064 "(that is, the one with the higher version number)."
4066 "Caso duas ou mais instâncias possuam a mesma prioridade, instala a instância "
4067 "mais recente (ou seja, aquela com o maior número de versão)."
4069 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4070 #: apt_preferences.5.xml:148
4073 "If two or more versions have the same priority and version number but either "
4074 "the packages differ in some of their metadata or the <literal>--reinstall</"
4075 "literal> option is given, install the uninstalled one."
4077 "Caso duas ou mais instâncias possuam a mesma prioridade e número de versão "
4078 "mas os pacotes sejam diferentes em alguns de seus metadados ou a opção "
4079 "<literal>--reinstall</literal> seja fornecida, instala aquela desinstalada."
4081 #. type: Content of: <refentry><refsect1><refsect2><para>
4082 #: apt_preferences.5.xml:154
4085 "In a typical situation, the installed version of a package (priority 100) "
4086 "is not as recent as one of the versions available from the sources listed in "
4087 "the &sources-list; file (priority 500 or 990). Then the package will be "
4088 "upgraded when <command>apt-get install <replaceable>some-package</"
4089 "replaceable></command> or <command>apt-get upgrade</command> is executed."
4091 "Em uma situação típica, a instância instalada de um pacote (prioridade 100) "
4092 "não é tão recente quanto uma das versões disponíveis nas fontes listadas no "
4093 "arquivo &sources-list; (prioridade 500 ou 990). Então o pacote será "
4094 "atualizado quando os comandos <command>apt-get install <replaceable>algum-"
4095 "pacote</replaceable></command> ou <command>apt-get dist-upgrade</command> "
4098 #. type: Content of: <refentry><refsect1><refsect2><para>
4099 #: apt_preferences.5.xml:161
4102 "More rarely, the installed version of a package is <emphasis>more</emphasis> "
4103 "recent than any of the other available versions. The package will not be "
4104 "downgraded when <command>apt-get install <replaceable>some-package</"
4105 "replaceable></command> or <command>apt-get upgrade</command> is executed."
4107 "Mais raramente, a versão instalada de um pacote é <emphasis>mais</emphasis> "
4108 "recente do que qualquer uma das outras versões disponíveis. O dowgrade do "
4109 "pacote não será feito quando os comandos <command>apt-get install "
4110 "<replaceable>algum-pacote</replaceable></command> ou <command>apt-get "
4111 "upgrade</command> forem executados."
4113 #. type: Content of: <refentry><refsect1><refsect2><para>
4114 #: apt_preferences.5.xml:166
4117 "Sometimes the installed version of a package is more recent than the version "
4118 "belonging to the target release, but not as recent as a version belonging to "
4119 "some other distribution. Such a package will indeed be upgraded when "
4120 "<command>apt-get install <replaceable>some-package</replaceable></command> "
4121 "or <command>apt-get upgrade</command> is executed, because at least "
4122 "<emphasis>one</emphasis> of the available versions has a higher priority "
4123 "than the installed version."
4125 "Algumas vezes a versão instalada de um pacote é mais recente que a versão "
4126 "que pertence a versão alvo, mas não tão recente quanto a versão que pertence "
4127 "a alguma outra distribuição. Um pacote como esse será na verdade atualizado "
4128 "quando os comandos <command>apt-get install <replaceable>algum-pacote</"
4129 "replaceable></command> ou <command>apt-get upgrade</command> forem "
4130 "executados, devido a pelo menos <emphasis>uma</emphasis> das versões "
4131 "disponíveis possuir uma prioridade maior do que a versão instalada."
4133 #. type: Content of: <refentry><refsect1><refsect2><title>
4134 #: apt_preferences.5.xml:175
4136 msgid "The Effect of APT Preferences"
4137 msgstr "O Efeito das Preferências do APT"
4139 #. type: Content of: <refentry><refsect1><refsect2><para>
4140 #: apt_preferences.5.xml:177
4143 "The APT preferences file allows the system administrator to control the "
4144 "assignment of priorities. The file consists of one or more multi-line "
4145 "records separated by blank lines. Records can have one of two forms, a "
4146 "specific form and a general form."
4148 "O arquivo de preferências do APT permite ao administrador do sistema "
4149 "personalizar prioridades. O arquivo consiste de um ou mais registros de "
4150 "múltiplas linhas separados por linhas em branco. Registros podem possuir uma "
4151 "das duas formas, uma forma específica e uma forma geral."
4153 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4154 #: apt_preferences.5.xml:183
4157 "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
4158 "specified packages with a specified version or version range. For example, "
4159 "the following record assigns a high priority to all versions of the "
4160 "<filename>perl</filename> package whose version number begins with "
4161 "\"<literal>&good-perl;</literal>\". Multiple packages can be separated by "
4164 "A forma específica atribui uma uma prioridade (uma \"Pin-Priority\") para um "
4165 "pacote e versão ou faixa de versão especificados. Por exemplo, o registro a "
4166 "seguir atribui uma prioridade alta para todas as versões do pacote "
4167 "<filename>perl</filename> os quais tenham seus números de versão iniciando "
4168 "com \"<literal>5.8</literal>\"."
4170 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
4171 #: apt_preferences.5.xml:190
4175 "Pin: version &good-perl;*\n"
4176 "Pin-Priority: 1001\n"
4178 "<programlisting>\n"
4180 "Pin: version 5.8*\n"
4181 "Pin-Priority: 1001\n"
4183 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4184 #: apt_preferences.5.xml:196
4187 "The general form assigns a priority to all of the package versions in a "
4188 "given distribution (that is, to all the versions of packages that are listed "
4189 "in a certain <filename>Release</filename> file) or to all of the package "
4190 "versions coming from a particular Internet site, as identified by the site's "
4191 "fully qualified domain name."
4193 "O forma geral atribui uma prioridade para todas as versões de pacotes em uma "
4194 "dada distribuição (isto é, para toda as versões de pacotes que estejam em um "
4195 "certo arquivo <filename>Release</filename>) ou para todas as versões de "
4196 "pacotes que provenientes de um site Internet em particular, como "
4197 "identificado pelo nome de domínio totalmente qualificado do site Internet."
4199 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4200 #: apt_preferences.5.xml:202
4203 "This general-form entry in the APT preferences file applies only to groups "
4204 "of packages. For example, the following record assigns a high priority to "
4205 "all package versions available from the local site."
4207 "Essa entrada de forma geral no arquivo de preferências do APT aplica-se "
4208 "somente a grupos de pacotes. Por exemplo, o registro a seguir faz com que o "
4209 "APT atribua uma prioridade alta para todas as versões de pacotes disponíveis "
4212 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
4213 #: apt_preferences.5.xml:207
4217 "Pin: origin \"\"\n"
4218 "Pin-Priority: 999\n"
4220 "<programlisting>\n"
4222 "Pin: origin \"\"\n"
4223 "Pin-Priority: 999\n"
4225 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4226 #: apt_preferences.5.xml:212
4228 "A note of caution: the keyword used here is \"<literal>origin</literal>\" "
4229 "which can be used to match a hostname. The following record will assign a "
4230 "high priority to all versions available from the server identified by the "
4231 "hostname \"ftp.de.debian.org\""
4234 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
4235 #: apt_preferences.5.xml:216
4239 "Pin: origin \"ftp.de.debian.org\"\n"
4240 "Pin-Priority: 999\n"
4242 "<programlisting>\n"
4244 "Pin: origin \"\"\n"
4245 "Pin-Priority: 999\n"
4247 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4248 #: apt_preferences.5.xml:220
4251 "This should <emphasis>not</emphasis> be confused with the Origin of a "
4252 "distribution as specified in a <filename>Release</filename> file. What "
4253 "follows the \"Origin:\" tag in a <filename>Release</filename> file is not an "
4254 "Internet address but an author or vendor name, such as \"Debian\" or \"Ximian"
4257 "Uma nota de aviso : a palavra-chave usada aqui é \"<literal>origin</literal>"
4258 "\". Esta palavra não deve ser confundida com a origem (\"Origin:\") de uma "
4259 "distribuição como especificado em um arquivo <filename>Release</filename>. O "
4260 "que segue a tag \"Origin:\" em um arquivo <filename>Release</filename> não é "
4261 "um endereço de site Internet mas sim nome de autor ou distribuidor (vendor), "
4262 "como \"Debian\" ou \"Ximian\"."
4264 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4265 #: apt_preferences.5.xml:225
4268 "The following record assigns a low priority to all package versions "
4269 "belonging to any distribution whose Archive name is \"<literal>unstable</"
4272 "O registro a seguir atribui uma prioridade baixa para todas as versões de "
4273 "pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
4274 "\"<literal>unstable</literal>\"."
4276 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
4277 #: apt_preferences.5.xml:229
4281 "Pin: release a=unstable\n"
4282 "Pin-Priority: 50\n"
4284 "<programlisting>\n"
4286 "Pin: release a=unstable\n"
4287 "Pin-Priority: 50\n"
4289 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4290 #: apt_preferences.5.xml:234
4293 "The following record assigns a high priority to all package versions "
4294 "belonging to any distribution whose Codename is \"<literal>&testing-codename;"
4297 "O registro a seguir atribui uma prioridade baixa para todas as versões de "
4298 "pacote que pertençam a qualquer distribuição cujo nome do Repositório seja "
4299 "\"<literal>unstable</literal>\"."
4301 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
4302 #: apt_preferences.5.xml:238
4306 "Pin: release n=&testing-codename;\n"
4307 "Pin-Priority: 900\n"
4309 "<programlisting>\n"
4311 "Pin: release a=unstable\n"
4312 "Pin-Priority: 50\n"
4314 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4315 #: apt_preferences.5.xml:243
4318 "The following record assigns a high priority to all package versions "
4319 "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
4320 "and whose release Version number is \"<literal>&stable-version;</literal>\"."
4322 "O registro a seguir atribui uma prioridade alta para todas as versões de "
4323 "pacotes que pertençam a qualquer versão cujo nome do Repositório seja "
4324 "\"<literal>stable</literal>\" e cujo número de versão seja \"<literal>3.0</"
4327 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
4328 #: apt_preferences.5.xml:248
4332 "Pin: release a=stable, v=&stable-version;\n"
4333 "Pin-Priority: 500\n"
4335 "<programlisting>\n"
4337 "Pin: release a=unstable, v=3.0\n"
4338 "Pin-Priority: 50\n"
4340 #. type: Content of: <refentry><refsect1><refsect2><title>
4341 #: apt_preferences.5.xml:258
4342 msgid "Regular expressions and &glob; syntax"
4345 #. type: Content of: <refentry><refsect1><refsect2><para>
4346 #: apt_preferences.5.xml:260
4348 "APT also supports pinning by &glob; expressions, and regular expressions "
4349 "surrounded by slashes. For example, the following example assigns the "
4350 "priority 500 to all packages from experimental where the name starts with "
4351 "gnome (as a &glob;-like expression) or contains the word kde (as a POSIX "
4352 "extended regular expression surrounded by slashes)."
4355 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
4356 #: apt_preferences.5.xml:269
4359 "Package: gnome* /kde/\n"
4360 "Pin: release n=experimental\n"
4361 "Pin-Priority: 500\n"
4363 "<programlisting>\n"
4365 "Pin: release a=unstable\n"
4366 "Pin-Priority: 50\n"
4368 #. type: Content of: <refentry><refsect1><refsect2><para>
4369 #: apt_preferences.5.xml:275
4371 "The rule for those expressions is that they can occur anywhere where a "
4372 "string can occur. Thus, the following pin assigns the priority 990 to all "
4373 "packages from a release starting with &ubuntu-codename;."
4376 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
4377 #: apt_preferences.5.xml:281
4381 "Pin: release n=&ubuntu-codename;*\n"
4382 "Pin-Priority: 990\n"
4384 "<programlisting>\n"
4386 "Pin: release a=unstable\n"
4387 "Pin-Priority: 50\n"
4389 #. type: Content of: <refentry><refsect1><refsect2><para>
4390 #: apt_preferences.5.xml:287
4392 "If a regular expression occurs in a <literal>Package</literal> field, the "
4393 "behavior is the same as if this regular expression were replaced with a list "
4394 "of all package names it matches. It is undecided whether this will change in "
4395 "the future; thus you should always list wild-card pins first, so later "
4396 "specific pins override it. The pattern \"<literal>*</literal>\" in a "
4397 "Package field is not considered a &glob; expression in itself."
4400 #. type: Content of: <refentry><refsect1><refsect2><title>
4401 #: apt_preferences.5.xml:303
4403 msgid "How APT Interprets Priorities"
4404 msgstr "Como o APT Interpreta Prioridades"
4406 #. type: Content of: <refentry><refsect1><refsect2><para>
4407 #: apt_preferences.5.xml:306
4410 "Priorities (P) assigned in the APT preferences file must be positive or "
4411 "negative integers. They are interpreted as follows (roughly speaking):"
4413 "Prioridades (P) atribuídas no arquivo de preferências do APT devem ser "
4414 "números inteiros positivos ou negativos. Eles são interpretados como a "
4415 "seguir (a grosso modo):"
4417 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4418 #: apt_preferences.5.xml:311
4419 msgid "P >= 1000"
4420 msgstr "P >= 1000"
4422 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4423 #: apt_preferences.5.xml:312
4426 "causes a version to be installed even if this constitutes a downgrade of the "
4429 "faz com que uma instância seja instalada mesmo caso isso constitua um "
4430 "dowgrade do pacote"
4432 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4433 #: apt_preferences.5.xml:316
4434 msgid "990 <= P < 1000"
4435 msgstr "990 <= P < 1000"
4437 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4438 #: apt_preferences.5.xml:317
4441 "causes a version to be installed even if it does not come from the target "
4442 "release, unless the installed version is more recent"
4444 "faz com que uma versão seja instalada mesmo caso a mesma não venha de uma "
4445 "versão alvo, a menos que a versão instalada seja mais recente"
4447 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4448 #: apt_preferences.5.xml:322
4449 msgid "500 <= P < 990"
4450 msgstr "500 <= P < 990"
4452 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4453 #: apt_preferences.5.xml:323
4456 "causes a version to be installed unless there is a version available "
4457 "belonging to the target release or the installed version is more recent"
4459 "faz com que uma versão seja instalada a menos que exista uma versão "
4460 "disponível pertencente a versão alvo ou a versão instalada seja mais recente"
4462 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4463 #: apt_preferences.5.xml:328
4464 msgid "100 <= P < 500"
4465 msgstr "100 <= P < 500"
4467 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4468 #: apt_preferences.5.xml:329
4471 "causes a version to be installed unless there is a version available "
4472 "belonging to some other distribution or the installed version is more recent"
4474 "faz com que uma versão seja instalada a menos que exista uma versão "
4475 "disponível pertencente a alguma outra distribuição ou a versão instalada "
4478 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4479 #: apt_preferences.5.xml:334
4480 msgid "0 < P < 100"
4481 msgstr "0 < P < 100"
4483 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4484 #: apt_preferences.5.xml:335
4487 "causes a version to be installed only if there is no installed version of "
4490 "faz com que uma versão seja instalada somente caso não exista uma versão "
4491 "instalada do pacote"
4493 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4494 #: apt_preferences.5.xml:339
4498 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4499 #: apt_preferences.5.xml:340
4501 msgid "prevents the version from being installed"
4502 msgstr "impede a versão de ser instalada"
4504 #. type: Content of: <refentry><refsect1><refsect2><para>
4505 #: apt_preferences.5.xml:345
4508 "If any specific-form records match an available package version then the "
4509 "first such record determines the priority of the package version. Failing "
4510 "that, if any general-form records match an available package version then "
4511 "the first such record determines the priority of the package version."
4513 "Caso um dos registro de forma específica descritos acima case (match) com "
4514 "uma versão disponível do pacote então o primeiro desses registros "
4515 "encontrados determinará a prioridade da versão do pacote. Na falha desse "
4516 "cenário, caso quaisquer registros de forma genérica casem (match) com uma "
4517 "versão do pacote disponível então o primeiro desses registros encontrado "
4518 "determinará a prioridade da versão do pacote."
4520 #. type: Content of: <refentry><refsect1><refsect2><para>
4521 #: apt_preferences.5.xml:351
4524 "For example, suppose the APT preferences file contains the three records "
4525 "presented earlier:"
4527 "Por exemplo, suponha que o arquivo de preferências do APT contenha os três "
4528 "registros apresentados anteriormente :"
4530 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
4531 #: apt_preferences.5.xml:355
4535 "Pin: version &good-perl;*\n"
4536 "Pin-Priority: 1001\n"
4539 "Pin: origin \"\"\n"
4540 "Pin-Priority: 999\n"
4543 "Pin: release unstable\n"
4544 "Pin-Priority: 50\n"
4546 "<programlisting>\n"
4548 "Pin: version 5.8*\n"
4549 "Pin-Priority: 1001\n"
4552 "Pin: origin \"\"\n"
4553 "Pin-Priority: 999\n"
4556 "Pin: release unstable\n"
4557 "Pin-Priority: 50\n"
4559 #. type: Content of: <refentry><refsect1><refsect2><para>
4560 #: apt_preferences.5.xml:368
4564 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4565 #: apt_preferences.5.xml:370
4568 "The most recent available version of the <literal>perl</literal> package "
4569 "will be installed, so long as that version's version number begins with "
4570 "\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> &good-perl;"
4571 "* version of <literal>perl</literal> is available and the installed version "
4572 "is &bad-perl;*, then <literal>perl</literal> will be downgraded."
4574 "A versão mais recente disponível do pacote <literal>perl</literal> será "
4575 "instalado, contanto que esse número de versão da versão inicie com "
4576 "\"<literal>5.8</literal>\". Caso <emphasis>qualquer</emphasis> versão 5.8* "
4577 "de <literal>perl</literal> esteja disponível e a versão instalada seja 5.9*, "
4578 "será feito um downgrade do <literal>perl</literal>."
4580 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4581 #: apt_preferences.5.xml:375
4584 "A version of any package other than <literal>perl</literal> that is "
4585 "available from the local system has priority over other versions, even "
4586 "versions belonging to the target release."
4588 "Uma versão de qualquer pacote diferente de <literal>perl</literal> que "
4589 "esteja disponível no sistema local possui prioridade sobre outras versões, "
4590 "mesmo versões pertencentes a versão alvo."
4592 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
4593 #: apt_preferences.5.xml:379
4596 "A version of a package whose origin is not the local system but some other "
4597 "site listed in &sources-list; and which belongs to an <literal>unstable</"
4598 "literal> distribution is only installed if it is selected for installation "
4599 "and no version of the package is already installed."
4601 "Uma versão de um pacote cuja origem não seja o sistema local mas sim algum "
4602 "outro site listado no arquivo &sources-list; e que pertença a uma "
4603 "distribuição <literal>unstable</literal> é instalada somente caso a mesma "
4604 "seja selecionada para instalação e nenhuma versão do pacote já esteja "
4607 #. type: Content of: <refentry><refsect1><refsect2><title>
4608 #: apt_preferences.5.xml:389
4610 msgid "Determination of Package Version and Distribution Properties"
4611 msgstr "Determinação da Versão do Pacote e Propriedades da Distribuição"
4613 #. type: Content of: <refentry><refsect1><refsect2><para>
4614 #: apt_preferences.5.xml:391
4617 "The locations listed in the &sources-list; file should provide "
4618 "<filename>Packages</filename> and <filename>Release</filename> files to "
4619 "describe the packages available at that location."
4621 "As localidades listadas em um arquivo &sources-list; devem fornecer arquivos "
4622 "<filename>Packages</filename> e <filename>Release</filename> para descrever "
4623 "os pacotes disponíveis nessas localidades."
4625 #. type: Content of: <refentry><refsect1><refsect2><para>
4626 #: apt_preferences.5.xml:395
4629 "The <filename>Packages</filename> file is normally found in the directory "
4630 "<filename>.../dists/<replaceable>dist-name</replaceable>/"
4631 "<replaceable>component</replaceable>/<replaceable>arch</replaceable></"
4632 "filename>: for example, <filename>.../dists/stable/main/binary-i386/"
4633 "Packages</filename>. It consists of a series of multi-line records, one for "
4634 "each package available in that directory. Only two lines in each record are "
4635 "relevant for setting APT priorities:"
4637 "O arquivo <filename>Packages</filename> é normalmente encontrado no "
4638 "diretório <filename>.../dists/<replaceable>nome-distribuição</replaceable>/"
4639 "<replaceable>componente</replaceable>/<replaceable>arquitetura</"
4640 "replaceable></filename> : por exemplo, <filename>.../dists/stable/main/"
4641 "binary-i386/Packages</filename>. O arquivo consiste de uma série de "
4642 "registros de múltiplas linhas, uma para cada pacote disponível no diretório. "
4643 "Somente duas linhas em cada registro são relevantes para definir prioridades "
4646 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4647 #: apt_preferences.5.xml:403
4649 msgid "the <literal>Package:</literal> line"
4650 msgstr "a linha <literal>Package:</literal>"
4652 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4653 #: apt_preferences.5.xml:404
4655 msgid "gives the package name"
4656 msgstr "informa o nome do pacote"
4658 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4659 #: apt_preferences.5.xml:407 apt_preferences.5.xml:457
4661 msgid "the <literal>Version:</literal> line"
4662 msgstr "a linha <literal>Version:</literal>"
4664 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4665 #: apt_preferences.5.xml:408
4667 msgid "gives the version number for the named package"
4668 msgstr "informa o número de versão do pacote"
4670 #. type: Content of: <refentry><refsect1><refsect2><para>
4671 #: apt_preferences.5.xml:413
4674 "The <filename>Release</filename> file is normally found in the directory "
4675 "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
4676 "example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
4677 "dists/&stable-codename;/Release</filename>. It consists of a single multi-"
4678 "line record which applies to <emphasis>all</emphasis> of the packages in the "
4679 "directory tree below its parent. Unlike the <filename>Packages</filename> "
4680 "file, nearly all of the lines in a <filename>Release</filename> file are "
4681 "relevant for setting APT priorities:"
4683 "O arquivo <filename>Release</filename> é normalmente encontrado no diretório "
4684 "<filename>.../dists/<replaceable>nome-distribuição</replaceable></"
4685 "filename> : por exemplo, <filename>.../dists/stable/Release</filename>, ou "
4686 "<filename>.../dists/woody/Release</filename>. O arquivo consiste de um "
4687 "registro de múltiplas linhas o qual se aplica a <emphasis>todos</emphasis> "
4688 "os pacotes na àrvore de diretórios abaixo de seu diretório pai. Diferente do "
4689 "arquivo <filename>Packages</filename>, quase todas as linhas em um arquivo "
4690 "<filename>Release</filename> são relevantes para a definição de prioridades "
4693 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4694 #: apt_preferences.5.xml:424
4696 msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
4697 msgstr "a linha <literal>Archive:</literal>"
4699 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4700 #: apt_preferences.5.xml:425
4703 "names the archive to which all the packages in the directory tree belong. "
4704 "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
4705 "that all of the packages in the directory tree below the parent of the "
4706 "<filename>Release</filename> file are in a <literal>stable</literal> "
4707 "archive. Specifying this value in the APT preferences file would require "
4710 "dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
4711 "pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
4712 "pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
4713 "<filename>Release</filename> estão no respositório <literal>stable</"
4714 "literal>. Especificar esse valor no arquivo de preferências do APT iria "
4715 "requerer a linha :"
4717 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4718 #: apt_preferences.5.xml:435
4720 msgid "Pin: release a=stable\n"
4722 "<programlisting>\n"
4723 "Pin: release a=stable\n"
4725 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4726 #: apt_preferences.5.xml:441
4728 msgid "the <literal>Codename:</literal> line"
4729 msgstr "a linha <literal>Component:</literal>"
4731 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4732 #: apt_preferences.5.xml:442
4735 "names the codename to which all the packages in the directory tree belong. "
4736 "For example, the line \"Codename: &testing-codename;\" specifies that all of "
4737 "the packages in the directory tree below the parent of the "
4738 "<filename>Release</filename> file belong to a version named "
4739 "<literal>&testing-codename;</literal>. Specifying this value in the APT "
4740 "preferences file would require the line:"
4742 "dá nome ao repositório para o qual todos os pacotes na àrvore de diretório "
4743 "pertencem. Por exemplo, a linha \"Archive: stable\" especifica que todos os "
4744 "pacotes na àrvore de diretório abaixo do diretório pai do arquivo "
4745 "<filename>Release</filename> estão no respositório <literal>stable</"
4746 "literal>. Especificar esse valor no arquivo de preferências do APT iria "
4747 "requerer a linha :"
4749 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4750 #: apt_preferences.5.xml:451
4752 msgid "Pin: release n=&testing-codename;\n"
4754 "<programlisting>\n"
4755 "Pin: release a=stable\n"
4757 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4758 #: apt_preferences.5.xml:458
4761 "names the release version. For example, the packages in the tree might "
4762 "belong to Debian release version &stable-version;. Note that there is "
4763 "normally no version number for the <literal>testing</literal> and "
4764 "<literal>unstable</literal> distributions because they have not been "
4765 "released yet. Specifying this in the APT preferences file would require one "
4766 "of the following lines."
4768 "dá nome a versão da distribuição. Por exemplo, os pacote na àrvore podem "
4769 "pertencer a distribuição Debian versão 3.0. Note que normalmente não existe "
4770 "número de versão para as distribuições <literal>testing</literal> e "
4771 "<literal>unstable</literal> devido as mesmas não terem sido lançadas ainda. "
4772 "Especificar isso no arquivo de preferências do APT iria requerer uma das "
4775 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4776 #: apt_preferences.5.xml:467
4779 "Pin: release v=&stable-version;\n"
4780 "Pin: release a=stable, v=&stable-version;\n"
4781 "Pin: release &stable-version;\n"
4783 "<programlisting>\n"
4784 "Pin: release v=3.0\n"
4785 "Pin: release a=stable v=3.0\n"
4786 "Pin: release 3.0\n"
4788 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4789 #: apt_preferences.5.xml:476
4791 msgid "the <literal>Component:</literal> line"
4792 msgstr "a linha <literal>Component:</literal>"
4794 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4795 #: apt_preferences.5.xml:477
4798 "names the licensing component associated with the packages in the directory "
4799 "tree of the <filename>Release</filename> file. For example, the line "
4800 "\"Component: main\" specifies that all the packages in the directory tree "
4801 "are from the <literal>main</literal> component, which entails that they are "
4802 "licensed under terms listed in the Debian Free Software Guidelines. "
4803 "Specifying this component in the APT preferences file would require the line:"
4805 "dá nome ao componente de licenciamento associado com os pacotes na àrvore de "
4806 "diretório do arquivo <filename>Release</filename>. Por exemplo, a linha "
4807 "\"Component: main\" especifica que todos os pacotes na àrvore de diretório "
4808 "são do componente <literal>main</literal>, o que significa que as mesmas "
4809 "estão licenciadas sob os termos da Linhas Guias Debian para o Software Livre "
4810 "(a DFSG). Especificar esse componente no arquivo de preferências do APT iria "
4811 "requerer a linha :"
4813 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4814 #: apt_preferences.5.xml:486
4816 msgid "Pin: release c=main\n"
4818 "<programlisting>\n"
4819 "Pin: release c=main\n"
4821 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4822 #: apt_preferences.5.xml:492
4824 msgid "the <literal>Origin:</literal> line"
4825 msgstr "a linha <literal>Origin:</literal>"
4827 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4828 #: apt_preferences.5.xml:493
4831 "names the originator of the packages in the directory tree of the "
4832 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
4833 "literal>. Specifying this origin in the APT preferences file would require "
4836 "dá nome ao produtor dos pacotes na àrvore de diretório do arquivo "
4837 "<filename>Release</filename>. O mais comum é esse valor ser <literal>Debian</"
4838 "literal>. Especificar essa origem no arquivo de preferências do APT iria "
4839 "requerer a linha :"
4841 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4842 #: apt_preferences.5.xml:499
4844 msgid "Pin: release o=Debian\n"
4846 "<programlisting>\n"
4847 "Pin: release o=Debian\n"
4849 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
4850 #: apt_preferences.5.xml:505
4852 msgid "the <literal>Label:</literal> line"
4853 msgstr "a linha <literal>Label:</literal>"
4855 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
4856 #: apt_preferences.5.xml:506
4859 "names the label of the packages in the directory tree of the "
4860 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
4861 "literal>. Specifying this label in the APT preferences file would require "
4864 "dá nome ao rótulo (label) dos pacotes na árvore de diretório. O mais comum é "
4865 "esse valor ser <literal>Debian</literal>. Especificar esse rótulo (label) no "
4866 "arquivo de preferências do APT iria requerer a linha :"
4868 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
4869 #: apt_preferences.5.xml:512
4871 msgid "Pin: release l=Debian\n"
4873 "<programlisting>\n"
4874 "Pin: release l=Debian\n"
4876 #. type: Content of: <refentry><refsect1><refsect2><para>
4877 #: apt_preferences.5.xml:519
4880 "All of the <filename>Packages</filename> and <filename>Release</filename> "
4881 "files retrieved from locations listed in the &sources-list; file are stored "
4882 "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
4883 "named by the variable <literal>Dir::State::Lists</literal> in the "
4884 "<filename>apt.conf</filename> file. For example, the file <filename>debian."
4885 "lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
4886 "contains the <filename>Release</filename> file retrieved from the site "
4887 "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
4888 "architecture files from the <literal>contrib</literal> component of the "
4889 "<literal>unstable</literal> distribution."
4891 "Todos os arquivos <filename>Packages</filename> e <filename>Release</"
4892 "filename> obtidos das localidades listadas no arquivo &sources-list; são "
4893 "mantidos no diretório <filename>/var/lib/apt/lists</filename> ou no arquivo "
4894 "indicado pela variável <literal>Dir::State::Lists</literal> no arquivo "
4895 "<filename>apt.conf</filename>. Por exemplo, o arquivo <filename>debian.lcs."
4896 "mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> contém "
4897 "o arquivo <filename>Release</filename> obtido do site <literal>debian.lcs."
4898 "mit.edu</literal> para a arquitetura <literal>binary-i386</literal>, "
4899 "arquivos do componente <literal>contrib</literal> da distribuição "
4900 "<literal>unstable</literal>."
4902 #. type: Content of: <refentry><refsect1><refsect2><title>
4903 #: apt_preferences.5.xml:532
4905 msgid "Optional Lines in an APT Preferences Record"
4906 msgstr "Linhas Opcionais em um Registro de Preferências do APT"
4908 #. type: Content of: <refentry><refsect1><refsect2><para>
4909 #: apt_preferences.5.xml:534
4912 "Each record in the APT preferences file can optionally begin with one or "
4913 "more lines beginning with the word <literal>Explanation:</literal>. This "
4914 "provides a place for comments."
4916 "Cada registro em um arquivo de preferências do APT pode opcionalmente "
4917 "iniciar com uma ou mais linhas iniciadas com a palavra <literal>Explanation:"
4918 "</literal>. Isto oferece um local para inserir comentários."
4920 #. type: Content of: <refentry><refsect1><refsect2><title>
4921 #: apt_preferences.5.xml:543
4923 msgid "Tracking Stable"
4924 msgstr "Acompanhando a Stable"
4926 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4927 #: apt_preferences.5.xml:551
4930 "Explanation: Uninstall or do not install any Debian-originated\n"
4931 "Explanation: package versions other than those in the stable distro\n"
4933 "Pin: release a=stable\n"
4934 "Pin-Priority: 900\n"
4937 "Pin: release o=Debian\n"
4938 "Pin-Priority: -10\n"
4940 "<programlisting>\n"
4941 "Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
4942 "Explanation: do Debian a não ser aquelas na distribuição stable\n"
4944 "Pin: release a=stable\n"
4945 "Pin-Priority: 900\n"
4948 "Pin: release o=Debian\n"
4949 "Pin-Priority: -10\n"
4951 #. type: Content of: <refentry><refsect1><refsect2><para>
4952 #: apt_preferences.5.xml:545
4955 "The following APT preferences file will cause APT to assign a priority "
4956 "higher than the default (500) to all package versions belonging to a "
4957 "<literal>stable</literal> distribution and a prohibitively low priority to "
4958 "package versions belonging to other <literal>Debian</literal> "
4959 "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
4961 "O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
4962 "prioridade maior do que a prioridade padrão (500) para todas as versões de "
4963 "pacotes pertencentes a distribuição <literal>stable</literal> e uma "
4964 "prioridade proibitivamente baixa para versões de pacotes pertencentes a "
4965 "outras distribuições <literal>Debian</literal>."
4967 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4968 #: apt_preferences.5.xml:568 apt_preferences.5.xml:614
4969 #: apt_preferences.5.xml:672
4972 "apt-get install <replaceable>package-name</replaceable>\n"
4974 "apt-get dist-upgrade\n"
4976 "<programlisting>\n"
4977 "apt-get install <replaceable>nome-pacote</replaceable>\n"
4979 "apt-get dist-upgrade\n"
4981 #. type: Content of: <refentry><refsect1><refsect2><para>
4982 #: apt_preferences.5.xml:563
4985 "With a suitable &sources-list; file and the above preferences file, any of "
4986 "the following commands will cause APT to upgrade to the latest "
4987 "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
4990 "Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
4991 "quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
4992 "ulítma(s) versão(ôes) <literal>stable</literal>."
4994 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
4995 #: apt_preferences.5.xml:580
4997 msgid "apt-get install <replaceable>package</replaceable>/testing\n"
4999 "<programlisting>\n"
5000 "apt-get install <replaceable>pacote</replaceable>/testing\n"
5002 #. type: Content of: <refentry><refsect1><refsect2><para>
5003 #: apt_preferences.5.xml:574
5006 "The following command will cause APT to upgrade the specified package to the "
5007 "latest version from the <literal>testing</literal> distribution; the package "
5008 "will not be upgraded again unless this command is given again. <placeholder "
5009 "type=\"programlisting\" id=\"0\"/>"
5011 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
5012 "última versão da distribuição <literal>testing</literal>; o pacote não serpa "
5013 "atualizado novamente a menos que esse comando seja executado novamente."
5015 #. type: Content of: <refentry><refsect1><refsect2><title>
5016 #: apt_preferences.5.xml:586
5018 msgid "Tracking Testing or Unstable"
5019 msgstr "Acompanhando a Testing"
5021 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5022 #: apt_preferences.5.xml:595
5026 "Pin: release a=testing\n"
5027 "Pin-Priority: 900\n"
5030 "Pin: release a=unstable\n"
5031 "Pin-Priority: 800\n"
5034 "Pin: release o=Debian\n"
5035 "Pin-Priority: -10\n"
5037 "<programlisting>\n"
5039 "Pin: release a=testing\n"
5040 "Pin-Priority: 900\n"
5043 "Pin: release a=unstable\n"
5044 "Pin-Priority: 800\n"
5047 "Pin: release o=Debian\n"
5048 "Pin-Priority: -10\n"
5050 #. type: Content of: <refentry><refsect1><refsect2><para>
5051 #: apt_preferences.5.xml:588
5054 "The following APT preferences file will cause APT to assign a high priority "
5055 "to package versions from the <literal>testing</literal> distribution, a "
5056 "lower priority to package versions from the <literal>unstable</literal> "
5057 "distribution, and a prohibitively low priority to package versions from "
5058 "other <literal>Debian</literal> distributions. <placeholder type="
5059 "\"programlisting\" id=\"0\"/>"
5061 "O arquivo de preferências do APT a seguir fará com que o APT atribua uma "
5062 "prioridade maior para versões de pacote da distribuição <literal>testing</"
5063 "literal>, uma prioridade menor para versões de pacotes da distribuição "
5064 "<literal>unstable</literal> e uma prioridade proibitivamente baixa para "
5065 "versões de pacotes de outras distribuições <literal>Debian</literal>."
5067 #. type: Content of: <refentry><refsect1><refsect2><para>
5068 #: apt_preferences.5.xml:609
5071 "With a suitable &sources-list; file and the above preferences file, any of "
5072 "the following commands will cause APT to upgrade to the latest "
5073 "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
5076 "Com um arquivo &sources-list; adequado e o arquivo de preferências do APT "
5077 "acima, quaisquer dos comandos a seguir farão com que o APT atualize para "
5078 "a(s) última(s) versão(ões) <literal>testing</literal>."
5080 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5081 #: apt_preferences.5.xml:629
5083 msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
5085 "<programlisting>\n"
5086 "apt-get install <replaceable>pacote</replaceable>/unstable\n"
5088 #. type: Content of: <refentry><refsect1><refsect2><para>
5089 #: apt_preferences.5.xml:620
5092 "The following command will cause APT to upgrade the specified package to the "
5093 "latest version from the <literal>unstable</literal> distribution. "
5094 "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
5095 "the most recent <literal>testing</literal> version if that is more recent "
5096 "than the installed version, otherwise, to the most recent <literal>unstable</"
5097 "literal> version if that is more recent than the installed version. "
5098 "<placeholder type=\"programlisting\" id=\"0\"/>"
5100 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
5101 "última versão da distribuição <literal>unstable</literal>. Assim, o comando "
5102 "<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
5103 "<literal>testing</literal> mais recente caso essa versão seja mais recente "
5104 "que a versão instalada, caso não seja, o pacote será atualizado para a "
5105 "versão <literal>unstable</literal> mais recente caso a mesma seja mais "
5106 "recente que a versão instalada."
5108 #. type: Content of: <refentry><refsect1><refsect2><title>
5109 #: apt_preferences.5.xml:636
5110 msgid "Tracking the evolution of a codename release"
5113 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5114 #: apt_preferences.5.xml:650
5117 "Explanation: Uninstall or do not install any Debian-originated package versions\n"
5118 "Explanation: other than those in the distribution codenamed with &testing-codename; or sid\n"
5120 "Pin: release n=&testing-codename;\n"
5121 "Pin-Priority: 900\n"
5123 "Explanation: Debian unstable is always codenamed with sid\n"
5125 "Pin: release n=sid\n"
5126 "Pin-Priority: 800\n"
5129 "Pin: release o=Debian\n"
5130 "Pin-Priority: -10\n"
5132 "<programlisting>\n"
5133 "Explanation: Desinstala ou não instala nenhuma versão de pacote originada\n"
5134 "Explanation: do Debian a não ser aquelas na distribuição stable\n"
5136 "Pin: release a=stable\n"
5137 "Pin-Priority: 900\n"
5140 "Pin: release o=Debian\n"
5141 "Pin-Priority: -10\n"
5143 #. type: Content of: <refentry><refsect1><refsect2><para>
5144 #: apt_preferences.5.xml:638
5146 "The following APT preferences file will cause APT to assign a priority "
5147 "higher than the default (500) to all package versions belonging to a "
5148 "specified codename of a distribution and a prohibitively low priority to "
5149 "package versions belonging to other <literal>Debian</literal> distributions, "
5150 "codenames and archives. Note that with this APT preference APT will follow "
5151 "the migration of a release from the archive <literal>testing</literal> to "
5152 "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
5153 "want to follow for example the progress in <literal>testing</literal> "
5154 "notwithstanding the codename changes you should use the example "
5155 "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
5158 #. type: Content of: <refentry><refsect1><refsect2><para>
5159 #: apt_preferences.5.xml:667
5162 "With a suitable &sources-list; file and the above preferences file, any of "
5163 "the following commands will cause APT to upgrade to the latest version(s) in "
5164 "the release codenamed with <literal>&testing-codename;</literal>. "
5165 "<placeholder type=\"programlisting\" id=\"0\"/>"
5167 "Com um arquivo &sources-list; apropriado e o arquivo de preferências acima, "
5168 "quaisquer um dos comandos a seguir farão com que o APT atualize para a(s) "
5169 "ulítma(s) versão(ôes) <literal>stable</literal>."
5171 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5172 #: apt_preferences.5.xml:687
5174 msgid "apt-get install <replaceable>package</replaceable>/sid\n"
5176 "<programlisting>\n"
5177 "apt-get install <replaceable>pacote</replaceable>/testing\n"
5179 #. type: Content of: <refentry><refsect1><refsect2><para>
5180 #: apt_preferences.5.xml:678
5183 "The following command will cause APT to upgrade the specified package to the "
5184 "latest version from the <literal>sid</literal> distribution. Thereafter, "
5185 "<command>apt-get upgrade</command> will upgrade the package to the most "
5186 "recent <literal>&testing-codename;</literal> version if that is more recent "
5187 "than the installed version, otherwise, to the most recent <literal>sid</"
5188 "literal> version if that is more recent than the installed version. "
5189 "<placeholder type=\"programlisting\" id=\"0\"/>"
5191 "O comando a seguir fará com que o APT atualize o pacote especificado para a "
5192 "última versão da distribuição <literal>unstable</literal>. Assim, o comando "
5193 "<command>apt-get upgrade</command> irá atualizar o pacote para a versão "
5194 "<literal>testing</literal> mais recente caso essa versão seja mais recente "
5195 "que a versão instalada, caso não seja, o pacote será atualizado para a "
5196 "versão <literal>unstable</literal> mais recente caso a mesma seja mais "
5197 "recente que a versão instalada."
5199 #. type: Content of: <refentry><refsect1><para>
5200 #: apt_preferences.5.xml:702
5202 msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
5203 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
5205 #. type: Content of: <refentry><refnamediv><refpurpose>
5206 #: sources.list.5.xml:29
5207 msgid "List of configured APT data sources"
5210 #. type: Content of: <refentry><refsect1><para>
5211 #: sources.list.5.xml:34
5213 "The source list <filename>/etc/apt/sources.list</filename> is designed to "
5214 "support any number of active sources and a variety of source media. The file "
5215 "lists one source per line, with the most preferred source listed first. The "
5216 "information available from the configured sources is acquired by "
5217 "<command>apt-get update</command> (or by an equivalent command from another "
5221 #. type: Content of: <refentry><refsect1><para>
5222 #: sources.list.5.xml:41
5224 "Each line specifying a source starts with type (e.g. <literal>deb-src</"
5225 "literal>) followed by options and arguments for this type. Individual "
5226 "entries cannot be continued onto a following line. Empty lines are ignored, "
5227 "and a <literal>#</literal> character anywhere on a line marks the remainder "
5228 "of that line as a comment."
5231 #. type: Content of: <refentry><refsect1><title>
5232 #: sources.list.5.xml:49
5233 msgid "sources.list.d"
5236 #. type: Content of: <refentry><refsect1><para>
5237 #: sources.list.5.xml:50
5239 "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
5240 "add sources.list entries in separate files. The format is the same as for "
5241 "the regular <filename>sources.list</filename> file. File names need to end "
5242 "with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
5243 "digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
5244 "Otherwise APT will print a notice that it has ignored a file, unless that "
5245 "file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> "
5246 "configuration list - in which case it will be silently ignored."
5249 #. type: Content of: <refentry><refsect1><title>
5250 #: sources.list.5.xml:61
5251 msgid "The deb and deb-src types"
5254 #. type: Content of: <refentry><refsect1><para>
5255 #: sources.list.5.xml:62
5257 "The <literal>deb</literal> type references a typical two-level Debian "
5258 "archive, <filename>distribution/component</filename>. The "
5259 "<literal>distribution</literal> is generally an archive name like "
5260 "<literal>stable</literal> or <literal>testing</literal> or a codename like "
5261 "<literal>&stable-codename;</literal> or <literal>&testing-codename;</"
5262 "literal> while component is one of <literal>main</literal>, "
5263 "<literal>contrib</literal> or <literal>non-free</literal>. The <literal>deb-"
5264 "src</literal> type references a Debian distribution's source code in the "
5265 "same form as the <literal>deb</literal> type. A <literal>deb-src</literal> "
5266 "line is required to fetch source indexes."
5269 #. type: Content of: <refentry><refsect1><para>
5270 #: sources.list.5.xml:73
5272 "The format for a <filename>sources.list</filename> entry using the "
5273 "<literal>deb</literal> and <literal>deb-src</literal> types is:"
5276 #. type: Content of: <refentry><refsect1><literallayout>
5277 #: sources.list.5.xml:76
5279 msgid "deb [ options ] uri suite [component1] [component2] [...]"
5282 #. type: Content of: <refentry><refsect1><para><literallayout>
5283 #: sources.list.5.xml:80
5286 " Types: deb deb-src\n"
5287 " URIs: http://example.com\n"
5288 " Suites: stable testing\n"
5289 " Sections: component1 component2\n"
5290 " Description: short\n"
5292 " [option1]: [option1-value]\n"
5295 " URIs: http://another.example.com\n"
5296 " Suites: experimental\n"
5297 " Sections: component1 component2\n"
5299 " Description: short\n"
5301 " [option1]: [option1-value]\n"
5305 #. type: Content of: <refentry><refsect1><para>
5306 #: sources.list.5.xml:78
5308 "Alternatively a rfc822 style format is also supported: <placeholder type="
5309 "\"literallayout\" id=\"0\"/>"
5312 #. type: Content of: <refentry><refsect1><para>
5313 #: sources.list.5.xml:99
5315 "The URI for the <literal>deb</literal> type must specify the base of the "
5316 "Debian distribution, from which APT will find the information it needs. "
5317 "<literal>suite</literal> can specify an exact path, in which case the "
5318 "components must be omitted and <literal>suite</literal> must end with a "
5319 "slash (<literal>/</literal>). This is useful for the case when only a "
5320 "particular sub-section of the archive denoted by the URI is of interest. If "
5321 "<literal>suite</literal> does not specify an exact path, at least one "
5322 "<literal>component</literal> must be present."
5325 #. type: Content of: <refentry><refsect1><para>
5326 #: sources.list.5.xml:108
5328 "<literal>suite</literal> may also contain a variable, <literal>$(ARCH)</"
5329 "literal> which expands to the Debian architecture (such as <literal>amd64</"
5330 "literal> or <literal>armel</literal>) used on the system. This permits "
5331 "architecture-independent <filename>sources.list</filename> files to be used. "
5332 "In general this is only of interest when specifying an exact path, "
5333 "<literal>APT</literal> will automatically generate a URI with the current "
5334 "architecture otherwise."
5337 #. type: Content of: <refentry><refsect1><para>
5338 #: sources.list.5.xml:116
5340 "In the traditional style sources.list format since only one distribution can "
5341 "be specified per line it may be necessary to have multiple lines for the "
5342 "same URI, if a subset of all available distributions or components at that "
5343 "location is desired. APT will sort the URI list after it has generated a "
5344 "complete set internally, and will collapse multiple references to the same "
5345 "Internet host, for instance, into a single connection, so that it does not "
5346 "inefficiently establish an FTP connection, close it, do something else, and "
5347 "then re-establish a connection to that same host. This feature is useful for "
5348 "accessing busy FTP sites with limits on the number of simultaneous anonymous "
5349 "users. APT also parallelizes connections to different hosts to more "
5350 "effectively deal with sites with low bandwidth."
5353 #. type: Content of: <refentry><refsect1><para>
5354 #: sources.list.5.xml:130
5356 "<literal>options</literal> is always optional and needs to be surrounded by "
5357 "square brackets. It can consist of multiple settings in the form "
5358 "<literal><replaceable>setting</replaceable>=<replaceable>value</"
5359 "replaceable></literal>. Multiple settings are separated by spaces. The "
5360 "following settings are supported by APT (note however that unsupported "
5361 "settings will be ignored silently):"
5364 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5365 #: sources.list.5.xml:136
5367 "<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</"
5368 "replaceable>,…</literal> can be used to specify for which architectures "
5369 "information should be downloaded. If this option is not set all "
5370 "architectures defined by the <literal>APT::Architectures</literal> option "
5371 "will be downloaded."
5374 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5375 #: sources.list.5.xml:140
5377 "<literal>arch+=<replaceable>arch1</replaceable>,<replaceable>arch2</"
5378 "replaceable>,…</literal> and <literal>arch-=<replaceable>arch1</replaceable>,"
5379 "<replaceable>arch2</replaceable>,…</literal> which can be used to add/remove "
5380 "architectures from the set which will be downloaded."
5383 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5384 #: sources.list.5.xml:143
5386 "<literal>trusted=yes</literal> can be set to indicate that packages from "
5387 "this source are always authenticated even if the <filename>Release</"
5388 "filename> file is not signed or the signature can't be checked. This "
5389 "disables parts of &apt-secure; and should therefore only be used in a local "
5390 "and trusted context. <literal>trusted=no</literal> is the opposite which "
5391 "handles even correctly authenticated sources as not authenticated."
5394 #. type: Content of: <refentry><refsect1><para>
5395 #: sources.list.5.xml:150
5397 "It is important to list sources in order of preference, with the most "
5398 "preferred source listed first. Typically this will result in sorting by "
5399 "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
5400 "followed by distant Internet hosts, for example)."
5403 #. type: Content of: <refentry><refsect1><para>
5404 #: sources.list.5.xml:155
5406 msgid "Some examples:"
5409 #. type: Content of: <refentry><refsect1><literallayout>
5410 #: sources.list.5.xml:157
5413 "deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n"
5414 "deb http://security.debian.org/ &stable-codename;/updates main contrib non-free\n"
5418 #. type: Content of: <refentry><refsect1><title>
5419 #: sources.list.5.xml:163
5420 msgid "URI specification"
5423 #. type: Content of: <refentry><refsect1><para>
5424 #: sources.list.5.xml:165
5425 msgid "The currently recognized URI types are:"
5428 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5429 #: sources.list.5.xml:169
5431 "The file scheme allows an arbitrary directory in the file system to be "
5432 "considered an archive. This is useful for NFS mounts and local mirrors or "
5436 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5437 #: sources.list.5.xml:176
5439 "The cdrom scheme allows APT to use a local CD-ROM drive with media swapping. "
5440 "Use the &apt-cdrom; program to create cdrom entries in the source list."
5443 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5444 #: sources.list.5.xml:183
5446 "The http scheme specifies an HTTP server for the archive. If an environment "
5447 "variable <envar>http_proxy</envar> is set with the format http://server:"
5448 "port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
5449 "Users of authenticated HTTP/1.1 proxies may use a string of the format "
5450 "http://user:pass@server:port/. Note that this is an insecure method of "
5454 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5455 #: sources.list.5.xml:194
5457 "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
5458 "is highly configurable; for more information see the &apt-conf; manual page. "
5459 "Please note that an FTP proxy can be specified by using the "
5460 "<envar>ftp_proxy</envar> environment variable. It is possible to specify an "
5461 "HTTP proxy (HTTP proxy servers often understand FTP URLs) using this "
5462 "environment variable and <emphasis>only</emphasis> this environment "
5463 "variable. Proxies using HTTP specified in the configuration file will be "
5467 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5468 #: sources.list.5.xml:206
5470 "The copy scheme is identical to the file scheme except that packages are "
5471 "copied into the cache directory instead of used directly at their location. "
5472 "This is useful for people using removable media to copy files around with "
5476 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5477 #: sources.list.5.xml:213
5479 "The rsh/ssh method invokes RSH/SSH to connect to a remote host and access "
5480 "the files as a given user. Prior configuration of rhosts or RSA keys is "
5481 "recommended. The standard <command>find</command> and <command>dd</command> "
5482 "commands are used to perform the file transfers from the remote host."
5485 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
5486 #: sources.list.5.xml:220
5487 msgid "adding more recognizable URI types"
5490 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
5491 #: sources.list.5.xml:222
5493 "APT can be extended with more methods shipped in other optional packages, "
5494 "which should follow the naming scheme <package>apt-transport-"
5495 "<replaceable>method</replaceable></package>. For instance, the APT team "
5496 "also maintains the package <package>apt-transport-https</package>, which "
5497 "provides access methods for HTTPS URIs with features similar to the http "
5498 "method. Methods for using e.g. debtorrent are also available - see &apt-"
5499 "transport-debtorrent;."
5502 #. type: Content of: <refentry><refsect1><para>
5503 #: sources.list.5.xml:234
5505 "Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
5506 "stable/main, stable/contrib, and stable/non-free."
5509 #. type: Content of: <refentry><refsect1><literallayout>
5510 #: sources.list.5.xml:236
5512 msgid "deb file:/home/jason/debian stable main contrib non-free"
5515 #. type: Content of: <refentry><refsect1><para>
5516 #: sources.list.5.xml:238
5517 msgid "As above, except this uses the unstable (development) distribution."
5520 #. type: Content of: <refentry><refsect1><literallayout>
5521 #: sources.list.5.xml:239
5523 msgid "deb file:/home/jason/debian unstable main contrib non-free"
5526 #. type: Content of: <refentry><refsect1><para>
5527 #: sources.list.5.xml:241
5528 msgid "Source line for the above"
5531 #. type: Content of: <refentry><refsect1><literallayout>
5532 #: sources.list.5.xml:242
5534 msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
5537 #. type: Content of: <refentry><refsect1><para>
5538 #: sources.list.5.xml:244
5540 "The first line gets package information for the architectures in "
5541 "<literal>APT::Architectures</literal> while the second always retrieves "
5542 "<literal>amd64</literal> and <literal>armel</literal>."
5545 #. type: Content of: <refentry><refsect1><literallayout>
5546 #: sources.list.5.xml:246
5549 "deb http://ftp.debian.org/debian &stable-codename; main\n"
5550 "deb [ arch=amd64,armel ] http://ftp.debian.org/debian &stable-codename; main"
5553 #. type: Content of: <refentry><refsect1><para>
5554 #: sources.list.5.xml:249
5556 "Uses HTTP to access the archive at archive.debian.org, and uses only the "
5560 #. type: Content of: <refentry><refsect1><literallayout>
5561 #: sources.list.5.xml:251
5563 msgid "deb http://archive.debian.org/debian-archive hamm main"
5566 #. type: Content of: <refentry><refsect1><para>
5567 #: sources.list.5.xml:253
5569 "Uses FTP to access the archive at ftp.debian.org, under the debian "
5570 "directory, and uses only the &stable-codename;/contrib area."
5573 #. type: Content of: <refentry><refsect1><literallayout>
5574 #: sources.list.5.xml:255
5576 msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib"
5579 #. type: Content of: <refentry><refsect1><para>
5580 #: sources.list.5.xml:257
5582 "Uses FTP to access the archive at ftp.debian.org, under the debian "
5583 "directory, and uses only the unstable/contrib area. If this line appears as "
5584 "well as the one in the previous example in <filename>sources.list</filename> "
5585 "a single FTP session will be used for both resource lines."
5588 #. type: Content of: <refentry><refsect1><literallayout>
5589 #: sources.list.5.xml:261
5591 msgid "deb ftp://ftp.debian.org/debian unstable contrib"
5594 #. type: Content of: <refentry><refsect1><para><literallayout>
5595 #: sources.list.5.xml:270
5597 msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/"
5600 #. type: Content of: <refentry><refsect1><para>
5601 #: sources.list.5.xml:263
5603 "Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe "
5604 "directory, and uses only files found under <filename>unstable/binary-i386</"
5605 "filename> on i386 machines, <filename>unstable/binary-amd64</filename> on "
5606 "amd64, and so forth for other supported architectures. [Note this example "
5607 "only illustrates how to use the substitution variable; official debian "
5608 "archives are not structured like this] <placeholder type=\"literallayout\" "
5612 #. type: Content of: <refentry><refsect1><para>
5613 #: sources.list.5.xml:275
5615 msgid "&apt-cache; &apt-conf;"
5616 msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
5618 #. type: Content of: <refentry><refmeta><manvolnum>
5619 #: apt-extracttemplates.1.xml:22 apt-sortpkgs.1.xml:22 apt-ftparchive.1.xml:22
5623 #. type: Content of: <refentry><refnamediv><refpurpose>
5624 #: apt-extracttemplates.1.xml:29
5626 "Utility to extract <command>debconf</command> config and templates from "
5630 #. type: Content of: <refentry><refsect1><para>
5631 #: apt-extracttemplates.1.xml:35
5633 "<command>apt-extracttemplates</command> will take one or more Debian package "
5634 "files as input and write out (to a temporary directory) all associated "
5635 "config scripts and template files. For each passed in package that contains "
5636 "config scripts and templates, one line of output will be generated in the "
5640 #. type: Content of: <refentry><refsect1><para>
5641 #: apt-extracttemplates.1.xml:40
5642 msgid "package version template-file config-script"
5645 #. type: Content of: <refentry><refsect1><para>
5646 #: apt-extracttemplates.1.xml:41
5648 "template-file and config-script are written to the temporary directory "
5649 "specified by the <option>-t</option> or <option>--tempdir</option> "
5650 "(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with "
5651 "filenames of the form <filename>package.template.XXXXXX</filename> and "
5652 "<filename>package.config.XXXXXX</filename>"
5655 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5656 #: apt-extracttemplates.1.xml:54
5658 "Temporary directory in which to write extracted <command>debconf</command> "
5659 "template files and config scripts. Configuration Item: <literal>APT::"
5660 "ExtractTemplates::TempDir</literal>"
5663 #. type: Content of: <refentry><refsect1><para>
5664 #: apt-extracttemplates.1.xml:71
5666 "<command>apt-extracttemplates</command> returns zero on normal operation, "
5667 "decimal 100 on error."
5670 #. type: Content of: <refentry><refnamediv><refpurpose>
5671 #: apt-sortpkgs.1.xml:29
5672 msgid "Utility to sort package index files"
5675 #. type: Content of: <refentry><refsect1><para>
5676 #: apt-sortpkgs.1.xml:35
5678 "<command>apt-sortpkgs</command> will take an index file (source index or "
5679 "package index) and sort the records so that they are ordered by the package "
5680 "name. It will also sort the internal fields of each record according to the "
5681 "internal sorting rules."
5684 #. type: Content of: <refentry><refsect1><para>
5685 #: apt-sortpkgs.1.xml:41
5687 "All output is sent to standard output; the input must be a seekable file."
5690 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5691 #: apt-sortpkgs.1.xml:50
5693 "Use source index field ordering. Configuration Item: <literal>APT::"
5694 "SortPkgs::Source</literal>."
5697 #. type: Content of: <refentry><refsect1><para>
5698 #: apt-sortpkgs.1.xml:64
5700 "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
5704 #. type: Content of: <refentry><refnamediv><refpurpose>
5705 #: apt-ftparchive.1.xml:29
5706 msgid "Utility to generate index files"
5709 #. type: Content of: <refentry><refsect1><para>
5710 #: apt-ftparchive.1.xml:35
5712 "<command>apt-ftparchive</command> is the command line tool that generates "
5713 "the index files that APT uses to access a distribution source. The index "
5714 "files should be generated on the origin site based on the content of that "
5718 #. type: Content of: <refentry><refsect1><para>
5719 #: apt-ftparchive.1.xml:39
5721 "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
5722 "program, incorporating its entire functionality via the <literal>packages</"
5723 "literal> command. It also contains a contents file generator, "
5724 "<literal>contents</literal>, and an elaborate means to 'script' the "
5725 "generation process for a complete archive."
5728 #. type: Content of: <refentry><refsect1><para>
5729 #: apt-ftparchive.1.xml:45
5731 "Internally <command>apt-ftparchive</command> can make use of binary "
5732 "databases to cache the contents of a .deb file and it does not rely on any "
5733 "external programs aside from &gzip;. When doing a full generate it "
5734 "automatically performs file-change checks and builds the desired compressed "
5738 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5739 #: apt-ftparchive.1.xml:56
5741 "The packages command generates a package file from a directory tree. It "
5742 "takes the given directory and recursively searches it for .deb files, "
5743 "emitting a package record to stdout for each. This command is approximately "
5744 "equivalent to &dpkg-scanpackages;."
5747 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5748 #: apt-ftparchive.1.xml:61 apt-ftparchive.1.xml:85
5750 "The option <option>--db</option> can be used to specify a binary caching DB."
5753 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5754 #: apt-ftparchive.1.xml:66
5756 "The <literal>sources</literal> command generates a source index file from a "
5757 "directory tree. It takes the given directory and recursively searches it "
5758 "for .dsc files, emitting a source record to stdout for each. This command is "
5759 "approximately equivalent to &dpkg-scansources;."
5762 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5763 #: apt-ftparchive.1.xml:71
5765 "If an override file is specified then a source override file will be looked "
5766 "for with an extension of .src. The --source-override option can be used to "
5767 "change the source override file that will be used."
5770 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5771 #: apt-ftparchive.1.xml:78
5773 "The <literal>contents</literal> command generates a contents file from a "
5774 "directory tree. It takes the given directory and recursively searches it "
5775 "for .deb files, and reads the file list from each file. It then sorts and "
5776 "writes to stdout the list of files matched to packages. Directories are not "
5777 "written to the output. If multiple packages own the same file then each "
5778 "package is separated by a comma in the output."
5781 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5782 #: apt-ftparchive.1.xml:90
5784 "The <literal>release</literal> command generates a Release file from a "
5785 "directory tree. It recursively searches the given directory for uncompressed "
5786 "<filename>Packages</filename> and <filename>Sources</filename> files and "
5787 "ones compressed with <command>gzip</command>, <command>bzip2</command> or "
5788 "<command>lzma</command> as well as <filename>Release</filename> and "
5789 "<filename>md5sum.txt</filename> files by default (<literal>APT::FTPArchive::"
5790 "Release::Default-Patterns</literal>). Additional filename patterns can be "
5791 "added by listing them in <literal>APT::FTPArchive::Release::Patterns</"
5792 "literal>. It then writes to stdout a <filename>Release</filename> file "
5793 "containing an MD5, SHA1 and SHA256 digest for each file."
5796 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5797 #: apt-ftparchive.1.xml:100
5799 "Values for the additional metadata fields in the Release file are taken from "
5800 "the corresponding variables under <literal>APT::FTPArchive::Release</"
5801 "literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
5802 "supported fields are: <literal>Origin</literal>, <literal>Label</literal>, "
5803 "<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
5804 "literal>, <literal>Date</literal>, <literal>Valid-Until</literal>, "
5805 "<literal>Architectures</literal>, <literal>Components</literal>, "
5806 "<literal>Description</literal>."
5809 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5810 #: apt-ftparchive.1.xml:113
5812 "The <literal>generate</literal> command is designed to be runnable from a "
5813 "cron script and builds indexes according to the given config file. The "
5814 "config language provides a flexible means of specifying which index files "
5815 "are built from which directories, as well as providing a simple means of "
5816 "maintaining the required settings."
5819 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5820 #: apt-ftparchive.1.xml:122
5822 "The <literal>clean</literal> command tidies the databases used by the given "
5823 "configuration file by removing any records that are no longer necessary."
5826 #. type: Content of: <refentry><refsect1><title>
5827 #: apt-ftparchive.1.xml:128
5828 msgid "The Generate Configuration"
5831 #. type: Content of: <refentry><refsect1><para>
5832 #: apt-ftparchive.1.xml:130
5834 "The <literal>generate</literal> command uses a configuration file to "
5835 "describe the archives that are going to be generated. It follows the typical "
5836 "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
5837 "conf; contains a description of the syntax. Note that the generate "
5838 "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
5839 "tree manner. This only effects how the scope tag is handled."
5842 #. type: Content of: <refentry><refsect1><para>
5843 #: apt-ftparchive.1.xml:138
5845 "The generate configuration has four separate sections, each described below."
5848 #. type: Content of: <refentry><refsect1><refsect2><title>
5849 #: apt-ftparchive.1.xml:140
5851 msgid "<literal>Dir</literal> Section"
5852 msgstr "a linha <literal>Origin:</literal>"
5854 #. type: Content of: <refentry><refsect1><refsect2><para>
5855 #: apt-ftparchive.1.xml:142
5857 "The <literal>Dir</literal> section defines the standard directories needed "
5858 "to locate the files required during the generation process. These "
5859 "directories are prepended certain relative paths defined in later sections "
5860 "to produce a complete an absolute path."
5863 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5864 #: apt-ftparchive.1.xml:149
5866 "Specifies the root of the FTP archive, in a standard Debian configuration "
5867 "this is the directory that contains the <filename>ls-LR</filename> and dist "
5871 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5872 #: apt-ftparchive.1.xml:156
5873 msgid "Specifies the location of the override files."
5876 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5877 #: apt-ftparchive.1.xml:161
5878 msgid "Specifies the location of the cache files."
5881 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5882 #: apt-ftparchive.1.xml:166
5884 "Specifies the location of the file list files, if the <literal>FileList</"
5885 "literal> setting is used below."
5888 #. type: Content of: <refentry><refsect1><refsect2><title>
5889 #: apt-ftparchive.1.xml:172
5891 msgid "<literal>Default</literal> Section"
5892 msgstr "a linha <literal>Label:</literal>"
5894 #. type: Content of: <refentry><refsect1><refsect2><para>
5895 #: apt-ftparchive.1.xml:174
5897 "The <literal>Default</literal> section specifies default values, and "
5898 "settings that control the operation of the generator. Other sections may "
5899 "override these defaults with a per-section setting."
5902 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5903 #: apt-ftparchive.1.xml:180
5905 "Sets the default compression schemes to use for the package index files. It "
5906 "is a string that contains a space separated list of at least one of: '.' (no "
5907 "compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
5911 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5912 #: apt-ftparchive.1.xml:188
5914 "Sets the default list of file extensions that are package files. This "
5915 "defaults to '.deb'."
5918 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5919 #: apt-ftparchive.1.xml:194
5921 "This is similar to <literal>Packages::Compress</literal> except that it "
5922 "controls the compression for the Sources files."
5925 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5926 #: apt-ftparchive.1.xml:200
5928 "Sets the default list of file extensions that are source files. This "
5929 "defaults to '.dsc'."
5932 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5933 #: apt-ftparchive.1.xml:206
5935 "This is similar to <literal>Packages::Compress</literal> except that it "
5936 "controls the compression for the Contents files."
5939 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5940 #: apt-ftparchive.1.xml:212
5942 "This is similar to <literal>Packages::Compress</literal> except that it "
5943 "controls the compression for the Translation-en master file."
5946 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5947 #: apt-ftparchive.1.xml:218
5949 "Specifies the number of kilobytes to delink (and replace with hard links) "
5950 "per run. This is used in conjunction with the per-section <literal>External-"
5951 "Links</literal> setting."
5954 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5955 #: apt-ftparchive.1.xml:225
5957 "Specifies the mode of all created index files. It defaults to 0644. All "
5958 "index files are set to this mode with no regard to the umask."
5961 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5962 #: apt-ftparchive.1.xml:232 apt-ftparchive.1.xml:378
5964 "Specifies whether long descriptions should be included in the "
5965 "<filename>Packages</filename> file or split out into a master "
5966 "<filename>Translation-en</filename> file."
5969 #. type: Content of: <refentry><refsect1><refsect2><title>
5970 #: apt-ftparchive.1.xml:238
5972 msgid "<literal>TreeDefault</literal> Section"
5973 msgstr "a linha <literal>Label:</literal>"
5975 #. type: Content of: <refentry><refsect1><refsect2><para>
5976 #: apt-ftparchive.1.xml:240
5978 "Sets defaults specific to <literal>Tree</literal> sections. All of these "
5979 "variables are substitution variables and have the strings $(DIST), "
5980 "$(SECTION) and $(ARCH) replaced with their respective values."
5983 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5984 #: apt-ftparchive.1.xml:247
5986 "Sets the number of kilobytes of contents files that are generated each day. "
5987 "The contents files are round-robined so that over several days they will all "
5991 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5992 #: apt-ftparchive.1.xml:254
5994 "Controls the number of days a contents file is allowed to be checked without "
5995 "changing. If this limit is passed the mtime of the contents file is updated. "
5996 "This case can occur if the package file is changed in such a way that does "
5997 "not result in a new contents file [override edit for instance]. A hold off "
5998 "is allowed in hopes that new .debs will be installed, requiring a new file "
5999 "anyhow. The default is 10, the units are in days."
6002 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6003 #: apt-ftparchive.1.xml:265
6005 "Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
6006 "$(SECTION)/binary-$(ARCH)/</filename>"
6009 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6010 #: apt-ftparchive.1.xml:271
6012 "Sets the top of the source package directory tree. Defaults to <filename>"
6013 "$(DIST)/$(SECTION)/source/</filename>"
6016 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6017 #: apt-ftparchive.1.xml:277
6019 "Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
6020 "binary-$(ARCH)/Packages</filename>"
6023 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6024 #: apt-ftparchive.1.xml:283
6026 "Sets the output Sources file. Defaults to <filename>$(DIST)/$(SECTION)/"
6027 "source/Sources</filename>"
6030 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6031 #: apt-ftparchive.1.xml:289
6033 "Sets the output Translation-en master file with the long descriptions if "
6034 "they should be not included in the Packages file. Defaults to <filename>"
6035 "$(DIST)/$(SECTION)/i18n/Translation-en</filename>"
6038 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6039 #: apt-ftparchive.1.xml:296
6041 "Sets the path prefix that causes a symlink to be considered an internal link "
6042 "instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
6046 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6047 #: apt-ftparchive.1.xml:303
6049 "Sets the output Contents file. Defaults to <filename>$(DIST)/$(SECTION)/"
6050 "Contents-$(ARCH)</filename>. If this setting causes multiple Packages files "
6051 "to map onto a single Contents file (as is the default) then <command>apt-"
6052 "ftparchive</command> will integrate those package files together "
6056 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6057 #: apt-ftparchive.1.xml:312
6058 msgid "Sets header file to prepend to the contents output."
6061 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6062 #: apt-ftparchive.1.xml:317
6064 "Sets the binary cache database to use for this section. Multiple sections "
6065 "can share the same database."
6068 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6069 #: apt-ftparchive.1.xml:323
6071 "Specifies that instead of walking the directory tree, <command>apt-"
6072 "ftparchive</command> should read the list of files from the given file. "
6073 "Relative files names are prefixed with the archive directory."
6076 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6077 #: apt-ftparchive.1.xml:330
6079 "Specifies that instead of walking the directory tree, <command>apt-"
6080 "ftparchive</command> should read the list of files from the given file. "
6081 "Relative files names are prefixed with the archive directory. This is used "
6082 "when processing source indexes."
6085 #. type: Content of: <refentry><refsect1><refsect2><title>
6086 #: apt-ftparchive.1.xml:338
6088 msgid "<literal>Tree</literal> Section"
6089 msgstr "a linha <literal>Label:</literal>"
6091 #. type: Content of: <refentry><refsect1><refsect2><para>
6092 #: apt-ftparchive.1.xml:340
6094 "The <literal>Tree</literal> section defines a standard Debian file tree "
6095 "which consists of a base directory, then multiple sections in that base "
6096 "directory and finally multiple Architectures in each section. The exact "
6097 "pathing used is defined by the <literal>Directory</literal> substitution "
6101 #. type: Content of: <refentry><refsect1><refsect2><para>
6102 #: apt-ftparchive.1.xml:345
6104 "The <literal>Tree</literal> section takes a scope tag which sets the "
6105 "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
6106 "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
6107 "setting such as <filename>dists/&stable-codename;</filename>."
6110 #. type: Content of: <refentry><refsect1><refsect2><para>
6111 #: apt-ftparchive.1.xml:350
6113 "All of the settings defined in the <literal>TreeDefault</literal> section "
6114 "can be used in a <literal>Tree</literal> section as well as three new "
6118 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6119 #: apt-ftparchive.1.xml:356
6122 "for i in Sections do \n"
6123 " for j in Architectures do\n"
6124 " Generate for DIST=scope SECTION=i ARCH=j\n"
6128 #. type: Content of: <refentry><refsect1><refsect2><para>
6129 #: apt-ftparchive.1.xml:353
6131 "When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
6132 "command> performs an operation similar to: <placeholder type=\"programlisting"
6136 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6137 #: apt-ftparchive.1.xml:364
6139 "This is a space separated list of sections which appear under the "
6140 "distribution; typically this is something like <literal>main contrib non-"
6144 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6145 #: apt-ftparchive.1.xml:371
6147 "This is a space separated list of all the architectures that appear under "
6148 "search section. The special architecture 'source' is used to indicate that "
6149 "this tree has a source archive."
6152 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6153 #: apt-ftparchive.1.xml:384
6155 "Sets the binary override file. The override file contains section, priority "
6156 "and maintainer address information."
6159 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6160 #: apt-ftparchive.1.xml:390
6162 "Sets the source override file. The override file contains section "
6166 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6167 #: apt-ftparchive.1.xml:396 apt-ftparchive.1.xml:442
6168 msgid "Sets the binary extra override file."
6171 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6172 #: apt-ftparchive.1.xml:401 apt-ftparchive.1.xml:447
6173 msgid "Sets the source extra override file."
6176 #. type: Content of: <refentry><refsect1><refsect2><title>
6177 #: apt-ftparchive.1.xml:406
6179 msgid "<literal>BinDirectory</literal> Section"
6180 msgstr "a linha <literal>Component:</literal>"
6182 #. type: Content of: <refentry><refsect1><refsect2><para>
6183 #: apt-ftparchive.1.xml:408
6185 "The <literal>bindirectory</literal> section defines a binary directory tree "
6186 "with no special structure. The scope tag specifies the location of the "
6187 "binary directory and the settings are similar to the <literal>Tree</literal> "
6188 "section with no substitution variables or <literal>Section</"
6189 "literal><literal>Architecture</literal> settings."
6192 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6193 #: apt-ftparchive.1.xml:416
6194 msgid "Sets the Packages file output."
6197 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6198 #: apt-ftparchive.1.xml:421
6200 "Sets the Sources file output. At least one of <literal>Packages</literal> or "
6201 "<literal>Sources</literal> is required."
6204 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6205 #: apt-ftparchive.1.xml:427
6206 msgid "Sets the Contents file output (optional)."
6209 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6210 #: apt-ftparchive.1.xml:432
6211 msgid "Sets the binary override file."
6214 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6215 #: apt-ftparchive.1.xml:437
6216 msgid "Sets the source override file."
6219 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6220 #: apt-ftparchive.1.xml:452
6221 msgid "Sets the cache DB."
6224 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6225 #: apt-ftparchive.1.xml:457
6226 msgid "Appends a path to all the output paths."
6229 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
6230 #: apt-ftparchive.1.xml:462
6231 msgid "Specifies the file list file."
6234 #. type: Content of: <refentry><refsect1><title>
6235 #: apt-ftparchive.1.xml:469
6236 msgid "The Binary Override File"
6239 #. type: Content of: <refentry><refsect1><para>
6240 #: apt-ftparchive.1.xml:470
6242 "The binary override file is fully compatible with &dpkg-scanpackages;. It "
6243 "contains four fields separated by spaces. The first field is the package "
6244 "name, the second is the priority to force that package to, the third is the "
6245 "section to force that package to and the final field is the maintainer "
6246 "permutation field."
6249 #. type: Content of: <refentry><refsect1><para><literallayout>
6250 #: apt-ftparchive.1.xml:476
6252 msgid "old [// oldn]* => new"
6255 #. type: Content of: <refentry><refsect1><para><literallayout>
6256 #: apt-ftparchive.1.xml:478
6261 #. type: Content of: <refentry><refsect1><para>
6262 #: apt-ftparchive.1.xml:475
6264 "The general form of the maintainer field is: <placeholder type="
6265 "\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
6266 "id=\"1\"/> The first form allows a double-slash separated list of old email "
6267 "addresses to be specified. If any of those are found then new is substituted "
6268 "for the maintainer field. The second form unconditionally substitutes the "
6272 #. type: Content of: <refentry><refsect1><title>
6273 #: apt-ftparchive.1.xml:486
6274 msgid "The Source Override File"
6277 #. type: Content of: <refentry><refsect1><para>
6278 #: apt-ftparchive.1.xml:488
6280 "The source override file is fully compatible with &dpkg-scansources;. It "
6281 "contains two fields separated by spaces. The first field is the source "
6282 "package name, the second is the section to assign it."
6285 #. type: Content of: <refentry><refsect1><title>
6286 #: apt-ftparchive.1.xml:493
6287 msgid "The Extra Override File"
6290 #. type: Content of: <refentry><refsect1><para>
6291 #: apt-ftparchive.1.xml:495
6293 "The extra override file allows any arbitrary tag to be added or replaced in "
6294 "the output. It has three columns, the first is the package, the second is "
6295 "the tag and the remainder of the line is the new value."
6298 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6299 #: apt-ftparchive.1.xml:506
6301 "Generate the given checksum. These options default to on, when turned off "
6302 "the generated index files will not have the checksum fields where possible. "
6303 "Configuration Items: <literal>APT::FTPArchive::<replaceable>Checksum</"
6304 "replaceable></literal> and <literal>APT::FTPArchive::<replaceable>Index</"
6305 "replaceable>::<replaceable>Checksum</replaceable></literal> where "
6306 "<literal><replaceable>Index</replaceable></literal> can be "
6307 "<literal>Packages</literal>, <literal>Sources</literal> or <literal>Release</"
6308 "literal> and <literal><replaceable>Checksum</replaceable></literal> can be "
6309 "<literal>MD5</literal>, <literal>SHA1</literal> or <literal>SHA256</literal>."
6312 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6313 #: apt-ftparchive.1.xml:517
6315 "Use a binary caching DB. This has no effect on the generate command. "
6316 "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
6319 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6320 #: apt-ftparchive.1.xml:523
6322 "Quiet; produces output suitable for logging, omitting progress indicators. "
6323 "More q's will produce more quiet up to a maximum of 2. You can also use "
6324 "<option>-q=#</option> to set the quiet level, overriding the configuration "
6325 "file. Configuration Item: <literal>quiet</literal>."
6328 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6329 #: apt-ftparchive.1.xml:531
6331 "Perform Delinking. If the <literal>External-Links</literal> setting is used "
6332 "then this option actually enables delinking of the files. It defaults to on "
6333 "and can be turned off with <option>--no-delink</option>. Configuration "
6334 "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
6337 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6338 #: apt-ftparchive.1.xml:539
6340 "Perform contents generation. When this option is set and package indexes are "
6341 "being generated with a cache DB then the file listing will also be extracted "
6342 "and stored in the DB for later use. When using the generate command this "
6343 "option also allows the creation of any Contents files. The default is on. "
6344 "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
6347 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6348 #: apt-ftparchive.1.xml:549
6350 "Select the source override file to use with the <literal>sources</literal> "
6351 "command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
6355 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6356 #: apt-ftparchive.1.xml:555
6358 "Make the caching databases read only. Configuration Item: <literal>APT::"
6359 "FTPArchive::ReadOnlyDB</literal>."
6362 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6363 #: apt-ftparchive.1.xml:560
6365 "Accept in the <literal>packages</literal> and <literal>contents</literal> "
6366 "commands only package files matching <literal>*_arch.deb</literal> or "
6367 "<literal>*_all.deb</literal> instead of all package files in the given "
6368 "path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>."
6371 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6372 #: apt-ftparchive.1.xml:568
6374 "&apt-ftparchive; caches as much as possible of metadata in a cachedb. If "
6375 "packages are recompiled and/or republished with the same version again, this "
6376 "will lead to problems as the now outdated cached metadata like size and "
6377 "checksums will be used. With this option enabled this will no longer happen "
6378 "as it will be checked if the file was changed. Note that this option is set "
6379 "to \"<literal>false</literal>\" by default as it is not recommend to upload "
6380 "multiply versions/builds of a package with the same versionnumber, so in "
6381 "theory nobody will have these problems and therefore all these extra checks "
6385 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
6386 #: apt-ftparchive.1.xml:580
6388 "This configuration option defaults to \"<literal>true</literal>\" and should "
6389 "only be set to <literal>\"false\"</literal> if the Archive generated with "
6390 "&apt-ftparchive; also provides <filename>Translation</filename> files. Note "
6391 "that the <filename>Translation-en</filename> master file can only be created "
6392 "in the generate command."
6395 #. type: Content of: <refentry><refsect1><para><programlisting>
6396 #: apt-ftparchive.1.xml:598
6398 msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
6401 #. type: Content of: <refentry><refsect1><para>
6402 #: apt-ftparchive.1.xml:594
6404 "To create a compressed Packages file for a directory containing binary "
6405 "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
6408 #. type: Content of: <refentry><refsect1><para>
6409 #: apt-ftparchive.1.xml:608
6411 "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
6415 #. type: Attribute 'lang' of: <book>
6416 #: guide.dbk:9 offline.dbk:9
6420 #. type: Content of: <book><title>
6422 msgid "APT User's Guide"
6425 #. type: Content of: <book><bookinfo><authorgroup><author><personname>
6426 #: guide.dbk:17 offline.dbk:17
6427 msgid "Jason Gunthorpe"
6430 #. type: Content of: <book><bookinfo><authorgroup><author><email>
6431 #: guide.dbk:17 offline.dbk:17
6432 msgid "jgg@debian.org"
6435 #. type: Content of: <book><bookinfo><releaseinfo>
6436 #: guide.dbk:21 offline.dbk:21
6437 msgid "Version &apt-product-version;"
6440 #. type: Content of: <book><bookinfo><abstract><para>
6443 "This document provides an overview of how to use the the APT package manager."
6446 #. type: Content of: <book><bookinfo>
6449 "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>"
6452 #. type: Content of: <book><bookinfo><legalnotice><title>
6453 #: guide.dbk:32 offline.dbk:33
6454 msgid "License Notice"
6457 #. type: Content of: <book><bookinfo><legalnotice><para>
6458 #: guide.dbk:34 offline.dbk:35
6460 "\"APT\" and this document are free software; you can redistribute them and/"
6461 "or modify them under the terms of the GNU General Public License as "
6462 "published by the Free Software Foundation; either version 2 of the License, "
6463 "or (at your option) any later version."
6466 #. type: Content of: <book><bookinfo><legalnotice><para>
6467 #: guide.dbk:43 offline.dbk:41
6469 "For more details, on Debian systems, see the file /usr/share/common-licenses/"
6470 "GPL for the full license."
6473 #. type: Content of: <book><chapter><title>
6478 #. type: Content of: <book><chapter><para>
6481 "The APT package currently contains two sections, the APT <command>dselect</"
6482 "command> method and the <command>apt-get</command> command line user "
6483 "interface. Both provide a way to install and remove packages as well as "
6484 "download new packages from the Internet."
6487 #. type: Content of: <book><chapter><section><title>
6489 msgid "Anatomy of the Package System"
6492 #. type: Content of: <book><chapter><section><para>
6495 "The Debian packaging system has a large amount of information associated "
6496 "with each package to help assure that it integrates cleanly and easily into "
6497 "the system. The most prominent of its features is the dependency system."
6500 #. type: Content of: <book><chapter><section><para>
6503 "The dependency system allows individual programs to make use of shared "
6504 "elements in the system such as libraries. It simplifies placing infrequently "
6505 "used portions of a program in separate packages to reduce the number of "
6506 "things the average user is required to install. Also, it allows for choices "
6507 "in mail transport agents, X servers and so on."
6510 #. type: Content of: <book><chapter><section><para>
6513 "The first step to understanding the dependency system is to grasp the "
6514 "concept of a simple dependency. The meaning of a simple dependency is that a "
6515 "package requires another package to be installed at the same time to work "
6519 #. type: Content of: <book><chapter><section><para>
6522 "For instance, mailcrypt is an emacs extension that aids in encrypting email "
6523 "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a "
6524 "simple dependency on GPG. Also, because it is an emacs extension it has a "
6525 "simple dependency on emacs, without emacs it is completely useless."
6528 #. type: Content of: <book><chapter><section><para>
6531 "The other important dependency to understand is a conflicting dependency. It "
6532 "means that a package, when installed with another package, will not work and "
6533 "may possibly be extremely harmful to the system. As an example consider a "
6534 "mail transport agent such as sendmail, exim or qmail. It is not possible to "
6535 "have two mail transport agents installed because both need to listen to the "
6536 "network to receive mail. Attempting to install two will seriously damage the "
6537 "system so all mail transport agents have a conflicting dependency with all "
6538 "other mail transport agents."
6541 #. type: Content of: <book><chapter><section><para>
6544 "As an added complication there is the possibility for a package to pretend "
6545 "to be another package. Consider that exim and sendmail for many intents are "
6546 "identical, they both deliver mail and understand a common interface. Hence, "
6547 "the package system has a way for them to declare that they are both mail-"
6548 "transport-agents. So, exim and sendmail both declare that they provide a "
6549 "mail-transport-agent and other packages that need a mail transport agent "
6550 "depend on mail-transport-agent. This can add a great deal of confusion when "
6551 "trying to manually fix packages."
6554 #. type: Content of: <book><chapter><section><para>
6557 "At any given time a single dependency may be met by packages that are "
6558 "already installed or it may not be. APT attempts to help resolve dependency "
6559 "issues by providing a number of automatic algorithms that help in selecting "
6560 "packages for installation."
6563 #. type: Content of: <book><chapter><title>
6568 #. type: Content of: <book><chapter><para>
6571 "<command>apt-get</command> provides a simple way to install packages from "
6572 "the command line. Unlike <command>dpkg</command>, <command>apt-get</command> "
6573 "does not understand .deb files, it works with the package's proper name and "
6574 "can only install .deb archives from a <emphasis>Source</emphasis>."
6577 #. type: Content of: <book><chapter><para><footnote><para>
6580 "If you are using an http proxy server you must set the http_proxy "
6581 "environment variable first, see sources.list(5)"
6584 #. type: Content of: <book><chapter><para>
6587 "The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be "
6588 "done before using <command>apt-get</command> is to fetch the package lists "
6589 "from the <emphasis>Sources</emphasis> so that it knows what packages are "
6590 "available. This is done with <literal>apt-get update</literal>. For instance,"
6593 #. type: Content of: <book><chapter><screen>
6597 "# apt-get update\n"
6598 "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
6599 "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
6600 "Reading Package Lists... Done\n"
6601 "Building Dependency Tree... Done\n"
6604 #. type: Content of: <book><chapter><para>
6606 msgid "Once updated there are several commands that can be used:"
6609 #. type: Content of: <book><chapter><variablelist><varlistentry><term>
6614 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
6617 "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
6618 "install a new package or remove an existing package, nor will it ever "
6619 "upgrade a package that might cause some other package to break. This can be "
6620 "used daily to relatively safely upgrade the system. Upgrade will list all of "
6621 "the packages that it could not upgrade, this usually means that they depend "
6622 "on new packages or conflict with some other package. <command>dselect</"
6623 "command> or <literal>apt-get install</literal> can be used to force these "
6624 "packages to install."
6627 #. type: Content of: <book><chapter><variablelist><varlistentry><term>
6632 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
6635 "Install is used to install packages by name. The package is automatically "
6636 "fetched and installed. This can be useful if you already know the name of "
6637 "the package to install and do not want to go into a GUI to select it. Any "
6638 "number of packages may be passed to install, they will all be fetched. "
6639 "Install automatically attempts to resolve dependency problems with the "
6640 "listed packages and will print a summary and ask for confirmation if "
6641 "anything other than its arguments are changed."
6644 #. type: Content of: <book><chapter><variablelist><varlistentry><term>
6646 msgid "dist-upgrade"
6649 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
6652 "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
6653 "releases of Debian. It uses a sophisticated algorithm to determine the best "
6654 "set of packages to install, upgrade and remove to get as much of the system "
6655 "to the newest release. In some situations it may be desired to use dist-"
6656 "upgrade rather than spend the time manually resolving dependencies in "
6657 "<command>dselect</command>. Once dist-upgrade has completed then "
6658 "<command>dselect</command> can be used to install any packages that may have "
6662 #. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para>
6665 "It is important to closely look at what dist-upgrade is going to do, its "
6666 "decisions may sometimes be quite surprising."
6669 #. type: Content of: <book><chapter><para>
6672 "<command>apt-get</command> has several command line options that are "
6673 "detailed in its man page, <citerefentry><refentrytitle>apt-get</"
6674 "refentrytitle><manvolnum>8</manvolnum></citerefentry>. The most useful "
6675 "option is <literal>-d</literal> which does not install the fetched files. If "
6676 "the system has to download a large number of package it would be undesired "
6677 "to start installing them in case something goes wrong. When <literal>-d</"
6678 "literal> is used the downloaded archives can be installed by simply running "
6679 "the command that caused them to be downloaded again without <literal>-d</"
6683 #. type: Content of: <book><chapter><title>
6688 #. type: Content of: <book><chapter><para>
6691 "The APT <command>dselect</command> method provides the complete APT system "
6692 "with the <command>dselect</command> package selection GUI. <command>dselect</"
6693 "command> is used to select the packages to be installed or removed and APT "
6694 "actually installs them."
6697 #. type: Content of: <book><chapter><para>
6700 "To enable the APT method you need to select [A]ccess in <command>dselect</"
6701 "command> and then choose the APT method. You will be prompted for a set of "
6702 "<emphasis>Sources</emphasis> which are places to fetch archives from. These "
6703 "can be remote Internet sites, local Debian mirrors or CD-ROMs. Each source "
6704 "can provide a fragment of the total Debian archive, APT will automatically "
6705 "combine them to form a complete set of packages. If you have a CD-ROM then "
6706 "it is a good idea to specify it first and then specify a mirror so that you "
6707 "have access to the latest bug fixes. APT will automatically use packages on "
6708 "your CD-ROM before downloading from the Internet."
6711 #. type: Content of: <book><chapter><screen>
6715 " Set up a list of distribution source locations\n"
6717 " Please give the base URL of the debian distribution.\n"
6718 " The access schemes I know about are: http file\n"
6721 " file:/mnt/debian,\n"
6722 " ftp://ftp.debian.org/debian,\n"
6723 " http://ftp.de.debian.org/debian,\n"
6726 " URL [http://llug.sep.bnl.gov/debian]:\n"
6729 #. type: Content of: <book><chapter><para>
6732 "The <emphasis>Sources</emphasis> setup starts by asking for the base of the "
6733 "Debian archive, defaulting to a HTTP mirror. Next it asks for the "
6734 "distribution to get."
6737 #. type: Content of: <book><chapter><screen>
6741 " Please give the distribution tag to get or a path to the\n"
6742 " package file ending in a /. The distribution\n"
6743 " tags are typically something like: stable unstable testing non-US\n"
6745 " Distribution [stable]:\n"
6748 #. type: Content of: <book><chapter><para>
6751 "The distribution refers to the Debian version in the archive, "
6752 "<emphasis>stable</emphasis> refers to the latest released version and "
6753 "<emphasis>unstable</emphasis> refers to the developmental version. "
6754 "<emphasis>non-US</emphasis> is only available on some mirrors and refers to "
6755 "packages that contain encryption technology or other things that cannot be "
6756 "exported from the United States. Importing these packages into the US is "
6760 #. type: Content of: <book><chapter><screen>
6764 " Please give the components to get\n"
6765 " The components are typically something like: main contrib non-free\n"
6767 " Components [main contrib non-free]:\n"
6770 #. type: Content of: <book><chapter><para>
6773 "The components list refers to the list of sub distributions to fetch. The "
6774 "distribution is split up based on software licenses, main being DFSG free "
6775 "packages while contrib and non-free contain things that have various "
6776 "restrictions placed on their use and distribution."
6779 #. type: Content of: <book><chapter><para>
6782 "Any number of sources can be added, the setup script will continue to prompt "
6783 "until you have specified all that you want."
6786 #. type: Content of: <book><chapter><para>
6789 "Before starting to use <command>dselect</command> it is necessary to update "
6790 "the available list by selecting [U]pdate from the menu. This is a superset "
6791 "of <literal>apt-get update</literal> that makes the fetched information "
6792 "available to <command>dselect</command>. [U]pdate must be performed even if "
6793 "<literal>apt-get update</literal> has been run before."
6796 #. type: Content of: <book><chapter><para>
6799 "You can then go on and make your selections using [S]elect and then perform "
6800 "the installation using [I]nstall. When using the APT method the [C]onfig and "
6801 "[R]emove commands have no meaning, the [I]nstall command performs both of "
6805 #. type: Content of: <book><chapter><para>
6808 "By default APT will automatically remove the package (.deb) files once they "
6809 "have been successfully installed. To change this behavior place "
6810 "<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf."
6813 #. type: Content of: <book><chapter><title>
6815 msgid "The Interface"
6818 #. type: Content of: <book><chapter><para><footnote><para>
6821 "The <command>dselect</command> method actually is a set of wrapper scripts "
6822 "to <command>apt-get</command>. The method actually provides more "
6823 "functionality than is present in <command>apt-get</command> alone."
6826 #. type: Content of: <book><chapter><para>
6829 "Both that APT <command>dselect</command> method and <command>apt-get</"
6830 "command> share the same interface. It is a simple system that generally "
6831 "tells you what it will do and then goes and does it. <placeholder type="
6832 "\"footnote\" id=\"0\"/> After printing out a summary of what will happen APT "
6833 "then will print out some informative status messages so that you can "
6834 "estimate how far along it is and how much is left to do."
6837 #. type: Content of: <book><chapter><section><title>
6842 #. type: Content of: <book><chapter><section><para>
6845 "Before all operations except update, APT performs a number of actions to "
6846 "prepare its internal state. It also does some checks of the system's state. "
6847 "At any time these operations can be performed by running <literal>apt-get "
6851 #. type: Content of: <book><chapter><section><screen>
6856 "Reading Package Lists... Done\n"
6857 "Building Dependency Tree... Done\n"
6860 #. type: Content of: <book><chapter><section><para>
6863 "The first thing it does is read all the package files into memory. APT uses "
6864 "a caching scheme so this operation will be faster the second time it is run. "
6865 "If some of the package files are not found then they will be ignored and a "
6866 "warning will be printed when apt-get exits."
6869 #. type: Content of: <book><chapter><section><para>
6872 "The final operation performs a detailed analysis of the system's "
6873 "dependencies. It checks every dependency of every installed or unpacked "
6874 "package and considers if it is OK. Should this find a problem then a report "
6875 "will be printed out and <command>apt-get</command> will refuse to run."
6878 #. type: Content of: <book><chapter><section><screen>
6883 "Reading Package Lists... Done\n"
6884 "Building Dependency Tree... Done\n"
6885 "You might want to run apt-get -f install' to correct these.\n"
6886 "Sorry, but the following packages have unmet dependencies:\n"
6887 " 9fonts: Depends: xlib6g but it is not installed\n"
6888 " uucp: Depends: mailx but it is not installed\n"
6889 " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6890 " adduser: Depends: perl-base but it is not installed\n"
6891 " aumix: Depends: libgpmg1 but it is not installed\n"
6892 " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
6893 " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
6894 " cthugha: Depends: svgalibg1 but it is not installed\n"
6895 " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
6896 " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)\n"
6899 #. type: Content of: <book><chapter><section><para>
6902 "In this example the system has many problems, including a serious problem "
6903 "with libreadlineg2. For each package that has unmet dependencies a line is "
6904 "printed out indicating the package with the problem and the dependencies "
6905 "that are unmet. A short explanation of why the package has a dependency "
6906 "problem is also included."
6909 #. type: Content of: <book><chapter><section><para><footnote><para>
6912 "APT however considers all known dependencies and attempts to prevent broken "
6916 #. type: Content of: <book><chapter><section><para>
6919 "There are two ways a system can get into a broken state like this. The first "
6920 "is caused by <command>dpkg</command> missing some subtle relationships "
6921 "between packages when performing upgrades. <placeholder type=\"footnote\" id="
6922 "\"0\"/>. The second is if a package installation fails during an operation. "
6923 "In this situation a package may have been unpacked without its dependents "
6927 #. type: Content of: <book><chapter><section><para>
6930 "The second situation is much less serious than the first because APT places "
6931 "certain constraints on the order that packages are installed. In both cases "
6932 "supplying the <literal>-f</literal> option to <command>apt-get</command> "
6933 "will cause APT to deduce a possible solution to the problem and then "
6934 "continue on. The APT <command>dselect</command> method always supplies the "
6935 "<literal>-f</literal> option to allow for easy continuation of failed "
6936 "maintainer scripts."
6939 #. type: Content of: <book><chapter><section><para>
6942 "However, if the <literal>-f</literal> option is used to correct a seriously "
6943 "broken system caused by the first case then it is possible that it will "
6944 "either fail immediately or the installation sequence will fail. In either "
6945 "case it is necessary to manually use dpkg (possibly with forcing options) to "
6946 "correct the situation enough to allow APT to proceed."
6949 #. type: Content of: <book><chapter><section><title>
6951 msgid "The Status Report"
6954 #. type: Content of: <book><chapter><section><para>
6957 "Before proceeding <command>apt-get</command> will present a report on what "
6958 "will happen. Generally the report reflects the type of operation being "
6959 "performed but there are several common elements. In all cases the lists "
6960 "reflect the final state of things, taking into account the <literal>-f</"
6961 "literal> option and any other relevant activities to the command being "
6965 #. type: Content of: <book><chapter><section><section><title>
6967 msgid "The Extra Package list"
6970 #. type: Content of: <book><chapter><section><section><screen>
6974 "The following extra packages will be installed:\n"
6975 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
6976 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
6977 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
6978 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
6982 #. type: Content of: <book><chapter><section><section><para>
6985 "The Extra Package list shows all of the packages that will be installed or "
6986 "upgraded in excess of the ones mentioned on the command line. It is only "
6987 "generated for an <literal>install</literal> command. The listed packages are "
6988 "often the result of an Auto Install."
6991 #. type: Content of: <book><chapter><section><section><title>
6993 msgid "The Packages to Remove"
6996 #. type: Content of: <book><chapter><section><section><screen>
7000 "The following packages will be REMOVED:\n"
7001 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
7002 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
7003 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
7004 " nas xpilot xfig\n"
7007 #. type: Content of: <book><chapter><section><section><para>
7010 "The Packages to Remove list shows all of the packages that will be removed "
7011 "from the system. It can be shown for any of the operations and should be "
7012 "given a careful inspection to ensure nothing important is to be taken off. "
7013 "The <literal>-f</literal> option is especially good at generating packages "
7014 "to remove so extreme care should be used in that case. The list may contain "
7015 "packages that are going to be removed because they are only partially "
7016 "installed, possibly due to an aborted installation."
7019 #. type: Content of: <book><chapter><section><section><title>
7021 msgid "The New Packages list"
7024 #. type: Content of: <book><chapter><section><section><screen>
7028 "The following NEW packages will installed:\n"
7029 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n"
7032 #. type: Content of: <book><chapter><section><section><para>
7035 "The New Packages list is simply a reminder of what will happen. The packages "
7036 "listed are not presently installed in the system but will be when APT is "
7040 #. type: Content of: <book><chapter><section><section><title>
7042 msgid "The Kept Back list"
7045 #. type: Content of: <book><chapter><section><section><screen>
7049 "The following packages have been kept back\n"
7050 " compface man-db tetex-base msql libpaper svgalib1\n"
7051 " gs snmp arena lynx xpat2 groff xscreensaver\n"
7054 #. type: Content of: <book><chapter><section><section><para>
7057 "Whenever the whole system is being upgraded there is the possibility that "
7058 "new versions of packages cannot be installed because they require new things "
7059 "or conflict with already installed things. In this case the package will "
7060 "appear in the Kept Back list. The best way to convince packages listed there "
7061 "to install is with <literal>apt-get install</literal> or by using "
7062 "<command>dselect</command> to resolve their problems."
7065 #. type: Content of: <book><chapter><section><section><title>
7067 msgid "Held Packages warning"
7070 #. type: Content of: <book><chapter><section><section><screen>
7074 "The following held packages will be changed:\n"
7078 #. type: Content of: <book><chapter><section><section><para>
7081 "Sometimes you can ask APT to install a package that is on hold, in such a "
7082 "case it prints out a warning that the held package is going to be changed. "
7083 "This should only happen during dist-upgrade or install."
7086 #. type: Content of: <book><chapter><section><section><title>
7088 msgid "Final summary"
7091 #. type: Content of: <book><chapter><section><section><para>
7094 "Finally, APT will print out a summary of all the changes that will occur."
7097 #. type: Content of: <book><chapter><section><section><screen>
7101 "206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
7102 "12 packages not fully installed or removed.\n"
7103 "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n"
7106 #. type: Content of: <book><chapter><section><section><para>
7109 "The first line of the summary simply is a reduced version of all of the "
7110 "lists and includes the number of upgrades - that is packages already "
7111 "installed that have new versions available. The second line indicates the "
7112 "number of poorly configured packages, possibly the result of an aborted "
7113 "installation. The final line shows the space requirements that the "
7114 "installation needs. The first pair of numbers refer to the size of the "
7115 "archive files. The first number indicates the number of bytes that must be "
7116 "fetched from remote locations and the second indicates the total size of all "
7117 "the archives required. The next number indicates the size difference between "
7118 "the presently installed packages and the newly installed packages. It is "
7119 "roughly equivalent to the space required in /usr after everything is done. "
7120 "If a large number of packages are being removed then the value may indicate "
7121 "the amount of space that will be freed."
7124 #. type: Content of: <book><chapter><section><section><para>
7127 "Some other reports can be generated by using the -u option to show packages "
7128 "to upgrade, they are similar to the previous examples."
7131 #. type: Content of: <book><chapter><section><title>
7133 msgid "The Status Display"
7136 #. type: Content of: <book><chapter><section><para>
7139 "During the download of archives and package files APT prints out a series of "
7143 #. type: Content of: <book><chapter><section><screen>
7147 "# apt-get update\n"
7148 "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
7149 "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7150 "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
7151 "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
7152 "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
7153 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n"
7156 #. type: Content of: <book><chapter><section><para>
7159 "The lines starting with <emphasis>Get</emphasis> are printed out when APT "
7160 "begins to fetch a file while the last line indicates the progress of the "
7161 "download. The first percent value on the progress line indicates the total "
7162 "percent done of all files. Unfortunately since the size of the Package files "
7163 "is unknown <literal>apt-get update</literal> estimates the percent done "
7164 "which causes some inaccuracies."
7167 #. type: Content of: <book><chapter><section><para>
7170 "The next section of the status line is repeated once for each download "
7171 "thread and indicates the operation being performed and some useful "
7172 "information about what is happening. Sometimes this section will simply read "
7173 "<emphasis>Forking</emphasis> which means the OS is loading the download "
7174 "module. The first word after the [ is the fetch number as shown on the "
7175 "history lines. The next word is the short form name of the object being "
7176 "downloaded. For archives it will contain the name of the package that is "
7180 #. type: Content of: <book><chapter><section><para>
7183 "Inside of the single quote is an informative string indicating the progress "
7184 "of the negotiation phase of the download. Typically it progresses from "
7185 "<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to "
7186 "<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final "
7187 "value is the number of bytes downloaded from the remote site. Once the "
7188 "download begins this is represented as <literal>102/10.2k</literal> "
7189 "indicating that 102 bytes have been fetched and 10.2 kilobytes is expected. "
7190 "The total size is always shown in 4 figure notation to preserve space. After "
7191 "the size display is a percent meter for the file itself. The second last "
7192 "element is the instantaneous average speed. This values is updated every 5 "
7193 "seconds and reflects the rate of data transfer for that period. Finally is "
7194 "shown the estimated transfer time. This is updated regularly and reflects "
7195 "the time to complete everything at the shown transfer rate."
7198 #. type: Content of: <book><chapter><section><para>
7201 "The status display updates every half second to provide a constant feedback "
7202 "on the download progress while the Get lines scroll back whenever a new file "
7203 "is started. Since the status display is constantly updated it is unsuitable "
7204 "for logging to a file, use the <literal>-q</literal> option to remove the "
7208 #. type: Content of: <book><chapter><section><title>
7213 #. type: Content of: <book><chapter><section><para>
7216 "APT uses <command>dpkg</command> for installing the archives and will switch "
7217 "over to the <command>dpkg</command> interface once downloading is completed. "
7218 "<command>dpkg</command> will also ask a number of questions as it processes "
7219 "the packages and the packages themselves may also ask several questions. "
7220 "Before each question there is usually a description of what it is asking and "
7221 "the questions are too varied to discuss completely here."
7224 #. type: Content of: <book><title>
7226 msgid "Using APT Offline"
7229 #. type: Content of: <book><bookinfo><abstract><para>
7232 "This document describes how to use APT in a non-networked environment, "
7233 "specifically a 'sneaker-net' approach for performing upgrades."
7236 #. type: Content of: <book><bookinfo>
7239 "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>"
7242 #. type: Content of: <book><chapter><title>
7244 msgid "Introduction"
7247 #. type: Content of: <book><chapter><section><title>
7248 #: offline.dbk:50 offline.dbk:80 offline.dbk:192
7252 #. type: Content of: <book><chapter><section><para>
7255 "Normally APT requires direct access to a Debian archive, either from a local "
7256 "media or through a network. Another common complaint is that a Debian "
7257 "machine is on a slow link, such as a modem and another machine has a very "
7258 "fast connection but they are physically distant."
7261 #. type: Content of: <book><chapter><section><para>
7264 "The solution to this is to use large removable media such as a Zip disc or a "
7265 "SuperDisk disc. These discs are not large enough to store the entire Debian "
7266 "archive but can easily fit a subset large enough for most users. The idea is "
7267 "to use APT to generate a list of packages that are required and then fetch "
7268 "them onto the disc using another machine with good connectivity. It is even "
7269 "possible to use another Debian machine with APT or to use a completely "
7270 "different OS and a download tool like wget. Let <emphasis>remote host</"
7271 "emphasis> mean the machine downloading the packages, and <emphasis>target "
7272 "host</emphasis> the one with bad or no connection."
7275 #. type: Content of: <book><chapter><section><para>
7278 "This is achieved by creatively manipulating the APT configuration file. The "
7279 "essential premise to tell APT to look on a disc for it's archive files. Note "
7280 "that the disc should be formated with a filesystem that can handle long file "
7281 "names such as ext2, fat32 or vfat."
7284 #. type: Content of: <book><chapter><title>
7286 msgid "Using APT on both machines"
7289 #. type: Content of: <book><chapter><section><para>
7292 "APT being available on both machines gives the simplest configuration. The "
7293 "basic idea is to place a copy of the status file on the disc and use the "
7294 "remote machine to fetch the latest package files and decide which packages "
7295 "to download. The disk directory structure should look like:"
7298 #. type: Content of: <book><chapter><section><screen>
7312 #. type: Content of: <book><chapter><section><title>
7314 msgid "The configuration file"
7317 #. type: Content of: <book><chapter><section><para>
7320 "The configuration file should tell APT to store its files on the disc and to "
7321 "use the configuration files on the disc as well. The sources.list should "
7322 "contain the proper sites that you wish to use from the remote machine, and "
7323 "the status file should be a copy of <emphasis>/var/lib/dpkg/status</"
7324 "emphasis> from the <emphasis>target host</emphasis>. Please note, if you are "
7325 "using a local archive you must use copy URIs, the syntax is identical to "
7329 #. type: Content of: <book><chapter><section><para>
7332 "<emphasis>apt.conf</emphasis> must contain the necessary information to make "
7336 #. type: Content of: <book><chapter><section><screen>
7342 " /* This is not necessary if the two machines are the same arch, it tells\n"
7343 " the remote APT what architecture the target machine is */\n"
7344 " Architecture \"i386\";\n"
7346 " Get::Download-Only \"true\";\n"
7351 " /* Use the disc for state information and redirect the status file from\n"
7352 " the /var/lib/dpkg default */\n"
7353 " State \"/disc/\";\n"
7354 " State::status \"status\";\n"
7356 " // Binary caches will be stored locally\n"
7357 " Cache::archives \"/disc/archives/\";\n"
7358 " Cache \"/tmp/\";\n"
7360 " // Location of the source list.\n"
7361 " Etc \"/disc/\";\n"
7365 #. type: Content of: <book><chapter><section><para>
7368 "More details can be seen by examining the apt.conf man page and the sample "
7369 "configuration file in <emphasis>/usr/share/doc/apt/examples/apt.conf</"
7373 #. type: Content of: <book><chapter><section><para>
7376 "On the target machine the first thing to do is mount the disc and copy "
7377 "<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to "
7378 "create the directories outlined in the Overview, <emphasis>archives/partial/"
7379 "</emphasis> and <emphasis>lists/partial/</emphasis>. Then take the disc to "
7380 "the remote machine and configure the sources.list. On the remote machine "
7381 "execute the following:"
7384 #. type: Content of: <book><chapter><section><screen>
7388 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
7389 " # apt-get update\n"
7390 " [ APT fetches the package files ]\n"
7391 " # apt-get dist-upgrade\n"
7392 " [ APT fetches all the packages needed to upgrade the target machine ]\n"
7395 #. type: Content of: <book><chapter><section><para>
7398 "The dist-upgrade command can be replaced with any other standard APT "
7399 "commands, particularly dselect-upgrade. You can even use an APT front end "
7400 "such as <emphasis>dselect</emphasis>. However this presents a problem in "
7401 "communicating your selections back to the local computer."
7404 #. type: Content of: <book><chapter><section><para>
7407 "Now the disc contains all of the index files and archives needed to upgrade "
7408 "the target machine. Take the disc back and run:"
7411 #. type: Content of: <book><chapter><section><screen>
7415 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
7416 " # apt-get check\n"
7417 " [ APT generates a local copy of the cache files ]\n"
7418 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
7419 " [ Or any other APT command ]\n"
7422 #. type: Content of: <book><chapter><section><para>
7425 "It is necessary for proper function to re-specify the status file to be the "
7426 "local one. This is very important!"
7429 #. type: Content of: <book><chapter><section><para>
7432 "If you are using dselect you can do the very risky operation of copying disc/"
7433 "status to /var/lib/dpkg/status so that any selections you made on the remote "
7434 "machine are updated. I highly recommend that people only make selections on "
7435 "the local machine - but this may not always be possible. DO NOT copy the "
7436 "status file if dpkg or APT have been run in the mean time!!"
7439 #. type: Content of: <book><chapter><title>
7441 msgid "Using APT and wget"
7444 #. type: Content of: <book><chapter><section><para>
7447 "<emphasis>wget</emphasis> is a popular and portable download tool that can "
7448 "run on nearly any machine. Unlike the method above this requires that the "
7449 "Debian machine already has a list of available packages."
7452 #. type: Content of: <book><chapter><section><para>
7455 "The basic idea is to create a disc that has only the archive files "
7456 "downloaded from the remote site. This is done by using the --print-uris "
7457 "option to apt-get and then preparing a wget script to actually fetch the "
7461 #. type: Content of: <book><chapter><section><title>
7467 #. type: Content of: <book><chapter><section><para>
7470 "Unlike the previous technique no special configuration files are required. "
7471 "We merely use the standard APT commands to generate the file list."
7474 #. type: Content of: <book><chapter><section><screen>
7478 " # apt-get dist-upgrade\n"
7479 " [ Press no when prompted, make sure you are happy with the actions ]\n"
7480 " # apt-get -qq --print-uris dist-upgrade > uris\n"
7481 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script\n"
7484 #. type: Content of: <book><chapter><section><para>
7487 "Any command other than dist-upgrade could be used here, including dselect-"
7491 #. type: Content of: <book><chapter><section><para>
7494 "The /disc/wget-script file will now contain a list of wget commands to "
7495 "execute in order to fetch the necessary archives. This script should be run "
7496 "with the current directory as the disc's mount point so as to save the "
7497 "output on the disc."
7500 #. type: Content of: <book><chapter><section><para>
7502 msgid "The remote machine would do something like"
7505 #. type: Content of: <book><chapter><section><screen>
7510 " # sh -x ./wget-script\n"
7514 #. type: Content of: <book><chapter><section><para>
7517 "Once the archives are downloaded and the disc returned to the Debian machine "
7518 "installation can proceed using,"
7521 #. type: Content of: <book><chapter><section><screen>
7524 msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n"
7527 #. type: Content of: <book><chapter><section><para>
7529 msgid "Which will use the already fetched archives on the disc."
7534 #~ "See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
7535 #~ "B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
7536 #~ "B<reportbug>(1) command."
7539 #~ " <RefSect1><Title>Bugs</>\n"
7541 #~ " Consulte a <ulink url='http://bugs.debian.org/apt'>página de bugs do "
7543 #~ " Caso você queira relatar um bug no APT, por favor consulte o arquivo\n"
7544 #~ " <filename>/usr/share/doc/debian/bug-reporting.txt</> ou o comando "
7549 #~ msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
7552 #~ " <RefSect1><Title>Author</>\n"
7554 #~ " O APT foi escrito pela equipe APT <email>apt@packages.debian.org</>.\n"
7560 #~ "Pin: release n=karmic*\n"
7561 #~ "Pin-Priority: 990\n"
7563 #~ "<programlisting>\n"
7565 #~ "Pin: release a=unstable\n"
7566 #~ "Pin-Priority: 50\n"
7569 #~ msgid "Dir Section"
7570 #~ msgstr "Descrição"
7573 #~ msgid "<replaceable>&synopsis-filename;</replaceable>"
7575 #~ "<programlisting>\n"
7576 #~ "apt-get install <replaceable>pacote</replaceable>/testing\n"
7579 #~ msgid "&apt-get;,&aptitude;,&apt-conf;"
7580 #~ msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7583 #~ msgid "&file-preferences;"
7584 #~ msgstr "apt_preferences"
7587 #~ msgid "&apt-author.team; &apt-email; &apt-product;"
7588 #~ msgstr "&apt-get; &apt-cache; &apt-conf; &sources-list;"
7592 #~ "<!-- Boiler plate docinfo section -->\n"
7593 #~ "<!ENTITY apt-docinfo \"\n"
7594 #~ " <refentryinfo>\n"
7595 #~ " <address><email>apt@packages.debian.org</email></address>\n"
7597 #~ " <firstname>Jason</firstname> <surname>Gunthorpe</surname>\n"
7598 #~ " <contrib></contrib>\n"
7600 #~ " <copyright><year>1998-2001</year> <holder>Jason Gunthorpe</holder></"
7602 #~ " <date>28 October 2008</date>\n"
7603 #~ " <productname>Linux</productname>\n"
7604 #~ " </refentryinfo>\n"
7609 #~ " <address><email>apt@packages.debian.org</></address>\n"
7610 #~ " <author><firstname>Jason</> <surname>Gunthorpe</></>\n"
7611 #~ " <copyright><year>1998-2001</> <holder>Jason Gunthorpe</></>\n"
7612 #~ " <date>12 Março 2001</>\n"
7616 #~ msgid "to the version that is already installed (if any)."
7617 #~ msgstr "para a instância que já esteja instalada (caso exista)."
7621 #~ "The <literal>Pin-Priority:</literal> line in each APT preferences record "
7622 #~ "is optional. If omitted, APT assigns a priority of 1 less than the last "
7623 #~ "value specified on a line beginning with <literal>Pin-Priority: "
7624 #~ "release ...</literal>."
7626 #~ "A linha <literal>Pin-Priority:</literal> em cada registro de preferências "
7627 #~ "do APT é opcional. Caso omitida, o APT atribuirá uma prioridade de 1 "
7628 #~ "menos o último valor especificado em uma linha iniciando com <literal>Pin-"
7629 #~ "Priority: release ...</literal>."
7634 #~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
7635 #~ " <ListItem><Para>\n"
7636 #~ " Show a short usage summary.\n"
7637 #~ " </VarListEntry>\n"
7639 #~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
7640 #~ " <ListItem><Para>\n"
7641 #~ " Show the program version.\n"
7642 #~ " </VarListEntry>\n"
7644 #~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
7645 #~ " <ListItem><Para>\n"
7646 #~ " Configuration File; Specify a configuration file to use. \n"
7647 #~ " The program will read the default configuration file and then this \n"
7648 #~ " configuration file. See &apt-conf; for syntax information. \n"
7649 #~ " </VarListEntry>\n"
7651 #~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
7652 #~ " <ListItem><Para>\n"
7653 #~ " Set a Configuration Option; This will set an arbitary "
7654 #~ "configuration \n"
7655 #~ " option. The syntax is <option>-o Foo::Bar=bar</>.\n"
7656 #~ " </VarListEntry>\n"
7659 #~ " <VarListEntry><term><option/-h/</><term><option/--help/</>\n"
7660 #~ " <ListItem><Para>\n"
7661 #~ " Exibe um pequeno resumo de uso.\n"
7662 #~ " </VarListEntry>\n"
7664 #~ " <VarListEntry><term><option/-v/</><term><option/--version/</>\n"
7665 #~ " <ListItem><Para>\n"
7666 #~ " Exibe a versão do programa.\n"
7667 #~ " </VarListEntry>\n"
7669 #~ " <VarListEntry><term><option/-c/</><term><option/--config-file/</>\n"
7670 #~ " <ListItem><Para>\n"
7671 #~ " Arquivo de Configuração; Especifica um arquivo de configuração\n"
7672 #~ " a ser usado. O programa irá ler o arquivo de configuração padrão\n"
7673 #~ " e então este arquivo de configuração. Consulte &apt-conf; para\n"
7674 #~ " informação de sintaxe. \n"
7675 #~ " </VarListEntry>\n"
7677 #~ " <VarListEntry><term><option/-o/</><term><option/--option/</>\n"
7678 #~ " <ListItem><Para>\n"
7679 #~ " Defie uma Opção de Configuração; Esta opção irá definir uma opção\n"
7680 #~ " de configuração arbitrária. A sintaxe é <option>-o Foo::Bar=bar</>.\n"
7681 #~ " </VarListEntry>\n"
7684 #~ msgid "</programlisting> Then:"
7685 #~ msgstr "</programlisting> Então :"