Hi Andreas, thanks for detailed analysis. As the dpkg-divert is there only because of Ubuntu 15.10 backports, I think the best path would be just to drop (or wrap) the dpkg-divert altogether as it's only an ugly hack anyway ;).
Cheers, -- Ondřej Surý <ond...@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server Vše pro chleba (https://vseprochleba.cz) – Potřeby pro pečení chleba všeho druhu On Fri, May 6, 2016, at 07:42, Andreas Beckmann wrote: > Followup-For: Bug #823515 > > Hi, > > during a test with piuparts I noticed some strange behavior w.r.t. the > /usr/bin/phar alternative. After an upgrade from stretch to sid (which > both have the same version of php7.0-cli), the /usr/bin/phar alternative > is not cleaned up. This is not reproducible by just installing the > package in either sid or stretch. An indication from the logfile is > php-common diverting /usr/bin/phar on the upgrade from stretch to sid > *after* php7.0-cli had set up an alternative there in stretch already. > This most likely seems to clash in some way, so there should be a > Depends on php-common (>= 1:37) to ensure the diversion is in place > before the alternative is set up. > > > Andreas > > _______________________________________________ > pkg-php-maint mailing list > pkg-php-ma...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint