[Debian-med-packaging] Bug#974045: libismrmrd1.4: missing Breaks+Replaces: libismrmrd1.3 (>= 1.4)

Andreas Beckmann anbe at debian.org
Mon Nov 9 12:31:46 GMT 2020


Package: libismrmrd1.4
Version: 1.4.2.1-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
'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 .../libismrmrd1.4_1.4.2.1-2_amd64.deb ...
  Unpacking libismrmrd1.4:amd64 (1.4.2.1-2) ...
  dpkg: error processing archive /var/cache/apt/archives/libismrmrd1.4_1.4.2.1-2_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libismrmrd.so.1.4', which is also in package libismrmrd1.3:amd64 1.4.0-1+b2
  Errors were encountered while processing:
   /var/cache/apt/archives/libismrmrd1.4_1.4.2.1-2_amd64.deb

The versioned constraint (>= 1.4) is unusual but correct in this case,
since the SONAME bump in 1.4 was not accompanied by the mandatory package
rename. Packages built against 1.4.0 have a dependency on
libismrmrd1.3 (>= 1.4.0), thus the oldstable version libismrmrd1.3 (1.3.3-1+b1)
cannot be used to satisfy that and it can be kept co-installable with
libismrmrd1.4


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libismrmrd1.3=1.4.0-1+b2_libismrmrd1.4=1.4.2.1-2.log.gz
Type: application/gzip
Size: 12568 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20201109/5b6dd710/attachment.gz>


More information about the Debian-med-packaging mailing list