Your message dated Sun, 26 Mar 2017 09:48:45 +0000 with message-id <[email protected]> and subject line Bug#851951: fixed in libapt-pkg-perl 0.1.31 has caused the Debian Bug report #851951, regarding AptPkg::Cache: installed packages in TriggersAwaited or TriggersPending state have no CurrentState() at all! to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 851951: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=851951 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: libapt-pkg-perl Version: 0.1.29+b2 Severity: normal Hello, It looks like (according to a brief grep through the source) AptPkg hasn't been updated since dpkg gained triggers. root@narrows:/home/michael# dpkg -l libc6 libc-bin Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================================-===============================-===============================-============================================================================================================== it libc-bin 2.19-18+deb8u7 i386 GNU C Library: Binaries ii libc6:i386 2.19-18+deb8u7 i386 GNU C Library: Shared libraries root@narrows:/home/michael# cat test #!/usr/bin/perl -w use strict; use AptPkg::Cache; my $cache=AptPkg::Cache->new; my @packages=qw/libc6 libc-bin/; my $package='libc-bin'; foreach my $package (@packages) { my $info=$cache->{$package}; my $version=$info->{CurrentVer}{VerStr} or die "$package has no CurrentVer (is it even installed?)"; print "$package is version $version\n"; my $state=$info->{CurrentState} or die "$package has no CurrentState (wat)"; print "$package is in state $state\n"; } root@narrows:/home/michael# dpkg -l libc6 libc-bin Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-====================================================-===============================-===============================-============================================================================================================== it libc-bin 2.19-18+deb8u7 i386 GNU C Library: Binaries ii libc6:i386 2.19-18+deb8u7 i386 GNU C Library: Shared libraries root@narrows:/home/michael# ./test libc6 is version 2.19-18+deb8u7 libc6 is in state Installed libc-bin is version 2.19-18+deb8u7 libc-bin has no CurrentState (wat) at ./test line 16. Setting Dpkg::NoTriggers may help make reproducing this bug easier. The (untested!) beginnings of a suitable patch (which fixes only my problem) is attached. I'm also tempted to suggest that perhaps it would be better to return "Other" or "Unknown" instead of undef for unknown CurrentState values, but of course that's not my call. :) -- System Information: Debian Release: 8.7 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'oldstable-updates'), (500, 'stable'), (500, 'oldstable'), (487, 'testing-updates'), (487, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages libapt-pkg-perl depends on: ii libapt-pkg4.12 1.0.9.8.4 ii libc6 2.19-18+deb8u7 ii libgcc1 1:4.9.2-10 ii libstdc++6 4.9.2-10 ii perl-base [perlapi-5.20.0] 5.20.2-3+deb8u6 libapt-pkg-perl recommends no packages. libapt-pkg-perl suggests no packages. -- no debconf information
--- End Message ---
--- Begin Message ---Source: libapt-pkg-perl Source-Version: 0.1.31 We believe that the bug you reported is fixed in the latest version of libapt-pkg-perl, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Brendan O'Dea <[email protected]> (supplier of updated libapt-pkg-perl package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Sun, 26 Mar 2017 20:20:34 +1100 Source: libapt-pkg-perl Binary: libapt-pkg-perl Architecture: source i386 Version: 0.1.31 Distribution: unstable Urgency: medium Maintainer: Brendan O'Dea <[email protected]> Changed-By: Brendan O'Dea <[email protected]> Description: libapt-pkg-perl - Perl interface to libapt-pkg Closes: 851951 Changes: libapt-pkg-perl (0.1.31) unstable; urgency=medium . * Add support for triggers-pending, triggers-awaited states. Thanks to Michael Deegan for reporting (closes: #851951). * Also add support for Breaks and Enhances. Checksums-Sha1: 8a9954a7eb4dc76b2163417faf7479cb20b2f27e 1627 libapt-pkg-perl_0.1.31.dsc c27727c21bdccd75eb02de9651490c8760a2305f 42216 libapt-pkg-perl_0.1.31.tar.xz e586967afbd46bde34e14437063cf257df4a5691 216228 libapt-pkg-perl-dbgsym_0.1.31_i386.deb e7cce6b2f812c233701c105b200aeac0f9e9876d 5733 libapt-pkg-perl_0.1.31_i386.buildinfo 7dc9459c2e4ca889499f84a3e935253569551abe 71126 libapt-pkg-perl_0.1.31_i386.deb Checksums-Sha256: 078e6860cfc4d007ee023f0ab49c0814819f6f30e49977275bc43fa2e082d849 1627 libapt-pkg-perl_0.1.31.dsc cfc0a088e4eda113f3cf4212c879ac2a4aae24568932f57e2d1582dbb0596b58 42216 libapt-pkg-perl_0.1.31.tar.xz 92384de4800d2ab438ed57e1e7cfb456aae799505aba6ef5082189679d681d4b 216228 libapt-pkg-perl-dbgsym_0.1.31_i386.deb 8bdc3ba93ac2136b0ca210a33a9ee04b99aca974225ff7fca73d1a3467d2b76a 5733 libapt-pkg-perl_0.1.31_i386.buildinfo 4feacea6fa2480a26bfa33fe1aa5906cef6f25df9cb8d1b6b9793a4efb41730a 71126 libapt-pkg-perl_0.1.31_i386.deb Files: df09fd07cc5c04c5803ec01e01f59c2b 1627 perl optional libapt-pkg-perl_0.1.31.dsc af86d16bd8b9b791f1d509096514ec45 42216 perl optional libapt-pkg-perl_0.1.31.tar.xz 185975fbc26ba09d37cb5658e3922a3b 216228 debug extra libapt-pkg-perl-dbgsym_0.1.31_i386.deb 3669d7e7db4f720451d19784b0e62624 5733 perl optional libapt-pkg-perl_0.1.31_i386.buildinfo 628886d80d8b638d0e053db25634c240 71126 perl optional libapt-pkg-perl_0.1.31_i386.deb -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEUtWxWT1/2RRqWmMHHHxB7evdu2AFAljXjK0ACgkQHHxB7evd u2Bumw/9F2kMLGfy4UbL0/42gSY0FvGQZ4wCIkjEOhshpF8zWCGTxjFNVpZ8wI74 FETqjvR2OJ+dDEHoX+9AAaZfpnhqi1s09rgPRZh0sbVJuMlXeAj2w13WCfpi+ero yZIgh3UTZ4+gqI2/bI1RGLFuYwOuOc4RTpwQ3g8vFNLOT0EwXyATloW4CpRjArI6 nKqc6D8qesb2hWb2JvvILn4+eBB62JGxhSOleHeU3uUnZF0lYtg6vlMjLfF18R+r kM36RAq3M8JQ3j4cGlLfNyO1HWsyNSe4GPaVYYf+uIPuK7Ce7DtNzME0DaLt0t+y axDqvO6smNo/g/akVh3VWlNTWGDwYg29/QouGU0Mes0CTzmHD6MFzZqtUPRExPBx zc39DycLtre/yAO1WAyTwlnloDEQQqa31kiJXbRvJQCjhRCfeVmGOxbO4eGZHlpr KjbqzpLitSaS8yKb5+Zo7FvD7E0GS+vg5VHilWlLeH5MMK9Qwei3yQ56X7zxUCmm 5N9hGCb50p77bOa8SNs47fGBiZXixOQfTcF6B8l92eheMB0+HT2ao8QEm9WtGWBN eQCat4dBuNrPSvG9Z44ucxIrX9FQ/qWWT05weehbIz5jQxcjblOB13KslS5ZkPia KtC9h5K2353udUAts7vcc6Gu4RIUZCtcIXH6YbGB9O52ZqSRa7I= =AsXR -----END PGP SIGNATURE-----
--- End Message ---

