Bug#1016509: libgetfem-dev, libgetfem5, libgmm-dev: missing Breaks+Replaces on their getfem++ counterparts

Andreas Beckmann anbe at debian.org
Tue Aug 2 06:25:12 BST 2022


Package: libgetfem-dev,libgetfem5,libgmm-dev
Version: 5.4.1+dfsg1-1
Severity: serious
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install
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 .../libgetfem5_5.4.1+dfsg1-1_amd64.deb ...
  Unpacking libgetfem5:amd64 (5.4.1+dfsg1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libgetfem5_5.4.1+dfsg1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/libgetfem.so.5', which is also in package libgetfem5++:amd64 5.3+dfsg1-4.2
  Preparing to unpack .../libgmm-dev_5.4.1+dfsg1-1_amd64.deb ...
  Unpacking libgmm-dev (5.4.1+dfsg1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libgmm-dev_5.4.1+dfsg1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/include/gmm/getfem_arch_config.h', which is also in package libgmm++-dev 5.3+dfsg1-4.2
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Preparing to unpack .../libgetfem-dev_5.4.1+dfsg1-1_amd64.deb ...
  Unpacking libgetfem-dev (5.4.1+dfsg1-1) ...
  dpkg: error processing archive /var/cache/apt/archives/libgetfem-dev_5.4.1+dfsg1-1_amd64.deb (--unpack):
   trying to overwrite '/usr/bin/getfem-config', which is also in package libgetfem++-dev 5.3+dfsg1-4.2
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libgetfem5_5.4.1+dfsg1-1_amd64.deb
   /var/cache/apt/archives/libgmm-dev_5.4.1+dfsg1-1_amd64.deb
   /var/cache/apt/archives/libgetfem-dev_5.4.1+dfsg1-1_amd64.deb


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgetfem++-dev=5.3+dfsg1-4.2_libgetfem-dev=5.4.1+dfsg1-1.log.gz
Type: application/gzip
Size: 21468 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20220802/a0e9d006/attachment-0001.gz>


More information about the debian-science-maintainers mailing list