[Cupt-devel] Bug#725979: cupt: Support version 3 of apt's Pre-Install-Pkgs

James McCoy jamessan at debian.org
Thu Oct 10 15:06:16 UTC 2013


Package: cupt
Version: 2.6.1
Severity: wishlist

Support for version 3 requires a few changes.

- The version header line should be "VERSION 3"
- The native architecture should be emitted as "APT::Architecture=..."
- The description line for each package is broken into the following fields:
  pkg_name old_ver old_arch old_ma direction new_ver new_arch new_ma filename/action

Independent of this, apt also grew the ability to specify that a tool should
receive this information on a specific fd.

- The tool can request that it receives this info on a specific fd via
  DPkg::Tools::options::cmd::InfoFd.  If this is set, APT_HOOK_INFO_FD should be
  set in the environment that runs the tool so that it can determine what fd to
  open.

See the following commits in apt for more information.

http://anonscm.debian.org/gitweb/?p=apt/apt.git;a=commit;h=48498443e74b2a7e089709b954c50b7df374684b
http://anonscm.debian.org/gitweb/?p=apt/apt.git;a=commit;h=7a948ec719ecc020c2337fe3f41c5fc42699e2c1

apt-listbugs' implementation of support for this may also be of use:

http://sources.debian.net/src/apt-listbugs/0.1.11/apt-listbugs#L317

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (200, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.10-3-486
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cupt depends on:
ii  libboost-program-options1.54.0  1.54.0-3
ii  libc6                           2.17-93
ii  libcupt3-0                      2.6.1
ii  libgcc1                         1:4.8.1-10
ii  libstdc++6                      4.8.1-10

cupt recommends no packages.

Versions of packages cupt suggests:
ii  libreadline6    6.2+dfsg-0.1
ii  sensible-utils  0.0.9

-- no debconf information



More information about the Cupt-devel mailing list