Bug#1002063: libvtk9.1: missing Breaks+Replaces: libvtk9 (<< 9.1.0+really9.1.0)

Andreas Beckmann anbe at debian.org
Tue Dec 21 08:27:29 GMT 2021


Package: libvtk9.1
Version: 9.1.0+really9.1.0+dfsg2-3~exp1
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 .../libvtk9.1_9.1.0+really9.1.0+dfsg2-3~exp1_amd64.deb ...
  Unpacking libvtk9.1:amd64 (9.1.0+really9.1.0+dfsg2-3~exp1) ...
  dpkg: error processing archive /var/cache/apt/archives/libvtk9.1_9.1.0+really9.1.0+dfsg2-3~exp1_amd64.deb (--unpack):
   trying to overwrite '/usr/lib/x86_64-linux-gnu/vtk/hierarchy/VTK/vtkChartsCore-hierarchy.txt', which is also in package libvtk9:amd64 9.1.0+really9.0.3+dfsg1-4+b1
  dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/libvtk9.1_9.1.0+really9.1.0+dfsg2-3~exp1_amd64.deb

There are a lot of conflicting files:
/usr/lib/<triplet>/vtk/hierarchy/VTK/vtk*.txt

cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvtk9=9.1.0+really9.0.3+dfsg1-4+b1_libvtk9.1=9.1.0+really9.1.0+dfsg2-3~exp1.log.gz
Type: application/gzip
Size: 17899 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20211221/9c2c9ac9/attachment-0001.gz>


More information about the debian-science-maintainers mailing list