[Debian-med-packaging] Bug#940210: ncbi-cn3d: missing Breaks+Replaces: ncbi-tools-x11 (<< 6.1.20170106+dfsg1-5)

Andreas Beckmann anbe at debian.org
Fri Sep 13 23:51:36 BST 2019


Package: ncbi-cn3d
Version: 3.0.20170106+dfsg1-5
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
'testing'.
It installed fine in 'testing', 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

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

  Preparing to unpack .../ncbi-cn3d_3.0.20170106+dfsg1-6_amd64.deb ...
  Unpacking ncbi-cn3d (3.0.20170106+dfsg1-6) ...
  dpkg: error processing archive /var/cache/apt/archives/ncbi-cn3d_3.0.20170106+dfsg1-6_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/Cn3D-3.0', which is also in package ncbi-tools-x11 6.1.20170106+dfsg1-4
  Errors were encountered while processing:
   /var/cache/apt/archives/ncbi-cn3d_3.0.20170106+dfsg1-6_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ncbi-tools-x11=6.1.20170106+dfsg1-4_ncbi-cn3d=3.0.20170106+dfsg1-6.log.gz
Type: application/gzip
Size: 12461 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20190914/e8245dcc/attachment.gz>


More information about the Debian-med-packaging mailing list