1 # Translation of apt package man pages
2 # Copyright (C) 2004 Krzysztof Fiertek <akfedux@megapolis.pl>
3 # This file is distributed under the same license as the apt package.
6 # Krzysztof Fiertek <akfedux@megapolis.pl>, 2004
11 "Project-Id-Version: apt\n"
12 "POT-Creation-Date: 2009-10-29 14:19+0100\n"
13 "PO-Revision-Date: 2004-02-12 15:06+0100\n"
14 "Last-Translator: Krzysztof Fiertek <akfedux@megapolis.pl>\n"
15 "Language-Team: <debian-l10n-polish@lists.debian.org>\n"
17 "Content-Type: text/plain; charset=UTF-8\n"
18 "Content-Transfer-Encoding: 8bit\n"
35 msgid "Debian GNU/Linux"
46 msgid "apt - Advanced Package Tool"
69 "APT is a management system for software packages. For normal day to day "
70 "package management there are several frontends available, such as B<aptitude>"
71 "(8) for the command line or B<synaptic>(8) for the X Window System. Some "
72 "options are only implemented in B<apt-get>(8) though."
101 "B<apt-cache>(8), B<apt-get>(8), B<apt.conf>(5), B<sources.list>(5), "
102 "B<apt_preferences>(5), B<apt-secure>(8)"
113 msgid "apt returns zero on normal operation, decimal 100 on error."
124 msgid "This manpage isn't even started."
130 "See E<lt>http://bugs.debian.org/aptE<gt>. If you wish to report a bug in "
131 "B<apt>, please see I</usr/share/doc/debian/bug-reporting.txt> or the "
132 "B<reportbug>(1) command."
143 msgid "apt was written by the APT team E<lt>apt@packages.debian.orgE<gt>."
148 msgid "<!-- -*- mode: sgml; mode: fold -*- -->"
154 "<!-- Some common paths.. --> <!ENTITY docdir \"/usr/share/doc/apt/\"> <!"
155 "ENTITY guidesdir \"/usr/share/doc/apt-doc/\"> <!ENTITY configureindex "
156 "\"<filename>&docdir;examples/configure-index.gz</filename>\"> <!ENTITY "
157 "aptconfdir \"<filename>/etc/apt.conf</filename>\"> <!ENTITY statedir \"/var/"
158 "lib/apt\"> <!ENTITY cachedir \"/var/cache/apt\">"
165 "<!-- Cross references to other man pages -->\n"
166 "<!ENTITY apt-conf \"<citerefentry>\n"
167 " <refentrytitle><filename>apt.conf</filename></refentrytitle>\n"
168 " <manvolnum>5</manvolnum>\n"
169 " </citerefentry>\"\n"
177 "<!ENTITY apt-get \"<citerefentry>\n"
178 " <refentrytitle><command>apt-get</command></refentrytitle>\n"
179 " <manvolnum>8</manvolnum>\n"
180 " </citerefentry>\"\n"
188 "<!ENTITY apt-config \"<citerefentry>\n"
189 " <refentrytitle><command>apt-config</command></refentrytitle>\n"
190 " <manvolnum>8</manvolnum>\n"
191 " </citerefentry>\"\n"
199 "<!ENTITY apt-cdrom \"<citerefentry>\n"
200 " <refentrytitle><command>apt-cdrom</command></refentrytitle>\n"
201 " <manvolnum>8</manvolnum>\n"
202 " </citerefentry>\"\n"
210 "<!ENTITY apt-cache \"<citerefentry>\n"
211 " <refentrytitle><command>apt-cache</command></refentrytitle>\n"
212 " <manvolnum>8</manvolnum>\n"
213 " </citerefentry>\"\n"
221 "<!ENTITY apt-preferences \"<citerefentry>\n"
222 " <refentrytitle><command>apt_preferences</command></refentrytitle>\n"
223 " <manvolnum>5</manvolnum>\n"
224 " </citerefentry>\"\n"
232 "<!ENTITY apt-key \"<citerefentry>\n"
233 " <refentrytitle><command>apt-key</command></refentrytitle>\n"
234 " <manvolnum>8</manvolnum>\n"
235 " </citerefentry>\"\n"
243 "<!ENTITY apt-secure \"<citerefentry>\n"
244 " <refentrytitle>apt-secure</refentrytitle>\n"
245 " <manvolnum>8</manvolnum>\n"
246 " </citerefentry>\"\n"
254 "<!ENTITY apt-ftparchive \"<citerefentry>\n"
255 " <refentrytitle><filename>apt-ftparchive</filename></refentrytitle>\n"
256 " <manvolnum>1</manvolnum>\n"
257 " </citerefentry>\"\n"
265 "<!ENTITY sources-list \"<citerefentry>\n"
266 " <refentrytitle><filename>sources.list</filename></refentrytitle>\n"
267 " <manvolnum>5</manvolnum>\n"
268 " </citerefentry>\"\n"
276 "<!ENTITY reportbug \"<citerefentry>\n"
277 " <refentrytitle><command>reportbug</command></refentrytitle>\n"
278 " <manvolnum>1</manvolnum>\n"
279 " </citerefentry>\"\n"
287 "<!ENTITY dpkg \"<citerefentry>\n"
288 " <refentrytitle><command>dpkg</command></refentrytitle>\n"
289 " <manvolnum>1</manvolnum>\n"
290 " </citerefentry>\"\n"
298 "<!ENTITY dpkg-buildpackage \"<citerefentry>\n"
299 " <refentrytitle><command>dpkg-buildpackage</command></refentrytitle>\n"
300 " <manvolnum>1</manvolnum>\n"
301 " </citerefentry>\"\n"
309 "<!ENTITY gzip \"<citerefentry>\n"
310 " <refentrytitle><command>gzip</command></refentrytitle>\n"
311 " <manvolnum>1</manvolnum>\n"
312 " </citerefentry>\"\n"
320 "<!ENTITY dpkg-scanpackages \"<citerefentry>\n"
321 " <refentrytitle><command>dpkg-scanpackages</command></refentrytitle>\n"
322 " <manvolnum>1</manvolnum>\n"
323 " </citerefentry>\"\n"
331 "<!ENTITY dpkg-scansources \"<citerefentry>\n"
332 " <refentrytitle><command>dpkg-scansources</command></refentrytitle>\n"
333 " <manvolnum>1</manvolnum>\n"
334 " </citerefentry>\"\n"
342 "<!ENTITY dselect \"<citerefentry>\n"
343 " <refentrytitle><command>dselect</command></refentrytitle>\n"
344 " <manvolnum>1</manvolnum>\n"
345 " </citerefentry>\"\n"
353 "<!ENTITY aptitude \"<citerefentry>\n"
354 " <refentrytitle><command>aptitude</command></refentrytitle>\n"
355 " <manvolnum>8</manvolnum>\n"
356 " </citerefentry>\"\n"
364 "<!ENTITY synaptic \"<citerefentry>\n"
365 " <refentrytitle><command>synaptic</command></refentrytitle>\n"
366 " <manvolnum>8</manvolnum>\n"
367 " </citerefentry>\"\n"
375 "<!ENTITY debsign \"<citerefentry>\n"
376 " <refentrytitle><command>debsign</command></refentrytitle>\n"
377 " <manvolnum>1</manvolnum>\n"
378 " </citerefentry>\"\n"
386 "<!ENTITY debsig-verify \"<citerefentry>\n"
387 " <refentrytitle><command>debsig-verify</command></refentrytitle>\n"
388 " <manvolnum>1</manvolnum>\n"
389 " </citerefentry>\"\n"
397 "<!ENTITY gpg \"<citerefentry>\n"
398 " <refentrytitle><command>gpg</command></refentrytitle>\n"
399 " <manvolnum>1</manvolnum>\n"
400 " </citerefentry>\"\n"
408 "<!ENTITY gnome-apt \"<citerefentry>\n"
409 " <refentrytitle><command>gnome-apt</command></refentrytitle>\n"
410 " <manvolnum>1</manvolnum>\n"
411 " </citerefentry>\"\n"
419 "<!ENTITY wajig \"<citerefentry>\n"
420 " <refentrytitle><command>wajig</command></refentrytitle>\n"
421 " <manvolnum>1</manvolnum>\n"
422 " </citerefentry>\"\n"
430 "<!-- Boiler plate docinfo section -->\n"
431 "<!ENTITY apt-docinfo \"\n"
433 " <address><email>apt@packages.debian.org</email></address>\n"
435 " <firstname>Jason</firstname> <surname>Gunthorpe</surname>\n"
436 " <contrib></contrib>\n"
438 " <copyright><year>1998-2001</year> <holder>Jason Gunthorpe</holder></copyright>\n"
439 " <date>28 October 2008</date>\n"
440 " <productname>Linux</productname>\n"
455 "<!ENTITY apt-email \"\n"
457 " <email>apt@packages.debian.org</email>\n"
466 "<!ENTITY apt-author.jgunthorpe \"\n"
468 " <firstname>Jason</firstname>\n"
469 " <surname>Gunthorpe</surname>\n"
470 " <contrib></contrib>\n"
479 "<!ENTITY apt-author.moconnor \"\n"
481 " <firstname>Mike</firstname>\n"
482 " <surname>O'Connor</surname>\n"
483 " <contrib></contrib>\n"
492 "<!ENTITY apt-author.team \"\n"
494 " <othername>APT team</othername>\n"
495 " <contrib></contrib>\n"
501 #: apt.ent:204 apt.ent:215
504 "<!ENTITY apt-product \"\n"
505 " <productname>Linux</productname>\n"
513 "<!ENTITY apt-copyright \"\n"
515 " <holder>Jason Gunthorpe</holder>\n"
516 " <year>1998-2001</year>\n"
525 "<!ENTITY apt-qapage \"\n"
527 "\t\t<ulink url='http://packages.qa.debian.org/a/apt.html'>QA Page</ulink>\n"
536 "<!-- Boiler plate Bug reporting section -->\n"
537 "<!ENTITY manbugs \"\n"
538 " <refsect1><title>Bugs</title>\n"
539 " <para><ulink url='http://bugs.debian.org/src:apt'>APT bug page</ulink>. \n"
540 " If you wish to report a bug in APT, please see\n"
541 " <filename>/usr/share/doc/debian/bug-reporting.txt</filename> or the\n"
542 " &reportbug; command.\n"
552 "<!-- Boiler plate Author section -->\n"
553 "<!ENTITY manauthor \"\n"
554 " <refsect1><title>Author</title>\n"
555 " <para>APT was written by the APT team <email>apt@packages.debian.org</email>.\n"
565 "<!-- Should be used within the option section of the text to\n"
566 " put in the blurb about -h, -v, -c and -o -->\n"
567 "<!ENTITY apt-commonoptions \"\n"
568 " <varlistentry><term><option>-h</option></term>\n"
569 " <term><option>--help</option></term>\n"
570 " <listitem><para>Show a short usage summary.\n"
581 " <term><option>-v</option></term>\n"
582 " <term><option>--version</option></term>\n"
583 " <listitem><para>Show the program version.\n"
594 " <term><option>-c</option></term>\n"
595 " <term><option>--config-file</option></term>\n"
596 " <listitem><para>Configuration File; Specify a configuration file to use. \n"
597 " The program will read the default configuration file and then this \n"
598 " configuration file. See &apt-conf; for syntax information. \n"
609 " <term><option>-o</option></term>\n"
610 " <term><option>--option</option></term>\n"
611 " <listitem><para>Set a Configuration Option; This will set an arbitrary\n"
612 " configuration option. The syntax is <option>-o Foo::Bar=bar</option>.\n"
613 " <option>-o</option> and <option>--option</option> can be used multiple\n"
614 " times to set different options.\n"
625 "<!-- Should be used within the option section of the text to\n"
626 " put in the blurb about -h, -v, -c and -o -->\n"
627 "<!ENTITY apt-cmdblurb \"\n"
628 " <para>All command line options may be set using the configuration file, the\n"
629 " descriptions indicate the configuration option to set. For boolean\n"
630 " options you can override the config file by using something like \n"
631 " <option>-f-</option>,<option>--no-f</option>, <option>-f=no</option>\n"
632 " or several other variations.\n"
641 "<!ENTITY file-aptconf \"\n"
642 " <varlistentry><term><filename>/etc/apt/apt.conf</filename></term>\n"
643 " <listitem><para>APT configuration file.\n"
644 " Configuration Item: <literal>Dir::Etc::Main</literal>.</para></listitem>\n"
652 " <varlistentry><term><filename>/etc/apt/apt.conf.d/</filename></term>\n"
653 " <listitem><para>APT configuration file fragments.\n"
654 " Configuration Item: <literal>Dir::Etc::Parts</literal>.</para></listitem>\n"
663 "<!ENTITY file-cachearchives \"\n"
664 " <varlistentry><term><filename>&cachedir;/archives/</filename></term>\n"
665 " <listitem><para>Storage area for retrieved package files.\n"
666 " Configuration Item: <literal>Dir::Cache::Archives</literal>.</para></listitem>\n"
674 " <varlistentry><term><filename>&cachedir;/archives/partial/</filename></term>\n"
675 " <listitem><para>Storage area for package files in transit.\n"
676 " Configuration Item: <literal>Dir::Cache::Archives</literal> (implicit partial). </para></listitem>\n"
685 "<!ENTITY file-preferences \"\n"
686 " <varlistentry><term><filename>/etc/apt/preferences</filename></term>\n"
687 " <listitem><para>Version preferences file.\n"
688 " This is where you would specify "pinning",\n"
689 " i.e. a preference to get certain packages\n"
690 " from a separate source\n"
691 " or from a different version of a distribution.\n"
692 " Configuration Item: <literal>Dir::Etc::Preferences</literal>.</para></listitem>\n"
700 " <varlistentry><term><filename>/etc/apt/preferences.d/</filename></term>\n"
701 " <listitem><para>File fragments for the version preferences.\n"
702 " Configuration Item: <literal>Dir::Etc::PreferencesParts</literal>.</para></listitem>\n"
711 "<!ENTITY file-sourceslist \"\n"
712 " <varlistentry><term><filename>/etc/apt/sources.list</filename></term>\n"
713 " <listitem><para>Locations to fetch packages from.\n"
714 " Configuration Item: <literal>Dir::Etc::SourceList</literal>.</para></listitem>\n"
722 " <varlistentry><term><filename>/etc/apt/sources.list.d/</filename></term>\n"
723 " <listitem><para>File fragments for locations to fetch packages from.\n"
724 " Configuration Item: <literal>Dir::Etc::SourceParts</literal>.</para></listitem>\n"
733 "<!ENTITY file-statelists \"\n"
734 " <varlistentry><term><filename>&statedir;/lists/</filename></term>\n"
735 " <listitem><para>Storage area for state information for each package resource specified in\n"
737 " Configuration Item: <literal>Dir::State::Lists</literal>.</para></listitem>\n"
745 " <varlistentry><term><filename>&statedir;/lists/partial/</filename></term>\n"
746 " <listitem><para>Storage area for state information in transit.\n"
747 " Configuration Item: <literal>Dir::State::Lists</literal> (implicit partial).</para></listitem>\n"
752 #. The last update date
753 #. type: Content of: <refentry><refentryinfo>
754 #: apt-cache.8.xml:13 apt-config.8.xml:13 apt-extracttemplates.1.xml:13
755 #: apt-ftparchive.1.xml:13 apt-sortpkgs.1.xml:13 sources.list.5.xml:13
757 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>29 "
758 "February 2004</date>"
761 #. type: Content of: <refentry><refnamediv><refname>
762 #: apt-cache.8.xml:22 apt-cache.8.xml:29
766 #. type: Content of: <refentry><refmeta><manvolnum>
767 #: apt-cache.8.xml:23 apt-cdrom.8.xml:22 apt-config.8.xml:23 apt-get.8.xml:23
768 #: apt-key.8.xml:15 apt-mark.8.xml:23 apt-secure.8.xml:15
772 #. type: Content of: <refentry><refmeta><refmiscinfo>
773 #: apt-cache.8.xml:24 apt-cdrom.8.xml:23 apt-config.8.xml:24
774 #: apt-extracttemplates.1.xml:24 apt-ftparchive.1.xml:24 apt-get.8.xml:24
775 #: apt-key.8.xml:16 apt-mark.8.xml:24 apt-secure.8.xml:16
776 #: apt-sortpkgs.1.xml:24 apt.conf.5.xml:30 apt_preferences.5.xml:23
777 #: sources.list.5.xml:24
781 #. type: Content of: <refentry><refnamediv><refpurpose>
782 #: apt-cache.8.xml:30
783 msgid "APT package handling utility -- cache manipulator"
786 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
787 #: apt-cache.8.xml:36
789 "<command>apt-cache</command> <arg><option>-hvsn</option></arg> <arg><option>-"
790 "o=<replaceable>config string</replaceable></option></arg> <arg><option>-"
791 "c=<replaceable>file</replaceable></option></arg> <group choice=\"req\"> "
792 "<arg>add <arg choice=\"plain\" rep=\"repeat\"><replaceable>file</"
793 "replaceable></arg></arg> <arg>gencaches</arg> <arg>showpkg <arg choice="
794 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
795 "<arg>showsrc <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
796 "replaceable></arg></arg> <arg>stats</arg> <arg>dump</arg> <arg>dumpavail</"
797 "arg> <arg>unmet</arg> <arg>search <arg choice=\"plain\"><replaceable>regex</"
798 "replaceable></arg></arg> <arg>show <arg choice=\"plain\" rep=\"repeat"
799 "\"><replaceable>pkg</replaceable></arg></arg> <arg>depends <arg choice="
800 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
801 "<arg>rdepends <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
802 "replaceable></arg></arg> <arg>pkgnames <arg choice=\"plain"
803 "\"><replaceable>prefix</replaceable></arg></arg> <arg>dotty <arg choice="
804 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
805 "<arg>xvcg <arg choice=\"plain\" rep=\"repeat\"><replaceable>pkg</"
806 "replaceable></arg></arg> <arg>policy <arg choice=\"plain\" rep=\"repeat"
807 "\"><replaceable>pkgs</replaceable></arg></arg> <arg>madison <arg choice="
808 "\"plain\" rep=\"repeat\"><replaceable>pkgs</replaceable></arg></arg> </group>"
811 #. type: Content of: <refentry><refsect1><title>
812 #: apt-cache.8.xml:62 apt-cdrom.8.xml:47 apt-config.8.xml:47
813 #: apt-extracttemplates.1.xml:43 apt-ftparchive.1.xml:55 apt-get.8.xml:125
814 #: apt-key.8.xml:34 apt-mark.8.xml:52 apt-secure.8.xml:40
815 #: apt-sortpkgs.1.xml:44 apt.conf.5.xml:39 apt_preferences.5.xml:33
816 #: sources.list.5.xml:33
819 msgstr "Kolejne kroki"
821 #. type: Content of: <refentry><refsect1><para>
822 #: apt-cache.8.xml:63
824 "<command>apt-cache</command> performs a variety of operations on APT's "
825 "package cache. <command>apt-cache</command> does not manipulate the state of "
826 "the system but does provide operations to search and generate interesting "
827 "output from the package metadata."
830 #. type: Content of: <refentry><refsect1><para>
831 #: apt-cache.8.xml:68 apt-get.8.xml:131
833 "Unless the <option>-h</option>, or <option>--help</option> option is given, "
834 "one of the commands below must be present."
837 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
838 #: apt-cache.8.xml:72
839 msgid "add <replaceable>file(s)</replaceable>"
842 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
843 #: apt-cache.8.xml:73
845 "<literal>add</literal> adds the named package index files to the package "
846 "cache. This is for debugging only."
849 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
850 #: apt-cache.8.xml:77
854 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
855 #: apt-cache.8.xml:78
857 "<literal>gencaches</literal> performs the same operation as <command>apt-get "
858 "check</command>. It builds the source and package caches from the sources in "
859 "&sources-list; and from <filename>/var/lib/dpkg/status</filename>."
862 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
863 #: apt-cache.8.xml:84
864 msgid "showpkg <replaceable>pkg(s)</replaceable>"
867 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
868 #: apt-cache.8.xml:85
870 "<literal>showpkg</literal> displays information about the packages listed on "
871 "the command line. Remaining arguments are package names. The available "
872 "versions and reverse dependencies of each package listed are listed, as well "
873 "as forward dependencies for each version. Forward (normal) dependencies are "
874 "those packages upon which the package in question depends; reverse "
875 "dependencies are those packages that depend upon the package in question. "
876 "Thus, forward dependencies must be satisfied for a package, but reverse "
877 "dependencies need not be. For instance, <command>apt-cache showpkg "
878 "libreadline2</command> would produce output similar to the following:"
881 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
882 #: apt-cache.8.xml:97
885 "Package: libreadline2\n"
886 "Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n"
887 "Reverse Depends: \n"
888 " libreadlineg2,libreadline2\n"
889 " libreadline2-altdev,libreadline2\n"
891 "2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n"
894 "Reverse Provides: \n"
897 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
898 #: apt-cache.8.xml:109
900 "Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and "
901 "ncurses3.0 which must be installed for libreadline2 to work. In turn, "
902 "libreadlineg2 and libreadline2-altdev depend on libreadline2. If "
903 "libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be "
904 "installed; libreadlineg2 and libreadline2-altdev do not have to be "
905 "installed. For the specific meaning of the remainder of the output it is "
906 "best to consult the apt source code."
909 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
910 #: apt-cache.8.xml:118
914 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
915 #: apt-cache.8.xml:118
917 "<literal>stats</literal> displays some statistics about the cache. No "
918 "further arguments are expected. Statistics reported are:"
921 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
922 #: apt-cache.8.xml:121
924 "<literal>Total package names</literal> is the number of package names found "
928 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
929 #: apt-cache.8.xml:125
931 "<literal>Normal packages</literal> is the number of regular, ordinary "
932 "package names; these are packages that bear a one-to-one correspondence "
933 "between their names and the names used by other packages for them in "
934 "dependencies. The majority of packages fall into this category."
937 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
938 #: apt-cache.8.xml:131
940 "<literal>Pure virtual packages</literal> is the number of packages that "
941 "exist only as a virtual package name; that is, packages only \"provide\" the "
942 "virtual package name, and no package actually uses the name. For instance, "
943 "\"mail-transport-agent\" in the Debian GNU/Linux system is a pure virtual "
944 "package; several packages provide \"mail-transport-agent\", but there is no "
945 "package named \"mail-transport-agent\"."
948 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
949 #: apt-cache.8.xml:139
951 "<literal>Single virtual packages</literal> is the number of packages with "
952 "only one package providing a particular virtual package. For example, in the "
953 "Debian GNU/Linux system, \"X11-text-viewer\" is a virtual package, but only "
954 "one package, xless, provides \"X11-text-viewer\"."
957 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
958 #: apt-cache.8.xml:145
960 "<literal>Mixed virtual packages</literal> is the number of packages that "
961 "either provide a particular virtual package or have the virtual package name "
962 "as the package name. For instance, in the Debian GNU/Linux system, \"debconf"
963 "\" is both an actual package, and provided by the debconf-tiny package."
966 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
967 #: apt-cache.8.xml:152
969 "<literal>Missing</literal> is the number of package names that were "
970 "referenced in a dependency but were not provided by any package. Missing "
971 "packages may be an evidence if a full distribution is not accessed, or if a "
972 "package (real or virtual) has been dropped from the distribution. Usually "
973 "they are referenced from Conflicts or Breaks statements."
976 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
977 #: apt-cache.8.xml:159
979 "<literal>Total distinct</literal> versions is the number of package versions "
980 "found in the cache; this value is therefore at least equal to the number of "
981 "total package names. If more than one distribution (both \"stable\" and "
982 "\"unstable\", for instance), is being accessed, this value can be "
983 "considerably larger than the number of total package names."
986 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para>
987 #: apt-cache.8.xml:166
989 "<literal>Total dependencies</literal> is the number of dependency "
990 "relationships claimed by all of the packages in the cache."
993 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
994 #: apt-cache.8.xml:173
995 msgid "showsrc <replaceable>pkg(s)</replaceable>"
998 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
999 #: apt-cache.8.xml:174
1001 "<literal>showsrc</literal> displays all the source package records that "
1002 "match the given package names. All versions are shown, as well as all "
1003 "records that declare the name to be a Binary."
1006 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1007 #: apt-cache.8.xml:179 apt-config.8.xml:84
1011 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1012 #: apt-cache.8.xml:180
1014 "<literal>dump</literal> shows a short listing of every package in the cache. "
1015 "It is primarily for debugging."
1018 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1019 #: apt-cache.8.xml:184
1023 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1024 #: apt-cache.8.xml:185
1026 "<literal>dumpavail</literal> prints out an available list to stdout. This is "
1027 "suitable for use with &dpkg; and is used by the &dselect; method."
1030 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1031 #: apt-cache.8.xml:189
1035 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1036 #: apt-cache.8.xml:190
1038 "<literal>unmet</literal> displays a summary of all unmet dependencies in the "
1042 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1043 #: apt-cache.8.xml:194
1044 msgid "show <replaceable>pkg(s)</replaceable>"
1047 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1048 #: apt-cache.8.xml:195
1050 "<literal>show</literal> performs a function similar to <command>dpkg --print-"
1051 "avail</command>; it displays the package records for the named packages."
1054 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1055 #: apt-cache.8.xml:200
1056 msgid "search <replaceable>regex [ regex ... ]</replaceable>"
1059 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1060 #: apt-cache.8.xml:201
1062 "<literal>search</literal> performs a full text search on all available "
1063 "package lists for the POSIX regex pattern given, see "
1064 "<citerefentry><refentrytitle><command>regex</command></refentrytitle> "
1065 "<manvolnum>7</manvolnum></citerefentry>. It searches the package names and "
1066 "the descriptions for an occurrence of the regular expression and prints out "
1067 "the package name and the short description, including virtual package "
1068 "names. If <option>--full</option> is given then output identical to "
1069 "<literal>show</literal> is produced for each matched package, and if "
1070 "<option>--names-only</option> is given then the long description is not "
1071 "searched, only the package name is."
1074 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1075 #: apt-cache.8.xml:214
1077 "Separate arguments can be used to specify multiple search patterns that are "
1081 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1082 #: apt-cache.8.xml:218
1083 msgid "depends <replaceable>pkg(s)</replaceable>"
1086 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1087 #: apt-cache.8.xml:219
1089 "<literal>depends</literal> shows a listing of each dependency a package has "
1090 "and all the possible other packages that can fulfill that dependency."
1093 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1094 #: apt-cache.8.xml:223
1095 msgid "rdepends <replaceable>pkg(s)</replaceable>"
1098 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1099 #: apt-cache.8.xml:224
1101 "<literal>rdepends</literal> shows a listing of each reverse dependency a "
1105 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1106 #: apt-cache.8.xml:228
1107 msgid "pkgnames <replaceable>[ prefix ]</replaceable>"
1110 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1111 #: apt-cache.8.xml:229
1113 "This command prints the name of each package APT knows. The optional "
1114 "argument is a prefix match to filter the name list. The output is suitable "
1115 "for use in a shell tab complete function and the output is generated "
1116 "extremely quickly. This command is best used with the <option>--generate</"
1120 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1121 #: apt-cache.8.xml:234
1123 "Note that a package which APT knows of is not necessarily available to "
1124 "download, installable or installed, e.g. virtual packages are also listed in "
1125 "the generated list."
1128 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1129 #: apt-cache.8.xml:239
1130 msgid "dotty <replaceable>pkg(s)</replaceable>"
1133 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1134 #: apt-cache.8.xml:240
1136 "<literal>dotty</literal> takes a list of packages on the command line and "
1137 "generates output suitable for use by dotty from the <ulink url=\"http://www."
1138 "research.att.com/sw/tools/graphviz/\">GraphViz</ulink> package. The result "
1139 "will be a set of nodes and edges representing the relationships between the "
1140 "packages. By default the given packages will trace out all dependent "
1141 "packages; this can produce a very large graph. To limit the output to only "
1142 "the packages listed on the command line, set the <literal>APT::Cache::"
1143 "GivenOnly</literal> option."
1146 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1147 #: apt-cache.8.xml:249
1149 "The resulting nodes will have several shapes; normal packages are boxes, "
1150 "pure provides are triangles, mixed provides are diamonds, missing packages "
1151 "are hexagons. Orange boxes mean recursion was stopped [leaf packages], blue "
1152 "lines are pre-depends, green lines are conflicts."
1155 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1156 #: apt-cache.8.xml:254
1157 msgid "Caution, dotty cannot graph larger sets of packages."
1160 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1161 #: apt-cache.8.xml:257
1162 msgid "xvcg <replaceable>pkg(s)</replaceable>"
1165 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1166 #: apt-cache.8.xml:258
1168 "The same as <literal>dotty</literal>, only for xvcg from the <ulink url="
1169 "\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG tool</ulink>."
1172 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1173 #: apt-cache.8.xml:262
1174 msgid "policy <replaceable>[ pkg(s) ]</replaceable>"
1177 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1178 #: apt-cache.8.xml:263
1180 "<literal>policy</literal> is meant to help debug issues relating to the "
1181 "preferences file. With no arguments it will print out the priorities of each "
1182 "source. Otherwise it prints out detailed information about the priority "
1183 "selection of the named package."
1186 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1187 #: apt-cache.8.xml:269
1188 msgid "madison <replaceable>/[ pkg(s) ]</replaceable>"
1191 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1192 #: apt-cache.8.xml:270
1194 "<literal>apt-cache</literal>'s <literal>madison</literal> command attempts "
1195 "to mimic the output format and a subset of the functionality of the Debian "
1196 "archive management tool, <literal>madison</literal>. It displays available "
1197 "versions of a package in a tabular format. Unlike the original "
1198 "<literal>madison</literal>, it can only display information for the "
1199 "architecture for which APT has retrieved package lists (<literal>APT::"
1200 "Architecture</literal>)."
1203 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1204 #: apt-cache.8.xml:281 apt-config.8.xml:93 apt-extracttemplates.1.xml:56
1205 #: apt-ftparchive.1.xml:492 apt-get.8.xml:319 apt-mark.8.xml:89
1206 #: apt-sortpkgs.1.xml:54 apt.conf.5.xml:456 apt.conf.5.xml:478
1209 msgstr "Kolejne kroki"
1211 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1212 #: apt-cache.8.xml:285
1213 msgid "<option>-p</option>"
1216 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1217 #: apt-cache.8.xml:285
1218 msgid "<option>--pkg-cache</option>"
1221 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1222 #: apt-cache.8.xml:286
1224 "Select the file to store the package cache. The package cache is the primary "
1225 "cache used by all operations. Configuration Item: <literal>Dir::Cache::"
1226 "pkgcache</literal>."
1229 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1230 #: apt-cache.8.xml:291 apt-ftparchive.1.xml:535 apt-get.8.xml:376
1231 #: apt-sortpkgs.1.xml:58
1232 msgid "<option>-s</option>"
1235 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1236 #: apt-cache.8.xml:291
1237 msgid "<option>--src-cache</option>"
1240 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1241 #: apt-cache.8.xml:292
1243 "Select the file to store the source cache. The source is used only by "
1244 "<literal>gencaches</literal> and it stores a parsed version of the package "
1245 "information from remote sources. When building the package cache the source "
1246 "cache is used to avoid reparsing all of the package files. Configuration "
1247 "Item: <literal>Dir::Cache::srcpkgcache</literal>."
1250 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1251 #: apt-cache.8.xml:299 apt-ftparchive.1.xml:509 apt-get.8.xml:366
1252 msgid "<option>-q</option>"
1255 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1256 #: apt-cache.8.xml:299 apt-ftparchive.1.xml:509 apt-get.8.xml:366
1257 msgid "<option>--quiet</option>"
1260 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1261 #: apt-cache.8.xml:300
1263 "Quiet; produces output suitable for logging, omitting progress indicators. "
1264 "More q's will produce more quietness up to a maximum of 2. You can also use "
1265 "<option>-q=#</option> to set the quietness level, overriding the "
1266 "configuration file. Configuration Item: <literal>quiet</literal>."
1269 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1270 #: apt-cache.8.xml:306
1271 msgid "<option>-i</option>"
1274 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1275 #: apt-cache.8.xml:306
1276 msgid "<option>--important</option>"
1279 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1280 #: apt-cache.8.xml:307
1282 "Print only important dependencies; for use with unmet and depends. Causes "
1283 "only Depends and Pre-Depends relations to be printed. Configuration Item: "
1284 "<literal>APT::Cache::Important</literal>."
1287 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1288 #: apt-cache.8.xml:312 apt-cdrom.8.xml:121 apt-get.8.xml:333
1289 msgid "<option>-f</option>"
1292 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1293 #: apt-cache.8.xml:312
1294 msgid "<option>--full</option>"
1297 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1298 #: apt-cache.8.xml:313
1300 "Print full package records when searching. Configuration Item: "
1301 "<literal>APT::Cache::ShowFull</literal>."
1304 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1305 #: apt-cache.8.xml:317 apt-cdrom.8.xml:131
1306 msgid "<option>-a</option>"
1309 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1310 #: apt-cache.8.xml:317
1311 msgid "<option>--all-versions</option>"
1314 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1315 #: apt-cache.8.xml:318
1317 "Print full records for all available versions. This is the default; to turn "
1318 "it off, use <option>--no-all-versions</option>. If <option>--no-all-"
1319 "versions</option> is specified, only the candidate version will displayed "
1320 "(the one which would be selected for installation). This option is only "
1321 "applicable to the <literal>show</literal> command. Configuration Item: "
1322 "<literal>APT::Cache::AllVersions</literal>."
1325 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1326 #: apt-cache.8.xml:326
1327 msgid "<option>-g</option>"
1330 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1331 #: apt-cache.8.xml:326
1332 msgid "<option>--generate</option>"
1335 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1336 #: apt-cache.8.xml:327
1338 "Perform automatic package cache regeneration, rather than use the cache as "
1339 "it is. This is the default; to turn it off, use <option>--no-generate</"
1340 "option>. Configuration Item: <literal>APT::Cache::Generate</literal>."
1343 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1344 #: apt-cache.8.xml:332
1345 msgid "<option>--names-only</option>"
1348 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1349 #: apt-cache.8.xml:332 apt-cdrom.8.xml:139
1350 msgid "<option>-n</option>"
1353 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1354 #: apt-cache.8.xml:333
1356 "Only search on the package names, not the long descriptions. Configuration "
1357 "Item: <literal>APT::Cache::NamesOnly</literal>."
1360 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1361 #: apt-cache.8.xml:337
1362 msgid "<option>--all-names</option>"
1365 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1366 #: apt-cache.8.xml:338
1368 "Make <literal>pkgnames</literal> print all names, including virtual packages "
1369 "and missing dependencies. Configuration Item: <literal>APT::Cache::"
1370 "AllNames</literal>."
1373 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1374 #: apt-cache.8.xml:343
1375 msgid "<option>--recurse</option>"
1378 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1379 #: apt-cache.8.xml:344
1381 "Make <literal>depends</literal> and <literal>rdepends</literal> recursive so "
1382 "that all packages mentioned are printed once. Configuration Item: "
1383 "<literal>APT::Cache::RecurseDepends</literal>."
1386 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1387 #: apt-cache.8.xml:349
1388 msgid "<option>--installed</option>"
1391 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1392 #: apt-cache.8.xml:351
1394 "Limit the output of <literal>depends</literal> and <literal>rdepends</"
1395 "literal> to packages which are currently installed. Configuration Item: "
1396 "<literal>APT::Cache::Installed</literal>."
1399 #. type: Content of: <refentry><refsect1><variablelist>
1400 #: apt-cache.8.xml:356 apt-cdrom.8.xml:150 apt-config.8.xml:98
1401 #: apt-extracttemplates.1.xml:67 apt-ftparchive.1.xml:547 apt-get.8.xml:554
1402 #: apt-sortpkgs.1.xml:64
1403 msgid "&apt-commonoptions;"
1406 #. type: Content of: <refentry><refsect1><title>
1407 #: apt-cache.8.xml:361 apt-get.8.xml:559 apt-key.8.xml:138 apt-mark.8.xml:122
1408 #: apt.conf.5.xml:988 apt_preferences.5.xml:615
1412 #. type: Content of: <refentry><refsect1><variablelist>
1413 #: apt-cache.8.xml:363
1414 msgid "&file-sourceslist; &file-statelists;"
1417 #. type: Content of: <refentry><refsect1><title>
1418 #: apt-cache.8.xml:368 apt-cdrom.8.xml:155 apt-config.8.xml:103
1419 #: apt-extracttemplates.1.xml:74 apt-ftparchive.1.xml:563 apt-get.8.xml:569
1420 #: apt-key.8.xml:162 apt-mark.8.xml:133 apt-secure.8.xml:181
1421 #: apt-sortpkgs.1.xml:69 apt.conf.5.xml:994 apt_preferences.5.xml:622
1422 #: sources.list.5.xml:233
1426 #. type: Content of: <refentry><refsect1><para>
1427 #: apt-cache.8.xml:369
1428 msgid "&apt-conf;, &sources-list;, &apt-get;"
1431 #. type: Content of: <refentry><refsect1><title>
1432 #: apt-cache.8.xml:373 apt-cdrom.8.xml:160 apt-config.8.xml:108
1433 #: apt-extracttemplates.1.xml:78 apt-ftparchive.1.xml:567 apt-get.8.xml:575
1434 #: apt-mark.8.xml:137 apt-sortpkgs.1.xml:73
1438 #. type: Content of: <refentry><refsect1><para>
1439 #: apt-cache.8.xml:374
1441 "<command>apt-cache</command> returns zero on normal operation, decimal 100 "
1445 #. type: Content of: <refentry><refentryinfo>
1446 #: apt-cdrom.8.xml:13
1448 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>14 "
1449 "February 2004</date>"
1452 #. type: Content of: <refentry><refnamediv><refname>
1453 #: apt-cdrom.8.xml:21 apt-cdrom.8.xml:28
1457 #. type: Content of: <refentry><refnamediv><refpurpose>
1458 #: apt-cdrom.8.xml:29
1459 msgid "APT CDROM management utility"
1462 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1463 #: apt-cdrom.8.xml:35
1465 "<command>apt-cdrom</command> <arg><option>-hvrmfan</option></arg> "
1466 "<arg><option>-d=<replaceable>cdrom mount point</replaceable></option></arg> "
1467 "<arg><option>-o=<replaceable>config string</replaceable></option></arg> "
1468 "<arg><option>-c=<replaceable>file</replaceable></option></arg> <group> "
1469 "<arg>add</arg> <arg>ident</arg> </group>"
1472 #. type: Content of: <refentry><refsect1><para>
1473 #: apt-cdrom.8.xml:48
1475 "<command>apt-cdrom</command> is used to add a new CDROM to APTs list of "
1476 "available sources. <command>apt-cdrom</command> takes care of determining "
1477 "the structure of the disc as well as correcting for several possible mis-"
1478 "burns and verifying the index files."
1481 #. type: Content of: <refentry><refsect1><para>
1482 #: apt-cdrom.8.xml:55
1484 "It is necessary to use <command>apt-cdrom</command> to add CDs to the APT "
1485 "system, it cannot be done by hand. Furthermore each disk in a multi-cd set "
1486 "must be inserted and scanned separately to account for possible mis-burns."
1489 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
1490 #: apt-cdrom.8.xml:65
1494 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1495 #: apt-cdrom.8.xml:66
1497 "<literal>add</literal> is used to add a new disc to the source list. It will "
1498 "unmount the CDROM device, prompt for a disk to be inserted and then procceed "
1499 "to scan it and copy the index files. If the disc does not have a proper "
1500 "<filename>disk</filename> directory you will be prompted for a descriptive "
1504 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1505 #: apt-cdrom.8.xml:74
1507 "APT uses a CDROM ID to track which disc is currently in the drive and "
1508 "maintains a database of these IDs in <filename>&statedir;/cdroms.list</"
1512 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
1513 #: apt-cdrom.8.xml:81
1517 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
1518 #: apt-cdrom.8.xml:82
1520 "A debugging tool to report the identity of the current disc as well as the "
1524 #. type: Content of: <refentry><refsect1><para>
1525 #: apt-cdrom.8.xml:61
1527 "Unless the <option>-h</option>, or <option>--help</option> option is given "
1528 "one of the commands below must be present. <placeholder type=\"variablelist"
1532 #. type: Content of: <refentry><refsect1><title>
1533 #: apt-cdrom.8.xml:91
1536 msgstr "Kolejne kroki"
1538 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1539 #: apt-cdrom.8.xml:95 apt-ftparchive.1.xml:503 apt-get.8.xml:328
1540 msgid "<option>-d</option>"
1543 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1544 #: apt-cdrom.8.xml:95
1545 msgid "<option>--cdrom</option>"
1548 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1549 #: apt-cdrom.8.xml:96
1551 "Mount point; specify the location to mount the cdrom. This mount point must "
1552 "be listed in <filename>/etc/fstab</filename> and properly configured. "
1553 "Configuration Item: <literal>Acquire::cdrom::mount</literal>."
1556 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1557 #: apt-cdrom.8.xml:104
1558 msgid "<option>-r</option>"
1561 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1562 #: apt-cdrom.8.xml:104
1563 msgid "<option>--rename</option>"
1566 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1567 #: apt-cdrom.8.xml:105
1569 "Rename a disc; change the label of a disk or override the disks given label. "
1570 "This option will cause <command>apt-cdrom</command> to prompt for a new "
1571 "label. Configuration Item: <literal>APT::CDROM::Rename</literal>."
1574 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1575 #: apt-cdrom.8.xml:113 apt-get.8.xml:347
1576 msgid "<option>-m</option>"
1579 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1580 #: apt-cdrom.8.xml:113
1581 msgid "<option>--no-mount</option>"
1584 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1585 #: apt-cdrom.8.xml:114
1587 "No mounting; prevent <command>apt-cdrom</command> from mounting and "
1588 "unmounting the mount point. Configuration Item: <literal>APT::CDROM::"
1589 "NoMount</literal>."
1592 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1593 #: apt-cdrom.8.xml:121
1594 msgid "<option>--fast</option>"
1597 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1598 #: apt-cdrom.8.xml:122
1600 "Fast Copy; Assume the package files are valid and do not check every "
1601 "package. This option should be used only if <command>apt-cdrom</command> has "
1602 "been run on this disc before and did not detect any errors. Configuration "
1603 "Item: <literal>APT::CDROM::Fast</literal>."
1606 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1607 #: apt-cdrom.8.xml:131
1608 msgid "<option>--thorough</option>"
1611 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1612 #: apt-cdrom.8.xml:132
1614 "Thorough Package Scan; This option may be needed with some old Debian "
1615 "1.1/1.2 discs that have Package files in strange places. It takes much "
1616 "longer to scan the CD but will pick them all up."
1619 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1620 #: apt-cdrom.8.xml:140 apt-get.8.xml:378
1621 msgid "<option>--just-print</option>"
1624 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1625 #: apt-cdrom.8.xml:141 apt-get.8.xml:380
1626 msgid "<option>--recon</option>"
1629 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1630 #: apt-cdrom.8.xml:142 apt-get.8.xml:381
1631 msgid "<option>--no-act</option>"
1634 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1635 #: apt-cdrom.8.xml:143
1637 "No Changes; Do not change the &sources-list; file and do not write index "
1638 "files. Everything is still checked however. Configuration Item: "
1639 "<literal>APT::CDROM::NoAct</literal>."
1642 #. type: Content of: <refentry><refsect1><para>
1643 #: apt-cdrom.8.xml:156
1644 msgid "&apt-conf;, &apt-get;, &sources-list;"
1647 #. type: Content of: <refentry><refsect1><para>
1648 #: apt-cdrom.8.xml:161
1650 "<command>apt-cdrom</command> returns zero on normal operation, decimal 100 "
1654 #. type: Content of: <refentry><refnamediv><refname>
1655 #: apt-config.8.xml:22 apt-config.8.xml:29
1659 #. type: Content of: <refentry><refnamediv><refpurpose>
1660 #: apt-config.8.xml:30
1662 msgid "APT Configuration Query program"
1663 msgstr "Plik konfiguracyjny"
1665 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1666 #: apt-config.8.xml:36
1668 "<command>apt-config</command> <arg><option>-hv</option></arg> <arg><option>-"
1669 "o=<replaceable>config string</replaceable></option></arg> <arg><option>-"
1670 "c=<replaceable>file</replaceable></option></arg> <group choice=\"req\"> "
1671 "<arg>shell</arg> <arg>dump</arg> </group>"
1674 #. type: Content of: <refentry><refsect1><para>
1675 #: apt-config.8.xml:48
1677 "<command>apt-config</command> is an internal program used by various "
1678 "portions of the APT suite to provide consistent configurability. It accesses "
1679 "the main configuration file <filename>/etc/apt/apt.conf</filename> in a "
1680 "manner that is easy to use by scripted applications."
1683 #. type: Content of: <refentry><refsect1><para>
1684 #: apt-config.8.xml:53 apt-ftparchive.1.xml:71
1686 "Unless the <option>-h</option>, or <option>--help</option> option is given "
1687 "one of the commands below must be present."
1690 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1691 #: apt-config.8.xml:58
1695 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1696 #: apt-config.8.xml:60
1698 "shell is used to access the configuration information from a shell script. "
1699 "It is given pairs of arguments, the first being a shell variable and the "
1700 "second the configuration value to query. As output it lists a series of "
1701 "shell assignments commands for each present value. In a shell script it "
1702 "should be used like:"
1705 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting>
1706 #: apt-config.8.xml:68
1710 "RES=`apt-config shell OPTS MyApp::options`\n"
1714 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1715 #: apt-config.8.xml:73
1717 "This will set the shell environment variable $OPTS to the value of MyApp::"
1718 "options with a default of <option>-f</option>."
1721 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1722 #: apt-config.8.xml:77
1724 "The configuration item may be postfixed with a /[fdbi]. f returns file "
1725 "names, d returns directories, b returns true or false and i returns an "
1726 "integer. Each of the returns is normalized and verified internally."
1729 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1730 #: apt-config.8.xml:86
1731 msgid "Just show the contents of the configuration space."
1734 #. type: Content of: <refentry><refsect1><para>
1735 #: apt-config.8.xml:104 apt-extracttemplates.1.xml:75 apt-ftparchive.1.xml:564
1736 #: apt-sortpkgs.1.xml:70
1740 #. type: Content of: <refentry><refsect1><para>
1741 #: apt-config.8.xml:109
1743 "<command>apt-config</command> returns zero on normal operation, decimal 100 "
1747 #. type: Content of: <refentry><refnamediv><refname>
1748 #: apt-extracttemplates.1.xml:22 apt-extracttemplates.1.xml:29
1749 msgid "apt-extracttemplates"
1752 #. type: Content of: <refentry><refmeta><manvolnum>
1753 #: apt-extracttemplates.1.xml:23 apt-ftparchive.1.xml:23 apt-sortpkgs.1.xml:23
1757 #. type: Content of: <refentry><refnamediv><refpurpose>
1758 #: apt-extracttemplates.1.xml:30
1759 msgid "Utility to extract DebConf config and templates from Debian packages"
1762 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1763 #: apt-extracttemplates.1.xml:36
1765 "<command>apt-extracttemplates</command> <arg><option>-hv</option></arg> "
1766 "<arg><option>-t=<replaceable>temporary directory</replaceable></option></"
1767 "arg> <arg choice=\"plain\" rep=\"repeat\"><replaceable>file</replaceable></"
1771 #. type: Content of: <refentry><refsect1><para>
1772 #: apt-extracttemplates.1.xml:44
1774 "<command>apt-extracttemplates</command> will take one or more Debian package "
1775 "files as input and write out (to a temporary directory) all associated "
1776 "config scripts and template files. For each passed in package that contains "
1777 "config scripts and templates, one line of output will be generated in the "
1781 #. type: Content of: <refentry><refsect1><para>
1782 #: apt-extracttemplates.1.xml:49
1783 msgid "package version template-file config-script"
1786 #. type: Content of: <refentry><refsect1><para>
1787 #: apt-extracttemplates.1.xml:50
1789 "template-file and config-script are written to the temporary directory "
1790 "specified by the -t or --tempdir (<literal>APT::ExtractTemplates::TempDir</"
1791 "literal>) directory, with filenames of the form <filename>package.template."
1792 "XXXX</filename> and <filename>package.config.XXXX</filename>"
1795 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1796 #: apt-extracttemplates.1.xml:60 apt-get.8.xml:488
1797 msgid "<option>-t</option>"
1800 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1801 #: apt-extracttemplates.1.xml:60
1802 msgid "<option>--tempdir</option>"
1805 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1806 #: apt-extracttemplates.1.xml:62
1808 "Temporary directory in which to write extracted debconf template files and "
1809 "config scripts. Configuration Item: <literal>APT::ExtractTemplates::"
1813 #. type: Content of: <refentry><refsect1><para>
1814 #: apt-extracttemplates.1.xml:79
1816 "<command>apt-extracttemplates</command> returns zero on normal operation, "
1817 "decimal 100 on error."
1820 #. type: Content of: <refentry><refnamediv><refname>
1821 #: apt-ftparchive.1.xml:22 apt-ftparchive.1.xml:29
1822 msgid "apt-ftparchive"
1825 #. type: Content of: <refentry><refnamediv><refpurpose>
1826 #: apt-ftparchive.1.xml:30
1827 msgid "Utility to generate index files"
1830 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
1831 #: apt-ftparchive.1.xml:36
1833 "<command>apt-ftparchive</command> <arg><option>-hvdsq</option></arg> "
1834 "<arg><option>--md5</option></arg> <arg><option>--delink</option></arg> "
1835 "<arg><option>--readonly</option></arg> <arg><option>--contents</option></"
1836 "arg> <arg><option>-o <replaceable>config</replaceable>=<replaceable>string</"
1837 "replaceable></option></arg> <arg><option>-c=<replaceable>file</replaceable></"
1838 "option></arg> <group choice=\"req\"> <arg>packages<arg choice=\"plain\" rep="
1839 "\"repeat\"><replaceable>path</replaceable></arg><arg><replaceable>override</"
1840 "replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> "
1841 "<arg>sources<arg choice=\"plain\" rep=\"repeat\"><replaceable>path</"
1842 "replaceable></arg><arg><replaceable>override</"
1843 "replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> "
1844 "<arg>contents <arg choice=\"plain\"><replaceable>path</replaceable></arg></"
1845 "arg> <arg>release <arg choice=\"plain\"><replaceable>path</replaceable></"
1846 "arg></arg> <arg>generate <arg choice=\"plain\"><replaceable>config-file</"
1847 "replaceable></arg> <arg choice=\"plain\" rep=\"repeat"
1848 "\"><replaceable>section</replaceable></arg></arg> <arg>clean <arg choice="
1849 "\"plain\"><replaceable>config-file</replaceable></arg></arg> </group>"
1852 #. type: Content of: <refentry><refsect1><para>
1853 #: apt-ftparchive.1.xml:56
1855 "<command>apt-ftparchive</command> is the command line tool that generates "
1856 "the index files that APT uses to access a distribution source. The index "
1857 "files should be generated on the origin site based on the content of that "
1861 #. type: Content of: <refentry><refsect1><para>
1862 #: apt-ftparchive.1.xml:60
1864 "<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; "
1865 "program, incorporating its entire functionality via the <literal>packages</"
1866 "literal> command. It also contains a contents file generator, "
1867 "<literal>contents</literal>, and an elaborate means to 'script' the "
1868 "generation process for a complete archive."
1871 #. type: Content of: <refentry><refsect1><para>
1872 #: apt-ftparchive.1.xml:66
1874 "Internally <command>apt-ftparchive</command> can make use of binary "
1875 "databases to cache the contents of a .deb file and it does not rely on any "
1876 "external programs aside from &gzip;. When doing a full generate it "
1877 "automatically performs file-change checks and builds the desired compressed "
1881 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1882 #: apt-ftparchive.1.xml:75
1886 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1887 #: apt-ftparchive.1.xml:77
1889 "The packages command generates a package file from a directory tree. It "
1890 "takes the given directory and recursively searches it for .deb files, "
1891 "emitting a package record to stdout for each. This command is approximately "
1892 "equivalent to &dpkg-scanpackages;."
1895 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1896 #: apt-ftparchive.1.xml:82 apt-ftparchive.1.xml:106
1898 "The option <option>--db</option> can be used to specify a binary caching DB."
1901 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1902 #: apt-ftparchive.1.xml:85
1906 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1907 #: apt-ftparchive.1.xml:87
1909 "The <literal>sources</literal> command generates a source index file from a "
1910 "directory tree. It takes the given directory and recursively searches it "
1911 "for .dsc files, emitting a source record to stdout for each. This command is "
1912 "approximately equivalent to &dpkg-scansources;."
1915 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1916 #: apt-ftparchive.1.xml:92
1918 "If an override file is specified then a source override file will be looked "
1919 "for with an extension of .src. The --source-override option can be used to "
1920 "change the source override file that will be used."
1923 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1924 #: apt-ftparchive.1.xml:97
1928 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1929 #: apt-ftparchive.1.xml:99
1931 "The <literal>contents</literal> command generates a contents file from a "
1932 "directory tree. It takes the given directory and recursively searches it "
1933 "for .deb files, and reads the file list from each file. It then sorts and "
1934 "writes to stdout the list of files matched to packages. Directories are not "
1935 "written to the output. If multiple packages own the same file then each "
1936 "package is separated by a comma in the output."
1939 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1940 #: apt-ftparchive.1.xml:109
1944 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1945 #: apt-ftparchive.1.xml:111
1947 "The <literal>release</literal> command generates a Release file from a "
1948 "directory tree. It recursively searches the given directory for Packages, "
1949 "Packages.gz, Packages.bz2, Sources, Sources.gz, Sources.bz2, Release and "
1950 "md5sum.txt files. It then writes to stdout a Release file containing an MD5 "
1951 "digest and SHA1 digest for each file."
1954 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1955 #: apt-ftparchive.1.xml:118
1957 "Values for the additional metadata fields in the Release file are taken from "
1958 "the corresponding variables under <literal>APT::FTPArchive::Release</"
1959 "literal>, e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The "
1960 "supported fields are: <literal>Origin</literal>, <literal>Label</literal>, "
1961 "<literal>Suite</literal>, <literal>Version</literal>, <literal>Codename</"
1962 "literal>, <literal>Date</literal>, <literal>Architectures</literal>, "
1963 "<literal>Components</literal>, <literal>Description</literal>."
1966 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1967 #: apt-ftparchive.1.xml:128
1971 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1972 #: apt-ftparchive.1.xml:130
1974 "The <literal>generate</literal> command is designed to be runnable from a "
1975 "cron script and builds indexes according to the given config file. The "
1976 "config language provides a flexible means of specifying which index files "
1977 "are built from which directories, as well as providing a simple means of "
1978 "maintaining the required settings."
1981 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
1982 #: apt-ftparchive.1.xml:137 apt-get.8.xml:292
1986 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
1987 #: apt-ftparchive.1.xml:139
1989 "The <literal>clean</literal> command tidies the databases used by the given "
1990 "configuration file by removing any records that are no longer necessary."
1993 #. type: Content of: <refentry><refsect1><title>
1994 #: apt-ftparchive.1.xml:145
1996 msgid "The Generate Configuration"
1997 msgstr "Plik konfiguracyjny"
1999 #. type: Content of: <refentry><refsect1><para>
2000 #: apt-ftparchive.1.xml:147
2002 "The <literal>generate</literal> command uses a configuration file to "
2003 "describe the archives that are going to be generated. It follows the typical "
2004 "ISC configuration format as seen in ISC tools like bind 8 and dhcpd. &apt-"
2005 "conf; contains a description of the syntax. Note that the generate "
2006 "configuration is parsed in sectional manner, but &apt-conf; is parsed in a "
2007 "tree manner. This only effects how the scope tag is handled."
2010 #. type: Content of: <refentry><refsect1><para>
2011 #: apt-ftparchive.1.xml:155
2013 "The generate configuration has 4 separate sections, each described below."
2016 #. type: Content of: <refentry><refsect1><refsect2><title>
2017 #: apt-ftparchive.1.xml:157
2021 #. type: Content of: <refentry><refsect1><refsect2><para>
2022 #: apt-ftparchive.1.xml:159
2024 "The <literal>Dir</literal> section defines the standard directories needed "
2025 "to locate the files required during the generation process. These "
2026 "directories are prepended certain relative paths defined in later sections "
2027 "to produce a complete an absolute path."
2030 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2031 #: apt-ftparchive.1.xml:164
2035 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2036 #: apt-ftparchive.1.xml:166
2038 "Specifies the root of the FTP archive, in a standard Debian configuration "
2039 "this is the directory that contains the <filename>ls-LR</filename> and dist "
2043 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2044 #: apt-ftparchive.1.xml:171
2047 msgstr "Wprowadzenie"
2049 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2050 #: apt-ftparchive.1.xml:173
2051 msgid "Specifies the location of the override files."
2054 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2055 #: apt-ftparchive.1.xml:176
2059 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2060 #: apt-ftparchive.1.xml:178
2061 msgid "Specifies the location of the cache files"
2064 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2065 #: apt-ftparchive.1.xml:181
2069 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2070 #: apt-ftparchive.1.xml:183
2072 "Specifies the location of the file list files, if the <literal>FileList</"
2073 "literal> setting is used below."
2076 #. type: Content of: <refentry><refsect1><refsect2><title>
2077 #: apt-ftparchive.1.xml:189
2078 msgid "Default Section"
2081 #. type: Content of: <refentry><refsect1><refsect2><para>
2082 #: apt-ftparchive.1.xml:191
2084 "The <literal>Default</literal> section specifies default values, and "
2085 "settings that control the operation of the generator. Other sections may "
2086 "override these defaults with a per-section setting."
2089 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2090 #: apt-ftparchive.1.xml:195
2091 msgid "Packages::Compress"
2094 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2095 #: apt-ftparchive.1.xml:197
2097 "Sets the default compression schemes to use for the Package index files. It "
2098 "is a string that contains a space separated list of at least one of: '.' (no "
2099 "compression), 'gzip' and 'bzip2'. The default for all compression schemes is "
2103 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2104 #: apt-ftparchive.1.xml:203
2105 msgid "Packages::Extensions"
2108 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2109 #: apt-ftparchive.1.xml:205
2111 "Sets the default list of file extensions that are package files. This "
2112 "defaults to '.deb'."
2115 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2116 #: apt-ftparchive.1.xml:209
2117 msgid "Sources::Compress"
2120 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2121 #: apt-ftparchive.1.xml:211
2123 "This is similar to <literal>Packages::Compress</literal> except that it "
2124 "controls the compression for the Sources files."
2127 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2128 #: apt-ftparchive.1.xml:215
2129 msgid "Sources::Extensions"
2132 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2133 #: apt-ftparchive.1.xml:217
2135 "Sets the default list of file extensions that are source files. This "
2136 "defaults to '.dsc'."
2139 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2140 #: apt-ftparchive.1.xml:221
2141 msgid "Contents::Compress"
2144 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2145 #: apt-ftparchive.1.xml:223
2147 "This is similar to <literal>Packages::Compress</literal> except that it "
2148 "controls the compression for the Contents files."
2151 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2152 #: apt-ftparchive.1.xml:227
2156 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2157 #: apt-ftparchive.1.xml:229
2159 "Specifies the number of kilobytes to delink (and replace with hard links) "
2160 "per run. This is used in conjunction with the per-section <literal>External-"
2161 "Links</literal> setting."
2164 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2165 #: apt-ftparchive.1.xml:234
2169 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2170 #: apt-ftparchive.1.xml:236
2172 "Specifies the mode of all created index files. It defaults to 0644. All "
2173 "index files are set to this mode with no regard to the umask."
2176 #. type: Content of: <refentry><refsect1><refsect2><title>
2177 #: apt-ftparchive.1.xml:243
2178 msgid "TreeDefault Section"
2181 #. type: Content of: <refentry><refsect1><refsect2><para>
2182 #: apt-ftparchive.1.xml:245
2184 "Sets defaults specific to <literal>Tree</literal> sections. All of these "
2185 "variables are substitution variables and have the strings $(DIST), "
2186 "$(SECTION) and $(ARCH) replaced with their respective values."
2189 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2190 #: apt-ftparchive.1.xml:250
2191 msgid "MaxContentsChange"
2194 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2195 #: apt-ftparchive.1.xml:252
2197 "Sets the number of kilobytes of contents files that are generated each day. "
2198 "The contents files are round-robined so that over several days they will all "
2202 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2203 #: apt-ftparchive.1.xml:257
2207 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2208 #: apt-ftparchive.1.xml:259
2210 "Controls the number of days a contents file is allowed to be checked without "
2211 "changing. If this limit is passed the mtime of the contents file is updated. "
2212 "This case can occur if the package file is changed in such a way that does "
2213 "not result in a new contents file [override edit for instance]. A hold off "
2214 "is allowed in hopes that new .debs will be installed, requiring a new file "
2215 "anyhow. The default is 10, the units are in days."
2218 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2219 #: apt-ftparchive.1.xml:268
2223 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2224 #: apt-ftparchive.1.xml:270
2226 "Sets the top of the .deb directory tree. Defaults to <filename>$(DIST)/"
2227 "$(SECTION)/binary-$(ARCH)/</filename>"
2230 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2231 #: apt-ftparchive.1.xml:274
2232 msgid "SrcDirectory"
2235 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2236 #: apt-ftparchive.1.xml:276
2238 "Sets the top of the source package directory tree. Defaults to <filename>"
2239 "$(DIST)/$(SECTION)/source/</filename>"
2242 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2243 #: apt-ftparchive.1.xml:280 apt-ftparchive.1.xml:406
2247 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2248 #: apt-ftparchive.1.xml:282
2250 "Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
2251 "binary-$(ARCH)/Packages</filename>"
2254 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2255 #: apt-ftparchive.1.xml:286 apt-ftparchive.1.xml:411
2259 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2260 #: apt-ftparchive.1.xml:288
2262 "Sets the output Packages file. Defaults to <filename>$(DIST)/$(SECTION)/"
2263 "source/Sources</filename>"
2266 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2267 #: apt-ftparchive.1.xml:292
2268 msgid "InternalPrefix"
2271 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2272 #: apt-ftparchive.1.xml:294
2274 "Sets the path prefix that causes a symlink to be considered an internal link "
2275 "instead of an external link. Defaults to <filename>$(DIST)/$(SECTION)/</"
2279 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2280 #: apt-ftparchive.1.xml:299 apt-ftparchive.1.xml:417
2284 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2285 #: apt-ftparchive.1.xml:301
2287 "Sets the output Contents file. Defaults to <filename>$(DIST)/Contents-$(ARCH)"
2288 "</filename>. If this setting causes multiple Packages files to map onto a "
2289 "single Contents file (such as the default) then <command>apt-ftparchive</"
2290 "command> will integrate those package files together automatically."
2293 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2294 #: apt-ftparchive.1.xml:308
2295 msgid "Contents::Header"
2298 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2299 #: apt-ftparchive.1.xml:310
2300 msgid "Sets header file to prepend to the contents output."
2303 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2304 #: apt-ftparchive.1.xml:313 apt-ftparchive.1.xml:442
2308 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2309 #: apt-ftparchive.1.xml:315
2311 "Sets the binary cache database to use for this section. Multiple sections "
2312 "can share the same database."
2315 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2316 #: apt-ftparchive.1.xml:319
2320 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2321 #: apt-ftparchive.1.xml:321
2323 "Specifies that instead of walking the directory tree, <command>apt-"
2324 "ftparchive</command> should read the list of files from the given file. "
2325 "Relative files names are prefixed with the archive directory."
2328 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2329 #: apt-ftparchive.1.xml:326
2330 msgid "SourceFileList"
2333 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2334 #: apt-ftparchive.1.xml:328
2336 "Specifies that instead of walking the directory tree, <command>apt-"
2337 "ftparchive</command> should read the list of files from the given file. "
2338 "Relative files names are prefixed with the archive directory. This is used "
2339 "when processing source indexes."
2342 #. type: Content of: <refentry><refsect1><refsect2><title>
2343 #: apt-ftparchive.1.xml:336
2344 msgid "Tree Section"
2347 #. type: Content of: <refentry><refsect1><refsect2><para>
2348 #: apt-ftparchive.1.xml:338
2350 "The <literal>Tree</literal> section defines a standard Debian file tree "
2351 "which consists of a base directory, then multiple sections in that base "
2352 "directory and finally multiple Architectures in each section. The exact "
2353 "pathing used is defined by the <literal>Directory</literal> substitution "
2357 #. type: Content of: <refentry><refsect1><refsect2><para>
2358 #: apt-ftparchive.1.xml:343
2360 "The <literal>Tree</literal> section takes a scope tag which sets the "
2361 "<literal>$(DIST)</literal> variable and defines the root of the tree (the "
2362 "path is prefixed by <literal>ArchiveDir</literal>). Typically this is a "
2363 "setting such as <filename>dists/woody</filename>."
2366 #. type: Content of: <refentry><refsect1><refsect2><para>
2367 #: apt-ftparchive.1.xml:348
2369 "All of the settings defined in the <literal>TreeDefault</literal> section "
2370 "can be use in a <literal>Tree</literal> section as well as three new "
2374 #. type: Content of: <refentry><refsect1><refsect2><para>
2375 #: apt-ftparchive.1.xml:351
2377 "When processing a <literal>Tree</literal> section <command>apt-ftparchive</"
2378 "command> performs an operation similar to:"
2381 #. type: Content of: <refentry><refsect1><refsect2><para><informalexample><programlisting>
2382 #: apt-ftparchive.1.xml:354
2385 "for i in Sections do \n"
2386 " for j in Architectures do\n"
2387 " Generate for DIST=scope SECTION=i ARCH=j\n"
2390 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2391 #: apt-ftparchive.1.xml:360
2395 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2396 #: apt-ftparchive.1.xml:362
2398 "This is a space separated list of sections which appear under the "
2399 "distribution, typically this is something like <literal>main contrib non-"
2403 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2404 #: apt-ftparchive.1.xml:367
2405 msgid "Architectures"
2408 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2409 #: apt-ftparchive.1.xml:369
2411 "This is a space separated list of all the architectures that appear under "
2412 "search section. The special architecture 'source' is used to indicate that "
2413 "this tree has a source archive."
2416 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2417 #: apt-ftparchive.1.xml:374 apt-ftparchive.1.xml:422
2420 msgstr "Wprowadzenie"
2422 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2423 #: apt-ftparchive.1.xml:376
2425 "Sets the binary override file. The override file contains section, priority "
2426 "and maintainer address information."
2429 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2430 #: apt-ftparchive.1.xml:380 apt-ftparchive.1.xml:427
2433 msgstr "Wprowadzenie"
2435 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2436 #: apt-ftparchive.1.xml:382
2438 "Sets the source override file. The override file contains section "
2442 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2443 #: apt-ftparchive.1.xml:386 apt-ftparchive.1.xml:432
2444 msgid "ExtraOverride"
2447 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2448 #: apt-ftparchive.1.xml:388 apt-ftparchive.1.xml:434
2449 msgid "Sets the binary extra override file."
2452 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2453 #: apt-ftparchive.1.xml:391 apt-ftparchive.1.xml:437
2454 msgid "SrcExtraOverride"
2457 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2458 #: apt-ftparchive.1.xml:393 apt-ftparchive.1.xml:439
2459 msgid "Sets the source extra override file."
2462 #. type: Content of: <refentry><refsect1><refsect2><title>
2463 #: apt-ftparchive.1.xml:398
2464 msgid "BinDirectory Section"
2467 #. type: Content of: <refentry><refsect1><refsect2><para>
2468 #: apt-ftparchive.1.xml:400
2470 "The <literal>bindirectory</literal> section defines a binary directory tree "
2471 "with no special structure. The scope tag specifies the location of the "
2472 "binary directory and the settings are similar to the <literal>Tree</literal> "
2473 "section with no substitution variables or <literal>Section</"
2474 "literal><literal>Architecture</literal> settings."
2477 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2478 #: apt-ftparchive.1.xml:408
2479 msgid "Sets the Packages file output."
2482 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2483 #: apt-ftparchive.1.xml:413
2485 "Sets the Sources file output. At least one of <literal>Packages</literal> or "
2486 "<literal>Sources</literal> is required."
2489 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2490 #: apt-ftparchive.1.xml:419
2491 msgid "Sets the Contents file output. (optional)"
2494 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2495 #: apt-ftparchive.1.xml:424
2496 msgid "Sets the binary override file."
2499 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2500 #: apt-ftparchive.1.xml:429
2501 msgid "Sets the source override file."
2504 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2505 #: apt-ftparchive.1.xml:444
2506 msgid "Sets the cache DB."
2509 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2510 #: apt-ftparchive.1.xml:447
2514 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2515 #: apt-ftparchive.1.xml:449
2516 msgid "Appends a path to all the output paths."
2519 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
2520 #: apt-ftparchive.1.xml:452
2521 msgid "FileList, SourceFileList"
2524 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
2525 #: apt-ftparchive.1.xml:454
2526 msgid "Specifies the file list file."
2529 #. type: Content of: <refentry><refsect1><title>
2530 #: apt-ftparchive.1.xml:461
2531 msgid "The Binary Override File"
2534 #. type: Content of: <refentry><refsect1><para>
2535 #: apt-ftparchive.1.xml:462
2537 "The binary override file is fully compatible with &dpkg-scanpackages;. It "
2538 "contains 4 fields separated by spaces. The first field is the package name, "
2539 "the second is the priority to force that package to, the third is the the "
2540 "section to force that package to and the final field is the maintainer "
2541 "permutation field."
2544 #. type: Content of: <refentry><refsect1><para><literallayout>
2545 #: apt-ftparchive.1.xml:468
2547 msgid "old [// oldn]* => new"
2550 #. type: Content of: <refentry><refsect1><para><literallayout>
2551 #: apt-ftparchive.1.xml:470
2556 #. type: Content of: <refentry><refsect1><para>
2557 #: apt-ftparchive.1.xml:467
2559 "The general form of the maintainer field is: <placeholder type="
2560 "\"literallayout\" id=\"0\"/> or simply, <placeholder type=\"literallayout\" "
2561 "id=\"1\"/> The first form allows a double-slash separated list of old email "
2562 "addresses to be specified. If any of those are found then new is substituted "
2563 "for the maintainer field. The second form unconditionally substitutes the "
2567 #. type: Content of: <refentry><refsect1><title>
2568 #: apt-ftparchive.1.xml:478
2569 msgid "The Source Override File"
2572 #. type: Content of: <refentry><refsect1><para>
2573 #: apt-ftparchive.1.xml:480
2575 "The source override file is fully compatible with &dpkg-scansources;. It "
2576 "contains 2 fields separated by spaces. The first fields is the source "
2577 "package name, the second is the section to assign it."
2580 #. type: Content of: <refentry><refsect1><title>
2581 #: apt-ftparchive.1.xml:485
2582 msgid "The Extra Override File"
2585 #. type: Content of: <refentry><refsect1><para>
2586 #: apt-ftparchive.1.xml:487
2588 "The extra override file allows any arbitrary tag to be added or replaced in "
2589 "the output. It has 3 columns, the first is the package, the second is the "
2590 "tag and the remainder of the line is the new value."
2593 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2594 #: apt-ftparchive.1.xml:496
2595 msgid "<option>--md5</option>"
2598 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2599 #: apt-ftparchive.1.xml:498
2601 "Generate MD5 sums. This defaults to on, when turned off the generated index "
2602 "files will not have MD5Sum fields where possible. Configuration Item: "
2603 "<literal>APT::FTPArchive::MD5</literal>"
2606 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2607 #: apt-ftparchive.1.xml:503
2608 msgid "<option>--db</option>"
2611 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2612 #: apt-ftparchive.1.xml:505
2614 "Use a binary caching DB. This has no effect on the generate command. "
2615 "Configuration Item: <literal>APT::FTPArchive::DB</literal>."
2618 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2619 #: apt-ftparchive.1.xml:511
2621 "Quiet; produces output suitable for logging, omitting progress indicators. "
2622 "More q's will produce more quiet up to a maximum of 2. You can also use "
2623 "<option>-q=#</option> to set the quiet level, overriding the configuration "
2624 "file. Configuration Item: <literal>quiet</literal>."
2627 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2628 #: apt-ftparchive.1.xml:517
2629 msgid "<option>--delink</option>"
2632 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2633 #: apt-ftparchive.1.xml:519
2635 "Perform Delinking. If the <literal>External-Links</literal> setting is used "
2636 "then this option actually enables delinking of the files. It defaults to on "
2637 "and can be turned off with <option>--no-delink</option>. Configuration "
2638 "Item: <literal>APT::FTPArchive::DeLinkAct</literal>."
2641 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2642 #: apt-ftparchive.1.xml:525
2643 msgid "<option>--contents</option>"
2646 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2647 #: apt-ftparchive.1.xml:527
2649 "Perform contents generation. When this option is set and package indexes are "
2650 "being generated with a cache DB then the file listing will also be extracted "
2651 "and stored in the DB for later use. When using the generate command this "
2652 "option also allows the creation of any Contents files. The default is on. "
2653 "Configuration Item: <literal>APT::FTPArchive::Contents</literal>."
2656 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2657 #: apt-ftparchive.1.xml:535
2658 msgid "<option>--source-override</option>"
2661 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2662 #: apt-ftparchive.1.xml:537
2664 "Select the source override file to use with the <literal>sources</literal> "
2665 "command. Configuration Item: <literal>APT::FTPArchive::SourceOverride</"
2669 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2670 #: apt-ftparchive.1.xml:541
2671 msgid "<option>--readonly</option>"
2674 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2675 #: apt-ftparchive.1.xml:543
2677 "Make the caching databases read only. Configuration Item: <literal>APT::"
2678 "FTPArchive::ReadOnlyDB</literal>."
2681 #. type: Content of: <refentry><refsect1><title>
2682 #: apt-ftparchive.1.xml:552 apt.conf.5.xml:982 apt_preferences.5.xml:462
2683 #: sources.list.5.xml:193
2687 #. type: Content of: <refentry><refsect1><para><programlisting>
2688 #: apt-ftparchive.1.xml:558
2690 msgid "<command>apt-ftparchive</command> packages <replaceable>directory</replaceable> | <command>gzip</command> > <filename>Packages.gz</filename>\n"
2693 #. type: Content of: <refentry><refsect1><para>
2694 #: apt-ftparchive.1.xml:554
2696 "To create a compressed Packages file for a directory containing binary "
2697 "packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>"
2700 #. type: Content of: <refentry><refsect1><para>
2701 #: apt-ftparchive.1.xml:568
2703 "<command>apt-ftparchive</command> returns zero on normal operation, decimal "
2707 #. The last update date
2708 #. type: Content of: <refentry><refentryinfo>
2711 "&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>08 "
2712 "November 2008</date>"
2715 #. type: <heading></heading>
2716 #: apt-get.8.xml:22 apt-get.8.xml:29 guide.sgml:96
2720 #. type: Content of: <refentry><refnamediv><refpurpose>
2722 msgid "APT package handling utility -- command-line interface"
2725 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
2728 "<command>apt-get</command> <arg><option>-sqdyfmubV</option></arg> <arg> "
2729 "<option>-o= <replaceable>config_string</replaceable> </option> </arg> <arg> "
2730 "<option>-c= <replaceable>config_file</replaceable> </option> </arg> <arg> "
2731 "<option>-t=</option> <group choice='req'> <arg choice='plain'> "
2732 "<replaceable>target_release_name</replaceable> </arg> <arg choice='plain'> "
2733 "<replaceable>target_release_number_expression</replaceable> </arg> <arg "
2734 "choice='plain'> <replaceable>target_release_codename</replaceable> </arg> </"
2735 "group> </arg> <group choice=\"req\"> <arg choice='plain'>update</arg> <arg "
2736 "choice='plain'>upgrade</arg> <arg choice='plain'>dselect-upgrade</arg> <arg "
2737 "choice='plain'>dist-upgrade</arg> <arg choice='plain'>install <arg choice="
2738 "\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable> <arg> <group "
2739 "choice='req'> <arg choice='plain'> =<replaceable>pkg_version_number</"
2740 "replaceable> </arg> <arg choice='plain'> /<replaceable>target_release_name</"
2741 "replaceable> </arg> <arg choice='plain'> /"
2742 "<replaceable>target_release_codename</replaceable> </arg> </group> </arg> </"
2743 "arg> </arg> <arg choice='plain'>remove <arg choice=\"plain\" rep=\"repeat"
2744 "\"><replaceable>pkg</replaceable></arg></arg> <arg choice='plain'>purge <arg "
2745 "choice=\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> "
2746 "<arg choice='plain'>source <arg choice=\"plain\" rep=\"repeat"
2747 "\"><replaceable>pkg</replaceable> <arg> <group choice='req'> <arg "
2748 "choice='plain'> =<replaceable>pkg_version_number</replaceable> </arg> <arg "
2749 "choice='plain'> /<replaceable>target_release_name</replaceable> </arg> <arg "
2750 "choice='plain'> /<replaceable>target_release_codename</replaceable> </arg> </"
2751 "group> </arg> </arg> </arg> <arg choice='plain'>build-dep <arg choice=\"plain"
2752 "\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> <arg "
2753 "choice='plain'>check</arg> <arg choice='plain'>clean</arg> <arg "
2754 "choice='plain'>autoclean</arg> <arg choice='plain'>autoremove</arg> <arg "
2755 "choice='plain'> <group choice='req'> <arg choice='plain'>-v</arg> <arg "
2756 "choice='plain'>--version</arg> </group> </arg> <arg choice='plain'> <group "
2757 "choice='req'> <arg choice='plain'>-h</arg> <arg choice='plain'>--help</arg> "
2758 "</group> </arg> </group>"
2761 #. type: Content of: <refentry><refsect1><para>
2762 #: apt-get.8.xml:126
2764 "<command>apt-get</command> is the command-line tool for handling packages, "
2765 "and may be considered the user's \"back-end\" to other tools using the APT "
2766 "library. Several \"front-end\" interfaces exist, such as &dselect;, "
2767 "&aptitude;, &synaptic;, &gnome-apt; and &wajig;."
2770 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2771 #: apt-get.8.xml:135 apt-key.8.xml:123
2775 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2776 #: apt-get.8.xml:136
2778 "<literal>update</literal> is used to resynchronize the package index files "
2779 "from their sources. The indexes of available packages are fetched from the "
2780 "location(s) specified in <filename>/etc/apt/sources.list</filename>. For "
2781 "example, when using a Debian archive, this command retrieves and scans the "
2782 "<filename>Packages.gz</filename> files, so that information about new and "
2783 "updated packages is available. An <literal>update</literal> should always be "
2784 "performed before an <literal>upgrade</literal> or <literal>dist-upgrade</"
2785 "literal>. Please be aware that the overall progress meter will be incorrect "
2786 "as the size of the package files cannot be known in advance."
2789 #. type: <tag></tag>
2790 #: apt-get.8.xml:147 guide.sgml:121
2794 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2795 #: apt-get.8.xml:148
2797 "<literal>upgrade</literal> is used to install the newest versions of all "
2798 "packages currently installed on the system from the sources enumerated in "
2799 "<filename>/etc/apt/sources.list</filename>. Packages currently installed "
2800 "with new versions available are retrieved and upgraded; under no "
2801 "circumstances are currently installed packages removed, or packages not "
2802 "already installed retrieved and installed. New versions of currently "
2803 "installed packages that cannot be upgraded without changing the install "
2804 "status of another package will be left at their current version. An "
2805 "<literal>update</literal> must be performed first so that <command>apt-get</"
2806 "command> knows that new versions of packages are available."
2809 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2810 #: apt-get.8.xml:160
2811 msgid "dselect-upgrade"
2814 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2815 #: apt-get.8.xml:161
2817 "<literal>dselect-upgrade</literal> is used in conjunction with the "
2818 "traditional Debian packaging front-end, &dselect;. <literal>dselect-upgrade</"
2819 "literal> follows the changes made by &dselect; to the <literal>Status</"
2820 "literal> field of available packages, and performs the actions necessary to "
2821 "realize that state (for instance, the removal of old and the installation of "
2825 #. type: <tag></tag>
2826 #: apt-get.8.xml:170 guide.sgml:140
2827 msgid "dist-upgrade"
2830 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2831 #: apt-get.8.xml:171
2833 "<literal>dist-upgrade</literal> in addition to performing the function of "
2834 "<literal>upgrade</literal>, also intelligently handles changing dependencies "
2835 "with new versions of packages; <command>apt-get</command> has a \"smart\" "
2836 "conflict resolution system, and it will attempt to upgrade the most "
2837 "important packages at the expense of less important ones if necessary. So, "
2838 "<literal>dist-upgrade</literal> command may remove some packages. The "
2839 "<filename>/etc/apt/sources.list</filename> file contains a list of locations "
2840 "from which to retrieve desired package files. See also &apt-preferences; "
2841 "for a mechanism for overriding the general settings for individual packages."
2844 #. type: <tag></tag>
2845 #: apt-get.8.xml:183 guide.sgml:131
2849 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2850 #: apt-get.8.xml:185
2852 "<literal>install</literal> is followed by one or more packages desired for "
2853 "installation or upgrading. Each package is a package name, not a fully "
2854 "qualified filename (for instance, in a Debian GNU/Linux system, libc6 would "
2855 "be the argument provided, not <literal>libc6_1.9.6-2.deb</literal>). All "
2856 "packages required by the package(s) specified for installation will also be "
2857 "retrieved and installed. The <filename>/etc/apt/sources.list</filename> "
2858 "file is used to locate the desired packages. If a hyphen is appended to the "
2859 "package name (with no intervening space), the identified package will be "
2860 "removed if it is installed. Similarly a plus sign can be used to designate "
2861 "a package to install. These latter features may be used to override "
2862 "decisions made by apt-get's conflict resolution system."
2865 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2866 #: apt-get.8.xml:203
2868 "A specific version of a package can be selected for installation by "
2869 "following the package name with an equals and the version of the package to "
2870 "select. This will cause that version to be located and selected for install. "
2871 "Alternatively a specific distribution can be selected by following the "
2872 "package name with a slash and the version of the distribution or the Archive "
2873 "name (stable, testing, unstable)."
2876 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2877 #: apt-get.8.xml:210
2879 "Both of the version selection mechanisms can downgrade packages and must be "
2883 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2884 #: apt-get.8.xml:213
2886 "This is also the target to use if you want to upgrade one or more already-"
2887 "installed packages without upgrading every package you have on your system. "
2888 "Unlike the \"upgrade\" target, which installs the newest version of all "
2889 "currently installed packages, \"install\" will install the newest version of "
2890 "only the package(s) specified. Simply provide the name of the package(s) "
2891 "you wish to upgrade, and if a newer version is available, it (and its "
2892 "dependencies, as described above) will be downloaded and installed."
2895 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2896 #: apt-get.8.xml:224
2898 "Finally, the &apt-preferences; mechanism allows you to create an alternative "
2899 "installation policy for individual packages."
2902 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2903 #: apt-get.8.xml:228
2905 "If no package matches the given expression and the expression contains one "
2906 "of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and "
2907 "it is applied to all package names in the database. Any matches are then "
2908 "installed (or removed). Note that matching is done by substring so 'lo.*' "
2909 "matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular "
2910 "expression with a '^' or '$' character, or create a more specific regular "
2914 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2915 #: apt-get.8.xml:237
2919 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2920 #: apt-get.8.xml:238
2922 "<literal>remove</literal> is identical to <literal>install</literal> except "
2923 "that packages are removed instead of installed. Note the removing a package "
2924 "leaves its configuration files in system. If a plus sign is appended to the "
2925 "package name (with no intervening space), the identified package will be "
2926 "installed instead of removed."
2929 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2930 #: apt-get.8.xml:245
2934 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2935 #: apt-get.8.xml:246
2937 "<literal>purge</literal> is identical to <literal>remove</literal> except "
2938 "that packages are removed and purged (any configuration files are deleted "
2942 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2943 #: apt-get.8.xml:250
2947 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2948 #: apt-get.8.xml:251
2950 "<literal>source</literal> causes <command>apt-get</command> to fetch source "
2951 "packages. APT will examine the available packages to decide which source "
2952 "package to fetch. It will then find and download into the current directory "
2953 "the newest available version of that source package while respect the "
2954 "default release, set with the option <literal>APT::Default-Release</"
2955 "literal>, the <option>-t</option> option or per package with the "
2956 "<literal>pkg/release</literal> syntax, if possible."
2959 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2960 #: apt-get.8.xml:259
2962 "Source packages are tracked separately from binary packages via <literal>deb-"
2963 "src</literal> type lines in the &sources-list; file. This means that you "
2964 "will need to add such a line for each repository you want to get sources "
2965 "from. If you don't do this you will properly get another (newer, older or "
2966 "none) source version than the one you have installed or could install."
2969 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2970 #: apt-get.8.xml:266
2972 "If the <option>--compile</option> option is specified then the package will "
2973 "be compiled to a binary .deb using <command>dpkg-buildpackage</command>, if "
2974 "<option>--download-only</option> is specified then the source package will "
2978 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2979 #: apt-get.8.xml:271
2981 "A specific source version can be retrieved by postfixing the source name "
2982 "with an equals and then the version to fetch, similar to the mechanism used "
2983 "for the package files. This enables exact matching of the source package "
2984 "name and version, implicitly enabling the <literal>APT::Get::Only-Source</"
2988 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
2989 #: apt-get.8.xml:277
2991 "Note that source packages are not tracked like binary packages, they exist "
2992 "only in the current directory and are similar to downloading source tar "
2996 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
2997 #: apt-get.8.xml:282
3001 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3002 #: apt-get.8.xml:283
3004 "<literal>build-dep</literal> causes apt-get to install/remove packages in an "
3005 "attempt to satisfy the build dependencies for a source package."
3008 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3009 #: apt-get.8.xml:287
3013 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3014 #: apt-get.8.xml:288
3016 "<literal>check</literal> is a diagnostic tool; it updates the package cache "
3017 "and checks for broken dependencies."
3020 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3021 #: apt-get.8.xml:293
3023 "<literal>clean</literal> clears out the local repository of retrieved "
3024 "package files. It removes everything but the lock file from "
3025 "<filename>&cachedir;/archives/</filename> and <filename>&cachedir;/archives/"
3026 "partial/</filename>. When APT is used as a &dselect; method, <literal>clean</"
3027 "literal> is run automatically. Those who do not use dselect will likely "
3028 "want to run <literal>apt-get clean</literal> from time to time to free up "
3032 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3033 #: apt-get.8.xml:302
3037 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3038 #: apt-get.8.xml:303
3040 "Like <literal>clean</literal>, <literal>autoclean</literal> clears out the "
3041 "local repository of retrieved package files. The difference is that it only "
3042 "removes package files that can no longer be downloaded, and are largely "
3043 "useless. This allows a cache to be maintained over a long period without it "
3044 "growing out of control. The configuration option <literal>APT::Clean-"
3045 "Installed</literal> will prevent installed packages from being erased if it "
3049 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3050 #: apt-get.8.xml:312
3054 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3055 #: apt-get.8.xml:313
3057 "<literal>autoremove</literal> is used to remove packages that were "
3058 "automatically installed to satisfy dependencies for some package and that "
3059 "are no more needed."
3062 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3063 #: apt-get.8.xml:323 apt-get.8.xml:429
3064 msgid "<option>--no-install-recommends</option>"
3067 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3068 #: apt-get.8.xml:324
3070 "Do not consider recommended packages as a dependency for installing. "
3071 "Configuration Item: <literal>APT::Install-Recommends</literal>."
3074 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3075 #: apt-get.8.xml:328
3076 msgid "<option>--download-only</option>"
3079 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3080 #: apt-get.8.xml:329
3082 "Download only; package files are only retrieved, not unpacked or installed. "
3083 "Configuration Item: <literal>APT::Get::Download-Only</literal>."
3086 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3087 #: apt-get.8.xml:333
3088 msgid "<option>--fix-broken</option>"
3091 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3092 #: apt-get.8.xml:334
3094 "Fix; attempt to correct a system with broken dependencies in place. This "
3095 "option, when used with install/remove, can omit any packages to permit APT "
3096 "to deduce a likely solution. Any Package that are specified must completely "
3097 "correct the problem. The option is sometimes necessary when running APT for "
3098 "the first time; APT itself does not allow broken package dependencies to "
3099 "exist on a system. It is possible that a system's dependency structure can "
3100 "be so corrupt as to require manual intervention (which usually means using "
3101 "&dselect; or <command>dpkg --remove</command> to eliminate some of the "
3102 "offending packages). Use of this option together with <option>-m</option> "
3103 "may produce an error in some situations. Configuration Item: <literal>APT::"
3104 "Get::Fix-Broken</literal>."
3107 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3108 #: apt-get.8.xml:347
3109 msgid "<option>--ignore-missing</option>"
3112 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3113 #: apt-get.8.xml:348
3114 msgid "<option>--fix-missing</option>"
3117 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3118 #: apt-get.8.xml:349
3120 "Ignore missing packages; If packages cannot be retrieved or fail the "
3121 "integrity check after retrieval (corrupted package files), hold back those "
3122 "packages and handle the result. Use of this option together with <option>-f</"
3123 "option> may produce an error in some situations. If a package is selected "
3124 "for installation (particularly if it is mentioned on the command line) and "
3125 "it could not be downloaded then it will be silently held back. "
3126 "Configuration Item: <literal>APT::Get::Fix-Missing</literal>."
3129 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3130 #: apt-get.8.xml:359
3131 msgid "<option>--no-download</option>"
3134 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3135 #: apt-get.8.xml:360
3137 "Disables downloading of packages. This is best used with <option>--ignore-"
3138 "missing</option> to force APT to use only the .debs it has already "
3139 "downloaded. Configuration Item: <literal>APT::Get::Download</literal>."
3142 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3143 #: apt-get.8.xml:367
3145 "Quiet; produces output suitable for logging, omitting progress indicators. "
3146 "More q's will produce more quiet up to a maximum of 2. You can also use "
3147 "<option>-q=#</option> to set the quiet level, overriding the configuration "
3148 "file. Note that quiet level 2 implies <option>-y</option>, you should never "
3149 "use -qq without a no-action modifier such as -d, --print-uris or -s as APT "
3150 "may decided to do something you did not expect. Configuration Item: "
3151 "<literal>quiet</literal>."
3154 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3155 #: apt-get.8.xml:377
3156 msgid "<option>--simulate</option>"
3159 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3160 #: apt-get.8.xml:379
3161 msgid "<option>--dry-run</option>"
3164 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3165 #: apt-get.8.xml:382
3167 "No action; perform a simulation of events that would occur but do not "
3168 "actually change the system. Configuration Item: <literal>APT::Get::"
3169 "Simulate</literal>."
3172 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3173 #: apt-get.8.xml:386
3175 "Simulation run as user will deactivate locking (<literal>Debug::NoLocking</"
3176 "literal>) automatic. Also a notice will be displayed indicating that this "
3177 "is only a simulation, if the option <literal>APT::Get::Show-User-Simulation-"
3178 "Note</literal> is set (Default: true). Neither NoLocking nor the notice "
3179 "will be triggered if run as root (root should know what he is doing without "
3180 "further warnings by <literal>apt-get</literal>)."
3183 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3184 #: apt-get.8.xml:392
3186 "Simulate prints out a series of lines each one representing a dpkg "
3187 "operation, Configure (Conf), Remove (Remv), Unpack (Inst). Square brackets "
3188 "indicate broken packages and empty set of square brackets meaning breaks "
3189 "that are of no consequence (rare)."
3192 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3193 #: apt-get.8.xml:399
3194 msgid "<option>-y</option>"
3197 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3198 #: apt-get.8.xml:399
3199 msgid "<option>--yes</option>"
3202 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3203 #: apt-get.8.xml:400
3204 msgid "<option>--assume-yes</option>"
3207 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3208 #: apt-get.8.xml:401
3210 "Automatic yes to prompts; assume \"yes\" as answer to all prompts and run "
3211 "non-interactively. If an undesirable situation, such as changing a held "
3212 "package, trying to install a unauthenticated package or removing an "
3213 "essential package occurs then <literal>apt-get</literal> will abort. "
3214 "Configuration Item: <literal>APT::Get::Assume-Yes</literal>."
3217 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3218 #: apt-get.8.xml:408
3219 msgid "<option>-u</option>"
3222 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3223 #: apt-get.8.xml:408
3224 msgid "<option>--show-upgraded</option>"
3227 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3228 #: apt-get.8.xml:409
3230 "Show upgraded packages; Print out a list of all packages that are to be "
3231 "upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>."
3234 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3235 #: apt-get.8.xml:414
3236 msgid "<option>-V</option>"
3239 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3240 #: apt-get.8.xml:414
3241 msgid "<option>--verbose-versions</option>"
3244 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3245 #: apt-get.8.xml:415
3247 "Show full versions for upgraded and installed packages. Configuration Item: "
3248 "<literal>APT::Get::Show-Versions</literal>."
3251 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3252 #: apt-get.8.xml:419
3253 msgid "<option>-b</option>"
3256 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3257 #: apt-get.8.xml:419
3258 msgid "<option>--compile</option>"
3261 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3262 #: apt-get.8.xml:420
3263 msgid "<option>--build</option>"
3266 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3267 #: apt-get.8.xml:421
3269 "Compile source packages after downloading them. Configuration Item: "
3270 "<literal>APT::Get::Compile</literal>."
3273 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3274 #: apt-get.8.xml:425
3275 msgid "<option>--install-recommends</option>"
3278 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3279 #: apt-get.8.xml:426
3280 msgid "Also install recommended packages."
3283 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3284 #: apt-get.8.xml:430
3285 msgid "Do not install recommended packages."
3288 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3289 #: apt-get.8.xml:433
3290 msgid "<option>--ignore-hold</option>"
3293 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3294 #: apt-get.8.xml:434
3296 "Ignore package Holds; This causes <command>apt-get</command> to ignore a "
3297 "hold placed on a package. This may be useful in conjunction with "
3298 "<literal>dist-upgrade</literal> to override a large number of undesired "
3299 "holds. Configuration Item: <literal>APT::Ignore-Hold</literal>."
3302 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3303 #: apt-get.8.xml:440
3304 msgid "<option>--no-upgrade</option>"
3307 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3308 #: apt-get.8.xml:441
3310 "Do not upgrade packages; When used in conjunction with <literal>install</"
3311 "literal>, <literal>no-upgrade</literal> will prevent packages on the command "
3312 "line from being upgraded if they are already installed. Configuration Item: "
3313 "<literal>APT::Get::Upgrade</literal>."
3316 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3317 #: apt-get.8.xml:447
3318 msgid "<option>--force-yes</option>"
3321 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3322 #: apt-get.8.xml:448
3324 "Force yes; This is a dangerous option that will cause apt to continue "
3325 "without prompting if it is doing something potentially harmful. It should "
3326 "not be used except in very special situations. Using <literal>force-yes</"
3327 "literal> can potentially destroy your system! Configuration Item: "
3328 "<literal>APT::Get::force-yes</literal>."
3331 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3332 #: apt-get.8.xml:455
3333 msgid "<option>--print-uris</option>"
3336 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3337 #: apt-get.8.xml:456
3339 "Instead of fetching the files to install their URIs are printed. Each URI "
3340 "will have the path, the destination file name, the size and the expected md5 "
3341 "hash. Note that the file name to write to will not always match the file "
3342 "name on the remote site! This also works with the <literal>source</literal> "
3343 "and <literal>update</literal> commands. When used with the <literal>update</"
3344 "literal> command the MD5 and size are not included, and it is up to the user "
3345 "to decompress any compressed files. Configuration Item: <literal>APT::Get::"
3346 "Print-URIs</literal>."
3349 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3350 #: apt-get.8.xml:466
3351 msgid "<option>--purge</option>"
3354 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3355 #: apt-get.8.xml:467
3357 "Use purge instead of remove for anything that would be removed. An asterisk "
3358 "(\"*\") will be displayed next to packages which are scheduled to be purged. "
3359 "<option>remove --purge</option> is equivalent for <option>purge</option> "
3360 "command. Configuration Item: <literal>APT::Get::Purge</literal>."
3363 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3364 #: apt-get.8.xml:474
3365 msgid "<option>--reinstall</option>"
3368 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3369 #: apt-get.8.xml:475
3371 "Re-Install packages that are already installed and at the newest version. "
3372 "Configuration Item: <literal>APT::Get::ReInstall</literal>."
3375 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3376 #: apt-get.8.xml:479
3377 msgid "<option>--list-cleanup</option>"
3380 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3381 #: apt-get.8.xml:480
3383 "This option defaults to on, use <literal>--no-list-cleanup</literal> to turn "
3384 "it off. When on <command>apt-get</command> will automatically manage the "
3385 "contents of <filename>&statedir;/lists</filename> to ensure that obsolete "
3386 "files are erased. The only reason to turn it off is if you frequently "
3387 "change your source list. Configuration Item: <literal>APT::Get::List-"
3388 "Cleanup</literal>."
3391 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3392 #: apt-get.8.xml:489
3393 msgid "<option>--target-release</option>"
3396 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3397 #: apt-get.8.xml:490
3398 msgid "<option>--default-release</option>"
3401 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3402 #: apt-get.8.xml:491
3404 "This option controls the default input to the policy engine, it creates a "
3405 "default pin at priority 990 using the specified release string. This "
3406 "overrides the general settings in <filename>/etc/apt/preferences</"
3407 "filename>. Specifically pinned packages are not affected by the value of "
3408 "this option. In short, this option lets you have simple control over which "
3409 "distribution packages will be retrieved from. Some common examples might be "
3410 "<option>-t '2.1*'</option>, <option>-t unstable</option> or <option>-t sid</"
3411 "option>. Configuration Item: <literal>APT::Default-Release</literal>; see "
3412 "also the &apt-preferences; manual page."
3415 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3416 #: apt-get.8.xml:504
3417 msgid "<option>--trivial-only</option>"
3420 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3421 #: apt-get.8.xml:506
3423 "Only perform operations that are 'trivial'. Logically this can be considered "
3424 "related to <option>--assume-yes</option>, where <option>--assume-yes</"
3425 "option> will answer yes to any prompt, <option>--trivial-only</option> will "
3426 "answer no. Configuration Item: <literal>APT::Get::Trivial-Only</literal>."
3429 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3430 #: apt-get.8.xml:512
3431 msgid "<option>--no-remove</option>"
3434 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3435 #: apt-get.8.xml:513
3437 "If any packages are to be removed apt-get immediately aborts without "
3438 "prompting. Configuration Item: <literal>APT::Get::Remove</literal>."
3441 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3442 #: apt-get.8.xml:518
3443 msgid "<option>--auto-remove</option>"
3446 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3447 #: apt-get.8.xml:519
3449 "If the command is either <literal>install</literal> or <literal>remove</"
3450 "literal>, then this option acts like running <literal>autoremove</literal> "
3451 "command, removing the unused dependency packages. Configuration Item: "
3452 "<literal>APT::Get::AutomaticRemove</literal>."
3455 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3456 #: apt-get.8.xml:525
3457 msgid "<option>--only-source</option>"
3460 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3461 #: apt-get.8.xml:526
3463 "Only has meaning for the <literal>source</literal> and <literal>build-dep</"
3464 "literal> commands. Indicates that the given source names are not to be "
3465 "mapped through the binary table. This means that if this option is "
3466 "specified, these commands will only accept source package names as "
3467 "arguments, rather than accepting binary package names and looking up the "
3468 "corresponding source package. Configuration Item: <literal>APT::Get::Only-"
3472 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3473 #: apt-get.8.xml:536
3474 msgid "<option>--diff-only</option>"
3477 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3478 #: apt-get.8.xml:536
3479 msgid "<option>--dsc-only</option>"
3482 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3483 #: apt-get.8.xml:536
3484 msgid "<option>--tar-only</option>"
3487 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3488 #: apt-get.8.xml:537
3490 "Download only the diff, dsc, or tar file of a source archive. Configuration "
3491 "Item: <literal>APT::Get::Diff-Only</literal>, <literal>APT::Get::Dsc-Only</"
3492 "literal>, and <literal>APT::Get::Tar-Only</literal>."
3495 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3496 #: apt-get.8.xml:542
3497 msgid "<option>--arch-only</option>"
3500 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3501 #: apt-get.8.xml:543
3503 "Only process architecture-dependent build-dependencies. Configuration Item: "
3504 "<literal>APT::Get::Arch-Only</literal>."
3507 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3508 #: apt-get.8.xml:547
3509 msgid "<option>--allow-unauthenticated</option>"
3512 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3513 #: apt-get.8.xml:548
3515 "Ignore if packages can't be authenticated and don't prompt about it. This "
3516 "is useful for tools like pbuilder. Configuration Item: <literal>APT::Get::"
3517 "AllowUnauthenticated</literal>."
3520 #. type: Content of: <refentry><refsect1><variablelist>
3521 #: apt-get.8.xml:561
3523 "&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; "
3527 #. type: Content of: <refentry><refsect1><para>
3528 #: apt-get.8.xml:570
3530 "&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, "
3531 "&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, &apt-"
3532 "preferences;, the APT Howto."
3535 #. type: Content of: <refentry><refsect1><para>
3536 #: apt-get.8.xml:576
3538 "<command>apt-get</command> returns zero on normal operation, decimal 100 on "
3542 #. type: Content of: <refentry><refsect1><title>
3543 #: apt-get.8.xml:579
3544 msgid "ORIGINAL AUTHORS"
3547 #. type: Content of: <refentry><refsect1><para>
3548 #: apt-get.8.xml:580
3549 msgid "&apt-author.jgunthorpe;"
3552 #. type: Content of: <refentry><refsect1><title>
3553 #: apt-get.8.xml:583
3554 msgid "CURRENT AUTHORS"
3557 #. type: Content of: <refentry><refsect1><para>
3558 #: apt-get.8.xml:585
3559 msgid "&apt-author.team;"
3562 #. type: Content of: <refentry><refnamediv><refname>
3563 #: apt-key.8.xml:14 apt-key.8.xml:21
3567 #. type: Content of: <refentry><refnamediv><refpurpose>
3569 msgid "APT key management utility"
3572 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
3575 "<command>apt-key</command> <arg><replaceable>command</replaceable>/</arg> "
3576 "<arg rep=\"repeat\"><option><replaceable>arguments</replaceable></option></"
3580 #. type: Content of: <refentry><refsect1><para>
3583 "<command>apt-key</command> is used to manage the list of keys used by apt to "
3584 "authenticate packages. Packages which have been authenticated using these "
3585 "keys will be considered trusted."
3588 #. type: Content of: <refentry><refsect1><title>
3593 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3595 msgid "add <replaceable>filename</replaceable>"
3598 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3601 "Add a new key to the list of trusted keys. The key is read from "
3602 "<replaceable>filename</replaceable>, or standard input if "
3603 "<replaceable>filename</replaceable> is <literal>-</literal>."
3606 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3608 msgid "del <replaceable>keyid</replaceable>"
3611 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3613 msgid "Remove a key from the list of trusted keys."
3616 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3618 msgid "export <replaceable>keyid</replaceable>"
3621 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3623 msgid "Output the key <replaceable>keyid</replaceable> to standard output."
3626 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3631 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3633 msgid "Output all trusted keys to standard output."
3636 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3641 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3643 msgid "List trusted keys."
3646 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3647 #: apt-key.8.xml:100
3651 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3652 #: apt-key.8.xml:104
3653 msgid "List fingerprints of trusted keys."
3656 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3657 #: apt-key.8.xml:111
3661 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3662 #: apt-key.8.xml:115
3664 "Pass advanced options to gpg. With adv --recv-key you can download the "
3668 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3669 #: apt-key.8.xml:127
3671 "Update the local keyring with the keyring of Debian archive keys and removes "
3672 "from the keyring the archive keys which are no longer valid."
3675 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3676 #: apt-key.8.xml:140
3677 msgid "<filename>/etc/apt/trusted.gpg</filename>"
3680 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3681 #: apt-key.8.xml:141
3682 msgid "Keyring of local trusted keys, new keys will be added here."
3685 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3686 #: apt-key.8.xml:144
3687 msgid "<filename>/etc/apt/trustdb.gpg</filename>"
3690 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3691 #: apt-key.8.xml:145
3692 msgid "Local trust database of archive keys."
3695 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3696 #: apt-key.8.xml:148
3697 msgid "<filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename>"
3700 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3701 #: apt-key.8.xml:149
3702 msgid "Keyring of Debian archive trusted keys."
3705 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3706 #: apt-key.8.xml:152
3708 "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>"
3711 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3712 #: apt-key.8.xml:153
3713 msgid "Keyring of Debian archive removed trusted keys."
3716 #. type: Content of: <refentry><refsect1><para>
3717 #: apt-key.8.xml:164
3718 msgid "&apt-get;, &apt-secure;"
3721 #. The last update date
3722 #. type: Content of: <refentry><refentryinfo>
3723 #: apt-mark.8.xml:13
3725 "&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>9 "
3726 "August 2009</date>"
3729 #. type: Content of: <refentry><refnamediv><refname>
3730 #: apt-mark.8.xml:22 apt-mark.8.xml:29
3734 #. type: Content of: <refentry><refnamediv><refpurpose>
3735 #: apt-mark.8.xml:30
3736 msgid "mark/unmark a package as being automatically-installed"
3739 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
3740 #: apt-mark.8.xml:36
3742 " <command>apt-mark</command> <arg><option>-hv</option></arg> <arg><option>-"
3743 "f=<replaceable>FILENAME</replaceable></option></arg> <group choice=\"plain"
3744 "\"> <arg choice=\"plain\"> <group choice=\"req\"> <arg choice=\"plain"
3745 "\">markauto</arg> <arg choice=\"plain\">unmarkauto</arg> </group> <arg "
3746 "choice=\"plain\" rep=\"repeat\"><replaceable>package</replaceable></arg> </"
3747 "arg> <arg choice=\"plain\">showauto</arg> </group>"
3750 #. type: Content of: <refentry><refsect1><para>
3751 #: apt-mark.8.xml:53
3753 "<command>apt-mark</command> will change whether a package has been marked as "
3754 "being automatically installed."
3757 #. type: Content of: <refentry><refsect1><para>
3758 #: apt-mark.8.xml:57
3760 "When you request that a package is installed, and as a result other packages "
3761 "are installed to satisfy its dependencies, the dependencies are marked as "
3762 "being automatically installed. Once these automatically installed packages "
3763 "are no longer depended on by any manually installed packages, they will be "
3764 "removed by e.g. <command>apt-get</command> or <command>aptitude</command>."
3767 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3768 #: apt-mark.8.xml:65
3772 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3773 #: apt-mark.8.xml:66
3775 "<literal>markauto</literal> is used to mark a package as being automatically "
3776 "installed, which will cause the package to be removed when no more manually "
3777 "installed packages depend on this package."
3780 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3781 #: apt-mark.8.xml:73
3785 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3786 #: apt-mark.8.xml:74
3788 "<literal>unmarkauto</literal> is used to mark a package as being manually "
3789 "installed, which will prevent the package from being automatically removed "
3790 "if no other packages depend on it."
3793 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3794 #: apt-mark.8.xml:81
3798 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3799 #: apt-mark.8.xml:82
3801 "<literal>showauto</literal> is used to print a list of automatically "
3802 "installed packages with each package on a new line."
3805 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3806 #: apt-mark.8.xml:93
3808 "<option>-f=<filename><replaceable>FILENAME</replaceable></filename></option>"
3811 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3812 #: apt-mark.8.xml:94
3814 "<option>--file=<filename><replaceable>FILENAME</replaceable></filename></"
3818 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3819 #: apt-mark.8.xml:97
3821 "Read/Write package stats from <filename><replaceable>FILENAME</replaceable></"
3822 "filename> instead of the default location, which is "
3823 "<filename>extended_status</filename> in the directory defined by the "
3824 "Configuration Item: <literal>Dir::State</literal>."
3827 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3828 #: apt-mark.8.xml:103
3829 msgid "<option>-h</option>"
3832 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3833 #: apt-mark.8.xml:104
3834 msgid "<option>--help</option>"
3837 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3838 #: apt-mark.8.xml:105
3839 msgid "Show a short usage summary."
3842 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3843 #: apt-mark.8.xml:111
3844 msgid "<option>-v</option>"
3847 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3848 #: apt-mark.8.xml:112
3849 msgid "<option>--version</option>"
3852 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3853 #: apt-mark.8.xml:113
3854 msgid "Show the program version."
3857 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
3858 #: apt-mark.8.xml:124
3859 msgid "<filename>/var/lib/apt/extended_states</filename>"
3862 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
3863 #: apt-mark.8.xml:125
3865 "Status list of auto-installed packages. Configuration Item: <literal>Dir::"
3866 "State</literal> sets the path to the <filename>extended_states</filename> "
3870 #. type: Content of: <refentry><refsect1><para>
3871 #: apt-mark.8.xml:134
3872 msgid "&apt-get;,&aptitude;,&apt-conf;"
3875 #. type: Content of: <refentry><refsect1><para>
3876 #: apt-mark.8.xml:138
3878 "<command>apt-mark</command> returns zero on normal operation, non-zero on "
3882 #. type: Content of: <refentry><refnamediv><refname>
3883 #: apt-secure.8.xml:14 apt-secure.8.xml:36
3887 #. type: Content of: <refentry><refnamediv><refpurpose>
3888 #: apt-secure.8.xml:37
3889 msgid "Archive authentication support for APT"
3892 #. type: Content of: <refentry><refsect1><para>
3893 #: apt-secure.8.xml:42
3895 "Starting with version 0.6, <command>apt</command> contains code that does "
3896 "signature checking of the Release file for all archives. This ensures that "
3897 "packages in the archive can't be modified by people who have no access to "
3898 "the Release file signing key."
3901 #. type: Content of: <refentry><refsect1><para>
3902 #: apt-secure.8.xml:50
3904 "If a package comes from a archive without a signature or with a signature "
3905 "that apt does not have a key for that package is considered untrusted and "
3906 "installing it will result in a big warning. <command>apt-get</command> will "
3907 "currently only warn for unsigned archives, future releases might force all "
3908 "sources to be verified before downloading packages from them."
3911 #. type: Content of: <refentry><refsect1><para>
3912 #: apt-secure.8.xml:59
3914 "The package frontends &apt-get;, &aptitude; and &synaptic; support this new "
3915 "authentication feature."
3918 #. type: Content of: <refentry><refsect1><title>
3919 #: apt-secure.8.xml:64
3920 msgid "Trusted archives"
3923 #. type: Content of: <refentry><refsect1><para>
3924 #: apt-secure.8.xml:67
3926 "The chain of trust from an apt archive to the end user is made up of "
3927 "different steps. <command>apt-secure</command> is the last step in this "
3928 "chain, trusting an archive does not mean that the packages that you trust it "
3929 "do not contain malicious code but means that you trust the archive "
3930 "maintainer. It's the archive maintainer responsibility to ensure that the "
3931 "archive integrity is correct."
3934 #. type: Content of: <refentry><refsect1><para>
3935 #: apt-secure.8.xml:75
3937 "apt-secure does not review signatures at a package level. If you require "
3938 "tools to do this you should look at <command>debsig-verify</command> and "
3939 "<command>debsign</command> (provided in the debsig-verify and devscripts "
3940 "packages respectively)."
3943 #. type: Content of: <refentry><refsect1><para>
3944 #: apt-secure.8.xml:82
3946 "The chain of trust in Debian starts when a maintainer uploads a new package "
3947 "or a new version of a package to the Debian archive. This upload in order to "
3948 "become effective needs to be signed by a key of a maintainer within the "
3949 "Debian maintainer's keyring (available in the debian-keyring package). "
3950 "Maintainer's keys are signed by other maintainers following pre-established "
3951 "procedures to ensure the identity of the key holder."
3954 #. type: Content of: <refentry><refsect1><para>
3955 #: apt-secure.8.xml:92
3957 "Once the uploaded package is verified and included in the archive, the "
3958 "maintainer signature is stripped off, an MD5 sum of the package is computed "
3959 "and put in the Packages file. The MD5 sum of all of the packages files are "
3960 "then computed and put into the Release file. The Release file is then signed "
3961 "by the archive key (which is created once a year) and distributed through "
3962 "the FTP server. This key is also on the Debian keyring."
3965 #. type: Content of: <refentry><refsect1><para>
3966 #: apt-secure.8.xml:102
3968 "Any end user can check the signature of the Release file, extract the MD5 "
3969 "sum of a package from it and compare it with the MD5 sum of the package he "
3970 "downloaded. Prior to version 0.6 only the MD5 sum of the downloaded Debian "
3971 "package was checked. Now both the MD5 sum and the signature of the Release "
3975 #. type: Content of: <refentry><refsect1><para>
3976 #: apt-secure.8.xml:109
3978 "Notice that this is distinct from checking signatures on a per package "
3979 "basis. It is designed to prevent two possible attacks:"
3982 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
3983 #: apt-secure.8.xml:114
3985 "<literal>Network \"man in the middle\" attacks</literal>. Without signature "
3986 "checking, a malicious agent can introduce himself in the package download "
3987 "process and provide malicious software either by controlling a network "
3988 "element (router, switch, etc.) or by redirecting traffic to a rogue server "
3989 "(through arp or DNS spoofing attacks)."
3992 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
3993 #: apt-secure.8.xml:122
3995 "<literal>Mirror network compromise</literal>. Without signature checking, a "
3996 "malicious agent can compromise a mirror host and modify the files in it to "
3997 "propagate malicious software to all users downloading packages from that "
4001 #. type: Content of: <refentry><refsect1><para>
4002 #: apt-secure.8.xml:129
4004 "However, it does not defend against a compromise of the Debian master server "
4005 "itself (which signs the packages) or against a compromise of the key used to "
4006 "sign the Release files. In any case, this mechanism can complement a per-"
4007 "package signature."
4010 #. type: Content of: <refentry><refsect1><title>
4011 #: apt-secure.8.xml:135
4013 msgid "User configuration"
4014 msgstr "Plik konfiguracyjny"
4016 #. type: Content of: <refentry><refsect1><para>
4017 #: apt-secure.8.xml:137
4019 "<command>apt-key</command> is the program that manages the list of keys used "
4020 "by apt. It can be used to add or remove keys although an installation of "
4021 "this release will automatically provide the default Debian archive signing "
4022 "keys used in the Debian package repositories."
4025 #. type: Content of: <refentry><refsect1><para>
4026 #: apt-secure.8.xml:144
4028 "In order to add a new key you need to first download it (you should make "
4029 "sure you are using a trusted communication channel when retrieving it), add "
4030 "it with <command>apt-key</command> and then run <command>apt-get update</"
4031 "command> so that apt can download and verify the <filename>Release.gpg</"
4032 "filename> files from the archives you have configured."
4035 #. type: Content of: <refentry><refsect1><title>
4036 #: apt-secure.8.xml:153
4038 msgid "Archive configuration"
4039 msgstr "Plik konfiguracyjny"
4041 #. type: Content of: <refentry><refsect1><para>
4042 #: apt-secure.8.xml:155
4044 "If you want to provide archive signatures in an archive under your "
4045 "maintenance you have to:"
4048 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4049 #: apt-secure.8.xml:160
4051 "<emphasis>Create a toplevel Release file</emphasis>, if it does not exist "
4052 "already. You can do this by running <command>apt-ftparchive release</"
4053 "command> (provided in apt-utils)."
4056 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4057 #: apt-secure.8.xml:165
4059 "<emphasis>Sign it</emphasis>. You can do this by running <command>gpg -abs -"
4060 "o Release.gpg Release</command>."
4063 #. type: Content of: <refentry><refsect1><itemizedlist><listitem><para>
4064 #: apt-secure.8.xml:168
4066 "<emphasis>Publish the key fingerprint</emphasis>, that way your users will "
4067 "know what key they need to import in order to authenticate the files in the "
4071 #. type: Content of: <refentry><refsect1><para>
4072 #: apt-secure.8.xml:175
4074 "Whenever the contents of the archive changes (new packages are added or "
4075 "removed) the archive maintainer has to follow the first two steps previously "
4079 #. type: Content of: <refentry><refsect1><para>
4080 #: apt-secure.8.xml:183
4082 "&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, "
4083 "&debsign; &debsig-verify;, &gpg;"
4086 #. type: Content of: <refentry><refsect1><para>
4087 #: apt-secure.8.xml:187
4089 "For more background information you might want to review the <ulink url="
4090 "\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7.en.html"
4091 "\">Debian Security Infrastructure</ulink> chapter of the Securing Debian "
4092 "Manual (available also in the harden-doc package) and the <ulink url="
4093 "\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong "
4094 "Distribution HOWTO</ulink> by V. Alex Brennen."
4097 #. type: Content of: <refentry><refsect1><title>
4098 #: apt-secure.8.xml:200
4099 msgid "Manpage Authors"
4102 #. type: Content of: <refentry><refsect1><para>
4103 #: apt-secure.8.xml:202
4105 "This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac "
4106 "Jones, Colin Walters, Florian Weimer and Michael Vogt."
4109 #. type: Content of: <refentry><refnamediv><refname>
4110 #: apt-sortpkgs.1.xml:22 apt-sortpkgs.1.xml:29
4111 msgid "apt-sortpkgs"
4114 #. type: Content of: <refentry><refnamediv><refpurpose>
4115 #: apt-sortpkgs.1.xml:30
4116 msgid "Utility to sort package index files"
4119 #. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis>
4120 #: apt-sortpkgs.1.xml:36
4122 "<command>apt-sortpkgs</command> <arg><option>-hvs</option></arg> "
4123 "<arg><option>-o=<replaceable>config string</replaceable></option></arg> "
4124 "<arg><option>-c=<replaceable>file</replaceable></option></arg> <arg choice="
4125 "\"plain\" rep=\"repeat\"><replaceable>file</replaceable></arg>"
4128 #. type: Content of: <refentry><refsect1><para>
4129 #: apt-sortpkgs.1.xml:45
4131 "<command>apt-sortpkgs</command> will take an index file (Source index or "
4132 "Package index) and sort the records so that they are ordered by the package "
4133 "name. It will also sort the internal fields of each record according to the "
4134 "internal sorting rules."
4137 #. type: Content of: <refentry><refsect1><para>
4138 #: apt-sortpkgs.1.xml:51
4139 msgid "All output is sent to stdout, the input must be a seekable file."
4142 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4143 #: apt-sortpkgs.1.xml:58
4144 msgid "<option>--source</option>"
4147 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4148 #: apt-sortpkgs.1.xml:60
4150 "Use Source index field ordering. Configuration Item: <literal>APT::"
4151 "SortPkgs::Source</literal>."
4154 #. type: Content of: <refentry><refsect1><para>
4155 #: apt-sortpkgs.1.xml:74
4157 "<command>apt-sortpkgs</command> returns zero on normal operation, decimal "
4161 #. The last update date
4162 #. type: Content of: <refentry><refentryinfo>
4163 #: apt.conf.5.xml:13
4165 "&apt-author.jgunthorpe; &apt-author.team; <author> <firstname>Daniel</"
4166 "firstname> <surname>Burrows</surname> <contrib>Initial documentation of "
4167 "Debug::*.</contrib> <email>dburrows@debian.org</email> </author> &apt-email; "
4168 "&apt-product; <date>18 September 2009</date>"
4171 #. type: Content of: <refentry><refnamediv><refname>
4172 #: apt.conf.5.xml:28 apt.conf.5.xml:35
4176 #. type: Content of: <refentry><refmeta><manvolnum>
4177 #: apt.conf.5.xml:29 apt_preferences.5.xml:22 sources.list.5.xml:23
4181 #. type: Content of: <refentry><refnamediv><refpurpose>
4182 #: apt.conf.5.xml:36
4184 msgid "Configuration file for APT"
4185 msgstr "Plik konfiguracyjny"
4187 #. type: Content of: <refentry><refsect1><para>
4188 #: apt.conf.5.xml:40
4190 "<filename>apt.conf</filename> is the main configuration file for the APT "
4191 "suite of tools, all tools make use of the configuration file and a common "
4192 "command line parser to provide a uniform environment. When an APT tool "
4193 "starts up it will read the configuration specified by the <envar>APT_CONFIG</"
4194 "envar> environment variable (if any) and then read the files in "
4195 "<literal>Dir::Etc::Parts</literal> then read the main configuration file "
4196 "specified by <literal>Dir::Etc::main</literal> then finally apply the "
4197 "command line options to override the configuration directives, possibly "
4198 "loading even more config files."
4201 #. type: Content of: <refentry><refsect1><para>
4202 #: apt.conf.5.xml:50
4204 "The configuration file is organized in a tree with options organized into "
4205 "functional groups. Option specification is given with a double colon "
4206 "notation, for instance <literal>APT::Get::Assume-Yes</literal> is an option "
4207 "within the APT tool group, for the Get tool. Options do not inherit from "
4208 "their parent groups."
4211 #. type: Content of: <refentry><refsect1><para>
4212 #: apt.conf.5.xml:56
4214 "Syntactically the configuration language is modeled after what the ISC tools "
4215 "such as bind and dhcp use. Lines starting with <literal>//</literal> are "
4216 "treated as comments (ignored), as well as all text between <literal>/*</"
4217 "literal> and <literal>*/</literal>, just like C/C++ comments. Each line is "
4218 "of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. The trailing "
4219 "semicolon and the quotes are required. The value must be on one line, and "
4220 "there is no kind of string concatenation. It must not include inside "
4221 "quotes. The behavior of the backslash \"\\\" and escaped characters inside "
4222 "a value is undefined and it should not be used. An option name may include "
4223 "alphanumerical characters and the \"/-:._+\" characters. A new scope can be "
4224 "opened with curly braces, like:"
4227 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
4228 #: apt.conf.5.xml:70
4233 " Assume-Yes \"true\";\n"
4234 " Fix-Broken \"true\";\n"
4239 #. type: Content of: <refentry><refsect1><para>
4240 #: apt.conf.5.xml:78
4242 "with newlines placed to make it more readable. Lists can be created by "
4243 "opening a scope and including a single string enclosed in quotes followed by "
4244 "a semicolon. Multiple entries can be included, each separated by a semicolon."
4247 #. type: Content of: <refentry><refsect1><informalexample><programlisting>
4248 #: apt.conf.5.xml:83
4250 msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n"
4253 #. type: Content of: <refentry><refsect1><para>
4254 #: apt.conf.5.xml:86
4256 "In general the sample configuration file in <filename>&docdir;examples/apt."
4257 "conf</filename> &configureindex; is a good guide for how it should look."
4260 #. type: Content of: <refentry><refsect1><para>
4261 #: apt.conf.5.xml:90
4263 "The names of the configuration items are not case-sensitive. So in the "
4264 "previous example you could use <literal>dpkg::pre-install-pkgs</literal>."
4267 #. type: Content of: <refentry><refsect1><para>
4268 #: apt.conf.5.xml:93
4270 "Names for the configuration items are optional if a list is defined as it "
4271 "can be see in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. "
4272 "If you don't specify a name a new entry will simply add a new option to the "
4273 "list. If you specify a name you can override the option as every other "
4274 "option by reassigning a new value to the option."
4277 #. type: Content of: <refentry><refsect1><para>
4278 #: apt.conf.5.xml:98
4280 "Two specials are allowed, <literal>#include</literal> (which is deprecated "
4281 "and not supported by alternative implementations) and <literal>#clear</"
4282 "literal>: <literal>#include</literal> will include the given file, unless "
4283 "the filename ends in a slash, then the whole directory is included. "
4284 "<literal>#clear</literal> is used to erase a part of the configuration tree. "
4285 "The specified element and all its descendants are erased. (Note that these "
4286 "lines also need to end with a semicolon.)"
4289 #. type: Content of: <refentry><refsect1><para>
4290 #: apt.conf.5.xml:106
4292 "The #clear command is the only way to delete a list or a complete scope. "
4293 "Reopening a scope or the ::-style described below will <emphasis>not</"
4294 "emphasis> override previously written entries. Only options can be "
4295 "overridden by addressing a new value to it - lists and scopes can't be "
4296 "overridden, only cleared."
4299 #. type: Content of: <refentry><refsect1><para>
4300 #: apt.conf.5.xml:111
4302 "All of the APT tools take a -o option which allows an arbitrary "
4303 "configuration directive to be specified on the command line. The syntax is a "
4304 "full option name (<literal>APT::Get::Assume-Yes</literal> for instance) "
4305 "followed by an equals sign then the new value of the option. Lists can be "
4306 "appended too by adding a trailing :: to the list name. (As you might "
4307 "suspect: The scope syntax can't be used on the command line.)"
4310 #. type: Content of: <refentry><refsect1><para>
4311 #: apt.conf.5.xml:118
4313 "Note that you can use :: only for appending one item per line to a list and "
4314 "that you should not use it in combination with the scope syntax. (The scope "
4315 "syntax implicit insert ::) Using both syntaxes together will trigger a bug "
4316 "which some users unfortunately relay on: An option with the unusual name "
4317 "\"<literal>::</literal>\" which acts like every other option with a name. "
4318 "These introduces many problems including that a user who writes multiple "
4319 "lines in this <emphasis>wrong</emphasis> syntax in the hope to append to a "
4320 "list will gain the opposite as only the last assignment for this option "
4321 "\"<literal>::</literal>\" will be used. Upcoming APT versions will raise "
4322 "errors and will stop working if they encounter this misuse, so please "
4323 "correct such statements now as long as APT doesn't complain explicit about "
4327 #. type: Content of: <refentry><refsect1><title>
4328 #: apt.conf.5.xml:130
4329 msgid "The APT Group"
4332 #. type: Content of: <refentry><refsect1><para>
4333 #: apt.conf.5.xml:131
4335 "This group of options controls general APT behavior as well as holding the "
4336 "options for all of the tools."
4339 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4340 #: apt.conf.5.xml:135
4341 msgid "Architecture"
4344 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4345 #: apt.conf.5.xml:136
4347 "System Architecture; sets the architecture to use when fetching files and "
4348 "parsing package lists. The internal default is the architecture apt was "
4352 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4353 #: apt.conf.5.xml:141
4354 msgid "Default-Release"
4357 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4358 #: apt.conf.5.xml:142
4360 "Default release to install packages from if more than one version available. "
4361 "Contains release name, codename or release version. Examples: 'stable', "
4362 "'testing', 'unstable', 'lenny', 'squeeze', '4.0', '5.0*'. See also &apt-"
4366 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4367 #: apt.conf.5.xml:146
4371 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4372 #: apt.conf.5.xml:147
4374 "Ignore Held packages; This global option causes the problem resolver to "
4375 "ignore held packages in its decision making."
4378 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4379 #: apt.conf.5.xml:151
4380 msgid "Clean-Installed"
4383 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4384 #: apt.conf.5.xml:152
4386 "Defaults to on. When turned on the autoclean feature will remove any "
4387 "packages which can no longer be downloaded from the cache. If turned off "
4388 "then packages that are locally installed are also excluded from cleaning - "
4389 "but note that APT provides no direct means to reinstall them."
4392 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4393 #: apt.conf.5.xml:158
4394 msgid "Immediate-Configure"
4397 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4398 #: apt.conf.5.xml:159
4400 "Defaults to on which will cause APT to install essential and important "
4401 "packages as fast as possible in the install/upgrade operation. This is done "
4402 "to limit the effect of a failing &dpkg; call: If this option is disabled APT "
4403 "does treat an important package in the same way as an extra package: Between "
4404 "the unpacking of the important package A and his configuration can then be "
4405 "many other unpack or configuration calls, e.g. for package B which has no "
4406 "relation to A, but causes the dpkg call to fail (e.g. because maintainer "
4407 "script of package B generates an error) which results in a system state in "
4408 "which package A is unpacked but unconfigured - each package depending on A "
4409 "is now no longer guaranteed to work as their dependency on A is not longer "
4410 "satisfied. The immediate configuration marker is also applied to all "
4411 "dependencies which can generate a problem if the dependencies e.g. form a "
4412 "circle as a dependency with the immediate flag is comparable with a Pre-"
4413 "Dependency. So in theory it is possible that APT encounters a situation in "
4414 "which it is unable to perform immediate configuration, error out and refers "
4415 "to this option so the user can deactivate the immediate configuration "
4416 "temporary to be able to perform an install/upgrade again. Note the use of "
4417 "the word \"theory\" here as this problem was only encountered by now in real "
4418 "world a few times in non-stable distribution versions and caused by wrong "
4419 "dependencies of the package in question or by a system in an already broken "
4420 "state, so you should not blindly disable this option as the mentioned "
4421 "scenario above is not the only problem immediate configuration can help to "
4422 "prevent in the first place. Before a big operation like <literal>dist-"
4423 "upgrade</literal> is run with this option disabled it should be tried to "
4424 "explicitly <literal>install</literal> the package APT is unable to configure "
4425 "immediately, but please make sure to report your problem also to your "
4426 "distribution and to the APT team with the buglink below so they can work on "
4427 "improving or correcting the upgrade process."
4430 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4431 #: apt.conf.5.xml:181
4432 msgid "Force-LoopBreak"
4435 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4436 #: apt.conf.5.xml:182
4438 "Never Enable this option unless you -really- know what you are doing. It "
4439 "permits APT to temporarily remove an essential package to break a Conflicts/"
4440 "Conflicts or Conflicts/Pre-Depend loop between two essential packages. SUCH "
4441 "A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option will work if the "
4442 "essential packages are not tar, gzip, libc, dpkg, bash or anything that "
4443 "those packages depend on."
4446 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4447 #: apt.conf.5.xml:190
4451 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4452 #: apt.conf.5.xml:191
4454 "APT uses a fixed size memory mapped cache file to store the 'available' "
4455 "information. This sets the size of that cache (in bytes)."
4458 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4459 #: apt.conf.5.xml:195
4460 msgid "Build-Essential"
4463 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4464 #: apt.conf.5.xml:196
4465 msgid "Defines which package(s) are considered essential build dependencies."
4468 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4469 #: apt.conf.5.xml:199
4473 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4474 #: apt.conf.5.xml:200
4476 "The Get subsection controls the &apt-get; tool, please see its documentation "
4477 "for more information about the options here."
4480 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4481 #: apt.conf.5.xml:204
4485 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4486 #: apt.conf.5.xml:205
4488 "The Cache subsection controls the &apt-cache; tool, please see its "
4489 "documentation for more information about the options here."
4492 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4493 #: apt.conf.5.xml:209
4497 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4498 #: apt.conf.5.xml:210
4500 "The CDROM subsection controls the &apt-cdrom; tool, please see its "
4501 "documentation for more information about the options here."
4504 #. type: Content of: <refentry><refsect1><title>
4505 #: apt.conf.5.xml:216
4506 msgid "The Acquire Group"
4509 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4510 #: apt.conf.5.xml:221
4514 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4515 #: apt.conf.5.xml:222
4517 "Try to download deltas called <literal>PDiffs</literal> for Packages or "
4518 "Sources files instead of downloading whole ones. True by default."
4521 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4522 #: apt.conf.5.xml:227
4526 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4527 #: apt.conf.5.xml:228
4529 "Queuing mode; <literal>Queue-Mode</literal> can be one of <literal>host</"
4530 "literal> or <literal>access</literal> which determines how APT parallelizes "
4531 "outgoing connections. <literal>host</literal> means that one connection per "
4532 "target host will be opened, <literal>access</literal> means that one "
4533 "connection per URI type will be opened."
4536 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4537 #: apt.conf.5.xml:235
4541 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4542 #: apt.conf.5.xml:236
4544 "Number of retries to perform. If this is non-zero APT will retry failed "
4545 "files the given number of times."
4548 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4549 #: apt.conf.5.xml:240
4550 msgid "Source-Symlinks"
4553 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4554 #: apt.conf.5.xml:241
4556 "Use symlinks for source archives. If set to true then source archives will "
4557 "be symlinked when possible instead of copying. True is the default."
4560 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4561 #: apt.conf.5.xml:245 sources.list.5.xml:139
4565 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4566 #: apt.conf.5.xml:246
4568 "HTTP URIs; http::Proxy is the default http proxy to use. It is in the "
4569 "standard form of <literal>http://[[user][:pass]@]host[:port]/</literal>. Per "
4570 "host proxies can also be specified by using the form <literal>http::Proxy::"
4571 "<host></literal> with the special keyword <literal>DIRECT</literal> "
4572 "meaning to use no proxies. If no one of the above settings is specified, "
4573 "<envar>http_proxy</envar> environment variable will be used."
4576 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4577 #: apt.conf.5.xml:254
4579 "Three settings are provided for cache control with HTTP/1.1 compliant proxy "
4580 "caches. <literal>No-Cache</literal> tells the proxy to not use its cached "
4581 "response under any circumstances, <literal>Max-Age</literal> is sent only "
4582 "for index files and tells the cache to refresh its object if it is older "
4583 "than the given number of seconds. Debian updates its index files daily so "
4584 "the default is 1 day. <literal>No-Store</literal> specifies that the cache "
4585 "should never store this request, it is only set for archive files. This may "
4586 "be useful to prevent polluting a proxy cache with very large .deb files. "
4587 "Note: Squid 2.0.2 does not support any of these options."
4590 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4591 #: apt.conf.5.xml:264 apt.conf.5.xml:321
4593 "The option <literal>timeout</literal> sets the timeout timer used by the "
4594 "method, this applies to all things including connection timeout and data "
4598 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4599 #: apt.conf.5.xml:267
4601 "One setting is provided to control the pipeline depth in cases where the "
4602 "remote server is not RFC conforming or buggy (such as Squid 2.0.2). "
4603 "<literal>Acquire::http::Pipeline-Depth</literal> can be a value from 0 to 5 "
4604 "indicating how many outstanding requests APT should send. A value of zero "
4605 "MUST be specified if the remote host does not properly linger on TCP "
4606 "connections - otherwise data corruption will occur. Hosts which require this "
4607 "are in violation of RFC 2068."
4610 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4611 #: apt.conf.5.xml:275
4613 "The used bandwidth can be limited with <literal>Acquire::http::Dl-Limit</"
4614 "literal> which accepts integer values in kilobyte. The default value is 0 "
4615 "which deactivates the limit and tries uses as much as possible of the "
4616 "bandwidth (Note that this option implicit deactivates the download from "
4617 "multiple servers at the same time.)"
4620 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4621 #: apt.conf.5.xml:281
4625 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4626 #: apt.conf.5.xml:282
4628 "HTTPS URIs. Cache-control and proxy options are the same as for "
4629 "<literal>http</literal> method. <literal>Pipeline-Depth</literal> option is "
4630 "not supported yet."
4633 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4634 #: apt.conf.5.xml:286
4636 "<literal>CaInfo</literal> suboption specifies place of file that holds info "
4637 "about trusted certificates. <literal><host>::CaInfo</literal> is "
4638 "corresponding per-host option. <literal>Verify-Peer</literal> boolean "
4639 "suboption determines whether verify server's host certificate against "
4640 "trusted certificates or not. <literal><host>::Verify-Peer</literal> "
4641 "is corresponding per-host option. <literal>Verify-Host</literal> boolean "
4642 "suboption determines whether verify server's hostname or not. <literal><"
4643 "host>::Verify-Host</literal> is corresponding per-host option. "
4644 "<literal>SslCert</literal> determines what certificate to use for client "
4645 "authentication. <literal><host>::SslCert</literal> is corresponding "
4646 "per-host option. <literal>SslKey</literal> determines what private key to "
4647 "use for client authentication. <literal><host>::SslKey</literal> is "
4648 "corresponding per-host option. <literal>SslForceVersion</literal> overrides "
4649 "default SSL version to use. Can contain 'TLSv1' or 'SSLv3' string. "
4650 "<literal><host>::SslForceVersion</literal> is corresponding per-host "
4654 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4655 #: apt.conf.5.xml:304 sources.list.5.xml:150
4659 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4660 #: apt.conf.5.xml:305
4662 "FTP URIs; ftp::Proxy is the default ftp proxy to use. It is in the standard "
4663 "form of <literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host "
4664 "proxies can also be specified by using the form <literal>ftp::Proxy::<"
4665 "host></literal> with the special keyword <literal>DIRECT</literal> "
4666 "meaning to use no proxies. If no one of the above settings is specified, "
4667 "<envar>ftp_proxy</envar> environment variable will be used. To use a ftp "
4668 "proxy you will have to set the <literal>ftp::ProxyLogin</literal> script in "
4669 "the configuration file. This entry specifies the commands to send to tell "
4670 "the proxy server what to connect to. Please see &configureindex; for an "
4671 "example of how to do this. The substitution variables available are <literal>"
4672 "$(PROXY_USER)</literal> <literal>$(PROXY_PASS)</literal> <literal>"
4673 "$(SITE_USER)</literal> <literal>$(SITE_PASS)</literal> <literal>$(SITE)</"
4674 "literal> and <literal>$(SITE_PORT)</literal> Each is taken from it's "
4675 "respective URI component."
4678 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4679 #: apt.conf.5.xml:324
4681 "Several settings are provided to control passive mode. Generally it is safe "
4682 "to leave passive mode on, it works in nearly every environment. However "
4683 "some situations require that passive mode be disabled and port mode ftp used "
4684 "instead. This can be done globally, for connections that go through a proxy "
4685 "or for a specific host (See the sample config file for examples)."
4688 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4689 #: apt.conf.5.xml:331
4691 "It is possible to proxy FTP over HTTP by setting the <envar>ftp_proxy</"
4692 "envar> environment variable to a http url - see the discussion of the http "
4693 "method above for syntax. You cannot set this in the configuration file and "
4694 "it is not recommended to use FTP over HTTP due to its low efficiency."
4697 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4698 #: apt.conf.5.xml:336
4700 "The setting <literal>ForceExtended</literal> controls the use of RFC2428 "
4701 "<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is "
4702 "false, which means these commands are only used if the control connection is "
4703 "IPv6. Setting this to true forces their use even on IPv4 connections. Note "
4704 "that most FTP servers do not support RFC2428."
4707 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4708 #: apt.conf.5.xml:343 sources.list.5.xml:132
4712 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
4713 #: apt.conf.5.xml:349
4715 msgid "/cdrom/::Mount \"foo\";"
4718 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4719 #: apt.conf.5.xml:344
4721 "CDROM URIs; the only setting for CDROM URIs is the mount point, "
4722 "<literal>cdrom::Mount</literal> which must be the mount point for the CDROM "
4723 "drive as specified in <filename>/etc/fstab</filename>. It is possible to "
4724 "provide alternate mount and unmount commands if your mount point cannot be "
4725 "listed in the fstab (such as an SMB mount and old mount packages). The "
4726 "syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the "
4727 "cdrom block. It is important to have the trailing slash. Unmount commands "
4728 "can be specified using UMount."
4731 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4732 #: apt.conf.5.xml:354
4736 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4737 #: apt.conf.5.xml:355
4739 "GPGV URIs; the only option for GPGV URIs is the option to pass additional "
4740 "parameters to gpgv. <literal>gpgv::Options</literal> Additional options "
4744 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
4745 #: apt.conf.5.xml:360
4746 msgid "CompressionTypes"
4749 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
4750 #: apt.conf.5.xml:366
4752 msgid "Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> \"<replaceable>Methodname</replaceable>\";"
4755 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4756 #: apt.conf.5.xml:361
4758 "List of compression types which are understood by the acquire methods. "
4759 "Files like <filename>Packages</filename> can be available in various "
4760 "compression formats. Per default the acquire methods can decompress "
4761 "<command>bzip2</command>, <command>lzma</command> and <command>gzip</"
4762 "command> compressed files, with this setting more formats can be added on "
4763 "the fly or the used method can be changed. The syntax for this is: "
4764 "<placeholder type=\"synopsis\" id=\"0\"/>"
4767 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
4768 #: apt.conf.5.xml:371
4770 msgid "Acquire::CompressionTypes::Order:: \"gz\";"
4773 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis>
4774 #: apt.conf.5.xml:374
4776 msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };"
4779 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4780 #: apt.conf.5.xml:367
4782 "Also the <literal>Order</literal> subgroup can be used to define in which "
4783 "order the acquire system will try to download the compressed files. The "
4784 "acquire system will try the first and proceed with the next compression type "
4785 "in this list on error, so to prefer one over the other type simple add the "
4786 "preferred type at first - not already added default types will be added at "
4787 "run time to the end of the list, so e.g. <placeholder type=\"synopsis\" id="
4788 "\"0\"/> can be used to prefer <command>gzip</command> compressed files over "
4789 "<command>bzip2</command> and <command>lzma</command>. If <command>lzma</"
4790 "command> should be preferred over <command>gzip</command> and "
4791 "<command>bzip2</command> the configure setting should look like this "
4792 "<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add "
4793 "<literal>bz2</literal> explicit to the list as it will be added automatic."
4796 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout>
4797 #: apt.conf.5.xml:378
4799 msgid "Dir::Bin::bzip2 \"/bin/bzip2\";"
4802 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4803 #: apt.conf.5.xml:376
4805 "Note that at run time the <literal>Dir::Bin::<replaceable>Methodname</"
4806 "replaceable></literal> will be checked: If this setting exists the method "
4807 "will only be used if this file exists, e.g. for the bzip2 method (the "
4808 "inbuilt) setting is <placeholder type=\"literallayout\" id=\"0\"/> Note also "
4809 "that list entries specified on the command line will be added at the end of "
4810 "the list specified in the configuration files, but before the default "
4811 "entries. To prefer a type in this case over the ones specified in in the "
4812 "configuration files you can set the option direct - not in list style. This "
4813 "will not override the defined list, it will only prefix the list with this "
4817 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
4818 #: apt.conf.5.xml:383
4820 "While it is possible to add an empty compression type to the order list, but "
4821 "APT in its current version doesn't understand it correctly and will display "
4822 "many warnings about not downloaded files - these warnings are most of the "
4823 "time false negatives. Future versions will maybe include a way to really "
4824 "prefer uncompressed files to support the usage of local mirrors."
4827 #. type: Content of: <refentry><refsect1><para>
4828 #: apt.conf.5.xml:217
4830 "The <literal>Acquire</literal> group of options controls the download of "
4831 "packages and the URI handlers. <placeholder type=\"variablelist\" id=\"0\"/>"
4834 #. type: Content of: <refentry><refsect1><title>
4835 #: apt.conf.5.xml:392
4839 #. type: Content of: <refentry><refsect1><para>
4840 #: apt.conf.5.xml:394
4842 "The <literal>Dir::State</literal> section has directories that pertain to "
4843 "local state information. <literal>lists</literal> is the directory to place "
4844 "downloaded package lists in and <literal>status</literal> is the name of the "
4845 "dpkg status file. <literal>preferences</literal> is the name of the APT "
4846 "preferences file. <literal>Dir::State</literal> contains the default "
4847 "directory to prefix on all sub items if they do not start with <filename>/</"
4848 "filename> or <filename>./</filename>."
4851 #. type: Content of: <refentry><refsect1><para>
4852 #: apt.conf.5.xml:401
4854 "<literal>Dir::Cache</literal> contains locations pertaining to local cache "
4855 "information, such as the two package caches <literal>srcpkgcache</literal> "
4856 "and <literal>pkgcache</literal> as well as the location to place downloaded "
4857 "archives, <literal>Dir::Cache::archives</literal>. Generation of caches can "
4858 "be turned off by setting their names to be blank. This will slow down "
4859 "startup but save disk space. It is probably preferred to turn off the "
4860 "pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the "
4861 "default directory is contained in <literal>Dir::Cache</literal>"
4864 #. type: Content of: <refentry><refsect1><para>
4865 #: apt.conf.5.xml:410
4867 "<literal>Dir::Etc</literal> contains the location of configuration files, "
4868 "<literal>sourcelist</literal> gives the location of the sourcelist and "
4869 "<literal>main</literal> is the default configuration file (setting has no "
4870 "effect, unless it is done from the config file specified by "
4871 "<envar>APT_CONFIG</envar>)."
4874 #. type: Content of: <refentry><refsect1><para>
4875 #: apt.conf.5.xml:416
4877 "The <literal>Dir::Parts</literal> setting reads in all the config fragments "
4878 "in lexical order from the directory specified. After this is done then the "
4879 "main config file is loaded."
4882 #. type: Content of: <refentry><refsect1><para>
4883 #: apt.conf.5.xml:420
4885 "Binary programs are pointed to by <literal>Dir::Bin</literal>. <literal>Dir::"
4886 "Bin::Methods</literal> specifies the location of the method handlers and "
4887 "<literal>gzip</literal>, <literal>bzip2</literal>, <literal>lzma</literal>, "
4888 "<literal>dpkg</literal>, <literal>apt-get</literal> <literal>dpkg-source</"
4889 "literal> <literal>dpkg-buildpackage</literal> and <literal>apt-cache</"
4890 "literal> specify the location of the respective programs."
4893 #. type: Content of: <refentry><refsect1><para>
4894 #: apt.conf.5.xml:428
4896 "The configuration item <literal>RootDir</literal> has a special meaning. If "
4897 "set, all paths in <literal>Dir::</literal> will be relative to "
4898 "<literal>RootDir</literal>, <emphasis>even paths that are specified "
4899 "absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is "
4900 "set to <filename>/tmp/staging</filename> and <literal>Dir::State::status</"
4901 "literal> is set to <filename>/var/lib/dpkg/status</filename>, then the "
4902 "status file will be looked up in <filename>/tmp/staging/var/lib/dpkg/status</"
4906 #. type: Content of: <refentry><refsect1><title>
4907 #: apt.conf.5.xml:441
4908 msgid "APT in DSelect"
4911 #. type: Content of: <refentry><refsect1><para>
4912 #: apt.conf.5.xml:443
4914 "When APT is used as a &dselect; method several configuration directives "
4915 "control the default behaviour. These are in the <literal>DSelect</literal> "
4919 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4920 #: apt.conf.5.xml:447
4924 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4925 #: apt.conf.5.xml:448
4927 "Cache Clean mode; this value may be one of always, prompt, auto, pre-auto "
4928 "and never. always and prompt will remove all packages from the cache after "
4929 "upgrading, prompt (the default) does so conditionally. auto removes only "
4930 "those packages which are no longer downloadable (replaced with a new version "
4931 "for instance). pre-auto performs this action before downloading new "
4935 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4936 #: apt.conf.5.xml:457
4938 "The contents of this variable is passed to &apt-get; as command line options "
4939 "when it is run for the install phase."
4942 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4943 #: apt.conf.5.xml:461
4944 msgid "Updateoptions"
4947 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4948 #: apt.conf.5.xml:462
4950 "The contents of this variable is passed to &apt-get; as command line options "
4951 "when it is run for the update phase."
4954 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4955 #: apt.conf.5.xml:466
4956 msgid "PromptAfterUpdate"
4959 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4960 #: apt.conf.5.xml:467
4962 "If true the [U]pdate operation in &dselect; will always prompt to continue. "
4963 "The default is to prompt only on error."
4966 #. type: Content of: <refentry><refsect1><title>
4967 #: apt.conf.5.xml:473
4968 msgid "How APT calls dpkg"
4971 #. type: Content of: <refentry><refsect1><para>
4972 #: apt.conf.5.xml:474
4974 "Several configuration directives control how APT invokes &dpkg;. These are "
4975 "in the <literal>DPkg</literal> section."
4978 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4979 #: apt.conf.5.xml:479
4981 "This is a list of options to pass to dpkg. The options must be specified "
4982 "using the list notation and each list item is passed as a single argument to "
4986 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4987 #: apt.conf.5.xml:484
4991 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
4992 #: apt.conf.5.xml:484
4996 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
4997 #: apt.conf.5.xml:485
4999 "This is a list of shell commands to run before/after invoking &dpkg;. Like "
5000 "<literal>options</literal> this must be specified in list notation. The "
5001 "commands are invoked in order using <filename>/bin/sh</filename>, should any "
5002 "fail APT will abort."
5005 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5006 #: apt.conf.5.xml:491
5007 msgid "Pre-Install-Pkgs"
5010 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5011 #: apt.conf.5.xml:492
5013 "This is a list of shell commands to run before invoking dpkg. Like "
5014 "<literal>options</literal> this must be specified in list notation. The "
5015 "commands are invoked in order using <filename>/bin/sh</filename>, should any "
5016 "fail APT will abort. APT will pass to the commands on standard input the "
5017 "filenames of all .deb files it is going to install, one per line."
5020 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5021 #: apt.conf.5.xml:498
5023 "Version 2 of this protocol dumps more information, including the protocol "
5024 "version, the APT configuration space and the packages, files and versions "
5025 "being changed. Version 2 is enabled by setting <literal>DPkg::Tools::"
5026 "options::cmd::Version</literal> to 2. <literal>cmd</literal> is a command "
5027 "given to <literal>Pre-Install-Pkgs</literal>."
5030 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5031 #: apt.conf.5.xml:505
5032 msgid "Run-Directory"
5035 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5036 #: apt.conf.5.xml:506
5038 "APT chdirs to this directory before invoking dpkg, the default is <filename>/"
5042 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5043 #: apt.conf.5.xml:510
5044 msgid "Build-options"
5047 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5048 #: apt.conf.5.xml:511
5050 "These options are passed to &dpkg-buildpackage; when compiling packages, the "
5051 "default is to disable signing and produce all binaries."
5054 #. type: Content of: <refentry><refsect1><refsect2><title>
5055 #: apt.conf.5.xml:516
5056 msgid "dpkg trigger usage (and related options)"
5059 #. type: Content of: <refentry><refsect1><refsect2><para>
5060 #: apt.conf.5.xml:517
5062 "APT can call dpkg in a way so it can make aggressive use of triggers over "
5063 "multiply calls of dpkg. Without further options dpkg will use triggers only "
5064 "in between his own run. Activating these options can therefore decrease the "
5065 "time needed to perform the install / upgrade. Note that it is intended to "
5066 "activate these options per default in the future, but as it changes the way "
5067 "APT calling dpkg drastically it needs a lot more testing. <emphasis>These "
5068 "options are therefore currently experimental and should not be used in "
5069 "productive environments.</emphasis> Also it breaks the progress reporting so "
5070 "all frontends will currently stay around half (or more) of the time in the "
5071 "100% state while it actually configures all packages."
5074 #. type: Content of: <refentry><refsect1><refsect2><para><literallayout>
5075 #: apt.conf.5.xml:532
5078 "DPkg::NoTriggers \"true\";\n"
5079 "PackageManager::Configure \"smart\";\n"
5080 "DPkg::ConfigurePending \"true\";\n"
5081 "DPkg::TriggersPending \"true\";"
5084 #. type: Content of: <refentry><refsect1><refsect2><para>
5085 #: apt.conf.5.xml:526
5087 "Note that it is not guaranteed that APT will support these options or that "
5088 "these options will not cause (big) trouble in the future. If you have "
5089 "understand the current risks and problems with these options, but are brave "
5090 "enough to help testing them create a new configuration file and test a "
5091 "combination of options. Please report any bugs, problems and improvements "
5092 "you encounter and make sure to note which options you have used in your "
5093 "reports. Asking dpkg for help could also be useful for debugging proposes, "
5094 "see e.g. <command>dpkg --audit</command>. A defensive option combination "
5095 "would be <placeholder type=\"literallayout\" id=\"0\"/>"
5098 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5099 #: apt.conf.5.xml:538
5100 msgid "DPkg::NoTriggers"
5103 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5104 #: apt.conf.5.xml:539
5106 "Add the no triggers flag to all dpkg calls (except the ConfigurePending "
5107 "call). See &dpkg; if you are interested in what this actually means. In "
5108 "short: dpkg will not run the triggers when this flag is present unless it is "
5109 "explicitly called to do so in an extra call. Note that this option exists "
5110 "(undocumented) also in older apt versions with a slightly different meaning: "
5111 "Previously these option only append --no-triggers to the configure calls to "
5112 "dpkg - now apt will add these flag also to the unpack and remove calls."
5115 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5116 #: apt.conf.5.xml:546
5117 msgid "PackageManager::Configure"
5120 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5121 #: apt.conf.5.xml:547
5123 "Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" "
5124 "and \"<literal>no</literal>\". \"<literal>all</literal>\" is the default "
5125 "value and causes APT to configure all packages explicit. The "
5126 "\"<literal>smart</literal>\" way is it to configure only packages which need "
5127 "to be configured before another package can be unpacked (Pre-Depends) and "
5128 "let the rest configure by dpkg with a call generated by the next option. "
5129 "\"<literal>no</literal>\" on the other hand will not configure anything and "
5130 "totally rely on dpkg for configuration (which will at the moment fail if a "
5131 "Pre-Depends is encountered). Setting this option to another than the all "
5132 "value will implicitly activate also the next option per default as otherwise "
5133 "the system could end in an unconfigured status which could be unbootable!"
5136 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5137 #: apt.conf.5.xml:557
5138 msgid "DPkg::ConfigurePending"
5141 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5142 #: apt.conf.5.xml:558
5144 "If this option is set apt will call <command>dpkg --configure --pending</"
5145 "command> to let dpkg handle all required configurations and triggers. This "
5146 "option is activated automatic per default if the previous option is not set "
5147 "to <literal>all</literal>, but deactivating could be useful if you want to "
5148 "run APT multiple times in a row - e.g. in an installer. In these sceneries "
5149 "you could deactivate this option in all but the last run."
5152 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5153 #: apt.conf.5.xml:564
5154 msgid "DPkg::TriggersPending"
5157 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5158 #: apt.conf.5.xml:565
5160 "Useful for <literal>smart</literal> configuration as a package which has "
5161 "pending triggers is not considered as <literal>installed</literal> and dpkg "
5162 "treats them as <literal>unpacked</literal> currently which is a dealbreaker "
5163 "for Pre-Dependencies (see debbugs #526774). Note that this will process all "
5164 "triggers, not only the triggers needed to configure this package."
5167 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5168 #: apt.conf.5.xml:570
5169 msgid "PackageManager::UnpackAll"
5172 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5173 #: apt.conf.5.xml:571
5175 "As the configuration can be deferred to be done at the end by dpkg it can be "
5176 "tried to order the unpack series only by critical needs, e.g. by Pre-"
5177 "Depends. Default is true and therefore the \"old\" method of ordering in "
5178 "various steps by everything. While both method were present in earlier APT "
5179 "versions the <literal>OrderCritical</literal> method was unused, so this "
5180 "method is very experimental and needs further improvements before becoming "
5184 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term>
5185 #: apt.conf.5.xml:578
5186 msgid "OrderList::Score::Immediate"
5189 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout>
5190 #: apt.conf.5.xml:586
5193 "OrderList::Score {\n"
5195 "\tEssential 200;\n"
5197 "\tPreDepends 50;\n"
5201 #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para>
5202 #: apt.conf.5.xml:579
5204 "Essential packages (and there dependencies) should be configured immediately "
5205 "after unpacking. It will be a good idea to do this quite early in the "
5206 "upgrade process as these these configure calls require currently also "
5207 "<literal>DPkg::TriggersPending</literal> which will run quite a few triggers "
5208 "(which maybe not needed). Essentials get per default a high score but the "
5209 "immediate flag is relatively low (a package which has a Pre-Depends is "
5210 "higher rated). These option and the others in the same group can be used to "
5211 "change the scoring. The following example shows the settings with there "
5212 "default values. <placeholder type=\"literallayout\" id=\"0\"/>"
5215 #. type: Content of: <refentry><refsect1><title>
5216 #: apt.conf.5.xml:599
5217 msgid "Periodic and Archives options"
5220 #. type: Content of: <refentry><refsect1><para>
5221 #: apt.conf.5.xml:600
5223 "<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups "
5224 "of options configure behavior of apt periodic updates, which is done by "
5225 "<literal>/etc/cron.daily/apt</literal> script. See header of this script for "
5226 "the brief documentation of these options."
5229 #. type: Content of: <refentry><refsect1><title>
5230 #: apt.conf.5.xml:608
5231 msgid "Debug options"
5234 #. type: Content of: <refentry><refsect1><para>
5235 #: apt.conf.5.xml:610
5237 "Enabling options in the <literal>Debug::</literal> section will cause "
5238 "debugging information to be sent to the standard error stream of the program "
5239 "utilizing the <literal>apt</literal> libraries, or enable special program "
5240 "modes that are primarily useful for debugging the behavior of <literal>apt</"
5241 "literal>. Most of these options are not interesting to a normal user, but a "
5245 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5246 #: apt.conf.5.xml:621
5248 "<literal>Debug::pkgProblemResolver</literal> enables output about the "
5249 "decisions made by <literal>dist-upgrade, upgrade, install, remove, purge</"
5253 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5254 #: apt.conf.5.xml:629
5256 "<literal>Debug::NoLocking</literal> disables all file locking. This can be "
5257 "used to run some operations (for instance, <literal>apt-get -s install</"
5258 "literal>) as a non-root user."
5261 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5262 #: apt.conf.5.xml:638
5264 "<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each "
5265 "time that <literal>apt</literal> invokes &dpkg;."
5269 #. motivating example, except I haven't a clue why you'd want
5271 #. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para>
5272 #: apt.conf.5.xml:646
5274 "<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data "
5278 #. type: Content of: <refentry><refsect1><para>
5279 #: apt.conf.5.xml:656
5280 msgid "A full list of debugging options to apt follows."
5283 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5284 #: apt.conf.5.xml:661
5285 msgid "<literal>Debug::Acquire::cdrom</literal>"
5288 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5289 #: apt.conf.5.xml:665
5291 "Print information related to accessing <literal>cdrom://</literal> sources."
5294 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5295 #: apt.conf.5.xml:672
5296 msgid "<literal>Debug::Acquire::ftp</literal>"
5299 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5300 #: apt.conf.5.xml:676
5301 msgid "Print information related to downloading packages using FTP."
5304 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5305 #: apt.conf.5.xml:683
5306 msgid "<literal>Debug::Acquire::http</literal>"
5309 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5310 #: apt.conf.5.xml:687
5311 msgid "Print information related to downloading packages using HTTP."
5314 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5315 #: apt.conf.5.xml:694
5316 msgid "<literal>Debug::Acquire::https</literal>"
5319 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5320 #: apt.conf.5.xml:698
5321 msgid "Print information related to downloading packages using HTTPS."
5324 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5325 #: apt.conf.5.xml:705
5326 msgid "<literal>Debug::Acquire::gpgv</literal>"
5329 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5330 #: apt.conf.5.xml:709
5332 "Print information related to verifying cryptographic signatures using "
5333 "<literal>gpg</literal>."
5336 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5337 #: apt.conf.5.xml:716
5338 msgid "<literal>Debug::aptcdrom</literal>"
5341 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5342 #: apt.conf.5.xml:720
5344 "Output information about the process of accessing collections of packages "
5345 "stored on CD-ROMs."
5348 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5349 #: apt.conf.5.xml:727
5350 msgid "<literal>Debug::BuildDeps</literal>"
5353 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5354 #: apt.conf.5.xml:730
5355 msgid "Describes the process of resolving build-dependencies in &apt-get;."
5358 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5359 #: apt.conf.5.xml:737
5360 msgid "<literal>Debug::Hashes</literal>"
5363 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5364 #: apt.conf.5.xml:740
5366 "Output each cryptographic hash that is generated by the <literal>apt</"
5367 "literal> libraries."
5370 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5371 #: apt.conf.5.xml:747
5372 msgid "<literal>Debug::IdentCDROM</literal>"
5375 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5376 #: apt.conf.5.xml:750
5378 "Do not include information from <literal>statfs</literal>, namely the number "
5379 "of used and free blocks on the CD-ROM filesystem, when generating an ID for "
5383 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5384 #: apt.conf.5.xml:758
5385 msgid "<literal>Debug::NoLocking</literal>"
5388 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5389 #: apt.conf.5.xml:761
5391 "Disable all file locking. For instance, this will allow two instances of "
5392 "<quote><literal>apt-get update</literal></quote> to run at the same time."
5395 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5396 #: apt.conf.5.xml:769
5397 msgid "<literal>Debug::pkgAcquire</literal>"
5400 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5401 #: apt.conf.5.xml:773
5402 msgid "Log when items are added to or removed from the global download queue."
5405 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5406 #: apt.conf.5.xml:780
5407 msgid "<literal>Debug::pkgAcquire::Auth</literal>"
5410 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5411 #: apt.conf.5.xml:783
5413 "Output status messages and errors related to verifying checksums and "
5414 "cryptographic signatures of downloaded files."
5417 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5418 #: apt.conf.5.xml:790
5419 msgid "<literal>Debug::pkgAcquire::Diffs</literal>"
5422 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5423 #: apt.conf.5.xml:793
5425 "Output information about downloading and applying package index list diffs, "
5426 "and errors relating to package index list diffs."
5429 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5430 #: apt.conf.5.xml:801
5431 msgid "<literal>Debug::pkgAcquire::RRed</literal>"
5434 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5435 #: apt.conf.5.xml:805
5437 "Output information related to patching apt package lists when downloading "
5438 "index diffs instead of full indices."
5441 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5442 #: apt.conf.5.xml:812
5443 msgid "<literal>Debug::pkgAcquire::Worker</literal>"
5446 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5447 #: apt.conf.5.xml:816
5449 "Log all interactions with the sub-processes that actually perform downloads."
5452 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5453 #: apt.conf.5.xml:823
5454 msgid "<literal>Debug::pkgAutoRemove</literal>"
5457 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5458 #: apt.conf.5.xml:827
5460 "Log events related to the automatically-installed status of packages and to "
5461 "the removal of unused packages."
5464 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5465 #: apt.conf.5.xml:834
5466 msgid "<literal>Debug::pkgDepCache::AutoInstall</literal>"
5469 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5470 #: apt.conf.5.xml:837
5472 "Generate debug messages describing which packages are being automatically "
5473 "installed to resolve dependencies. This corresponds to the initial auto-"
5474 "install pass performed in, e.g., <literal>apt-get install</literal>, and not "
5475 "to the full <literal>apt</literal> dependency resolver; see <literal>Debug::"
5476 "pkgProblemResolver</literal> for that."
5479 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5480 #: apt.conf.5.xml:848
5481 msgid "<literal>Debug::pkgDepCache::Marker</literal>"
5484 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5485 #: apt.conf.5.xml:851
5487 "Generate debug messages describing which package is marked as keep/install/"
5488 "remove while the ProblemResolver does his work. Each addition or deletion "
5489 "may trigger additional actions; they are shown indented two additional space "
5490 "under the original entry. The format for each line is <literal>MarkKeep</"
5491 "literal>, <literal>MarkDelete</literal> or <literal>MarkInstall</literal> "
5492 "followed by <literal>package-name <a.b.c -> d.e.f | x.y.z> (section)"
5493 "</literal> where <literal>a.b.c</literal> is the current version of the "
5494 "package, <literal>d.e.f</literal> is the version considered for installation "
5495 "and <literal>x.y.z</literal> is a newer version, but not considered for "
5496 "installation (because of a low pin score). The later two can be omitted if "
5497 "there is none or if it is the same version as the installed. "
5498 "<literal>section</literal> is the name of the section the package appears in."
5501 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5502 #: apt.conf.5.xml:870
5503 msgid "<literal>Debug::pkgInitConfig</literal>"
5506 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5507 #: apt.conf.5.xml:873
5508 msgid "Dump the default configuration to standard error on startup."
5511 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5512 #: apt.conf.5.xml:880
5513 msgid "<literal>Debug::pkgDPkgPM</literal>"
5516 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5517 #: apt.conf.5.xml:883
5519 "When invoking &dpkg;, output the precise command line with which it is being "
5520 "invoked, with arguments separated by a single space character."
5523 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5524 #: apt.conf.5.xml:891
5525 msgid "<literal>Debug::pkgDPkgProgressReporting</literal>"
5528 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5529 #: apt.conf.5.xml:894
5531 "Output all the data received from &dpkg; on the status file descriptor and "
5532 "any errors encountered while parsing it."
5535 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5536 #: apt.conf.5.xml:901
5537 msgid "<literal>Debug::pkgOrderList</literal>"
5540 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5541 #: apt.conf.5.xml:905
5543 "Generate a trace of the algorithm that decides the order in which "
5544 "<literal>apt</literal> should pass packages to &dpkg;."
5547 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5548 #: apt.conf.5.xml:913
5549 msgid "<literal>Debug::pkgPackageManager</literal>"
5552 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5553 #: apt.conf.5.xml:917
5555 "Output status messages tracing the steps performed when invoking &dpkg;."
5558 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5559 #: apt.conf.5.xml:924
5560 msgid "<literal>Debug::pkgPolicy</literal>"
5563 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5564 #: apt.conf.5.xml:928
5565 msgid "Output the priority of each package list on startup."
5568 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5569 #: apt.conf.5.xml:934
5570 msgid "<literal>Debug::pkgProblemResolver</literal>"
5573 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5574 #: apt.conf.5.xml:938
5576 "Trace the execution of the dependency resolver (this applies only to what "
5577 "happens when a complex dependency problem is encountered)."
5580 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5581 #: apt.conf.5.xml:946
5582 msgid "<literal>Debug::pkgProblemResolver::ShowScores</literal>"
5585 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5586 #: apt.conf.5.xml:949
5588 "Display a list of all installed packages with their calculated score used by "
5589 "the pkgProblemResolver. The description of the package is the same as "
5590 "described in <literal>Debug::pkgDepCache::Marker</literal>"
5593 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term>
5594 #: apt.conf.5.xml:957
5595 msgid "<literal>Debug::sourceList</literal>"
5598 #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para>
5599 #: apt.conf.5.xml:961
5601 "Print information about the vendors read from <filename>/etc/apt/vendors."
5605 #. type: Content of: <refentry><refsect1><para>
5606 #: apt.conf.5.xml:983
5608 "&configureindex; is a configuration file showing example values for all "
5612 #. type: Content of: <refentry><refsect1><variablelist>
5613 #: apt.conf.5.xml:990
5614 msgid "&file-aptconf;"
5617 #. ? reading apt.conf
5618 #. type: Content of: <refentry><refsect1><para>
5619 #: apt.conf.5.xml:995
5620 msgid "&apt-cache;, &apt-config;, &apt-preferences;."
5623 #. The last update date
5624 #. type: Content of: <refentry><refentryinfo>
5625 #: apt_preferences.5.xml:13
5626 msgid "&apt-author.team; &apt-email; &apt-product; <date>04 May 2009</date>"
5629 #. type: Content of: <refentry><refnamediv><refname>
5630 #: apt_preferences.5.xml:21 apt_preferences.5.xml:28
5631 msgid "apt_preferences"
5634 #. type: Content of: <refentry><refnamediv><refpurpose>
5635 #: apt_preferences.5.xml:29
5636 msgid "Preference control file for APT"
5639 #. type: Content of: <refentry><refsect1><para>
5640 #: apt_preferences.5.xml:34
5642 "The APT preferences file <filename>/etc/apt/preferences</filename> and the "
5643 "fragment files in the <filename>/etc/apt/preferences.d/</filename> folder "
5644 "can be used to control which versions of packages will be selected for "
5648 #. type: Content of: <refentry><refsect1><para>
5649 #: apt_preferences.5.xml:39
5651 "Several versions of a package may be available for installation when the "
5652 "&sources-list; file contains references to more than one distribution (for "
5653 "example, <literal>stable</literal> and <literal>testing</literal>). APT "
5654 "assigns a priority to each version that is available. Subject to dependency "
5655 "constraints, <command>apt-get</command> selects the version with the highest "
5656 "priority for installation. The APT preferences file overrides the "
5657 "priorities that APT assigns to package versions by default, thus giving the "
5658 "user control over which one is selected for installation."
5661 #. type: Content of: <refentry><refsect1><para>
5662 #: apt_preferences.5.xml:49
5664 "Several instances of the same version of a package may be available when the "
5665 "&sources-list; file contains references to more than one source. In this "
5666 "case <command>apt-get</command> downloads the instance listed earliest in "
5667 "the &sources-list; file. The APT preferences file does not affect the "
5668 "choice of instance, only the choice of version."
5671 #. type: Content of: <refentry><refsect1><refsect2><title>
5672 #: apt_preferences.5.xml:56
5673 msgid "APT's Default Priority Assignments"
5676 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5677 #: apt_preferences.5.xml:71
5679 msgid "<command>apt-get install -t testing <replaceable>some-package</replaceable></command>\n"
5682 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
5683 #: apt_preferences.5.xml:74
5685 msgid "APT::Default-Release \"stable\";\n"
5688 #. type: Content of: <refentry><refsect1><refsect2><para>
5689 #: apt_preferences.5.xml:58
5691 "If there is no preferences file or if there is no entry in the file that "
5692 "applies to a particular version then the priority assigned to that version "
5693 "is the priority of the distribution to which that version belongs. It is "
5694 "possible to single out a distribution, \"the target release\", which "
5695 "receives a higher priority than other distributions do by default. The "
5696 "target release can be set on the <command>apt-get</command> command line or "
5697 "in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note "
5698 "that this has precedence over any general priority you set in the <filename>/"
5699 "etc/apt/preferences</filename> file described later, but not over "
5700 "specifically pinned packages. For example, <placeholder type="
5701 "\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" id=\"1\"/>"
5704 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5705 #: apt_preferences.5.xml:83
5706 msgid "priority 100"
5709 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5710 #: apt_preferences.5.xml:84
5711 msgid "to the version that is already installed (if any)."
5714 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5715 #: apt_preferences.5.xml:88
5716 msgid "priority 500"
5719 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5720 #: apt_preferences.5.xml:89
5722 "to the versions that are not installed and do not belong to the target "
5726 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5727 #: apt_preferences.5.xml:93
5728 msgid "priority 990"
5731 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5732 #: apt_preferences.5.xml:94
5734 "to the versions that are not installed and belong to the target release."
5737 #. type: Content of: <refentry><refsect1><refsect2><para>
5738 #: apt_preferences.5.xml:78
5740 "If the target release has been specified then APT uses the following "
5741 "algorithm to set the priorities of the versions of a package. Assign: "
5742 "<placeholder type=\"variablelist\" id=\"0\"/>"
5745 #. type: Content of: <refentry><refsect1><refsect2><para>
5746 #: apt_preferences.5.xml:99
5748 "If the target release has not been specified then APT simply assigns "
5749 "priority 100 to all installed package versions and priority 500 to all "
5750 "uninstalled package versions."
5753 #. type: Content of: <refentry><refsect1><refsect2><para>
5754 #: apt_preferences.5.xml:103
5756 "APT then applies the following rules, listed in order of precedence, to "
5757 "determine which version of a package to install."
5760 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5761 #: apt_preferences.5.xml:106
5763 "Never downgrade unless the priority of an available version exceeds 1000. "
5764 "(\"Downgrading\" is installing a less recent version of a package in place "
5765 "of a more recent version. Note that none of APT's default priorities "
5766 "exceeds 1000; such high priorities can only be set in the preferences file. "
5767 "Note also that downgrading a package can be risky.)"
5770 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5771 #: apt_preferences.5.xml:112
5772 msgid "Install the highest priority version."
5775 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5776 #: apt_preferences.5.xml:113
5778 "If two or more versions have the same priority, install the most recent one "
5779 "(that is, the one with the higher version number)."
5782 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5783 #: apt_preferences.5.xml:116
5785 "If two or more versions have the same priority and version number but either "
5786 "the packages differ in some of their metadata or the <literal>--reinstall</"
5787 "literal> option is given, install the uninstalled one."
5790 #. type: Content of: <refentry><refsect1><refsect2><para>
5791 #: apt_preferences.5.xml:122
5793 "In a typical situation, the installed version of a package (priority 100) "
5794 "is not as recent as one of the versions available from the sources listed in "
5795 "the &sources-list; file (priority 500 or 990). Then the package will be "
5796 "upgraded when <command>apt-get install <replaceable>some-package</"
5797 "replaceable></command> or <command>apt-get upgrade</command> is executed."
5800 #. type: Content of: <refentry><refsect1><refsect2><para>
5801 #: apt_preferences.5.xml:129
5803 "More rarely, the installed version of a package is <emphasis>more</emphasis> "
5804 "recent than any of the other available versions. The package will not be "
5805 "downgraded when <command>apt-get install <replaceable>some-package</"
5806 "replaceable></command> or <command>apt-get upgrade</command> is executed."
5809 #. type: Content of: <refentry><refsect1><refsect2><para>
5810 #: apt_preferences.5.xml:134
5812 "Sometimes the installed version of a package is more recent than the version "
5813 "belonging to the target release, but not as recent as a version belonging to "
5814 "some other distribution. Such a package will indeed be upgraded when "
5815 "<command>apt-get install <replaceable>some-package</replaceable></command> "
5816 "or <command>apt-get upgrade</command> is executed, because at least "
5817 "<emphasis>one</emphasis> of the available versions has a higher priority "
5818 "than the installed version."
5821 #. type: Content of: <refentry><refsect1><refsect2><title>
5822 #: apt_preferences.5.xml:143
5823 msgid "The Effect of APT Preferences"
5826 #. type: Content of: <refentry><refsect1><refsect2><para>
5827 #: apt_preferences.5.xml:145
5829 "The APT preferences file allows the system administrator to control the "
5830 "assignment of priorities. The file consists of one or more multi-line "
5831 "records separated by blank lines. Records can have one of two forms, a "
5832 "specific form and a general form."
5835 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5836 #: apt_preferences.5.xml:151
5838 "The specific form assigns a priority (a \"Pin-Priority\") to one or more "
5839 "specified packages and specified version or version range. For example, the "
5840 "following record assigns a high priority to all versions of the "
5841 "<filename>perl</filename> package whose version number begins with "
5842 "\"<literal>5.8</literal>\". Multiple packages can be separated by spaces."
5845 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5846 #: apt_preferences.5.xml:158
5850 "Pin: version 5.8*\n"
5851 "Pin-Priority: 1001\n"
5854 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5855 #: apt_preferences.5.xml:164
5857 "The general form assigns a priority to all of the package versions in a "
5858 "given distribution (that is, to all the versions of packages that are listed "
5859 "in a certain <filename>Release</filename> file) or to all of the package "
5860 "versions coming from a particular Internet site, as identified by the site's "
5861 "fully qualified domain name."
5864 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5865 #: apt_preferences.5.xml:170
5867 "This general-form entry in the APT preferences file applies only to groups "
5868 "of packages. For example, the following record assigns a high priority to "
5869 "all package versions available from the local site."
5872 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5873 #: apt_preferences.5.xml:175
5877 "Pin: origin \"\"\n"
5878 "Pin-Priority: 999\n"
5881 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5882 #: apt_preferences.5.xml:180
5884 "A note of caution: the keyword used here is \"<literal>origin</literal>\". "
5885 "This should not be confused with the Origin of a distribution as specified "
5886 "in a <filename>Release</filename> file. What follows the \"Origin:\" tag in "
5887 "a <filename>Release</filename> file is not an Internet address but an author "
5888 "or vendor name, such as \"Debian\" or \"Ximian\"."
5891 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5892 #: apt_preferences.5.xml:186
5894 "The following record assigns a low priority to all package versions "
5895 "belonging to any distribution whose Archive name is \"<literal>unstable</"
5899 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5900 #: apt_preferences.5.xml:190
5904 "Pin: release a=unstable\n"
5905 "Pin-Priority: 50\n"
5908 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5909 #: apt_preferences.5.xml:195
5911 "The following record assigns a high priority to all package versions "
5912 "belonging to any distribution whose Codename is \"<literal>squeeze</literal>"
5916 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5917 #: apt_preferences.5.xml:199
5921 "Pin: release n=squeeze\n"
5922 "Pin-Priority: 900\n"
5925 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
5926 #: apt_preferences.5.xml:204
5928 "The following record assigns a high priority to all package versions "
5929 "belonging to any release whose Archive name is \"<literal>stable</literal>\" "
5930 "and whose release Version number is \"<literal>3.0</literal>\"."
5933 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting>
5934 #: apt_preferences.5.xml:209
5938 "Pin: release a=stable, v=3.0\n"
5939 "Pin-Priority: 500\n"
5942 #. type: Content of: <refentry><refsect1><refsect2><title>
5943 #: apt_preferences.5.xml:220
5944 msgid "How APT Interprets Priorities"
5947 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5948 #: apt_preferences.5.xml:228
5952 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5953 #: apt_preferences.5.xml:229
5955 "causes a version to be installed even if this constitutes a downgrade of the "
5959 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5960 #: apt_preferences.5.xml:233
5961 msgid "990 < P <=1000"
5964 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5965 #: apt_preferences.5.xml:234
5967 "causes a version to be installed even if it does not come from the target "
5968 "release, unless the installed version is more recent"
5971 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5972 #: apt_preferences.5.xml:239
5973 msgid "500 < P <=990"
5976 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5977 #: apt_preferences.5.xml:240
5979 "causes a version to be installed unless there is a version available "
5980 "belonging to the target release or the installed version is more recent"
5983 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5984 #: apt_preferences.5.xml:245
5985 msgid "100 < P <=500"
5988 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
5989 #: apt_preferences.5.xml:246
5991 "causes a version to be installed unless there is a version available "
5992 "belonging to some other distribution or the installed version is more recent"
5995 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
5996 #: apt_preferences.5.xml:251
5997 msgid "0 < P <=100"
6000 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6001 #: apt_preferences.5.xml:252
6003 "causes a version to be installed only if there is no installed version of "
6007 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6008 #: apt_preferences.5.xml:256
6012 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6013 #: apt_preferences.5.xml:257
6014 msgid "prevents the version from being installed"
6017 #. type: Content of: <refentry><refsect1><refsect2><para>
6018 #: apt_preferences.5.xml:223
6020 "Priorities (P) assigned in the APT preferences file must be positive or "
6021 "negative integers. They are interpreted as follows (roughly speaking): "
6022 "<placeholder type=\"variablelist\" id=\"0\"/>"
6025 #. type: Content of: <refentry><refsect1><refsect2><para>
6026 #: apt_preferences.5.xml:262
6028 "If any specific-form records match an available package version then the "
6029 "first such record determines the priority of the package version. Failing "
6030 "that, if any general-form records match an available package version then "
6031 "the first such record determines the priority of the package version."
6034 #. type: Content of: <refentry><refsect1><refsect2><para>
6035 #: apt_preferences.5.xml:268
6037 "For example, suppose the APT preferences file contains the three records "
6038 "presented earlier:"
6041 #. type: Content of: <refentry><refsect1><refsect2><programlisting>
6042 #: apt_preferences.5.xml:272
6046 "Pin: version 5.8*\n"
6047 "Pin-Priority: 1001\n"
6050 "Pin: origin \"\"\n"
6051 "Pin-Priority: 999\n"
6054 "Pin: release unstable\n"
6055 "Pin-Priority: 50\n"
6058 #. type: Content of: <refentry><refsect1><refsect2><para>
6059 #: apt_preferences.5.xml:285
6063 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6064 #: apt_preferences.5.xml:287
6066 "The most recent available version of the <literal>perl</literal> package "
6067 "will be installed, so long as that version's version number begins with "
6068 "\"<literal>5.8</literal>\". If <emphasis>any</emphasis> 5.8* version of "
6069 "<literal>perl</literal> is available and the installed version is 5.9*, then "
6070 "<literal>perl</literal> will be downgraded."
6073 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6074 #: apt_preferences.5.xml:292
6076 "A version of any package other than <literal>perl</literal> that is "
6077 "available from the local system has priority over other versions, even "
6078 "versions belonging to the target release."
6081 #. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara>
6082 #: apt_preferences.5.xml:296
6084 "A version of a package whose origin is not the local system but some other "
6085 "site listed in &sources-list; and which belongs to an <literal>unstable</"
6086 "literal> distribution is only installed if it is selected for installation "
6087 "and no version of the package is already installed."
6090 #. type: Content of: <refentry><refsect1><refsect2><title>
6091 #: apt_preferences.5.xml:306
6092 msgid "Determination of Package Version and Distribution Properties"
6095 #. type: Content of: <refentry><refsect1><refsect2><para>
6096 #: apt_preferences.5.xml:308
6098 "The locations listed in the &sources-list; file should provide "
6099 "<filename>Packages</filename> and <filename>Release</filename> files to "
6100 "describe the packages available at that location."
6103 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6104 #: apt_preferences.5.xml:320
6105 msgid "the <literal>Package:</literal> line"
6108 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6109 #: apt_preferences.5.xml:321
6110 msgid "gives the package name"
6113 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6114 #: apt_preferences.5.xml:324 apt_preferences.5.xml:374
6115 msgid "the <literal>Version:</literal> line"
6118 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6119 #: apt_preferences.5.xml:325
6120 msgid "gives the version number for the named package"
6123 #. type: Content of: <refentry><refsect1><refsect2><para>
6124 #: apt_preferences.5.xml:312
6126 "The <filename>Packages</filename> file is normally found in the directory "
6127 "<filename>.../dists/<replaceable>dist-name</replaceable>/"
6128 "<replaceable>component</replaceable>/<replaceable>arch</replaceable></"
6129 "filename>: for example, <filename>.../dists/stable/main/binary-i386/"
6130 "Packages</filename>. It consists of a series of multi-line records, one for "
6131 "each package available in that directory. Only two lines in each record are "
6132 "relevant for setting APT priorities: <placeholder type=\"variablelist\" id="
6136 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6137 #: apt_preferences.5.xml:341
6138 msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line"
6141 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6142 #: apt_preferences.5.xml:342
6144 "names the archive to which all the packages in the directory tree belong. "
6145 "For example, the line \"Archive: stable\" or \"Suite: stable\" specifies "
6146 "that all of the packages in the directory tree below the parent of the "
6147 "<filename>Release</filename> file are in a <literal>stable</literal> "
6148 "archive. Specifying this value in the APT preferences file would require "
6152 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6153 #: apt_preferences.5.xml:352
6155 msgid "Pin: release a=stable\n"
6158 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6159 #: apt_preferences.5.xml:358
6160 msgid "the <literal>Codename:</literal> line"
6163 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6164 #: apt_preferences.5.xml:359
6166 "names the codename to which all the packages in the directory tree belong. "
6167 "For example, the line \"Codename: squeeze\" specifies that all of the "
6168 "packages in the directory tree below the parent of the <filename>Release</"
6169 "filename> file belong to a version named <literal>squeeze</literal>. "
6170 "Specifying this value in the APT preferences file would require the line:"
6173 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6174 #: apt_preferences.5.xml:368
6176 msgid "Pin: release n=squeeze\n"
6179 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6180 #: apt_preferences.5.xml:375
6182 "names the release version. For example, the packages in the tree might "
6183 "belong to Debian GNU/Linux release version 3.0. Note that there is normally "
6184 "no version number for the <literal>testing</literal> and <literal>unstable</"
6185 "literal> distributions because they have not been released yet. Specifying "
6186 "this in the APT preferences file would require one of the following lines."
6189 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6190 #: apt_preferences.5.xml:384
6193 "Pin: release v=3.0\n"
6194 "Pin: release a=stable, v=3.0\n"
6195 "Pin: release 3.0\n"
6198 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6199 #: apt_preferences.5.xml:393
6200 msgid "the <literal>Component:</literal> line"
6203 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6204 #: apt_preferences.5.xml:394
6206 "names the licensing component associated with the packages in the directory "
6207 "tree of the <filename>Release</filename> file. For example, the line "
6208 "\"Component: main\" specifies that all the packages in the directory tree "
6209 "are from the <literal>main</literal> component, which entails that they are "
6210 "licensed under terms listed in the Debian Free Software Guidelines. "
6211 "Specifying this component in the APT preferences file would require the line:"
6214 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6215 #: apt_preferences.5.xml:403
6217 msgid "Pin: release c=main\n"
6220 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6221 #: apt_preferences.5.xml:409
6222 msgid "the <literal>Origin:</literal> line"
6225 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6226 #: apt_preferences.5.xml:410
6228 "names the originator of the packages in the directory tree of the "
6229 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6230 "literal>. Specifying this origin in the APT preferences file would require "
6234 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6235 #: apt_preferences.5.xml:416
6237 msgid "Pin: release o=Debian\n"
6240 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term>
6241 #: apt_preferences.5.xml:422
6242 msgid "the <literal>Label:</literal> line"
6245 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara>
6246 #: apt_preferences.5.xml:423
6248 "names the label of the packages in the directory tree of the "
6249 "<filename>Release</filename> file. Most commonly, this is <literal>Debian</"
6250 "literal>. Specifying this label in the APT preferences file would require "
6254 #. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting>
6255 #: apt_preferences.5.xml:429
6257 msgid "Pin: release l=Debian\n"
6260 #. type: Content of: <refentry><refsect1><refsect2><para>
6261 #: apt_preferences.5.xml:330
6263 "The <filename>Release</filename> file is normally found in the directory "
6264 "<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for "
6265 "example, <filename>.../dists/stable/Release</filename>, or <filename>.../"
6266 "dists/woody/Release</filename>. It consists of a single multi-line record "
6267 "which applies to <emphasis>all</emphasis> of the packages in the directory "
6268 "tree below its parent. Unlike the <filename>Packages</filename> file, "
6269 "nearly all of the lines in a <filename>Release</filename> file are relevant "
6270 "for setting APT priorities: <placeholder type=\"variablelist\" id=\"0\"/>"
6273 #. type: Content of: <refentry><refsect1><refsect2><para>
6274 #: apt_preferences.5.xml:436
6276 "All of the <filename>Packages</filename> and <filename>Release</filename> "
6277 "files retrieved from locations listed in the &sources-list; file are stored "
6278 "in the directory <filename>/var/lib/apt/lists</filename>, or in the file "
6279 "named by the variable <literal>Dir::State::Lists</literal> in the "
6280 "<filename>apt.conf</filename> file. For example, the file <filename>debian."
6281 "lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> "
6282 "contains the <filename>Release</filename> file retrieved from the site "
6283 "<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> "
6284 "architecture files from the <literal>contrib</literal> component of the "
6285 "<literal>unstable</literal> distribution."
6288 #. type: Content of: <refentry><refsect1><refsect2><title>
6289 #: apt_preferences.5.xml:449
6290 msgid "Optional Lines in an APT Preferences Record"
6293 #. type: Content of: <refentry><refsect1><refsect2><para>
6294 #: apt_preferences.5.xml:451
6296 "Each record in the APT preferences file can optionally begin with one or "
6297 "more lines beginning with the word <literal>Explanation:</literal>. This "
6298 "provides a place for comments."
6301 #. type: Content of: <refentry><refsect1><refsect2><para>
6302 #: apt_preferences.5.xml:455
6304 "The <literal>Pin-Priority:</literal> line in each APT preferences record is "
6305 "optional. If omitted, APT assigns a priority of 1 less than the last value "
6306 "specified on a line beginning with <literal>Pin-Priority: release ...</"
6310 #. type: Content of: <refentry><refsect1><refsect2><title>
6311 #: apt_preferences.5.xml:464
6312 msgid "Tracking Stable"
6315 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6316 #: apt_preferences.5.xml:472
6319 "Explanation: Uninstall or do not install any Debian-originated\n"
6320 "Explanation: package versions other than those in the stable distro\n"
6322 "Pin: release a=stable\n"
6323 "Pin-Priority: 900\n"
6326 "Pin: release o=Debian\n"
6327 "Pin-Priority: -10\n"
6330 #. type: Content of: <refentry><refsect1><refsect2><para>
6331 #: apt_preferences.5.xml:466
6333 "The following APT preferences file will cause APT to assign a priority "
6334 "higher than the default (500) to all package versions belonging to a "
6335 "<literal>stable</literal> distribution and a prohibitively low priority to "
6336 "package versions belonging to other <literal>Debian</literal> "
6337 "distributions. <placeholder type=\"programlisting\" id=\"0\"/>"
6340 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6341 #: apt_preferences.5.xml:489 apt_preferences.5.xml:535
6342 #: apt_preferences.5.xml:593
6345 "apt-get install <replaceable>package-name</replaceable>\n"
6347 "apt-get dist-upgrade\n"
6350 #. type: Content of: <refentry><refsect1><refsect2><para>
6351 #: apt_preferences.5.xml:484
6353 "With a suitable &sources-list; file and the above preferences file, any of "
6354 "the following commands will cause APT to upgrade to the latest "
6355 "<literal>stable</literal> version(s). <placeholder type=\"programlisting\" "
6359 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6360 #: apt_preferences.5.xml:501
6362 msgid "apt-get install <replaceable>package</replaceable>/testing\n"
6365 #. type: Content of: <refentry><refsect1><refsect2><para>
6366 #: apt_preferences.5.xml:495
6368 "The following command will cause APT to upgrade the specified package to the "
6369 "latest version from the <literal>testing</literal> distribution; the package "
6370 "will not be upgraded again unless this command is given again. <placeholder "
6371 "type=\"programlisting\" id=\"0\"/>"
6374 #. type: Content of: <refentry><refsect1><refsect2><title>
6375 #: apt_preferences.5.xml:507
6376 msgid "Tracking Testing or Unstable"
6379 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6380 #: apt_preferences.5.xml:516
6384 "Pin: release a=testing\n"
6385 "Pin-Priority: 900\n"
6388 "Pin: release a=unstable\n"
6389 "Pin-Priority: 800\n"
6392 "Pin: release o=Debian\n"
6393 "Pin-Priority: -10\n"
6396 #. type: Content of: <refentry><refsect1><refsect2><para>
6397 #: apt_preferences.5.xml:509
6399 "The following APT preferences file will cause APT to assign a high priority "
6400 "to package versions from the <literal>testing</literal> distribution, a "
6401 "lower priority to package versions from the <literal>unstable</literal> "
6402 "distribution, and a prohibitively low priority to package versions from "
6403 "other <literal>Debian</literal> distributions. <placeholder type="
6404 "\"programlisting\" id=\"0\"/>"
6407 #. type: Content of: <refentry><refsect1><refsect2><para>
6408 #: apt_preferences.5.xml:530
6410 "With a suitable &sources-list; file and the above preferences file, any of "
6411 "the following commands will cause APT to upgrade to the latest "
6412 "<literal>testing</literal> version(s). <placeholder type=\"programlisting\" "
6416 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6417 #: apt_preferences.5.xml:550
6419 msgid "apt-get install <replaceable>package</replaceable>/unstable\n"
6422 #. type: Content of: <refentry><refsect1><refsect2><para>
6423 #: apt_preferences.5.xml:541
6425 "The following command will cause APT to upgrade the specified package to the "
6426 "latest version from the <literal>unstable</literal> distribution. "
6427 "Thereafter, <command>apt-get upgrade</command> will upgrade the package to "
6428 "the most recent <literal>testing</literal> version if that is more recent "
6429 "than the installed version, otherwise, to the most recent <literal>unstable</"
6430 "literal> version if that is more recent than the installed version. "
6431 "<placeholder type=\"programlisting\" id=\"0\"/>"
6434 #. type: Content of: <refentry><refsect1><refsect2><title>
6435 #: apt_preferences.5.xml:557
6436 msgid "Tracking the evolution of a codename release"
6439 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6440 #: apt_preferences.5.xml:571
6443 "Explanation: Uninstall or do not install any Debian-originated package versions\n"
6444 "Explanation: other than those in the distribution codenamed with squeeze or sid\n"
6446 "Pin: release n=squeeze\n"
6447 "Pin-Priority: 900\n"
6449 "Explanation: Debian unstable is always codenamed with sid\n"
6451 "Pin: release a=sid\n"
6452 "Pin-Priority: 800\n"
6455 "Pin: release o=Debian\n"
6456 "Pin-Priority: -10\n"
6459 #. type: Content of: <refentry><refsect1><refsect2><para>
6460 #: apt_preferences.5.xml:559
6462 "The following APT preferences file will cause APT to assign a priority "
6463 "higher than the default (500) to all package versions belonging to a "
6464 "specified codename of a distribution and a prohibitively low priority to "
6465 "package versions belonging to other <literal>Debian</literal> distributions, "
6466 "codenames and archives. Note that with this APT preference APT will follow "
6467 "the migration of a release from the archive <literal>testing</literal> to "
6468 "<literal>stable</literal> and later <literal>oldstable</literal>. If you "
6469 "want to follow for example the progress in <literal>testing</literal> "
6470 "notwithstanding the codename changes you should use the example "
6471 "configurations above. <placeholder type=\"programlisting\" id=\"0\"/>"
6474 #. type: Content of: <refentry><refsect1><refsect2><para>
6475 #: apt_preferences.5.xml:588
6477 "With a suitable &sources-list; file and the above preferences file, any of "
6478 "the following commands will cause APT to upgrade to the latest version(s) in "
6479 "the release codenamed with <literal>squeeze</literal>. <placeholder type="
6480 "\"programlisting\" id=\"0\"/>"
6483 #. type: Content of: <refentry><refsect1><refsect2><para><programlisting>
6484 #: apt_preferences.5.xml:608
6486 msgid "apt-get install <replaceable>package</replaceable>/sid\n"
6489 #. type: Content of: <refentry><refsect1><refsect2><para>
6490 #: apt_preferences.5.xml:599
6492 "The following command will cause APT to upgrade the specified package to the "
6493 "latest version from the <literal>sid</literal> distribution. Thereafter, "
6494 "<command>apt-get upgrade</command> will upgrade the package to the most "
6495 "recent <literal>squeeze</literal> version if that is more recent than the "
6496 "installed version, otherwise, to the most recent <literal>sid</literal> "
6497 "version if that is more recent than the installed version. <placeholder "
6498 "type=\"programlisting\" id=\"0\"/>"
6501 #. type: Content of: <refentry><refsect1><variablelist>
6502 #: apt_preferences.5.xml:617
6503 msgid "&file-preferences;"
6506 #. type: Content of: <refentry><refsect1><para>
6507 #: apt_preferences.5.xml:623
6508 msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;"
6511 #. type: Content of: <refentry><refnamediv><refname>
6512 #: sources.list.5.xml:22 sources.list.5.xml:29
6513 msgid "sources.list"
6516 #. type: Content of: <refentry><refnamediv><refpurpose>
6517 #: sources.list.5.xml:30
6518 msgid "Package resource list for APT"
6521 #. type: Content of: <refentry><refsect1><para>
6522 #: sources.list.5.xml:34
6524 "The package resource list is used to locate archives of the package "
6525 "distribution system in use on the system. At this time, this manual page "
6526 "documents only the packaging system used by the Debian GNU/Linux system. "
6527 "This control file is <filename>/etc/apt/sources.list</filename>."
6530 #. type: Content of: <refentry><refsect1><para>
6531 #: sources.list.5.xml:39
6533 "The source list is designed to support any number of active sources and a "
6534 "variety of source media. The file lists one source per line, with the most "
6535 "preferred source listed first. The format of each line is: <literal>type uri "
6536 "args</literal> The first item, <literal>type</literal> determines the format "
6537 "for <literal>args</literal>. <literal>uri</literal> is a Universal Resource "
6538 "Identifier (URI), which is a superset of the more specific and well-known "
6539 "Universal Resource Locator, or URL. The rest of the line can be marked as a "
6540 "comment by using a #."
6543 #. type: Content of: <refentry><refsect1><title>
6544 #: sources.list.5.xml:50
6545 msgid "sources.list.d"
6548 #. type: Content of: <refentry><refsect1><para>
6549 #: sources.list.5.xml:51
6551 "The <filename>/etc/apt/sources.list.d</filename> directory provides a way to "
6552 "add sources.list entries in separate files. The format is the same as for "
6553 "the regular <filename>sources.list</filename> file. File names need to end "
6554 "with <filename>.list</filename> and may only contain letters (a-z and A-Z), "
6555 "digits (0-9), underscore (_), hyphen (-) and period (.) characters. "
6556 "Otherwise they will be silently ignored."
6559 #. type: Content of: <refentry><refsect1><title>
6560 #: sources.list.5.xml:60
6561 msgid "The deb and deb-src types"
6564 #. type: Content of: <refentry><refsect1><para>
6565 #: sources.list.5.xml:61
6567 "The <literal>deb</literal> type describes a typical two-level Debian "
6568 "archive, <filename>distribution/component</filename>. Typically, "
6569 "<literal>distribution</literal> is generally one of <literal>stable</"
6570 "literal> <literal>unstable</literal> or <literal>testing</literal> while "
6571 "component is one of <literal>main</literal> <literal>contrib</literal> "
6572 "<literal>non-free</literal> or <literal>non-us</literal>. The <literal>deb-"
6573 "src</literal> type describes a debian distribution's source code in the same "
6574 "form as the <literal>deb</literal> type. A <literal>deb-src</literal> line "
6575 "is required to fetch source indexes."
6578 #. type: Content of: <refentry><refsect1><para>
6579 #: sources.list.5.xml:73
6581 "The format for a <filename>sources.list</filename> entry using the "
6582 "<literal>deb</literal> and <literal>deb-src</literal> types is:"
6585 #. type: Content of: <refentry><refsect1><literallayout>
6586 #: sources.list.5.xml:76
6588 msgid "deb uri distribution [component1] [component2] [...]"
6591 #. type: Content of: <refentry><refsect1><para>
6592 #: sources.list.5.xml:78
6594 "The URI for the <literal>deb</literal> type must specify the base of the "
6595 "Debian distribution, from which APT will find the information it needs. "
6596 "<literal>distribution</literal> can specify an exact path, in which case the "
6597 "components must be omitted and <literal>distribution</literal> must end with "
6598 "a slash (/). This is useful for when the case only a particular sub-section "
6599 "of the archive denoted by the URI is of interest. If <literal>distribution</"
6600 "literal> does not specify an exact path, at least one <literal>component</"
6601 "literal> must be present."
6604 #. type: Content of: <refentry><refsect1><para>
6605 #: sources.list.5.xml:87
6607 "<literal>distribution</literal> may also contain a variable, <literal>$(ARCH)"
6608 "</literal> which expands to the Debian architecture (i386, m68k, "
6609 "powerpc, ...) used on the system. This permits architecture-independent "
6610 "<filename>sources.list</filename> files to be used. In general this is only "
6611 "of interest when specifying an exact path, <literal>APT</literal> will "
6612 "automatically generate a URI with the current architecture otherwise."
6615 #. type: Content of: <refentry><refsect1><para>
6616 #: sources.list.5.xml:95
6618 "Since only one distribution can be specified per line it may be necessary to "
6619 "have multiple lines for the same URI, if a subset of all available "
6620 "distributions or components at that location is desired. APT will sort the "
6621 "URI list after it has generated a complete set internally, and will collapse "
6622 "multiple references to the same Internet host, for instance, into a single "
6623 "connection, so that it does not inefficiently establish an FTP connection, "
6624 "close it, do something else, and then re-establish a connection to that same "
6625 "host. This feature is useful for accessing busy FTP sites with limits on the "
6626 "number of simultaneous anonymous users. APT also parallelizes connections to "
6627 "different hosts to more effectively deal with sites with low bandwidth."
6630 #. type: Content of: <refentry><refsect1><para>
6631 #: sources.list.5.xml:107
6633 "It is important to list sources in order of preference, with the most "
6634 "preferred source listed first. Typically this will result in sorting by "
6635 "speed from fastest to slowest (CD-ROM followed by hosts on a local network, "
6636 "followed by distant Internet hosts, for example)."
6639 #. type: Content of: <refentry><refsect1><para>
6640 #: sources.list.5.xml:112
6641 msgid "Some examples:"
6644 #. type: Content of: <refentry><refsect1><literallayout>
6645 #: sources.list.5.xml:114
6648 "deb http://http.us.debian.org/debian stable main contrib non-free\n"
6649 "deb http://http.us.debian.org/debian dists/stable-updates/\n"
6653 #. type: Content of: <refentry><refsect1><title>
6654 #: sources.list.5.xml:120
6655 msgid "URI specification"
6658 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
6659 #: sources.list.5.xml:125
6663 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6664 #: sources.list.5.xml:127
6666 "The file scheme allows an arbitrary directory in the file system to be "
6667 "considered an archive. This is useful for NFS mounts and local mirrors or "
6671 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6672 #: sources.list.5.xml:134
6674 "The cdrom scheme allows APT to use a local CDROM drive with media swapping. "
6675 "Use the &apt-cdrom; program to create cdrom entries in the source list."
6678 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6679 #: sources.list.5.xml:141
6681 "The http scheme specifies an HTTP server for the archive. If an environment "
6682 "variable <envar>http_proxy</envar> is set with the format http://server:"
6683 "port/, the proxy server specified in <envar>http_proxy</envar> will be used. "
6684 "Users of authenticated HTTP/1.1 proxies may use a string of the format "
6685 "http://user:pass@server:port/. Note that this is an insecure method of "
6689 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6690 #: sources.list.5.xml:152
6692 "The ftp scheme specifies an FTP server for the archive. APT's FTP behavior "
6693 "is highly configurable; for more information see the &apt-conf; manual page. "
6694 "Please note that a ftp proxy can be specified by using the <envar>ftp_proxy</"
6695 "envar> environment variable. It is possible to specify a http proxy (http "
6696 "proxy servers often understand ftp urls) using this method and ONLY this "
6697 "method. ftp proxies using http specified in the configuration file will be "
6701 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
6702 #: sources.list.5.xml:161
6706 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6707 #: sources.list.5.xml:163
6709 "The copy scheme is identical to the file scheme except that packages are "
6710 "copied into the cache directory instead of used directly at their location. "
6711 "This is useful for people using a zip disk to copy files around with APT."
6714 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
6715 #: sources.list.5.xml:168
6719 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
6720 #: sources.list.5.xml:168
6724 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6725 #: sources.list.5.xml:170
6727 "The rsh/ssh method invokes rsh/ssh to connect to a remote host as a given "
6728 "user and access the files. It is a good idea to do prior arrangements with "
6729 "RSA keys or rhosts. Access to files on the remote uses standard "
6730 "<command>find</command> and <command>dd</command> commands to perform the "
6731 "file transfers from the remote."
6734 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term>
6735 #: sources.list.5.xml:178
6736 msgid "more recongnizable URI types"
6739 #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para>
6740 #: sources.list.5.xml:180
6742 "APT can be extended with more methods shipped in other optional packages "
6743 "which should follow the nameing scheme <literal>apt-transport-"
6744 "<replaceable>method</replaceable></literal>. The APT team e.g. maintain "
6745 "also the <literal>apt-transport-https</literal> package which provides "
6746 "access methods for https-URIs with features similiar to the http method, but "
6747 "other methods for using e.g. debtorrent are also available, see "
6748 "<citerefentry> <refentrytitle><filename>apt-transport-debtorrent</filename></"
6749 "refentrytitle> <manvolnum>1</manvolnum></citerefentry>."
6752 #. type: Content of: <refentry><refsect1><para>
6753 #: sources.list.5.xml:122
6755 "The currently recognized URI types are cdrom, file, http, ftp, copy, ssh, "
6756 "rsh. <placeholder type=\"variablelist\" id=\"0\"/>"
6759 #. type: Content of: <refentry><refsect1><para>
6760 #: sources.list.5.xml:194
6762 "Uses the archive stored locally (or NFS mounted) at /home/jason/debian for "
6763 "stable/main, stable/contrib, and stable/non-free."
6766 #. type: Content of: <refentry><refsect1><literallayout>
6767 #: sources.list.5.xml:196
6769 msgid "deb file:/home/jason/debian stable main contrib non-free"
6772 #. type: Content of: <refentry><refsect1><para>
6773 #: sources.list.5.xml:198
6774 msgid "As above, except this uses the unstable (development) distribution."
6777 #. type: Content of: <refentry><refsect1><literallayout>
6778 #: sources.list.5.xml:199
6780 msgid "deb file:/home/jason/debian unstable main contrib non-free"
6783 #. type: Content of: <refentry><refsect1><para>
6784 #: sources.list.5.xml:201
6785 msgid "Source line for the above"
6788 #. type: Content of: <refentry><refsect1><literallayout>
6789 #: sources.list.5.xml:202
6791 msgid "deb-src file:/home/jason/debian unstable main contrib non-free"
6794 #. type: Content of: <refentry><refsect1><para>
6795 #: sources.list.5.xml:204
6797 "Uses HTTP to access the archive at archive.debian.org, and uses only the "
6801 #. type: Content of: <refentry><refsect1><literallayout>
6802 #: sources.list.5.xml:206
6804 msgid "deb http://archive.debian.org/debian-archive hamm main"
6807 #. type: Content of: <refentry><refsect1><para>
6808 #: sources.list.5.xml:208
6810 "Uses FTP to access the archive at ftp.debian.org, under the debian "
6811 "directory, and uses only the stable/contrib area."
6814 #. type: Content of: <refentry><refsect1><literallayout>
6815 #: sources.list.5.xml:210
6817 msgid "deb ftp://ftp.debian.org/debian stable contrib"
6820 #. type: Content of: <refentry><refsect1><para>
6821 #: sources.list.5.xml:212
6823 "Uses FTP to access the archive at ftp.debian.org, under the debian "
6824 "directory, and uses only the unstable/contrib area. If this line appears as "
6825 "well as the one in the previous example in <filename>sources.list</filename> "
6826 "a single FTP session will be used for both resource lines."
6829 #. type: Content of: <refentry><refsect1><literallayout>
6830 #: sources.list.5.xml:216
6832 msgid "deb ftp://ftp.debian.org/debian unstable contrib"
6835 #. type: Content of: <refentry><refsect1><para>
6836 #: sources.list.5.xml:218
6838 "Uses HTTP to access the archive at nonus.debian.org, under the debian-non-US "
6842 #. type: Content of: <refentry><refsect1><literallayout>
6843 #: sources.list.5.xml:220
6845 msgid "deb http://nonus.debian.org/debian-non-US stable/non-US main contrib non-free"
6848 #. type: Content of: <refentry><refsect1><para><literallayout>
6849 #: sources.list.5.xml:229
6851 msgid "deb http://ftp.de.debian.org/debian-non-US unstable/binary-$(ARCH)/"
6854 #. type: Content of: <refentry><refsect1><para>
6855 #: sources.list.5.xml:222
6857 "Uses HTTP to access the archive at nonus.debian.org, under the debian-non-US "
6858 "directory, and uses only files found under <filename>unstable/binary-i386</"
6859 "filename> on i386 machines, <filename>unstable/binary-m68k</filename> on "
6860 "m68k, and so forth for other supported architectures. [Note this example "
6861 "only illustrates how to use the substitution variable; non-us is no longer "
6862 "structured like this] <placeholder type=\"literallayout\" id=\"0\"/>"
6865 #. type: Content of: <refentry><refsect1><para>
6866 #: sources.list.5.xml:234
6867 msgid "&apt-cache; &apt-conf;"
6870 #. type: <title></title>
6872 msgid "APT User's Guide"
6875 #. type: <author></author>
6876 #: guide.sgml:6 offline.sgml:6
6878 msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
6879 msgstr "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>"
6881 #. type: <version></version>
6884 msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $"
6885 msgstr "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
6887 #. type: <abstract></abstract>
6890 "This document provides an overview of how to use the the APT package manager."
6893 #. type: <copyrightsummary></copyrightsummary>
6896 msgid "Copyright © Jason Gunthorpe, 1998."
6897 msgstr "Copyright © Jason Gunthorpe, 1999."
6900 #: guide.sgml:21 offline.sgml:22
6903 "\"APT\" and this document are free software; you can redistribute them and/"
6904 "or modify them under the terms of the GNU General Public License as "
6905 "published by the Free Software Foundation; either version 2 of the License, "
6906 "or (at your option) any later version."
6908 "\"APT\" i ten dokument s± oprogramowaniem wolnodostêpnym; mo¿esz "
6909 "rozpowszechniaæ je i/lub zmieniaæ w zgodzie z postanowieniami \"Ogólnej "
6910 "Licencji Publicznej GNU\" (GNU General Public License) takiej, jak zosta³a "
6911 "opublikowana przez \"Fundacje Wolnego Oprogramowania (Free Software "
6912 "Foundation); albo w wersji 2 tej¿e licencji, albo (twój wybór) w dowolnej "
6916 #: guide.sgml:24 offline.sgml:25
6919 "For more details, on Debian GNU/Linux systems, see the file /usr/share/"
6920 "common-licenses/GPL for the full license."
6922 "Wiêcej szczegó³ów mo¿na uzyskaæ, przegl±daj±c plik zawieraj±cy pe³ny tekst "
6923 "licencji (w systemach Debian jest to plik /usr/share/common-licenses/GPL)."
6925 #. type: <heading></heading>
6933 "The APT package currently contains two sections, the APT <prgn>dselect</"
6934 "prgn> method and the <prgn>apt-get</prgn> command line user interface. Both "
6935 "provide a way to install and remove packages as well as download new "
6936 "packages from the Internet."
6939 #. type: <heading></heading>
6941 msgid "Anatomy of the Package System"
6947 "The Debian packaging system has a large amount of information associated "
6948 "with each package to help assure that it integrates cleanly and easily into "
6949 "the system. The most prominent of its features is the dependency system."
6955 "The dependency system allows individual programs to make use of shared "
6956 "elements in the system such as libraries. It simplifies placing infrequently "
6957 "used portions of a program in separate packages to reduce the number of "
6958 "things the average user is required to install. Also, it allows for choices "
6959 "in mail transport agents, X servers and so on."
6965 "The first step to understanding the dependency system is to grasp the "
6966 "concept of a simple dependency. The meaning of a simple dependency is that a "
6967 "package requires another package to be installed at the same time to work "
6974 "For instance, mailcrypt is an emacs extension that aids in encrypting email "
6975 "with GPG. Without GPGP installed mail-crypt is useless, so mailcrypt has a "
6976 "simple dependency on GPG. Also, because it is an emacs extension it has a "
6977 "simple dependency on emacs, without emacs it is completely useless."
6983 "The other important dependency to understand is a conflicting dependency. It "
6984 "means that a package, when installed with another package, will not work and "
6985 "may possibly be extremely harmful to the system. As an example consider a "
6986 "mail transport agent such as sendmail, exim or qmail. It is not possible to "
6987 "have two mail transport agents installed because both need to listen to the "
6988 "network to receive mail. Attempting to install two will seriously damage the "
6989 "system so all mail transport agents have a conflicting dependency with all "
6990 "other mail transport agents."
6996 "As an added complication there is the possibility for a package to pretend "
6997 "to be another package. Consider that exim and sendmail for many intents are "
6998 "identical, they both deliver mail and understand a common interface. Hence, "
6999 "the package system has a way for them to declare that they are both mail-"
7000 "transport-agents. So, exim and sendmail both declare that they provide a "
7001 "mail-transport-agent and other packages that need a mail transport agent "
7002 "depend on mail-transport-agent. This can add a great deal of confusion when "
7003 "trying to manually fix packages."
7009 "At any given time a single dependency may be met by packages that are "
7010 "already installed or it may not be. APT attempts to help resolve dependency "
7011 "issues by providing a number of automatic algorithms that help in selecting "
7012 "packages for installation."
7018 "<prgn>apt-get</prgn> provides a simple way to install packages from the "
7019 "command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not "
7020 "understand .deb files, it works with the package's proper name and can only "
7021 "install .deb archives from a <em>Source</em>."
7027 "The first <footnote><p>If you are using an http proxy server you must set "
7028 "the http_proxy environment variable first, see sources.list(5)</p></"
7029 "footnote> thing that should be done before using <prgn>apt-get</prgn> is to "
7030 "fetch the package lists from the <em>Sources</em> so that it knows what "
7031 "packages are available. This is done with <tt>apt-get update</tt>. For "
7035 #. type: <example></example>
7039 "# apt-get update\n"
7040 "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n"
7041 "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7042 "Reading Package Lists... Done\n"
7043 "Building Dependency Tree... Done"
7046 #. type: <p><taglist>
7048 msgid "Once updated there are several commands that can be used:"
7054 "Upgrade will attempt to gently upgrade the whole system. Upgrade will never "
7055 "install a new package or remove an existing package, nor will it ever "
7056 "upgrade a package that might cause some other package to break. This can be "
7057 "used daily to relatively safely upgrade the system. Upgrade will list all of "
7058 "the packages that it could not upgrade, this usually means that they depend "
7059 "on new packages or conflict with some other package. <prgn>dselect</prgn> or "
7060 "<tt>apt-get install</tt> can be used to force these packages to install."
7066 "Install is used to install packages by name. The package is automatically "
7067 "fetched and installed. This can be useful if you already know the name of "
7068 "the package to install and do not want to go into a GUI to select it. Any "
7069 "number of packages may be passed to install, they will all be fetched. "
7070 "Install automatically attempts to resolve dependency problems with the "
7071 "listed packages and will print a summary and ask for confirmation if "
7072 "anything other than its arguments are changed."
7078 "Dist-upgrade is a complete upgrader designed to simplify upgrading between "
7079 "releases of Debian. It uses a sophisticated algorithm to determine the best "
7080 "set of packages to install, upgrade and remove to get as much of the system "
7081 "to the newest release. In some situations it may be desired to use dist-"
7082 "upgrade rather than spend the time manually resolving dependencies in "
7083 "<prgn>dselect</prgn>. Once dist-upgrade has completed then <prgn>dselect</"
7084 "prgn> can be used to install any packages that may have been left out."
7090 "It is important to closely look at what dist-upgrade is going to do, its "
7091 "decisions may sometimes be quite surprising."
7097 "<prgn>apt-get</prgn> has several command line options that are detailed in "
7098 "its man page, <manref section=\"8\" name=\"apt-get\">. The most useful "
7099 "option is <tt>-d</tt> which does not install the fetched files. If the "
7100 "system has to download a large number of package it would be undesired to "
7101 "start installing them in case something goes wrong. When <tt>-d</tt> is used "
7102 "the downloaded archives can be installed by simply running the command that "
7103 "caused them to be downloaded again without <tt>-d</tt>."
7106 #. type: <heading></heading>
7114 "The APT <prgn>dselect</prgn> method provides the complete APT system with "
7115 "the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used "
7116 "to select the packages to be installed or removed and APT actually installs "
7123 "To enable the APT method you need to to select [A]ccess in <prgn>dselect</"
7124 "prgn> and then choose the APT method. You will be prompted for a set of "
7125 "<em>Sources</em> which are places to fetch archives from. These can be "
7126 "remote Internet sites, local Debian mirrors or CDROMs. Each source can "
7127 "provide a fragment of the total Debian archive, APT will automatically "
7128 "combine them to form a complete set of packages. If you have a CDROM then it "
7129 "is a good idea to specify it first and then specify a mirror so that you "
7130 "have access to the latest bug fixes. APT will automatically use packages on "
7131 "your CDROM before downloading from the Internet."
7134 #. type: <example></example>
7138 " Set up a list of distribution source locations\n"
7140 " Please give the base URL of the debian distribution.\n"
7141 " The access schemes I know about are: http file\n"
7144 " file:/mnt/debian,\n"
7145 " ftp://ftp.debian.org/debian,\n"
7146 " http://ftp.de.debian.org/debian,\n"
7149 " URL [http://llug.sep.bnl.gov/debian]:"
7155 "The <em>Sources</em> setup starts by asking for the base of the Debian "
7156 "archive, defaulting to a HTTP mirror. Next it asks for the distribution to "
7160 #. type: <example></example>
7164 " Please give the distribution tag to get or a path to the\n"
7165 " package file ending in a /. The distribution\n"
7166 " tags are typically something like: stable unstable testing non-US\n"
7168 " Distribution [stable]:"
7174 "The distribution refers to the Debian version in the archive, <em>stable</"
7175 "em> refers to the latest released version and <em>unstable</em> refers to "
7176 "the developmental version. <em>non-US</em> is only available on some mirrors "
7177 "and refers to packages that contain encryption technology or other things "
7178 "that cannot be exported from the United States. Importing these packages "
7179 "into the US is legal however."
7182 #. type: <example></example>
7186 " Please give the components to get\n"
7187 " The components are typically something like: main contrib non-free\n"
7189 " Components [main contrib non-free]:"
7195 "The components list refers to the list of sub distributions to fetch. The "
7196 "distribution is split up based on software licenses, main being DFSG free "
7197 "packages while contrib and non-free contain things that have various "
7198 "restrictions placed on their use and distribution."
7204 "Any number of sources can be added, the setup script will continue to prompt "
7205 "until you have specified all that you want."
7211 "Before starting to use <prgn>dselect</prgn> it is necessary to update the "
7212 "available list by selecting [U]pdate from the menu. This is a super-set of "
7213 "<tt>apt-get update</tt> that makes the fetched information available to "
7214 "<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get update</"
7215 "tt> has been run before."
7221 "You can then go on and make your selections using [S]elect and then perform "
7222 "the installation using [I]nstall. When using the APT method the [C]onfig and "
7223 "[R]emove commands have no meaning, the [I]nstall command performs both of "
7230 "By default APT will automatically remove the package (.deb) files once they "
7231 "have been successfully installed. To change this behavior place <tt>Dselect::"
7232 "clean \"prompt\";</tt> in /etc/apt/apt.conf."
7235 #. type: <heading></heading>
7237 msgid "The Interface"
7243 "Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the "
7244 "same interface. It is a simple system that generally tells you what it will "
7245 "do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method "
7246 "actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method "
7247 "actually provides more functionality than is present in <prgn>apt-get</prgn> "
7248 "alone.</p></footnote> After printing out a summary of what will happen APT "
7249 "then will print out some informative status messages so that you can "
7250 "estimate how far along it is and how much is left to do."
7253 #. type: <heading></heading>
7261 "Before all operations except update, APT performs a number of actions to "
7262 "prepare its internal state. It also does some checks of the system's state. "
7263 "At any time these operations can be performed by running <tt>apt-get check</"
7267 #. type: <example></example>
7272 "Reading Package Lists... Done\n"
7273 "Building Dependency Tree... Done"
7279 "The first thing it does is read all the package files into memory. APT uses "
7280 "a caching scheme so this operation will be faster the second time it is run. "
7281 "If some of the package files are not found then they will be ignored and a "
7282 "warning will be printed when apt-get exits."
7288 "The final operation performs a detailed analysis of the system's "
7289 "dependencies. It checks every dependency of every installed or unpacked "
7290 "package and considers if it is OK. Should this find a problem then a report "
7291 "will be printed out and <prgn>apt-get</prgn> will refuse to run."
7294 #. type: <example></example>
7299 "Reading Package Lists... Done\n"
7300 "Building Dependency Tree... Done\n"
7301 "You might want to run apt-get -f install' to correct these.\n"
7302 "Sorry, but the following packages have unmet dependencies:\n"
7303 " 9fonts: Depends: xlib6g but it is not installed\n"
7304 " uucp: Depends: mailx but it is not installed\n"
7305 " blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n"
7306 " adduser: Depends: perl-base but it is not installed\n"
7307 " aumix: Depends: libgpmg1 but it is not installed\n"
7308 " debiandoc-sgml: Depends: sgml-base but it is not installed\n"
7309 " bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n"
7310 " cthugha: Depends: svgalibg1 but it is not installed\n"
7311 " Depends: xlib6g (>= 3.3-5) but it is not installed\n"
7312 " libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)"
7318 "In this example the system has many problems, including a serious problem "
7319 "with libreadlineg2. For each package that has unmet dependencies a line is "
7320 "printed out indicating the package with the problem and the dependencies "
7321 "that are unmet. A short explanation of why the package has a dependency "
7322 "problem is also included."
7328 "There are two ways a system can get into a broken state like this. The first "
7329 "is caused by <prgn>dpkg</prgn> missing some subtle relationships between "
7330 "packages when performing upgrades. <footnote><p>APT however considers all "
7331 "known dependencies and attempts to prevent broken packages</p></footnote>. "
7332 "The second is if a package installation fails during an operation. In this "
7333 "situation a package may have been unpacked without its dependents being "
7340 "The second situation is much less serious than the first because APT places "
7341 "certain constraints on the order that packages are installed. In both cases "
7342 "supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to "
7343 "deduce a possible solution to the problem and then continue on. The APT "
7344 "<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow "
7345 "for easy continuation of failed maintainer scripts."
7351 "However, if the <tt>-f</tt> option is used to correct a seriously broken "
7352 "system caused by the first case then it is possible that it will either fail "
7353 "immediately or the installation sequence will fail. In either case it is "
7354 "necessary to manually use dpkg (possibly with forcing options) to correct "
7355 "the situation enough to allow APT to proceed."
7358 #. type: <heading></heading>
7360 msgid "The Status Report"
7366 "Before proceeding <prgn>apt-get</prgn> will present a report on what will "
7367 "happen. Generally the report reflects the type of operation being performed "
7368 "but there are several common elements. In all cases the lists reflect the "
7369 "final state of things, taking into account the <tt>-f</tt> option and any "
7370 "other relevant activities to the command being executed."
7373 #. type: <heading></heading>
7375 msgid "The Extra Package list"
7378 #. type: <example></example>
7382 "The following extra packages will be installed:\n"
7383 " libdbd-mysql-perl xlib6 zlib1 xzx libreadline2 libdbd-msql-perl\n"
7384 " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n"
7385 " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n"
7386 " squake pgp-i python-base debmake ldso perl libreadlineg2\n"
7393 "The Extra Package list shows all of the packages that will be installed or "
7394 "upgraded in excess of the ones mentioned on the command line. It is only "
7395 "generated for an <tt>install</tt> command. The listed packages are often the "
7396 "result of an Auto Install."
7399 #. type: <heading></heading>
7401 msgid "The Packages to Remove"
7404 #. type: <example></example>
7408 "The following packages will be REMOVED:\n"
7409 " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n"
7410 " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n"
7411 " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n"
7418 "The Packages to Remove list shows all of the packages that will be removed "
7419 "from the system. It can be shown for any of the operations and should be "
7420 "given a careful inspection to ensure nothing important is to be taken off. "
7421 "The <tt>-f</tt> option is especially good at generating packages to remove "
7422 "so extreme care should be used in that case. The list may contain packages "
7423 "that are going to be removed because they are only partially installed, "
7424 "possibly due to an aborted installation."
7427 #. type: <heading></heading>
7429 msgid "The New Packages list"
7432 #. type: <example></example>
7436 "The following NEW packages will installed:\n"
7437 " zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base"
7443 "The New Packages list is simply a reminder of what will happen. The packages "
7444 "listed are not presently installed in the system but will be when APT is "
7448 #. type: <heading></heading>
7450 msgid "The Kept Back list"
7453 #. type: <example></example>
7457 "The following packages have been kept back\n"
7458 " compface man-db tetex-base msql libpaper svgalib1\n"
7459 " gs snmp arena lynx xpat2 groff xscreensaver"
7465 "Whenever the whole system is being upgraded there is the possibility that "
7466 "new versions of packages cannot be installed because they require new things "
7467 "or conflict with already installed things. In this case the package will "
7468 "appear in the Kept Back list. The best way to convince packages listed there "
7469 "to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> "
7470 "to resolve their problems."
7473 #. type: <heading></heading>
7475 msgid "Held Packages warning"
7478 #. type: <example></example>
7482 "The following held packages will be changed:\n"
7489 "Sometimes you can ask APT to install a package that is on hold, in such a "
7490 "case it prints out a warning that the held package is going to be changed. "
7491 "This should only happen during dist-upgrade or install."
7494 #. type: <heading></heading>
7496 msgid "Final summary"
7502 "Finally, APT will print out a summary of all the changes that will occur."
7505 #. type: <example></example>
7509 "206 packages upgraded, 8 newly installed, 23 to remove and 51 not upgraded.\n"
7510 "12 packages not fully installed or removed.\n"
7511 "Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used."
7517 "The first line of the summary simply is a reduced version of all of the "
7518 "lists and includes the number of upgrades - that is packages already "
7519 "installed that have new versions available. The second line indicates the "
7520 "number of poorly configured packages, possibly the result of an aborted "
7521 "installation. The final line shows the space requirements that the "
7522 "installation needs. The first pair of numbers refer to the size of the "
7523 "archive files. The first number indicates the number of bytes that must be "
7524 "fetched from remote locations and the second indicates the total size of all "
7525 "the archives required. The next number indicates the size difference between "
7526 "the presently installed packages and the newly installed packages. It is "
7527 "roughly equivalent to the space required in /usr after everything is done. "
7528 "If a large number of packages are being removed then the value may indicate "
7529 "the amount of space that will be freed."
7535 "Some other reports can be generated by using the -u option to show packages "
7536 "to upgrade, they are similar to the previous examples."
7539 #. type: <heading></heading>
7541 msgid "The Status Display"
7547 "During the download of archives and package files APT prints out a series of "
7551 #. type: <example></example>
7555 "# apt-get update\n"
7556 "Get:1 http://ftp.de.debian.org/debian-non-US/ stable/non-US/ Packages\n"
7557 "Get:2 http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n"
7558 "Hit http://llug.sep.bnl.gov/debian/ testing/main Packages\n"
7559 "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ Packages\n"
7560 "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n"
7561 "11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s"
7567 "The lines starting with <em>Get</em> are printed out when APT begins to "
7568 "fetch a file while the last line indicates the progress of the download. The "
7569 "first percent value on the progress line indicates the total percent done of "
7570 "all files. Unfortunately since the size of the Package files is unknown "
7571 "<tt>apt-get update</tt> estimates the percent done which causes some "
7578 "The next section of the status line is repeated once for each download "
7579 "thread and indicates the operation being performed and some useful "
7580 "information about what is happening. Sometimes this section will simply read "
7581 "<em>Forking</em> which means the OS is loading the download module. The "
7582 "first word after the [ is the fetch number as shown on the history lines. "
7583 "The next word is the short form name of the object being downloaded. For "
7584 "archives it will contain the name of the package that is being fetched."
7590 "Inside of the single quote is an informative string indicating the progress "
7591 "of the negotiation phase of the download. Typically it progresses from "
7592 "<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or "
7593 "<em>Resuming</em>. The final value is the number of bytes downloaded from "
7594 "the remote site. Once the download begins this is represented as "
7595 "<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 "
7596 "kilobytes is expected. The total size is always shown in 4 figure notation "
7597 "to preserve space. After the size display is a percent meter for the file "
7598 "itself. The second last element is the instantaneous average speed. This "
7599 "values is updated every 5 seconds and reflects the rate of data transfer for "
7600 "that period. Finally is shown the estimated transfer time. This is updated "
7601 "regularly and reflects the time to complete everything at the shown transfer "
7608 "The status display updates every half second to provide a constant feedback "
7609 "on the download progress while the Get lines scroll back whenever a new file "
7610 "is started. Since the status display is constantly updated it is unsuitable "
7611 "for logging to a file, use the <tt>-q</tt> option to remove the status "
7615 #. type: <heading></heading>
7623 "APT uses <prgn>dpkg</prgn> for installing the archives and will switch over "
7624 "to the <prgn>dpkg</prgn> interface once downloading is completed. "
7625 "<prgn>dpkg</prgn> will also ask a number of questions as it processes the "
7626 "packages and the packages themselves may also ask several questions. Before "
7627 "each question there is usually a description of what it is asking and the "
7628 "questions are too varied to discuss completely here."
7631 #. type: <title></title>
7634 msgid "Using APT Offline"
7635 msgstr "U¿ywanie APT w trybie offline"
7637 #. type: <version></version>
7640 msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
7641 msgstr "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $"
7643 #. type: <abstract></abstract>
7647 "This document describes how to use APT in a non-networked environment, "
7648 "specifically a 'sneaker-net' approach for performing upgrades."
7650 "Dokument ten opisuje u¿ywanie programu APT w ¶rodowiskach pozbawionych "
7651 "dostêpu, do sieci, a w szczególno¶ci metodê pozwalaj±c± na robienie "
7652 "aktualizacji systemu."
7654 #. type: <copyrightsummary></copyrightsummary>
7657 msgid "Copyright © Jason Gunthorpe, 1999."
7658 msgstr "Copyright © Jason Gunthorpe, 1999."
7660 #. type: <heading></heading>
7663 msgid "Introduction"
7666 #. type: <heading></heading>
7667 #: offline.sgml:34 offline.sgml:65 offline.sgml:180
7670 msgstr "Wprowadzenie"
7676 "Normally APT requires direct access to a Debian archive, either from a local "
7677 "media or through a network. Another common complaint is that a Debian "
7678 "machine is on a slow link, such as a modem and another machine has a very "
7679 "fast connection but they are physically distant."
7681 "Normalnie APT wymaga bezpo¶redniego dostêpu do archiwów Debiana przez sieæ "
7682 "lokaln± albo przez sieæ internetow±. Kolejn± niedogodno¶ci± mo¿e byæ fakt, "
7683 "¿e nasz komputer, który pracuje na powolnym ³±czu takim jak modem, jest "
7684 "znacznie oddalony od innego komputera z szybkim ³±czem."
7690 "The solution to this is to use large removable media such as a Zip disc or a "
7691 "SuperDisk disc. These discs are not large enough to store the entire Debian "
7692 "archive but can easily fit a subset large enough for most users. The idea is "
7693 "to use APT to generate a list of packages that are required and then fetch "
7694 "them onto the disc using another machine with good connectivity. It is even "
7695 "possible to use another Debian machine with APT or to use a completely "
7696 "different OS and a download tool like wget. Let <em>remote host</em> mean "
7697 "the machine downloading the packages, and <em>target host</em> the one with "
7698 "bad or no connection."
7700 "Rozwi±zaniem tego problemu jest u¿ycie pojemnych przeno¶nych no¶ników takich "
7701 "jak dyskietka Zip lub dysk SuperDisk. No¶niki te nie s± wystarczaj±co "
7702 "pojemne, by zgromadziæ kompletne archiwum Debiana, ale mo¿na ¶mia³o "
7703 "dopasowaæ podzbiór du¿ego archiwum wystarczaj±cy dla wiêkszo¶ci "
7704 "u¿ytkowników. Pomys³ polega na tym, by u¿yæ programu APT do wygenerowania "
7705 "listy pakietów, które s± wymagane, a nastêpnie pobraniu ich na dysk, u¿ywaj"
7706 "±c innego komputera z w³a¶ciw± zwarto¶ci±. Jest nawet mo¿liwe, by u¿yæ "
7707 "innego komputera z Debianem z zainstalowanym programem APT lub zupe³nie "
7708 "innym systemem operacyjnym i programem narzêdziowym do pobierania plików "
7715 "This is achieved by creatively manipulating the APT configuration file. The "
7716 "essential premis to tell APT to look on a disc for it's archive files. Note "
7717 "that the disc should be formated with a filesystem that can handle long file "
7718 "names such as ext2, fat32 or vfat."
7720 "Osi±gane jest to przez twórcze manipulowanie plikiem konfiguracyjnym "
7721 "programu APT. Rzecz± niezbêdn± jest poinformowanie programu APT, aby "
7722 "wskazywa³ na dysk z plikami archiwum. Nale¿y zauwa¿yæ, ¿e dysk powinien byæ "
7723 "sformatowany do obs³ugi systemu plików pozwalaj±cego pos³ugiwaæ siê d³ugimi "
7724 "nazwami plików (np. ext2, fat32 albo vfat)."
7726 #. type: <heading></heading>
7729 msgid "Using APT on both machines"
7730 msgstr "U¿ywanie programu APT na obu komputerach"
7732 #. type: <p><example>
7736 "APT being available on both machines gives the simplest configuration. The "
7737 "basic idea is to place a copy of the status file on the disc and use the "
7738 "remote machine to fetch the latest package files and decide which packages "
7739 "to download. The disk directory structure should look like:"
7741 "APT bêd±cy do dyspozycji na obu komputerach daje najprostsz± kombinacjê. "
7742 "Zasadniczym pomys³em tej metody jest umieszczenie kopii pliku status na "
7743 "dysku i u¿ycie odleg³ego komputera, aby uzyskaæ najnowsze pliki pakietów i "
7744 "zdecydowaæ, które pakiety trzeba pobraæ. Struktura katalogów na dysku "
7745 "powinna wygl±daæ nastêpuj±co:"
7747 #. type: <example></example>
7769 #. type: <heading></heading>
7772 msgid "The configuration file"
7773 msgstr "Plik konfiguracyjny"
7779 "The configuration file should tell APT to store its files on the disc and to "
7780 "use the configuration files on the disc as well. The sources.list should "
7781 "contain the proper sites that you wish to use from the remote machine, and "
7782 "the status file should be a copy of <em>/var/lib/dpkg/status</em> from the "
7783 "<em>target host</em>. Please note, if you are using a local archive you must "
7784 "use copy URIs, the syntax is identical to file URIs."
7786 "Plik konfiguracyjny powinien informowaæ program APT, aby przechowywa³ swoje "
7787 "pliki na dysku, a tak¿e u¿ywa³ plików konfiguracyjnych z dysku. Plik sources."
7788 "list powinien zawieraæ prawid³owe odno¶niki, których nale¿y u¿yæ na zdalnym "
7789 "komputerze, a plik status powinien byæ kopi± <em>/var/lib/dpkg/status</em>. "
7790 "Zauwa¿, ¿e je¶li u¿ywasz lokalnego archiwum musisz u¿yæ tych samych "
7791 "odno¶ników o identycznej sk³adni."
7793 #. type: <p><example>
7797 "<em>apt.conf</em> must contain the necessary information to make APT use the "
7800 "<em>apt.conf</em> musi zawieraæ niezbêdne wpisy, by APT korzysta³ z dysku:"
7802 #. type: <example></example>
7808 " /* This is not necessary if the two machines are the same arch, it tells\n"
7809 " the remote APT what architecture the target machine is */\n"
7810 " Architecture \"i386\";\n"
7812 " Get::Download-Only \"true\";\n"
7817 " /* Use the disc for state information and redirect the status file from\n"
7818 " the /var/lib/dpkg default */\n"
7819 " State \"/disc/\";\n"
7820 " State::status \"status\";\n"
7822 " // Binary caches will be stored locally\n"
7823 " Cache::archives \"/disc/archives/\";\n"
7824 " Cache \"/tmp/\";\n"
7826 " // Location of the source list.\n"
7827 " Etc \"/disc/\";\n"
7832 " /* Ten wpis nie jest wymagany, je¶li oba komputery maj± tê sam±\n"
7833 " architekturê; mówi on programowi APT na komputerze pobieraj±cym \n"
7834 " pakiety, jaka jest architektura naszego komputera */\n"
7835 " Architecture \"i386\";\n"
7837 " Get::Download-Only \"true\";\n"
7842 " /* U¿yj katalogu disc na informacje stanu i przekieruj plik status\n"
7843 " z domy¶lnego /var/lib/dpkg */\n"
7844 " State \"/disc/\";\n"
7845 " State::status \"status\";\n"
7847 " // Katalog lokalnie przechowywanych pakietów binarnych\n"
7848 " Cache::archives \"/disc/archives/\";\n"
7850 " Cache \"/tmp/\";\n"
7852 " // Lokalizacja pliku sources.list.\n"
7856 #. type: </example></p>
7860 "More details can be seen by examining the apt.conf man page and the sample "
7861 "configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>."
7863 "Wiêcej szczegó³ów mo¿na zobaczyæ w stronie podrêcznika apt.conf i w "
7864 "przyk³adowym pliku konfiguracyjnym <em>/usr/share/doc/apt/examples/apt.conf</"
7867 #. type: <p><example>
7871 "On the target machine the first thing to do is mount the disc and copy <em>/"
7872 "var/lib/dpkg/status</em> to it. You will also need to create the directories "
7873 "outlined in the Overview, <em>archives/partial/</em> and <em>lists/partial/</"
7874 "em> Then take the disc to the remote machine and configure the sources.list. "
7875 "On the remote machine execute the following:"
7877 "Pierwsz± rzecz±, jak± nale¿y zrobiæ na oddalonym komputerze z Debianem to "
7878 "zamontowaæ dysk i przekopiowaæ na niego plik <em>/var/lib/dpkg/status</em>. "
7879 "Trzeba tak¿e utworzyæ stukturê katalogów przedstawion± we \"Wprowadzeniu\": "
7880 "<em>archives/partial/</em> i <em>lists/partial/</em>. Nastêpnie niesiemy "
7881 "dysk do oddalonego komputera z szybkim ³±czem i konfigurujemy plik sources."
7882 "list. Na oddalonym komputerze wykonujemy kolejno:"
7884 #. type: <example></example>
7888 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
7889 " # apt-get update\n"
7890 " [ APT fetches the package files ]\n"
7891 " # apt-get dist-upgrade\n"
7892 " [ APT fetches all the packages needed to upgrade the target machine ]"
7894 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
7895 " # apt-get update\n"
7896 " [ APT aktualizuje ustawienia ]\n"
7897 " # apt-get dist-upgrade\n"
7898 " [ APT pobiera wszystkie pakiety potrzebne do aktualizacji Twojego systemu ]"
7900 #. type: </example></p>
7904 "The dist-upgrade command can be replaced with any-other standard APT "
7905 "commands, particularly dselect-upgrade. You can even use an APT front end "
7906 "such as <em>dselect</em> However this presents a problem in communicating "
7907 "your selections back to the local computer."
7909 "Polecenie dist-upgrade mo¿na zast±piæ ka¿dym innym podstawowym poleceniem "
7910 "APT, w szczególno¶ci dselect-upgrade. Mo¿na nawet u¿yæ APT jako metody "
7911 "dostêpu dla <em>dselect</em>. Jednak stworzy to problem w przeniesieniu "
7912 "Twoich operacji wyborów z powrotem na lokalny komputer."
7914 #. type: <p><example>
7918 "Now the disc contains all of the index files and archives needed to upgrade "
7919 "the target machine. Take the disc back and run:"
7921 "W tej chwili katalog disc zawiera wszystkie pliki indeksowe oraz archiwa "
7922 "niezbêdne do aktualizacji maszyny z Debianem. Bierzemy dysk z powrotem do "
7923 "siebie i wpisujemy:"
7925 #. type: <example></example>
7929 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
7930 " # apt-get check\n"
7931 " [ APT generates a local copy of the cache files ]\n"
7932 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
7933 " [ Or any other APT command ]"
7935 " # export APT_CONFIG=\"/disc/apt.conf\"\n"
7936 " # apt-get check\n"
7937 " [ APT tworzy lokaln± kopiê plików cache ]\n"
7938 " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n"
7939 " [ Mo¿e te¿ byæ inne polecenie programu APT ]"
7945 "It is necessary for proper function to re-specify the status file to be the "
7946 "local one. This is very important!"
7948 "Do prawid³owego dzia³ania koniecznie nale¿y podaæ plik status z lokalnej "
7949 "maszyny. To jest bardzo wa¿ne!"
7955 "If you are using dselect you can do the very risky operation of copying disc/"
7956 "status to /var/lib/dpkg/status so that any selections you made on the remote "
7957 "machine are updated. I highly recommend that people only make selections on "
7958 "the local machine - but this may not always be possible. DO NOT copy the "
7959 "status file if dpkg or APT have been run in the mean time!!"
7961 "Je¶li u¿ywasz dselect, mo¿esz wykonaæ bardzo ryzykown± operacjê skopiowania "
7962 "disc/status do /var/lib/dpkg/status, tak ¿e wszystkie zmiany, których "
7963 "dokona³e¶ na odleg³ym komputerze, bêd± przeniesione. Mocno zalecam, aby "
7964 "dokonywaæ doboru pakietów tylko na lokalnym komputerze, ale nie zawsze jest "
7965 "to mo¿liwe. NIE podmieniaj pliku status, je¶li dpkg lub APT by³y uruchamiane "
7968 #. type: <heading></heading>
7971 msgid "Using APT and wget"
7972 msgstr "U¿ywanie programów APT i wget"
7978 "<em>wget</em> is a popular and portable download tool that can run on nearly "
7979 "any machine. Unlike the method above this requires that the Debian machine "
7980 "already has a list of available packages."
7982 "<em>wget</em> jest popularnym i przeno¶nym programem narzêdziowym pobierania "
7983 "plików, który dzia³a prawie na ka¿dym komputerze. W przeciwieñstwie do "
7984 "metody opisanej powy¿ej ta wymaga, aby na lokalnym komputerze by³a aktualna "
7985 "lista dostêpnych pakietów."
7991 "The basic idea is to create a disc that has only the archive files "
7992 "downloaded from the remote site. This is done by using the --print-uris "
7993 "option to apt-get and then preparing a wget script to actually fetch the "
7996 "Nale¿y stworzyæ katalog disc tylko na pakiety do pobrania z innego "
7997 "komputera. U¿yta zostanie do tego opcja --print-uris programu apt-get, a "
7998 "nastêpnie przygotujemy skrypt dla programu wget, który pobierze w³a¶ciwe "
8001 #. type: <heading></heading>
8005 msgstr "Kolejne kroki"
8007 #. type: <p><example>
8011 "Unlike the previous technique no special configuration files are required. "
8012 "We merely use the standard APT commands to generate the file list."
8014 "W odró¿nieniu od poprzedniej metody dzia³ania ta nie wymaga specjalnych "
8015 "plików konfiguracyjnych. U¿ywamy jedynie podstawowych poleceñ APT, by "
8016 "wygenerowaæ listê plików."
8018 #. type: <example></example>
8022 " # apt-get dist-upgrade \n"
8023 " [ Press no when prompted, make sure you are happy with the actions ]\n"
8024 " # apt-get -qq --print-uris dist-upgrade > uris\n"
8025 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
8027 " # apt-get dist-upgrade \n"
8028 " [ Wybierz \"no\" po znaku zachêty, upewnij siê, czy to w³a¶ciwy wybór ]\n"
8029 " # apt-get -qq --print-uris dist-upgrade > uris\n"
8030 " # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script"
8032 #. type: </example></p>
8036 "Any command other than dist-upgrade could be used here, including dselect-"
8039 "Tak¿e inne opcje ni¿ dist-upgrade mog± tu byæ u¿yte, w³±czaj±c dselect-"
8046 "The /disc/wget-script file will now contain a list of wget commands to "
8047 "execute in order to fetch the necessary archives. This script should be run "
8048 "with the current directory as the disc's mount point so as to save the "
8049 "output on the disc."
8051 "Plik skryptu /disc/wget-script bêdzie teraz zawieraæ listê wywo³añ programu "
8052 "wget, niezbêdnych do pobrania potrzebnych archiwów. Skrypt ten nale¿y "
8053 "uruchomiæ w bie¿±cym katalogu o punkcie montowania disc, tak aby tu "
8054 "zapisywa³ dane na dysku."
8056 #. type: <p><example>
8059 msgid "The remote machine would do something like"
8060 msgstr "Na oddalonym komputerze nale¿y wykonaæ co¶ takiego"
8062 #. type: <example></example>
8067 " # sh -x ./wget-script\n"
8071 " # sh -x ./wget-script\n"
8074 #. type: </example><example>
8078 "Once the archives are downloaded and the disc returned to the Debian machine "
8079 "installation can proceed using,"
8081 "Gdy archiwa zostan± pobrane i dysk wróci do komputera z Debianem, "
8082 "instalowanie mo¿na prowadziæ dalej poleceniem:"
8084 #. type: <example></example>
8087 msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
8088 msgstr " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade"
8090 #. type: </example></p>
8093 msgid "Which will use the already fetched archives on the disc."
8094 msgstr "które u¿yje pobranych uprzednio archiwów z dysku."