diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2013-06-26 17:37:57 +0200 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2013-07-11 18:34:21 +0200 |
commit | 7a948ec719ecc020c2337fe3f41c5fc42699e2c1 (patch) | |
tree | ce9fa8cb9a5c7bce34fa513c34ad8559813da332 /doc/apt.conf.5.xml | |
parent | 90b9659c9a959601d5ed1cc77f7c8b9e0d5b8939 (diff) |
Version 3 for DPkg::Pre-Install-Pkgs with MultiArch info
Adds on top of Version 2 to all displayed version numbers the
architecture as well as the MultiArch flag for consumption by the hooks.
Most of the time the architecture will be the same for both versions
displayed, but packages might change from "all" to "any" (or back)
between versions so we can't display the architecture for packages.
Pseudo-Format for Version 3:
<name> <version> <arch> <m-a-flag> <compare> <version> <arch> <m-a-flag>
Examples:
stuff - - none < 1 amd64 none **CONFIGURE**
libsame 1 i386 same < 2 i386 same **CONFIGURE**
stuff 2 i386 none > 1 i386 none **CONFIGURE**
libsame 2 i386 same > - - none **REMOVE**
toolkit 1 all foreign > - - none **REMOVE**
Closes: #712116
Diffstat (limited to 'doc/apt.conf.5.xml')
-rw-r--r-- | doc/apt.conf.5.xml | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/doc/apt.conf.5.xml b/doc/apt.conf.5.xml index 3cf3136d3..9973fe42b 100644 --- a/doc/apt.conf.5.xml +++ b/doc/apt.conf.5.xml @@ -688,11 +688,17 @@ DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt";}; will abort. APT will pass the filenames of all .deb files it is going to install to the commands, one per line on standard input.</para> - <para>Version 2 of this protocol dumps more information, including the + <para>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>.</para></listitem> + and versions being changed. Version 3 adds the architecture and <literal>MultiArch</literal> + flag to each version being dumped.</para> + + <para>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. + </para></listitem> </varlistentry> <varlistentry><term><option>Run-Directory</option></term> |