[Debian-astro-maintainers] Bug#995832: libhealpix-cxx3: missing Breaks+Replaces: libhealpix-cxx2 (>= 3.80)

Andreas Beckmann anbe at debian.org
Wed Oct 6 16:42:56 BST 2021


Package: libhealpix-cxx3
Version: 3.80.0-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
'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 .../libhealpix-cxx3_3.80.0-2_amd64.deb ...
  Unpacking libhealpix-cxx3:amd64 (3.80.0-2) ...
  dpkg: error processing archive /var/cache/apt/archives/libhealpix-cxx3_3.80.0-2_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libhealpix_cxx.so.3.0.2', which is also in package libhealpix-cxx2:amd64 3.80.0-1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libhealpix-cxx3_3.80.0-2_amd64.deb


The unusal >= relation is intended in this case, since the package is
co-installable with libhealpix-cxx2 in stable and testing, only the
version in sid which shipped the wrong soname is to be broken.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libhealpix-cxx2=3.80.0-1_libhealpix-cxx3=3.80.0-2.log.gz
Type: application/gzip
Size: 8784 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-astro-maintainers/attachments/20211006/fe8c5f8c/attachment.gz>


More information about the Debian-astro-maintainers mailing list