[Debian-med-packaging] Bug#948849: diamond-aligner: missing Breaks+Replaces: diamond

Andreas Beckmann anbe at debian.org
Mon Jan 13 22:49:04 GMT 2020


Package: diamond-aligner
Version: 0.9.29+dfsg-2
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stable'.
It installed fine in 'stable', then the upgrade to 'sid' 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

This test intentionally skipped 'testing' to find file overwrite
problems before packages migrate from 'unstable' to 'testing'.

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

  Preparing to unpack .../diamond-aligner_0.9.29+dfsg-2_amd64.deb ...
  Unpacking diamond-aligner (0.9.29+dfsg-2) ...
  dpkg: error processing archive /var/cache/apt/archives/diamond-aligner_0.9.29+dfsg-2_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/diamond', which is also in package diamond 4.0.515-5
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/diamond-aligner_0.9.29+dfsg-2_amd64.deb

The diamond package which shipped /usr/bin/diamond in buster no longer
exists in bullseye and sid, thus diamond-aligner is free to take over
the command name, but it needs to ensure that the obsolete package
gets removed.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diamond=4.0.515-5_diamond-aligner=0.9.29+dfsg-2.log.gz
Type: application/gzip
Size: 9100 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20200113/a966712c/attachment.gz>


More information about the Debian-med-packaging mailing list