Bug#984528: libcod-tools-perl: missing Breaks+Replaces: cod-tools (<< 3)

Andreas Beckmann anbe at debian.org
Thu Mar 4 17:19:48 GMT 2021


Package: libcod-tools-perl
Version: 3.1.0+dfsg-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + cod-tools

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'buster'.
It installed fine in 'buster', then the upgrade to 'bullseye' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.

See policy 7.6 at
https://www.debian.org/doc/debian-policy/ch-relationships.html#overwriting-files-and-replacing-packages-replaces

>From the attached log (scroll to the bottom...):

  Selecting previously unselected package libcod-tools-perl.
  Preparing to unpack .../00-libcod-tools-perl_3.1.0+dfsg-1+b4_amd64.deb ...
  Unpacking libcod-tools-perl (3.1.0+dfsg-1+b4) ...
  dpkg: error processing archive /tmp/apt-dpkg-install-R97pg5/00-libcod-tools-perl_3.1.0+dfsg-1+b4_amd64.deb (--unpack):
   trying to overwrite '/usr/share/perl5/COD/Algebra/JacobiEigen.pm', which is also in package cod-tools 2.3+dfsg-3
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Preparing to unpack .../01-cod-tools_3.1.0+dfsg-1+b4_amd64.deb ...
  Unpacking cod-tools (3.1.0+dfsg-1+b4) over (2.3+dfsg-3) ...


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cod-tools_3.1.0+dfsg-1+b4.log.gz
Type: application/gzip
Size: 35289 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20210304/9d1302b3/attachment-0001.gz>


More information about the debian-science-maintainers mailing list