X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/c3753d1de25737aed66d6ca14d0473042b7c55a7..14c50b58e938cf78ce2d32d4ec39979f7575c543:/doc/po/apt-doc.pot?ds=sidebyside diff --git a/doc/po/apt-doc.pot b/doc/po/apt-doc.pot index 5cc0b53fe..fc3b5a6c6 100644 --- a/doc/po/apt-doc.pot +++ b/doc/po/apt-doc.pot @@ -1,13 +1,14 @@ # SOME DESCRIPTIVE TITLE # Copyright (C) YEAR Free Software Foundation, Inc. -# This file is distributed under the same license as the PACKAGE package. +# This file is distributed under the same license as the apt-doc package. # FIRST AUTHOR , YEAR. # #, fuzzy msgid "" msgstr "" -"Project-Id-Version: PACKAGE VERSION\n" -"POT-Creation-Date: 2011-06-08 16:54+0300\n" +"Project-Id-Version: apt-doc 1.0.9.7\n" +"Report-Msgid-Bugs-To: APT Development Team \n" +"POT-Creation-Date: 2015-03-10 09:48+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -16,142 +17,8 @@ msgstr "" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -#. type: TH -#: apt.8:17 -#, no-wrap -msgid "apt" -msgstr "" - -#. type: TH -#: apt.8:17 -#, no-wrap -msgid "16 June 1998" -msgstr "" - -#. type: TH -#: apt.8:17 -#, no-wrap -msgid "Debian GNU/Linux" -msgstr "" - -#. type: SH -#: apt.8:18 -#, no-wrap -msgid "NAME" -msgstr "" - -#. type: Plain text -#: apt.8:20 -msgid "apt - Advanced Package Tool" -msgstr "" - -#. type: SH -#: apt.8:20 -#, no-wrap -msgid "SYNOPSIS" -msgstr "" - -#. type: Plain text -#: apt.8:22 -msgid "B" -msgstr "" - -#. type: SH -#: apt.8:22 -#, no-wrap -msgid "DESCRIPTION" -msgstr "" - -#. type: Plain text -#: apt.8:31 -msgid "" -"APT is a management system for software packages. For normal day to day " -"package management there are several frontends available, such as " -"B(8) for the command line or B(8) for the X Window " -"System. Some options are only implemented in B(8) though." -msgstr "" - -#. type: SH -#: apt.8:31 -#, no-wrap -msgid "SEE ALSO" -msgstr "" - -#. type: Plain text -#: apt.8:38 -msgid "" -"B(8), B(8), B(5), B(5), " -"B(5), B(8)" -msgstr "" - -#. type: SH -#: apt.8:38 -#, no-wrap -msgid "DIAGNOSTICS" -msgstr "" - -#. type: Plain text -#: apt.8:40 -msgid "apt returns zero on normal operation, decimal 100 on error." -msgstr "" - -#. type: SH -#: apt.8:40 -#, no-wrap -msgid "BUGS" -msgstr "" - -#. type: Plain text -#: apt.8:42 -msgid "This manpage isn't even started." -msgstr "" - -#. type: Plain text -#: apt.8:51 -msgid "" -"See Ehttp://bugs.debian.org/aptE. If you wish to report a bug in " -"B, please see I or the " -"B(1) command." -msgstr "" - -#. type: SH -#: apt.8:51 -#, no-wrap -msgid "AUTHOR" -msgstr "" - -#. type: Plain text -#: apt.8:52 -msgid "apt was written by the APT team Eapt@packages.debian.orgE." -msgstr "" - -#. type: Plain text -#: apt.ent:2 -msgid "" -msgstr "" - -#. type: Plain text -#: apt.ent:16 -#, no-wrap -msgid "" -"\n" -"\n" -"
apt@packages.debian.org
\n" -" \n" -" Jason Gunthorpe\n" -" \n" -" \n" -" 1998-2001 Jason " -"Gunthorpe\n" -" 28 October 2008\n" -" Linux\n" -" \n" -"\">\n" -msgstr "" - #. type: Plain text -#: apt.ent:23 +#: apt.ent:7 #, no-wrap msgid "" "\n" @@ -190,7 +57,7 @@ msgid "" msgstr "" #. type: Plain text -#: apt.ent:48 +#: apt.ent:32 #, no-wrap msgid "" "\n" @@ -204,7 +71,7 @@ msgid "" msgstr "" #. type: Plain text -#: apt.ent:58 +#: apt.ent:42 #, no-wrap msgid "" " " msgstr "" -#. type: Content of: -#: apt-cache.8.xml:25 apt-cache.8.xml:32 -msgid "apt-cache" +#. type: Plain text +#: apt.ent:201 +msgid "" +" " msgstr "" -#. type: Content of: -#: apt-cache.8.xml:26 apt-cdrom.8.xml:25 apt-config.8.xml:26 apt-get.8.xml:26 apt-key.8.xml:18 apt-mark.8.xml:26 apt-secure.8.xml:18 -msgid "8" +#. type: Plain text +#: apt.ent:204 +msgid "" +" " msgstr "" -#. type: Content of: -#: apt-cache.8.xml:27 apt-cdrom.8.xml:26 apt-config.8.xml:27 apt-extracttemplates.1.xml:27 apt-ftparchive.1.xml:27 apt-get.8.xml:27 apt-key.8.xml:19 apt-mark.8.xml:27 apt-secure.8.xml:19 apt-sortpkgs.1.xml:27 apt.conf.5.xml:33 apt_preferences.5.xml:26 sources.list.5.xml:27 -msgid "APT" +#. type: Plain text +#: apt.ent:207 +msgid "" +" " msgstr "" -#. type: Content of: -#: apt-cache.8.xml:33 -msgid "query the APT cache" +#. type: Plain text +#: apt.ent:210 +msgid "" +" " msgstr "" -#. type: Content of: -#: apt-cache.8.xml:39 -msgid "" -"apt-cache " -" " -" gencaches showpkg pkg showsrc pkg " -"stats dump dumpavail unmet " -"search regex show pkg " -"depends pkg rdepends pkg " -"pkgnames prefix dotty " -"pkg xvcg pkg " -"policy pkgs madison pkgs " -"" +#. type: Plain text +#: apt.ent:213 +msgid "" +" " +"" msgstr "" -#. type: Content of: -#: apt-cache.8.xml:64 apt-cdrom.8.xml:50 apt-config.8.xml:50 apt-extracttemplates.1.xml:46 apt-ftparchive.1.xml:59 apt-get.8.xml:114 apt-key.8.xml:38 apt-mark.8.xml:56 apt-secure.8.xml:43 apt-sortpkgs.1.xml:47 apt.conf.5.xml:42 apt_preferences.5.xml:36 sources.list.5.xml:36 -msgid "Description" +#. type: Plain text +#: apt.ent:216 +msgid "" +"<!-- TRANSLATOR: used as in apt-cache pkgnames prefix e.g. apt-cache " +"pkgnames apt --> <!ENTITY synopsis-prefix \"prefix\">" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-cache.8.xml:65 +#. type: Plain text +#: apt.ent:219 msgid "" -"<command>apt-cache</command> performs a variety of operations on APT's " -"package cache. <command>apt-cache</command> does not manipulate the state of " -"the system but does provide operations to search and generate interesting " -"output from the package metadata." +"<!-- TRANSLATOR: used as in apt-cache search regex e.g. apt-cache search " +"awesome --> <!ENTITY synopsis-regex \"regex\">" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-cache.8.xml:70 apt-get.8.xml:120 +#. type: Plain text +#: apt.ent:222 msgid "" -"Unless the <option>-h</option>, or <option>--help</option> option is given, " -"one of the commands below must be present." +"<!-- TRANSLATOR: used as in apt-cdrom -d=cdrom_mount_point e.g. apt-cdrom " +"-d=/media/cdrom --> <!ENTITY synopsis-cdrom-mount \"cdrom_mount_point\">" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:74 -msgid "gencaches" +#. type: Plain text +#: apt.ent:225 +msgid "" +"<!-- TRANSLATOR: used as in apt-extracttemplates -t=temporary_directory " +"e.g. apt-extracttemplates -t=/tmp --> <!ENTITY synopsis-tmp-directory " +"\"temporary_directory\">" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:75 +#. type: Plain text +#: apt.ent:228 msgid "" -"<literal>gencaches</literal> performs the same operation as <command>apt-get " -"check</command>. It builds the source and package caches from the sources in " -"&sources-list; and from <filename>/var/lib/dpkg/status</filename>." +"<!-- TRANSLATOR: used as in apt-extracttemplates filename --> <!ENTITY " +"synopsis-filename \"filename\">" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:81 -msgid "showpkg <replaceable>pkg(s)</replaceable>" +#. type: Plain text +#: apt.ent:231 +msgid "" +"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive " +"packages path override-file pathprefix --> <!ENTITY synopsis-path \"path\">" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:82 +#. type: Plain text +#: apt.ent:234 msgid "" -"<literal>showpkg</literal> displays information about the packages listed on " -"the command line. Remaining arguments are package names. The available " -"versions and reverse dependencies of each package listed are listed, as well " -"as forward dependencies for each version. Forward (normal) dependencies are " -"those packages upon which the package in question depends; reverse " -"dependencies are those packages that depend upon the package in " -"question. Thus, forward dependencies must be satisfied for a package, but " -"reverse dependencies need not be. For instance, <command>apt-cache showpkg " -"libreadline2</command> would produce output similar to the following:" +"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive " +"packages path override-file pathprefix --> <!ENTITY synopsis-override " +"\"override-file\">" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting> -#: apt-cache.8.xml:94 -#, no-wrap +#. type: Plain text +#: apt.ent:237 msgid "" -"Package: libreadline2\n" -"Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n" -"Reverse Depends: \n" -" libreadlineg2,libreadline2\n" -" libreadline2-altdev,libreadline2\n" -"Dependencies:\n" -"2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n" -"Provides:\n" -"2.1-12 - \n" -"Reverse Provides: \n" +"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive " +"packages path override-file pathprefix --> <!ENTITY synopsis-pathprefix " +"\"pathprefix\">" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:106 +#. type: Plain text +#: apt.ent:240 msgid "" -"Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and " -"ncurses3.0 which must be installed for libreadline2 to work. In turn, " -"libreadlineg2 and libreadline2-altdev depend on libreadline2. If " -"libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be " -"installed; libreadlineg2 and libreadline2-altdev do not have to be " -"installed. For the specific meaning of the remainder of the output it is " -"best to consult the apt source code." +"<!-- TRANSLATOR: used as parameter for apt-ftparchive e.g. apt-ftparchive " +"generate section --> <!ENTITY synopsis-section \"section\">" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:115 -msgid "stats" +#. type: Plain text +#: apt.ent:243 +msgid "" +"<!-- TRANSLATOR: used as in apt-key export keyid e.g. apt-key export " +"473041FA --> <!ENTITY synopsis-keyid \"keyid\">" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:115 -msgid "" -"<literal>stats</literal> displays some statistics about the cache. No " -"further arguments are expected. Statistics reported are:" +#. type: Content of: <refentry><refmeta><manvolnum> +#: apt.8.xml:21 apt-get.8.xml:22 apt-cache.8.xml:22 apt-key.8.xml:21 apt-mark.8.xml:22 apt-secure.8.xml:21 apt-cdrom.8.xml:21 apt-config.8.xml:22 +msgid "8" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> -#: apt-cache.8.xml:118 -msgid "" -"<literal>Total package names</literal> is the number of package names found " -"in the cache." +#. type: Content of: <refentry><refmeta><refmiscinfo> +#: apt.8.xml:22 apt-get.8.xml:23 apt-cache.8.xml:23 apt-key.8.xml:22 apt-mark.8.xml:23 apt-secure.8.xml:22 apt-cdrom.8.xml:22 apt-config.8.xml:23 apt.conf.5.xml:28 apt_preferences.5.xml:22 sources.list.5.xml:23 apt-extracttemplates.1.xml:23 apt-sortpkgs.1.xml:23 apt-ftparchive.1.xml:23 +msgid "APT" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> -#: apt-cache.8.xml:122 -msgid "" -"<literal>Normal packages</literal> is the number of regular, ordinary " -"package names; these are packages that bear a one-to-one correspondence " -"between their names and the names used by other packages for them in " -"dependencies. The majority of packages fall into this category." +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt.8.xml:28 +msgid "command-line interface" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> -#: apt-cache.8.xml:128 -msgid "" -"<literal>Pure virtual packages</literal> is the number of packages that " -"exist only as a virtual package name; that is, packages only \"provide\" the " -"virtual package name, and no package actually uses the name. For instance, " -"\"mail-transport-agent\" in the Debian GNU/Linux system is a pure virtual " -"package; several packages provide \"mail-transport-agent\", but there is no " -"package named \"mail-transport-agent\"." +#. type: Content of: <refentry><refsect1><title> +#: apt.8.xml:33 apt-get.8.xml:34 apt-cache.8.xml:34 apt-key.8.xml:33 apt-mark.8.xml:34 apt-secure.8.xml:46 apt-cdrom.8.xml:33 apt-config.8.xml:34 apt.conf.5.xml:37 apt_preferences.5.xml:32 sources.list.5.xml:32 apt-extracttemplates.1.xml:34 apt-sortpkgs.1.xml:34 apt-ftparchive.1.xml:34 +msgid "Description" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> -#: apt-cache.8.xml:136 +#. type: Content of: <refentry><refsect1><para> +#: apt.8.xml:34 msgid "" -"<literal>Single virtual packages</literal> is the number of packages with " -"only one package providing a particular virtual package. For example, in the " -"Debian GNU/Linux system, \"X11-text-viewer\" is a virtual package, but only " -"one package, xless, provides \"X11-text-viewer\"." +"<command>apt</command> (Advanced Package Tool) is the command-line tool for " +"handling packages. It provides a commandline interface for the package " +"management of the system. See also &apt-get; and &apt-cache; for more " +"low-level command options." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> -#: apt-cache.8.xml:142 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.8.xml:43 msgid "" -"<literal>Mixed virtual packages</literal> is the number of packages that " -"either provide a particular virtual package or have the virtual package name " -"as the package name. For instance, in the Debian GNU/Linux system, " -"\"debconf\" is both an actual package, and provided by the debconf-tiny " -"package." +"<literal>list</literal> is used to display a list of packages. It supports " +"shell pattern for matching package names and the following options: " +"<option>--installed</option>, <option>--upgradable</option>, " +"<option>--all-versions</option> are supported." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> -#: apt-cache.8.xml:149 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.8.xml:54 msgid "" -"<literal>Missing</literal> is the number of package names that were " -"referenced in a dependency but were not provided by any package. Missing " -"packages may be an evidence if a full distribution is not accessed, or if a " -"package (real or virtual) has been dropped from the distribution. Usually " -"they are referenced from Conflicts or Breaks statements." +"<literal>search</literal> searches for the given term(s) and display " +"matching packages." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> -#: apt-cache.8.xml:156 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.8.xml:60 msgid "" -"<literal>Total distinct</literal> versions is the number of package versions " -"found in the cache; this value is therefore at least equal to the number of " -"total package names. If more than one distribution (both \"stable\" and " -"\"unstable\", for instance), is being accessed, this value can be " -"considerably larger than the number of total package names." +"<literal>show</literal> shows the package information for the given " +"package(s)." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> -#: apt-cache.8.xml:163 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.8.xml:67 msgid "" -"<literal>Total dependencies</literal> is the number of dependency " -"relationships claimed by all of the packages in the cache." +"<literal>install</literal> is followed by one or more package names desired " +"for installation or upgrading." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:170 -msgid "showsrc <replaceable>pkg(s)</replaceable>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.8.xml:71 apt-get.8.xml:112 +msgid "" +"A specific version of a package can be selected for installation by " +"following the package name with an equals and the version of the package to " +"select. This will cause that version to be located and selected for " +"install. Alternatively a specific distribution can be selected by following " +"the package name with a slash and the version of the distribution or the " +"Archive name (stable, testing, unstable)." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:171 +#: apt.8.xml:81 apt-get.8.xml:147 msgid "" -"<literal>showsrc</literal> displays all the source package records that " -"match the given package names. All versions are shown, as well as all " -"records that declare the name to be a Binary." +"<literal>remove</literal> is identical to <literal>install</literal> except " +"that packages are removed instead of installed. Note that removing a package " +"leaves its configuration files on the system. If a plus sign is appended to " +"the package name (with no intervening space), the identified package will be " +"installed instead of removed." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:176 apt-config.8.xml:87 -msgid "dump" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.8.xml:89 +msgid "" +"<literal>edit-sources</literal> lets you edit your sources.list file and " +"provides basic sanity checks." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:177 +#: apt.8.xml:95 msgid "" -"<literal>dump</literal> shows a short listing of every package in the " -"cache. It is primarily for debugging." +"<literal>update</literal> is used to resynchronize the package index files " +"from their sources." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:181 -msgid "dumpavail" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.8.xml:101 +msgid "" +"<literal>upgrade</literal> is used to install the newest versions of all " +"packages currently installed on the system from the sources enumerated in " +"<filename>/etc/apt/sources.list</filename>. New packages will be installed, " +"but existing packages will never be removed." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:182 +#: apt.8.xml:110 msgid "" -"<literal>dumpavail</literal> prints out an available list to stdout. This is " -"suitable for use with &dpkg; and is used by the &dselect; method." +"<literal>full-upgrade</literal> performs the function of upgrade but may " +"also remove installed packages if that is required in order to resolve a " +"package conflict." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:186 -msgid "unmet" +#. type: Content of: <refentry><refsect1><title> +#: apt.8.xml:120 apt-get.8.xml:251 apt-cache.8.xml:244 apt-mark.8.xml:104 apt-config.8.xml:80 apt-extracttemplates.1.xml:48 apt-sortpkgs.1.xml:44 apt-ftparchive.1.xml:500 +msgid "options" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:187 +#. type: Content of: <refentry><refsect1><title> +#: apt.8.xml:130 +msgid "Script usage" +msgstr "" + +#. type: Content of: <refentry><refsect1><para> +#: apt.8.xml:132 msgid "" -"<literal>unmet</literal> displays a summary of all unmet dependencies in the " -"package cache." +"The &apt; commandline is designed as a end-user tool and it may change the " +"output between versions. While it tries to not break backward compatibility " +"there is no guarantee for it either. All features of &apt; are available in " +"&apt-cache; and &apt-get; via APT options. Please prefer using these " +"commands in your scripts." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:191 -msgid "show <replaceable>pkg(s)</replaceable>" +#. type: Content of: <refentry><refsect1><title> +#: apt.8.xml:140 +msgid "Differences to &apt-get;" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:192 +#. type: Content of: <refentry><refsect1><para> +#: apt.8.xml:141 msgid "" -"<literal>show</literal> performs a function similar to <command>dpkg " -"--print-avail</command>; it displays the package records for the named " -"packages." +"The <command>apt</command> command is meant to be pleasant for end users and " +"does not need to be backward compatible like &apt-get;. Therefore some " +"options are different:" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:197 -msgid "search <replaceable>regex [ regex ... ]</replaceable>" +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: apt.8.xml:147 +msgid "The option <literal>DPkg::Progress-Fancy</literal> is enabled." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:198 -msgid "" -"<literal>search</literal> performs a full text search on all available " -"package lists for the POSIX regex pattern given, see " -"<citerefentry><refentrytitle><command>regex</command></refentrytitle> " -"<manvolnum>7</manvolnum></citerefentry>. It searches the package names and " -"the descriptions for an occurrence of the regular expression and prints out " -"the package name and the short description, including virtual package " -"names. If <option>--full</option> is given then output identical to " -"<literal>show</literal> is produced for each matched package, and if " -"<option>--names-only</option> is given then the long description is not " -"searched, only the package name is." +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: apt.8.xml:151 +msgid "The option <literal>APT::Color</literal> is enabled." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:211 +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: apt.8.xml:155 msgid "" -"Separate arguments can be used to specify multiple search patterns that are " -"and'ed together." +"A new <literal>list</literal> command is available similar to <literal>dpkg " +"--list</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:215 -msgid "depends <replaceable>pkg(s)</replaceable>" +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: apt.8.xml:160 +msgid "" +"The option <literal>upgrade</literal> has <literal>--with-new-pkgs</literal> " +"enabled by default." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:216 +#. type: Content of: <refentry><refsect1><title> +#: apt.8.xml:170 apt-get.8.xml:560 apt-cache.8.xml:346 apt-key.8.xml:191 apt-mark.8.xml:127 apt-secure.8.xml:187 apt-cdrom.8.xml:148 apt-config.8.xml:105 apt.conf.5.xml:1254 apt_preferences.5.xml:701 sources.list.5.xml:274 apt-extracttemplates.1.xml:66 apt-sortpkgs.1.xml:59 apt-ftparchive.1.xml:603 +msgid "See Also" +msgstr "" + +#. type: Content of: <refentry><refsect1><para> +#: apt.8.xml:171 msgid "" -"<literal>depends</literal> shows a listing of each dependency a package has " -"and all the possible other packages that can fulfill that dependency." +"&apt-get;, &apt-cache;, &sources-list;, &apt-conf;, &apt-config;, The APT " +"User's guide in &guidesdir;, &apt-preferences;, the APT Howto." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:220 -msgid "rdepends <replaceable>pkg(s)</replaceable>" +#. type: Content of: <refentry><refsect1><title> +#: apt.8.xml:176 apt-get.8.xml:566 apt-cache.8.xml:351 apt-mark.8.xml:131 apt-cdrom.8.xml:153 apt-config.8.xml:110 apt-extracttemplates.1.xml:70 apt-sortpkgs.1.xml:63 apt-ftparchive.1.xml:607 +msgid "Diagnostics" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:221 +#. type: Content of: <refentry><refsect1><para> +#: apt.8.xml:177 msgid "" -"<literal>rdepends</literal> shows a listing of each reverse dependency a " -"package has." +"<command>apt</command> returns zero on normal operation, decimal 100 on " +"error." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:225 -msgid "pkgnames <replaceable>[ prefix ]</replaceable>" +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-get.8.xml:29 +msgid "APT package handling utility -- command-line interface" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:226 +#. type: Content of: <refentry><refsect1><para> +#: apt-get.8.xml:35 msgid "" -"This command prints the name of each package APT knows. The optional " -"argument is a prefix match to filter the name list. The output is suitable " -"for use in a shell tab complete function and the output is generated " -"extremely quickly. This command is best used with the " -"<option>--generate</option> option." +"<command>apt-get</command> is the command-line tool for handling packages, " +"and may be considered the user's \"back-end\" to other tools using the APT " +"library. Several \"front-end\" interfaces exist, such as &aptitude;, " +"&synaptic; and &wajig;." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:231 +#. type: Content of: <refentry><refsect1><para> +#: apt-get.8.xml:40 apt-cache.8.xml:40 apt-cdrom.8.xml:47 apt-config.8.xml:40 apt-ftparchive.1.xml:50 msgid "" -"Note that a package which APT knows of is not necessarily available to " -"download, installable or installed, e.g. virtual packages are also listed in " -"the generated list." +"Unless the <option>-h</option>, or <option>--help</option> option is given, " +"one of the commands below must be present." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:236 -msgid "dotty <replaceable>pkg(s)</replaceable>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:45 +msgid "" +"<literal>update</literal> is used to resynchronize the package index files " +"from their sources. The indexes of available packages are fetched from the " +"location(s) specified in <filename>/etc/apt/sources.list</filename>. For " +"example, when using a Debian archive, this command retrieves and scans the " +"<filename>Packages.gz</filename> files, so that information about new and " +"updated packages is available. An <literal>update</literal> should always be " +"performed before an <literal>upgrade</literal> or " +"<literal>dist-upgrade</literal>. Please be aware that the overall progress " +"meter will be incorrect as the size of the package files cannot be known in " +"advance." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:237 +#: apt-get.8.xml:57 msgid "" -"<literal>dotty</literal> takes a list of packages on the command line and " -"generates output suitable for use by dotty from the <ulink " -"url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> " -"package. The result will be a set of nodes and edges representing the " -"relationships between the packages. By default the given packages will trace " -"out all dependent packages; this can produce a very large graph. To limit " -"the output to only the packages listed on the command line, set the " -"<literal>APT::Cache::GivenOnly</literal> option." +"<literal>upgrade</literal> is used to install the newest versions of all " +"packages currently installed on the system from the sources enumerated in " +"<filename>/etc/apt/sources.list</filename>. Packages currently installed " +"with new versions available are retrieved and upgraded; under no " +"circumstances are currently installed packages removed, or packages not " +"already installed retrieved and installed. New versions of currently " +"installed packages that cannot be upgraded without changing the install " +"status of another package will be left at their current version. An " +"<literal>update</literal> must be performed first so that " +"<command>apt-get</command> knows that new versions of packages are " +"available." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:246 +#: apt-get.8.xml:70 msgid "" -"The resulting nodes will have several shapes; normal packages are boxes, " -"pure provides are triangles, mixed provides are diamonds, missing packages " -"are hexagons. Orange boxes mean recursion was stopped [leaf packages], blue " -"lines are pre-depends, green lines are conflicts." +"<literal>dist-upgrade</literal> in addition to performing the function of " +"<literal>upgrade</literal>, also intelligently handles changing dependencies " +"with new versions of packages; <command>apt-get</command> has a \"smart\" " +"conflict resolution system, and it will attempt to upgrade the most " +"important packages at the expense of less important ones if necessary. The " +"<literal>dist-upgrade</literal> command may therefore remove some packages. " +"The <filename>/etc/apt/sources.list</filename> file contains a list of " +"locations from which to retrieve desired package files. See also " +"&apt-preferences; for a mechanism for overriding the general settings for " +"individual packages." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:251 -msgid "Caution, dotty cannot graph larger sets of packages." +#: apt-get.8.xml:83 +msgid "" +"<literal>dselect-upgrade</literal> is used in conjunction with the " +"traditional Debian packaging front-end, " +"&dselect;. <literal>dselect-upgrade</literal> follows the changes made by " +"&dselect; to the <literal>Status</literal> field of available packages, and " +"performs the actions necessary to realize that state (for instance, the " +"removal of old and the installation of new packages)." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:254 -msgid "xvcg <replaceable>pkg(s)</replaceable>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:94 +msgid "" +"<literal>install</literal> is followed by one or more packages desired for " +"installation or upgrading. Each package is a package name, not a fully " +"qualified filename (for instance, in a Debian system, " +"<package>apt-utils</package> would be the argument provided, not " +"<filename>apt-utils_&apt-product-version;_amd64.deb</filename>). All " +"packages required by the package(s) specified for installation will also be " +"retrieved and installed. The <filename>/etc/apt/sources.list</filename> " +"file is used to locate the desired packages. If a hyphen is appended to the " +"package name (with no intervening space), the identified package will be " +"removed if it is installed. Similarly a plus sign can be used to designate " +"a package to install. These latter features may be used to override " +"decisions made by apt-get's conflict resolution system." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:255 +#: apt-get.8.xml:119 msgid "" -"The same as <literal>dotty</literal>, only for xvcg from the <ulink " -"url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG " -"tool</ulink>." +"Both of the version selection mechanisms can downgrade packages and must be " +"used with care." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:259 -msgid "policy <replaceable>[ pkg(s) ]</replaceable>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:122 +msgid "" +"This is also the target to use if you want to upgrade one or more " +"already-installed packages without upgrading every package you have on your " +"system. Unlike the \"upgrade\" target, which installs the newest version of " +"all currently installed packages, \"install\" will install the newest " +"version of only the package(s) specified. Simply provide the name of the " +"package(s) you wish to upgrade, and if a newer version is available, it (and " +"its dependencies, as described above) will be downloaded and installed." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:260 +#: apt-get.8.xml:133 msgid "" -"<literal>policy</literal> is meant to help debug issues relating to the " -"preferences file. With no arguments it will print out the priorities of each " -"source. Otherwise it prints out detailed information about the priority " -"selection of the named package." +"Finally, the &apt-preferences; mechanism allows you to create an alternative " +"installation policy for individual packages." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:266 -msgid "madison <replaceable>[ pkg(s) ]</replaceable>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:137 +msgid "" +"If no package matches the given expression and the expression contains one " +"of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and " +"it is applied to all package names in the database. Any matches are then " +"installed (or removed). Note that matching is done by substring so 'lo.*' " +"matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular " +"expression with a '^' or '$' character, or create a more specific regular " +"expression." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:267 +#: apt-get.8.xml:155 msgid "" -"<literal>apt-cache</literal>'s <literal>madison</literal> command attempts " -"to mimic the output format and a subset of the functionality of the Debian " -"archive management tool, <literal>madison</literal>. It displays available " -"versions of a package in a tabular format. Unlike the original " -"<literal>madison</literal>, it can only display information for the " -"architecture for which APT has retrieved package lists " -"(<literal>APT::Architecture</literal>)." +"<literal>purge</literal> is identical to <literal>remove</literal> except " +"that packages are removed and purged (any configuration files are deleted " +"too)." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:278 apt-config.8.xml:96 apt-extracttemplates.1.xml:59 apt-ftparchive.1.xml:525 apt-get.8.xml:331 apt-mark.8.xml:126 apt-sortpkgs.1.xml:57 apt.conf.5.xml:560 apt.conf.5.xml:582 -msgid "options" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:160 +msgid "" +"<literal>source</literal> causes <command>apt-get</command> to fetch source " +"packages. APT will examine the available packages to decide which source " +"package to fetch. It will then find and download into the current directory " +"the newest available version of that source package while respecting the " +"default release, set with the option " +"<literal>APT::Default-Release</literal>, the <option>-t</option> option or " +"per package with the <literal>pkg/release</literal> syntax, if possible." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:282 -msgid "<option>-p</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:168 +msgid "" +"Source packages are tracked separately from binary packages via " +"<literal>deb-src</literal> lines in the &sources-list; file. This means that " +"you will need to add such a line for each repository you want to get sources " +"from; otherwise you will probably get either the wrong (too old/too new) " +"source versions or none at all." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:282 -msgid "<option>--pkg-cache</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:174 +msgid "" +"If the <option>--compile</option> option is specified then the package will " +"be compiled to a binary .deb using <command>dpkg-buildpackage</command> for " +"the architecture as defined by the <command>--host-architecture</command> " +"option. If <option>--download-only</option> is specified then the source " +"package will not be unpacked." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:283 +#: apt-get.8.xml:181 msgid "" -"Select the file to store the package cache. The package cache is the primary " -"cache used by all operations. Configuration Item: " -"<literal>Dir::Cache::pkgcache</literal>." +"A specific source version can be retrieved by postfixing the source name " +"with an equals and then the version to fetch, similar to the mechanism used " +"for the package files. This enables exact matching of the source package " +"name and version, implicitly enabling the " +"<literal>APT::Get::Only-Source</literal> option." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:288 apt-ftparchive.1.xml:571 apt-get.8.xml:393 apt-sortpkgs.1.xml:61 -msgid "<option>-s</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:187 +msgid "" +"Note that source packages are not installed and tracked in the " +"<command>dpkg</command> database like binary packages; they are simply " +"downloaded to the current directory, like source tarballs." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:288 -msgid "<option>--src-cache</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:193 +msgid "" +"<literal>build-dep</literal> causes apt-get to install/remove packages in an " +"attempt to satisfy the build dependencies for a source package. By default " +"the dependencies are satisfied to build the package natively. If desired a " +"host-architecture can be specified with the " +"<option>--host-architecture</option> option instead." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:289 +#: apt-get.8.xml:200 msgid "" -"Select the file to store the source cache. The source is used only by " -"<literal>gencaches</literal> and it stores a parsed version of the package " -"information from remote sources. When building the package cache the source " -"cache is used to avoid reparsing all of the package files. Configuration " -"Item: <literal>Dir::Cache::srcpkgcache</literal>." +"<literal>check</literal> is a diagnostic tool; it updates the package cache " +"and checks for broken dependencies." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:296 apt-ftparchive.1.xml:545 apt-get.8.xml:383 -msgid "<option>-q</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:205 +msgid "" +"<literal>download</literal> will download the given binary package into the " +"current directory." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:296 apt-ftparchive.1.xml:545 apt-get.8.xml:383 -msgid "<option>--quiet</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:211 +msgid "" +"<literal>clean</literal> clears out the local repository of retrieved " +"package files. It removes everything but the lock file from " +"<filename>&cachedir;/archives/</filename> and " +"<filename>&cachedir;/archives/partial/</filename>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:297 +#: apt-get.8.xml:218 msgid "" -"Quiet; produces output suitable for logging, omitting progress indicators. " -"More q's will produce more quietness up to a maximum of 2. You can also use " -"<option>-q=#</option> to set the quietness level, overriding the " -"configuration file. Configuration Item: <literal>quiet</literal>." +"Like <literal>clean</literal>, <literal>autoclean</literal> clears out the " +"local repository of retrieved package files. The difference is that it only " +"removes package files that can no longer be downloaded, and are largely " +"useless. This allows a cache to be maintained over a long period without it " +"growing out of control. The configuration option " +"<literal>APT::Clean-Installed</literal> will prevent installed packages from " +"being erased if it is set to off." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:303 -msgid "<option>-i</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:228 +msgid "" +"<literal>autoremove</literal> is used to remove packages that were " +"automatically installed to satisfy dependencies for other packages and are " +"now no longer needed." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:303 -msgid "<option>--important</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:233 +msgid "" +"<literal>changelog</literal> downloads a package changelog and displays it " +"through <command>sensible-pager</command>. The server name and base " +"directory is defined in the <literal>APT::Changelogs::Server</literal> " +"variable (e.g. <ulink " +"url=\"http://packages.debian.org/changelogs\">packages.debian.org/changelogs</ulink> " +"for Debian or <ulink " +"url=\"http://changelogs.ubuntu.com/changelogs\">changelogs.ubuntu.com/changelogs</ulink> " +"for Ubuntu). By default it displays the changelog for the version that is " +"installed. However, you can specify the same options as for the " +"<option>install</option> command." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:304 +#: apt-get.8.xml:256 msgid "" -"Print only important dependencies; for use with unmet and depends. Causes " -"only Depends and Pre-Depends relations to be printed. Configuration Item: " -"<literal>APT::Cache::Important</literal>." +"Do not consider recommended packages as a dependency for installing. " +"Configuration Item: <literal>APT::Install-Recommends</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:309 -msgid "<option>--no-pre-depends</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:261 +msgid "" +"Consider suggested packages as a dependency for installing. Configuration " +"Item: <literal>APT::Install-Suggests</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:310 -msgid "<option>--no-depends</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:266 +msgid "" +"Download only; package files are only retrieved, not unpacked or installed. " +"Configuration Item: <literal>APT::Get::Download-Only</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:311 -msgid "<option>--no-recommends</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:271 +msgid "" +"Fix; attempt to correct a system with broken dependencies in place. This " +"option, when used with install/remove, can omit any packages to permit APT " +"to deduce a likely solution. If packages are specified, these have to " +"completely correct the problem. The option is sometimes necessary when " +"running APT for the first time; APT itself does not allow broken package " +"dependencies to exist on a system. It is possible that a system's dependency " +"structure can be so corrupt as to require manual intervention (which usually " +"means using <command>dpkg --remove</command> to eliminate some of the " +"offending packages). Use of this option together with <option>-m</option> " +"may produce an error in some situations. Configuration Item: " +"<literal>APT::Get::Fix-Broken</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:312 -msgid "<option>--no-suggests</option>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:313 -msgid "<option>--no-conflicts</option>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:314 -msgid "<option>--no-breaks</option>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:315 -msgid "<option>--no-replaces</option>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:316 -msgid "<option>--no-enhances</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:286 +msgid "" +"Ignore missing packages; if packages cannot be retrieved or fail the " +"integrity check after retrieval (corrupted package files), hold back those " +"packages and handle the result. Use of this option together with " +"<option>-f</option> may produce an error in some situations. If a package is " +"selected for installation (particularly if it is mentioned on the command " +"line) and it could not be downloaded then it will be silently held back. " +"Configuration Item: <literal>APT::Get::Fix-Missing</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:317 +#: apt-get.8.xml:297 msgid "" -"Per default the <literal>depends</literal> and <literal>rdepends</literal> " -"print all dependencies. This can be twicked with these flags which will omit " -"the specified dependency type. Configuration Item: " -"<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> " -"e.g. <literal>APT::Cache::ShowRecommends</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:323 apt-cdrom.8.xml:124 apt-get.8.xml:350 -msgid "<option>-f</option>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:323 -msgid "<option>--full</option>" +"Disables downloading of packages. This is best used with " +"<option>--ignore-missing</option> to force APT to use only the .debs it has " +"already downloaded. Configuration Item: " +"<literal>APT::Get::Download</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:324 +#: apt-get.8.xml:304 msgid "" -"Print full package records when searching. Configuration Item: " -"<literal>APT::Cache::ShowFull</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:328 apt-cdrom.8.xml:134 apt-ftparchive.1.xml:583 -msgid "<option>-a</option>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:328 -msgid "<option>--all-versions</option>" +"Quiet; produces output suitable for logging, omitting progress indicators. " +"More q's will produce more quiet up to a maximum of 2. You can also use " +"<option>-q=#</option> to set the quiet level, overriding the configuration " +"file. Note that quiet level 2 implies <option>-y</option>; you should never " +"use -qq without a no-action modifier such as -d, --print-uris or -s as APT " +"may decide to do something you did not expect. Configuration Item: " +"<literal>quiet</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:329 +#: apt-get.8.xml:319 msgid "" -"Print full records for all available versions. This is the default; to turn " -"it off, use <option>--no-all-versions</option>. If " -"<option>--no-all-versions</option> is specified, only the candidate version " -"will displayed (the one which would be selected for installation). This " -"option is only applicable to the <literal>show</literal> command. " -"Configuration Item: <literal>APT::Cache::AllVersions</literal>." +"No action; perform a simulation of events that would occur but do not " +"actually change the system. Configuration Item: " +"<literal>APT::Get::Simulate</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:337 -msgid "<option>-g</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:323 +msgid "" +"Simulated runs performed as a user will automatically deactivate locking " +"(<literal>Debug::NoLocking</literal>), and if the option " +"<literal>APT::Get::Show-User-Simulation-Note</literal> is set (as it is by " +"default) a notice will also be displayed indicating that this is only a " +"simulation. Runs performed as root do not trigger either NoLocking or the " +"notice - superusers should know what they are doing without further warnings " +"from <literal>apt-get</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:337 -msgid "<option>--generate</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:331 +msgid "" +"Simulated runs print out a series of lines, each representing a " +"<command>dpkg</command> operation: configure (<literal>Conf</literal>), " +"remove (<literal>Remv</literal>) or unpack " +"(<literal>Inst</literal>). Square brackets indicate broken packages, and " +"empty square brackets indicate breaks that are of no consequence (rare)." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:338 +#: apt-get.8.xml:339 msgid "" -"Perform automatic package cache regeneration, rather than use the cache as " -"it is. This is the default; to turn it off, use " -"<option>--no-generate</option>. Configuration Item: " -"<literal>APT::Cache::Generate</literal>." +"Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " +"non-interactively. If an undesirable situation, such as changing a held " +"package, trying to install a unauthenticated package or removing an " +"essential package occurs then <literal>apt-get</literal> will abort. " +"Configuration Item: <literal>APT::Get::Assume-Yes</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:343 -msgid "<option>--names-only</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:347 +msgid "" +"Automatic \"no\" to all prompts. Configuration Item: " +"<literal>APT::Get::Assume-No</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:343 apt-cdrom.8.xml:142 -msgid "<option>-n</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:352 +msgid "" +"Show upgraded packages; print out a list of all packages that are to be " +"upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:344 +#: apt-get.8.xml:358 msgid "" -"Only search on the package names, not the long descriptions. Configuration " -"Item: <literal>APT::Cache::NamesOnly</literal>." +"Show full versions for upgraded and installed packages. Configuration Item: " +"<literal>APT::Get::Show-Versions</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:348 -msgid "<option>--all-names</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:364 +msgid "" +"This option controls the architecture packages are built for by " +"<command>apt-get source --compile</command> and how cross-builddependencies " +"are satisfied. By default is it not set which means that the host " +"architecture is the same as the build architecture (which is defined by " +"<literal>APT::Architecture</literal>). Configuration Item: " +"<literal>APT::Get::Host-Architecture</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:349 +#: apt-get.8.xml:374 msgid "" -"Make <literal>pkgnames</literal> print all names, including virtual packages " -"and missing dependencies. Configuration Item: " -"<literal>APT::Cache::AllNames</literal>." +"This option controls the activated build profiles for which a source package " +"is built by <command>apt-get source --compile</command> and how build " +"dependencies are satisfied. By default no build profile is active. More " +"than one build profile can be activated at a time by concatenating them with " +"a comma. Configuration Item: <literal>APT::Build-Profiles</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:354 -msgid "<option>--recurse</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:385 +msgid "" +"Compile source packages after downloading them. Configuration Item: " +"<literal>APT::Get::Compile</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:355 +#: apt-get.8.xml:390 msgid "" -"Make <literal>depends</literal> and <literal>rdepends</literal> recursive so " -"that all packages mentioned are printed once. Configuration Item: " -"<literal>APT::Cache::RecurseDepends</literal>." +"Ignore package holds; this causes <command>apt-get</command> to ignore a " +"hold placed on a package. This may be useful in conjunction with " +"<literal>dist-upgrade</literal> to override a large number of undesired " +"holds. Configuration Item: <literal>APT::Ignore-Hold</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cache.8.xml:360 -msgid "<option>--installed</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:397 +msgid "" +"Allow installing new packages when used in conjunction with " +"<literal>upgrade</literal>. This is useful if the update of a installed " +"package requires new dependencies to be installed. Instead of holding the " +"package back <literal>upgrade</literal> will upgrade the package and install " +"the new dependencies. Note that <literal>upgrade</literal> with this option " +"will never remove packages, only allow adding new ones. Configuration Item: " +"<literal>APT::Get::Upgrade-Allow-New</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cache.8.xml:362 +#: apt-get.8.xml:409 msgid "" -"Limit the output of <literal>depends</literal> and " -"<literal>rdepends</literal> to packages which are currently installed. " -"Configuration Item: <literal>APT::Cache::Installed</literal>." +"Do not upgrade packages; when used in conjunction with " +"<literal>install</literal>, <literal>no-upgrade</literal> will prevent " +"packages on the command line from being upgraded if they are already " +"installed. Configuration Item: <literal>APT::Get::Upgrade</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist> -#: apt-cache.8.xml:367 apt-cdrom.8.xml:153 apt-config.8.xml:101 apt-extracttemplates.1.xml:70 apt-ftparchive.1.xml:611 apt-get.8.xml:570 apt-mark.8.xml:140 apt-sortpkgs.1.xml:67 -msgid "&apt-commonoptions;" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:416 +msgid "" +"Do not install new packages; when used in conjunction with " +"<literal>install</literal>, <literal>only-upgrade</literal> will install " +"upgrades for already installed packages only and ignore requests to install " +"new packages. Configuration Item: " +"<literal>APT::Get::Only-Upgrade</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-cache.8.xml:372 apt-get.8.xml:575 apt-key.8.xml:172 apt-mark.8.xml:144 apt.conf.5.xml:1093 apt_preferences.5.xml:697 -msgid "Files" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:424 +msgid "" +"Force yes; this is a dangerous option that will cause apt to continue " +"without prompting if it is doing something potentially harmful. It should " +"not be used except in very special situations. Using " +"<literal>force-yes</literal> can potentially destroy your system! " +"Configuration Item: <literal>APT::Get::force-yes</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist> -#: apt-cache.8.xml:374 -msgid "&file-sourceslist; &file-statelists;" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:432 +msgid "" +"Instead of fetching the files to install their URIs are printed. Each URI " +"will have the path, the destination file name, the size and the expected MD5 " +"hash. Note that the file name to write to will not always match the file " +"name on the remote site! This also works with the <literal>source</literal> " +"and <literal>update</literal> commands. When used with the " +"<literal>update</literal> command the MD5 and size are not included, and it " +"is up to the user to decompress any compressed files. Configuration Item: " +"<literal>APT::Get::Print-URIs</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-cache.8.xml:379 apt-cdrom.8.xml:158 apt-config.8.xml:106 apt-extracttemplates.1.xml:77 apt-ftparchive.1.xml:627 apt-get.8.xml:585 apt-key.8.xml:193 apt-mark.8.xml:150 apt-secure.8.xml:185 apt-sortpkgs.1.xml:72 apt.conf.5.xml:1099 apt_preferences.5.xml:704 sources.list.5.xml:234 -msgid "See Also" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:443 +msgid "" +"Use purge instead of remove for anything that would be removed. An asterisk " +"(\"*\") will be displayed next to packages which are scheduled to be " +"purged. <option>remove --purge</option> is equivalent to the " +"<option>purge</option> command. Configuration Item: " +"<literal>APT::Get::Purge</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-cache.8.xml:380 -msgid "&apt-conf;, &sources-list;, &apt-get;" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:451 +msgid "" +"Re-install packages that are already installed and at the newest version. " +"Configuration Item: <literal>APT::Get::ReInstall</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-cache.8.xml:384 apt-cdrom.8.xml:163 apt-config.8.xml:111 apt-extracttemplates.1.xml:81 apt-ftparchive.1.xml:631 apt-get.8.xml:591 apt-mark.8.xml:154 apt-sortpkgs.1.xml:76 -msgid "Diagnostics" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:456 +msgid "" +"This option is on by default; use <literal>--no-list-cleanup</literal> to " +"turn it off. When it is on, <command>apt-get</command> will automatically " +"manage the contents of <filename>&statedir;/lists</filename> to ensure that " +"obsolete files are erased. The only reason to turn it off is if you " +"frequently change your sources list. Configuration Item: " +"<literal>APT::Get::List-Cleanup</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-cache.8.xml:385 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:466 msgid "" -"<command>apt-cache</command> returns zero on normal operation, decimal 100 " -"on error." +"This option controls the default input to the policy engine; it creates a " +"default pin at priority 990 using the specified release string. This " +"overrides the general settings in " +"<filename>/etc/apt/preferences</filename>. Specifically pinned packages are " +"not affected by the value of this option. In short, this option lets you " +"have simple control over which distribution packages will be retrieved " +"from. Some common examples might be <option>-t '2.1*'</option>, <option>-t " +"unstable</option> or <option>-t sid</option>. Configuration Item: " +"<literal>APT::Default-Release</literal>; see also the &apt-preferences; " +"manual page." msgstr "" -#. type: Content of: <refentry><refentryinfo> -#: apt-cdrom.8.xml:16 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:481 msgid "" -"&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>14 " -"February 2004</date>" +"Only perform operations that are 'trivial'. Logically this can be considered " +"related to <option>--assume-yes</option>; where " +"<option>--assume-yes</option> will answer yes to any prompt, " +"<option>--trivial-only</option> will answer no. Configuration Item: " +"<literal>APT::Get::Trivial-Only</literal>." msgstr "" -#. type: Content of: <refentry><refnamediv><refname> -#: apt-cdrom.8.xml:24 apt-cdrom.8.xml:31 -msgid "apt-cdrom" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:488 +msgid "" +"If any packages are to be removed apt-get immediately aborts without " +"prompting. Configuration Item: <literal>APT::Get::Remove</literal>." msgstr "" -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt-cdrom.8.xml:32 -msgid "APT CDROM management utility" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:494 +msgid "" +"If the command is either <literal>install</literal> or " +"<literal>remove</literal>, then this option acts like running the " +"<literal>autoremove</literal> command, removing unused dependency " +"packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>." msgstr "" -#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> -#: apt-cdrom.8.xml:38 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:501 msgid "" -"<command>apt-cdrom</command> <arg><option>-hvrmfan</option></arg> " -"<arg><option>-d=<replaceable>cdrom mount point</replaceable></option></arg> " -"<arg><option>-o=<replaceable>config string</replaceable></option></arg> " -"<arg><option>-c=<replaceable>file</replaceable></option></arg> <group> " -"<arg>add</arg> <arg>ident</arg> </group>" +"Only has meaning for the <literal>source</literal> and " +"<literal>build-dep</literal> commands. Indicates that the given source " +"names are not to be mapped through the binary table. This means that if " +"this option is specified, these commands will only accept source package " +"names as arguments, rather than accepting binary package names and looking " +"up the corresponding source package. Configuration Item: " +"<literal>APT::Get::Only-Source</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-cdrom.8.xml:51 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:512 msgid "" -"<command>apt-cdrom</command> is used to add a new CDROM to APTs list of " -"available sources. <command>apt-cdrom</command> takes care of determining " -"the structure of the disc as well as correcting for several possible " -"mis-burns and verifying the index files." +"Download only the diff, dsc, or tar file of a source archive. Configuration " +"Item: <literal>APT::Get::Diff-Only</literal>, " +"<literal>APT::Get::Dsc-Only</literal>, and " +"<literal>APT::Get::Tar-Only</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-cdrom.8.xml:58 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:518 msgid "" -"It is necessary to use <command>apt-cdrom</command> to add CDs to the APT " -"system, it cannot be done by hand. Furthermore each disk in a multi-cd set " -"must be inserted and scanned separately to account for possible mis-burns." +"Only process architecture-dependent build-dependencies. Configuration Item: " +"<literal>APT::Get::Arch-Only</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:68 -msgid "add" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:523 +msgid "" +"Ignore if packages can't be authenticated and don't prompt about it. This " +"is useful for tools like pbuilder. Configuration Item: " +"<literal>APT::Get::AllowUnauthenticated</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt-cdrom.8.xml:69 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:529 msgid "" -"<literal>add</literal> is used to add a new disc to the source list. It will " -"unmount the CDROM device, prompt for a disk to be inserted and then proceed " -"to scan it and copy the index files. If the disc does not have a proper " -"<filename>disk</filename> directory you will be prompted for a descriptive " -"title." +"Forbid the update command to acquire unverifiable data from configured " +"sources. Apt will fail at the update command for repositories without valid " +"cryptographically signatures. Configuration Item: " +"<literal>Acquire::AllowInsecureRepositories</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt-cdrom.8.xml:77 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-get.8.xml:537 msgid "" -"APT uses a CDROM ID to track which disc is currently in the drive and " -"maintains a database of these IDs in " -"<filename>&statedir;/cdroms.list</filename>" +"Show user friendly progress information in the terminal window when packages " +"are installed, upgraded or removed. For a machine parsable version of this " +"data see README.progress-reporting in the apt doc directory. Configuration " +"Item: <literal>Dpkg::Progress</literal> and " +"<literal>Dpkg::Progress-Fancy</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:84 -msgid "ident" +#. type: Content of: <refentry><refsect1><title> +#: apt-get.8.xml:550 apt-cache.8.xml:339 apt-key.8.xml:170 apt-mark.8.xml:121 apt.conf.5.xml:1248 apt_preferences.5.xml:694 +msgid "Files" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt-cdrom.8.xml:85 +#. type: Content of: <refentry><refsect1><para> +#: apt-get.8.xml:561 msgid "" -"A debugging tool to report the identity of the current disc as well as the " -"stored file name" +"&apt-cache;, &apt-cdrom;, &dpkg;, &sources-list;, &apt-conf;, &apt-config;, " +"&apt-secure;, The APT User's guide in &guidesdir;, &apt-preferences;, the " +"APT Howto." msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt-cdrom.8.xml:64 +#: apt-get.8.xml:567 msgid "" -"Unless the <option>-h</option>, or <option>--help</option> option is given " -"one of the commands below must be present. <placeholder " -"type=\"variablelist\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><title> -#: apt-cdrom.8.xml:94 apt-key.8.xml:158 -msgid "Options" +"<command>apt-get</command> returns zero on normal operation, decimal 100 on " +"error." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:98 apt-ftparchive.1.xml:539 apt-get.8.xml:345 -msgid "<option>-d</option>" +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-cache.8.xml:29 +msgid "query the APT cache" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:98 -msgid "<option>--cdrom</option>" +#. type: Content of: <refentry><refsect1><para> +#: apt-cache.8.xml:35 +msgid "" +"<command>apt-cache</command> performs a variety of operations on APT's " +"package cache. <command>apt-cache</command> does not manipulate the state of " +"the system but does provide operations to search and generate interesting " +"output from the package metadata." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cdrom.8.xml:99 +#: apt-cache.8.xml:45 msgid "" -"Mount point; specify the location to mount the cdrom. This mount point must " -"be listed in <filename>/etc/fstab</filename> and properly configured. " -"Configuration Item: <literal>Acquire::cdrom::mount</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:107 -msgid "<option>-r</option>" +"<literal>gencaches</literal> creates APT's package cache. This is done " +"implicitly by all commands needing this cache if it is missing or outdated." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:107 -msgid "<option>--rename</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable> +#: apt-cache.8.xml:49 apt-cache.8.xml:138 apt-cache.8.xml:159 apt-cache.8.xml:181 apt-cache.8.xml:186 apt-cache.8.xml:202 apt-cache.8.xml:220 apt-cache.8.xml:232 +msgid "&synopsis-pkg;" msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cdrom.8.xml:108 +#: apt-cache.8.xml:50 msgid "" -"Rename a disc; change the label of a disk or override the disks given " -"label. This option will cause <command>apt-cdrom</command> to prompt for a " -"new label. Configuration Item: <literal>APT::CDROM::Rename</literal>." +"<literal>showpkg</literal> displays information about the packages listed on " +"the command line. Remaining arguments are package names. The available " +"versions and reverse dependencies of each package listed are listed, as well " +"as forward dependencies for each version. Forward (normal) dependencies are " +"those packages upon which the package in question depends; reverse " +"dependencies are those packages that depend upon the package in " +"question. Thus, forward dependencies must be satisfied for a package, but " +"reverse dependencies need not be. For instance, <command>apt-cache showpkg " +"libreadline2</command> would produce output similar to the following:" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:116 apt-get.8.xml:364 -msgid "<option>-m</option>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:116 -msgid "<option>--no-mount</option>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cdrom.8.xml:117 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting> +#: apt-cache.8.xml:62 +#, no-wrap msgid "" -"No mounting; prevent <command>apt-cdrom</command> from mounting and " -"unmounting the mount point. Configuration Item: " -"<literal>APT::CDROM::NoMount</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:124 -msgid "<option>--fast</option>" +"Package: libreadline2\n" +"Versions: 2.1-12(/var/state/apt/lists/foo_Packages),\n" +"Reverse Depends: \n" +" libreadlineg2,libreadline2\n" +" libreadline2-altdev,libreadline2\n" +"Dependencies:\n" +"2.1-12 - libc5 (2 5.4.0-0) ncurses3.0 (0 (null))\n" +"Provides:\n" +"2.1-12 - \n" +"Reverse Provides: \n" msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cdrom.8.xml:125 +#: apt-cache.8.xml:74 msgid "" -"Fast Copy; Assume the package files are valid and do not check every " -"package. This option should be used only if <command>apt-cdrom</command> has " -"been run on this disc before and did not detect any errors. Configuration " -"Item: <literal>APT::CDROM::Fast</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:134 -msgid "<option>--thorough</option>" +"Thus it may be seen that libreadline2, version 2.1-12, depends on libc5 and " +"ncurses3.0 which must be installed for libreadline2 to work. In turn, " +"libreadlineg2 and libreadline2-altdev depend on libreadline2. If " +"libreadline2 is installed, libc5 and ncurses3.0 (and ldso) must also be " +"installed; libreadlineg2 and libreadline2-altdev do not have to be " +"installed. For the specific meaning of the remainder of the output it is " +"best to consult the apt source code." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cdrom.8.xml:135 +#: apt-cache.8.xml:83 msgid "" -"Thorough Package Scan; This option may be needed with some old Debian " -"1.1/1.2 discs that have Package files in strange places. It takes much " -"longer to scan the CD but will pick them all up." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:143 apt-get.8.xml:395 -msgid "<option>--just-print</option>" +"<literal>stats</literal> displays some statistics about the cache. No " +"further arguments are expected. Statistics reported are:" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:144 apt-get.8.xml:397 -msgid "<option>--recon</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> +#: apt-cache.8.xml:86 +msgid "" +"<literal>Total package names</literal> is the number of package names found " +"in the cache." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-cdrom.8.xml:145 apt-get.8.xml:398 -msgid "<option>--no-act</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> +#: apt-cache.8.xml:90 +msgid "" +"<literal>Normal packages</literal> is the number of regular, ordinary " +"package names; these are packages that bear a one-to-one correspondence " +"between their names and the names used by other packages for them in " +"dependencies. The majority of packages fall into this category." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-cdrom.8.xml:146 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> +#: apt-cache.8.xml:96 msgid "" -"No Changes; Do not change the &sources-list; file and do not write index " -"files. Everything is still checked however. Configuration Item: " -"<literal>APT::CDROM::NoAct</literal>." +"<literal>Pure virtual packages</literal> is the number of packages that " +"exist only as a virtual package name; that is, packages only \"provide\" the " +"virtual package name, and no package actually uses the name. For instance, " +"\"mail-transport-agent\" in the Debian system is a pure virtual package; " +"several packages provide \"mail-transport-agent\", but there is no package " +"named \"mail-transport-agent\"." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-cdrom.8.xml:159 -msgid "&apt-conf;, &apt-get;, &sources-list;" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> +#: apt-cache.8.xml:104 +msgid "" +"<literal>Single virtual packages</literal> is the number of packages with " +"only one package providing a particular virtual package. For example, in the " +"Debian system, \"X11-text-viewer\" is a virtual package, but only one " +"package, xless, provides \"X11-text-viewer\"." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-cdrom.8.xml:164 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> +#: apt-cache.8.xml:110 msgid "" -"<command>apt-cdrom</command> returns zero on normal operation, decimal 100 " -"on error." +"<literal>Mixed virtual packages</literal> is the number of packages that " +"either provide a particular virtual package or have the virtual package name " +"as the package name. For instance, in the Debian system, \"debconf\" is both " +"an actual package, and provided by the debconf-tiny package." msgstr "" -#. The last update date -#. type: Content of: <refentry><refentryinfo> -#: apt-config.8.xml:16 apt-extracttemplates.1.xml:16 apt-sortpkgs.1.xml:16 sources.list.5.xml:16 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> +#: apt-cache.8.xml:117 msgid "" -"&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>29 " -"February 2004</date>" +"<literal>Missing</literal> is the number of package names that were " +"referenced in a dependency but were not provided by any package. Missing " +"packages may be an evidence if a full distribution is not accessed, or if a " +"package (real or virtual) has been dropped from the distribution. Usually " +"they are referenced from Conflicts or Breaks statements." msgstr "" -#. type: Content of: <refentry><refnamediv><refname> -#: apt-config.8.xml:25 apt-config.8.xml:32 -msgid "apt-config" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> +#: apt-cache.8.xml:124 +msgid "" +"<literal>Total distinct</literal> versions is the number of package versions " +"found in the cache; this value is therefore at least equal to the number of " +"total package names. If more than one distribution is being accessed (for " +"instance, \"stable\" and \"unstable\"), this value can be considerably " +"larger than the number of total package names." msgstr "" -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt-config.8.xml:33 -msgid "APT Configuration Query program" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><itemizedlist><listitem><para> +#: apt-cache.8.xml:131 +msgid "" +"<literal>Total dependencies</literal> is the number of dependency " +"relationships claimed by all of the packages in the cache." msgstr "" -#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> -#: apt-config.8.xml:39 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:139 msgid "" -"<command>apt-config</command> <arg><option>-hv</option></arg> " -"<arg><option>-o=<replaceable>config string</replaceable></option></arg> " -"<arg><option>-c=<replaceable>file</replaceable></option></arg> <group " -"choice=\"req\"> <arg>shell</arg> <arg>dump</arg> </group>" +"<literal>showsrc</literal> displays all the source package records that " +"match the given package names. All versions are shown, as well as all " +"records that declare the name to be a binary package." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-config.8.xml:51 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:145 msgid "" -"<command>apt-config</command> is an internal program used by various " -"portions of the APT suite to provide consistent configurability. It accesses " -"the main configuration file <filename>/etc/apt/apt.conf</filename> in a " -"manner that is easy to use by scripted applications." +"<literal>dump</literal> shows a short listing of every package in the " +"cache. It is primarily for debugging." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-config.8.xml:56 apt-ftparchive.1.xml:75 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:150 msgid "" -"Unless the <option>-h</option>, or <option>--help</option> option is given " -"one of the commands below must be present." +"<literal>dumpavail</literal> prints out an available list to stdout. This is " +"suitable for use with &dpkg; and is used by the &dselect; method." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-config.8.xml:61 -msgid "shell" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:155 +msgid "" +"<literal>unmet</literal> displays a summary of all unmet dependencies in the " +"package cache." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-config.8.xml:63 +#: apt-cache.8.xml:160 msgid "" -"shell is used to access the configuration information from a shell " -"script. It is given pairs of arguments, the first being a shell variable and " -"the second the configuration value to query. As output it lists a series of " -"shell assignments commands for each present value. In a shell script it " -"should be used like:" +"<literal>show</literal> performs a function similar to <command>dpkg " +"--print-avail</command>; it displays the package records for the named " +"packages." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting> -#: apt-config.8.xml:71 -#, no-wrap -msgid "" -"OPTS=\"-f\"\n" -"RES=`apt-config shell OPTS MyApp::options`\n" -"eval $RES\n" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable> +#: apt-cache.8.xml:165 +msgid "&synopsis-regex;" msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-config.8.xml:76 +#: apt-cache.8.xml:166 msgid "" -"This will set the shell environment variable $OPTS to the value of " -"MyApp::options with a default of <option>-f</option>." +"<literal>search</literal> performs a full text search on all available " +"package lists for the POSIX regex pattern given, see ®ex;. It searches " +"the package names and the descriptions for an occurrence of the regular " +"expression and prints out the package name and the short description, " +"including virtual package names. If <option>--full</option> is given then " +"output identical to <literal>show</literal> is produced for each matched " +"package, and if <option>--names-only</option> is given then the long " +"description is not searched, only the package name is." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-config.8.xml:80 +#: apt-cache.8.xml:177 msgid "" -"The configuration item may be postfixed with a /[fdbi]. f returns file " -"names, d returns directories, b returns true or false and i returns an " -"integer. Each of the returns is normalized and verified internally." +"Separate arguments can be used to specify multiple search patterns that are " +"and'ed together." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-config.8.xml:89 -msgid "Just show the contents of the configuration space." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt-config.8.xml:107 apt-extracttemplates.1.xml:78 apt-ftparchive.1.xml:628 apt-sortpkgs.1.xml:73 -msgid "&apt-conf;" +#: apt-cache.8.xml:182 +msgid "" +"<literal>depends</literal> shows a listing of each dependency a package has " +"and all the possible other packages that can fulfill that dependency." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-config.8.xml:112 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:187 msgid "" -"<command>apt-config</command> returns zero on normal operation, decimal 100 " -"on error." +"<literal>rdepends</literal> shows a listing of each reverse dependency a " +"package has." msgstr "" -#. type: Content of: <refentry><refnamediv><refname> -#: apt-extracttemplates.1.xml:25 apt-extracttemplates.1.xml:32 -msgid "apt-extracttemplates" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: apt-cache.8.xml:191 +msgid "<optional><replaceable>&synopsis-prefix;</replaceable></optional>" msgstr "" -#. type: Content of: <refentry><refmeta><manvolnum> -#: apt-extracttemplates.1.xml:26 apt-ftparchive.1.xml:26 apt-sortpkgs.1.xml:26 -msgid "1" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:192 +msgid "" +"This command prints the name of each package APT knows. The optional " +"argument is a prefix match to filter the name list. The output is suitable " +"for use in a shell tab complete function and the output is generated " +"extremely quickly. This command is best used with the " +"<option>--generate</option> option." msgstr "" -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt-extracttemplates.1.xml:33 -msgid "Utility to extract DebConf config and templates from Debian packages" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:197 +msgid "" +"Note that a package which APT knows of is not necessarily available to " +"download, installable or installed, e.g. virtual packages are also listed in " +"the generated list." msgstr "" -#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> -#: apt-extracttemplates.1.xml:39 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:203 msgid "" -"<command>apt-extracttemplates</command> <arg><option>-hv</option></arg> " -"<arg><option>-t=<replaceable>temporary " -"directory</replaceable></option></arg> <arg choice=\"plain\" " -"rep=\"repeat\"><replaceable>file</replaceable></arg>" +"<literal>dotty</literal> takes a list of packages on the command line and " +"generates output suitable for use by dotty from the <ulink " +"url=\"http://www.research.att.com/sw/tools/graphviz/\">GraphViz</ulink> " +"package. The result will be a set of nodes and edges representing the " +"relationships between the packages. By default the given packages will trace " +"out all dependent packages; this can produce a very large graph. To limit " +"the output to only the packages listed on the command line, set the " +"<literal>APT::Cache::GivenOnly</literal> option." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-extracttemplates.1.xml:47 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:212 msgid "" -"<command>apt-extracttemplates</command> will take one or more Debian package " -"files as input and write out (to a temporary directory) all associated " -"config scripts and template files. For each passed in package that contains " -"config scripts and templates, one line of output will be generated in the " -"format:" +"The resulting nodes will have several shapes; normal packages are boxes, " +"pure virtual packages are triangles, mixed virtual packages are diamonds, " +"missing packages are hexagons. Orange boxes mean recursion was stopped (leaf " +"packages), blue lines are pre-depends, green lines are conflicts." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-extracttemplates.1.xml:52 -msgid "package version template-file config-script" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:217 +msgid "Caution, dotty cannot graph larger sets of packages." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-extracttemplates.1.xml:53 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:221 msgid "" -"template-file and config-script are written to the temporary directory " -"specified by the -t or --tempdir " -"(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with " -"filenames of the form <filename>package.template.XXXX</filename> and " -"<filename>package.config.XXXX</filename>" +"The same as <literal>dotty</literal>, only for xvcg from the <ulink " +"url=\"http://rw4.cs.uni-sb.de/users/sander/html/gsvcg1.html\">VCG " +"tool</ulink>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-extracttemplates.1.xml:63 apt-get.8.xml:504 -msgid "<option>-t</option>" +#: apt-cache.8.xml:225 +msgid "<optional><replaceable>&synopsis-pkg;</replaceable>…</optional>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-extracttemplates.1.xml:63 -msgid "<option>--tempdir</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:226 +msgid "" +"<literal>policy</literal> is meant to help debug issues relating to the " +"preferences file. With no arguments it will print out the priorities of each " +"source. Otherwise it prints out detailed information about the priority " +"selection of the named package." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-extracttemplates.1.xml:65 +#: apt-cache.8.xml:233 msgid "" -"Temporary directory in which to write extracted debconf template files and " -"config scripts. Configuration Item: " -"<literal>APT::ExtractTemplates::TempDir</literal>" +"<literal>apt-cache</literal>'s <literal>madison</literal> command attempts " +"to mimic the output format and a subset of the functionality of the Debian " +"archive management tool, <literal>madison</literal>. It displays available " +"versions of a package in a tabular format. Unlike the original " +"<literal>madison</literal>, it can only display information for the " +"architecture for which APT has retrieved package lists " +"(<literal>APT::Architecture</literal>)." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-extracttemplates.1.xml:82 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:249 msgid "" -"<command>apt-extracttemplates</command> returns zero on normal operation, " -"decimal 100 on error." +"Select the file to store the package cache. The package cache is the primary " +"cache used by all operations. Configuration Item: " +"<literal>Dir::Cache::pkgcache</literal>." msgstr "" -#. The last update date -#. type: Content of: <refentry><refentryinfo> -#: apt-ftparchive.1.xml:16 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:255 msgid "" -"&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>17 " -"August 2009</date>" +"Select the file to store the source cache. The source is used only by " +"<literal>gencaches</literal> and it stores a parsed version of the package " +"information from remote sources. When building the package cache the source " +"cache is used to avoid reparsing all of the package files. Configuration " +"Item: <literal>Dir::Cache::srcpkgcache</literal>." msgstr "" -#. type: Content of: <refentry><refnamediv><refname> -#: apt-ftparchive.1.xml:25 apt-ftparchive.1.xml:32 -msgid "apt-ftparchive" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:263 +msgid "" +"Quiet; produces output suitable for logging, omitting progress indicators. " +"More q's will produce more quietness up to a maximum of 2. You can also use " +"<option>-q=#</option> to set the quietness level, overriding the " +"configuration file. Configuration Item: <literal>quiet</literal>." msgstr "" -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt-ftparchive.1.xml:33 -msgid "Utility to generate index files" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:270 +msgid "" +"Print only important dependencies; for use with <literal>unmet</literal> and " +"<literal>depends</literal>. Causes only Depends and Pre-Depends relations to " +"be printed. Configuration Item: <literal>APT::Cache::Important</literal>." msgstr "" -#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> -#: apt-ftparchive.1.xml:39 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:284 msgid "" -"<command>apt-ftparchive</command> <arg><option>-hvdsq</option></arg> " -"<arg><option>--md5</option></arg> <arg><option>--delink</option></arg> " -"<arg><option>--readonly</option></arg> " -"<arg><option>--contents</option></arg> <arg><option>--arch " -"<replaceable>architecture</replaceable></option></arg> <arg><option>-o " -"<replaceable>config</replaceable>=<replaceable>string</replaceable></option></arg> " -"<arg><option>-c=<replaceable>file</replaceable></option></arg> <group " -"choice=\"req\"> <arg>packages<arg choice=\"plain\" " -"rep=\"repeat\"><replaceable>path</replaceable></arg><arg><replaceable>override</replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> " -"<arg>sources<arg choice=\"plain\" " -"rep=\"repeat\"><replaceable>path</replaceable></arg><arg><replaceable>override</replaceable><arg><replaceable>pathprefix</replaceable></arg></arg></arg> " -"<arg>contents <arg " -"choice=\"plain\"><replaceable>path</replaceable></arg></arg> <arg>release " -"<arg choice=\"plain\"><replaceable>path</replaceable></arg></arg> " -"<arg>generate <arg " -"choice=\"plain\"><replaceable>config-file</replaceable></arg> <arg " -"choice=\"plain\" " -"rep=\"repeat\"><replaceable>section</replaceable></arg></arg> <arg>clean " -"<arg choice=\"plain\"><replaceable>config-file</replaceable></arg></arg> " -"</group>" +"Per default the <literal>depends</literal> and <literal>rdepends</literal> " +"print all dependencies. This can be tweaked with these flags which will omit " +"the specified dependency type. Configuration Item: " +"<literal>APT::Cache::Show<replaceable>DependencyType</replaceable></literal> " +"e.g. <literal>APT::Cache::ShowRecommends</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:60 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:291 msgid "" -"<command>apt-ftparchive</command> is the command line tool that generates " -"the index files that APT uses to access a distribution source. The index " -"files should be generated on the origin site based on the content of that " -"site." +"Print full package records when searching. Configuration Item: " +"<literal>APT::Cache::ShowFull</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:64 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:296 msgid "" -"<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; " -"program, incorporating its entire functionality via the " -"<literal>packages</literal> command. It also contains a contents file " -"generator, <literal>contents</literal>, and an elaborate means to 'script' " -"the generation process for a complete archive." +"Print full records for all available versions. This is the default; to turn " +"it off, use <option>--no-all-versions</option>. If " +"<option>--no-all-versions</option> is specified, only the candidate version " +"will be displayed (the one which would be selected for installation). This " +"option is only applicable to the <literal>show</literal> command. " +"Configuration Item: <literal>APT::Cache::AllVersions</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:70 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cache.8.xml:305 msgid "" -"Internally <command>apt-ftparchive</command> can make use of binary " -"databases to cache the contents of a .deb file and it does not rely on any " -"external programs aside from &gzip;. When doing a full generate it " -"automatically performs file-change checks and builds the desired compressed " -"output files." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:79 -msgid "packages" +"Perform automatic package cache regeneration, rather than use the cache as " +"it is. This is the default; to turn it off, use " +"<option>--no-generate</option>. Configuration Item: " +"<literal>APT::Cache::Generate</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:81 +#: apt-cache.8.xml:311 msgid "" -"The packages command generates a package file from a directory tree. It " -"takes the given directory and recursively searches it for .deb files, " -"emitting a package record to stdout for each. This command is approximately " -"equivalent to &dpkg-scanpackages;." +"Only search on the package names, not the long descriptions. Configuration " +"Item: <literal>APT::Cache::NamesOnly</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:86 apt-ftparchive.1.xml:110 -msgid "The option <option>--db</option> can be used to specify a binary caching DB." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:89 -msgid "sources" +#: apt-cache.8.xml:316 +msgid "" +"Make <literal>pkgnames</literal> print all names, including virtual packages " +"and missing dependencies. Configuration Item: " +"<literal>APT::Cache::AllNames</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:91 +#: apt-cache.8.xml:322 msgid "" -"The <literal>sources</literal> command generates a source index file from a " -"directory tree. It takes the given directory and recursively searches it " -"for .dsc files, emitting a source record to stdout for each. This command is " -"approximately equivalent to &dpkg-scansources;." +"Make <literal>depends</literal> and <literal>rdepends</literal> recursive so " +"that all packages mentioned are printed once. Configuration Item: " +"<literal>APT::Cache::RecurseDepends</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:96 +#: apt-cache.8.xml:329 msgid "" -"If an override file is specified then a source override file will be looked " -"for with an extension of .src. The --source-override option can be used to " -"change the source override file that will be used." +"Limit the output of <literal>depends</literal> and " +"<literal>rdepends</literal> to packages which are currently installed. " +"Configuration Item: <literal>APT::Cache::Installed</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:101 -msgid "contents" +#. type: Content of: <refentry><refsect1><para> +#: apt-cache.8.xml:347 +msgid "&apt-conf;, &sources-list;, &apt-get;" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:103 +#. type: Content of: <refentry><refsect1><para> +#: apt-cache.8.xml:352 msgid "" -"The <literal>contents</literal> command generates a contents file from a " -"directory tree. It takes the given directory and recursively searches it for " -".deb files, and reads the file list from each file. It then sorts and writes " -"to stdout the list of files matched to packages. Directories are not written " -"to the output. If multiple packages own the same file then each package is " -"separated by a comma in the output." +"<command>apt-cache</command> returns zero on normal operation, decimal 100 " +"on error." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:113 -msgid "release" +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-key.8.xml:28 +msgid "APT key management utility" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:115 +#. type: Content of: <refentry><refsect1><para> +#: apt-key.8.xml:35 msgid "" -"The <literal>release</literal> command generates a Release file from a " -"directory tree. It recursively searches the given directory for uncompressed " -"<filename>Packages</filename> and <filename>Sources</filename> files and the " -"ones compressed with <command>gzip</command>, <command>bzip2</command> or " -"<command>lzma</command> as well as <filename>Release</filename> and " -"<filename>md5sum.txt</filename> files by default " -"(<literal>APT::FTPArchive::Release::Default-Patterns</literal>). Additional " -"filename patterns can be added by listing them in " -"<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to " -"stdout a Release file containing a MD5, SHA1 and SHA256 digest for each " -"file." +"<command>apt-key</command> is used to manage the list of keys used by apt to " +"authenticate packages. Packages which have been authenticated using these " +"keys will be considered trusted." +msgstr "" + +#. type: Content of: <refentry><refsect1><title> +#: apt-key.8.xml:41 +msgid "Commands" msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:125 +#: apt-key.8.xml:46 msgid "" -"Values for the additional metadata fields in the Release file are taken from " -"the corresponding variables under " -"<literal>APT::FTPArchive::Release</literal>, " -"e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported " -"fields are: <literal>Origin</literal>, <literal>Label</literal>, " -"<literal>Suite</literal>, <literal>Version</literal>, " -"<literal>Codename</literal>, <literal>Date</literal>, " -"<literal>Valid-Until</literal>, <literal>Architectures</literal>, " -"<literal>Components</literal>, <literal>Description</literal>." +"Add a new key to the list of trusted keys. The key is read from the " +"filename given with the parameter &synopsis-param-filename; or if the " +"filename is <literal>-</literal> from standard input." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:136 -msgid "generate" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:59 +msgid "Remove a key from the list of trusted keys." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:138 -msgid "" -"The <literal>generate</literal> command is designed to be runnable from a " -"cron script and builds indexes according to the given config file. The " -"config language provides a flexible means of specifying which index files " -"are built from which directories, as well as providing a simple means of " -"maintaining the required settings." +#: apt-key.8.xml:70 +msgid "Output the key &synopsis-param-keyid; to standard output." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:145 apt-get.8.xml:287 -msgid "clean" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:81 +msgid "Output all trusted keys to standard output." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:147 -msgid "" -"The <literal>clean</literal> command tidies the databases used by the given " -"configuration file by removing any records that are no longer necessary." +#: apt-key.8.xml:92 +msgid "List trusted keys." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-ftparchive.1.xml:153 -msgid "The Generate Configuration" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:103 +msgid "List fingerprints of trusted keys." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:155 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:114 msgid "" -"The <literal>generate</literal> command uses a configuration file to " -"describe the archives that are going to be generated. It follows the typical " -"ISC configuration format as seen in ISC tools like bind 8 and dhcpd. " -"&apt-conf; contains a description of the syntax. Note that the generate " -"configuration is parsed in sectional manner, but &apt-conf; is parsed in a " -"tree manner. This only effects how the scope tag is handled." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:163 -msgid "The generate configuration has 4 separate sections, each described below." +"Pass advanced options to gpg. With adv --recv-key you can download the " +"public key." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt-ftparchive.1.xml:165 -msgid "Dir Section" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:126 +msgid "" +"Update the local keyring with the archive keyring and remove from the local " +"keyring the archive keys which are no longer valid. The archive keyring is " +"shipped in the <literal>archive-keyring</literal> package of your " +"distribution, e.g. the &keyring-package; package in &keyring-distro;." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt-ftparchive.1.xml:167 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:140 msgid "" -"The <literal>Dir</literal> section defines the standard directories needed " -"to locate the files required during the generation process. These " -"directories are prepended certain relative paths defined in later sections " -"to produce a complete an absolute path." +"Perform an update working similarly to the <command>update</command> command " +"above, but get the archive keyring from a URI instead and validate it " +"against a master key. This requires an installed &wget; and an APT build " +"configured to have a server to fetch from and a master keyring to validate. " +"APT in Debian does not support this command, relying on " +"<command>update</command> instead, but Ubuntu's APT does." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:172 -msgid "ArchiveDir" +#. type: Content of: <refentry><refsect1><title> +#: apt-key.8.xml:156 apt-cdrom.8.xml:76 +msgid "Options" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:174 +#. type: Content of: <refentry><refsect1><para> +#: apt-key.8.xml:157 msgid "" -"Specifies the root of the FTP archive, in a standard Debian configuration " -"this is the directory that contains the <filename>ls-LR</filename> and dist " -"nodes." +"Note that options need to be defined before the commands described in the " +"previous section." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:179 -msgid "OverrideDir" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:160 +msgid "" +"With this option it is possible to specify a particular keyring file the " +"command should operate on. The default is that a command is executed on the " +"<filename>trusted.gpg</filename> file as well as on all parts in the " +"<filename>trusted.gpg.d</filename> directory, though " +"<filename>trusted.gpg</filename> is the primary keyring which means that " +"e.g. new keys are added to this one." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:181 -msgid "Specifies the location of the override files." +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: apt-key.8.xml:175 +msgid "<filename>/etc/apt/trustdb.gpg</filename>" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:184 -msgid "CacheDir" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:176 +msgid "Local trust database of archive keys." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:186 -msgid "Specifies the location of the cache files" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: apt-key.8.xml:179 +msgid "&keyring-filename;" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:189 -msgid "FileListDir" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:180 +msgid "Keyring of &keyring-distro; archive trusted keys." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:191 -msgid "" -"Specifies the location of the file list files, if the " -"<literal>FileList</literal> setting is used below." +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> +#: apt-key.8.xml:183 +msgid "&keyring-removed-filename;" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt-ftparchive.1.xml:197 -msgid "Default Section" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-key.8.xml:184 +msgid "Keyring of &keyring-distro; archive removed trusted keys." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt-ftparchive.1.xml:199 -msgid "" -"The <literal>Default</literal> section specifies default values, and " -"settings that control the operation of the generator. Other sections may " -"override these defaults with a per-section setting." +#. type: Content of: <refentry><refsect1><para> +#: apt-key.8.xml:193 +msgid "&apt-get;, &apt-secure;" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:203 -msgid "Packages::Compress" +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-mark.8.xml:29 +msgid "mark/unmark a package as being automatically-installed" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:205 +#. type: Content of: <refentry><refsect1><para> +#: apt-mark.8.xml:35 msgid "" -"Sets the default compression schemes to use for the Package index files. It " -"is a string that contains a space separated list of at least one of: '.' (no " -"compression), 'gzip' and 'bzip2'. The default for all compression schemes is " -"'. gzip'." +"<command>apt-mark</command> will change whether a package has been marked as " +"being automatically installed." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:211 -msgid "Packages::Extensions" +#. type: Content of: <refentry><refsect1><para> +#: apt-mark.8.xml:39 +msgid "" +"When you request that a package is installed, and as a result other packages " +"are installed to satisfy its dependencies, the dependencies are marked as " +"being automatically installed. Once these automatically installed packages " +"are no longer depended on by any manually installed packages, they will be " +"removed by e.g. <command>apt-get</command> or <command>aptitude</command>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:213 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-mark.8.xml:48 msgid "" -"Sets the default list of file extensions that are package files. This " -"defaults to '.deb'." +"<literal>auto</literal> is used to mark a package as being automatically " +"installed, which will cause the package to be removed when no more manually " +"installed packages depend on this package." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:217 -msgid "Sources::Compress" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-mark.8.xml:56 +msgid "" +"<literal>manual</literal> is used to mark a package as being manually " +"installed, which will prevent the package from being automatically removed " +"if no other packages depend on it." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:219 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-mark.8.xml:64 msgid "" -"This is similar to <literal>Packages::Compress</literal> except that it " -"controls the compression for the Sources files." +"<literal>hold</literal> is used to mark a package as held back, which will " +"prevent the package from being automatically installed, upgraded or " +"removed. The command is only a wrapper around <command>dpkg " +"--set-selections</command> and the state is therefore maintained by &dpkg; " +"and not affected by the <option>--file</option> option." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:223 -msgid "Sources::Extensions" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-mark.8.xml:74 +msgid "" +"<literal>unhold</literal> is used to cancel a previously set hold on a " +"package to allow all actions again." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:225 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-mark.8.xml:80 msgid "" -"Sets the default list of file extensions that are source files. This " -"defaults to '.dsc'." +"<literal>showauto</literal> is used to print a list of automatically " +"installed packages with each package on a new line. All automatically " +"installed packages will be listed if no package is given. If packages are " +"given only those which are automatically installed will be shown." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:229 -msgid "Contents::Compress" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-mark.8.xml:88 +msgid "" +"<literal>showmanual</literal> can be used in the same way as " +"<literal>showauto</literal> except that it will print a list of manually " +"installed packages instead." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:231 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-mark.8.xml:95 msgid "" -"This is similar to <literal>Packages::Compress</literal> except that it " -"controls the compression for the Contents files." +"<literal>showhold</literal> is used to print a list of packages on hold in " +"the same way as for the other show commands." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:235 -msgid "Translation::Compress" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-mark.8.xml:111 +msgid "" +"Read/Write package stats from the filename given with the parameter " +"&synopsis-param-filename; instead of from the default location, which is " +"<filename>extended_status</filename> in the directory defined by the " +"Configuration Item: <literal>Dir::State</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:237 +#. type: Content of: <refentry><refsect1><para> +#: apt-mark.8.xml:132 msgid "" -"This is similar to <literal>Packages::Compress</literal> except that it " -"controls the compression for the Translation-en master file." +"<command>apt-mark</command> returns zero on normal operation, non-zero on " +"error." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:241 -msgid "DeLinkLimit" +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-secure.8.xml:43 +msgid "Archive authentication support for APT" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:243 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:48 msgid "" -"Specifies the number of kilobytes to delink (and replace with hard links) " -"per run. This is used in conjunction with the per-section " -"<literal>External-Links</literal> setting." +"Starting with version 0.6, <command>apt</command> contains code that does " +"signature checking of the Release file for all archives. This ensures that " +"packages in the archive can't be modified by people who have no access to " +"the Release file signing key." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:248 -msgid "FileMode" +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:56 +msgid "" +"If a package comes from a archive without a signature, or with a signature " +"that apt does not have a key for, that package is considered untrusted, and " +"installing it will result in a big warning. <command>apt-get</command> will " +"currently only warn for unsigned archives; future releases might force all " +"sources to be verified before downloading packages from them." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:250 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:65 msgid "" -"Specifies the mode of all created index files. It defaults to 0644. All " -"index files are set to this mode with no regard to the umask." +"The package frontends &apt-get;, &aptitude; and &synaptic; support this new " +"authentication feature." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:255 apt-ftparchive.1.xml:401 -msgid "LongDescription" +#. type: Content of: <refentry><refsect1><title> +#: apt-secure.8.xml:70 +msgid "Trusted archives" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:257 apt-ftparchive.1.xml:403 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:73 msgid "" -"Sets if long descriptions should be included in the Packages file or split " -"out into a master Translation-en file." +"The chain of trust from an apt archive to the end user is made up of several " +"steps. <command>apt-secure</command> is the last step in this chain; " +"trusting an archive does not mean that you trust its packages not to contain " +"malicious code, but means that you trust the archive maintainer. It's the " +"archive maintainer's responsibility to ensure that the archive's integrity " +"is preserved." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt-ftparchive.1.xml:263 -msgid "TreeDefault Section" +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:81 +msgid "" +"apt-secure does not review signatures at a package level. If you require " +"tools to do this you should look at <command>debsig-verify</command> and " +"<command>debsign</command> (provided in the debsig-verify and devscripts " +"packages respectively)." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt-ftparchive.1.xml:265 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:88 msgid "" -"Sets defaults specific to <literal>Tree</literal> sections. All of these " -"variables are substitution variables and have the strings $(DIST), " -"$(SECTION) and $(ARCH) replaced with their respective values." +"The chain of trust in Debian starts when a maintainer uploads a new package " +"or a new version of a package to the Debian archive. In order to become " +"effective, this upload needs to be signed by a key contained in the Debian " +"Maintainers keyring (available in the debian-keyring package). Maintainers' " +"keys are signed by other maintainers following pre-established procedures to " +"ensure the identity of the key holder." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:270 -msgid "MaxContentsChange" +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:98 +msgid "" +"Once the uploaded package is verified and included in the archive, the " +"maintainer signature is stripped off, and checksums of the package are " +"computed and put in the Packages file. The checksums of all of the Packages " +"files are then computed and put into the Release file. The Release file is " +"then signed by the archive key for this &keyring-distro; release, and " +"distributed alongside the packages and the Packages files on " +"&keyring-distro; mirrors. The keys are in the &keyring-distro; archive " +"keyring available in the &keyring-package; package." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:272 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:109 msgid "" -"Sets the number of kilobytes of contents files that are generated each " -"day. The contents files are round-robined so that over several days they " -"will all be rebuilt." +"End users can check the signature of the Release file, extract a checksum of " +"a package from it and compare it with the checksum of the package they " +"downloaded by hand - or rely on APT doing this automatically." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:277 -msgid "ContentsAge" +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:114 +msgid "" +"Notice that this is distinct from checking signatures on a per package " +"basis. It is designed to prevent two possible attacks:" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:279 +#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> +#: apt-secure.8.xml:119 msgid "" -"Controls the number of days a contents file is allowed to be checked without " -"changing. If this limit is passed the mtime of the contents file is " -"updated. This case can occur if the package file is changed in such a way " -"that does not result in a new contents file [override edit for instance]. A " -"hold off is allowed in hopes that new .debs will be installed, requiring a " -"new file anyhow. The default is 10, the units are in days." +"<literal>Network \"man in the middle\" attacks</literal>. Without signature " +"checking, malicious agents can introduce themselves into the package " +"download process and provide malicious software either by controlling a " +"network element (router, switch, etc.) or by redirecting traffic to a rogue " +"server (through ARP or DNS spoofing attacks)." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:288 -msgid "Directory" +#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> +#: apt-secure.8.xml:127 +msgid "" +"<literal>Mirror network compromise</literal>. Without signature checking, a " +"malicious agent can compromise a mirror host and modify the files in it to " +"propagate malicious software to all users downloading packages from that " +"host." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:290 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:134 msgid "" -"Sets the top of the .deb directory tree. Defaults to " -"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>" +"However, it does not defend against a compromise of the Debian master server " +"itself (which signs the packages) or against a compromise of the key used to " +"sign the Release files. In any case, this mechanism can complement a " +"per-package signature." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:294 -msgid "SrcDirectory" +#. type: Content of: <refentry><refsect1><title> +#: apt-secure.8.xml:140 +msgid "User configuration" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:296 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:142 msgid "" -"Sets the top of the source package directory tree. Defaults to " -"<filename>$(DIST)/$(SECTION)/source/</filename>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:300 apt-ftparchive.1.xml:439 -msgid "Packages" +"<command>apt-key</command> is the program that manages the list of keys used " +"by apt. It can be used to add or remove keys, although an installation of " +"this release will automatically contain the default Debian archive signing " +"keys used in the Debian package repositories." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:302 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:149 msgid "" -"Sets the output Packages file. Defaults to " -"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>" +"In order to add a new key you need to first download it (you should make " +"sure you are using a trusted communication channel when retrieving it), add " +"it with <command>apt-key</command> and then run <command>apt-get " +"update</command> so that apt can download and verify the " +"<filename>InRelease</filename> or <filename>Release.gpg</filename> files " +"from the archives you have configured." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:306 apt-ftparchive.1.xml:444 -msgid "Sources" +#. type: Content of: <refentry><refsect1><title> +#: apt-secure.8.xml:158 +msgid "Archive configuration" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:308 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:160 msgid "" -"Sets the output Sources file. Defaults to " -"<filename>$(DIST)/$(SECTION)/source/Sources</filename>" +"If you want to provide archive signatures in an archive under your " +"maintenance you have to:" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:312 -msgid "Translation" +#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> +#: apt-secure.8.xml:165 +msgid "" +"<emphasis>Create a toplevel Release file</emphasis>, if it does not exist " +"already. You can do this by running <command>apt-ftparchive " +"release</command> (provided in apt-utils)." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:314 +#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> +#: apt-secure.8.xml:170 msgid "" -"Set the output Translation-en master file with the long descriptions if they " -"should be not included in the Packages file. Defaults to " -"<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>" +"<emphasis>Sign it</emphasis>. You can do this by running <command>gpg " +"--clearsign -o InRelease Release</command> and <command>gpg -abs -o " +"Release.gpg Release</command>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:319 -msgid "InternalPrefix" +#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> +#: apt-secure.8.xml:174 +msgid "" +"<emphasis>Publish the key fingerprint</emphasis>, that way your users will " +"know what key they need to import in order to authenticate the files in the " +"archive." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:321 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:181 msgid "" -"Sets the path prefix that causes a symlink to be considered an internal link " -"instead of an external link. Defaults to " -"<filename>$(DIST)/$(SECTION)/</filename>" +"Whenever the contents of the archive change (new packages are added or " +"removed) the archive maintainer has to follow the first two steps outlined " +"above." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:326 apt-ftparchive.1.xml:450 -msgid "Contents" +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:189 +msgid "" +"&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, " +"&debsign;, &debsig-verify;, &gpg;" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:328 +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:193 msgid "" -"Sets the output Contents file. Defaults to " -"<filename>$(DIST)/Contents-$(ARCH)</filename>. If this setting causes " -"multiple Packages files to map onto a single Contents file (such as the " -"default) then <command>apt-ftparchive</command> will integrate those " -"package files together automatically." +"For more background information you might want to review the <ulink " +"url=\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7\">Debian " +"Security Infrastructure</ulink> chapter of the Securing Debian Manual " +"(available also in the harden-doc package) and the <ulink " +"url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong " +"Distribution HOWTO</ulink> by V. Alex Brennen." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:335 -msgid "Contents::Header" +#. type: Content of: <refentry><refsect1><title> +#: apt-secure.8.xml:206 +msgid "Manpage Authors" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:337 -msgid "Sets header file to prepend to the contents output." +#. type: Content of: <refentry><refsect1><para> +#: apt-secure.8.xml:208 +msgid "" +"This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac " +"Jones, Colin Walters, Florian Weimer and Michael Vogt." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:340 apt-ftparchive.1.xml:475 -msgid "BinCacheDB" +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-cdrom.8.xml:28 +msgid "APT CD-ROM management utility" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:342 +#. type: Content of: <refentry><refsect1><para> +#: apt-cdrom.8.xml:34 msgid "" -"Sets the binary cache database to use for this section. Multiple sections " -"can share the same database." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:346 -msgid "FileList" +"<command>apt-cdrom</command> is used to add a new CD-ROM to APT's list of " +"available sources. <command>apt-cdrom</command> takes care of determining " +"the structure of the disc as well as correcting for several possible " +"mis-burns and verifying the index files." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:348 +#. type: Content of: <refentry><refsect1><para> +#: apt-cdrom.8.xml:41 msgid "" -"Specifies that instead of walking the directory tree, " -"<command>apt-ftparchive</command> should read the list of files from the " -"given file. Relative files names are prefixed with the archive directory." +"It is necessary to use <command>apt-cdrom</command> to add CDs to the APT " +"system; it cannot be done by hand. Furthermore each disc in a multi-CD set " +"must be inserted and scanned separately to account for possible mis-burns." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:353 -msgid "SourceFileList" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:52 +msgid "" +"<literal>add</literal> is used to add a new disc to the source list. It will " +"unmount the CD-ROM device, prompt for a disc to be inserted and then proceed " +"to scan it and copy the index files. If the disc does not have a proper " +"<filename>.disk</filename> directory you will be prompted for a descriptive " +"title." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:355 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:60 msgid "" -"Specifies that instead of walking the directory tree, " -"<command>apt-ftparchive</command> should read the list of files from the " -"given file. Relative files names are prefixed with the archive directory. " -"This is used when processing source indexes." +"APT uses a CD-ROM ID to track which disc is currently in the drive and " +"maintains a database of these IDs in " +"<filename>&statedir;/cdroms.list</filename>" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt-ftparchive.1.xml:363 -msgid "Tree Section" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:68 +msgid "" +"A debugging tool to report the identity of the current disc as well as the " +"stored file name" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt-ftparchive.1.xml:365 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:81 msgid "" -"The <literal>Tree</literal> section defines a standard Debian file tree " -"which consists of a base directory, then multiple sections in that base " -"directory and finally multiple Architectures in each section. The exact " -"pathing used is defined by the <literal>Directory</literal> substitution " -"variable." +"Do not try to auto-detect the CD-ROM path. Usually combined with the " +"<option>--cdrom</option> option. Configuration Item: " +"<literal>Acquire::cdrom::AutoDetect</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt-ftparchive.1.xml:370 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:89 msgid "" -"The <literal>Tree</literal> section takes a scope tag which sets the " -"<literal>$(DIST)</literal> variable and defines the root of the tree (the " -"path is prefixed by <literal>ArchiveDir</literal>). Typically this is a " -"setting such as <filename>dists/&stable-codename;</filename>." +"Mount point; specify the location to mount the CD-ROM. This mount point must " +"be listed in <filename>/etc/fstab</filename> and properly configured. " +"Configuration Item: <literal>Acquire::cdrom::mount</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt-ftparchive.1.xml:375 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:98 msgid "" -"All of the settings defined in the <literal>TreeDefault</literal> section " -"can be use in a <literal>Tree</literal> section as well as three new " -"variables." +"Rename a disc; change the label of a disc or override the disc's given " +"label. This option will cause <command>apt-cdrom</command> to prompt for a " +"new label. Configuration Item: <literal>APT::CDROM::Rename</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt-ftparchive.1.xml:381 -#, no-wrap +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:107 msgid "" -"for i in Sections do \n" -" for j in Architectures do\n" -" Generate for DIST=scope SECTION=i ARCH=j\n" -" " +"No mounting; prevent <command>apt-cdrom</command> from mounting and " +"unmounting the mount point. Configuration Item: " +"<literal>APT::CDROM::NoMount</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt-ftparchive.1.xml:378 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:115 msgid "" -"When processing a <literal>Tree</literal> section " -"<command>apt-ftparchive</command> performs an operation similar to: " -"<placeholder type=\"programlisting\" id=\"0\"/>" +"Fast Copy; Assume the package files are valid and do not check every " +"package. This option should be used only if <command>apt-cdrom</command> has " +"been run on this disc before and did not detect any errors. Configuration " +"Item: <literal>APT::CDROM::Fast</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:387 -msgid "Sections" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:125 +msgid "" +"Thorough Package Scan; This option may be needed with some old Debian " +"1.1/1.2 discs that have Package files in strange places. It takes much " +"longer to scan the CD but will pick them all up." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:389 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-cdrom.8.xml:136 msgid "" -"This is a space separated list of sections which appear under the " -"distribution, typically this is something like <literal>main contrib " -"non-free</literal>" +"No Changes; Do not change the &sources-list; file and do not write index " +"files. Everything is still checked however. Configuration Item: " +"<literal>APT::CDROM::NoAct</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:394 -msgid "Architectures" +#. type: Content of: <refentry><refsect1><para> +#: apt-cdrom.8.xml:149 +msgid "&apt-conf;, &apt-get;, &sources-list;" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:396 +#. type: Content of: <refentry><refsect1><para> +#: apt-cdrom.8.xml:154 msgid "" -"This is a space separated list of all the architectures that appear under " -"search section. The special architecture 'source' is used to indicate that " -"this tree has a source archive." +"<command>apt-cdrom</command> returns zero on normal operation, decimal 100 " +"on error." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:407 apt-ftparchive.1.xml:455 -msgid "BinOverride" +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-config.8.xml:29 +msgid "APT Configuration Query program" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:409 +#. type: Content of: <refentry><refsect1><para> +#: apt-config.8.xml:35 msgid "" -"Sets the binary override file. The override file contains section, priority " -"and maintainer address information." +"<command>apt-config</command> is an internal program used by various " +"portions of the APT suite to provide consistent configurability. It accesses " +"the main configuration file <filename>/etc/apt/apt.conf</filename> in a " +"manner that is easy to use for scripted applications." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:413 apt-ftparchive.1.xml:460 -msgid "SrcOverride" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-config.8.xml:47 +msgid "" +"shell is used to access the configuration information from a shell " +"script. It is given pairs of arguments, the first being a shell variable and " +"the second the configuration value to query. As output it lists shell " +"assignment commands for each value present. In a shell script it should be " +"used as follows:" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:415 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><informalexample><programlisting> +#: apt-config.8.xml:55 +#, no-wrap msgid "" -"Sets the source override file. The override file contains section " -"information." +"OPTS=\"-f\"\n" +"RES=`apt-config shell OPTS MyApp::options`\n" +"eval $RES\n" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:419 apt-ftparchive.1.xml:465 -msgid "ExtraOverride" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-config.8.xml:60 +msgid "" +"This will set the shell environment variable $OPTS to the value of " +"MyApp::options with a default of <option>-f</option>." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:421 apt-ftparchive.1.xml:467 -msgid "Sets the binary extra override file." +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-config.8.xml:64 +msgid "" +"The configuration item may be postfixed with a /[fdbi]. f returns file " +"names, d returns directories, b returns true or false and i returns an " +"integer. Each of the returns is normalized and verified internally." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:424 apt-ftparchive.1.xml:470 -msgid "SrcExtraOverride" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-config.8.xml:73 +msgid "Just show the contents of the configuration space." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:426 apt-ftparchive.1.xml:472 -msgid "Sets the source extra override file." +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-config.8.xml:86 +msgid "" +"Include options which have an empty value. This is the default, so use " +"--no-empty to remove them from the output." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt-ftparchive.1.xml:431 -msgid "BinDirectory Section" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term><option><replaceable> +#: apt-config.8.xml:91 +msgid "%f "%v";%n" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt-ftparchive.1.xml:433 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-config.8.xml:92 msgid "" -"The <literal>bindirectory</literal> section defines a binary directory tree " -"with no special structure. The scope tag specifies the location of the " -"binary directory and the settings are similar to the <literal>Tree</literal> " -"section with no substitution variables or " -"<literal>Section</literal><literal>Architecture</literal> settings." +"Defines the output of each config option. %t will be replaced with " +"its individual name, %f with its full hierarchical name and %v " +"with its value. Use uppercase letters and special characters in the value " +"will be encoded to ensure that it can e.g. be safely used in a quoted-string " +"as defined by RFC822. Additionally %n will be replaced by a newline, " +"and %N by a tab. A % can be printed by using %%." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:441 -msgid "Sets the Packages file output." +#. type: Content of: <refentry><refsect1><para> +#: apt-config.8.xml:106 apt-extracttemplates.1.xml:67 apt-sortpkgs.1.xml:60 apt-ftparchive.1.xml:604 +msgid "&apt-conf;" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:446 +#. type: Content of: <refentry><refsect1><para> +#: apt-config.8.xml:111 msgid "" -"Sets the Sources file output. At least one of <literal>Packages</literal> or " -"<literal>Sources</literal> is required." +"<command>apt-config</command> returns zero on normal operation, decimal 100 " +"on error." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:452 -msgid "Sets the Contents file output. (optional)" +#. type: Content of: <refentry><refentryinfo><author><contrib> +#: apt.conf.5.xml:16 +msgid "Initial documentation of Debug::*." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:457 -msgid "Sets the binary override file." +#. type: Content of: <refentry><refentryinfo><author><email> +#: apt.conf.5.xml:17 +msgid "dburrows@debian.org" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:462 -msgid "Sets the source override file." +#. type: Content of: <refentry><refmeta><manvolnum> +#: apt.conf.5.xml:27 apt_preferences.5.xml:21 sources.list.5.xml:22 +msgid "5" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:477 -msgid "Sets the cache DB." +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt.conf.5.xml:34 +msgid "Configuration file for APT" +msgstr "" + +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:38 +msgid "" +"<filename>/etc/apt/apt.conf</filename> is the main configuration file shared " +"by all the tools in the APT suite of tools, though it is by no means the " +"only place options can be set. The suite also shares a common command line " +"parser to provide a uniform environment." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:480 -msgid "PathPrefix" +#. type: Content of: <refentry><refsect1><orderedlist><para> +#: apt.conf.5.xml:44 +msgid "" +"When an APT tool starts up it will read the configuration files in the " +"following order:" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:482 -msgid "Appends a path to all the output paths." +#. type: Content of: <refentry><refsect1><orderedlist><listitem><para> +#: apt.conf.5.xml:46 +msgid "" +"the file specified by the <envar>APT_CONFIG</envar> environment variable (if " +"any)" +msgstr "" + +#. type: Content of: <refentry><refsect1><orderedlist><listitem><para> +#: apt.conf.5.xml:48 +msgid "" +"all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending " +"order which have either no or \"<literal>conf</literal>\" as filename " +"extension and which only contain alphanumeric, hyphen (-), underscore (_) " +"and period (.) characters. Otherwise APT will print a notice that it has " +"ignored a file, unless that file matches a pattern in the " +"<literal>Dir::Ignore-Files-Silently</literal> configuration list - in which " +"case it will be silently ignored." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:485 -msgid "FileList, SourceFileList" +#. type: Content of: <refentry><refsect1><orderedlist><listitem><para> +#: apt.conf.5.xml:55 +msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:487 -msgid "Specifies the file list file." +#. type: Content of: <refentry><refsect1><orderedlist><listitem><para> +#: apt.conf.5.xml:57 +msgid "" +"the command line options are applied to override the configuration " +"directives or to load even more configuration files." msgstr "" #. type: Content of: <refentry><refsect1><title> -#: apt-ftparchive.1.xml:494 -msgid "The Binary Override File" +#: apt.conf.5.xml:61 +msgid "Syntax" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:495 +#: apt.conf.5.xml:62 msgid "" -"The binary override file is fully compatible with &dpkg-scanpackages;. It " -"contains 4 fields separated by spaces. The first field is the package name, " -"the second is the priority to force that package to, the third is the the " -"section to force that package to and the final field is the maintainer " -"permutation field." +"The configuration file is organized in a tree with options organized into " +"functional groups. Option specification is given with a double colon " +"notation; for instance <literal>APT::Get::Assume-Yes</literal> is an option " +"within the APT tool group, for the Get tool. Options do not inherit from " +"their parent groups." msgstr "" -#. type: Content of: <refentry><refsect1><para><literallayout> -#: apt-ftparchive.1.xml:501 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:68 +msgid "" +"Syntactically the configuration language is modeled after what the ISC tools " +"such as bind and dhcp use. Lines starting with <literal>//</literal> are " +"treated as comments (ignored), as well as all text between " +"<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. " +"Each line is of the form <literal>APT::Get::Assume-Yes \"true\";</literal>. " +"The quotation marks and trailing semicolon are required. The value must be " +"on one line, and there is no kind of string concatenation. Values must not " +"include backslashes or extra quotation marks. Option names are made up of " +"alphanumeric characters and the characters \"/-:._+\". A new scope can be " +"opened with curly braces, like this:" +msgstr "" + +#. type: Content of: <refentry><refsect1><informalexample><programlisting> +#: apt.conf.5.xml:81 #, no-wrap -msgid "old [// oldn]* => new" +msgid "" +"APT {\n" +" Get {\n" +" Assume-Yes \"true\";\n" +" Fix-Broken \"true\";\n" +" };\n" +"};\n" msgstr "" -#. type: Content of: <refentry><refsect1><para><literallayout> -#: apt-ftparchive.1.xml:503 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:89 +msgid "" +"with newlines placed to make it more readable. Lists can be created by " +"opening a scope and including a single string enclosed in quotes followed by " +"a semicolon. Multiple entries can be included, separated by a semicolon." +msgstr "" + +#. type: Content of: <refentry><refsect1><informalexample><programlisting> +#: apt.conf.5.xml:94 #, no-wrap -msgid "new" +msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:500 +#: apt.conf.5.xml:97 msgid "" -"The general form of the maintainer field is: <placeholder " -"type=\"literallayout\" id=\"0\"/> or simply, <placeholder " -"type=\"literallayout\" id=\"1\"/> The first form allows a double-slash " -"separated list of old email addresses to be specified. If any of those are " -"found then new is substituted for the maintainer field. The second form " -"unconditionally substitutes the maintainer field." +"In general the sample configuration file &configureindex; is a good guide " +"for how it should look." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-ftparchive.1.xml:511 -msgid "The Source Override File" +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:100 +msgid "" +"Case is not significant in names of configuration items, so in the previous " +"example you could use <literal>dpkg::pre-install-pkgs</literal>." msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:513 +#: apt.conf.5.xml:103 msgid "" -"The source override file is fully compatible with &dpkg-scansources;. It " -"contains 2 fields separated by spaces. The first fields is the source " -"package name, the second is the section to assign it." +"Names for the configuration items are optional if a list is defined as can " +"be seen in the <literal>DPkg::Pre-Install-Pkgs</literal> example above. If " +"you don't specify a name a new entry will simply add a new option to the " +"list. If you specify a name you can override the option in the same way as " +"any other option by reassigning a new value to the option." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-ftparchive.1.xml:518 -msgid "The Extra Override File" +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:108 +msgid "" +"Two special commands are defined: <literal>#include</literal> (which is " +"deprecated and not supported by alternative implementations) and " +"<literal>#clear</literal>. <literal>#include</literal> will include the " +"given file, unless the filename ends in a slash, in which case the whole " +"directory is included. <literal>#clear</literal> is used to erase a part of " +"the configuration tree. The specified element and all its descendants are " +"erased. (Note that these lines also need to end with a semicolon.)" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:520 +#: apt.conf.5.xml:118 msgid "" -"The extra override file allows any arbitrary tag to be added or replaced in " -"the output. It has 3 columns, the first is the package, the second is the " -"tag and the remainder of the line is the new value." +"The <literal>#clear</literal> command is the only way to delete a list or a " +"complete scope. Reopening a scope (or using the syntax described below with " +"an appended <literal>::</literal>) will <emphasis>not</emphasis> override " +"previously written entries. Options can only be overridden by addressing a " +"new value to them - lists and scopes can't be overridden, only cleared." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:529 -msgid "<option>--md5</option>, <option>--sha1</option>, <option>--sha256</option>" +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:126 +msgid "" +"All of the APT tools take an -o option which allows an arbitrary " +"configuration directive to be specified on the command line. The syntax is a " +"full option name (<literal>APT::Get::Assume-Yes</literal> for instance) " +"followed by an equals sign then the new value of the option. To append a new " +"element to a list, add a trailing <literal>::</literal> to the name of the " +"list. (As you might suspect, the scope syntax can't be used on the command " +"line.)" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:531 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:134 msgid "" -"Generate the given checksum. These options default to on, when turned off " -"the generated index files will not have the checksum fields where possible. " -"Configuration Items: " -"<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and " -"<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> " -"where <literal>Index</literal> can be <literal>Packages</literal>, " -"<literal>Sources</literal> or <literal>Release</literal> and " -"<literal>Checksum</literal> can be <literal>MD5</literal>, " -"<literal>SHA1</literal> or <literal>SHA256</literal>." +"Note that appending items to a list using <literal>::</literal> only works " +"for one item per line, and that you should not use it in combination with " +"the scope syntax (which adds <literal>::</literal> implicitly). Using both " +"syntaxes together will trigger a bug which some users unfortunately depend " +"on: an option with the unusual name \"<literal>::</literal>\" which acts " +"like every other option with a name. This introduces many problems; for one " +"thing, users who write multiple lines in this <emphasis>wrong</emphasis> " +"syntax in the hope of appending to a list will achieve the opposite, as only " +"the last assignment for this option \"<literal>::</literal>\" will be " +"used. Future versions of APT will raise errors and stop working if they " +"encounter this misuse, so please correct such statements now while APT " +"doesn't explicitly complain about them." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:539 -msgid "<option>--db</option>" +#. type: Content of: <refentry><refsect1><title> +#: apt.conf.5.xml:149 +msgid "The APT Group" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:541 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:150 msgid "" -"Use a binary caching DB. This has no effect on the generate command. " -"Configuration Item: <literal>APT::FTPArchive::DB</literal>." +"This group of options controls general APT behavior as well as holding the " +"options for all of the tools." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:547 +#: apt.conf.5.xml:155 msgid "" -"Quiet; produces output suitable for logging, omitting progress indicators. " -"More q's will produce more quiet up to a maximum of 2. You can also use " -"<option>-q=#</option> to set the quiet level, overriding the configuration " -"file. Configuration Item: <literal>quiet</literal>." +"System Architecture; sets the architecture to use when fetching files and " +"parsing package lists. The internal default is the architecture apt was " +"compiled for." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:553 -msgid "<option>--delink</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:162 +msgid "" +"All Architectures the system supports. For instance, CPUs implementing the " +"<literal>amd64</literal> (also called <literal>x86-64</literal>) " +"instruction set are also able to execute binaries compiled for the " +"<literal>i386</literal> (<literal>x86</literal>) instruction set. This list " +"is used when fetching files and parsing package lists. The initial default " +"is always the system's native architecture " +"(<literal>APT::Architecture</literal>), and foreign architectures are added " +"to the default list when they are registered via <command>dpkg " +"--add-architecture</command>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:555 +#: apt.conf.5.xml:176 msgid "" -"Perform Delinking. If the <literal>External-Links</literal> setting is used " -"then this option actually enables delinking of the files. It defaults to on " -"and can be turned off with <option>--no-delink</option>. Configuration " -"Item: <literal>APT::FTPArchive::DeLinkAct</literal>." +"List of all build profiles enabled for build-dependency resolution, without " +"the \"<literal>profile.</literal>\" namespace prefix. By default this list " +"is empty. The <envar>DEB_BUILD_PROFILES</envar> as used by " +"&dpkg-buildpackage; overrides the list notation." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:561 -msgid "<option>--contents</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:184 +msgid "" +"Default release to install packages from if more than one version is " +"available. Contains release name, codename or release version. Examples: " +"'stable', 'testing', 'unstable', '&stable-codename;', '&testing-codename;', " +"'4.0', '5.0*'. See also &apt-preferences;." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:563 +#: apt.conf.5.xml:190 msgid "" -"Perform contents generation. When this option is set and package indexes are " -"being generated with a cache DB then the file listing will also be extracted " -"and stored in the DB for later use. When using the generate command this " -"option also allows the creation of any Contents files. The default is on. " -"Configuration Item: <literal>APT::FTPArchive::Contents</literal>." +"Ignore held packages; this global option causes the problem resolver to " +"ignore held packages in its decision making." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:571 -msgid "<option>--source-override</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:195 +msgid "" +"Defaults to on. When turned on the autoclean feature will remove any " +"packages which can no longer be downloaded from the cache. If turned off " +"then packages that are locally installed are also excluded from cleaning - " +"but note that APT provides no direct means to reinstall them." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:573 +#: apt.conf.5.xml:203 msgid "" -"Select the source override file to use with the <literal>sources</literal> " -"command. Configuration Item: " -"<literal>APT::FTPArchive::SourceOverride</literal>." +"Defaults to on, which will cause APT to install essential and important " +"packages as soon as possible in an install/upgrade operation, in order to " +"limit the effect of a failing &dpkg; call. If this option is disabled, APT " +"treats an important package in the same way as an extra package: between the " +"unpacking of the package A and its configuration there can be many other " +"unpack or configuration calls for other unrelated packages B, C etc. If " +"these cause the &dpkg; call to fail (e.g. because package B's maintainer " +"scripts generate an error), this results in a system state in which package " +"A is unpacked but unconfigured - so any package depending on A is now no " +"longer guaranteed to work, as its dependency on A is no longer satisfied." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:577 -msgid "<option>--readonly</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:215 +msgid "" +"The immediate configuration marker is also applied in the potentially " +"problematic case of circular dependencies, since a dependency with the " +"immediate flag is equivalent to a Pre-Dependency. In theory this allows APT " +"to recognise a situation in which it is unable to perform immediate " +"configuration, abort, and suggest to the user that the option should be " +"temporarily deactivated in order to allow the operation to proceed. Note " +"the use of the word \"theory\" here; in the real world this problem has " +"rarely been encountered, in non-stable distribution versions, and was caused " +"by wrong dependencies of the package in question or by a system in an " +"already broken state; so you should not blindly disable this option, as the " +"scenario mentioned above is not the only problem it can help to prevent in " +"the first place." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:579 +#: apt.conf.5.xml:228 msgid "" -"Make the caching databases read only. Configuration Item: " -"<literal>APT::FTPArchive::ReadOnlyDB</literal>." +"Before a big operation like <literal>dist-upgrade</literal> is run with this " +"option disabled you should try to explicitly <literal>install</literal> the " +"package APT is unable to configure immediately; but please make sure you " +"also report your problem to your distribution and to the APT team with the " +"buglink below, so they can work on improving or correcting the upgrade " +"process." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:583 -msgid "<option>--arch</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:239 +msgid "" +"Never enable this option unless you <emphasis>really</emphasis> know what " +"you are doing. It permits APT to temporarily remove an essential package to " +"break a Conflicts/Conflicts or Conflicts/Pre-Depends loop between two " +"essential packages. <emphasis>Such a loop should never exist and is a grave " +"bug</emphasis>. This option will work if the essential packages are not " +"<command>tar</command>, <command>gzip</command>, <command>libc</command>, " +"<command>dpkg</command>, <command>dash</command> or anything that those " +"packages depend on." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:584 +#: apt.conf.5.xml:251 msgid "" -"Accept in the <literal>packages</literal> and <literal>contents</literal> " -"commands only package files matching <literal>*_arch.deb</literal> or " -"<literal>*_all.deb</literal> instead of all package files in the given " -"path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>." +"APT uses since version 0.7.26 a resizable memory mapped cache file to store " +"the available information. <literal>Cache-Start</literal> acts as a hint of " +"the size the cache will grow to, and is therefore the amount of memory APT " +"will request at startup. The default value is 20971520 bytes (~20 MB). Note " +"that this amount of space needs to be available for APT; otherwise it will " +"likely fail ungracefully, so for memory restricted devices this value should " +"be lowered while on systems with a lot of configured sources it should be " +"increased. <literal>Cache-Grow</literal> defines in bytes with the default " +"of 1048576 (~1 MB) how much the cache size will be increased in the event " +"the space defined by <literal>Cache-Start</literal> is not enough. This " +"value will be applied again and again until either the cache is big enough " +"to store all information or the size of the cache reaches the " +"<literal>Cache-Limit</literal>. The default of " +"<literal>Cache-Limit</literal> is 0 which stands for no limit. If " +"<literal>Cache-Grow</literal> is set to 0 the automatic growth of the cache " +"is disabled." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:590 -msgid "<option>APT::FTPArchive::AlwaysStat</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:267 +msgid "Defines which packages are considered essential build dependencies." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:592 +#: apt.conf.5.xml:271 msgid "" -"&apt-ftparchive; caches as much as possible of metadata in a cachedb. If " -"packages are recompiled and/or republished with the same version again, this " -"will lead to problems as the now outdated cached metadata like size and " -"checksums will be used. With this option enabled this will no longer happen " -"as it will be checked if the file was changed. Note that this option is set " -"to \"<literal>false</literal>\" by default as it is not recommend to upload " -"multiply versions/builds of a package with the same versionnumber, so in " -"theory nobody will have these problems and therefore all these extra checks " -"are useless." +"The Get subsection controls the &apt-get; tool; please see its documentation " +"for more information about the options here." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-ftparchive.1.xml:602 -msgid "<option>APT::FTPArchive::LongDescription</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:276 +msgid "" +"The Cache subsection controls the &apt-cache; tool; please see its " +"documentation for more information about the options here." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-ftparchive.1.xml:604 +#: apt.conf.5.xml:281 msgid "" -"This configuration option defaults to \"<literal>true</literal>\" and should " -"only be set to <literal>\"false\"</literal> if the Archive generated with " -"&apt-ftparchive; also provides <filename>Translation</filename> files. Note " -"that the <filename>Translation-en</filename> master file can only be created " -"in the generate command." +"The CDROM subsection controls the &apt-cdrom; tool; please see its " +"documentation for more information about the options here." msgstr "" #. type: Content of: <refentry><refsect1><title> -#: apt-ftparchive.1.xml:616 apt.conf.5.xml:1087 apt_preferences.5.xml:544 sources.list.5.xml:198 -msgid "Examples" +#: apt.conf.5.xml:287 +msgid "The Acquire Group" msgstr "" -#. type: Content of: <refentry><refsect1><para><programlisting> -#: apt-ftparchive.1.xml:622 -#, no-wrap +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:288 msgid "" -"<command>apt-ftparchive</command> packages " -"<replaceable>directory</replaceable> | <command>gzip</command> > " -"<filename>Packages.gz</filename>\n" +"The <literal>Acquire</literal> group of options controls the download of " +"packages as well as the various \"acquire methods\" responsible for the " +"download itself (see also &sources-list;)." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:618 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:295 msgid "" -"To create a compressed Packages file for a directory containing binary " -"packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>" +"Security related option defaulting to true, as giving a Release file's " +"validation an expiration date prevents replay attacks over a long timescale, " +"and can also for example help users to identify mirrors that are no longer " +"updated - but the feature depends on the correctness of the clock on the " +"user system. Archive maintainers are encouraged to create Release files with " +"the <literal>Valid-Until</literal> header, but if they don't or a stricter " +"value is desired the <literal>Max-ValidTime</literal> option below can be " +"used." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-ftparchive.1.xml:632 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:308 msgid "" -"<command>apt-ftparchive</command> returns zero on normal operation, decimal " -"100 on error." +"Maximum time (in seconds) after its creation (as indicated by the " +"<literal>Date</literal> header) that the <filename>Release</filename> file " +"should be considered valid. If the Release file itself includes a " +"<literal>Valid-Until</literal> header the earlier date of the two is used as " +"the expiration date. The default value is <literal>0</literal> which stands " +"for \"valid forever\". Archive specific settings can be made by appending " +"the label of the archive to the option name." msgstr "" -#. The last update date -#. type: Content of: <refentry><refentryinfo> -#: apt-get.8.xml:16 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:320 msgid "" -"&apt-author.jgunthorpe; &apt-author.team; &apt-email; &apt-product; <date>08 " -"November 2008</date>" -msgstr "" - -#. type: <heading></heading> -#: apt-get.8.xml:25 apt-get.8.xml:32 guide.sgml:96 -msgid "apt-get" +"Minimum time (in seconds) after its creation (as indicated by the " +"<literal>Date</literal> header) that the <filename>Release</filename> file " +"should be considered valid. Use this if you need to use a seldom updated " +"(local) mirror of a more frequently updated archive with a " +"<literal>Valid-Until</literal> header instead of completely disabling the " +"expiration date checking. Archive specific settings can and should be used " +"by appending the label of the archive to the option name." msgstr "" -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt-get.8.xml:33 -msgid "APT package handling utility -- command-line interface" -msgstr "" - -#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> -#: apt-get.8.xml:39 -msgid "" -"<command>apt-get</command> <arg><option>-sqdyfmubV</option></arg> <arg> " -"<option>-o= <replaceable>config_string</replaceable> </option> </arg> <arg> " -"<option>-c= <replaceable>config_file</replaceable> </option> </arg> <arg> " -"<option>-t=</option> <arg choice='plain'> " -"<replaceable>target_release</replaceable> </arg> </arg> <group " -"choice=\"req\"> <arg choice='plain'>update</arg> <arg " -"choice='plain'>upgrade</arg> <arg choice='plain'>dselect-upgrade</arg> <arg " -"choice='plain'>dist-upgrade</arg> <arg choice='plain'>install <arg " -"choice=\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable> <arg> <group " -"choice='req'> <arg choice='plain'> " -"=<replaceable>pkg_version_number</replaceable> </arg> <arg choice='plain'> " -"/<replaceable>target_release</replaceable> </arg> </group> </arg> </arg> " -"</arg> <arg choice='plain'>remove <arg choice=\"plain\" " -"rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> <arg " -"choice='plain'>purge <arg choice=\"plain\" " -"rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> <arg " -"choice='plain'>source <arg choice=\"plain\" " -"rep=\"repeat\"><replaceable>pkg</replaceable> <arg> <group choice='req'> " -"<arg choice='plain'> =<replaceable>pkg_version_number</replaceable> </arg> " -"<arg choice='plain'> /<replaceable>target_release</replaceable> </arg> " -"</group> </arg> </arg> </arg> <arg choice='plain'>build-dep <arg " -"choice=\"plain\" rep=\"repeat\"><replaceable>pkg</replaceable></arg></arg> " -"<arg choice='plain'>check</arg> <arg choice='plain'>clean</arg> <arg " -"choice='plain'>autoclean</arg> <arg choice='plain'>autoremove</arg> <arg " -"choice='plain'> <group choice='req'> <arg choice='plain'>-v</arg> <arg " -"choice='plain'>--version</arg> </group> </arg> <arg choice='plain'> <group " -"choice='req'> <arg choice='plain'>-h</arg> <arg choice='plain'>--help</arg> " -"</group> </arg> </group>" -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt-get.8.xml:115 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:332 msgid "" -"<command>apt-get</command> is the command-line tool for handling packages, " -"and may be considered the user's \"back-end\" to other tools using the APT " -"library. Several \"front-end\" interfaces exist, such as &dselect;, " -"&aptitude;, &synaptic; and &wajig;." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:124 apt-key.8.xml:127 -msgid "update" +"Try to download deltas called <literal>PDiffs</literal> for indexes (like " +"<filename>Packages</filename> files) instead of downloading whole ones. True " +"by default." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:125 +#: apt.conf.5.xml:335 msgid "" -"<literal>update</literal> is used to resynchronize the package index files " -"from their sources. The indexes of available packages are fetched from the " -"location(s) specified in <filename>/etc/apt/sources.list</filename>. For " -"example, when using a Debian archive, this command retrieves and scans the " -"<filename>Packages.gz</filename> files, so that information about new and " -"updated packages is available. An <literal>update</literal> should always be " -"performed before an <literal>upgrade</literal> or " -"<literal>dist-upgrade</literal>. Please be aware that the overall progress " -"meter will be incorrect as the size of the package files cannot be known in " -"advance." +"Two sub-options to limit the use of PDiffs are also available: " +"<literal>FileLimit</literal> can be used to specify a maximum number of " +"PDiff files should be downloaded to update a " +"file. <literal>SizeLimit</literal> on the other hand is the maximum " +"percentage of the size of all patches compared to the size of the targeted " +"file. If one of these limits is exceeded the complete file is downloaded " +"instead of the patches." msgstr "" -#. type: <tag></tag> -#: apt-get.8.xml:136 guide.sgml:121 -msgid "upgrade" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:345 +msgid "" +"Queuing mode; <literal>Queue-Mode</literal> can be one of " +"<literal>host</literal> or <literal>access</literal> which determines how " +"APT parallelizes outgoing connections. <literal>host</literal> means that " +"one connection per target host will be opened, <literal>access</literal> " +"means that one connection per URI type will be opened." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:137 +#: apt.conf.5.xml:353 msgid "" -"<literal>upgrade</literal> is used to install the newest versions of all " -"packages currently installed on the system from the sources enumerated in " -"<filename>/etc/apt/sources.list</filename>. Packages currently installed " -"with new versions available are retrieved and upgraded; under no " -"circumstances are currently installed packages removed, or packages not " -"already installed retrieved and installed. New versions of currently " -"installed packages that cannot be upgraded without changing the install " -"status of another package will be left at their current version. An " -"<literal>update</literal> must be performed first so that " -"<command>apt-get</command> knows that new versions of packages are " -"available." +"Number of retries to perform. If this is non-zero APT will retry failed " +"files the given number of times." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:149 -msgid "dselect-upgrade" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:358 +msgid "" +"Use symlinks for source archives. If set to true then source archives will " +"be symlinked when possible instead of copying. True is the default." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:150 +#: apt.conf.5.xml:363 msgid "" -"<literal>dselect-upgrade</literal> is used in conjunction with the " -"traditional Debian packaging front-end, " -"&dselect;. <literal>dselect-upgrade</literal> follows the changes made by " -"&dselect; to the <literal>Status</literal> field of available packages, and " -"performs the actions necessary to realize that state (for instance, the " -"removal of old and the installation of new packages)." +"<literal>http::Proxy</literal> sets the default proxy to use for HTTP " +"URIs. It is in the standard form of " +"<literal>http://[[user][:pass]@]host[:port]/</literal>. Per host proxies " +"can also be specified by using the form " +"<literal>http::Proxy::<host></literal> with the special keyword " +"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above " +"settings is specified, <envar>http_proxy</envar> environment variable will " +"be used." msgstr "" -#. type: <tag></tag> -#: apt-get.8.xml:159 guide.sgml:140 -msgid "dist-upgrade" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:371 +msgid "" +"Three settings are provided for cache control with HTTP/1.1 compliant proxy " +"caches. <literal>No-Cache</literal> tells the proxy not to use its cached " +"response under any circumstances. <literal>Max-Age</literal> sets the " +"allowed maximum age (in seconds) of an index file in the cache of the " +"proxy. <literal>No-Store</literal> specifies that the proxy should not " +"store the requested archive files in its cache, which can be used to prevent " +"the proxy from polluting its cache with (big) .deb files." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:160 +#: apt.conf.5.xml:381 apt.conf.5.xml:469 msgid "" -"<literal>dist-upgrade</literal> in addition to performing the function of " -"<literal>upgrade</literal>, also intelligently handles changing dependencies " -"with new versions of packages; <command>apt-get</command> has a \"smart\" " -"conflict resolution system, and it will attempt to upgrade the most " -"important packages at the expense of less important ones if necessary. So, " -"<literal>dist-upgrade</literal> command may remove some packages. The " -"<filename>/etc/apt/sources.list</filename> file contains a list of locations " -"from which to retrieve desired package files. See also &apt-preferences; " -"for a mechanism for overriding the general settings for individual packages." +"The option <literal>timeout</literal> sets the timeout timer used by the " +"method; this value applies to the connection as well as the data timeout." msgstr "" -#. type: <tag></tag> -#: apt-get.8.xml:172 guide.sgml:131 -msgid "install" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:384 +msgid "" +"The setting <literal>Acquire::http::Pipeline-Depth</literal> can be used to " +"enable HTTP pipelining (RFC 2616 section 8.1.2.2) which can be beneficial " +"e.g. on high-latency connections. It specifies how many requests are sent in " +"a pipeline. APT tries to detect and workaround misbehaving webservers and " +"proxies at runtime, but if you know that yours does not conform to the " +"HTTP/1.1 specification pipelining can be disabled by setting the value to " +"0. It is enabled by default with the value 10." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:174 +#: apt.conf.5.xml:391 msgid "" -"<literal>install</literal> is followed by one or more packages desired for " -"installation or upgrading. Each package is a package name, not a fully " -"qualified filename (for instance, in a Debian GNU/Linux system, libc6 would " -"be the argument provided, not <literal>libc6_1.9.6-2.deb</literal>). All " -"packages required by the package(s) specified for installation will also be " -"retrieved and installed. The <filename>/etc/apt/sources.list</filename> " -"file is used to locate the desired packages. If a hyphen is appended to the " -"package name (with no intervening space), the identified package will be " -"removed if it is installed. Similarly a plus sign can be used to designate " -"a package to install. These latter features may be used to override " -"decisions made by apt-get's conflict resolution system." +"<literal>Acquire::http::AllowRedirect</literal> controls whether APT will " +"follow redirects, which is enabled by default." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:192 +#: apt.conf.5.xml:394 msgid "" -"A specific version of a package can be selected for installation by " -"following the package name with an equals and the version of the package to " -"select. This will cause that version to be located and selected for " -"install. Alternatively a specific distribution can be selected by following " -"the package name with a slash and the version of the distribution or the " -"Archive name (stable, testing, unstable)." +"The used bandwidth can be limited with " +"<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in " +"kilobytes per second. The default value is 0 which deactivates the limit and " +"tries to use all available bandwidth. Note that this option implicitly " +"disables downloading from multiple servers at the same time." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:199 +#: apt.conf.5.xml:401 msgid "" -"Both of the version selection mechanisms can downgrade packages and must be " -"used with care." +"<literal>Acquire::http::User-Agent</literal> can be used to set a different " +"User-Agent for the http download method as some proxies allow access for " +"clients only if the client uses a known identifier." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:202 +#: apt.conf.5.xml:405 msgid "" -"This is also the target to use if you want to upgrade one or more " -"already-installed packages without upgrading every package you have on your " -"system. Unlike the \"upgrade\" target, which installs the newest version of " -"all currently installed packages, \"install\" will install the newest " -"version of only the package(s) specified. Simply provide the name of the " -"package(s) you wish to upgrade, and if a newer version is available, it (and " -"its dependencies, as described above) will be downloaded and installed." +"<literal>Acquire::http::Proxy-Auto-Detect</literal> can be used to specify " +"an external command to discover the http proxy to use. Apt expects the " +"command to output the proxy on stdout in the style " +"<literal>http://proxy:port/</literal>. This will override the generic " +"<literal>Acquire::http::Proxy</literal> but not any specific host proxy " +"configuration set via <literal>Acquire::http::Proxy::$HOST</literal>. See " +"the &squid-deb-proxy-client; package for an example implementation that uses " +"avahi. This option takes precedence over the legacy option name " +"<literal>ProxyAutoDetect</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:213 +#: apt.conf.5.xml:423 msgid "" -"Finally, the &apt-preferences; mechanism allows you to create an alternative " -"installation policy for individual packages." +"The <literal>Cache-control</literal>, <literal>Timeout</literal>, " +"<literal>AllowRedirect</literal>, <literal>Dl-Limit</literal> and " +"<literal>proxy</literal> options work for HTTPS URIs in the same way as for " +"the <literal>http</literal> method, and default to the same values if they " +"are not explicitly set. The <literal>Pipeline-Depth</literal> option is not " +"yet supported." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:217 +#: apt.conf.5.xml:431 msgid "" -"If no package matches the given expression and the expression contains one " -"of '.', '?' or '*' then it is assumed to be a POSIX regular expression, and " -"it is applied to all package names in the database. Any matches are then " -"installed (or removed). Note that matching is done by substring so 'lo.*' " -"matches 'how-lo' and 'lowest'. If this is undesired, anchor the regular " -"expression with a '^' or '$' character, or create a more specific regular " -"expression." +"<literal>CaInfo</literal> suboption specifies place of file that holds info " +"about trusted certificates. <literal><host>::CaInfo</literal> is the " +"corresponding per-host option. <literal>Verify-Peer</literal> boolean " +"suboption determines whether or not the server's host certificate should be " +"verified against trusted certificates. " +"<literal><host>::Verify-Peer</literal> is the corresponding per-host " +"option. <literal>Verify-Host</literal> boolean suboption determines whether " +"or not the server's hostname should be verified. " +"<literal><host>::Verify-Host</literal> is the corresponding per-host " +"option. <literal>SslCert</literal> determines what certificate to use for " +"client authentication. <literal><host>::SslCert</literal> is the " +"corresponding per-host option. <literal>SslKey</literal> determines what " +"private key to use for client " +"authentication. <literal><host>::SslKey</literal> is the corresponding " +"per-host option. <literal>SslForceVersion</literal> overrides default SSL " +"version to use. It can contain either of the strings " +"'<literal>TLSv1</literal>' or '<literal>SSLv3</literal>'. " +"<literal><host>::SslForceVersion</literal> is the corresponding " +"per-host option." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:226 -msgid "remove" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:452 +msgid "" +"<literal>ftp::Proxy</literal> sets the default proxy to use for FTP URIs. " +"It is in the standard form of " +"<literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host proxies can " +"also be specified by using the form " +"<literal>ftp::Proxy::<host></literal> with the special keyword " +"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above " +"settings is specified, <envar>ftp_proxy</envar> environment variable will be " +"used. To use an FTP proxy you will have to set the " +"<literal>ftp::ProxyLogin</literal> script in the configuration file. This " +"entry specifies the commands to send to tell the proxy server what to " +"connect to. Please see &configureindex; for an example of how to do " +"this. The substitution variables representing the corresponding URI " +"component are <literal>$(PROXY_USER)</literal>, " +"<literal>$(PROXY_PASS)</literal>, <literal>$(SITE_USER)</literal>, " +"<literal>$(SITE_PASS)</literal>, <literal>$(SITE)</literal> and " +"<literal>$(SITE_PORT)</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:227 +#: apt.conf.5.xml:472 msgid "" -"<literal>remove</literal> is identical to <literal>install</literal> except " -"that packages are removed instead of installed. Note the removing a package " -"leaves its configuration files in system. If a plus sign is appended to the " -"package name (with no intervening space), the identified package will be " -"installed instead of removed." +"Several settings are provided to control passive mode. Generally it is safe " +"to leave passive mode on; it works in nearly every environment. However, " +"some situations require that passive mode be disabled and port mode FTP used " +"instead. This can be done globally or for connections that go through a " +"proxy or for a specific host (see the sample config file for examples)." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:234 -msgid "purge" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:479 +msgid "" +"It is possible to proxy FTP over HTTP by setting the " +"<envar>ftp_proxy</envar> environment variable to an HTTP URL - see the " +"discussion of the http method above for syntax. You cannot set this in the " +"configuration file and it is not recommended to use FTP over HTTP due to its " +"low efficiency." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:235 +#: apt.conf.5.xml:484 msgid "" -"<literal>purge</literal> is identical to <literal>remove</literal> except " -"that packages are removed and purged (any configuration files are deleted " -"too)." +"The setting <literal>ForceExtended</literal> controls the use of RFC2428 " +"<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is " +"false, which means these commands are only used if the control connection is " +"IPv6. Setting this to true forces their use even on IPv4 connections. Note " +"that most FTP servers do not support RFC2428." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:239 -msgid "source" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout> +#: apt.conf.5.xml:498 +#, no-wrap +msgid "/cdrom/::Mount \"foo\";" msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:240 +#: apt.conf.5.xml:493 msgid "" -"<literal>source</literal> causes <command>apt-get</command> to fetch source " -"packages. APT will examine the available packages to decide which source " -"package to fetch. It will then find and download into the current directory " -"the newest available version of that source package while respecting the " -"default release, set with the option " -"<literal>APT::Default-Release</literal>, the <option>-t</option> option or " -"per package with the <literal>pkg/release</literal> syntax, if possible." +"For URIs using the <literal>cdrom</literal> method, the only configurable " +"option is the mount point, <literal>cdrom::Mount</literal>, which must be " +"the mount point for the CD-ROM (or DVD, or whatever) drive as specified in " +"<filename>/etc/fstab</filename>. It is possible to provide alternate mount " +"and unmount commands if your mount point cannot be listed in the fstab. The " +"syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the " +"<literal>cdrom</literal> block. It is important to have the trailing slash. " +"Unmount commands can be specified using UMount." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:248 +#: apt.conf.5.xml:506 msgid "" -"Source packages are tracked separately from binary packages via " -"<literal>deb-src</literal> type lines in the &sources-list; file. This means " -"that you will need to add such a line for each repository you want to get " -"sources from. If you don't do this you will properly get another (newer, " -"older or none) source version than the one you have installed or could " -"install." +"For GPGV URIs the only configurable option is " +"<literal>gpgv::Options</literal>, which passes additional parameters to " +"gpgv." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:255 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis> +#: apt.conf.5.xml:517 +#, no-wrap msgid "" -"If the <option>--compile</option> option is specified then the package will " -"be compiled to a binary .deb using <command>dpkg-buildpackage</command>, if " -"<option>--download-only</option> is specified then the source package will " -"not be unpacked." +"Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> " +"\"<replaceable>Methodname</replaceable>\";" msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:260 +#: apt.conf.5.xml:512 msgid "" -"A specific source version can be retrieved by postfixing the source name " -"with an equals and then the version to fetch, similar to the mechanism used " -"for the package files. This enables exact matching of the source package " -"name and version, implicitly enabling the " -"<literal>APT::Get::Only-Source</literal> option." +"List of compression types which are understood by the acquire methods. " +"Files like <filename>Packages</filename> can be available in various " +"compression formats. By default the acquire methods can decompress " +"<command>bzip2</command>, <command>lzma</command> and " +"<command>gzip</command> compressed files; with this setting more formats can " +"be added on the fly or the used method can be changed. The syntax for this " +"is: <placeholder type=\"synopsis\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:266 -msgid "" -"Note that source packages are not tracked like binary packages, they exist " -"only in the current directory and are similar to downloading source tar " -"balls." +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis> +#: apt.conf.5.xml:522 +#, no-wrap +msgid "Acquire::CompressionTypes::Order:: \"gz\";" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:271 -msgid "build-dep" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><synopsis> +#: apt.conf.5.xml:525 +#, no-wrap +msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };" msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:272 +#: apt.conf.5.xml:518 msgid "" -"<literal>build-dep</literal> causes apt-get to install/remove packages in an " -"attempt to satisfy the build dependencies for a source package." +"Also, the <literal>Order</literal> subgroup can be used to define in which " +"order the acquire system will try to download the compressed files. The " +"acquire system will try the first and proceed with the next compression type " +"in this list on error, so to prefer one over the other type simply add the " +"preferred type first - default types not already added will be implicitly " +"appended to the end of the list, so e.g. <placeholder type=\"synopsis\" " +"id=\"0\"/> can be used to prefer <command>gzip</command> compressed files " +"over <command>bzip2</command> and <command>lzma</command>. If " +"<command>lzma</command> should be preferred over <command>gzip</command> and " +"<command>bzip2</command> the configure setting should look like this: " +"<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add " +"<literal>bz2</literal> to the list explicitly as it will be added " +"automatically." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:276 -msgid "check" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><literallayout> +#: apt.conf.5.xml:532 +#, no-wrap +msgid "Dir::Bin::bzip2 \"/bin/bzip2\";" msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:277 +#: apt.conf.5.xml:527 msgid "" -"<literal>check</literal> is a diagnostic tool; it updates the package cache " -"and checks for broken dependencies." +"Note that the " +"<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be " +"checked at run time. If this option has been set, the method will only be " +"used if this file exists; e.g. for the <literal>bzip2</literal> method (the " +"inbuilt) setting is: <placeholder type=\"literallayout\" id=\"0\"/> Note " +"also that list entries specified on the command line will be added at the " +"end of the list specified in the configuration files, but before the default " +"entries. To prefer a type in this case over the ones specified in the " +"configuration files you can set the option direct - not in list style. This " +"will not override the defined list; it will only prefix the list with this " +"type." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:281 -msgid "download" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:537 +msgid "" +"The special type <literal>uncompressed</literal> can be used to give " +"uncompressed files a preference, but note that most archives don't provide " +"uncompressed files so this is mostly only useable for local mirrors." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:282 +#: apt.conf.5.xml:544 msgid "" -"<literal>download</literal> will download the given binary package into the " -"current directoy." +"When downloading <literal>gzip</literal> compressed indexes (Packages, " +"Sources, or Translations), keep them gzip compressed locally instead of " +"unpacking them. This saves quite a lot of disk space at the expense of more " +"CPU requirements when building the local package caches. False by default." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:288 +#: apt.conf.5.xml:552 msgid "" -"<literal>clean</literal> clears out the local repository of retrieved " -"package files. It removes everything but the lock file from " -"<filename>&cachedir;/archives/</filename> and " -"<filename>&cachedir;/archives/partial/</filename>. When APT is used as a " -"&dselect; method, <literal>clean</literal> is run automatically. Those who " -"do not use dselect will likely want to run <literal>apt-get clean</literal> " -"from time to time to free up disk space." +"The Languages subsection controls which <filename>Translation</filename> " +"files are downloaded and in which order APT tries to display the " +"description-translations. APT will try to display the first available " +"description in the language which is listed first. Languages can be defined " +"with their short or long language codes. Note that not all archives provide " +"<filename>Translation</filename> files for every language - the long " +"language codes are especially rare." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:297 -msgid "autoclean" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para><programlisting> +#: apt.conf.5.xml:569 +#, no-wrap +msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };" msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:298 +#: apt.conf.5.xml:557 msgid "" -"Like <literal>clean</literal>, <literal>autoclean</literal> clears out the " -"local repository of retrieved package files. The difference is that it only " -"removes package files that can no longer be downloaded, and are largely " -"useless. This allows a cache to be maintained over a long period without it " -"growing out of control. The configuration option " -"<literal>APT::Clean-Installed</literal> will prevent installed packages from " -"being erased if it is set to off." +"The default list includes \"environment\" and " +"\"en\". \"<literal>environment</literal>\" has a special meaning here: it " +"will be replaced at runtime with the language codes extracted from the " +"<literal>LC_MESSAGES</literal> environment variable. It will also ensure " +"that these codes are not included twice in the list. If " +"<literal>LC_MESSAGES</literal> is set to \"C\" only the " +"<filename>Translation-en</filename> file (if available) will be used. To " +"force APT to use no Translation file use the setting " +"<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is " +"another special meaning code which will stop the search for a suitable " +"<filename>Translation</filename> file. This tells APT to download these " +"translations too, without actually using them unless the environment " +"specifies the languages. So the following example configuration will result " +"in the order \"en, de\" in an English locale or \"de, en\" in a German " +"one. Note that \"fr\" is downloaded, but not used unless APT is used in a " +"French locale (where the order would be \"fr, de, en\"). <placeholder " +"type=\"programlisting\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:307 -msgid "autoremove" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:570 +msgid "" +"Note: To prevent problems resulting from APT being executed in different " +"environments (e.g. by different users or by other programs) all Translation " +"files which are found in <filename>/var/lib/apt/lists/</filename> will be " +"added to the end of the list (after an implicit " +"\"<literal>none</literal>\")." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:308 -msgid "" -"<literal>autoremove</literal> is used to remove packages that were " -"automatically installed to satisfy dependencies for some package and that " -"are no more needed." +#: apt.conf.5.xml:579 +msgid "When downloading, force to use only the IPv4 protocol." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:312 -msgid "changelog" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:585 +msgid "When downloading, force to use only the IPv6 protocol." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:313 +#: apt.conf.5.xml:591 msgid "" -"<literal>changelog</literal> downloads a package changelog and displays it " -"through <command>sensible-pager</command>. The server name and base " -"directory is defined in the <literal>APT::Changelogs::Server</literal> " -"variable (e. g. <ulink>http://packages.debian.org/changelogs</ulink> for " -"Debian or <ulink>http://changelogs.ubuntu.com/changelogs</ulink> for " -"Ubuntu). By default it displays the changelog for the version that is " -"installed. However, you can specify the same options as for the " -"<option>install</option> command." +"The maximum file size of Release/Release.gpg/InRelease files. The default " +"is 10MB." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:335 -msgid "<option>--no-install-recommends</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:598 +msgid "" +"Allow the update operation to load data files from a repository without a " +"trusted signature. If enabled this option no data files will be loaded and " +"the update operation fails with a error for this source. The default is " +"false for backward compatibility. This will be changed in the future." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:336 +#: apt.conf.5.xml:609 msgid "" -"Do not consider recommended packages as a dependency for installing. " -"Configuration Item: <literal>APT::Install-Recommends</literal>." +"Allow that a repository that was previously gpg signed to become unsigned " +"durign a update operation. When there is no valid signature of a perviously " +"trusted repository apt will refuse the update. This option can be used to " +"override this protection. You almost certainly never want to enable " +"this. The default is false. Note that apt will still consider packages from " +"this source untrusted and warn about them if you try to install them." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:340 -msgid "<option>--install-suggests</option>" +#. type: Content of: <refentry><refsect1><title> +#: apt.conf.5.xml:624 +msgid "Directories" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:341 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:626 msgid "" -"Consider suggested packages as a dependency for installing. Configuration " -"Item: <literal>APT::Install-Suggests</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:345 -msgid "<option>--download-only</option>" +"The <literal>Dir::State</literal> section has directories that pertain to " +"local state information. <literal>lists</literal> is the directory to place " +"downloaded package lists in and <literal>status</literal> is the name of the " +"&dpkg; status file. <literal>preferences</literal> is the name of the APT " +"<filename>preferences</filename> file. <literal>Dir::State</literal> " +"contains the default directory to prefix on all sub-items if they do not " +"start with <filename>/</filename> or <filename>./</filename>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:346 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:633 msgid "" -"Download only; package files are only retrieved, not unpacked or installed. " -"Configuration Item: <literal>APT::Get::Download-Only</literal>." +"<literal>Dir::Cache</literal> contains locations pertaining to local cache " +"information, such as the two package caches <literal>srcpkgcache</literal> " +"and <literal>pkgcache</literal> as well as the location to place downloaded " +"archives, <literal>Dir::Cache::archives</literal>. Generation of caches can " +"be turned off by setting <literal>pkgcache</literal> or " +"<literal>srcpkgcache</literal> to <literal>\"\"</literal>. This will slow " +"down startup but save disk space. It is probably preferable to turn off the " +"pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> " +"the default directory is contained in <literal>Dir::Cache</literal>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:350 -msgid "<option>--fix-broken</option>" +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:643 +msgid "" +"<literal>Dir::Etc</literal> contains the location of configuration files, " +"<literal>sourcelist</literal> gives the location of the sourcelist and " +"<literal>main</literal> is the default configuration file (setting has no " +"effect, unless it is done from the config file specified by " +"<envar>APT_CONFIG</envar>)." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:351 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:649 msgid "" -"Fix; attempt to correct a system with broken dependencies in place. This " -"option, when used with install/remove, can omit any packages to permit APT " -"to deduce a likely solution. If packages are specified, these have to " -"completely correct the problem. The option is sometimes necessary when " -"running APT for the first time; APT itself does not allow broken package " -"dependencies to exist on a system. It is possible that a system's dependency " -"structure can be so corrupt as to require manual intervention (which usually " -"means using &dselect; or <command>dpkg --remove</command> to eliminate some " -"of the offending packages). Use of this option together with " -"<option>-m</option> may produce an error in some situations. Configuration " -"Item: <literal>APT::Get::Fix-Broken</literal>." +"The <literal>Dir::Parts</literal> setting reads in all the config fragments " +"in lexical order from the directory specified. After this is done then the " +"main config file is loaded." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:364 -msgid "<option>--ignore-missing</option>" +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:653 +msgid "" +"Binary programs are pointed to by " +"<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies " +"the location of the method handlers and <literal>gzip</literal>, " +"<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, " +"<literal>apt-get</literal> <literal>dpkg-source</literal> " +"<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> " +"specify the location of the respective programs." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:365 -msgid "<option>--fix-missing</option>" +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:661 +msgid "" +"The configuration item <literal>RootDir</literal> has a special meaning. If " +"set, all paths in <literal>Dir::</literal> will be relative to " +"<literal>RootDir</literal>, <emphasis>even paths that are specified " +"absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is " +"set to <filename>/tmp/staging</filename> and " +"<literal>Dir::State::status</literal> is set to " +"<filename>/var/lib/dpkg/status</filename>, then the status file will be " +"looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:366 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:674 msgid "" -"Ignore missing packages; If packages cannot be retrieved or fail the " -"integrity check after retrieval (corrupted package files), hold back those " -"packages and handle the result. Use of this option together with " -"<option>-f</option> may produce an error in some situations. If a package is " -"selected for installation (particularly if it is mentioned on the command " -"line) and it could not be downloaded then it will be silently held back. " -"Configuration Item: <literal>APT::Get::Fix-Missing</literal>." +"The <literal>Ignore-Files-Silently</literal> list can be used to specify " +"which files APT should silently ignore while parsing the files in the " +"fragment directories. Per default a file which end with " +"<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> " +"or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last " +"default value these patterns can use regular expression syntax." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:376 -msgid "<option>--no-download</option>" +#. type: Content of: <refentry><refsect1><title> +#: apt.conf.5.xml:683 +msgid "APT in DSelect" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:377 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:685 msgid "" -"Disables downloading of packages. This is best used with " -"<option>--ignore-missing</option> to force APT to use only the .debs it has " -"already downloaded. Configuration Item: " -"<literal>APT::Get::Download</literal>." +"When APT is used as a &dselect; method several configuration directives " +"control the default behavior. These are in the <literal>DSelect</literal> " +"section." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:384 +#: apt.conf.5.xml:690 msgid "" -"Quiet; produces output suitable for logging, omitting progress indicators. " -"More q's will produce more quiet up to a maximum of 2. You can also use " -"<option>-q=#</option> to set the quiet level, overriding the configuration " -"file. Note that quiet level 2 implies <option>-y</option>, you should never " -"use -qq without a no-action modifier such as -d, --print-uris or -s as APT " -"may decided to do something you did not expect. Configuration Item: " -"<literal>quiet</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:394 -msgid "<option>--simulate</option>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:396 -msgid "<option>--dry-run</option>" +"Cache Clean mode; this value may be one of <literal>always</literal>, " +"<literal>prompt</literal>, <literal>auto</literal>, " +"<literal>pre-auto</literal> and <literal>never</literal>. " +"<literal>always</literal> and <literal>prompt</literal> will remove all " +"packages from the cache after upgrading, <literal>prompt</literal> (the " +"default) does so conditionally. <literal>auto</literal> removes only those " +"packages which are no longer downloadable (replaced with a new version for " +"instance). <literal>pre-auto</literal> performs this action before " +"downloading new packages." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:399 +#: apt.conf.5.xml:704 msgid "" -"No action; perform a simulation of events that would occur but do not " -"actually change the system. Configuration Item: " -"<literal>APT::Get::Simulate</literal>." +"The contents of this variable are passed to &apt-get; as command line " +"options when it is run for the install phase." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:403 +#: apt.conf.5.xml:709 msgid "" -"Simulation run as user will deactivate locking " -"(<literal>Debug::NoLocking</literal>) automatic. Also a notice will be " -"displayed indicating that this is only a simulation, if the option " -"<literal>APT::Get::Show-User-Simulation-Note</literal> is set (Default: " -"true). Neither NoLocking nor the notice will be triggered if run as root " -"(root should know what he is doing without further warnings by " -"<literal>apt-get</literal>)." +"The contents of this variable are passed to &apt-get; as command line " +"options when it is run for the update phase." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:409 +#: apt.conf.5.xml:714 msgid "" -"Simulate prints out a series of lines each one representing a dpkg " -"operation, Configure (Conf), Remove (Remv), Unpack (Inst). Square brackets " -"indicate broken packages and empty set of square brackets meaning breaks " -"that are of no consequence (rare)." +"If true the [U]pdate operation in &dselect; will always prompt to continue. " +"The default is to prompt only on error." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:416 -msgid "<option>-y</option>" +#. type: Content of: <refentry><refsect1><title> +#: apt.conf.5.xml:720 +msgid "How APT calls &dpkg;" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:416 -msgid "<option>--yes</option>" +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:721 +msgid "" +"Several configuration directives control how APT invokes &dpkg;. These are " +"in the <literal>DPkg</literal> section." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:417 -msgid "<option>--assume-yes</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:726 +msgid "" +"This is a list of options to pass to &dpkg;. The options must be specified " +"using the list notation and each list item is passed as a single argument to " +"&dpkg;." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:418 +#: apt.conf.5.xml:732 msgid "" -"Automatic yes to prompts; assume \"yes\" as answer to all prompts and run " -"non-interactively. If an undesirable situation, such as changing a held " -"package, trying to install a unauthenticated package or removing an " -"essential package occurs then <literal>apt-get</literal> will abort. " -"Configuration Item: <literal>APT::Get::Assume-Yes</literal>." +"This is a list of shell commands to run before/after invoking &dpkg;. Like " +"<literal>options</literal> this must be specified in list notation. The " +"commands are invoked in order using <filename>/bin/sh</filename>; should any " +"fail APT will abort." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:425 -msgid "<option>-u</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:739 +msgid "" +"This is a list of shell commands to run before invoking &dpkg;. Like " +"<literal>options</literal> this must be specified in list notation. The " +"commands are invoked in order using <filename>/bin/sh</filename>; should any " +"fail APT will abort. APT will pass the filenames of all .deb files it is " +"going to install to the commands, one per line on the requested file " +"descriptor, defaulting to standard input." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:425 -msgid "<option>--show-upgraded</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:746 +msgid "" +"Version 2 of this protocol dumps more information, including the protocol " +"version, the APT configuration space and the packages, files and versions " +"being changed. Version 3 adds the architecture and " +"<literal>MultiArch</literal> flag to each version being dumped." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:426 +#: apt.conf.5.xml:751 msgid "" -"Show upgraded packages; Print out a list of all packages that are to be " -"upgraded. Configuration Item: <literal>APT::Get::Show-Upgraded</literal>." +"The version of the protocol to be used for the command " +"<literal><replaceable>cmd</replaceable></literal> can be chosen by setting " +"<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::Version</literal> " +"accordingly, the default being version 1. If APT isn't supporting the " +"requested version it will send the information in the highest version it has " +"support for instead." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:431 -msgid "<option>-V</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:758 +msgid "" +"The file descriptor to be used to send the information can be requested with " +"<literal>DPkg::Tools::options::<replaceable>cmd</replaceable>::InfoFD</literal> " +"which defaults to <literal>0</literal> for standard input and is available " +"since version 0.9.11. Support for the option can be detected by looking for " +"the environment variable <envar>APT_HOOK_INFO_FD</envar> which contains the " +"number of the used file descriptor as a confirmation." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:431 -msgid "<option>--verbose-versions</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:768 +msgid "" +"APT chdirs to this directory before invoking &dpkg;, the default is " +"<filename>/</filename>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:432 +#: apt.conf.5.xml:773 msgid "" -"Show full versions for upgraded and installed packages. Configuration Item: " -"<literal>APT::Get::Show-Versions</literal>." +"These options are passed to &dpkg-buildpackage; when compiling packages; the " +"default is to disable signing and produce all binaries." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:436 -msgid "<option>-b</option>" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt.conf.5.xml:778 +msgid "dpkg trigger usage (and related options)" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:436 -msgid "<option>--compile</option>" +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt.conf.5.xml:779 +msgid "" +"APT can call &dpkg; in such a way as to let it make aggressive use of " +"triggers over multiple calls of &dpkg;. Without further options &dpkg; will " +"use triggers once each time it runs. Activating these options can therefore " +"decrease the time needed to perform the install or upgrade. Note that it is " +"intended to activate these options per default in the future, but as it " +"drastically changes the way APT calls &dpkg; it needs a lot more testing. " +"<emphasis>These options are therefore currently experimental and should not " +"be used in production environments.</emphasis> It also breaks progress " +"reporting such that all front-ends will currently stay around half (or more) " +"of the time in the 100% state while it actually configures all packages." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:437 -msgid "<option>--build</option>" +#. type: Content of: <refentry><refsect1><refsect2><para><literallayout> +#: apt.conf.5.xml:794 +#, no-wrap +msgid "" +"DPkg::NoTriggers \"true\";\n" +"PackageManager::Configure \"smart\";\n" +"DPkg::ConfigurePending \"true\";\n" +"DPkg::TriggersPending \"true\";" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:438 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt.conf.5.xml:788 msgid "" -"Compile source packages after downloading them. Configuration Item: " -"<literal>APT::Get::Compile</literal>." +"Note that it is not guaranteed that APT will support these options or that " +"these options will not cause (big) trouble in the future. If you have " +"understand the current risks and problems with these options, but are brave " +"enough to help testing them, create a new configuration file and test a " +"combination of options. Please report any bugs, problems and improvements " +"you encounter and make sure to note which options you have used in your " +"reports. Asking &dpkg; for help could also be useful for debugging proposes, " +"see e.g. <command>dpkg --audit</command>. A defensive option combination " +"would be <placeholder type=\"literallayout\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:442 -msgid "<option>--ignore-hold</option>" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:801 +msgid "" +"Add the no triggers flag to all &dpkg; calls (except the ConfigurePending " +"call). See &dpkg; if you are interested in what this actually means. In " +"short: &dpkg; will not run the triggers when this flag is present unless it " +"is explicitly called to do so in an extra call. Note that this option " +"exists (undocumented) also in older APT versions with a slightly different " +"meaning: Previously these option only append --no-triggers to the configure " +"calls to &dpkg; - now APT will also add this flag to the unpack and remove " +"calls." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:443 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:809 msgid "" -"Ignore package Holds; This causes <command>apt-get</command> to ignore a " -"hold placed on a package. This may be useful in conjunction with " -"<literal>dist-upgrade</literal> to override a large number of undesired " -"holds. Configuration Item: <literal>APT::Ignore-Hold</literal>." +"Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" " +"and \"<literal>no</literal>\". The default value is " +"\"<literal>all</literal>\", which causes APT to configure all packages. The " +"\"<literal>smart</literal>\" way is to configure only packages which need to " +"be configured before another package can be unpacked (Pre-Depends), and let " +"the rest be configured by &dpkg; with a call generated by the " +"ConfigurePending option (see below). On the other hand, " +"\"<literal>no</literal>\" will not configure anything, and totally relies on " +"&dpkg; for configuration (which at the moment will fail if a Pre-Depends is " +"encountered). Setting this option to any value other than " +"<literal>all</literal> will implicitly also activate the next option by " +"default, as otherwise the system could end in an unconfigured and " +"potentially unbootable state." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:449 -msgid "<option>--no-upgrade</option>" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:824 +msgid "" +"If this option is set APT will call <command>dpkg --configure " +"--pending</command> to let &dpkg; handle all required configurations and " +"triggers. This option is activated automatically per default if the previous " +"option is not set to <literal>all</literal>, but deactivating it could be " +"useful if you want to run APT multiple times in a row - e.g. in an " +"installer. In these sceneries you could deactivate this option in all but " +"the last run." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:450 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:831 msgid "" -"Do not upgrade packages; When used in conjunction with " -"<literal>install</literal>, <literal>no-upgrade</literal> will prevent " -"packages on the command line from being upgraded if they are already " -"installed. Configuration Item: <literal>APT::Get::Upgrade</literal>." +"Useful for the <literal>smart</literal> configuration as a package which has " +"pending triggers is not considered as <literal>installed</literal>, and " +"&dpkg; treats them as <literal>unpacked</literal> currently which is a " +"showstopper for Pre-Dependencies (see debbugs #526774). Note that this will " +"process all triggers, not only the triggers needed to configure this " +"package." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:456 -msgid "<option>--only-upgrade</option>" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout> +#: apt.conf.5.xml:844 +#, no-wrap +msgid "" +"OrderList::Score {\n" +"\tDelete 500;\n" +"\tEssential 200;\n" +"\tImmediate 10;\n" +"\tPreDepends 50;\n" +"};" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:457 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:837 msgid "" -"Do not install new packages; When used in conjunction with " -"<literal>install</literal>, <literal>only-upgrade</literal> will prevent " -"packages on the command line from being upgraded if they are not already " -"installed. Configuration Item: <literal>APT::Get::Only-Upgrade</literal>." +"Essential packages (and their dependencies) should be configured immediately " +"after unpacking. It is a good idea to do this quite early in the upgrade " +"process as these configure calls also currently require " +"<literal>DPkg::TriggersPending</literal> which will run quite a few triggers " +"(which may not be needed). Essentials get per default a high score but the " +"immediate flag is relatively low (a package which has a Pre-Depends is rated " +"higher). These option and the others in the same group can be used to " +"change the scoring. The following example shows the settings with their " +"default values. <placeholder type=\"literallayout\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:463 -msgid "<option>--force-yes</option>" +#. type: Content of: <refentry><refsect1><title> +#: apt.conf.5.xml:857 +msgid "Periodic and Archives options" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:464 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:858 msgid "" -"Force yes; This is a dangerous option that will cause apt to continue " -"without prompting if it is doing something potentially harmful. It should " -"not be used except in very special situations. Using " -"<literal>force-yes</literal> can potentially destroy your system! " -"Configuration Item: <literal>APT::Get::force-yes</literal>." +"<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups " +"of options configure behavior of apt periodic updates, which is done by the " +"<literal>/etc/cron.daily/apt</literal> script. See the top of this script " +"for the brief documentation of these options." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:471 -msgid "<option>--print-uris</option>" +#. type: Content of: <refentry><refsect1><title> +#: apt.conf.5.xml:866 +msgid "Debug options" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:472 +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:868 msgid "" -"Instead of fetching the files to install their URIs are printed. Each URI " -"will have the path, the destination file name, the size and the expected md5 " -"hash. Note that the file name to write to will not always match the file " -"name on the remote site! This also works with the <literal>source</literal> " -"and <literal>update</literal> commands. When used with the " -"<literal>update</literal> command the MD5 and size are not included, and it " -"is up to the user to decompress any compressed files. Configuration Item: " -"<literal>APT::Get::Print-URIs</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:482 -msgid "<option>--purge</option>" +"Enabling options in the <literal>Debug::</literal> section will cause " +"debugging information to be sent to the standard error stream of the program " +"utilizing the <literal>apt</literal> libraries, or enable special program " +"modes that are primarily useful for debugging the behavior of " +"<literal>apt</literal>. Most of these options are not interesting to a " +"normal user, but a few may be:" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:483 +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: apt.conf.5.xml:879 msgid "" -"Use purge instead of remove for anything that would be removed. An asterisk " -"(\"*\") will be displayed next to packages which are scheduled to be " -"purged. <option>remove --purge</option> is equivalent to the " -"<option>purge</option> command. Configuration Item: " -"<literal>APT::Get::Purge</literal>." +"<literal>Debug::pkgProblemResolver</literal> enables output about the " +"decisions made by <literal>dist-upgrade, upgrade, install, remove, " +"purge</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:490 -msgid "<option>--reinstall</option>" +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: apt.conf.5.xml:887 +msgid "" +"<literal>Debug::NoLocking</literal> disables all file locking. This can be " +"used to run some operations (for instance, <literal>apt-get -s " +"install</literal>) as a non-root user." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:491 +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: apt.conf.5.xml:896 msgid "" -"Re-Install packages that are already installed and at the newest version. " -"Configuration Item: <literal>APT::Get::ReInstall</literal>." +"<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each " +"time that <literal>apt</literal> invokes &dpkg;." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:495 -msgid "<option>--list-cleanup</option>" +#. TODO: provide a +#. motivating example, except I haven't a clue why you'd want +#. to do this. +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: apt.conf.5.xml:904 +msgid "" +"<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data " +"in CD-ROM IDs." +msgstr "" + +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:914 +msgid "A full list of debugging options to apt follows." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:496 -msgid "" -"This option defaults to on, use <literal>--no-list-cleanup</literal> to turn " -"it off. When on <command>apt-get</command> will automatically manage the " -"contents of <filename>&statedir;/lists</filename> to ensure that obsolete " -"files are erased. The only reason to turn it off is if you frequently " -"change your source list. Configuration Item: " -"<literal>APT::Get::List-Cleanup</literal>." +#: apt.conf.5.xml:923 +msgid "Print information related to accessing <literal>cdrom://</literal> sources." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:505 -msgid "<option>--target-release</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:934 +msgid "Print information related to downloading packages using FTP." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:506 -msgid "<option>--default-release</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:945 +msgid "Print information related to downloading packages using HTTP." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:507 -msgid "" -"This option controls the default input to the policy engine, it creates a " -"default pin at priority 990 using the specified release string. This " -"overrides the general settings in " -"<filename>/etc/apt/preferences</filename>. Specifically pinned packages are " -"not affected by the value of this option. In short, this option lets you " -"have simple control over which distribution packages will be retrieved " -"from. Some common examples might be <option>-t '2.1*'</option>, <option>-t " -"unstable</option> or <option>-t sid</option>. Configuration Item: " -"<literal>APT::Default-Release</literal>; see also the &apt-preferences; " -"manual page." +#: apt.conf.5.xml:956 +msgid "Print information related to downloading packages using HTTPS." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:520 -msgid "<option>--trivial-only</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:967 +msgid "" +"Print information related to verifying cryptographic signatures using " +"<literal>gpg</literal>." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:522 +#: apt.conf.5.xml:978 msgid "" -"Only perform operations that are 'trivial'. Logically this can be considered " -"related to <option>--assume-yes</option>, where " -"<option>--assume-yes</option> will answer yes to any prompt, " -"<option>--trivial-only</option> will answer no. Configuration Item: " -"<literal>APT::Get::Trivial-Only</literal>." +"Output information about the process of accessing collections of packages " +"stored on CD-ROMs." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:528 -msgid "<option>--no-remove</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:988 +msgid "Describes the process of resolving build-dependencies in &apt-get;." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:529 +#: apt.conf.5.xml:998 msgid "" -"If any packages are to be removed apt-get immediately aborts without " -"prompting. Configuration Item: <literal>APT::Get::Remove</literal>." +"Output each cryptographic hash that is generated by the " +"<literal>apt</literal> libraries." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:534 -msgid "<option>--auto-remove</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1008 +msgid "" +"Do not include information from <literal>statfs</literal>, namely the number " +"of used and free blocks on the CD-ROM filesystem, when generating an ID for " +"a CD-ROM." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:535 +#: apt.conf.5.xml:1019 msgid "" -"If the command is either <literal>install</literal> or " -"<literal>remove</literal>, then this option acts like running " -"<literal>autoremove</literal> command, removing the unused dependency " -"packages. Configuration Item: <literal>APT::Get::AutomaticRemove</literal>." +"Disable all file locking. For instance, this will allow two instances of " +"<quote><literal>apt-get update</literal></quote> to run at the same time." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:541 -msgid "<option>--only-source</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1031 +msgid "Log when items are added to or removed from the global download queue." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:542 +#: apt.conf.5.xml:1041 msgid "" -"Only has meaning for the <literal>source</literal> and " -"<literal>build-dep</literal> commands. Indicates that the given source " -"names are not to be mapped through the binary table. This means that if " -"this option is specified, these commands will only accept source package " -"names as arguments, rather than accepting binary package names and looking " -"up the corresponding source package. Configuration Item: " -"<literal>APT::Get::Only-Source</literal>." +"Output status messages and errors related to verifying checksums and " +"cryptographic signatures of downloaded files." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:552 -msgid "<option>--diff-only</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1051 +msgid "" +"Output information about downloading and applying package index list diffs, " +"and errors relating to package index list diffs." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:552 -msgid "<option>--dsc-only</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1063 +msgid "" +"Output information related to patching apt package lists when downloading " +"index diffs instead of full indices." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:552 -msgid "<option>--tar-only</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1074 +msgid "Log all interactions with the sub-processes that actually perform downloads." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:553 +#: apt.conf.5.xml:1085 msgid "" -"Download only the diff, dsc, or tar file of a source archive. Configuration " -"Item: <literal>APT::Get::Diff-Only</literal>, " -"<literal>APT::Get::Dsc-Only</literal>, and " -"<literal>APT::Get::Tar-Only</literal>." +"Log events related to the automatically-installed status of packages and to " +"the removal of unused packages." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:558 -msgid "<option>--arch-only</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1095 +msgid "" +"Generate debug messages describing which packages are being automatically " +"installed to resolve dependencies. This corresponds to the initial " +"auto-install pass performed in, e.g., <literal>apt-get install</literal>, " +"and not to the full <literal>apt</literal> dependency resolver; see " +"<literal>Debug::pkgProblemResolver</literal> for that." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:559 +#: apt.conf.5.xml:1109 msgid "" -"Only process architecture-dependent build-dependencies. Configuration Item: " -"<literal>APT::Get::Arch-Only</literal>." +"Generate debug messages describing which packages are marked as " +"keep/install/remove while the ProblemResolver does his work. Each addition " +"or deletion may trigger additional actions; they are shown indented two " +"additional spaces under the original entry. The format for each line is " +"<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or " +"<literal>MarkInstall</literal> followed by <literal>package-name <a.b.c " +"-> d.e.f | x.y.z> (section)</literal> where <literal>a.b.c</literal> " +"is the current version of the package, <literal>d.e.f</literal> is the " +"version considered for installation and <literal>x.y.z</literal> is a newer " +"version, but not considered for installation (because of a low pin " +"score). The later two can be omitted if there is none or if it is the same " +"as the installed version. <literal>section</literal> is the name of the " +"section the package appears in." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-get.8.xml:563 -msgid "<option>--allow-unauthenticated</option>" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1130 +msgid "" +"When invoking &dpkg;, output the precise command line with which it is being " +"invoked, with arguments separated by a single space character." msgstr "" #. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-get.8.xml:564 +#: apt.conf.5.xml:1141 msgid "" -"Ignore if packages can't be authenticated and don't prompt about it. This " -"is useful for tools like pbuilder. Configuration Item: " -"<literal>APT::Get::AllowUnauthenticated</literal>." +"Output all the data received from &dpkg; on the status file descriptor and " +"any errors encountered while parsing it." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist> -#: apt-get.8.xml:577 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1152 msgid "" -"&file-sourceslist; &file-aptconf; &file-preferences; &file-cachearchives; " -"&file-statelists;" +"Generate a trace of the algorithm that decides the order in which " +"<literal>apt</literal> should pass packages to &dpkg;." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-get.8.xml:586 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1164 +msgid "Output status messages tracing the steps performed when invoking &dpkg;." +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1175 +msgid "Output the priority of each package list on startup." +msgstr "" + +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1185 msgid "" -"&apt-cache;, &apt-cdrom;, &dpkg;, &dselect;, &sources-list;, &apt-conf;, " -"&apt-config;, &apt-secure;, The APT User's guide in &guidesdir;, " -"&apt-preferences;, the APT Howto." +"Trace the execution of the dependency resolver (this applies only to what " +"happens when a complex dependency problem is encountered)." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-get.8.xml:592 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1196 msgid "" -"<command>apt-get</command> returns zero on normal operation, decimal 100 on " -"error." +"Display a list of all installed packages with their calculated score used by " +"the pkgProblemResolver. The description of the package is the same as " +"described in <literal>Debug::pkgDepCache::Marker</literal>" msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-get.8.xml:595 -msgid "ORIGINAL AUTHORS" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1208 +msgid "" +"Print information about the vendors read from " +"<filename>/etc/apt/vendors.list</filename>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-get.8.xml:596 -msgid "&apt-author.jgunthorpe;" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt.conf.5.xml:1218 +msgid "" +"Display the external commands that are called by apt hooks. This includes " +"e.g. the config options <literal>DPkg::{Pre,Post}-Invoke</literal> or " +"<literal>APT::Update::{Pre,Post}-Invoke</literal>." msgstr "" #. type: Content of: <refentry><refsect1><title> -#: apt-get.8.xml:599 -msgid "CURRENT AUTHORS" +#: apt.conf.5.xml:1242 apt_preferences.5.xml:541 sources.list.5.xml:233 apt-ftparchive.1.xml:592 +msgid "Examples" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt-get.8.xml:601 -msgid "&apt-author.team;" +#: apt.conf.5.xml:1243 +msgid "" +"&configureindex; is a configuration file showing example values for all " +"possible options." msgstr "" -#. type: Content of: <refentry><refnamediv><refname> -#: apt-key.8.xml:17 apt-key.8.xml:24 -msgid "apt-key" +#. ? reading apt.conf +#. type: Content of: <refentry><refsect1><para> +#: apt.conf.5.xml:1255 +msgid "&apt-cache;, &apt-config;, &apt-preferences;." msgstr "" #. type: Content of: <refentry><refnamediv><refpurpose> -#: apt-key.8.xml:25 -msgid "APT key management utility" +#: apt_preferences.5.xml:28 +msgid "Preference control file for APT" msgstr "" -#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> -#: apt-key.8.xml:31 +#. type: Content of: <refentry><refsect1><para> +#: apt_preferences.5.xml:33 msgid "" -"<command>apt-key</command> <arg><option>--keyring " -"<replaceable>filename</replaceable></option></arg> " -"<arg><replaceable>command</replaceable></arg> <arg " -"rep=\"repeat\"><option><replaceable>arguments</replaceable></option></arg>" +"The APT preferences file <filename>/etc/apt/preferences</filename> and the " +"fragment files in the <filename>/etc/apt/preferences.d/</filename> folder " +"can be used to control which versions of packages will be selected for " +"installation." msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt-key.8.xml:40 +#: apt_preferences.5.xml:38 msgid "" -"<command>apt-key</command> is used to manage the list of keys used by apt to " -"authenticate packages. Packages which have been authenticated using these " -"keys will be considered trusted." +"Several versions of a package may be available for installation when the " +"&sources-list; file contains references to more than one distribution (for " +"example, <literal>stable</literal> and <literal>testing</literal>). APT " +"assigns a priority to each version that is available. Subject to dependency " +"constraints, <command>apt-get</command> selects the version with the highest " +"priority for installation. The APT preferences override the priorities that " +"APT assigns to package versions by default, thus giving the user control " +"over which one is selected for installation." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-key.8.xml:46 -msgid "Commands" +#. type: Content of: <refentry><refsect1><para> +#: apt_preferences.5.xml:48 +msgid "" +"Several instances of the same version of a package may be available when the " +"&sources-list; file contains references to more than one source. In this " +"case <command>apt-get</command> downloads the instance listed earliest in " +"the &sources-list; file. The APT preferences do not affect the choice of " +"instance, only the choice of version." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:48 -msgid "add <replaceable>filename</replaceable>" +#. type: Content of: <refentry><refsect1><para> +#: apt_preferences.5.xml:55 +msgid "" +"Preferences are a strong power in the hands of a system administrator but " +"they can become also their biggest nightmare if used without care! APT will " +"not question the preferences, so wrong settings can lead to uninstallable " +"packages or wrong decisions while upgrading packages. Even more problems " +"will arise if multiple distribution releases are mixed without a good " +"understanding of the following paragraphs. Packages included in a specific " +"release aren't tested in (and therefore don't always work as expected in) " +"older or newer releases, or together with other packages from different " +"releases. You have been warned." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:52 +#. type: Content of: <refentry><refsect1><para> +#: apt_preferences.5.xml:66 msgid "" -"Add a new key to the list of trusted keys. The key is read from " -"<replaceable>filename</replaceable>, or standard input if " -"<replaceable>filename</replaceable> is <literal>-</literal>." +"Note that the files in the <filename>/etc/apt/preferences.d</filename> " +"directory are parsed in alphanumeric ascending order and need to obey the " +"following naming convention: The files have either no or " +"\"<literal>pref</literal>\" as filename extension and only contain " +"alphanumeric, hyphen (-), underscore (_) and period (.) characters. " +"Otherwise APT will print a notice that it has ignored a file, unless that " +"file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> " +"configuration list - in which case it will be silently ignored." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:60 -msgid "del <replaceable>keyid</replaceable>" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt_preferences.5.xml:75 +msgid "APT's Default Priority Assignments" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:64 -msgid "Remove a key from the list of trusted keys." +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt_preferences.5.xml:90 +#, no-wrap +msgid "" +"<command>apt-get install -t testing " +"<replaceable>some-package</replaceable></command>\n" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:71 -msgid "export <replaceable>keyid</replaceable>" +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt_preferences.5.xml:93 +#, no-wrap +msgid "APT::Default-Release \"stable\";\n" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:75 -msgid "Output the key <replaceable>keyid</replaceable> to standard output." +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:77 +msgid "" +"If there is no preferences file or if there is no entry in the file that " +"applies to a particular version then the priority assigned to that version " +"is the priority of the distribution to which that version belongs. It is " +"possible to single out a distribution, \"the target release\", which " +"receives a higher priority than other distributions do by default. The " +"target release can be set on the <command>apt-get</command> command line or " +"in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note " +"that this has precedence over any general priority you set in the " +"<filename>/etc/apt/preferences</filename> file described later, but not over " +"specifically pinned packages. For example, <placeholder " +"type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" " +"id=\"1\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:82 -msgid "exportall" +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:97 +msgid "" +"If the target release has been specified then APT uses the following " +"algorithm to set the priorities of the versions of a package. Assign:" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:86 -msgid "Output all trusted keys to standard output." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:102 +msgid "priority 1" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:93 -msgid "list" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:103 +msgid "" +"to the versions coming from archives which in their " +"<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but " +"<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the Debian " +"<literal>experimental</literal> archive." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:97 -msgid "List trusted keys." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:109 +msgid "priority 100" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:104 -msgid "finger" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:110 +msgid "" +"to the version that is already installed (if any) and to the versions coming " +"from archives which in their <filename>Release</filename> files are marked " +"as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the Debian " +"backports archive since <literal>squeeze-backports</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:108 -msgid "List fingerprints of trusted keys." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:117 +msgid "priority 500" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:115 -msgid "adv" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:118 +msgid "" +"to the versions that are not installed and do not belong to the target " +"release." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:119 -msgid "" -"Pass advanced options to gpg. With adv --recv-key you can download the " -"public key." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:122 +msgid "priority 990" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:131 -msgid "" -"Update the local keyring with the keyring of Debian archive keys and removes " -"from the keyring the archive keys which are no longer valid." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:123 +msgid "to the versions that are not installed and belong to the target release." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:140 -msgid "net-update" +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:128 +msgid "" +"If the target release has not been specified then APT simply assigns " +"priority 100 to all installed package versions and priority 500 to all " +"uninstalled package versions, except versions coming from archives which in " +"their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" " +"- these versions get the priority 1 or priority 100 if it is additionally " +"marked as \"ButAutomaticUpgrades: yes\"." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:144 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:135 msgid "" -"Update the local keyring with the keys of a key server and removes from the " -"keyring the archive keys which are no longer valid. This requires an " -"installed wget and an APT build configured to have a server to fetch " -"from. APT in Debian does not support this command, but Ubuntu's APT does." +"APT then applies the following rules, listed in order of precedence, to " +"determine which version of a package to install." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-key.8.xml:159 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:138 msgid "" -"Note that options need to be defined before the commands described in the " -"previous section." +"Never downgrade unless the priority of an available version exceeds 1000. " +"(\"Downgrading\" is installing a less recent version of a package in place " +"of a more recent version. Note that none of APT's default priorities " +"exceeds 1000; such high priorities can only be set in the preferences file. " +"Note also that downgrading a package can be risky.)" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:161 -msgid "--keyring <replaceable>filename</replaceable>" +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:144 +msgid "Install the highest priority version." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:162 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:145 msgid "" -"With this option it is possible to specify a specific keyring file the " -"command should operate on. The default is that a command is executed on the " -"<filename>trusted.gpg</filename> file as well as on all parts in the " -"<filename>trusted.gpg.d</filename> directory, through " -"<filename>trusted.gpg</filename> is the primary keyring which means that " -"e.g. new keys are added to this one." +"If two or more versions have the same priority, install the most recent one " +"(that is, the one with the higher version number)." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist> -#: apt-key.8.xml:175 -msgid "&file-trustedgpg;" +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:148 +msgid "" +"If two or more versions have the same priority and version number but either " +"the packages differ in some of their metadata or the " +"<literal>--reinstall</literal> option is given, install the uninstalled one." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:177 -msgid "<filename>/etc/apt/trustdb.gpg</filename>" +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:154 +msgid "" +"In a typical situation, the installed version of a package (priority 100) " +"is not as recent as one of the versions available from the sources listed in " +"the &sources-list; file (priority 500 or 990). Then the package will be " +"upgraded when <command>apt-get install " +"<replaceable>some-package</replaceable></command> or <command>apt-get " +"upgrade</command> is executed." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:178 -msgid "Local trust database of archive keys." +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:161 +msgid "" +"More rarely, the installed version of a package is <emphasis>more</emphasis> " +"recent than any of the other available versions. The package will not be " +"downgraded when <command>apt-get install " +"<replaceable>some-package</replaceable></command> or <command>apt-get " +"upgrade</command> is executed." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:181 -msgid "<filename>/usr/share/keyrings/debian-archive-keyring.gpg</filename>" +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:166 +msgid "" +"Sometimes the installed version of a package is more recent than the version " +"belonging to the target release, but not as recent as a version belonging to " +"some other distribution. Such a package will indeed be upgraded when " +"<command>apt-get install <replaceable>some-package</replaceable></command> " +"or <command>apt-get upgrade</command> is executed, because at least " +"<emphasis>one</emphasis> of the available versions has a higher priority " +"than the installed version." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:182 -msgid "Keyring of Debian archive trusted keys." +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt_preferences.5.xml:175 +msgid "The Effect of APT Preferences" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-key.8.xml:185 -msgid "<filename>/usr/share/keyrings/debian-archive-removed-keys.gpg</filename>" +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:177 +msgid "" +"The APT preferences file allows the system administrator to control the " +"assignment of priorities. The file consists of one or more multi-line " +"records separated by blank lines. Records can have one of two forms, a " +"specific form and a general form." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-key.8.xml:186 -msgid "Keyring of Debian archive removed trusted keys." +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:183 +msgid "" +"The specific form assigns a priority (a \"Pin-Priority\") to one or more " +"specified packages with a specified version or version range. For example, " +"the following record assigns a high priority to all versions of the " +"<filename>perl</filename> package whose version number begins with " +"\"<literal>&good-perl;</literal>\". Multiple packages can be separated by " +"spaces." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-key.8.xml:195 -msgid "&apt-get;, &apt-secure;" +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> +#: apt_preferences.5.xml:190 +#, no-wrap +msgid "" +"Package: perl\n" +"Pin: version &good-perl;*\n" +"Pin-Priority: 1001\n" msgstr "" -#. The last update date -#. type: Content of: <refentry><refentryinfo> -#: apt-mark.8.xml:16 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:196 msgid "" -"&apt-author.moconnor; &apt-author.team; &apt-email; &apt-product; <date>21 " -"April 2011</date>" +"The general form assigns a priority to all of the package versions in a " +"given distribution (that is, to all the versions of packages that are listed " +"in a certain <filename>Release</filename> file) or to all of the package " +"versions coming from a particular Internet site, as identified by the site's " +"fully qualified domain name." msgstr "" -#. type: Content of: <refentry><refnamediv><refname> -#: apt-mark.8.xml:25 apt-mark.8.xml:32 -msgid "apt-mark" +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:202 +msgid "" +"This general-form entry in the APT preferences file applies only to groups " +"of packages. For example, the following record assigns a high priority to " +"all package versions available from the local site." msgstr "" -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt-mark.8.xml:33 -msgid "mark/unmark a package as being automatically-installed" +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> +#: apt_preferences.5.xml:207 +#, no-wrap +msgid "" +"Package: *\n" +"Pin: origin \"\"\n" +"Pin-Priority: 999\n" msgstr "" -#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> -#: apt-mark.8.xml:39 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:212 msgid "" -" <command>apt-mark</command> <arg><option>-hv</option></arg> " -"<arg><option>-f=<replaceable>FILENAME</replaceable></option></arg> <group " -"choice=\"plain\"> <arg choice=\"plain\"> <group choice=\"req\"> <arg " -"choice=\"plain\">auto</arg> <arg choice=\"plain\">manual</arg> <arg " -"choice=\"plain\">showauto</arg> <arg choice=\"plain\">showmanual</arg> " -"</group> <arg choice=\"plain\" " -"rep=\"repeat\"><replaceable>package</replaceable></arg> </arg> </group>" +"A note of caution: the keyword used here is \"<literal>origin</literal>\" " +"which can be used to match a hostname. The following record will assign a " +"high priority to all versions available from the server identified by the " +"hostname \"ftp.de.debian.org\"" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-mark.8.xml:57 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> +#: apt_preferences.5.xml:216 +#, no-wrap msgid "" -"<command>apt-mark</command> will change whether a package has been marked as " -"being automatically installed." +"Package: *\n" +"Pin: origin \"ftp.de.debian.org\"\n" +"Pin-Priority: 999\n" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-mark.8.xml:61 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:220 msgid "" -"When you request that a package is installed, and as a result other packages " -"are installed to satisfy its dependencies, the dependencies are marked as " -"being automatically installed. Once these automatically installed packages " -"are no longer depended on by any manually installed packages, they will be " -"removed by e.g. <command>apt-get</command> or <command>aptitude</command>." +"This should <emphasis>not</emphasis> be confused with the Origin of a " +"distribution as specified in a <filename>Release</filename> file. What " +"follows the \"Origin:\" tag in a <filename>Release</filename> file is not an " +"Internet address but an author or vendor name, such as \"Debian\" or " +"\"Ximian\"." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-mark.8.xml:69 -msgid "auto" +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:225 +msgid "" +"The following record assigns a low priority to all package versions " +"belonging to any distribution whose Archive name is " +"\"<literal>unstable</literal>\"." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-mark.8.xml:70 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> +#: apt_preferences.5.xml:229 +#, no-wrap msgid "" -"<literal>auto</literal> is used to mark a package as being automatically " -"installed, which will cause the package to be removed when no more manually " -"installed packages depend on this package." +"Package: *\n" +"Pin: release a=unstable\n" +"Pin-Priority: 50\n" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-mark.8.xml:77 -msgid "manual" +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:234 +msgid "" +"The following record assigns a high priority to all package versions " +"belonging to any distribution whose Codename is " +"\"<literal>&testing-codename;</literal>\"." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-mark.8.xml:78 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> +#: apt_preferences.5.xml:238 +#, no-wrap msgid "" -"<literal>manual</literal> is used to mark a package as being manually " -"installed, which will prevent the package from being automatically removed " -"if no other packages depend on it." +"Package: *\n" +"Pin: release n=&testing-codename;\n" +"Pin-Priority: 900\n" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-mark.8.xml:85 -msgid "hold" +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:243 +msgid "" +"The following record assigns a high priority to all package versions " +"belonging to any release whose Archive name is \"<literal>stable</literal>\" " +"and whose release Version number is \"<literal>&stable-version;</literal>\"." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-mark.8.xml:86 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> +#: apt_preferences.5.xml:248 +#, no-wrap msgid "" -"<literal>hold</literal> is used to mark a package as hold back, which will " -"prevent the package from being automatically installed, upgraded or " -"removed. The command is only a wrapper around <command>dpkg " -"--set-selections</command> and the state is therefore maintained by &dpkg; " -"and not effected by the <option>--filename</option> option." +"Package: *\n" +"Pin: release a=stable, v=&stable-version;\n" +"Pin-Priority: 500\n" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-mark.8.xml:95 -msgid "unhold" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt_preferences.5.xml:258 +msgid "Regular expressions and &glob; syntax" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-mark.8.xml:96 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:260 msgid "" -"<literal>unhold</literal> is used to cancel a previously set hold on a " -"package to allow all actions again." +"APT also supports pinning by &glob; expressions, and regular expressions " +"surrounded by slashes. For example, the following example assigns the " +"priority 500 to all packages from experimental where the name starts with " +"gnome (as a &glob;-like expression) or contains the word kde (as a POSIX " +"extended regular expression surrounded by slashes)." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-mark.8.xml:101 -msgid "showauto" +#. type: Content of: <refentry><refsect1><refsect2><programlisting> +#: apt_preferences.5.xml:269 +#, no-wrap +msgid "" +"Package: gnome* /kde/\n" +"Pin: release a=experimental\n" +"Pin-Priority: 500\n" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-mark.8.xml:102 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:275 msgid "" -"<literal>showauto</literal> is used to print a list of automatically " -"installed packages with each package on a new line. All automatically " -"installed packages will be listed if no package is given. If packages are " -"given only those which are automatically installed will be shown." +"The rule for those expressions is that they can occur anywhere where a " +"string can occur. Thus, the following pin assigns the priority 990 to all " +"packages from a release starting with &ubuntu-codename;." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-mark.8.xml:109 -msgid "showmanual" +#. type: Content of: <refentry><refsect1><refsect2><programlisting> +#: apt_preferences.5.xml:281 +#, no-wrap +msgid "" +"Package: *\n" +"Pin: release n=&ubuntu-codename;*\n" +"Pin-Priority: 990\n" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-mark.8.xml:110 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:287 msgid "" -"<literal>showmanual</literal> can be used in the same way as " -"<literal>showauto</literal> except that it will print a list of manually " -"installed packages instead." +"If a regular expression occurs in a <literal>Package</literal> field, the " +"behavior is the same as if this regular expression were replaced with a list " +"of all package names it matches. It is undecided whether this will change in " +"the future; thus you should always list wild-card pins first, so later " +"specific pins override it. The pattern \"<literal>*</literal>\" in a " +"Package field is not considered a &glob; expression in itself." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-mark.8.xml:116 -msgid "showhold" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt_preferences.5.xml:303 +msgid "How APT Interprets Priorities" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-mark.8.xml:117 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:306 msgid "" -"<literal>showhold</literal> is used to print a list of packages on hold in " -"the same way as for the other show commands." +"Priorities (P) assigned in the APT preferences file must be positive or " +"negative integers. They are interpreted as follows (roughly speaking):" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-mark.8.xml:130 -msgid "<option>-f=<filename><replaceable>FILENAME</replaceable></filename></option>" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:311 +msgid "P >= 1000" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-mark.8.xml:131 -msgid "<option>--file=<filename><replaceable>FILENAME</replaceable></filename></option>" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:312 +msgid "" +"causes a version to be installed even if this constitutes a downgrade of the " +"package" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-mark.8.xml:134 -msgid "" -"Read/Write package stats from " -"<filename><replaceable>FILENAME</replaceable></filename> instead of the " -"default location, which is <filename>extended_status</filename> in the " -"directory defined by the Configuration Item: <literal>Dir::State</literal>." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:316 +msgid "990 <= P < 1000" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist> -#: apt-mark.8.xml:146 -msgid " &file-extended_states;" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:317 +msgid "" +"causes a version to be installed even if it does not come from the target " +"release, unless the installed version is more recent" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-mark.8.xml:151 -msgid "&apt-get;,&aptitude;,&apt-conf;" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:322 +msgid "500 <= P < 990" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-mark.8.xml:155 +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:323 msgid "" -"<command>apt-mark</command> returns zero on normal operation, non-zero on " -"error." +"causes a version to be installed unless there is a version available " +"belonging to the target release or the installed version is more recent" msgstr "" -#. type: Content of: <refentry><refnamediv><refname> -#: apt-secure.8.xml:17 apt-secure.8.xml:39 -msgid "apt-secure" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:328 +msgid "100 <= P < 500" msgstr "" -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt-secure.8.xml:40 -msgid "Archive authentication support for APT" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:329 +msgid "" +"causes a version to be installed unless there is a version available " +"belonging to some other distribution or the installed version is more recent" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:45 -msgid "" -"Starting with version 0.6, <command>apt</command> contains code that does " -"signature checking of the Release file for all archives. This ensures that " -"packages in the archive can't be modified by people who have no access to " -"the Release file signing key." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:334 +msgid "0 < P < 100" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:53 +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:335 msgid "" -"If a package comes from a archive without a signature or with a signature " -"that apt does not have a key for that package is considered untrusted and " -"installing it will result in a big warning. <command>apt-get</command> will " -"currently only warn for unsigned archives, future releases might force all " -"sources to be verified before downloading packages from them." +"causes a version to be installed only if there is no installed version of " +"the package" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:62 -msgid "" -"The package frontends &apt-get;, &aptitude; and &synaptic; support this new " -"authentication feature." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:339 +msgid "P < 0" msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-secure.8.xml:67 -msgid "Trusted archives" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:340 +msgid "prevents the version from being installed" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:70 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:345 msgid "" -"The chain of trust from an apt archive to the end user is made up of " -"different steps. <command>apt-secure</command> is the last step in this " -"chain, trusting an archive does not mean that the packages that you trust it " -"do not contain malicious code but means that you trust the archive " -"maintainer. It's the archive maintainer responsibility to ensure that the " -"archive integrity is correct." +"If any specific-form records match an available package version then the " +"first such record determines the priority of the package version. Failing " +"that, if any general-form records match an available package version then " +"the first such record determines the priority of the package version." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:78 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:351 msgid "" -"apt-secure does not review signatures at a package level. If you require " -"tools to do this you should look at <command>debsig-verify</command> and " -"<command>debsign</command> (provided in the debsig-verify and devscripts " -"packages respectively)." +"For example, suppose the APT preferences file contains the three records " +"presented earlier:" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:85 +#. type: Content of: <refentry><refsect1><refsect2><programlisting> +#: apt_preferences.5.xml:355 +#, no-wrap msgid "" -"The chain of trust in Debian starts when a maintainer uploads a new package " -"or a new version of a package to the Debian archive. This upload in order to " -"become effective needs to be signed by a key of a maintainer within the " -"Debian maintainer's keyring (available in the debian-keyring " -"package). Maintainer's keys are signed by other maintainers following " -"pre-established procedures to ensure the identity of the key holder." +"Package: perl\n" +"Pin: version &good-perl;*\n" +"Pin-Priority: 1001\n" +"\n" +"Package: *\n" +"Pin: origin \"\"\n" +"Pin-Priority: 999\n" +"\n" +"Package: *\n" +"Pin: release unstable\n" +"Pin-Priority: 50\n" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:95 -msgid "" -"Once the uploaded package is verified and included in the archive, the " -"maintainer signature is stripped off, an MD5 sum of the package is computed " -"and put in the Packages file. The MD5 sum of all of the packages files are " -"then computed and put into the Release file. The Release file is then signed " -"by the archive key (which is created once a year) and distributed through " -"the FTP server. This key is also on the Debian keyring." +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:368 +msgid "Then:" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:105 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:370 msgid "" -"Any end user can check the signature of the Release file, extract the MD5 " -"sum of a package from it and compare it with the MD5 sum of the package he " -"downloaded. Prior to version 0.6 only the MD5 sum of the downloaded Debian " -"package was checked. Now both the MD5 sum and the signature of the Release " -"file are checked." +"The most recent available version of the <literal>perl</literal> package " +"will be installed, so long as that version's version number begins with " +"\"<literal>&good-perl;</literal>\". If <emphasis>any</emphasis> " +"&good-perl;* version of <literal>perl</literal> is available and the " +"installed version is &bad-perl;*, then <literal>perl</literal> will be " +"downgraded." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:112 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:375 msgid "" -"Notice that this is distinct from checking signatures on a per package " -"basis. It is designed to prevent two possible attacks:" +"A version of any package other than <literal>perl</literal> that is " +"available from the local system has priority over other versions, even " +"versions belonging to the target release." msgstr "" -#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> -#: apt-secure.8.xml:117 +#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> +#: apt_preferences.5.xml:379 msgid "" -"<literal>Network \"man in the middle\" attacks</literal>. Without signature " -"checking, a malicious agent can introduce himself in the package download " -"process and provide malicious software either by controlling a network " -"element (router, switch, etc.) or by redirecting traffic to a rogue server " -"(through arp or DNS spoofing attacks)." +"A version of a package whose origin is not the local system but some other " +"site listed in &sources-list; and which belongs to an " +"<literal>unstable</literal> distribution is only installed if it is selected " +"for installation and no version of the package is already installed." msgstr "" -#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> -#: apt-secure.8.xml:125 -msgid "" -"<literal>Mirror network compromise</literal>. Without signature checking, a " -"malicious agent can compromise a mirror host and modify the files in it to " -"propagate malicious software to all users downloading packages from that " -"host." +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt_preferences.5.xml:389 +msgid "Determination of Package Version and Distribution Properties" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:132 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:391 msgid "" -"However, it does not defend against a compromise of the Debian master server " -"itself (which signs the packages) or against a compromise of the key used to " -"sign the Release files. In any case, this mechanism can complement a " -"per-package signature." +"The locations listed in the &sources-list; file should provide " +"<filename>Packages</filename> and <filename>Release</filename> files to " +"describe the packages available at that location." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-secure.8.xml:138 -msgid "User configuration" +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:395 +msgid "" +"The <filename>Packages</filename> file is normally found in the directory " +"<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: " +"for example, " +"<filename>.../dists/stable/main/binary-i386/Packages</filename>. It " +"consists of a series of multi-line records, one for each package available " +"in that directory. Only two lines in each record are relevant for setting " +"APT priorities:" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:140 -msgid "" -"<command>apt-key</command> is the program that manages the list of keys used " -"by apt. It can be used to add or remove keys although an installation of " -"this release will automatically provide the default Debian archive signing " -"keys used in the Debian package repositories." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:403 +msgid "the <literal>Package:</literal> line" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:147 -msgid "" -"In order to add a new key you need to first download it (you should make " -"sure you are using a trusted communication channel when retrieving it), add " -"it with <command>apt-key</command> and then run <command>apt-get " -"update</command> so that apt can download and verify the " -"<filename>InRelease</filename> or <filename>Release.gpg</filename> files " -"from the archives you have configured." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:404 +msgid "gives the package name" msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-secure.8.xml:156 -msgid "Archive configuration" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:407 apt_preferences.5.xml:457 +msgid "the <literal>Version:</literal> line" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:158 -msgid "" -"If you want to provide archive signatures in an archive under your " -"maintenance you have to:" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:408 +msgid "gives the version number for the named package" msgstr "" -#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> -#: apt-secure.8.xml:163 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:413 msgid "" -"<emphasis>Create a toplevel Release file</emphasis>, if it does not exist " -"already. You can do this by running <command>apt-ftparchive " -"release</command> (provided in apt-utils)." +"The <filename>Release</filename> file is normally found in the directory " +"<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for " +"example, <filename>.../dists/stable/Release</filename>, or " +"<filename>.../dists/&stable-codename;/Release</filename>. It consists of a " +"single multi-line record which applies to <emphasis>all</emphasis> of the " +"packages in the directory tree below its parent. Unlike the " +"<filename>Packages</filename> file, nearly all of the lines in a " +"<filename>Release</filename> file are relevant for setting APT priorities:" msgstr "" -#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> -#: apt-secure.8.xml:168 -msgid "" -"<emphasis>Sign it</emphasis>. You can do this by running <command>gpg " -"--clearsign -o InRelease Release</command> and <command>gpg -abs -o " -"Release.gpg Release</command>." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:424 +msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line" msgstr "" -#. type: Content of: <refentry><refsect1><itemizedlist><listitem><para> -#: apt-secure.8.xml:172 +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:425 msgid "" -"<emphasis>Publish the key fingerprint</emphasis>, that way your users will " -"know what key they need to import in order to authenticate the files in the " -"archive." +"names the archive to which all the packages in the directory tree belong. " +"For example, the line \"Archive: stable\" or \"Suite: stable\" specifies " +"that all of the packages in the directory tree below the parent of the " +"<filename>Release</filename> file are in a <literal>stable</literal> " +"archive. Specifying this value in the APT preferences file would require " +"the line:" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:179 -msgid "" -"Whenever the contents of the archive changes (new packages are added or " -"removed) the archive maintainer has to follow the first two steps previously " -"outlined." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> +#: apt_preferences.5.xml:435 +#, no-wrap +msgid "Pin: release a=stable\n" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:187 -msgid "" -"&apt-conf;, &apt-get;, &sources-list;, &apt-key;, &apt-ftparchive;, " -"&debsign; &debsig-verify;, &gpg;" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:441 +msgid "the <literal>Codename:</literal> line" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:191 +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:442 msgid "" -"For more background information you might want to review the <ulink " -"url=\"http://www.debian.org/doc/manuals/securing-debian-howto/ch7.en.html\">Debian " -"Security Infrastructure</ulink> chapter of the Securing Debian Manual " -"(available also in the harden-doc package) and the <ulink " -"url=\"http://www.cryptnet.net/fdp/crypto/strong_distro.html\" >Strong " -"Distribution HOWTO</ulink> by V. Alex Brennen." +"names the codename to which all the packages in the directory tree belong. " +"For example, the line \"Codename: &testing-codename;\" specifies that all of " +"the packages in the directory tree below the parent of the " +"<filename>Release</filename> file belong to a version named " +"<literal>&testing-codename;</literal>. Specifying this value in the APT " +"preferences file would require the line:" msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt-secure.8.xml:204 -msgid "Manpage Authors" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> +#: apt_preferences.5.xml:451 +#, no-wrap +msgid "Pin: release n=&testing-codename;\n" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-secure.8.xml:206 +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:458 msgid "" -"This man-page is based on the work of Javier Fernández-Sanguino Peña, Isaac " -"Jones, Colin Walters, Florian Weimer and Michael Vogt." +"names the release version. For example, the packages in the tree might " +"belong to Debian release version &stable-version;. Note that there is " +"normally no version number for the <literal>testing</literal> and " +"<literal>unstable</literal> distributions because they have not been " +"released yet. Specifying this in the APT preferences file would require one " +"of the following lines." msgstr "" -#. type: Content of: <refentry><refnamediv><refname> -#: apt-sortpkgs.1.xml:25 apt-sortpkgs.1.xml:32 -msgid "apt-sortpkgs" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> +#: apt_preferences.5.xml:467 +#, no-wrap +msgid "" +"Pin: release v=&stable-version;\n" +"Pin: release a=stable, v=&stable-version;\n" +"Pin: release &stable-version;\n" msgstr "" -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt-sortpkgs.1.xml:33 -msgid "Utility to sort package index files" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:476 +msgid "the <literal>Component:</literal> line" msgstr "" -#. type: Content of: <refentry><refsynopsisdiv><cmdsynopsis> -#: apt-sortpkgs.1.xml:39 +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:477 msgid "" -"<command>apt-sortpkgs</command> <arg><option>-hvs</option></arg> " -"<arg><option>-o=<replaceable>config string</replaceable></option></arg> " -"<arg><option>-c=<replaceable>file</replaceable></option></arg> <arg " -"choice=\"plain\" rep=\"repeat\"><replaceable>file</replaceable></arg>" +"names the licensing component associated with the packages in the directory " +"tree of the <filename>Release</filename> file. For example, the line " +"\"Component: main\" specifies that all the packages in the directory tree " +"are from the <literal>main</literal> component, which entails that they are " +"licensed under terms listed in the Debian Free Software Guidelines. " +"Specifying this component in the APT preferences file would require the " +"line:" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-sortpkgs.1.xml:48 -msgid "" -"<command>apt-sortpkgs</command> will take an index file (Source index or " -"Package index) and sort the records so that they are ordered by the package " -"name. It will also sort the internal fields of each record according to the " -"internal sorting rules." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> +#: apt_preferences.5.xml:486 +#, no-wrap +msgid "Pin: release c=main\n" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-sortpkgs.1.xml:54 -msgid "All output is sent to stdout, the input must be a seekable file." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:492 +msgid "the <literal>Origin:</literal> line" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt-sortpkgs.1.xml:61 -msgid "<option>--source</option>" +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:493 +msgid "" +"names the originator of the packages in the directory tree of the " +"<filename>Release</filename> file. Most commonly, this is " +"<literal>Debian</literal>. Specifying this origin in the APT preferences " +"file would require the line:" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt-sortpkgs.1.xml:63 -msgid "" -"Use Source index field ordering. Configuration Item: " -"<literal>APT::SortPkgs::Source</literal>." +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> +#: apt_preferences.5.xml:499 +#, no-wrap +msgid "Pin: release o=Debian\n" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt-sortpkgs.1.xml:77 +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> +#: apt_preferences.5.xml:505 +msgid "the <literal>Label:</literal> line" +msgstr "" + +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> +#: apt_preferences.5.xml:506 msgid "" -"<command>apt-sortpkgs</command> returns zero on normal operation, decimal " -"100 on error." +"names the label of the packages in the directory tree of the " +"<filename>Release</filename> file. Most commonly, this is " +"<literal>Debian</literal>. Specifying this label in the APT preferences " +"file would require the line:" msgstr "" -#. The last update date -#. type: Content of: <refentry><refentryinfo> -#: apt.conf.5.xml:16 +#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> +#: apt_preferences.5.xml:512 +#, no-wrap +msgid "Pin: release l=Debian\n" +msgstr "" + +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:519 msgid "" -"&apt-author.jgunthorpe; &apt-author.team; <author> " -"<firstname>Daniel</firstname> <surname>Burrows</surname> <contrib>Initial " -"documentation of Debug::*.</contrib> <email>dburrows@debian.org</email> " -"</author> &apt-email; &apt-product; <date>16 January 2010</date>" +"All of the <filename>Packages</filename> and <filename>Release</filename> " +"files retrieved from locations listed in the &sources-list; file are stored " +"in the directory <filename>/var/lib/apt/lists</filename>, or in the file " +"named by the variable <literal>Dir::State::Lists</literal> in the " +"<filename>apt.conf</filename> file. For example, the file " +"<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> " +"contains the <filename>Release</filename> file retrieved from the site " +"<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> " +"architecture files from the <literal>contrib</literal> component of the " +"<literal>unstable</literal> distribution." msgstr "" -#. type: Content of: <refentry><refnamediv><refname> -#: apt.conf.5.xml:31 apt.conf.5.xml:38 -msgid "apt.conf" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt_preferences.5.xml:532 +msgid "Optional Lines in an APT Preferences Record" msgstr "" -#. type: Content of: <refentry><refmeta><manvolnum> -#: apt.conf.5.xml:32 apt_preferences.5.xml:25 sources.list.5.xml:26 -msgid "5" +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:534 +msgid "" +"Each record in the APT preferences file can optionally begin with one or " +"more lines beginning with the word <literal>Explanation:</literal>. This " +"provides a place for comments." msgstr "" -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt.conf.5.xml:39 -msgid "Configuration file for APT" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt_preferences.5.xml:543 +msgid "Tracking Stable" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:43 +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt_preferences.5.xml:551 +#, no-wrap msgid "" -"<filename>apt.conf</filename> is the main configuration file for the APT " -"suite of tools, but by far not the only place changes to options can be " -"made. All tools therefore share the configuration files and also use a " -"common command line parser to provide a uniform environment." +"Explanation: Uninstall or do not install any Debian-originated\n" +"Explanation: package versions other than those in the stable distro\n" +"Package: *\n" +"Pin: release a=stable\n" +"Pin-Priority: 900\n" +"\n" +"Package: *\n" +"Pin: release o=Debian\n" +"Pin-Priority: -10\n" msgstr "" -#. type: Content of: <refentry><refsect1><orderedlist><para> -#: apt.conf.5.xml:48 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:545 msgid "" -"When an APT tool starts up it will read the configuration files in the " -"following order:" +"The following APT preferences file will cause APT to assign a priority " +"higher than the default (500) to all package versions belonging to a " +"<literal>stable</literal> distribution and a prohibitively low priority to " +"package versions belonging to other <literal>Debian</literal> " +"distributions. <placeholder type=\"programlisting\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><orderedlist><listitem><para> -#: apt.conf.5.xml:50 +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt_preferences.5.xml:568 apt_preferences.5.xml:614 apt_preferences.5.xml:672 +#, no-wrap msgid "" -"the file specified by the <envar>APT_CONFIG</envar> environment variable (if " -"any)" +"apt-get install <replaceable>package-name</replaceable>\n" +"apt-get upgrade\n" +"apt-get dist-upgrade\n" msgstr "" -#. type: Content of: <refentry><refsect1><orderedlist><listitem><para> -#: apt.conf.5.xml:52 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:563 msgid "" -"all files in <literal>Dir::Etc::Parts</literal> in alphanumeric ascending " -"order which have no or \"<literal>conf</literal>\" as filename extension and " -"which only contain alphanumeric, hyphen (-), underscore (_) and period (.) " -"characters. Otherwise APT will print a notice that it has ignored a file if " -"the file doesn't match a pattern in the " -"<literal>Dir::Ignore-Files-Silently</literal> configuration list - in this " -"case it will be silently ignored." +"With a suitable &sources-list; file and the above preferences file, any of " +"the following commands will cause APT to upgrade to the latest " +"<literal>stable</literal> version(s). <placeholder type=\"programlisting\" " +"id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><orderedlist><listitem><para> -#: apt.conf.5.xml:59 -msgid "the main configuration file specified by <literal>Dir::Etc::main</literal>" +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt_preferences.5.xml:580 +#, no-wrap +msgid "apt-get install <replaceable>package</replaceable>/testing\n" msgstr "" -#. type: Content of: <refentry><refsect1><orderedlist><listitem><para> -#: apt.conf.5.xml:61 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:574 msgid "" -"the command line options are applied to override the configuration " -"directives or to load even more configuration files." +"The following command will cause APT to upgrade the specified package to the " +"latest version from the <literal>testing</literal> distribution; the package " +"will not be upgraded again unless this command is given again. <placeholder " +"type=\"programlisting\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt.conf.5.xml:65 -msgid "Syntax" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt_preferences.5.xml:586 +msgid "Tracking Testing or Unstable" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:66 +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt_preferences.5.xml:595 +#, no-wrap msgid "" -"The configuration file is organized in a tree with options organized into " -"functional groups. Option specification is given with a double colon " -"notation, for instance <literal>APT::Get::Assume-Yes</literal> is an option " -"within the APT tool group, for the Get tool. Options do not inherit from " -"their parent groups." +"Package: *\n" +"Pin: release a=testing\n" +"Pin-Priority: 900\n" +"\n" +"Package: *\n" +"Pin: release a=unstable\n" +"Pin-Priority: 800\n" +"\n" +"Package: *\n" +"Pin: release o=Debian\n" +"Pin-Priority: -10\n" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:72 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:588 msgid "" -"Syntactically the configuration language is modeled after what the ISC tools " -"such as bind and dhcp use. Lines starting with <literal>//</literal> are " -"treated as comments (ignored), as well as all text between " -"<literal>/*</literal> and <literal>*/</literal>, just like C/C++ comments. " -"Each line is of the form <literal>APT::Get::Assume-Yes " -"\"true\";</literal>. The trailing semicolon and the quotes are required. The " -"value must be on one line, and there is no kind of string concatenation. It " -"must not include inside quotes. The behavior of the backslash \"\\\" and " -"escaped characters inside a value is undefined and it should not be used. An " -"option name may include alphanumerical characters and the \"/-:._+\" " -"characters. A new scope can be opened with curly braces, like:" +"The following APT preferences file will cause APT to assign a high priority " +"to package versions from the <literal>testing</literal> distribution, a " +"lower priority to package versions from the <literal>unstable</literal> " +"distribution, and a prohibitively low priority to package versions from " +"other <literal>Debian</literal> distributions. <placeholder " +"type=\"programlisting\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><informalexample><programlisting> -#: apt.conf.5.xml:86 -#, no-wrap +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:609 msgid "" -"APT {\n" -" Get {\n" -" Assume-Yes \"true\";\n" -" Fix-Broken \"true\";\n" -" };\n" -"};\n" +"With a suitable &sources-list; file and the above preferences file, any of " +"the following commands will cause APT to upgrade to the latest " +"<literal>testing</literal> version(s). <placeholder type=\"programlisting\" " +"id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:94 +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt_preferences.5.xml:629 +#, no-wrap +msgid "apt-get install <replaceable>package</replaceable>/unstable\n" +msgstr "" + +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:620 msgid "" -"with newlines placed to make it more readable. Lists can be created by " -"opening a scope and including a single string enclosed in quotes followed by " -"a semicolon. Multiple entries can be included, each separated by a " -"semicolon." +"The following command will cause APT to upgrade the specified package to the " +"latest version from the <literal>unstable</literal> distribution. " +"Thereafter, <command>apt-get upgrade</command> will upgrade the package to " +"the most recent <literal>testing</literal> version if that is more recent " +"than the installed version, otherwise, to the most recent " +"<literal>unstable</literal> version if that is more recent than the " +"installed version. <placeholder type=\"programlisting\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><informalexample><programlisting> -#: apt.conf.5.xml:99 +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt_preferences.5.xml:636 +msgid "Tracking the evolution of a codename release" +msgstr "" + +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt_preferences.5.xml:650 #, no-wrap -msgid "DPkg::Pre-Install-Pkgs {\"/usr/sbin/dpkg-preconfigure --apt\";};\n" +msgid "" +"Explanation: Uninstall or do not install any Debian-originated package " +"versions\n" +"Explanation: other than those in the distribution codenamed with " +"&testing-codename; or sid\n" +"Package: *\n" +"Pin: release n=&testing-codename;\n" +"Pin-Priority: 900\n" +"\n" +"Explanation: Debian unstable is always codenamed with sid\n" +"Package: *\n" +"Pin: release n=sid\n" +"Pin-Priority: 800\n" +"\n" +"Package: *\n" +"Pin: release o=Debian\n" +"Pin-Priority: -10\n" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:102 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:638 msgid "" -"In general the sample configuration file in " -"<filename>&docdir;examples/apt.conf</filename> &configureindex; is a good " -"guide for how it should look." +"The following APT preferences file will cause APT to assign a priority " +"higher than the default (500) to all package versions belonging to a " +"specified codename of a distribution and a prohibitively low priority to " +"package versions belonging to other <literal>Debian</literal> distributions, " +"codenames and archives. Note that with this APT preference APT will follow " +"the migration of a release from the archive <literal>testing</literal> to " +"<literal>stable</literal> and later <literal>oldstable</literal>. If you " +"want to follow for example the progress in <literal>testing</literal> " +"notwithstanding the codename changes you should use the example " +"configurations above. <placeholder type=\"programlisting\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:106 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:667 msgid "" -"The names of the configuration items are not case-sensitive. So in the " -"previous example you could use <literal>dpkg::pre-install-pkgs</literal>." +"With a suitable &sources-list; file and the above preferences file, any of " +"the following commands will cause APT to upgrade to the latest version(s) in " +"the release codenamed with <literal>&testing-codename;</literal>. " +"<placeholder type=\"programlisting\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:109 +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt_preferences.5.xml:687 +#, no-wrap +msgid "apt-get install <replaceable>package</replaceable>/sid\n" +msgstr "" + +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt_preferences.5.xml:678 msgid "" -"Names for the configuration items are optional if a list is defined as it " -"can be see in the <literal>DPkg::Pre-Install-Pkgs</literal> example " -"above. If you don't specify a name a new entry will simply add a new option " -"to the list. If you specify a name you can override the option as every " -"other option by reassigning a new value to the option." +"The following command will cause APT to upgrade the specified package to the " +"latest version from the <literal>sid</literal> distribution. Thereafter, " +"<command>apt-get upgrade</command> will upgrade the package to the most " +"recent <literal>&testing-codename;</literal> version if that is more recent " +"than the installed version, otherwise, to the most recent " +"<literal>sid</literal> version if that is more recent than the installed " +"version. <placeholder type=\"programlisting\" id=\"0\"/>" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:114 -msgid "" -"Two specials are allowed, <literal>#include</literal> (which is deprecated " -"and not supported by alternative implementations) and " -"<literal>#clear</literal>: <literal>#include</literal> will include the " -"given file, unless the filename ends in a slash, then the whole directory is " -"included. <literal>#clear</literal> is used to erase a part of the " -"configuration tree. The specified element and all its descendants are " -"erased. (Note that these lines also need to end with a semicolon.)" +#: apt_preferences.5.xml:702 +msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:122 -msgid "" -"The #clear command is the only way to delete a list or a complete scope. " -"Reopening a scope or the ::-style described below will " -"<emphasis>not</emphasis> override previously written entries. Only options " -"can be overridden by addressing a new value to it - lists and scopes can't " -"be overridden, only cleared." +#. type: Content of: <refentry><refnamediv><refpurpose> +#: sources.list.5.xml:29 +msgid "List of configured APT data sources" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:127 +#: sources.list.5.xml:34 msgid "" -"All of the APT tools take a -o option which allows an arbitrary " -"configuration directive to be specified on the command line. The syntax is a " -"full option name (<literal>APT::Get::Assume-Yes</literal> for instance) " -"followed by an equals sign then the new value of the option. Lists can be " -"appended too by adding a trailing :: to the list name. (As you might " -"suspect: The scope syntax can't be used on the command line.)" +"The source list <filename>/etc/apt/sources.list</filename> is designed to " +"support any number of active sources and a variety of source media. The file " +"lists one source per line, with the most preferred source listed first. The " +"information available from the configured sources is acquired by " +"<command>apt-get update</command> (or by an equivalent command from another " +"APT front-end)." msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:134 +#: sources.list.5.xml:41 msgid "" -"Note that you can use :: only for appending one item per line to a list and " -"that you should not use it in combination with the scope syntax. (The scope " -"syntax implicit insert ::) Using both syntaxes together will trigger a bug " -"which some users unfortunately relay on: An option with the unusual name " -"\"<literal>::</literal>\" which acts like every other option with a " -"name. These introduces many problems including that a user who writes " -"multiple lines in this <emphasis>wrong</emphasis> syntax in the hope to " -"append to a list will gain the opposite as only the last assignment for this " -"option \"<literal>::</literal>\" will be used. Upcoming APT versions will " -"raise errors and will stop working if they encounter this misuse, so please " -"correct such statements now as long as APT doesn't complain explicit about " -"them." +"Each line specifying a source starts with type " +"(e.g. <literal>deb-src</literal>) followed by options and arguments for " +"this type. Individual entries cannot be continued onto a following " +"line. Empty lines are ignored, and a <literal>#</literal> character anywhere " +"on a line marks the remainder of that line as a comment." msgstr "" #. type: Content of: <refentry><refsect1><title> -#: apt.conf.5.xml:146 -msgid "The APT Group" +#: sources.list.5.xml:49 +msgid "sources.list.d" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:147 +#: sources.list.5.xml:50 msgid "" -"This group of options controls general APT behavior as well as holding the " -"options for all of the tools." +"The <filename>/etc/apt/sources.list.d</filename> directory provides a way to " +"add sources.list entries in separate files. The format is the same as for " +"the regular <filename>sources.list</filename> file. File names need to end " +"with <filename>.list</filename> and may only contain letters (a-z and A-Z), " +"digits (0-9), underscore (_), hyphen (-) and period (.) characters. " +"Otherwise APT will print a notice that it has ignored a file, unless that " +"file matches a pattern in the <literal>Dir::Ignore-Files-Silently</literal> " +"configuration list - in which case it will be silently ignored." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:151 -msgid "Architecture" +#. type: Content of: <refentry><refsect1><title> +#: sources.list.5.xml:61 +msgid "The deb and deb-src types" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:152 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:62 msgid "" -"System Architecture; sets the architecture to use when fetching files and " -"parsing package lists. The internal default is the architecture apt was " -"compiled for." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:157 -msgid "Default-Release" +"The <literal>deb</literal> type references a typical two-level Debian " +"archive, <filename>distribution/component</filename>. The " +"<literal>distribution</literal> is generally an archive name like " +"<literal>stable</literal> or <literal>testing</literal> or a codename like " +"<literal>&stable-codename;</literal> or " +"<literal>&testing-codename;</literal> while component is one of " +"<literal>main</literal>, <literal>contrib</literal> or " +"<literal>non-free</literal>. The <literal>deb-src</literal> type references " +"a Debian distribution's source code in the same form as the " +"<literal>deb</literal> type. A <literal>deb-src</literal> line is required " +"to fetch source indexes." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:158 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:73 msgid "" -"Default release to install packages from if more than one version " -"available. Contains release name, codename or release version. Examples: " -"'stable', 'testing', 'unstable', '&stable-codename;', '&testing-codename;', " -"'4.0', '5.0*'. See also &apt-preferences;." +"The format for a <filename>sources.list</filename> entry using the " +"<literal>deb</literal> and <literal>deb-src</literal> types is:" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:163 -msgid "Ignore-Hold" +#. type: Content of: <refentry><refsect1><literallayout> +#: sources.list.5.xml:76 +#, no-wrap +msgid "deb [ options ] uri suite [component1] [component2] [...]" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:164 +#. type: Content of: <refentry><refsect1><para><literallayout> +#: sources.list.5.xml:80 +#, no-wrap msgid "" -"Ignore Held packages; This global option causes the problem resolver to " -"ignore held packages in its decision making." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:168 -msgid "Clean-Installed" +" Types: deb deb-src\n" +" URIs: http://example.com\n" +" Suites: stable testing\n" +" Sections: component1 component2\n" +" Description: short\n" +" long long long\n" +" [option1]: [option1-value]\n" +"\n" +" Types: deb\n" +" URIs: http://another.example.com\n" +" Suites: experimental\n" +" Sections: component1 component2\n" +" Enabled: no\n" +" Description: short\n" +" long long long\n" +" [option1]: [option1-value]\n" +" " msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:169 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:78 msgid "" -"Defaults to on. When turned on the autoclean feature will remove any " -"packages which can no longer be downloaded from the cache. If turned off " -"then packages that are locally installed are also excluded from cleaning - " -"but note that APT provides no direct means to reinstall them." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:175 -msgid "Immediate-Configure" +"Alternatively a rfc822 style format is also supported: <placeholder " +"type=\"literallayout\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:176 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:99 msgid "" -"Defaults to on which will cause APT to install essential and important " -"packages as fast as possible in the install/upgrade operation. This is done " -"to limit the effect of a failing &dpkg; call: If this option is disabled APT " -"does treat an important package in the same way as an extra package: Between " -"the unpacking of the important package A and his configuration can then be " -"many other unpack or configuration calls, e.g. for package B which has no " -"relation to A, but causes the dpkg call to fail (e.g. because maintainer " -"script of package B generates an error) which results in a system state in " -"which package A is unpacked but unconfigured - each package depending on A " -"is now no longer guaranteed to work as their dependency on A is not longer " -"satisfied. The immediate configuration marker is also applied to all " -"dependencies which can generate a problem if the dependencies e.g. form a " -"circle as a dependency with the immediate flag is comparable with a " -"Pre-Dependency. So in theory it is possible that APT encounters a situation " -"in which it is unable to perform immediate configuration, errors out and " -"refers to this option so the user can deactivate the immediate configuration " -"temporarily to be able to perform an install/upgrade again. Note the use of " -"the word \"theory\" here as this problem was only encountered by now in real " -"world a few times in non-stable distribution versions and was caused by " -"wrong dependencies of the package in question or by a system in an already " -"broken state, so you should not blindly disable this option as the mentioned " -"scenario above is not the only problem immediate configuration can help to " -"prevent in the first place. Before a big operation like " -"<literal>dist-upgrade</literal> is run with this option disabled it should " -"be tried to explicitly <literal>install</literal> the package APT is unable " -"to configure immediately, but please make sure to report your problem also " -"to your distribution and to the APT team with the buglink below so they can " -"work on improving or correcting the upgrade process." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:198 -msgid "Force-LoopBreak" +"The URI for the <literal>deb</literal> type must specify the base of the " +"Debian distribution, from which APT will find the information it needs. " +"<literal>suite</literal> can specify an exact path, in which case the " +"components must be omitted and <literal>suite</literal> must end with a " +"slash (<literal>/</literal>). This is useful for the case when only a " +"particular sub-section of the archive denoted by the URI is of interest. If " +"<literal>suite</literal> does not specify an exact path, at least one " +"<literal>component</literal> must be present." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:199 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:108 msgid "" -"Never Enable this option unless you -really- know what you are doing. It " -"permits APT to temporarily remove an essential package to break a " -"Conflicts/Conflicts or Conflicts/Pre-Depend loop between two essential " -"packages. SUCH A LOOP SHOULD NEVER EXIST AND IS A GRAVE BUG. This option " -"will work if the essential packages are not tar, gzip, libc, dpkg, bash or " -"anything that those packages depend on." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:207 -msgid "Cache-Start, Cache-Grow and Cache-Limit" +"<literal>suite</literal> may also contain a variable, " +"<literal>$(ARCH)</literal> which expands to the Debian architecture (such as " +"<literal>amd64</literal> or <literal>armel</literal>) used on the " +"system. This permits architecture-independent " +"<filename>sources.list</filename> files to be used. In general this is only " +"of interest when specifying an exact path, <literal>APT</literal> will " +"automatically generate a URI with the current architecture otherwise." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:208 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:116 msgid "" -"APT uses since version 0.7.26 a resizable memory mapped cache file to store " -"the 'available' information. <literal>Cache-Start</literal> acts as a hint " -"to which size the Cache will grow and is therefore the amount of memory APT " -"will request at startup. The default value is 20971520 bytes (~20 MB). Note " -"that these amount of space need to be available for APT otherwise it will " -"likely fail ungracefully, so for memory restricted devices these value " -"should be lowered while on systems with a lot of configured sources this " -"might be increased. <literal>Cache-Grow</literal> defines in byte with the " -"default of 1048576 (~1 MB) how much the Cache size will be increased in the " -"event the space defined by <literal>Cache-Start</literal> is not " -"enough. These value will be applied again and again until either the cache " -"is big enough to store all information or the size of the cache reaches the " -"<literal>Cache-Limit</literal>. The default of " -"<literal>Cache-Limit</literal> is 0 which stands for no limit. If " -"<literal>Cache-Grow</literal> is set to 0 the automatic grow of the cache is " -"disabled." +"In the traditional style sources.list format since only one distribution can " +"be specified per line it may be necessary to have multiple lines for the " +"same URI, if a subset of all available distributions or components at that " +"location is desired. APT will sort the URI list after it has generated a " +"complete set internally, and will collapse multiple references to the same " +"Internet host, for instance, into a single connection, so that it does not " +"inefficiently establish an FTP connection, close it, do something else, and " +"then re-establish a connection to that same host. This feature is useful for " +"accessing busy FTP sites with limits on the number of simultaneous anonymous " +"users. APT also parallelizes connections to different hosts to more " +"effectively deal with sites with low bandwidth." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:223 -msgid "Build-Essential" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:224 -msgid "Defines which package(s) are considered essential build dependencies." +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:130 +msgid "" +"<literal>options</literal> is always optional and needs to be surrounded by " +"square brackets. It can consist of multiple settings in the form " +"<literal><replaceable>setting</replaceable>=<replaceable>value</replaceable></literal>. " +"Multiple settings are separated by spaces. The following settings are " +"supported by APT (note however that unsupported settings will be ignored " +"silently):" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:227 -msgid "Get" +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: sources.list.5.xml:136 +msgid "" +"<literal>arch=<replaceable>arch1</replaceable>,<replaceable>arch2</replaceable>,…</literal> " +"can be used to specify for which architectures information should be " +"downloaded. If this option is not set all architectures defined by the " +"<literal>APT::Architectures</literal> option will be downloaded." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:228 +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: sources.list.5.xml:140 msgid "" -"The Get subsection controls the &apt-get; tool, please see its documentation " -"for more information about the options here." +"<literal>arch+=<replaceable>arch1</replaceable>,<replaceable>arch2</replaceable>,…</literal> " +"and " +"<literal>arch-=<replaceable>arch1</replaceable>,<replaceable>arch2</replaceable>,…</literal> " +"which can be used to add/remove architectures from the set which will be " +"downloaded." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:232 -msgid "Cache" +#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> +#: sources.list.5.xml:143 +msgid "" +"<literal>trusted=yes</literal> can be set to indicate that packages from " +"this source are always authenticated even if the " +"<filename>Release</filename> file is not signed or the signature can't be " +"checked. This disables parts of &apt-secure; and should therefore only be " +"used in a local and trusted context. <literal>trusted=no</literal> is the " +"opposite which handles even correctly authenticated sources as not " +"authenticated." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:233 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:150 msgid "" -"The Cache subsection controls the &apt-cache; tool, please see its " -"documentation for more information about the options here." +"It is important to list sources in order of preference, with the most " +"preferred source listed first. Typically this will result in sorting by " +"speed from fastest to slowest (CD-ROM followed by hosts on a local network, " +"followed by distant Internet hosts, for example)." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:237 -msgid "CDROM" +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:155 +msgid "Some examples:" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:238 +#. type: Content of: <refentry><refsect1><literallayout> +#: sources.list.5.xml:157 +#, no-wrap msgid "" -"The CDROM subsection controls the &apt-cdrom; tool, please see its " -"documentation for more information about the options here." +"deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n" +"deb http://security.debian.org/ &stable-codename;/updates main contrib " +"non-free\n" +" " msgstr "" #. type: Content of: <refentry><refsect1><title> -#: apt.conf.5.xml:244 -msgid "The Acquire Group" +#: sources.list.5.xml:163 +msgid "URI specification" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:249 -msgid "Check-Valid-Until" +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:165 +msgid "The currently recognized URI types are:" msgstr "" #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:250 +#: sources.list.5.xml:169 msgid "" -"Security related option defaulting to true as an expiring validation for a " -"Release file prevents longtime replay attacks and can e.g. also help users " -"to identify no longer updated mirrors - but the feature depends on the " -"correctness of the time on the user system. Archive maintainers are " -"encouraged to create Release files with the <literal>Valid-Until</literal> " -"header, but if they don't or a stricter value is volitional the following " -"<literal>Max-ValidTime</literal> option can be used." -msgstr "" - -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:260 -msgid "Max-ValidTime" +"The file scheme allows an arbitrary directory in the file system to be " +"considered an archive. This is useful for NFS mounts and local mirrors or " +"archives." msgstr "" #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:261 +#: sources.list.5.xml:176 msgid "" -"Seconds the Release file should be considered valid after it was " -"created. The default is \"for ever\" (0) if the Release file of the archive " -"doesn't include a <literal>Valid-Until</literal> header. If it does then " -"this date is the default. The date from the Release file or the date " -"specified by the creation time of the Release file (<literal>Date</literal> " -"header) plus the seconds specified with this options are used to check if " -"the validation of a file has expired by using the earlier date of the " -"two. Archive specific settings can be made by appending the label of the " -"archive to the option name." -msgstr "" - -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:273 -msgid "PDiffs" +"The cdrom scheme allows APT to use a local CD-ROM drive with media " +"swapping. Use the &apt-cdrom; program to create cdrom entries in the source " +"list." msgstr "" #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:274 +#: sources.list.5.xml:183 msgid "" -"Try to download deltas called <literal>PDiffs</literal> for Packages or " -"Sources files instead of downloading whole ones. True by default." +"The http scheme specifies an HTTP server for the archive. If an environment " +"variable <envar>http_proxy</envar> is set with the format " +"http://server:port/, the proxy server specified in <envar>http_proxy</envar> " +"will be used. Users of authenticated HTTP/1.1 proxies may use a string of " +"the format http://user:pass@server:port/. Note that this is an insecure " +"method of authentication." msgstr "" #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:277 +#: sources.list.5.xml:194 msgid "" -"Two sub-options to limit the use of PDiffs are also available: With " -"<literal>FileLimit</literal> can be specified how many PDiff files are " -"downloaded at most to patch a file. <literal>SizeLimit</literal> on the " -"other hand is the maximum precentage of the size of all patches compared to " -"the size of the targeted file. If one of these limits is exceeded the " -"complete file is downloaded instead of the patches." +"The ftp scheme specifies an FTP server for the archive. APT's FTP behavior " +"is highly configurable; for more information see the &apt-conf; manual " +"page. Please note that an FTP proxy can be specified by using the " +"<envar>ftp_proxy</envar> environment variable. It is possible to specify an " +"HTTP proxy (HTTP proxy servers often understand FTP URLs) using this " +"environment variable and <emphasis>only</emphasis> this environment " +"variable. Proxies using HTTP specified in the configuration file will be " +"ignored." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:286 -msgid "Queue-Mode" +#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> +#: sources.list.5.xml:206 +msgid "" +"The copy scheme is identical to the file scheme except that packages are " +"copied into the cache directory instead of used directly at their location. " +"This is useful for people using removable media to copy files around with " +"APT." msgstr "" #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:287 +#: sources.list.5.xml:213 msgid "" -"Queuing mode; <literal>Queue-Mode</literal> can be one of " -"<literal>host</literal> or <literal>access</literal> which determines how " -"APT parallelizes outgoing connections. <literal>host</literal> means that " -"one connection per target host will be opened, <literal>access</literal> " -"means that one connection per URI type will be opened." +"The rsh/ssh method invokes RSH/SSH to connect to a remote host and access " +"the files as a given user. Prior configuration of rhosts or RSA keys is " +"recommended. The standard <command>find</command> and <command>dd</command> " +"commands are used to perform the file transfers from the remote host." msgstr "" #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:294 -msgid "Retries" +#: sources.list.5.xml:220 +msgid "adding more recognizable URI types" msgstr "" #. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:295 +#: sources.list.5.xml:222 msgid "" -"Number of retries to perform. If this is non-zero APT will retry failed " -"files the given number of times." +"APT can be extended with more methods shipped in other optional packages, " +"which should follow the naming scheme " +"<package>apt-transport-<replaceable>method</replaceable></package>. For " +"instance, the APT team also maintains the package " +"<package>apt-transport-https</package>, which provides access methods for " +"HTTPS URIs with features similar to the http method. Methods for using " +"e.g. debtorrent are also available - see &apt-transport-debtorrent;." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:299 -msgid "Source-Symlinks" -msgstr "" - -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:300 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:234 msgid "" -"Use symlinks for source archives. If set to true then source archives will " -"be symlinked when possible instead of copying. True is the default." +"Uses the archive stored locally (or NFS mounted) at /home/jason/debian for " +"stable/main, stable/contrib, and stable/non-free." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:304 sources.list.5.xml:144 -msgid "http" +#. type: Content of: <refentry><refsect1><literallayout> +#: sources.list.5.xml:236 +#, no-wrap +msgid "deb file:/home/jason/debian stable main contrib non-free" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:305 -msgid "" -"HTTP URIs; http::Proxy is the default http proxy to use. It is in the " -"standard form of <literal>http://[[user][:pass]@]host[:port]/</literal>. Per " -"host proxies can also be specified by using the form " -"<literal>http::Proxy::<host></literal> with the special keyword " -"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above " -"settings is specified, <envar>http_proxy</envar> environment variable will " -"be used." +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:238 +msgid "As above, except this uses the unstable (development) distribution." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:313 -msgid "" -"Three settings are provided for cache control with HTTP/1.1 compliant proxy " -"caches. <literal>No-Cache</literal> tells the proxy to not use its cached " -"response under any circumstances, <literal>Max-Age</literal> is sent only " -"for index files and tells the cache to refresh its object if it is older " -"than the given number of seconds. Debian updates its index files daily so " -"the default is 1 day. <literal>No-Store</literal> specifies that the cache " -"should never store this request, it is only set for archive files. This may " -"be useful to prevent polluting a proxy cache with very large .deb " -"files. Note: Squid 2.0.2 does not support any of these options." +#. type: Content of: <refentry><refsect1><literallayout> +#: sources.list.5.xml:239 +#, no-wrap +msgid "deb file:/home/jason/debian unstable main contrib non-free" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:323 apt.conf.5.xml:387 -msgid "" -"The option <literal>timeout</literal> sets the timeout timer used by the " -"method, this applies to all things including connection timeout and data " -"timeout." +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:241 +msgid "Source line for the above" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:326 -msgid "" -"One setting is provided to control the pipeline depth in cases where the " -"remote server is not RFC conforming or buggy (such as Squid 2.0.2). " -"<literal>Acquire::http::Pipeline-Depth</literal> can be a value from 0 to 5 " -"indicating how many outstanding requests APT should send. A value of zero " -"MUST be specified if the remote host does not properly linger on TCP " -"connections - otherwise data corruption will occur. Hosts which require this " -"are in violation of RFC 2068." +#. type: Content of: <refentry><refsect1><literallayout> +#: sources.list.5.xml:242 +#, no-wrap +msgid "deb-src file:/home/jason/debian unstable main contrib non-free" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:334 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:244 msgid "" -"The used bandwidth can be limited with " -"<literal>Acquire::http::Dl-Limit</literal> which accepts integer values in " -"kilobyte. The default value is 0 which deactivates the limit and tries uses " -"as much as possible of the bandwidth (Note that this option implicit " -"deactivates the download from multiple servers at the same time.)" +"The first line gets package information for the architectures in " +"<literal>APT::Architectures</literal> while the second always retrieves " +"<literal>amd64</literal> and <literal>armel</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:339 +#. type: Content of: <refentry><refsect1><literallayout> +#: sources.list.5.xml:246 +#, no-wrap msgid "" -"<literal>Acquire::http::User-Agent</literal> can be used to set a different " -"User-Agent for the http download method as some proxies allow access for " -"clients only if the client uses a known identifier." +"deb http://ftp.debian.org/debian &stable-codename; main\n" +"deb [ arch=amd64,armel ] http://ftp.debian.org/debian &stable-codename; main" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:345 -msgid "https" +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:249 +msgid "" +"Uses HTTP to access the archive at archive.debian.org, and uses only the " +"hamm/main area." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:346 -msgid "" -"HTTPS URIs. Cache-control, Timeout, AllowRedirect, Dl-Limit and proxy " -"options are the same as for <literal>http</literal> method and will also " -"default to the options from the <literal>http</literal> method if they are " -"not explicitly set for https. <literal>Pipeline-Depth</literal> option is " -"not supported yet." +#. type: Content of: <refentry><refsect1><literallayout> +#: sources.list.5.xml:251 +#, no-wrap +msgid "deb http://archive.debian.org/debian-archive hamm main" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:352 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:253 msgid "" -"<literal>CaInfo</literal> suboption specifies place of file that holds info " -"about trusted certificates. <literal><host>::CaInfo</literal> is " -"corresponding per-host option. <literal>Verify-Peer</literal> boolean " -"suboption determines whether verify server's host certificate against " -"trusted certificates or not. <literal><host>::Verify-Peer</literal> " -"is corresponding per-host option. <literal>Verify-Host</literal> boolean " -"suboption determines whether verify server's hostname or not. " -"<literal><host>::Verify-Host</literal> is corresponding per-host " -"option. <literal>SslCert</literal> determines what certificate to use for " -"client authentication. <literal><host>::SslCert</literal> is " -"corresponding per-host option. <literal>SslKey</literal> determines what " -"private key to use for client " -"authentication. <literal><host>::SslKey</literal> is corresponding " -"per-host option. <literal>SslForceVersion</literal> overrides default SSL " -"version to use. Can contain 'TLSv1' or 'SSLv3' string. " -"<literal><host>::SslForceVersion</literal> is corresponding per-host " -"option." +"Uses FTP to access the archive at ftp.debian.org, under the debian " +"directory, and uses only the &stable-codename;/contrib area." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:370 sources.list.5.xml:155 -msgid "ftp" +#. type: Content of: <refentry><refsect1><literallayout> +#: sources.list.5.xml:255 +#, no-wrap +msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:371 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:257 msgid "" -"FTP URIs; ftp::Proxy is the default ftp proxy to use. It is in the standard " -"form of <literal>ftp://[[user][:pass]@]host[:port]/</literal>. Per host " -"proxies can also be specified by using the form " -"<literal>ftp::Proxy::<host></literal> with the special keyword " -"<literal>DIRECT</literal> meaning to use no proxies. If no one of the above " -"settings is specified, <envar>ftp_proxy</envar> environment variable will be " -"used. To use a ftp proxy you will have to set the " -"<literal>ftp::ProxyLogin</literal> script in the configuration file. This " -"entry specifies the commands to send to tell the proxy server what to " -"connect to. Please see &configureindex; for an example of how to do " -"this. The substitution variables available are " -"<literal>$(PROXY_USER)</literal> <literal>$(PROXY_PASS)</literal> " -"<literal>$(SITE_USER)</literal> <literal>$(SITE_PASS)</literal> " -"<literal>$(SITE)</literal> and <literal>$(SITE_PORT)</literal> Each is taken " -"from it's respective URI component." +"Uses FTP to access the archive at ftp.debian.org, under the debian " +"directory, and uses only the unstable/contrib area. If this line appears as " +"well as the one in the previous example in <filename>sources.list</filename> " +"a single FTP session will be used for both resource lines." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:390 -msgid "" -"Several settings are provided to control passive mode. Generally it is safe " -"to leave passive mode on, it works in nearly every environment. However " -"some situations require that passive mode be disabled and port mode ftp used " -"instead. This can be done globally, for connections that go through a proxy " -"or for a specific host (See the sample config file for examples)." +#. type: Content of: <refentry><refsect1><literallayout> +#: sources.list.5.xml:261 +#, no-wrap +msgid "deb ftp://ftp.debian.org/debian unstable contrib" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:397 -msgid "" -"It is possible to proxy FTP over HTTP by setting the " -"<envar>ftp_proxy</envar> environment variable to a http url - see the " -"discussion of the http method above for syntax. You cannot set this in the " -"configuration file and it is not recommended to use FTP over HTTP due to its " -"low efficiency." +#. type: Content of: <refentry><refsect1><para><literallayout> +#: sources.list.5.xml:270 +#, no-wrap +msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:402 +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:263 msgid "" -"The setting <literal>ForceExtended</literal> controls the use of RFC2428 " -"<literal>EPSV</literal> and <literal>EPRT</literal> commands. The default is " -"false, which means these commands are only used if the control connection is " -"IPv6. Setting this to true forces their use even on IPv4 connections. Note " -"that most FTP servers do not support RFC2428." +"Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe " +"directory, and uses only files found under " +"<filename>unstable/binary-i386</filename> on i386 machines, " +"<filename>unstable/binary-amd64</filename> on amd64, and so forth for other " +"supported architectures. [Note this example only illustrates how to use the " +"substitution variable; official debian archives are not structured like " +"this] <placeholder type=\"literallayout\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:409 sources.list.5.xml:137 -msgid "cdrom" +#. type: Content of: <refentry><refsect1><para> +#: sources.list.5.xml:275 +msgid "&apt-cache; &apt-conf;" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout> -#: apt.conf.5.xml:415 -#, no-wrap -msgid "/cdrom/::Mount \"foo\";" +#. type: Content of: <refentry><refmeta><manvolnum> +#: apt-extracttemplates.1.xml:22 apt-sortpkgs.1.xml:22 apt-ftparchive.1.xml:22 +msgid "1" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:410 +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-extracttemplates.1.xml:29 msgid "" -"CDROM URIs; the only setting for CDROM URIs is the mount point, " -"<literal>cdrom::Mount</literal> which must be the mount point for the CDROM " -"drive as specified in <filename>/etc/fstab</filename>. It is possible to " -"provide alternate mount and unmount commands if your mount point cannot be " -"listed in the fstab (such as an SMB mount and old mount packages). The " -"syntax is to put <placeholder type=\"literallayout\" id=\"0\"/> within the " -"cdrom block. It is important to have the trailing slash. Unmount commands " -"can be specified using UMount." +"Utility to extract <command>debconf</command> config and templates from " +"Debian packages" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:420 -msgid "gpgv" -msgstr "" - -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:421 +#. type: Content of: <refentry><refsect1><para> +#: apt-extracttemplates.1.xml:35 msgid "" -"GPGV URIs; the only option for GPGV URIs is the option to pass additional " -"parameters to gpgv. <literal>gpgv::Options</literal> Additional options " -"passed to gpgv." +"<command>apt-extracttemplates</command> will take one or more Debian package " +"files as input and write out (to a temporary directory) all associated " +"config scripts and template files. For each passed in package that contains " +"config scripts and templates, one line of output will be generated in the " +"format:" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:426 -msgid "CompressionTypes" +#. type: Content of: <refentry><refsect1><para> +#: apt-extracttemplates.1.xml:40 +msgid "package version template-file config-script" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis> -#: apt.conf.5.xml:432 -#, no-wrap +#. type: Content of: <refentry><refsect1><para> +#: apt-extracttemplates.1.xml:41 msgid "" -"Acquire::CompressionTypes::<replaceable>FileExtension</replaceable> " -"\"<replaceable>Methodname</replaceable>\";" +"template-file and config-script are written to the temporary directory " +"specified by the <option>-t</option> or <option>--tempdir</option> " +"(<literal>APT::ExtractTemplates::TempDir</literal>) directory, with " +"filenames of the form <filename>package.template.XXXXXX</filename> and " +"<filename>package.config.XXXXXX</filename>" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:427 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-extracttemplates.1.xml:54 msgid "" -"List of compression types which are understood by the acquire methods. " -"Files like <filename>Packages</filename> can be available in various " -"compression formats. Per default the acquire methods can decompress " -"<command>bzip2</command>, <command>lzma</command> and " -"<command>gzip</command> compressed files, with this setting more formats can " -"be added on the fly or the used method can be changed. The syntax for this " -"is: <placeholder type=\"synopsis\" id=\"0\"/>" +"Temporary directory in which to write extracted <command>debconf</command> " +"template files and config scripts. Configuration Item: " +"<literal>APT::ExtractTemplates::TempDir</literal>" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis> -#: apt.conf.5.xml:437 -#, no-wrap -msgid "Acquire::CompressionTypes::Order:: \"gz\";" +#. type: Content of: <refentry><refsect1><para> +#: apt-extracttemplates.1.xml:71 +msgid "" +"<command>apt-extracttemplates</command> returns zero on normal operation, " +"decimal 100 on error." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><synopsis> -#: apt.conf.5.xml:440 -#, no-wrap -msgid "Acquire::CompressionTypes::Order { \"lzma\"; \"gz\"; };" +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-sortpkgs.1.xml:29 +msgid "Utility to sort package index files" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:433 +#. type: Content of: <refentry><refsect1><para> +#: apt-sortpkgs.1.xml:35 msgid "" -"Also the <literal>Order</literal> subgroup can be used to define in which " -"order the acquire system will try to download the compressed files. The " -"acquire system will try the first and proceed with the next compression type " -"in this list on error, so to prefer one over the other type simple add the " -"preferred type at first - not already added default types will be added at " -"run time to the end of the list, so e.g. <placeholder type=\"synopsis\" " -"id=\"0\"/> can be used to prefer <command>gzip</command> compressed files " -"over <command>bzip2</command> and <command>lzma</command>. If " -"<command>lzma</command> should be preferred over <command>gzip</command> and " -"<command>bzip2</command> the configure setting should look like this " -"<placeholder type=\"synopsis\" id=\"1\"/> It is not needed to add " -"<literal>bz2</literal> explicit to the list as it will be added automatic." +"<command>apt-sortpkgs</command> will take an index file (source index or " +"package index) and sort the records so that they are ordered by the package " +"name. It will also sort the internal fields of each record according to the " +"internal sorting rules." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><literallayout> -#: apt.conf.5.xml:444 -#, no-wrap -msgid "Dir::Bin::bzip2 \"/bin/bzip2\";" +#. type: Content of: <refentry><refsect1><para> +#: apt-sortpkgs.1.xml:41 +msgid "All output is sent to standard output; the input must be a seekable file." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:442 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-sortpkgs.1.xml:50 msgid "" -"Note that at run time the " -"<literal>Dir::Bin::<replaceable>Methodname</replaceable></literal> will be " -"checked: If this setting exists the method will only be used if this file " -"exists, e.g. for the bzip2 method (the inbuilt) setting is <placeholder " -"type=\"literallayout\" id=\"0\"/> Note also that list entries specified on " -"the command line will be added at the end of the list specified in the " -"configuration files, but before the default entries. To prefer a type in " -"this case over the ones specified in the configuration files you can set the " -"option direct - not in list style. This will not override the defined list, " -"it will only prefix the list with this type." +"Use source index field ordering. Configuration Item: " +"<literal>APT::SortPkgs::Source</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:449 +#. type: Content of: <refentry><refsect1><para> +#: apt-sortpkgs.1.xml:64 msgid "" -"The special type <literal>uncompressed</literal> can be used to give " -"uncompressed files a preference, but note that most archives doesn't provide " -"uncompressed files so this is mostly only useable for local mirrors." +"<command>apt-sortpkgs</command> returns zero on normal operation, decimal " +"100 on error." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:454 -msgid "GzipIndexes" +#. type: Content of: <refentry><refnamediv><refpurpose> +#: apt-ftparchive.1.xml:29 +msgid "Utility to generate index files" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:456 +#. type: Content of: <refentry><refsect1><para> +#: apt-ftparchive.1.xml:35 msgid "" -"When downloading <literal>gzip</literal> compressed indexes (Packages, " -"Sources, or Translations), keep them gzip compressed locally instead of " -"unpacking them. This saves quite a lot of disk space at the expense of more " -"CPU requirements when building the local package caches. False by default." -msgstr "" - -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: apt.conf.5.xml:463 -msgid "Languages" +"<command>apt-ftparchive</command> is the command line tool that generates " +"the index files that APT uses to access a distribution source. The index " +"files should be generated on the origin site based on the content of that " +"site." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:464 +#. type: Content of: <refentry><refsect1><para> +#: apt-ftparchive.1.xml:39 msgid "" -"The Languages subsection controls which <filename>Translation</filename> " -"files are downloaded and in which order APT tries to display the " -"Description-Translations. APT will try to display the first available " -"Description in the Language which is listed at first. Languages can be " -"defined with their short or long Languagecodes. Note that not all archives " -"provide <filename>Translation</filename> files for every Language - " -"especially the long Languagecodes are rare, so please inform you which ones " -"are available before you set here impossible values." -msgstr "" - -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para><programlisting> -#: apt.conf.5.xml:480 -#, no-wrap -msgid "Acquire::Languages { \"environment\"; \"de\"; \"en\"; \"none\"; \"fr\"; };" +"<command>apt-ftparchive</command> is a superset of the &dpkg-scanpackages; " +"program, incorporating its entire functionality via the " +"<literal>packages</literal> command. It also contains a contents file " +"generator, <literal>contents</literal>, and an elaborate means to 'script' " +"the generation process for a complete archive." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:470 +#. type: Content of: <refentry><refsect1><para> +#: apt-ftparchive.1.xml:45 msgid "" -"The default list includes \"environment\" and " -"\"en\". \"<literal>environment</literal>\" has a special meaning here: It " -"will be replaced at runtime with the languagecodes extracted from the " -"<literal>LC_MESSAGES</literal> environment variable. It will also ensure " -"that these codes are not included twice in the list. If " -"<literal>LC_MESSAGES</literal> is set to \"C\" only the " -"<filename>Translation-en</filename> file (if available) will be used. To " -"force apt to use no Translation file use the setting " -"<literal>Acquire::Languages=none</literal>. \"<literal>none</literal>\" is " -"another special meaning code which will stop the search for a fitting " -"<filename>Translation</filename> file. This can be used by the system " -"administrator to let APT know that it should download also this files " -"without actually use them if the environment doesn't specify this " -"languages. So the following example configuration will result in the order " -"\"en, de\" in an english and in \"de, en\" in a german localization. Note " -"that \"fr\" is downloaded, but not used if APT is not used in a french " -"localization, in such an environment the order would be \"fr, de, en\". " -"<placeholder type=\"programlisting\" id=\"0\"/>" +"Internally <command>apt-ftparchive</command> can make use of binary " +"databases to cache the contents of a .deb file and it does not rely on any " +"external programs aside from &gzip;. When doing a full generate it " +"automatically performs file-change checks and builds the desired compressed " +"output files." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:245 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:56 msgid "" -"The <literal>Acquire</literal> group of options controls the download of " -"packages and the URI handlers. <placeholder type=\"variablelist\" " -"id=\"0\"/>" +"The packages command generates a package file from a directory tree. It " +"takes the given directory and recursively searches it for .deb files, " +"emitting a package record to stdout for each. This command is approximately " +"equivalent to &dpkg-scanpackages;." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt.conf.5.xml:487 -msgid "Directories" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:61 apt-ftparchive.1.xml:85 +msgid "The option <option>--db</option> can be used to specify a binary caching DB." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:489 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:66 msgid "" -"The <literal>Dir::State</literal> section has directories that pertain to " -"local state information. <literal>lists</literal> is the directory to place " -"downloaded package lists in and <literal>status</literal> is the name of the " -"dpkg status file. <literal>preferences</literal> is the name of the APT " -"preferences file. <literal>Dir::State</literal> contains the default " -"directory to prefix on all sub items if they do not start with " -"<filename>/</filename> or <filename>./</filename>." +"The <literal>sources</literal> command generates a source index file from a " +"directory tree. It takes the given directory and recursively searches it " +"for .dsc files, emitting a source record to stdout for each. This command is " +"approximately equivalent to &dpkg-scansources;." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:496 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:71 msgid "" -"<literal>Dir::Cache</literal> contains locations pertaining to local cache " -"information, such as the two package caches <literal>srcpkgcache</literal> " -"and <literal>pkgcache</literal> as well as the location to place downloaded " -"archives, <literal>Dir::Cache::archives</literal>. Generation of caches can " -"be turned off by setting their names to be blank. This will slow down " -"startup but save disk space. It is probably preferred to turn off the " -"pkgcache rather than the srcpkgcache. Like <literal>Dir::State</literal> the " -"default directory is contained in <literal>Dir::Cache</literal>" +"If an override file is specified then a source override file will be looked " +"for with an extension of .src. The --source-override option can be used to " +"change the source override file that will be used." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:505 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:78 msgid "" -"<literal>Dir::Etc</literal> contains the location of configuration files, " -"<literal>sourcelist</literal> gives the location of the sourcelist and " -"<literal>main</literal> is the default configuration file (setting has no " -"effect, unless it is done from the config file specified by " -"<envar>APT_CONFIG</envar>)." +"The <literal>contents</literal> command generates a contents file from a " +"directory tree. It takes the given directory and recursively searches it for " +".deb files, and reads the file list from each file. It then sorts and writes " +"to stdout the list of files matched to packages. Directories are not written " +"to the output. If multiple packages own the same file then each package is " +"separated by a comma in the output." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:511 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:90 msgid "" -"The <literal>Dir::Parts</literal> setting reads in all the config fragments " -"in lexical order from the directory specified. After this is done then the " -"main config file is loaded." +"The <literal>release</literal> command generates a Release file from a " +"directory tree. It recursively searches the given directory for uncompressed " +"<filename>Packages</filename> and <filename>Sources</filename> files and " +"ones compressed with <command>gzip</command>, <command>bzip2</command> or " +"<command>lzma</command> as well as <filename>Release</filename> and " +"<filename>md5sum.txt</filename> files by default " +"(<literal>APT::FTPArchive::Release::Default-Patterns</literal>). Additional " +"filename patterns can be added by listing them in " +"<literal>APT::FTPArchive::Release::Patterns</literal>. It then writes to " +"stdout a <filename>Release</filename> file containing an MD5, SHA1 and " +"SHA256 digest for each file." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:515 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:100 msgid "" -"Binary programs are pointed to by " -"<literal>Dir::Bin</literal>. <literal>Dir::Bin::Methods</literal> specifies " -"the location of the method handlers and <literal>gzip</literal>, " -"<literal>bzip2</literal>, <literal>lzma</literal>, <literal>dpkg</literal>, " -"<literal>apt-get</literal> <literal>dpkg-source</literal> " -"<literal>dpkg-buildpackage</literal> and <literal>apt-cache</literal> " -"specify the location of the respective programs." +"Values for the additional metadata fields in the Release file are taken from " +"the corresponding variables under " +"<literal>APT::FTPArchive::Release</literal>, " +"e.g. <literal>APT::FTPArchive::Release::Origin</literal>. The supported " +"fields are: <literal>Origin</literal>, <literal>Label</literal>, " +"<literal>Suite</literal>, <literal>Version</literal>, " +"<literal>Codename</literal>, <literal>Date</literal>, " +"<literal>Valid-Until</literal>, <literal>Architectures</literal>, " +"<literal>Components</literal>, <literal>Description</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:523 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:113 msgid "" -"The configuration item <literal>RootDir</literal> has a special meaning. If " -"set, all paths in <literal>Dir::</literal> will be relative to " -"<literal>RootDir</literal>, <emphasis>even paths that are specified " -"absolutely</emphasis>. So, for instance, if <literal>RootDir</literal> is " -"set to <filename>/tmp/staging</filename> and " -"<literal>Dir::State::status</literal> is set to " -"<filename>/var/lib/dpkg/status</filename>, then the status file will be " -"looked up in <filename>/tmp/staging/var/lib/dpkg/status</filename>." +"The <literal>generate</literal> command is designed to be runnable from a " +"cron script and builds indexes according to the given config file. The " +"config language provides a flexible means of specifying which index files " +"are built from which directories, as well as providing a simple means of " +"maintaining the required settings." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:536 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:122 msgid "" -"The <literal>Ignore-Files-Silently</literal> list can be used to specify " -"which files APT should silently ignore while parsing the files in the " -"fragment directories. Per default a file which end with " -"<literal>.disabled</literal>, <literal>~</literal>, <literal>.bak</literal> " -"or <literal>.dpkg-[a-z]+</literal> is silently ignored. As seen in the last " -"default value these patterns can use regular expression syntax." +"The <literal>clean</literal> command tidies the databases used by the given " +"configuration file by removing any records that are no longer necessary." msgstr "" #. type: Content of: <refentry><refsect1><title> -#: apt.conf.5.xml:545 -msgid "APT in DSelect" +#: apt-ftparchive.1.xml:128 +msgid "The Generate Configuration" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:547 +#: apt-ftparchive.1.xml:130 msgid "" -"When APT is used as a &dselect; method several configuration directives " -"control the default behaviour. These are in the <literal>DSelect</literal> " -"section." +"The <literal>generate</literal> command uses a configuration file to " +"describe the archives that are going to be generated. It follows the typical " +"ISC configuration format as seen in ISC tools like bind 8 and dhcpd. " +"&apt-conf; contains a description of the syntax. Note that the generate " +"configuration is parsed in sectional manner, but &apt-conf; is parsed in a " +"tree manner. This only effects how the scope tag is handled." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:551 -msgid "Clean" +#. type: Content of: <refentry><refsect1><para> +#: apt-ftparchive.1.xml:138 +msgid "The generate configuration has four separate sections, each described below." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:552 -msgid "" -"Cache Clean mode; this value may be one of always, prompt, auto, pre-auto " -"and never. always and prompt will remove all packages from the cache after " -"upgrading, prompt (the default) does so conditionally. auto removes only " -"those packages which are no longer downloadable (replaced with a new version " -"for instance). pre-auto performs this action before downloading new " -"packages." +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt-ftparchive.1.xml:140 +msgid "<literal>Dir</literal> Section" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:561 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt-ftparchive.1.xml:142 msgid "" -"The contents of this variable is passed to &apt-get; as command line options " -"when it is run for the install phase." +"The <literal>Dir</literal> section defines the standard directories needed " +"to locate the files required during the generation process. These " +"directories are prepended certain relative paths defined in later sections " +"to produce a complete an absolute path." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:565 -msgid "Updateoptions" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:149 +msgid "" +"Specifies the root of the FTP archive, in a standard Debian configuration " +"this is the directory that contains the <filename>ls-LR</filename> and dist " +"nodes." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:566 -msgid "" -"The contents of this variable is passed to &apt-get; as command line options " -"when it is run for the update phase." +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:156 +msgid "Specifies the location of the override files." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:570 -msgid "PromptAfterUpdate" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:161 +msgid "Specifies the location of the cache files." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:571 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:166 msgid "" -"If true the [U]pdate operation in &dselect; will always prompt to continue. " -"The default is to prompt only on error." +"Specifies the location of the file list files, if the " +"<literal>FileList</literal> setting is used below." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt.conf.5.xml:577 -msgid "How APT calls dpkg" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt-ftparchive.1.xml:172 +msgid "<literal>Default</literal> Section" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:578 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt-ftparchive.1.xml:174 msgid "" -"Several configuration directives control how APT invokes &dpkg;. These are " -"in the <literal>DPkg</literal> section." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:583 -msgid "" -"This is a list of options to pass to dpkg. The options must be specified " -"using the list notation and each list item is passed as a single argument to " -"&dpkg;." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:588 -msgid "Pre-Invoke" +"The <literal>Default</literal> section specifies default values, and " +"settings that control the operation of the generator. Other sections may " +"override these defaults with a per-section setting." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:588 -msgid "Post-Invoke" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:180 +msgid "" +"Sets the default compression schemes to use for the package index files. It " +"is a string that contains a space separated list of at least one of: '.' (no " +"compression), 'gzip' and 'bzip2'. The default for all compression schemes is " +"'. gzip'." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:589 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:188 msgid "" -"This is a list of shell commands to run before/after invoking &dpkg;. Like " -"<literal>options</literal> this must be specified in list notation. The " -"commands are invoked in order using <filename>/bin/sh</filename>, should any " -"fail APT will abort." +"Sets the default list of file extensions that are package files. This " +"defaults to '.deb'." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:595 -msgid "Pre-Install-Pkgs" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:194 +msgid "" +"This is similar to <literal>Packages::Compress</literal> except that it " +"controls the compression for the Sources files." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:596 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:200 msgid "" -"This is a list of shell commands to run before invoking dpkg. Like " -"<literal>options</literal> this must be specified in list notation. The " -"commands are invoked in order using <filename>/bin/sh</filename>, should any " -"fail APT will abort. APT will pass to the commands on standard input the " -"filenames of all .deb files it is going to install, one per line." +"Sets the default list of file extensions that are source files. This " +"defaults to '.dsc'." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:602 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:206 msgid "" -"Version 2 of this protocol dumps more information, including the protocol " -"version, the APT configuration space and the packages, files and versions " -"being changed. Version 2 is enabled by setting " -"<literal>DPkg::Tools::options::cmd::Version</literal> to " -"2. <literal>cmd</literal> is a command given to " -"<literal>Pre-Install-Pkgs</literal>." +"This is similar to <literal>Packages::Compress</literal> except that it " +"controls the compression for the Contents files." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:609 -msgid "Run-Directory" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:212 +msgid "" +"This is similar to <literal>Packages::Compress</literal> except that it " +"controls the compression for the Translation-en master file." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:610 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:218 msgid "" -"APT chdirs to this directory before invoking dpkg, the default is " -"<filename>/</filename>." +"Specifies the number of kilobytes to delink (and replace with hard links) " +"per run. This is used in conjunction with the per-section " +"<literal>External-Links</literal> setting." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:614 -msgid "Build-options" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:225 +msgid "" +"Specifies the mode of all created index files. It defaults to 0644. All " +"index files are set to this mode with no regard to the umask." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:615 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:232 apt-ftparchive.1.xml:378 msgid "" -"These options are passed to &dpkg-buildpackage; when compiling packages, the " -"default is to disable signing and produce all binaries." +"Specifies whether long descriptions should be included in the " +"<filename>Packages</filename> file or split out into a master " +"<filename>Translation-en</filename> file." msgstr "" #. type: Content of: <refentry><refsect1><refsect2><title> -#: apt.conf.5.xml:620 -msgid "dpkg trigger usage (and related options)" +#: apt-ftparchive.1.xml:238 +msgid "<literal>TreeDefault</literal> Section" msgstr "" #. type: Content of: <refentry><refsect1><refsect2><para> -#: apt.conf.5.xml:621 +#: apt-ftparchive.1.xml:240 msgid "" -"APT can call dpkg in a way so it can make aggressive use of triggers over " -"multiple calls of dpkg. Without further options dpkg will use triggers only " -"in between his own run. Activating these options can therefore decrease the " -"time needed to perform the install / upgrade. Note that it is intended to " -"activate these options per default in the future, but as it changes the way " -"APT calling dpkg drastically it needs a lot more testing. <emphasis>These " -"options are therefore currently experimental and should not be used in " -"productive environments.</emphasis> Also it breaks the progress reporting so " -"all frontends will currently stay around half (or more) of the time in the " -"100% state while it actually configures all packages." +"Sets defaults specific to <literal>Tree</literal> sections. All of these " +"variables are substitution variables and have the strings $(DIST), " +"$(SECTION) and $(ARCH) replaced with their respective values." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para><literallayout> -#: apt.conf.5.xml:636 -#, no-wrap +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:247 msgid "" -"DPkg::NoTriggers \"true\";\n" -"PackageManager::Configure \"smart\";\n" -"DPkg::ConfigurePending \"true\";\n" -"DPkg::TriggersPending \"true\";" +"Sets the number of kilobytes of contents files that are generated each " +"day. The contents files are round-robined so that over several days they " +"will all be rebuilt." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt.conf.5.xml:630 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:254 msgid "" -"Note that it is not guaranteed that APT will support these options or that " -"these options will not cause (big) trouble in the future. If you have " -"understand the current risks and problems with these options, but are brave " -"enough to help testing them create a new configuration file and test a " -"combination of options. Please report any bugs, problems and improvements " -"you encounter and make sure to note which options you have used in your " -"reports. Asking dpkg for help could also be useful for debugging proposes, " -"see e.g. <command>dpkg --audit</command>. A defensive option combination " -"would be <placeholder type=\"literallayout\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt.conf.5.xml:642 -msgid "DPkg::NoTriggers" +"Controls the number of days a contents file is allowed to be checked without " +"changing. If this limit is passed the mtime of the contents file is " +"updated. This case can occur if the package file is changed in such a way " +"that does not result in a new contents file [override edit for instance]. A " +"hold off is allowed in hopes that new .debs will be installed, requiring a " +"new file anyhow. The default is 10, the units are in days." msgstr "" #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:643 +#: apt-ftparchive.1.xml:265 msgid "" -"Add the no triggers flag to all dpkg calls (except the ConfigurePending " -"call). See &dpkg; if you are interested in what this actually means. In " -"short: dpkg will not run the triggers when this flag is present unless it is " -"explicitly called to do so in an extra call. Note that this option exists " -"(undocumented) also in older apt versions with a slightly different meaning: " -"Previously these option only append --no-triggers to the configure calls to " -"dpkg - now apt will add these flag also to the unpack and remove calls." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt.conf.5.xml:650 -msgid "PackageManager::Configure" +"Sets the top of the .deb directory tree. Defaults to " +"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/</filename>" msgstr "" #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:651 +#: apt-ftparchive.1.xml:271 msgid "" -"Valid values are \"<literal>all</literal>\", \"<literal>smart</literal>\" " -"and \"<literal>no</literal>\". \"<literal>all</literal>\" is the default " -"value and causes APT to configure all packages explicit. The " -"\"<literal>smart</literal>\" way is it to configure only packages which need " -"to be configured before another package can be unpacked (Pre-Depends) and " -"let the rest configure by dpkg with a call generated by the next " -"option. \"<literal>no</literal>\" on the other hand will not configure " -"anything and totally rely on dpkg for configuration (which will at the " -"moment fail if a Pre-Depends is encountered). Setting this option to " -"another than the all value will implicitly activate also the next option per " -"default as otherwise the system could end in an unconfigured status which " -"could be unbootable!" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt.conf.5.xml:661 -msgid "DPkg::ConfigurePending" +"Sets the top of the source package directory tree. Defaults to " +"<filename>$(DIST)/$(SECTION)/source/</filename>" msgstr "" #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:662 +#: apt-ftparchive.1.xml:277 msgid "" -"If this option is set apt will call <command>dpkg --configure " -"--pending</command> to let dpkg handle all required configurations and " -"triggers. This option is activated automatic per default if the previous " -"option is not set to <literal>all</literal>, but deactivating could be " -"useful if you want to run APT multiple times in a row - e.g. in an " -"installer. In these sceneries you could deactivate this option in all but " -"the last run." +"Sets the output Packages file. Defaults to " +"<filename>$(DIST)/$(SECTION)/binary-$(ARCH)/Packages</filename>" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt.conf.5.xml:668 -msgid "DPkg::TriggersPending" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:283 +msgid "" +"Sets the output Sources file. Defaults to " +"<filename>$(DIST)/$(SECTION)/source/Sources</filename>" msgstr "" #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:669 +#: apt-ftparchive.1.xml:289 msgid "" -"Useful for <literal>smart</literal> configuration as a package which has " -"pending triggers is not considered as <literal>installed</literal> and dpkg " -"treats them as <literal>unpacked</literal> currently which is a dealbreaker " -"for Pre-Dependencies (see debbugs #526774). Note that this will process all " -"triggers, not only the triggers needed to configure this package." +"Sets the output Translation-en master file with the long descriptions if " +"they should be not included in the Packages file. Defaults to " +"<filename>$(DIST)/$(SECTION)/i18n/Translation-en</filename>" msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt.conf.5.xml:674 -msgid "PackageManager::UnpackAll" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:296 +msgid "" +"Sets the path prefix that causes a symlink to be considered an internal link " +"instead of an external link. Defaults to " +"<filename>$(DIST)/$(SECTION)/</filename>" msgstr "" #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:675 +#: apt-ftparchive.1.xml:303 msgid "" -"As the configuration can be deferred to be done at the end by dpkg it can be " -"tried to order the unpack series only by critical needs, e.g. by " -"Pre-Depends. Default is true and therefore the \"old\" method of ordering in " -"various steps by everything. While both method were present in earlier APT " -"versions the <literal>OrderCritical</literal> method was unused, so this " -"method is very experimental and needs further improvements before becoming " -"really useful." +"Sets the output Contents file. Defaults to " +"<filename>$(DIST)/$(SECTION)/Contents-$(ARCH)</filename>. If this setting " +"causes multiple Packages files to map onto a single Contents file (as is the " +"default) then <command>apt-ftparchive</command> will integrate those " +"package files together automatically." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><term> -#: apt.conf.5.xml:682 -msgid "OrderList::Score::Immediate" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:312 +msgid "Sets header file to prepend to the contents output." msgstr "" -#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para><literallayout> -#: apt.conf.5.xml:690 -#, no-wrap +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:317 msgid "" -"OrderList::Score {\n" -"\tDelete 500;\n" -"\tEssential 200;\n" -"\tImmediate 10;\n" -"\tPreDepends 50;\n" -"};" +"Sets the binary cache database to use for this section. Multiple sections " +"can share the same database." msgstr "" #. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:683 +#: apt-ftparchive.1.xml:323 msgid "" -"Essential packages (and there dependencies) should be configured immediately " -"after unpacking. It will be a good idea to do this quite early in the " -"upgrade process as these these configure calls require currently also " -"<literal>DPkg::TriggersPending</literal> which will run quite a few triggers " -"(which maybe not needed). Essentials get per default a high score but the " -"immediate flag is relatively low (a package which has a Pre-Depends is " -"higher rated). These option and the others in the same group can be used to " -"change the scoring. The following example shows the settings with there " -"default values. <placeholder type=\"literallayout\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><title> -#: apt.conf.5.xml:703 -msgid "Periodic and Archives options" +"Specifies that instead of walking the directory tree, " +"<command>apt-ftparchive</command> should read the list of files from the " +"given file. Relative files names are prefixed with the archive directory." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:704 +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:330 msgid "" -"<literal>APT::Periodic</literal> and <literal>APT::Archives</literal> groups " -"of options configure behavior of apt periodic updates, which is done by " -"<literal>/etc/cron.daily/apt</literal> script. See header of this script for " -"the brief documentation of these options." +"Specifies that instead of walking the directory tree, " +"<command>apt-ftparchive</command> should read the list of files from the " +"given file. Relative files names are prefixed with the archive directory. " +"This is used when processing source indexes." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: apt.conf.5.xml:712 -msgid "Debug options" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt-ftparchive.1.xml:338 +msgid "<literal>Tree</literal> Section" msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:714 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt-ftparchive.1.xml:340 msgid "" -"Enabling options in the <literal>Debug::</literal> section will cause " -"debugging information to be sent to the standard error stream of the program " -"utilizing the <literal>apt</literal> libraries, or enable special program " -"modes that are primarily useful for debugging the behavior of " -"<literal>apt</literal>. Most of these options are not interesting to a " -"normal user, but a few may be:" +"The <literal>Tree</literal> section defines a standard Debian file tree " +"which consists of a base directory, then multiple sections in that base " +"directory and finally multiple Architectures in each section. The exact " +"pathing used is defined by the <literal>Directory</literal> substitution " +"variable." msgstr "" -#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> -#: apt.conf.5.xml:725 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt-ftparchive.1.xml:345 msgid "" -"<literal>Debug::pkgProblemResolver</literal> enables output about the " -"decisions made by <literal>dist-upgrade, upgrade, install, remove, " -"purge</literal>." +"The <literal>Tree</literal> section takes a scope tag which sets the " +"<literal>$(DIST)</literal> variable and defines the root of the tree (the " +"path is prefixed by <literal>ArchiveDir</literal>). Typically this is a " +"setting such as <filename>dists/&stable-codename;</filename>." msgstr "" -#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> -#: apt.conf.5.xml:733 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt-ftparchive.1.xml:350 msgid "" -"<literal>Debug::NoLocking</literal> disables all file locking. This can be " -"used to run some operations (for instance, <literal>apt-get -s " -"install</literal>) as a non-root user." +"All of the settings defined in the <literal>TreeDefault</literal> section " +"can be used in a <literal>Tree</literal> section as well as three new " +"variables." msgstr "" -#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> -#: apt.conf.5.xml:742 +#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> +#: apt-ftparchive.1.xml:356 +#, no-wrap msgid "" -"<literal>Debug::pkgDPkgPM</literal> prints out the actual command line each " -"time that <literal>apt</literal> invokes &dpkg;." +"for i in Sections do \n" +" for j in Architectures do\n" +" Generate for DIST=scope SECTION=i ARCH=j\n" +" " msgstr "" -#. TODO: provide a -#. motivating example, except I haven't a clue why you'd want -#. to do this. -#. type: Content of: <refentry><refsect1><para><itemizedlist><listitem><para> -#: apt.conf.5.xml:750 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt-ftparchive.1.xml:353 msgid "" -"<literal>Debug::IdentCdrom</literal> disables the inclusion of statfs data " -"in CDROM IDs." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:760 -msgid "A full list of debugging options to apt follows." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:765 -msgid "<literal>Debug::Acquire::cdrom</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:769 -msgid "Print information related to accessing <literal>cdrom://</literal> sources." +"When processing a <literal>Tree</literal> section " +"<command>apt-ftparchive</command> performs an operation similar to: " +"<placeholder type=\"programlisting\" id=\"0\"/>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:776 -msgid "<literal>Debug::Acquire::ftp</literal>" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:364 +msgid "" +"This is a space separated list of sections which appear under the " +"distribution; typically this is something like <literal>main contrib " +"non-free</literal>" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:780 -msgid "Print information related to downloading packages using FTP." +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:371 +msgid "" +"This is a space separated list of all the architectures that appear under " +"search section. The special architecture 'source' is used to indicate that " +"this tree has a source archive." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:787 -msgid "<literal>Debug::Acquire::http</literal>" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:384 +msgid "" +"Sets the binary override file. The override file contains section, priority " +"and maintainer address information." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:791 -msgid "Print information related to downloading packages using HTTP." +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:390 +msgid "" +"Sets the source override file. The override file contains section " +"information." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:798 -msgid "<literal>Debug::Acquire::https</literal>" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:396 apt-ftparchive.1.xml:442 +msgid "Sets the binary extra override file." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:802 -msgid "Print information related to downloading packages using HTTPS." +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:401 apt-ftparchive.1.xml:447 +msgid "Sets the source extra override file." msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:809 -msgid "<literal>Debug::Acquire::gpgv</literal>" +#. type: Content of: <refentry><refsect1><refsect2><title> +#: apt-ftparchive.1.xml:406 +msgid "<literal>BinDirectory</literal> Section" msgstr "" -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:813 +#. type: Content of: <refentry><refsect1><refsect2><para> +#: apt-ftparchive.1.xml:408 msgid "" -"Print information related to verifying cryptographic signatures using " -"<literal>gpg</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:820 -msgid "<literal>Debug::aptcdrom</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:824 -msgid "" -"Output information about the process of accessing collections of packages " -"stored on CD-ROMs." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:831 -msgid "<literal>Debug::BuildDeps</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:834 -msgid "Describes the process of resolving build-dependencies in &apt-get;." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:841 -msgid "<literal>Debug::Hashes</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:844 -msgid "" -"Output each cryptographic hash that is generated by the " -"<literal>apt</literal> libraries." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:851 -msgid "<literal>Debug::IdentCDROM</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:854 -msgid "" -"Do not include information from <literal>statfs</literal>, namely the number " -"of used and free blocks on the CD-ROM filesystem, when generating an ID for " -"a CD-ROM." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:862 -msgid "<literal>Debug::NoLocking</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:865 -msgid "" -"Disable all file locking. For instance, this will allow two instances of " -"<quote><literal>apt-get update</literal></quote> to run at the same time." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:873 -msgid "<literal>Debug::pkgAcquire</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:877 -msgid "Log when items are added to or removed from the global download queue." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:884 -msgid "<literal>Debug::pkgAcquire::Auth</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:887 -msgid "" -"Output status messages and errors related to verifying checksums and " -"cryptographic signatures of downloaded files." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:894 -msgid "<literal>Debug::pkgAcquire::Diffs</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:897 -msgid "" -"Output information about downloading and applying package index list diffs, " -"and errors relating to package index list diffs." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:905 -msgid "<literal>Debug::pkgAcquire::RRed</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:909 -msgid "" -"Output information related to patching apt package lists when downloading " -"index diffs instead of full indices." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:916 -msgid "<literal>Debug::pkgAcquire::Worker</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:920 -msgid "Log all interactions with the sub-processes that actually perform downloads." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:927 -msgid "<literal>Debug::pkgAutoRemove</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:931 -msgid "" -"Log events related to the automatically-installed status of packages and to " -"the removal of unused packages." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:938 -msgid "<literal>Debug::pkgDepCache::AutoInstall</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:941 -msgid "" -"Generate debug messages describing which packages are being automatically " -"installed to resolve dependencies. This corresponds to the initial " -"auto-install pass performed in, e.g., <literal>apt-get install</literal>, " -"and not to the full <literal>apt</literal> dependency resolver; see " -"<literal>Debug::pkgProblemResolver</literal> for that." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:952 -msgid "<literal>Debug::pkgDepCache::Marker</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:955 -msgid "" -"Generate debug messages describing which package is marked as " -"keep/install/remove while the ProblemResolver does his work. Each addition " -"or deletion may trigger additional actions; they are shown indented two " -"additional space under the original entry. The format for each line is " -"<literal>MarkKeep</literal>, <literal>MarkDelete</literal> or " -"<literal>MarkInstall</literal> followed by <literal>package-name <a.b.c " -"-> d.e.f | x.y.z> (section)</literal> where <literal>a.b.c</literal> " -"is the current version of the package, <literal>d.e.f</literal> is the " -"version considered for installation and <literal>x.y.z</literal> is a newer " -"version, but not considered for installation (because of a low pin " -"score). The later two can be omitted if there is none or if it is the same " -"version as the installed. <literal>section</literal> is the name of the " -"section the package appears in." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:974 -msgid "<literal>Debug::pkgInitConfig</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:977 -msgid "Dump the default configuration to standard error on startup." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:984 -msgid "<literal>Debug::pkgDPkgPM</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:987 -msgid "" -"When invoking &dpkg;, output the precise command line with which it is being " -"invoked, with arguments separated by a single space character." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:995 -msgid "<literal>Debug::pkgDPkgProgressReporting</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:998 -msgid "" -"Output all the data received from &dpkg; on the status file descriptor and " -"any errors encountered while parsing it." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:1005 -msgid "<literal>Debug::pkgOrderList</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:1009 -msgid "" -"Generate a trace of the algorithm that decides the order in which " -"<literal>apt</literal> should pass packages to &dpkg;." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:1017 -msgid "<literal>Debug::pkgPackageManager</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:1021 -msgid "Output status messages tracing the steps performed when invoking &dpkg;." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:1028 -msgid "<literal>Debug::pkgPolicy</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:1032 -msgid "Output the priority of each package list on startup." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:1038 -msgid "<literal>Debug::pkgProblemResolver</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:1042 -msgid "" -"Trace the execution of the dependency resolver (this applies only to what " -"happens when a complex dependency problem is encountered)." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:1050 -msgid "<literal>Debug::pkgProblemResolver::ShowScores</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:1053 -msgid "" -"Display a list of all installed packages with their calculated score used by " -"the pkgProblemResolver. The description of the package is the same as " -"described in <literal>Debug::pkgDepCache::Marker</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><term> -#: apt.conf.5.xml:1061 -msgid "<literal>Debug::sourceList</literal>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> -#: apt.conf.5.xml:1065 -msgid "" -"Print information about the vendors read from " -"<filename>/etc/apt/vendors.list</filename>." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:1088 -msgid "" -"&configureindex; is a configuration file showing example values for all " -"possible options." -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist> -#: apt.conf.5.xml:1095 -msgid "&file-aptconf;" -msgstr "" - -#. ? reading apt.conf -#. type: Content of: <refentry><refsect1><para> -#: apt.conf.5.xml:1100 -msgid "&apt-cache;, &apt-config;, &apt-preferences;." -msgstr "" - -#. The last update date -#. type: Content of: <refentry><refentryinfo> -#: apt_preferences.5.xml:16 -msgid "&apt-author.team; &apt-email; &apt-product; <date>16 February 2010</date>" -msgstr "" - -#. type: Content of: <refentry><refnamediv><refname> -#: apt_preferences.5.xml:24 apt_preferences.5.xml:31 -msgid "apt_preferences" -msgstr "" - -#. type: Content of: <refentry><refnamediv><refpurpose> -#: apt_preferences.5.xml:32 -msgid "Preference control file for APT" -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt_preferences.5.xml:37 -msgid "" -"The APT preferences file <filename>/etc/apt/preferences</filename> and the " -"fragment files in the <filename>/etc/apt/preferences.d/</filename> folder " -"can be used to control which versions of packages will be selected for " -"installation." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt_preferences.5.xml:42 -msgid "" -"Several versions of a package may be available for installation when the " -"&sources-list; file contains references to more than one distribution (for " -"example, <literal>stable</literal> and <literal>testing</literal>). APT " -"assigns a priority to each version that is available. Subject to dependency " -"constraints, <command>apt-get</command> selects the version with the highest " -"priority for installation. The APT preferences file overrides the " -"priorities that APT assigns to package versions by default, thus giving the " -"user control over which one is selected for installation." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt_preferences.5.xml:52 -msgid "" -"Several instances of the same version of a package may be available when the " -"&sources-list; file contains references to more than one source. In this " -"case <command>apt-get</command> downloads the instance listed earliest in " -"the &sources-list; file. The APT preferences file does not affect the " -"choice of instance, only the choice of version." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt_preferences.5.xml:59 -msgid "" -"Preferences are a strong power in the hands of a system administrator but " -"they can become also their biggest nightmare if used without care! APT will " -"not questioning the preferences so wrong settings will therefore lead to " -"uninstallable packages or wrong decisions while upgrading packages. Even " -"more problems will arise if multiply distribution releases are mixed without " -"a good understanding of the following paragraphs. Packages included in a " -"specific release aren't tested in and therefore doesn't always work as " -"expected in older or newer releases or together with other packages from " -"different releases. You have been warned." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt_preferences.5.xml:70 -msgid "" -"Note that the files in the <filename>/etc/apt/preferences.d</filename> " -"directory are parsed in alphanumeric ascending order and need to obey the " -"following naming convention: The files have no or " -"\"<literal>pref</literal>\" as filename extension and which only contain " -"alphanumeric, hyphen (-), underscore (_) and period (.) characters. " -"Otherwise APT will print a notice that it has ignored a file if the file " -"doesn't match a pattern in the <literal>Dir::Ignore-Files-Silently</literal> " -"configuration list - in this case it will be silently ignored." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt_preferences.5.xml:79 -msgid "APT's Default Priority Assignments" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt_preferences.5.xml:94 -#, no-wrap -msgid "" -"<command>apt-get install -t testing " -"<replaceable>some-package</replaceable></command>\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt_preferences.5.xml:97 -#, no-wrap -msgid "APT::Default-Release \"stable\";\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:81 -msgid "" -"If there is no preferences file or if there is no entry in the file that " -"applies to a particular version then the priority assigned to that version " -"is the priority of the distribution to which that version belongs. It is " -"possible to single out a distribution, \"the target release\", which " -"receives a higher priority than other distributions do by default. The " -"target release can be set on the <command>apt-get</command> command line or " -"in the APT configuration file <filename>/etc/apt/apt.conf</filename>. Note " -"that this has precedence over any general priority you set in the " -"<filename>/etc/apt/preferences</filename> file described later, but not over " -"specifically pinned packages. For example, <placeholder " -"type=\"programlisting\" id=\"0\"/> <placeholder type=\"programlisting\" " -"id=\"1\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:106 -msgid "priority 1" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:107 -msgid "" -"to the versions coming from archives which in their " -"<filename>Release</filename> files are marked as \"NotAutomatic: yes\" but " -"<emphasis>not</emphasis> as \"ButAutomaticUpgrades: yes\" like the debian " -"<literal>experimental</literal> archive." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:113 -msgid "priority 100" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:114 -msgid "" -"to the version that is already installed (if any) and to the versions coming " -"from archives which in their <filename>Release</filename> files are marked " -"as \"NotAutomatic: yes\" and \"ButAutomaticUpgrades: yes\" like the debian " -"backports archive since <literal>squeeze-backports</literal>." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:121 -msgid "priority 500" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:122 -msgid "" -"to the versions that are not installed and do not belong to the target " -"release." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:126 -msgid "priority 990" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:127 -msgid "to the versions that are not installed and belong to the target release." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:101 -msgid "" -"If the target release has been specified then APT uses the following " -"algorithm to set the priorities of the versions of a package. Assign: " -"<placeholder type=\"variablelist\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:132 -msgid "" -"If the target release has not been specified then APT simply assigns " -"priority 100 to all installed package versions and priority 500 to all " -"uninstalled package versions, except versions coming from archives which in " -"their <filename>Release</filename> files are marked as \"NotAutomatic: yes\" " -"- these versions get the priority 1 or priority 100 if it is additionally " -"marked as \"ButAutomaticUpgrades: yes\"." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:139 -msgid "" -"APT then applies the following rules, listed in order of precedence, to " -"determine which version of a package to install." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:142 -msgid "" -"Never downgrade unless the priority of an available version exceeds 1000. " -"(\"Downgrading\" is installing a less recent version of a package in place " -"of a more recent version. Note that none of APT's default priorities " -"exceeds 1000; such high priorities can only be set in the preferences file. " -"Note also that downgrading a package can be risky.)" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:148 -msgid "Install the highest priority version." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:149 -msgid "" -"If two or more versions have the same priority, install the most recent one " -"(that is, the one with the higher version number)." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:152 -msgid "" -"If two or more versions have the same priority and version number but either " -"the packages differ in some of their metadata or the " -"<literal>--reinstall</literal> option is given, install the uninstalled one." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:158 -msgid "" -"In a typical situation, the installed version of a package (priority 100) " -"is not as recent as one of the versions available from the sources listed in " -"the &sources-list; file (priority 500 or 990). Then the package will be " -"upgraded when <command>apt-get install " -"<replaceable>some-package</replaceable></command> or <command>apt-get " -"upgrade</command> is executed." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:165 -msgid "" -"More rarely, the installed version of a package is <emphasis>more</emphasis> " -"recent than any of the other available versions. The package will not be " -"downgraded when <command>apt-get install " -"<replaceable>some-package</replaceable></command> or <command>apt-get " -"upgrade</command> is executed." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:170 -msgid "" -"Sometimes the installed version of a package is more recent than the version " -"belonging to the target release, but not as recent as a version belonging to " -"some other distribution. Such a package will indeed be upgraded when " -"<command>apt-get install <replaceable>some-package</replaceable></command> " -"or <command>apt-get upgrade</command> is executed, because at least " -"<emphasis>one</emphasis> of the available versions has a higher priority " -"than the installed version." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt_preferences.5.xml:179 -msgid "The Effect of APT Preferences" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:181 -msgid "" -"The APT preferences file allows the system administrator to control the " -"assignment of priorities. The file consists of one or more multi-line " -"records separated by blank lines. Records can have one of two forms, a " -"specific form and a general form." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:187 -msgid "" -"The specific form assigns a priority (a \"Pin-Priority\") to one or more " -"specified packages and specified version or version range. For example, the " -"following record assigns a high priority to all versions of the " -"<filename>perl</filename> package whose version number begins with " -"\"<literal>5.8</literal>\". Multiple packages can be separated by spaces." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> -#: apt_preferences.5.xml:194 -#, no-wrap -msgid "" -"Package: perl\n" -"Pin: version 5.8*\n" -"Pin-Priority: 1001\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:200 -msgid "" -"The general form assigns a priority to all of the package versions in a " -"given distribution (that is, to all the versions of packages that are listed " -"in a certain <filename>Release</filename> file) or to all of the package " -"versions coming from a particular Internet site, as identified by the site's " -"fully qualified domain name." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:206 -msgid "" -"This general-form entry in the APT preferences file applies only to groups " -"of packages. For example, the following record assigns a high priority to " -"all package versions available from the local site." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> -#: apt_preferences.5.xml:211 -#, no-wrap -msgid "" -"Package: *\n" -"Pin: origin \"\"\n" -"Pin-Priority: 999\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:216 -msgid "" -"A note of caution: the keyword used here is \"<literal>origin</literal>\" " -"which can be used to match a hostname. The following record will assign a " -"high priority to all versions available from the server identified by the " -"hostname \"ftp.de.debian.org\"" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> -#: apt_preferences.5.xml:220 -#, no-wrap -msgid "" -"Package: *\n" -"Pin: origin \"ftp.de.debian.org\"\n" -"Pin-Priority: 999\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:224 -msgid "" -"This should <emphasis>not</emphasis> be confused with the Origin of a " -"distribution as specified in a <filename>Release</filename> file. What " -"follows the \"Origin:\" tag in a <filename>Release</filename> file is not an " -"Internet address but an author or vendor name, such as \"Debian\" or " -"\"Ximian\"." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:229 -msgid "" -"The following record assigns a low priority to all package versions " -"belonging to any distribution whose Archive name is " -"\"<literal>unstable</literal>\"." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> -#: apt_preferences.5.xml:233 -#, no-wrap -msgid "" -"Package: *\n" -"Pin: release a=unstable\n" -"Pin-Priority: 50\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:238 -msgid "" -"The following record assigns a high priority to all package versions " -"belonging to any distribution whose Codename is " -"\"<literal>&testing-codename;</literal>\"." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> -#: apt_preferences.5.xml:242 -#, no-wrap -msgid "" -"Package: *\n" -"Pin: release n=&testing-codename;\n" -"Pin-Priority: 900\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:247 -msgid "" -"The following record assigns a high priority to all package versions " -"belonging to any release whose Archive name is \"<literal>stable</literal>\" " -"and whose release Version number is \"<literal>3.0</literal>\"." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><programlisting> -#: apt_preferences.5.xml:252 -#, no-wrap -msgid "" -"Package: *\n" -"Pin: release a=stable, v=3.0\n" -"Pin-Priority: 500\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt_preferences.5.xml:262 -msgid "Regular expressions and glob() syntax" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:264 -msgid "" -"APT also supports pinning by glob() expressions and regular expressions " -"surrounded by /. For example, the following example assigns the priority 500 " -"to all packages from experimental where the name starts with gnome (as a " -"glob()-like expression or contains the word kde (as a POSIX extended regular " -"expression surrounded by slashes)." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><programlisting> -#: apt_preferences.5.xml:273 -#, no-wrap -msgid "" -"Package: gnome* /kde/\n" -"Pin: release n=experimental\n" -"Pin-Priority: 500\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:279 -msgid "" -"The rule for those expressions is that they can occur anywhere where a " -"string can occur. Those, the following pin assigns the priority 990 to all " -"packages from a release starting with karmic." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><programlisting> -#: apt_preferences.5.xml:285 -#, no-wrap -msgid "" -"Package: *\n" -"Pin: release n=karmic*\n" -"Pin-Priority: 990\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><literal> -#: apt_preferences.5.xml:290 -msgid "Package" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><literal> -#: apt_preferences.5.xml:296 -msgid "*" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt_preferences.5.xml:306 -msgid "How APT Interprets Priorities" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:314 -msgid "P > 1000" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:315 -msgid "" -"causes a version to be installed even if this constitutes a downgrade of the " -"package" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:319 -msgid "990 < P <=1000" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:320 -msgid "" -"causes a version to be installed even if it does not come from the target " -"release, unless the installed version is more recent" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:325 -msgid "500 < P <=990" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:326 -msgid "" -"causes a version to be installed unless there is a version available " -"belonging to the target release or the installed version is more recent" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:331 -msgid "100 < P <=500" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:332 -msgid "" -"causes a version to be installed unless there is a version available " -"belonging to some other distribution or the installed version is more recent" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:337 -msgid "0 < P <=100" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:338 -msgid "" -"causes a version to be installed only if there is no installed version of " -"the package" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:342 -msgid "P < 0" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:343 -msgid "prevents the version from being installed" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:309 -msgid "" -"Priorities (P) assigned in the APT preferences file must be positive or " -"negative integers. They are interpreted as follows (roughly speaking): " -"<placeholder type=\"variablelist\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:348 -msgid "" -"If any specific-form records match an available package version then the " -"first such record determines the priority of the package version. Failing " -"that, if any general-form records match an available package version then " -"the first such record determines the priority of the package version." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:354 -msgid "" -"For example, suppose the APT preferences file contains the three records " -"presented earlier:" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><programlisting> -#: apt_preferences.5.xml:358 -#, no-wrap -msgid "" -"Package: perl\n" -"Pin: version 5.8*\n" -"Pin-Priority: 1001\n" -"\n" -"Package: *\n" -"Pin: origin \"\"\n" -"Pin-Priority: 999\n" -"\n" -"Package: *\n" -"Pin: release unstable\n" -"Pin-Priority: 50\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:371 -msgid "Then:" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:373 -msgid "" -"The most recent available version of the <literal>perl</literal> package " -"will be installed, so long as that version's version number begins with " -"\"<literal>5.8</literal>\". If <emphasis>any</emphasis> 5.8* version of " -"<literal>perl</literal> is available and the installed version is 5.9*, then " -"<literal>perl</literal> will be downgraded." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:378 -msgid "" -"A version of any package other than <literal>perl</literal> that is " -"available from the local system has priority over other versions, even " -"versions belonging to the target release." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><itemizedlist><listitem><simpara> -#: apt_preferences.5.xml:382 -msgid "" -"A version of a package whose origin is not the local system but some other " -"site listed in &sources-list; and which belongs to an " -"<literal>unstable</literal> distribution is only installed if it is selected " -"for installation and no version of the package is already installed." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt_preferences.5.xml:392 -msgid "Determination of Package Version and Distribution Properties" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:394 -msgid "" -"The locations listed in the &sources-list; file should provide " -"<filename>Packages</filename> and <filename>Release</filename> files to " -"describe the packages available at that location." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:406 -msgid "the <literal>Package:</literal> line" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:407 -msgid "gives the package name" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:410 apt_preferences.5.xml:460 -msgid "the <literal>Version:</literal> line" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:411 -msgid "gives the version number for the named package" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:398 -msgid "" -"The <filename>Packages</filename> file is normally found in the directory " -"<filename>.../dists/<replaceable>dist-name</replaceable>/<replaceable>component</replaceable>/<replaceable>arch</replaceable></filename>: " -"for example, " -"<filename>.../dists/stable/main/binary-i386/Packages</filename>. It " -"consists of a series of multi-line records, one for each package available " -"in that directory. Only two lines in each record are relevant for setting " -"APT priorities: <placeholder type=\"variablelist\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:427 -msgid "the <literal>Archive:</literal> or <literal>Suite:</literal> line" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:428 -msgid "" -"names the archive to which all the packages in the directory tree belong. " -"For example, the line \"Archive: stable\" or \"Suite: stable\" specifies " -"that all of the packages in the directory tree below the parent of the " -"<filename>Release</filename> file are in a <literal>stable</literal> " -"archive. Specifying this value in the APT preferences file would require " -"the line:" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> -#: apt_preferences.5.xml:438 -#, no-wrap -msgid "Pin: release a=stable\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:444 -msgid "the <literal>Codename:</literal> line" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:445 -msgid "" -"names the codename to which all the packages in the directory tree belong. " -"For example, the line \"Codename: &testing-codename;\" specifies that all of " -"the packages in the directory tree below the parent of the " -"<filename>Release</filename> file belong to a version named " -"<literal>&testing-codename;</literal>. Specifying this value in the APT " -"preferences file would require the line:" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> -#: apt_preferences.5.xml:454 -#, no-wrap -msgid "Pin: release n=&testing-codename;\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:461 -msgid "" -"names the release version. For example, the packages in the tree might " -"belong to Debian GNU/Linux release version 3.0. Note that there is normally " -"no version number for the <literal>testing</literal> and " -"<literal>unstable</literal> distributions because they have not been " -"released yet. Specifying this in the APT preferences file would require one " -"of the following lines." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> -#: apt_preferences.5.xml:470 -#, no-wrap -msgid "" -"Pin: release v=3.0\n" -"Pin: release a=stable, v=3.0\n" -"Pin: release 3.0\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:479 -msgid "the <literal>Component:</literal> line" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:480 -msgid "" -"names the licensing component associated with the packages in the directory " -"tree of the <filename>Release</filename> file. For example, the line " -"\"Component: main\" specifies that all the packages in the directory tree " -"are from the <literal>main</literal> component, which entails that they are " -"licensed under terms listed in the Debian Free Software Guidelines. " -"Specifying this component in the APT preferences file would require the " -"line:" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> -#: apt_preferences.5.xml:489 -#, no-wrap -msgid "Pin: release c=main\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:495 -msgid "the <literal>Origin:</literal> line" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:496 -msgid "" -"names the originator of the packages in the directory tree of the " -"<filename>Release</filename> file. Most commonly, this is " -"<literal>Debian</literal>. Specifying this origin in the APT preferences " -"file would require the line:" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> -#: apt_preferences.5.xml:502 -#, no-wrap -msgid "Pin: release o=Debian\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><term> -#: apt_preferences.5.xml:508 -msgid "the <literal>Label:</literal> line" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><simpara> -#: apt_preferences.5.xml:509 -msgid "" -"names the label of the packages in the directory tree of the " -"<filename>Release</filename> file. Most commonly, this is " -"<literal>Debian</literal>. Specifying this label in the APT preferences " -"file would require the line:" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><variablelist><varlistentry><listitem><programlisting> -#: apt_preferences.5.xml:515 -#, no-wrap -msgid "Pin: release l=Debian\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:416 -msgid "" -"The <filename>Release</filename> file is normally found in the directory " -"<filename>.../dists/<replaceable>dist-name</replaceable></filename>: for " -"example, <filename>.../dists/stable/Release</filename>, or " -"<filename>.../dists/&stable-codename;/Release</filename>. It consists of a " -"single multi-line record which applies to <emphasis>all</emphasis> of the " -"packages in the directory tree below its parent. Unlike the " -"<filename>Packages</filename> file, nearly all of the lines in a " -"<filename>Release</filename> file are relevant for setting APT priorities: " -"<placeholder type=\"variablelist\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:522 -msgid "" -"All of the <filename>Packages</filename> and <filename>Release</filename> " -"files retrieved from locations listed in the &sources-list; file are stored " -"in the directory <filename>/var/lib/apt/lists</filename>, or in the file " -"named by the variable <literal>Dir::State::Lists</literal> in the " -"<filename>apt.conf</filename> file. For example, the file " -"<filename>debian.lcs.mit.edu_debian_dists_unstable_contrib_binary-i386_Release</filename> " -"contains the <filename>Release</filename> file retrieved from the site " -"<literal>debian.lcs.mit.edu</literal> for <literal>binary-i386</literal> " -"architecture files from the <literal>contrib</literal> component of the " -"<literal>unstable</literal> distribution." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt_preferences.5.xml:535 -msgid "Optional Lines in an APT Preferences Record" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:537 -msgid "" -"Each record in the APT preferences file can optionally begin with one or " -"more lines beginning with the word <literal>Explanation:</literal>. This " -"provides a place for comments." -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt_preferences.5.xml:546 -msgid "Tracking Stable" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt_preferences.5.xml:554 -#, no-wrap -msgid "" -"Explanation: Uninstall or do not install any Debian-originated\n" -"Explanation: package versions other than those in the stable distro\n" -"Package: *\n" -"Pin: release a=stable\n" -"Pin-Priority: 900\n" -"\n" -"Package: *\n" -"Pin: release o=Debian\n" -"Pin-Priority: -10\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:548 -msgid "" -"The following APT preferences file will cause APT to assign a priority " -"higher than the default (500) to all package versions belonging to a " -"<literal>stable</literal> distribution and a prohibitively low priority to " -"package versions belonging to other <literal>Debian</literal> " -"distributions. <placeholder type=\"programlisting\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt_preferences.5.xml:571 apt_preferences.5.xml:617 apt_preferences.5.xml:675 -#, no-wrap -msgid "" -"apt-get install <replaceable>package-name</replaceable>\n" -"apt-get upgrade\n" -"apt-get dist-upgrade\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:566 -msgid "" -"With a suitable &sources-list; file and the above preferences file, any of " -"the following commands will cause APT to upgrade to the latest " -"<literal>stable</literal> version(s). <placeholder type=\"programlisting\" " -"id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt_preferences.5.xml:583 -#, no-wrap -msgid "apt-get install <replaceable>package</replaceable>/testing\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:577 -msgid "" -"The following command will cause APT to upgrade the specified package to the " -"latest version from the <literal>testing</literal> distribution; the package " -"will not be upgraded again unless this command is given again. <placeholder " -"type=\"programlisting\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt_preferences.5.xml:589 -msgid "Tracking Testing or Unstable" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt_preferences.5.xml:598 -#, no-wrap -msgid "" -"Package: *\n" -"Pin: release a=testing\n" -"Pin-Priority: 900\n" -"\n" -"Package: *\n" -"Pin: release a=unstable\n" -"Pin-Priority: 800\n" -"\n" -"Package: *\n" -"Pin: release o=Debian\n" -"Pin-Priority: -10\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:591 -msgid "" -"The following APT preferences file will cause APT to assign a high priority " -"to package versions from the <literal>testing</literal> distribution, a " -"lower priority to package versions from the <literal>unstable</literal> " -"distribution, and a prohibitively low priority to package versions from " -"other <literal>Debian</literal> distributions. <placeholder " -"type=\"programlisting\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:612 -msgid "" -"With a suitable &sources-list; file and the above preferences file, any of " -"the following commands will cause APT to upgrade to the latest " -"<literal>testing</literal> version(s). <placeholder type=\"programlisting\" " -"id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt_preferences.5.xml:632 -#, no-wrap -msgid "apt-get install <replaceable>package</replaceable>/unstable\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:623 -msgid "" -"The following command will cause APT to upgrade the specified package to the " -"latest version from the <literal>unstable</literal> distribution. " -"Thereafter, <command>apt-get upgrade</command> will upgrade the package to " -"the most recent <literal>testing</literal> version if that is more recent " -"than the installed version, otherwise, to the most recent " -"<literal>unstable</literal> version if that is more recent than the " -"installed version. <placeholder type=\"programlisting\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><title> -#: apt_preferences.5.xml:639 -msgid "Tracking the evolution of a codename release" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt_preferences.5.xml:653 -#, no-wrap -msgid "" -"Explanation: Uninstall or do not install any Debian-originated package " -"versions\n" -"Explanation: other than those in the distribution codenamed with " -"&testing-codename; or sid\n" -"Package: *\n" -"Pin: release n=&testing-codename;\n" -"Pin-Priority: 900\n" -"\n" -"Explanation: Debian unstable is always codenamed with sid\n" -"Package: *\n" -"Pin: release n=sid\n" -"Pin-Priority: 800\n" -"\n" -"Package: *\n" -"Pin: release o=Debian\n" -"Pin-Priority: -10\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:641 -msgid "" -"The following APT preferences file will cause APT to assign a priority " -"higher than the default (500) to all package versions belonging to a " -"specified codename of a distribution and a prohibitively low priority to " -"package versions belonging to other <literal>Debian</literal> distributions, " -"codenames and archives. Note that with this APT preference APT will follow " -"the migration of a release from the archive <literal>testing</literal> to " -"<literal>stable</literal> and later <literal>oldstable</literal>. If you " -"want to follow for example the progress in <literal>testing</literal> " -"notwithstanding the codename changes you should use the example " -"configurations above. <placeholder type=\"programlisting\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:670 -msgid "" -"With a suitable &sources-list; file and the above preferences file, any of " -"the following commands will cause APT to upgrade to the latest version(s) in " -"the release codenamed with <literal>&testing-codename;</literal>. " -"<placeholder type=\"programlisting\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para><programlisting> -#: apt_preferences.5.xml:690 -#, no-wrap -msgid "apt-get install <replaceable>package</replaceable>/sid\n" -msgstr "" - -#. type: Content of: <refentry><refsect1><refsect2><para> -#: apt_preferences.5.xml:681 -msgid "" -"The following command will cause APT to upgrade the specified package to the " -"latest version from the <literal>sid</literal> distribution. Thereafter, " -"<command>apt-get upgrade</command> will upgrade the package to the most " -"recent <literal>&testing-codename;</literal> version if that is more recent " -"than the installed version, otherwise, to the most recent " -"<literal>sid</literal> version if that is more recent than the installed " -"version. <placeholder type=\"programlisting\" id=\"0\"/>" -msgstr "" - -#. type: Content of: <refentry><refsect1><variablelist> -#: apt_preferences.5.xml:699 -msgid "&file-preferences;" -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: apt_preferences.5.xml:705 -msgid "&apt-get; &apt-cache; &apt-conf; &sources-list;" -msgstr "" - -#. type: Content of: <refentry><refnamediv><refname> -#: sources.list.5.xml:25 sources.list.5.xml:32 -msgid "sources.list" -msgstr "" - -#. type: Content of: <refentry><refnamediv><refpurpose> -#: sources.list.5.xml:33 -msgid "Package resource list for APT" -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:37 -msgid "" -"The package resource list is used to locate archives of the package " -"distribution system in use on the system. At this time, this manual page " -"documents only the packaging system used by the Debian GNU/Linux system. " -"This control file is <filename>/etc/apt/sources.list</filename>." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:42 -msgid "" -"The source list is designed to support any number of active sources and a " -"variety of source media. The file lists one source per line, with the most " -"preferred source listed first. The format of each line is: <literal>type uri " -"args</literal> The first item, <literal>type</literal> determines the format " -"for <literal>args</literal>. <literal>uri</literal> is a Universal Resource " -"Identifier (URI), which is a superset of the more specific and well-known " -"Universal Resource Locator, or URL. The rest of the line can be marked as a " -"comment by using a #." -msgstr "" - -#. type: Content of: <refentry><refsect1><title> -#: sources.list.5.xml:53 -msgid "sources.list.d" -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:54 -msgid "" -"The <filename>/etc/apt/sources.list.d</filename> directory provides a way to " -"add sources.list entries in separate files. The format is the same as for " -"the regular <filename>sources.list</filename> file. File names need to end " -"with <filename>.list</filename> and may only contain letters (a-z and A-Z), " -"digits (0-9), underscore (_), hyphen (-) and period (.) characters. " -"Otherwise APT will print a notice that it has ignored a file if the file " -"doesn't match a pattern in the <literal>Dir::Ignore-Files-Silently</literal> " -"configuration list - in this case it will be silently ignored." -msgstr "" - -#. type: Content of: <refentry><refsect1><title> -#: sources.list.5.xml:65 -msgid "The deb and deb-src types" -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:66 -msgid "" -"The <literal>deb</literal> type describes a typical two-level Debian " -"archive, <filename>distribution/component</filename>. Typically, " -"<literal>distribution</literal> is generally an archivename like " -"<literal>stable</literal> or <literal>testing</literal> or a codename like " -"<literal>&stable-codename;</literal> or " -"<literal>&testing-codename;</literal> while component is one of " -"<literal>main</literal> <literal>contrib</literal> or " -"<literal>non-free</literal>. The <literal>deb-src</literal> type describes a " -"debian distribution's source code in the same form as the " -"<literal>deb</literal> type. A <literal>deb-src</literal> line is required " -"to fetch source indexes." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:78 -msgid "" -"The format for a <filename>sources.list</filename> entry using the " -"<literal>deb</literal> and <literal>deb-src</literal> types is:" -msgstr "" - -#. type: Content of: <refentry><refsect1><literallayout> -#: sources.list.5.xml:81 -#, no-wrap -msgid "deb uri distribution [component1] [component2] [...]" -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:83 -msgid "" -"The URI for the <literal>deb</literal> type must specify the base of the " -"Debian distribution, from which APT will find the information it needs. " -"<literal>distribution</literal> can specify an exact path, in which case the " -"components must be omitted and <literal>distribution</literal> must end with " -"a slash (/). This is useful for when the case only a particular sub-section " -"of the archive denoted by the URI is of interest. If " -"<literal>distribution</literal> does not specify an exact path, at least one " -"<literal>component</literal> must be present." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:92 -msgid "" -"<literal>distribution</literal> may also contain a variable, " -"<literal>$(ARCH)</literal> which expands to the Debian architecture (i386, " -"m68k, powerpc, ...) used on the system. This permits " -"architecture-independent <filename>sources.list</filename> files to be " -"used. In general this is only of interest when specifying an exact path, " -"<literal>APT</literal> will automatically generate a URI with the current " -"architecture otherwise." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:100 -msgid "" -"Since only one distribution can be specified per line it may be necessary to " -"have multiple lines for the same URI, if a subset of all available " -"distributions or components at that location is desired. APT will sort the " -"URI list after it has generated a complete set internally, and will collapse " -"multiple references to the same Internet host, for instance, into a single " -"connection, so that it does not inefficiently establish an FTP connection, " -"close it, do something else, and then re-establish a connection to that same " -"host. This feature is useful for accessing busy FTP sites with limits on the " -"number of simultaneous anonymous users. APT also parallelizes connections to " -"different hosts to more effectively deal with sites with low bandwidth." -msgstr "" - -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:112 -msgid "" -"It is important to list sources in order of preference, with the most " -"preferred source listed first. Typically this will result in sorting by " -"speed from fastest to slowest (CD-ROM followed by hosts on a local network, " -"followed by distant Internet hosts, for example)." +"The <literal>bindirectory</literal> section defines a binary directory tree " +"with no special structure. The scope tag specifies the location of the " +"binary directory and the settings are similar to the <literal>Tree</literal> " +"section with no substitution variables or " +"<literal>Section</literal><literal>Architecture</literal> settings." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:117 -msgid "Some examples:" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:416 +msgid "Sets the Packages file output." msgstr "" -#. type: Content of: <refentry><refsect1><literallayout> -#: sources.list.5.xml:119 -#, no-wrap +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:421 msgid "" -"deb http://ftp.debian.org/debian &stable-codename; main contrib non-free\n" -"deb http://security.debian.org/ &stable-codename;/updates main contrib " -"non-free\n" -" " +"Sets the Sources file output. At least one of <literal>Packages</literal> or " +"<literal>Sources</literal> is required." msgstr "" -#. type: Content of: <refentry><refsect1><title> -#: sources.list.5.xml:125 -msgid "URI specification" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:427 +msgid "Sets the Contents file output (optional)." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: sources.list.5.xml:130 -msgid "file" +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:432 +msgid "Sets the binary override file." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: sources.list.5.xml:132 -msgid "" -"The file scheme allows an arbitrary directory in the file system to be " -"considered an archive. This is useful for NFS mounts and local mirrors or " -"archives." +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:437 +msgid "Sets the source override file." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: sources.list.5.xml:139 -msgid "" -"The cdrom scheme allows APT to use a local CDROM drive with media " -"swapping. Use the &apt-cdrom; program to create cdrom entries in the source " -"list." +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:452 +msgid "Sets the cache DB." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: sources.list.5.xml:146 -msgid "" -"The http scheme specifies an HTTP server for the archive. If an environment " -"variable <envar>http_proxy</envar> is set with the format " -"http://server:port/, the proxy server specified in <envar>http_proxy</envar> " -"will be used. Users of authenticated HTTP/1.1 proxies may use a string of " -"the format http://user:pass@server:port/. Note that this is an insecure " -"method of authentication." +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:457 +msgid "Appends a path to all the output paths." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: sources.list.5.xml:157 -msgid "" -"The ftp scheme specifies an FTP server for the archive. APT's FTP behavior " -"is highly configurable; for more information see the &apt-conf; manual " -"page. Please note that a ftp proxy can be specified by using the " -"<envar>ftp_proxy</envar> environment variable. It is possible to specify a " -"http proxy (http proxy servers often understand ftp urls) using this method " -"and ONLY this method. ftp proxies using http specified in the configuration " -"file will be ignored." +#. type: Content of: <refentry><refsect1><refsect2><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:462 +msgid "Specifies the file list file." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: sources.list.5.xml:166 -msgid "copy" +#. type: Content of: <refentry><refsect1><title> +#: apt-ftparchive.1.xml:469 +msgid "The Binary Override File" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: sources.list.5.xml:168 +#. type: Content of: <refentry><refsect1><para> +#: apt-ftparchive.1.xml:470 msgid "" -"The copy scheme is identical to the file scheme except that packages are " -"copied into the cache directory instead of used directly at their location. " -"This is useful for people using a zip disk to copy files around with APT." +"The binary override file is fully compatible with &dpkg-scanpackages;. It " +"contains four fields separated by spaces. The first field is the package " +"name, the second is the priority to force that package to, the third is the " +"section to force that package to and the final field is the maintainer " +"permutation field." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: sources.list.5.xml:173 -msgid "rsh" +#. type: Content of: <refentry><refsect1><para><literallayout> +#: apt-ftparchive.1.xml:476 +#, no-wrap +msgid "old [// oldn]* => new" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: sources.list.5.xml:173 -msgid "ssh" +#. type: Content of: <refentry><refsect1><para><literallayout> +#: apt-ftparchive.1.xml:478 +#, no-wrap +msgid "new" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: sources.list.5.xml:175 +#. type: Content of: <refentry><refsect1><para> +#: apt-ftparchive.1.xml:475 msgid "" -"The rsh/ssh method invokes rsh/ssh to connect to a remote host as a given " -"user and access the files. It is a good idea to do prior arrangements with " -"RSA keys or rhosts. Access to files on the remote uses standard " -"<command>find</command> and <command>dd</command> commands to perform the " -"file transfers from the remote." +"The general form of the maintainer field is: <placeholder " +"type=\"literallayout\" id=\"0\"/> or simply, <placeholder " +"type=\"literallayout\" id=\"1\"/> The first form allows a double-slash " +"separated list of old email addresses to be specified. If any of those are " +"found then new is substituted for the maintainer field. The second form " +"unconditionally substitutes the maintainer field." msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><term> -#: sources.list.5.xml:183 -msgid "more recognizable URI types" +#. type: Content of: <refentry><refsect1><title> +#: apt-ftparchive.1.xml:486 +msgid "The Source Override File" msgstr "" -#. type: Content of: <refentry><refsect1><para><variablelist><varlistentry><listitem><para> -#: sources.list.5.xml:185 +#. type: Content of: <refentry><refsect1><para> +#: apt-ftparchive.1.xml:488 msgid "" -"APT can be extended with more methods shipped in other optional packages " -"which should follow the nameing scheme " -"<literal>apt-transport-<replaceable>method</replaceable></literal>. The APT " -"team e.g. maintains also the <literal>apt-transport-https</literal> package " -"which provides access methods for https-URIs with features similar to the " -"http method, but other methods for using e.g. debtorrent are also available, " -"see <citerefentry> " -"<refentrytitle><filename>apt-transport-debtorrent</filename></refentrytitle> " -"<manvolnum>1</manvolnum></citerefentry>." +"The source override file is fully compatible with &dpkg-scansources;. It " +"contains two fields separated by spaces. The first field is the source " +"package name, the second is the section to assign it." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:127 -msgid "" -"The currently recognized URI types are cdrom, file, http, ftp, copy, ssh, " -"rsh. <placeholder type=\"variablelist\" id=\"0\"/>" +#. type: Content of: <refentry><refsect1><title> +#: apt-ftparchive.1.xml:493 +msgid "The Extra Override File" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:199 +#: apt-ftparchive.1.xml:495 msgid "" -"Uses the archive stored locally (or NFS mounted) at /home/jason/debian for " -"stable/main, stable/contrib, and stable/non-free." +"The extra override file allows any arbitrary tag to be added or replaced in " +"the output. It has three columns, the first is the package, the second is " +"the tag and the remainder of the line is the new value." msgstr "" -#. type: Content of: <refentry><refsect1><literallayout> -#: sources.list.5.xml:201 -#, no-wrap -msgid "deb file:/home/jason/debian stable main contrib non-free" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:506 +msgid "" +"Generate the given checksum. These options default to on, when turned off " +"the generated index files will not have the checksum fields where possible. " +"Configuration Items: " +"<literal>APT::FTPArchive::<replaceable>Checksum</replaceable></literal> and " +"<literal>APT::FTPArchive::<replaceable>Index</replaceable>::<replaceable>Checksum</replaceable></literal> " +"where <literal><replaceable>Index</replaceable></literal> can be " +"<literal>Packages</literal>, <literal>Sources</literal> or " +"<literal>Release</literal> and " +"<literal><replaceable>Checksum</replaceable></literal> can be " +"<literal>MD5</literal>, <literal>SHA1</literal> or " +"<literal>SHA256</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:203 -msgid "As above, except this uses the unstable (development) distribution." +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:517 +msgid "" +"Use a binary caching DB. This has no effect on the generate command. " +"Configuration Item: <literal>APT::FTPArchive::DB</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><literallayout> -#: sources.list.5.xml:204 -#, no-wrap -msgid "deb file:/home/jason/debian unstable main contrib non-free" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:523 +msgid "" +"Quiet; produces output suitable for logging, omitting progress indicators. " +"More q's will produce more quiet up to a maximum of 2. You can also use " +"<option>-q=#</option> to set the quiet level, overriding the configuration " +"file. Configuration Item: <literal>quiet</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:206 -msgid "Source line for the above" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:531 +msgid "" +"Perform Delinking. If the <literal>External-Links</literal> setting is used " +"then this option actually enables delinking of the files. It defaults to on " +"and can be turned off with <option>--no-delink</option>. Configuration " +"Item: <literal>APT::FTPArchive::DeLinkAct</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><literallayout> -#: sources.list.5.xml:207 -#, no-wrap -msgid "deb-src file:/home/jason/debian unstable main contrib non-free" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:539 +msgid "" +"Perform contents generation. When this option is set and package indexes are " +"being generated with a cache DB then the file listing will also be extracted " +"and stored in the DB for later use. When using the generate command this " +"option also allows the creation of any Contents files. The default is on. " +"Configuration Item: <literal>APT::FTPArchive::Contents</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:209 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:549 msgid "" -"Uses HTTP to access the archive at archive.debian.org, and uses only the " -"hamm/main area." +"Select the source override file to use with the <literal>sources</literal> " +"command. Configuration Item: " +"<literal>APT::FTPArchive::SourceOverride</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><literallayout> -#: sources.list.5.xml:211 -#, no-wrap -msgid "deb http://archive.debian.org/debian-archive hamm main" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:555 +msgid "" +"Make the caching databases read only. Configuration Item: " +"<literal>APT::FTPArchive::ReadOnlyDB</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:213 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:560 msgid "" -"Uses FTP to access the archive at ftp.debian.org, under the debian " -"directory, and uses only the &stable-codename;/contrib area." +"Accept in the <literal>packages</literal> and <literal>contents</literal> " +"commands only package files matching <literal>*_arch.deb</literal> or " +"<literal>*_all.deb</literal> instead of all package files in the given " +"path. Configuration Item: <literal>APT::FTPArchive::Architecture</literal>." msgstr "" -#. type: Content of: <refentry><refsect1><literallayout> -#: sources.list.5.xml:215 -#, no-wrap -msgid "deb ftp://ftp.debian.org/debian &stable-codename; contrib" +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:568 +msgid "" +"&apt-ftparchive; caches as much as possible of metadata in a cachedb. If " +"packages are recompiled and/or republished with the same version again, this " +"will lead to problems as the now outdated cached metadata like size and " +"checksums will be used. With this option enabled this will no longer happen " +"as it will be checked if the file was changed. Note that this option is set " +"to \"<literal>false</literal>\" by default as it is not recommend to upload " +"multiply versions/builds of a package with the same versionnumber, so in " +"theory nobody will have these problems and therefore all these extra checks " +"are useless." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:217 +#. type: Content of: <refentry><refsect1><variablelist><varlistentry><listitem><para> +#: apt-ftparchive.1.xml:580 msgid "" -"Uses FTP to access the archive at ftp.debian.org, under the debian " -"directory, and uses only the unstable/contrib area. If this line appears as " -"well as the one in the previous example in <filename>sources.list</filename> " -"a single FTP session will be used for both resource lines." +"This configuration option defaults to \"<literal>true</literal>\" and should " +"only be set to <literal>\"false\"</literal> if the Archive generated with " +"&apt-ftparchive; also provides <filename>Translation</filename> files. Note " +"that the <filename>Translation-en</filename> master file can only be created " +"in the generate command." msgstr "" -#. type: Content of: <refentry><refsect1><literallayout> -#: sources.list.5.xml:221 +#. type: Content of: <refentry><refsect1><para><programlisting> +#: apt-ftparchive.1.xml:598 #, no-wrap -msgid "deb ftp://ftp.debian.org/debian unstable contrib" +msgid "" +"<command>apt-ftparchive</command> packages " +"<replaceable>directory</replaceable> | <command>gzip</command> > " +"<filename>Packages.gz</filename>\n" msgstr "" -#. type: Content of: <refentry><refsect1><para><literallayout> -#: sources.list.5.xml:230 -#, no-wrap -msgid "deb http://ftp.tlh.debian.org/universe unstable/binary-$(ARCH)/" +#. type: Content of: <refentry><refsect1><para> +#: apt-ftparchive.1.xml:594 +msgid "" +"To create a compressed Packages file for a directory containing binary " +"packages (.deb): <placeholder type=\"programlisting\" id=\"0\"/>" msgstr "" #. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:223 +#: apt-ftparchive.1.xml:608 msgid "" -"Uses HTTP to access the archive at ftp.tlh.debian.org, under the universe " -"directory, and uses only files found under " -"<filename>unstable/binary-i386</filename> on i386 machines, " -"<filename>unstable/binary-amd64</filename> on amd64, and so forth for other " -"supported architectures. [Note this example only illustrates how to use the " -"substitution variable; official debian archives are not structured like " -"this] <placeholder type=\"literallayout\" id=\"0\"/>" +"<command>apt-ftparchive</command> returns zero on normal operation, decimal " +"100 on error." msgstr "" -#. type: Content of: <refentry><refsect1><para> -#: sources.list.5.xml:235 -msgid "&apt-cache; &apt-conf;" +#. type: Attribute 'lang' of: <book> +#: guide.dbk:9 offline.dbk:9 +msgid "en" msgstr "" -#. type: <title> -#: guide.sgml:4 +#. type: Content of: +#: guide.dbk:11 msgid "APT User's Guide" msgstr "" -#. type: <author></author> -#: guide.sgml:6 offline.sgml:6 -msgid "<name>Jason Gunthorpe </name><email>jgg@debian.org</email>" +#. type: Content of: <book><bookinfo><authorgroup><author><personname> +#: guide.dbk:17 offline.dbk:17 +msgid "Jason Gunthorpe" msgstr "" -#. type: <version></version> -#: guide.sgml:7 -msgid "$Id: guide.sgml,v 1.7 2003/04/26 23:26:13 doogie Exp $" +#. type: Content of: <book><bookinfo><authorgroup><author><email> +#: guide.dbk:17 offline.dbk:17 +msgid "jgg@debian.org" msgstr "" -#. type: <abstract></abstract> -#: guide.sgml:11 +#. type: Content of: <book><bookinfo><releaseinfo> +#: guide.dbk:21 offline.dbk:21 +msgid "Version &apt-product-version;" +msgstr "" + +#. type: Content of: <book><bookinfo><abstract><para> +#: guide.dbk:25 msgid "" "This document provides an overview of how to use the the APT package " "manager." msgstr "" -#. type: <copyrightsummary></copyrightsummary> -#: guide.sgml:15 -msgid "Copyright © Jason Gunthorpe, 1998." +#. type: Content of: <book><bookinfo> +#: guide.dbk:29 +msgid "<copyright><year>1998</year><holder>Jason Gunthorpe</holder></copyright>" +msgstr "" + +#. type: Content of: <book><bookinfo><legalnotice><title> +#: guide.dbk:32 offline.dbk:33 +msgid "License Notice" msgstr "" -#. type: <p></p> -#: guide.sgml:21 offline.sgml:22 +#. type: Content of: <book><bookinfo><legalnotice><para> +#: guide.dbk:34 offline.dbk:35 msgid "" "\"APT\" and this document are free software; you can redistribute them " "and/or modify them under the terms of the GNU General Public License as " @@ -7193,42 +6093,42 @@ msgid "" "or (at your option) any later version." msgstr "" -#. type: <p></p> -#: guide.sgml:24 offline.sgml:25 +#. type: Content of: <book><bookinfo><legalnotice><para> +#: guide.dbk:43 offline.dbk:41 msgid "" -"For more details, on Debian GNU/Linux systems, see the file " +"For more details, on Debian systems, see the file " "/usr/share/common-licenses/GPL for the full license." msgstr "" -#. type: <heading></heading> -#: guide.sgml:32 +#. type: Content of: <book><chapter><title> +#: guide.dbk:50 msgid "General" msgstr "" -#. type: <p></p> -#: guide.sgml:38 +#. type: Content of: <book><chapter><para> +#: guide.dbk:52 msgid "" "The APT package currently contains two sections, the APT " -"<prgn>dselect</prgn> method and the <prgn>apt-get</prgn> command line user " -"interface. Both provide a way to install and remove packages as well as " -"download new packages from the Internet." +"<command>dselect</command> method and the <command>apt-get</command> command " +"line user interface. Both provide a way to install and remove packages as " +"well as download new packages from the Internet." msgstr "" -#. type: <heading></heading> -#: guide.sgml:39 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:58 msgid "Anatomy of the Package System" msgstr "" -#. type: <p></p> -#: guide.sgml:44 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:60 msgid "" "The Debian packaging system has a large amount of information associated " "with each package to help assure that it integrates cleanly and easily into " "the system. The most prominent of its features is the dependency system." msgstr "" -#. type: <p></p> -#: guide.sgml:52 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:65 msgid "" "The dependency system allows individual programs to make use of shared " "elements in the system such as libraries. It simplifies placing infrequently " @@ -7237,8 +6137,8 @@ msgid "" "in mail transport agents, X servers and so on." msgstr "" -#. type: <p></p> -#: guide.sgml:57 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:72 msgid "" "The first step to understanding the dependency system is to grasp the " "concept of a simple dependency. The meaning of a simple dependency is that a " @@ -7246,8 +6146,8 @@ msgid "" "properly." msgstr "" -#. type: <p></p> -#: guide.sgml:63 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:77 msgid "" "For instance, mailcrypt is an emacs extension that aids in encrypting email " "with GPG. Without GPGP installed mailcrypt is useless, so mailcrypt has a " @@ -7255,8 +6155,8 @@ msgid "" "simple dependency on emacs, without emacs it is completely useless." msgstr "" -#. type: <p></p> -#: guide.sgml:73 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:83 msgid "" "The other important dependency to understand is a conflicting dependency. It " "means that a package, when installed with another package, will not work and " @@ -7268,8 +6168,8 @@ msgid "" "other mail transport agents." msgstr "" -#. type: <p></p> -#: guide.sgml:83 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:93 msgid "" "As an added complication there is the possibility for a package to pretend " "to be another package. Consider that exim and sendmail for many intents are " @@ -7281,8 +6181,8 @@ msgid "" "trying to manually fix packages." msgstr "" -#. type: <p></p> -#: guide.sgml:88 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:103 msgid "" "At any given time a single dependency may be met by packages that are " "already installed or it may not be. APT attempts to help resolve dependency " @@ -7290,56 +6190,78 @@ msgid "" "packages for installation." msgstr "" -#. type: <p></p> -#: guide.sgml:102 +#. type: Content of: <book><chapter><title> +#: guide.dbk:112 +msgid "apt-get" +msgstr "" + +#. type: Content of: <book><chapter><para> +#: guide.dbk:114 +msgid "" +"<command>apt-get</command> provides a simple way to install packages from " +"the command line. Unlike <command>dpkg</command>, <command>apt-get</command> " +"does not understand .deb files, it works with the package's proper name and " +"can only install .deb archives from a <emphasis>Source</emphasis>." +msgstr "" + +#. type: Content of: <book><chapter><para><footnote><para> +#: guide.dbk:120 msgid "" -"<prgn>apt-get</prgn> provides a simple way to install packages from the " -"command line. Unlike <prgn>dpkg</prgn>, <prgn>apt-get</prgn> does not " -"understand .deb files, it works with the package's proper name and can only " -"install .deb archives from a <em>Source</em>." +"If you are using an http proxy server you must set the http_proxy " +"environment variable first, see sources.list(5)" msgstr "" -#. type: <p></p> -#: guide.sgml:109 +#. type: Content of: <book><chapter><para> +#: guide.dbk:120 msgid "" -"The first <footnote><p>If you are using an http proxy server you must set " -"the http_proxy environment variable first, see " -"sources.list(5)</p></footnote> thing that should be done before using " -"<prgn>apt-get</prgn> is to fetch the package lists from the <em>Sources</em> " -"so that it knows what packages are available. This is done with <tt>apt-get " -"update</tt>. For instance," +"The first <placeholder type=\"footnote\" id=\"0\"/> thing that should be " +"done before using <command>apt-get</command> is to fetch the package lists " +"from the <emphasis>Sources</emphasis> so that it knows what packages are " +"available. This is done with <literal>apt-get update</literal>. For " +"instance," msgstr "" -#. type: <example></example> -#: guide.sgml:116 +#. type: Content of: <book><chapter><screen> +#: guide.dbk:128 #, no-wrap msgid "" "# apt-get update\n" "Get http://ftp.de.debian.org/debian-non-US/ stable/binary-i386/ Packages\n" "Get http://llug.sep.bnl.gov/debian/ testing/contrib Packages\n" "Reading Package Lists... Done\n" -"Building Dependency Tree... Done" +"Building Dependency Tree... Done\n" msgstr "" -#. type: <p><taglist> -#: guide.sgml:120 +#. type: Content of: <book><chapter><para> +#: guide.dbk:135 msgid "Once updated there are several commands that can be used:" msgstr "" -#. type: <p></p> -#: guide.sgml:131 +#. type: Content of: <book><chapter><variablelist><varlistentry><term> +#: guide.dbk:139 +msgid "upgrade" +msgstr "" + +#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> +#: guide.dbk:142 msgid "" "Upgrade will attempt to gently upgrade the whole system. Upgrade will never " "install a new package or remove an existing package, nor will it ever " "upgrade a package that might cause some other package to break. This can be " "used daily to relatively safely upgrade the system. Upgrade will list all of " "the packages that it could not upgrade, this usually means that they depend " -"on new packages or conflict with some other package. <prgn>dselect</prgn> or " -"<tt>apt-get install</tt> can be used to force these packages to install." +"on new packages or conflict with some other " +"package. <command>dselect</command> or <literal>apt-get install</literal> " +"can be used to force these packages to install." +msgstr "" + +#. type: Content of: <book><chapter><variablelist><varlistentry><term> +#: guide.dbk:154 +msgid "install" msgstr "" -#. type: <p></p> -#: guide.sgml:140 +#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> +#: guide.dbk:157 msgid "" "Install is used to install packages by name. The package is automatically " "fetched and installed. This can be useful if you already know the name of " @@ -7350,126 +6272,135 @@ msgid "" "anything other than its arguments are changed." msgstr "" -#. type: <p></p> -#: guide.sgml:149 +#. type: Content of: <book><chapter><variablelist><varlistentry><term> +#: guide.dbk:168 +msgid "dist-upgrade" +msgstr "" + +#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> +#: guide.dbk:171 msgid "" "Dist-upgrade is a complete upgrader designed to simplify upgrading between " "releases of Debian. It uses a sophisticated algorithm to determine the best " "set of packages to install, upgrade and remove to get as much of the system " "to the newest release. In some situations it may be desired to use " "dist-upgrade rather than spend the time manually resolving dependencies in " -"<prgn>dselect</prgn>. Once dist-upgrade has completed then " -"<prgn>dselect</prgn> can be used to install any packages that may have been " -"left out." +"<command>dselect</command>. Once dist-upgrade has completed then " +"<command>dselect</command> can be used to install any packages that may have " +"been left out." msgstr "" -#. type: <p></p> -#: guide.sgml:152 +#. type: Content of: <book><chapter><variablelist><varlistentry><listitem><para> +#: guide.dbk:181 msgid "" "It is important to closely look at what dist-upgrade is going to do, its " "decisions may sometimes be quite surprising." msgstr "" -#. type: <p></p> -#: guide.sgml:163 +#. type: Content of: <book><chapter><para> +#: guide.dbk:188 msgid "" -"<prgn>apt-get</prgn> has several command line options that are detailed in " -"its man page, <manref section=\"8\" name=\"apt-get\">. The most useful " -"option is <tt>-d</tt> which does not install the fetched files. If the " -"system has to download a large number of package it would be undesired to " -"start installing them in case something goes wrong. When <tt>-d</tt> is used " -"the downloaded archives can be installed by simply running the command that " -"caused them to be downloaded again without <tt>-d</tt>." +"<command>apt-get</command> has several command line options that are " +"detailed in its man page, " +"<citerefentry><refentrytitle>apt-get</refentrytitle><manvolnum>8</manvolnum></citerefentry>. " +"The most useful option is <literal>-d</literal> which does not install the " +"fetched files. If the system has to download a large number of package it " +"would be undesired to start installing them in case something goes " +"wrong. When <literal>-d</literal> is used the downloaded archives can be " +"installed by simply running the command that caused them to be downloaded " +"again without <literal>-d</literal>." msgstr "" -#. type: <heading></heading> -#: guide.sgml:168 +#. type: Content of: <book><chapter><title> +#: guide.dbk:200 msgid "DSelect" msgstr "" -#. type: <p></p> -#: guide.sgml:173 +#. type: Content of: <book><chapter><para> +#: guide.dbk:202 msgid "" -"The APT <prgn>dselect</prgn> method provides the complete APT system with " -"the <prgn>dselect</prgn> package selection GUI. <prgn>dselect</prgn> is used " -"to select the packages to be installed or removed and APT actually installs " -"them." +"The APT <command>dselect</command> method provides the complete APT system " +"with the <command>dselect</command> package selection " +"GUI. <command>dselect</command> is used to select the packages to be " +"installed or removed and APT actually installs them." msgstr "" -#. type: <p></p> -#: guide.sgml:184 +#. type: Content of: <book><chapter><para> +#: guide.dbk:208 msgid "" -"To enable the APT method you need to select [A]ccess in <prgn>dselect</prgn> " -"and then choose the APT method. You will be prompted for a set of " -"<em>Sources</em> which are places to fetch archives from. These can be " -"remote Internet sites, local Debian mirrors or CDROMs. Each source can " -"provide a fragment of the total Debian archive, APT will automatically " -"combine them to form a complete set of packages. If you have a CDROM then it " -"is a good idea to specify it first and then specify a mirror so that you " -"have access to the latest bug fixes. APT will automatically use packages on " -"your CDROM before downloading from the Internet." +"To enable the APT method you need to select [A]ccess in " +"<command>dselect</command> and then choose the APT method. You will be " +"prompted for a set of <emphasis>Sources</emphasis> which are places to fetch " +"archives from. These can be remote Internet sites, local Debian mirrors or " +"CD-ROMs. Each source can provide a fragment of the total Debian archive, APT " +"will automatically combine them to form a complete set of packages. If you " +"have a CD-ROM then it is a good idea to specify it first and then specify a " +"mirror so that you have access to the latest bug fixes. APT will " +"automatically use packages on your CD-ROM before downloading from the " +"Internet." msgstr "" -#. type: <example></example> -#: guide.sgml:198 +#. type: Content of: <book><chapter><screen> +#: guide.dbk:219 #, no-wrap msgid "" " Set up a list of distribution source locations\n" -"\t \n" +"\n" " Please give the base URL of the debian distribution.\n" " The access schemes I know about are: http file\n" -"\t \n" +"\n" " For example:\n" " file:/mnt/debian,\n" " ftp://ftp.debian.org/debian,\n" " http://ftp.de.debian.org/debian,\n" -" \n" -" \n" -" URL [http://llug.sep.bnl.gov/debian]:" +"\n" +"\n" +" URL [http://llug.sep.bnl.gov/debian]:\n" msgstr "" -#. type: <p></p> -#: guide.sgml:205 +#. type: Content of: <book><chapter><para> +#: guide.dbk:233 msgid "" -"The <em>Sources</em> setup starts by asking for the base of the Debian " -"archive, defaulting to a HTTP mirror. Next it asks for the distribution to " -"get." +"The <emphasis>Sources</emphasis> setup starts by asking for the base of the " +"Debian archive, defaulting to a HTTP mirror. Next it asks for the " +"distribution to get." msgstr "" -#. type: <example></example> -#: guide.sgml:212 +#. type: Content of: <book><chapter><screen> +#: guide.dbk:238 #, no-wrap msgid "" " Please give the distribution tag to get or a path to the\n" " package file ending in a /. The distribution\n" " tags are typically something like: stable unstable testing non-US\n" -" \n" -" Distribution [stable]:" +"\n" +" Distribution [stable]:\n" msgstr "" -#. type: <p></p> -#: guide.sgml:222 +#. type: Content of: <book><chapter><para> +#: guide.dbk:245 msgid "" "The distribution refers to the Debian version in the archive, " -"<em>stable</em> refers to the latest released version and <em>unstable</em> " -"refers to the developmental version. <em>non-US</em> is only available on " -"some mirrors and refers to packages that contain encryption technology or " -"other things that cannot be exported from the United States. Importing these " -"packages into the US is legal however." +"<emphasis>stable</emphasis> refers to the latest released version and " +"<emphasis>unstable</emphasis> refers to the developmental " +"version. <emphasis>non-US</emphasis> is only available on some mirrors and " +"refers to packages that contain encryption technology or other things that " +"cannot be exported from the United States. Importing these packages into the " +"US is legal however." msgstr "" -#. type: <example></example> -#: guide.sgml:228 +#. type: Content of: <book><chapter><screen> +#: guide.dbk:254 #, no-wrap msgid "" " Please give the components to get\n" " The components are typically something like: main contrib non-free\n" -" \n" -" Components [main contrib non-free]:" +"\n" +" Components [main contrib non-free]:\n" msgstr "" -#. type: <p></p> -#: guide.sgml:236 +#. type: Content of: <book><chapter><para> +#: guide.dbk:260 msgid "" "The components list refers to the list of sub distributions to fetch. The " "distribution is split up based on software licenses, main being DFSG free " @@ -7477,25 +6408,25 @@ msgid "" "restrictions placed on their use and distribution." msgstr "" -#. type: <p></p> -#: guide.sgml:240 +#. type: Content of: <book><chapter><para> +#: guide.dbk:266 msgid "" "Any number of sources can be added, the setup script will continue to prompt " "until you have specified all that you want." msgstr "" -#. type: <p></p> -#: guide.sgml:247 +#. type: Content of: <book><chapter><para> +#: guide.dbk:270 msgid "" -"Before starting to use <prgn>dselect</prgn> it is necessary to update the " -"available list by selecting [U]pdate from the menu. This is a superset of " -"<tt>apt-get update</tt> that makes the fetched information available to " -"<prgn>dselect</prgn>. [U]pdate must be performed even if <tt>apt-get " -"update</tt> has been run before." +"Before starting to use <command>dselect</command> it is necessary to update " +"the available list by selecting [U]pdate from the menu. This is a superset " +"of <literal>apt-get update</literal> that makes the fetched information " +"available to <command>dselect</command>. [U]pdate must be performed even if " +"<literal>apt-get update</literal> has been run before." msgstr "" -#. type: <p></p> -#: guide.sgml:253 +#. type: Content of: <book><chapter><para> +#: guide.dbk:277 msgid "" "You can then go on and make your selections using [S]elect and then perform " "the installation using [I]nstall. When using the APT method the [C]onfig and " @@ -7503,57 +6434,63 @@ msgid "" "them together." msgstr "" -#. type: <p></p> -#: guide.sgml:258 +#. type: Content of: <book><chapter><para> +#: guide.dbk:283 msgid "" "By default APT will automatically remove the package (.deb) files once they " "have been successfully installed. To change this behavior place " -"<tt>Dselect::clean \"prompt\";</tt> in /etc/apt/apt.conf." +"<literal>Dselect::clean \"prompt\";</literal> in /etc/apt/apt.conf." msgstr "" -#. type: <heading></heading> -#: guide.sgml:264 +#. type: Content of: <book><chapter><title> +#: guide.dbk:289 msgid "The Interface" msgstr "" -#. type: <p></p> -#: guide.sgml:278 +#. type: Content of: <book><chapter><para><footnote><para> +#: guide.dbk:293 +msgid "" +"The <command>dselect</command> method actually is a set of wrapper scripts " +"to <command>apt-get</command>. The method actually provides more " +"functionality than is present in <command>apt-get</command> alone." +msgstr "" + +#. type: Content of: <book><chapter><para> +#: guide.dbk:291 msgid "" -"Both that APT <prgn>dselect</prgn> method and <prgn>apt-get</prgn> share the " -"same interface. It is a simple system that generally tells you what it will " -"do and then goes and does it. <footnote><p>The <prgn>dselect</prgn> method " -"actually is a set of wrapper scripts to <prgn>apt-get</prgn>. The method " -"actually provides more functionality than is present in <prgn>apt-get</prgn> " -"alone.</p></footnote> After printing out a summary of what will happen APT " -"then will print out some informative status messages so that you can " -"estimate how far along it is and how much is left to do." +"Both that APT <command>dselect</command> method and " +"<command>apt-get</command> share the same interface. It is a simple system " +"that generally tells you what it will do and then goes and does " +"it. <placeholder type=\"footnote\" id=\"0\"/> After printing out a summary " +"of what will happen APT then will print out some informative status messages " +"so that you can estimate how far along it is and how much is left to do." msgstr "" -#. type: <heading></heading> -#: guide.sgml:280 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:302 msgid "Startup" msgstr "" -#. type: <p></p> -#: guide.sgml:284 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:304 msgid "" "Before all operations except update, APT performs a number of actions to " "prepare its internal state. It also does some checks of the system's " -"state. At any time these operations can be performed by running <tt>apt-get " -"check</tt>." +"state. At any time these operations can be performed by running " +"<literal>apt-get check</literal>." msgstr "" -#. type: <example></example> -#: guide.sgml:289 +#. type: Content of: <book><chapter><section><screen> +#: guide.dbk:310 #, no-wrap msgid "" "# apt-get check\n" "Reading Package Lists... Done\n" -"Building Dependency Tree... Done" +"Building Dependency Tree... Done\n" msgstr "" -#. type: <p></p> -#: guide.sgml:297 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:315 msgid "" "The first thing it does is read all the package files into memory. APT uses " "a caching scheme so this operation will be faster the second time it is " @@ -7561,17 +6498,17 @@ msgid "" "and a warning will be printed when apt-get exits." msgstr "" -#. type: <p></p> -#: guide.sgml:303 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:321 msgid "" "The final operation performs a detailed analysis of the system's " "dependencies. It checks every dependency of every installed or unpacked " "package and considers if it is OK. Should this find a problem then a report " -"will be printed out and <prgn>apt-get</prgn> will refuse to run." +"will be printed out and <command>apt-get</command> will refuse to run." msgstr "" -#. type: <example></example> -#: guide.sgml:320 +#. type: Content of: <book><chapter><section><screen> +#: guide.dbk:327 #, no-wrap msgid "" "# apt-get check\n" @@ -7581,18 +6518,18 @@ msgid "" "Sorry, but the following packages have unmet dependencies:\n" " 9fonts: Depends: xlib6g but it is not installed\n" " uucp: Depends: mailx but it is not installed\n" -" blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n" +" blast: Depends: xlib6g (>= 3.3-5) but it is not installed\n" " adduser: Depends: perl-base but it is not installed\n" " aumix: Depends: libgpmg1 but it is not installed\n" " debiandoc-sgml: Depends: sgml-base but it is not installed\n" -" bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n" +" bash-builtins: Depends: bash (>= 2.01) but 2.0-3 is installed\n" " cthugha: Depends: svgalibg1 but it is not installed\n" -" Depends: xlib6g (>= 3.3-5) but it is not installed\n" -" libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)" +" Depends: xlib6g (>= 3.3-5) but it is not installed\n" +" libreadlineg2: Conflicts:libreadline2 (<< 2.1-2.1)\n" msgstr "" -#. type: <p></p> -#: guide.sgml:329 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:344 msgid "" "In this example the system has many problems, including a serious problem " "with libreadlineg2. For each package that has unmet dependencies a line is " @@ -7601,61 +6538,69 @@ msgid "" "problem is also included." msgstr "" -#. type: <p></p> -#: guide.sgml:337 +#. type: Content of: <book><chapter><section><para><footnote><para> +#: guide.dbk:353 +msgid "" +"APT however considers all known dependencies and attempts to prevent broken " +"packages" +msgstr "" + +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:351 msgid "" "There are two ways a system can get into a broken state like this. The first " -"is caused by <prgn>dpkg</prgn> missing some subtle relationships between " -"packages when performing upgrades. <footnote><p>APT however considers all " -"known dependencies and attempts to prevent broken " -"packages</p></footnote>. The second is if a package installation fails " -"during an operation. In this situation a package may have been unpacked " -"without its dependents being installed." +"is caused by <command>dpkg</command> missing some subtle relationships " +"between packages when performing upgrades. <placeholder type=\"footnote\" " +"id=\"0\"/>. The second is if a package installation fails during an " +"operation. In this situation a package may have been unpacked without its " +"dependents being installed." msgstr "" -#. type: <p></p> -#: guide.sgml:345 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:360 msgid "" "The second situation is much less serious than the first because APT places " "certain constraints on the order that packages are installed. In both cases " -"supplying the <tt>-f</tt> option to <prgn>apt-get</prgn> will cause APT to " -"deduce a possible solution to the problem and then continue on. The APT " -"<prgn>dselect</prgn> method always supplies the <tt>-f</tt> option to allow " -"for easy continuation of failed maintainer scripts." +"supplying the <literal>-f</literal> option to <command>apt-get</command> " +"will cause APT to deduce a possible solution to the problem and then " +"continue on. The APT <command>dselect</command> method always supplies the " +"<literal>-f</literal> option to allow for easy continuation of failed " +"maintainer scripts." msgstr "" -#. type: <p></p> -#: guide.sgml:351 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:369 msgid "" -"However, if the <tt>-f</tt> option is used to correct a seriously broken " -"system caused by the first case then it is possible that it will either fail " -"immediately or the installation sequence will fail. In either case it is " -"necessary to manually use dpkg (possibly with forcing options) to correct " -"the situation enough to allow APT to proceed." +"However, if the <literal>-f</literal> option is used to correct a seriously " +"broken system caused by the first case then it is possible that it will " +"either fail immediately or the installation sequence will fail. In either " +"case it is necessary to manually use dpkg (possibly with forcing options) to " +"correct the situation enough to allow APT to proceed." msgstr "" -#. type: <heading></heading> -#: guide.sgml:356 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:377 msgid "The Status Report" msgstr "" -#. type: <p></p> -#: guide.sgml:363 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:379 msgid "" -"Before proceeding <prgn>apt-get</prgn> will present a report on what will " -"happen. Generally the report reflects the type of operation being performed " -"but there are several common elements. In all cases the lists reflect the " -"final state of things, taking into account the <tt>-f</tt> option and any " -"other relevant activities to the command being executed." +"Before proceeding <command>apt-get</command> will present a report on what " +"will happen. Generally the report reflects the type of operation being " +"performed but there are several common elements. In all cases the lists " +"reflect the final state of things, taking into account the " +"<literal>-f</literal> option and any other relevant activities to the " +"command being executed." msgstr "" -#. type: <heading></heading> -#: guide.sgml:364 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:386 msgid "The Extra Package list" msgstr "" -#. type: <example></example> -#: guide.sgml:372 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:388 #, no-wrap msgid "" "The following extra packages will be installed:\n" @@ -7663,135 +6608,135 @@ msgid "" " mailpgp xdpkg fileutils pinepgp zlib1g xlib6g perl-base\n" " bin86 libgdbm1 libgdbmg1 quake-lib gmp2 bcc xbuffy\n" " squake pgp-i python-base debmake ldso perl libreadlineg2\n" -" ssh" +" ssh\n" msgstr "" -#. type: <p></p> -#: guide.sgml:379 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:396 msgid "" "The Extra Package list shows all of the packages that will be installed or " "upgraded in excess of the ones mentioned on the command line. It is only " -"generated for an <tt>install</tt> command. The listed packages are often the " -"result of an Auto Install." +"generated for an <literal>install</literal> command. The listed packages are " +"often the result of an Auto Install." msgstr "" -#. type: <heading></heading> -#: guide.sgml:382 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:403 msgid "The Packages to Remove" msgstr "" -#. type: <example></example> -#: guide.sgml:389 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:405 #, no-wrap msgid "" "The following packages will be REMOVED:\n" " xlib6-dev xpat2 tk40-dev xkeycaps xbattle xonix\n" " xdaliclock tk40 tk41 xforms0.86 ghostview xloadimage xcolorsel\n" " xadmin xboard perl-debug tkined xtetris libreadline2-dev perl-suid\n" -" nas xpilot xfig" +" nas xpilot xfig\n" msgstr "" -#. type: <p></p> -#: guide.sgml:399 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:412 msgid "" "The Packages to Remove list shows all of the packages that will be removed " "from the system. It can be shown for any of the operations and should be " "given a careful inspection to ensure nothing important is to be taken " -"off. The <tt>-f</tt> option is especially good at generating packages to " -"remove so extreme care should be used in that case. The list may contain " -"packages that are going to be removed because they are only partially " -"installed, possibly due to an aborted installation." +"off. The <literal>-f</literal> option is especially good at generating " +"packages to remove so extreme care should be used in that case. The list may " +"contain packages that are going to be removed because they are only " +"partially installed, possibly due to an aborted installation." msgstr "" -#. type: <heading></heading> -#: guide.sgml:402 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:422 msgid "The New Packages list" msgstr "" -#. type: <example></example> -#: guide.sgml:406 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:424 #, no-wrap msgid "" "The following NEW packages will installed:\n" -" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base" +" zlib1g xlib6g perl-base libgdbmg1 quake-lib gmp2 pgp-i python-base\n" msgstr "" -#. type: <p></p> -#: guide.sgml:411 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:428 msgid "" "The New Packages list is simply a reminder of what will happen. The packages " "listed are not presently installed in the system but will be when APT is " "done." msgstr "" -#. type: <heading></heading> -#: guide.sgml:414 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:433 msgid "The Kept Back list" msgstr "" -#. type: <example></example> -#: guide.sgml:419 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:435 #, no-wrap msgid "" "The following packages have been kept back\n" " compface man-db tetex-base msql libpaper svgalib1\n" -" gs snmp arena lynx xpat2 groff xscreensaver" +" gs snmp arena lynx xpat2 groff xscreensaver\n" msgstr "" -#. type: <p></p> -#: guide.sgml:428 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:440 msgid "" "Whenever the whole system is being upgraded there is the possibility that " "new versions of packages cannot be installed because they require new things " "or conflict with already installed things. In this case the package will " "appear in the Kept Back list. The best way to convince packages listed there " -"to install is with <tt>apt-get install</tt> or by using <prgn>dselect</prgn> " -"to resolve their problems." +"to install is with <literal>apt-get install</literal> or by using " +"<command>dselect</command> to resolve their problems." msgstr "" -#. type: <heading></heading> -#: guide.sgml:431 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:449 msgid "Held Packages warning" msgstr "" -#. type: <example></example> -#: guide.sgml:435 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:451 #, no-wrap msgid "" "The following held packages will be changed:\n" -" cvs" +" cvs\n" msgstr "" -#. type: <p></p> -#: guide.sgml:441 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:455 msgid "" "Sometimes you can ask APT to install a package that is on hold, in such a " "case it prints out a warning that the held package is going to be " "changed. This should only happen during dist-upgrade or install." msgstr "" -#. type: <heading></heading> -#: guide.sgml:444 +#. type: Content of: <book><chapter><section><section><title> +#: guide.dbk:461 msgid "Final summary" msgstr "" -#. type: <p></p> -#: guide.sgml:447 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:463 msgid "Finally, APT will print out a summary of all the changes that will occur." msgstr "" -#. type: <example></example> -#: guide.sgml:452 +#. type: Content of: <book><chapter><section><section><screen> +#: guide.dbk:466 #, no-wrap msgid "" "206 packages upgraded, 8 newly installed, 23 to remove and 51 not " "upgraded.\n" "12 packages not fully installed or removed.\n" -"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used." +"Need to get 65.7M/66.7M of archives. After unpacking 26.5M will be used.\n" msgstr "" -#. type: <p></p> -#: guide.sgml:470 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:471 msgid "" "The first line of the summary simply is a reduced version of all of the " "lists and includes the number of upgrades - that is packages already " @@ -7808,27 +6753,27 @@ msgid "" "indicate the amount of space that will be freed." msgstr "" -#. type: <p></p> -#: guide.sgml:473 +#. type: Content of: <book><chapter><section><section><para> +#: guide.dbk:485 msgid "" "Some other reports can be generated by using the -u option to show packages " "to upgrade, they are similar to the previous examples." msgstr "" -#. type: <heading></heading> -#: guide.sgml:477 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:492 msgid "The Status Display" msgstr "" -#. type: <p></p> -#: guide.sgml:481 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:494 msgid "" "During the download of archives and package files APT prints out a series of " "status messages." msgstr "" -#. type: <example></example> -#: guide.sgml:490 +#. type: Content of: <book><chapter><section><screen> +#: guide.dbk:498 #, no-wrap msgid "" "# apt-get update\n" @@ -7838,111 +6783,107 @@ msgid "" "Get:4 http://ftp.de.debian.org/debian-non-US/ unstable/binary-i386/ " "Packages\n" "Get:5 http://llug.sep.bnl.gov/debian/ testing/non-free Packages\n" -"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s" +"11% [5 testing/non-free `Waiting for file' 0/32.1k 0%] 2203b/s 1m52s\n" msgstr "" -#. type: <p></p> -#: guide.sgml:500 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:507 msgid "" -"The lines starting with <em>Get</em> are printed out when APT begins to " -"fetch a file while the last line indicates the progress of the download. The " -"first percent value on the progress line indicates the total percent done of " -"all files. Unfortunately since the size of the Package files is unknown " -"<tt>apt-get update</tt> estimates the percent done which causes some " -"inaccuracies." +"The lines starting with <emphasis>Get</emphasis> are printed out when APT " +"begins to fetch a file while the last line indicates the progress of the " +"download. The first percent value on the progress line indicates the total " +"percent done of all files. Unfortunately since the size of the Package files " +"is unknown <literal>apt-get update</literal> estimates the percent done " +"which causes some inaccuracies." msgstr "" -#. type: <p></p> -#: guide.sgml:509 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:515 msgid "" "The next section of the status line is repeated once for each download " "thread and indicates the operation being performed and some useful " "information about what is happening. Sometimes this section will simply read " -"<em>Forking</em> which means the OS is loading the download module. The " -"first word after the [ is the fetch number as shown on the history " -"lines. The next word is the short form name of the object being " +"<emphasis>Forking</emphasis> which means the OS is loading the download " +"module. The first word after the [ is the fetch number as shown on the " +"history lines. The next word is the short form name of the object being " "downloaded. For archives it will contain the name of the package that is " "being fetched." msgstr "" -#. type: <p></p> -#: guide.sgml:524 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:525 msgid "" "Inside of the single quote is an informative string indicating the progress " "of the negotiation phase of the download. Typically it progresses from " -"<em>Connecting</em> to <em>Waiting for file</em> to <em>Downloading</em> or " -"<em>Resuming</em>. The final value is the number of bytes downloaded from " -"the remote site. Once the download begins this is represented as " -"<tt>102/10.2k</tt> indicating that 102 bytes have been fetched and 10.2 " -"kilobytes is expected. The total size is always shown in 4 figure notation " -"to preserve space. After the size display is a percent meter for the file " -"itself. The second last element is the instantaneous average speed. This " -"values is updated every 5 seconds and reflects the rate of data transfer for " -"that period. Finally is shown the estimated transfer time. This is updated " +"<emphasis>Connecting</emphasis> to <emphasis>Waiting for file</emphasis> to " +"<emphasis>Downloading</emphasis> or <emphasis>Resuming</emphasis>. The final " +"value is the number of bytes downloaded from the remote site. Once the " +"download begins this is represented as <literal>102/10.2k</literal> " +"indicating that 102 bytes have been fetched and 10.2 kilobytes is " +"expected. The total size is always shown in 4 figure notation to preserve " +"space. After the size display is a percent meter for the file itself. The " +"second last element is the instantaneous average speed. This values is " +"updated every 5 seconds and reflects the rate of data transfer for that " +"period. Finally is shown the estimated transfer time. This is updated " "regularly and reflects the time to complete everything at the shown transfer " "rate." msgstr "" -#. type: <p></p> -#: guide.sgml:530 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:540 msgid "" "The status display updates every half second to provide a constant feedback " "on the download progress while the Get lines scroll back whenever a new file " "is started. Since the status display is constantly updated it is unsuitable " -"for logging to a file, use the <tt>-q</tt> option to remove the status " -"display." +"for logging to a file, use the <literal>-q</literal> option to remove the " +"status display." msgstr "" -#. type: <heading></heading> -#: guide.sgml:535 +#. type: Content of: <book><chapter><section><title> +#: guide.dbk:548 msgid "Dpkg" msgstr "" -#. type: <p></p> -#: guide.sgml:542 +#. type: Content of: <book><chapter><section><para> +#: guide.dbk:550 msgid "" -"APT uses <prgn>dpkg</prgn> for installing the archives and will switch over " -"to the <prgn>dpkg</prgn> interface once downloading is " -"completed. <prgn>dpkg</prgn> will also ask a number of questions as it " +"APT uses <command>dpkg</command> for installing the archives and will switch " +"over to the <command>dpkg</command> interface once downloading is " +"completed. <command>dpkg</command> will also ask a number of questions as it " "processes the packages and the packages themselves may also ask several " "questions. Before each question there is usually a description of what it is " "asking and the questions are too varied to discuss completely here." msgstr "" -#. type: <title> -#: offline.sgml:4 +#. type: Content of: +#: offline.dbk:11 msgid "Using APT Offline" msgstr "" -#. type: <version></version> -#: offline.sgml:7 -msgid "$Id: offline.sgml,v 1.8 2003/02/12 15:06:41 doogie Exp $" -msgstr "" - -#. type: <abstract></abstract> -#: offline.sgml:12 +#. type: Content of: <book><bookinfo><abstract><para> +#: offline.dbk:25 msgid "" "This document describes how to use APT in a non-networked environment, " "specifically a 'sneaker-net' approach for performing upgrades." msgstr "" -#. type: <copyrightsummary></copyrightsummary> -#: offline.sgml:16 -msgid "Copyright © Jason Gunthorpe, 1999." +#. type: Content of: <book><bookinfo> +#: offline.dbk:30 +msgid "<copyright><year>1999</year><holder>Jason Gunthorpe</holder></copyright>" msgstr "" -#. type: <heading></heading> -#: offline.sgml:32 +#. type: Content of: <book><chapter><title> +#: offline.dbk:48 msgid "Introduction" msgstr "" -#. type: <heading></heading> -#: offline.sgml:34 offline.sgml:65 offline.sgml:180 +#. type: Content of: <book><chapter><section><title> +#: offline.dbk:50 offline.dbk:80 offline.dbk:192 msgid "Overview" msgstr "" -#. type: <p></p> -#: offline.sgml:40 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:52 msgid "" "Normally APT requires direct access to a Debian archive, either from a local " "media or through a network. Another common complaint is that a Debian " @@ -7950,8 +6891,8 @@ msgid "" "fast connection but they are physically distant." msgstr "" -#. type: <p></p> -#: offline.sgml:51 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:58 msgid "" "The solution to this is to use large removable media such as a Zip disc or a " "SuperDisk disc. These discs are not large enough to store the entire Debian " @@ -7959,13 +6900,13 @@ msgid "" "to use APT to generate a list of packages that are required and then fetch " "them onto the disc using another machine with good connectivity. It is even " "possible to use another Debian machine with APT or to use a completely " -"different OS and a download tool like wget. Let <em>remote host</em> mean " -"the machine downloading the packages, and <em>target host</em> the one with " -"bad or no connection." +"different OS and a download tool like wget. Let <emphasis>remote " +"host</emphasis> mean the machine downloading the packages, and " +"<emphasis>target host</emphasis> the one with bad or no connection." msgstr "" -#. type: <p></p> -#: offline.sgml:57 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:69 msgid "" "This is achieved by creatively manipulating the APT configuration file. The " "essential premise to tell APT to look on a disc for it's archive files. Note " @@ -7973,13 +6914,13 @@ msgid "" "names such as ext2, fat32 or vfat." msgstr "" -#. type: <heading></heading> -#: offline.sgml:63 +#. type: Content of: <book><chapter><title> +#: offline.dbk:78 msgid "Using APT on both machines" msgstr "" -#. type: <p><example> -#: offline.sgml:71 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:82 msgid "" "APT being available on both machines gives the simplest configuration. The " "basic idea is to place a copy of the status file on the disc and use the " @@ -7987,8 +6928,8 @@ msgid "" "to download. The disk directory structure should look like:" msgstr "" -#. type: <example></example> -#: offline.sgml:80 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:88 #, no-wrap msgid "" " /disc/\n" @@ -7998,34 +6939,35 @@ msgid "" " partial/\n" " status\n" " sources.list\n" -" apt.conf" +" apt.conf\n" msgstr "" -#. type: <heading></heading> -#: offline.sgml:88 +#. type: Content of: <book><chapter><section><title> +#: offline.dbk:99 msgid "The configuration file" msgstr "" -#. type: <p></p> -#: offline.sgml:96 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:101 msgid "" "The configuration file should tell APT to store its files on the disc and to " "use the configuration files on the disc as well. The sources.list should " "contain the proper sites that you wish to use from the remote machine, and " -"the status file should be a copy of <em>/var/lib/dpkg/status</em> from the " -"<em>target host</em>. Please note, if you are using a local archive you must " -"use copy URIs, the syntax is identical to file URIs." +"the status file should be a copy of " +"<emphasis>/var/lib/dpkg/status</emphasis> from the <emphasis>target " +"host</emphasis>. Please note, if you are using a local archive you must use " +"copy URIs, the syntax is identical to file URIs." msgstr "" -#. type: <p><example> -#: offline.sgml:100 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:109 msgid "" -"<em>apt.conf</em> must contain the necessary information to make APT use the " -"disc:" +"<emphasis>apt.conf</emphasis> must contain the necessary information to make " +"APT use the disc:" msgstr "" -#. type: <example></example> -#: offline.sgml:124 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:113 #, no-wrap msgid "" " APT\n" @@ -8034,10 +6976,10 @@ msgid "" "tells\n" " the remote APT what architecture the target machine is */\n" " Architecture \"i386\";\n" -" \n" +"\n" " Get::Download-Only \"true\";\n" " };\n" -" \n" +"\n" " Dir\n" " {\n" " /* Use the disc for state information and redirect the status file from\n" @@ -8048,76 +6990,79 @@ msgid "" " // Binary caches will be stored locally\n" " Cache::archives \"/disc/archives/\";\n" " Cache \"/tmp/\";\n" -" \n" +"\n" " // Location of the source list.\n" " Etc \"/disc/\";\n" -" };" +" };\n" msgstr "" -#. type: </example></p> -#: offline.sgml:129 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:138 msgid "" "More details can be seen by examining the apt.conf man page and the sample " -"configuration file in <em>/usr/share/doc/apt/examples/apt.conf</em>." +"configuration file in " +"<emphasis>/usr/share/doc/apt/examples/apt.conf</emphasis>." msgstr "" -#. type: <p><example> -#: offline.sgml:136 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:143 msgid "" "On the target machine the first thing to do is mount the disc and copy " -"<em>/var/lib/dpkg/status</em> to it. You will also need to create the " -"directories outlined in the Overview, <em>archives/partial/</em> and " -"<em>lists/partial/</em>. Then take the disc to the remote machine and " -"configure the sources.list. On the remote machine execute the following:" +"<emphasis>/var/lib/dpkg/status</emphasis> to it. You will also need to " +"create the directories outlined in the Overview, " +"<emphasis>archives/partial/</emphasis> and " +"<emphasis>lists/partial/</emphasis>. Then take the disc to the remote " +"machine and configure the sources.list. On the remote machine execute the " +"following:" msgstr "" -#. type: <example></example> -#: offline.sgml:142 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:152 #, no-wrap msgid "" " # export APT_CONFIG=\"/disc/apt.conf\"\n" " # apt-get update\n" " [ APT fetches the package files ]\n" " # apt-get dist-upgrade\n" -" [ APT fetches all the packages needed to upgrade the target machine ]" +" [ APT fetches all the packages needed to upgrade the target machine ]\n" msgstr "" -#. type: </example></p> -#: offline.sgml:149 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:159 msgid "" "The dist-upgrade command can be replaced with any other standard APT " "commands, particularly dselect-upgrade. You can even use an APT front end " -"such as <em>dselect</em>. However this presents a problem in communicating " -"your selections back to the local computer." +"such as <emphasis>dselect</emphasis>. However this presents a problem in " +"communicating your selections back to the local computer." msgstr "" -#. type: <p><example> -#: offline.sgml:153 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:165 msgid "" "Now the disc contains all of the index files and archives needed to upgrade " "the target machine. Take the disc back and run:" msgstr "" -#. type: <example></example> -#: offline.sgml:159 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:169 #, no-wrap msgid "" " # export APT_CONFIG=\"/disc/apt.conf\"\n" " # apt-get check\n" " [ APT generates a local copy of the cache files ]\n" " # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade\n" -" [ Or any other APT command ]" +" [ Or any other APT command ]\n" msgstr "" -#. type: <p></p> -#: offline.sgml:165 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:176 msgid "" "It is necessary for proper function to re-specify the status file to be the " "local one. This is very important!" msgstr "" -#. type: <p></p> -#: offline.sgml:172 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:180 msgid "" "If you are using dselect you can do the very risky operation of copying " "disc/status to /var/lib/dpkg/status so that any selections you made on the " @@ -8126,21 +7071,21 @@ msgid "" "NOT copy the status file if dpkg or APT have been run in the mean time!!" msgstr "" -#. type: <heading></heading> -#: offline.sgml:178 +#. type: Content of: <book><chapter><title> +#: offline.dbk:190 msgid "Using APT and wget" msgstr "" -#. type: <p></p> -#: offline.sgml:185 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:194 msgid "" -"<em>wget</em> is a popular and portable download tool that can run on nearly " -"any machine. Unlike the method above this requires that the Debian machine " -"already has a list of available packages." +"<emphasis>wget</emphasis> is a popular and portable download tool that can " +"run on nearly any machine. Unlike the method above this requires that the " +"Debian machine already has a list of available packages." msgstr "" -#. type: <p></p> -#: offline.sgml:190 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:199 msgid "" "The basic idea is to create a disc that has only the archive files " "downloaded from the remote site. This is done by using the --print-uris " @@ -8148,37 +7093,37 @@ msgid "" "packages." msgstr "" -#. type: <heading></heading> -#: offline.sgml:196 +#. type: Content of: <book><chapter><section><title> +#: offline.dbk:205 msgid "Operation" msgstr "" -#. type: <p><example> -#: offline.sgml:200 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:207 msgid "" "Unlike the previous technique no special configuration files are " "required. We merely use the standard APT commands to generate the file list." msgstr "" -#. type: <example></example> -#: offline.sgml:205 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:211 #, no-wrap msgid "" -" # apt-get dist-upgrade \n" +" # apt-get dist-upgrade\n" " [ Press no when prompted, make sure you are happy with the actions ]\n" -" # apt-get -qq --print-uris dist-upgrade > uris\n" -" # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script" +" # apt-get -qq --print-uris dist-upgrade > uris\n" +" # awk '{print \"wget -O \" $2 \" \" $1}' < uris > /disc/wget-script\n" msgstr "" -#. type: </example></p> -#: offline.sgml:210 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:217 msgid "" "Any command other than dist-upgrade could be used here, including " "dselect-upgrade." msgstr "" -#. type: <p></p> -#: offline.sgml:216 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:221 msgid "" "The /disc/wget-script file will now contain a list of wget commands to " "execute in order to fetch the necessary archives. This script should be run " @@ -8186,34 +7131,34 @@ msgid "" "output on the disc." msgstr "" -#. type: <p><example> -#: offline.sgml:219 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:227 msgid "The remote machine would do something like" msgstr "" -#. type: <example></example> -#: offline.sgml:223 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:230 #, no-wrap msgid "" " # cd /disc\n" " # sh -x ./wget-script\n" -" [ wait.. ]" +" [ wait.. ]\n" msgstr "" -#. type: </example><example> -#: offline.sgml:228 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:235 msgid "" "Once the archives are downloaded and the disc returned to the Debian machine " "installation can proceed using," msgstr "" -#. type: <example></example> -#: offline.sgml:230 +#. type: Content of: <book><chapter><section><screen> +#: offline.dbk:239 #, no-wrap -msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade" +msgid " # apt-get -o dir::cache::archives=\"/disc/\" dist-upgrade\n" msgstr "" -#. type: </example></p> -#: offline.sgml:234 +#. type: Content of: <book><chapter><section><para> +#: offline.dbk:242 msgid "Which will use the already fetched archives on the disc." msgstr ""