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

2022-11-15 Thread Aaron M. Ucko
Andreas Beckmann  writes:

> during a test with piuparts I noticed your package fails to upgrade from
> 'sid' to 'experimental'.

Good catch, thanks!

-- 
Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org)
http://www.mit.edu/~amu/ | http://stuff.mit.edu/cgi/finger/?a...@monk.mit.edu



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

2022-11-15 Thread Andreas Beckmann
Package: libngs-c++-dev
Version: 3.0.0+dfsg-1
Severity: serious
User: debian...@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


libncbi-vdb-dev=2.11.2+dfsg-6_libngs-c++-dev=3.0.0+dfsg-1.log.gz
Description: application/gzip