Bug#789339: perl: File conflict with libio-compress-perl (/usr/bin/zipdetails)

Dominic Hargreaves dom at earth.li
Fri Jun 19 22:57:00 UTC 2015


Package: perl
Version: 5.22.0~rc2-2
Severity: grave
User: debian-perl at lists.debian.org
Usertags: perl-5.22-transition
Justification: breaks installation of libio-compress-perl

With perl 5.22 (in particular commit 0c03dbe[1], the Replaces
libio-compress-perl has moved from perl to libperl5.22; however 
libio-compress-perl and perl both include /usr/bin/zipdetails, so
this Replaces had the effect of causing both to be coinstallable.
That's now lost and we have:

Unpacking libio-compress-perl (2.068-1) ...
dpkg: error processing archive /var/cache/apt/archives/libio-compress-perl_2.068-1_all.deb (--unpack):
 trying to overwrite '/usr/bin/zipdetails', which is also in package perl 5.22.0~rc2-2

Note: I think these unversioned Replaces should be reviewed even in
perl 5.20: in jessie, this causes the newer /usr/bin/zipdetails
from libio-compress-perl to be masked by the older one from perl which
is certainly not intended. The problem here is that Replaces has too
meanings, and it was having the effect described in policy 7.6.1 when
it was probably meant to have the effect of policy 7.6.2. Possibly
all scripts supplied with dual-lived modules should have alternatives
in place instead, as we have done with other packages.

Dominic.

[1] http://anonscm.debian.org/cgit/perl/perl.git/commit/?h=debian-5.22&id=0c03dbe256e9092939c965d1dd4014a25329f669




More information about the Perl-maintainers mailing list