Package: libcupt-perl Version: 1.5.13 Severity: normal After completing my policy handling in APT2 (or whatever it will be called), I tested the result against APT and cupt. This showed me that cupt seems to have a bug which may be related to the fact that a specific package is pinned using a 'Pin: release':
APT shows the following: ======================== j...@hp:~/Desktop/playground/debpkg2:master$ apt-cache policy mplayer mplayer: Installed: 2:1.0~rc3+svn20100603-0.0 Candidate: 2:1.0~rc3+svn20100603-0.0 Package pin: 2:1.0~rc3+svn20100603-0.0 Version table: *** 2:1.0~rc3+svn20100603-0.0 1990 250 http://debian-multimedia.org sid/main Packages 100 /var/lib/dpkg/status 2:1.0~rc3+svn20100502-3 1990 990 http://localhost sid/main Packages Internal APT2 prototype shows: ============================== j...@hp:~/Desktop/playground/debpkg2:master$ ./apt mplayer mplayer: Installed: 2:1.0~rc3+svn20100603-0.0 Candidate: 2:1.0~rc3+svn20100603-0.0 Version table: *** 2:1.0~rc3+svn20100603-0.0 1990 250 http://debian-multimedia.org/ unstable/main (trusted) 100 /var/lib/dpkg/status now/ (untrusted) 2:1.0~rc3+svn20100502-3 990 990 http://localhost:3142/debian/ unstable/main (trusted) Whereas cupt shows: =================== j...@hp:~/Desktop/playground/debpkg2:master$ cupt policy mplayer W: attempt to set wrong option 'Dir::Log::History' mplayer: Installed: 2:1.0~rc3+svn20100603-0.0 Candidate: 2:1.0~rc3+svn20100603-0.0 Version table: *** 2:1.0~rc3+svn20100603-0.0 251 /var/lib/dpkg/status installed/ (unsigned) http://debian-multimedia.org unstable/main (signed) 2:1.0~rc3+svn20100502-3 -1009 http://localhost:3142/debian unstable/main (signed) Summary ======= There appear to be two problems here: 1) The pin for the debian-multimedia.org version is not applied 2) The pin for the Debian version is -1009 although o=Debian is pinned at 990. -- System Information: Debian Release: lenny/sid APT prefers experimental APT policy: (990, 'experimental'), (990, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages libcupt-perl depends on: ii liblist-moreutils-perl 0.25~02-1 Perl module with additional list f ii libparse-recdescent-perl 1.965001+dfsg-1 Perl module to create and use recu ii libterm-size-perl 0.2-4+b1 Perl extension for retrieving term ii liburi-perl 1.54-1 module to manipulate and access UR ii libwww-curl-perl 4.11-1 Perl bindings to libcurl ii perl [libdigest-sha-perl 5.10.1-13 Larry Wall's Practical Extraction Versions of packages libcupt-perl recommends: ii bzip2 1.0.5-4 high-quality block-sorting file co ii gpgv 1.4.10-4 GNU privacy guard - signature veri ii liblocale-gettext-perl 1.05-6 Using libc functions for internati Versions of packages libcupt-perl suggests: ii cupt 1.5.13 alternative front-end for dpkg -- pn debdelta <none> (no description available) ii dpkg-dev 1.15.7.2 Debian package development tools pn dpkg-repack <none> (no description available) ii lzma 4.43-14 Compression method of 7z format in -- no debconf information -- Julian Andres Klode - Debian Developer, Ubuntu Member See http://wiki.debian.org/JulianAndresKlode and http://jak-linux.org/.
# Our default release is stable Package: * Pin: release o=Debian Pin-Priority: 990 # We want to install from here if not in lenny Package: * Pin: release o=Debian, a=unstable Pin-Priority: 990 Package: * Pin: release o=Debian, a=experimental Pin-Priority: 350 Package: * Pin: release a=kernel-dists-trunk Pin-Priority: 300 Package: * Pin: release a=lucid Pin-Priority: 350 # Install from Debian Multimedia only if not in Debian. Package: * Pin: release o=Unofficial Multimedia Packages, a=stable Pin-Priority: 300 Package: * Pin: release o=Unofficial Multimedia Packages, a=unstable Pin-Priority: 250 Package: * Pin: release o=Unofficial Multimedia Packages, a=experimental Pin-Priority: 200 Package: hal hal-info Pin: version * Pin-Priority: -100 Package: mplayer mencoder Pin: release o=Unofficial Multimedia Packages, a=unstable Pin-Priority: 1990 #Package: test-essential #Pin: version 0.0-0 #Pin-Priority: -1
pgpY78uimGzlP.pgp
Description: PGP signature