Your message dated Fri, 11 Dec 2015 12:49:41 +0000
with message-id <e1a7n8n-00018x...@franck.debian.org>
and subject line Bug#807647: fixed in perl 5.22.1~rc4-2
has caused the Debian Bug report #807647,
regarding perl/experimental: trigger cycle on upgrades
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 ow...@bugs.debian.org
immediately.)


-- 
807647: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807647
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: perl
Version: 5.22.1~rc4-1
Severity: serious
Tags: patch

When spamassassin is installed, upgrading perl et al. from sid/5.20
to experimental/5.22.1~rc4-1 breaks due to a trigger cycle, see below.

I believe perl.postinst should trigger 'perl-major-upgrade' with
'noawait'. Quoting deb-triggers(5):

   The “-noawait” variants should always be favored when possible
   since triggering packages are not put in triggers-awaited state and
   can thus be immediately configured without requiring the processing
   of  the trigger.   If  the  triggering  packages  are dependencies of
   other upgraded packages, it will avoid an early trigger processing
   run and make it possible to run the trigger only once as one of the
   last steps of the upgrade.

It seems sensible that perl configuration shouldn't wait for spamassassin
to recompile its ruleset.

I've tested locally that

--- a/debian/perl.postinst
+++ b/debian/perl.postinst
@@ -21,7 +21,7 @@ then
        [ -n "$2" ] && \
        dpkg --compare-versions "$2" lt 5.21.9
     then
-        dpkg-trigger perl-major-upgrade
+        dpkg-trigger --no-await perl-major-upgrade
     fi
 fi

makes the problem go away.

  Setting up perl (5.22.1~rc4-1) ...
  dpkg: cycle found while processing triggers:
   chain of packages whose triggers are or may be responsible:
    spamassassin -> spamassassin
   packages' pending triggers which are or may be unresolvable:
    sa-compile: perl-major-upgrade
    libc-bin: ldconfig
    spamassassin: perl-major-upgrade
  dpkg: error processing package sa-compile (--configure):
   triggers looping, abandoned
  dpkg: cycle found while processing triggers:
   chain of packages whose triggers are or may be responsible:
    spamassassin -> spamassassin -> spamassassin
   packages' pending triggers which are or may be unresolvable:
    libc-bin: ldconfig
    spamassassin: perl-major-upgrade
  dpkg: error processing package libc-bin (--configure):
   triggers looping, abandoned
  dpkg: cycle found while processing triggers:
   chain of packages whose triggers are or may be responsible:
    spamassassin -> spamassassin -> spamassassin -> spamassassin -> 
spamassassin -> spamassassin
   packages' pending triggers which are or may be unresolvable:
    spamassassin: perl-major-upgrade
  dpkg: error processing package spamassassin (--configure):
   triggers looping, abandoned
  Setting up libnet-ssleay-perl (1.72-1+b2) ...
  Setting up libhtml-parser-perl (3.71-2+b1) ...
  Setting up libnet-dns-perl (0.81-2+b1) ...
  Setting up libsocket6-perl (0.25-1+b2) ...
  Setting up libnetaddr-ip-perl (4.078+dfsg-1+b1) ...
  Errors were encountered while processing:
   sa-compile
   libc-bin
   spamassassin

-- 
Niko Tyni   nt...@debian.org

--- End Message ---
--- Begin Message ---
Source: perl
Source-Version: 5.22.1~rc4-2

We believe that the bug you reported is fixed in the latest version of
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 807...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Niko Tyni <nt...@debian.org> (supplier of updated 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Fri, 11 Dec 2015 13:41:55 +0200
Source: perl
Binary: perl-base perl-doc perl-debug libperl5.22 libperl-dev perl-modules-5.22 
perl
Architecture: source
Version: 5.22.1~rc4-2
Distribution: experimental
Urgency: low
Maintainer: Niko Tyni <nt...@debian.org>
Changed-By: Niko Tyni <nt...@debian.org>
Description:
 libperl-dev - Perl library: development files
 libperl5.22 - shared Perl library
 perl       - Larry Wall's Practical Extraction and Report Language
 perl-base  - minimal Perl system
 perl-debug - debug-enabled Perl interpreter
 perl-doc   - Perl documentation
 perl-modules-5.22 - Core Perl modules
Closes: 807647
Changes:
 perl (5.22.1~rc4-2) experimental; urgency=low
 .
   * Activate the "perl-major-upgrade" trigger in "noawait" mode.
     (Closes: #807647)
Checksums-Sha1:
 314a0f6baa508e07cb19aec88db4a9d91973bc55 2345 perl_5.22.1~rc4-2.dsc
 16531a082b33145b86c003192d08a308c0f0f152 110384 perl_5.22.1~rc4-2.debian.tar.xz
Checksums-Sha256:
 fd0f0a652ee005636f5c494118f1056cebb40418dfadabe3bb26c38cf6b86560 2345 
perl_5.22.1~rc4-2.dsc
 7e6fb0e70aa5dcc22eec028bbb391b428dc374a0a677a742408e06b9d21c36fd 110384 
perl_5.22.1~rc4-2.debian.tar.xz
Files:
 3121015f8dcbb56d9bb42b3b9709579e 2345 perl standard perl_5.22.1~rc4-2.dsc
 d478ab0b628eefc0bdac1ab6de1532c3 110384 perl standard 
perl_5.22.1~rc4-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWasHkAAoJEC7A/7O3MBsfLjkP/1LYo98+XMKJ5ZFqylCpcroj
Ts2/YiEToWzbb/6q6Tq0Wthn4bxpyvKP3t6sERDpUQYm1jHwnlBiyQNmEsnGykY+
s5jTC0IMZLxt9XRdMh1tj8c8IO7+CiQ4E7mKdpjyJb8qvfC5cFhFdJib1ZsMTgit
q8Va976OFchG3Z64Ym0SygjUbcfYa+xRLFW8LOX9XvyY0oYU9DbxEgbsng9PTYQa
fIJ/MMHE9gWSHhL8WeanuxAsYWk+84F8EZd6P09+Xtzk3Mr4CuCOhuICdX/NHKKO
K1BXTE737G3EVRmUO7kmvdHtX11/iev2eKsLsfO5V+sbXV9I6crp0N1wA5fbd3WP
scXpOe6NDXBXYjcgKdbpEiFzC81IFE04FppiRz8KsgJXN+TfC9Lutznu5ll1P0ep
8NWxk/kctwSYoLdVPnm4RZOqfr0pQJVN5NapyueTIa4DWiTLJVphuRW5fy51iLlD
uCc07GJwphi4YaDw8Yw/sbSLcCiaU05MAsMAt4VhTZUHhVUVEz8ZgOebUEfZHe8G
oVvaeCRatwl7VuPZMhC0QGBS582qoPOqK6CUXRUm+ao12w0psnjaWgD0CzwcjqwG
zHXC4FfOOvKQfSb4I7lKicJIaTyT/1+4h8gD8GB87d7ZEFOVd0YeFNcuujNwjZfF
3uispT0ncb/L8ZFAjmwT
=raej
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to