Hi Andreas,

thanks for taking care of QA, I always appreciate your bug reports.

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

While I agree that both packages conflict, I'm not sure if proposing a Breaks+Replaces is the proper solution here (and in general). Normally we want to have the library packages to be coinstallable and thus the packages only provide non conflicting files. Could you maybe adopt your template to mention that this hints to a problem in the package and propose to look into resolving the conflict as an alternative solution?

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

These seem to dumps of the provided symbols. I did a quick test with pcl_viewer from the pcl-tools package and removing the hierarchy/ folder doesn't change the behaviour, So I assume we can drop the folder (or move it to the -dev package, maybe).

Cheers Jochen

* Andreas Beckmann <a...@debian.org> [2021-12-21 09:27]:
Package: libvtk9.1
Version: 9.1.0+really9.1.0+dfsg2-3~exp1
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 .../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


--
debian-science-maintainers mailing list
debian-science-maintain...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Attachment: signature.asc
Description: PGP signature

Reply via email to