[Debian-med-packaging] Bug#1024155: libngs-c++-dev: missing Breaks+Replaces: libncbi-vdb-dev (<< 3), libngs-sdk-dev (<< 3)

Andreas Beckmann anbe at debian.org
Tue Nov 15 17:06:19 GMT 2022


Package: libngs-c++-dev
Version: 3.0.0+dfsg-1
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
'sid' to 'experimental'.
It installed fine in 'sid', then the upgrade to 'experimental' fails
because it tries to overwrite other packages files without declaring a
Breaks+Replaces relation.
This error may also be triggered by having a predecessor package from
'sid 'installed while installing the package from 'experimental'.

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 .../libngs-c++-dev_3.0.0+dfsg-1_amd64.deb ...
  Unpacking libngs-c++-dev:amd64 (3.0.0+dfsg-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libngs-c++-dev_3.0.0+dfsg-1_amd64.deb (--unpack):
   trying to overwrite '/usr/include/ngs/Alignment.hpp', which is also in package libngs-sdk-dev:amd64 2.11.2-4
  Errors were encountered while processing:
   /var/cache/apt/archives/libngs-c++-dev_3.0.0+dfsg-1_amd64.deb

  Preparing to unpack .../libngs-c++-dev_3.0.0+dfsg-1_amd64.deb ...
  Unpacking libngs-c++-dev:amd64 (3.0.0+dfsg-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libngs-c++-dev_3.0.0+dfsg-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libncbi-ngs-c++.a', which is also in package libncbi-vdb-dev:amd64 2.11.2+dfsg-6
  Errors were encountered while processing:
   /var/cache/apt/archives/libngs-c++-dev_3.0.0+dfsg-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libncbi-vdb-dev=2.11.2+dfsg-6_libngs-c++-dev=3.0.0+dfsg-1.log.gz
Type: application/gzip
Size: 11881 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20221115/43693daa/attachment-0001.gz>


More information about the Debian-med-packaging mailing list