[Debian-med-packaging] Bug#926430: libcamitk-dev: upgrading from stretch needs Breaks against vtk6

Andreas Beckmann anbe at debian.org
Fri Apr 5 02:08:25 BST 2019


Package: libcamitk-dev
Version: 4.1.2-2
Severity: serious
Tags: patch
User: debian-qa at lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stretch'.
It installed fine in 'stretch', then the upgrade to 'buster' fails.

>From the attached log (scroll to the bottom...):

  Investigating (0) libvtk7-java:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-java:amd64 Breaks on libvtk6-java:amd64 < 6.3.0+dfsg1-5 -> 6.3.0+dfsg2-2+b5 @ii umU >
    Considering libvtk6-java:amd64 1 as a solution to libvtk7-java:amd64 1
    Holding Back libvtk7-java:amd64 rather than change libvtk6-java:amd64
  Investigating (0) libvtk7-dev:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-dev:amd64 Depends on libvtk7-java:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH > (= 7.1.1+dfsg1-12+b1)
    Considering libvtk7-java:amd64 1 as a solution to libvtk7-dev:amd64 1
    Holding Back libvtk7-dev:amd64 rather than change libvtk7-java:amd64
  Investigating (0) libvtk7-jni:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-jni:amd64 Breaks on libvtk6-jni:amd64 < 6.3.0+dfsg1-5 -> 6.3.0+dfsg2-2+b5 @ii umU >
    Considering libvtk6-jni:amd64 0 as a solution to libvtk7-jni:amd64 0
    Holding Back libvtk7-jni:amd64 rather than change libvtk6-jni:amd64
  Investigating (0) libcamitk-dev:amd64 < 4.0.4-2 -> 4.1.2-2+b1 @ii umU Ib >
  Broken libcamitk-dev:amd64 Depends on libvtk7-dev:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH >
    Considering libvtk7-dev:amd64 1 as a solution to libcamitk-dev:amd64 0
    Removing libcamitk-dev:amd64 rather than change libvtk7-dev:amd64
  Investigating (0) libvtk7-qt-dev:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-qt-dev:amd64 Depends on libvtk7-dev:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH > (= 7.1.1+dfsg1-12+b1)
    Considering libvtk7-dev:amd64 1 as a solution to libvtk7-qt-dev:amd64 0
    Holding Back libvtk7-qt-dev:amd64 rather than change libvtk7-dev:amd64

  The following packages will be REMOVED:
    libboost1.62-dev libcamitk-dev libcurl3 libhdf5-100 libhdf5-cpp-100
    libhdf5-openmpi-100 libinsighttoolkit4.10 libmariadbclient-dev-compat
    libnetcdf11 libssl1.0-dev

Removal during the stretch->buster distupgrade is a suboptimal
solution, but trying to install the package afterwards fails as well:

  Investigating (0) libvtk6-dev:amd64 < 6.3.0+dfsg2-2+b5 @ii gK Ib >
  Broken libvtk6-dev:amd64 Depends on libvtk6-java:amd64 < 6.3.0+dfsg2-2+b5 @ii gR > (= 6.3.0+dfsg2-2+b5)
    Considering libvtk6-java:amd64 -1 as a solution to libvtk6-dev:amd64 1
    Added libvtk6-java:amd64 to the remove list
    Fixing libvtk6-dev:amd64 via keep of libvtk6-java:amd64
  Investigating (0) libvtk7-java:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-java:amd64 Breaks on libvtk6-java:amd64 < 6.3.0+dfsg2-2+b5 @ii gK Ib >
    Considering libvtk6-java:amd64 -1 as a solution to libvtk7-java:amd64 1
    Added libvtk6-java:amd64 to the remove list
    Fixing libvtk7-java:amd64 via remove of libvtk6-java:amd64
  Investigating (1) libvtk6-dev:amd64 < 6.3.0+dfsg2-2+b5 @ii gK Ib >
  Broken libvtk6-dev:amd64 Depends on libvtk6-java:amd64 < 6.3.0+dfsg2-2+b5 @ii gR > (= 6.3.0+dfsg2-2+b5)
    Considering libvtk6-java:amd64 -1 as a solution to libvtk6-dev:amd64 1
    Added libvtk6-java:amd64 to the remove list
    Fixing libvtk6-dev:amd64 via keep of libvtk6-java:amd64
  Investigating (1) libvtk7-java:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-java:amd64 Breaks on libvtk6-java:amd64 < 6.3.0+dfsg2-2+b5 @ii gK Ib >
    Considering libvtk6-java:amd64 -1 as a solution to libvtk7-java:amd64 1
    Added libvtk6-java:amd64 to the remove list
    Fixing libvtk7-java:amd64 via remove of libvtk6-java:amd64
  Investigating (2) libvtk6-dev:amd64 < 6.3.0+dfsg2-2+b5 @ii gK Ib >
  Broken libvtk6-dev:amd64 Depends on libvtk6-java:amd64 < 6.3.0+dfsg2-2+b5 @ii gR > (= 6.3.0+dfsg2-2+b5)
    Considering libvtk6-java:amd64 -1 as a solution to libvtk6-dev:amd64 1
    Added libvtk6-java:amd64 to the remove list
    Fixing libvtk6-dev:amd64 via keep of libvtk6-java:amd64
  Investigating (2) libvtk7-java:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-java:amd64 Breaks on libvtk6-java:amd64 < 6.3.0+dfsg2-2+b5 @ii gK Ib >
    Considering libvtk6-java:amd64 1 as a solution to libvtk7-java:amd64 1
    Holding Back libvtk7-java:amd64 rather than change libvtk6-java:amd64
  Investigating (2) libvtk6-java:amd64 < 6.3.0+dfsg2-2+b5 @ii gK Ib >
  Broken libvtk6-java:amd64 Depends on libvtk6-jni:amd64 < 6.3.0+dfsg2-2+b5 @ii gR > (= 6.3.0+dfsg2-2+b5)
    Considering libvtk6-jni:amd64 -1 as a solution to libvtk6-java:amd64 1
    Added libvtk6-jni:amd64 to the remove list
    Fixing libvtk6-java:amd64 via keep of libvtk6-jni:amd64
  Investigating (3) libvtk7-dev:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-dev:amd64 Depends on libvtk7-java:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH > (= 7.1.1+dfsg1-12+b1)
    Considering libvtk7-java:amd64 1 as a solution to libvtk7-dev:amd64 1
    Holding Back libvtk7-dev:amd64 rather than change libvtk7-java:amd64
  Investigating (3) libvtk7-jni:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-jni:amd64 Breaks on libvtk6-jni:amd64 < 6.3.0+dfsg2-2+b5 @ii gK >
    Considering libvtk6-jni:amd64 1 as a solution to libvtk7-jni:amd64 0
    Holding Back libvtk7-jni:amd64 rather than change libvtk6-jni:amd64
  Investigating (3) libvtk7-qt-dev:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-qt-dev:amd64 Depends on libvtk7-dev:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH > (= 7.1.1+dfsg1-12+b1)
    Considering libvtk7-dev:amd64 1 as a solution to libvtk7-qt-dev:amd64 0
    Holding Back libvtk7-qt-dev:amd64 rather than change libvtk7-dev:amd64
  Investigating (4) libcamitk-dev:amd64 < none -> 4.1.2-2+b1 @un puN Ib >
  Broken libcamitk-dev:amd64 Depends on libvtk7-dev:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH >
    Considering libvtk7-dev:amd64 1 as a solution to libcamitk-dev:amd64 9999
    Re-Instated libvtk7-jni:amd64
    Re-Instated libvtk7-java:amd64
    Re-Instated libvtk7-dev:amd64
  Broken libcamitk-dev:amd64 Depends on libvtk7-qt-dev:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH >
    Considering libvtk7-qt-dev:amd64 0 as a solution to libcamitk-dev:amd64 9999
    Re-Instated libvtk7-qt-dev:amd64
  Investigating (4) libvtk7-java:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-java:amd64 Breaks on libvtk6-java:amd64 < 6.3.0+dfsg2-2+b5 @ii gK >
    Considering libvtk6-java:amd64 1 as a solution to libvtk7-java:amd64 1
    Holding Back libvtk7-java:amd64 rather than change libvtk6-java:amd64
  Investigating (4) libvtk7-jni:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-jni:amd64 Breaks on libvtk6-jni:amd64 < 6.3.0+dfsg2-2+b5 @ii gK >
    Considering libvtk6-jni:amd64 1 as a solution to libvtk7-jni:amd64 0
    Holding Back libvtk7-jni:amd64 rather than change libvtk6-jni:amd64
  Investigating (5) libvtk7-dev:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-dev:amd64 Depends on libvtk7-java:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH > (= 7.1.1+dfsg1-12+b1)
    Considering libvtk7-java:amd64 1 as a solution to libvtk7-dev:amd64 1
    Holding Back libvtk7-dev:amd64 rather than change libvtk7-java:amd64
  Investigating (5) libvtk7-qt-dev:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-qt-dev:amd64 Depends on libvtk7-dev:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH > (= 7.1.1+dfsg1-12+b1)
    Considering libvtk7-dev:amd64 1 as a solution to libvtk7-qt-dev:amd64 0
    Holding Back libvtk7-qt-dev:amd64 rather than change libvtk7-dev:amd64
  Investigating (6) libcamitk-dev:amd64 < none -> 4.1.2-2+b1 @un puN Ib >
  Broken libcamitk-dev:amd64 Depends on libvtk7-dev:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH >
    Considering libvtk7-dev:amd64 1 as a solution to libcamitk-dev:amd64 9999
  Broken libcamitk-dev:amd64 Depends on libvtk7-qt-dev:amd64 < none | 7.1.1+dfsg1-12+b1 @un uH >
    Considering libvtk7-qt-dev:amd64 0 as a solution to libcamitk-dev:amd64 9999
  Done
  Some packages could not be installed. This may mean that you have
  requested an impossible situation or if you are using the unstable
  distribution that some required packages have not yet been created
  or been moved out of Incoming.
  The following information may help to resolve the situation:
  
  The following packages have unmet dependencies:
   libcamitk-dev : Depends: libvtk7-dev but it is not going to be installed
                   Depends: libvtk7-qt-dev but it is not going to be installed
  E: Unable to correct problems, you have held broken packages.


In case of a tie while scoring the packages, apt lets the already
installed package win.
Adding some Breaks against the vtk6 packages that need to be removed 
in order to switch the dependency to vtk7 turns the scores given by
apt in favor of removing some vtk6 packages and installing vtk7 instead:

  Investigating (0) libvtk7-java:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-java:amd64 Breaks on libvtk6-java:amd64 < 6.3.0+dfsg1-5 -> 6.3.0+dfsg2-2+b5 @ii umU >
    Considering libvtk6-java:amd64 -1 as a solution to libvtk7-java:amd64 1
    Added libvtk6-java:amd64 to the remove list
    Conflicts//Breaks against version 6.3.0+dfsg1-5 for libvtk6-java but that is not InstVer, ignoring
    Fixing libvtk7-java:amd64 via remove of libvtk6-java:amd64
  Investigating (0) libvtk7-jni:amd64 < none -> 7.1.1+dfsg1-12+b1 @un uN Ib >
  Broken libvtk7-jni:amd64 Breaks on libvtk6-jni:amd64 < 6.3.0+dfsg1-5 -> 6.3.0+dfsg2-2+b5 @ii umU >
    Considering libvtk6-jni:amd64 -1 as a solution to libvtk7-jni:amd64 0
    Added libvtk6-jni:amd64 to the remove list
    Conflicts//Breaks against version 6.3.0+dfsg1-5 for libvtk6-jni but that is not InstVer, ignoring
    Fixing libvtk7-jni:amd64 via remove of libvtk6-jni:amd64
  Investigating (0) libvtk6-dev:amd64 < 6.3.0+dfsg1-5 -> 6.3.0+dfsg2-2+b5 @ii umU Ib >
  Broken libvtk6-dev:amd64 Depends on libvtk6-java:amd64 < 6.3.0+dfsg1-5 | 6.3.0+dfsg2-2+b5 @ii umR > (= 6.3.0+dfsg2-2+b5)
    Considering libvtk6-java:amd64 -1 as a solution to libvtk6-dev:amd64 0
    Removing libvtk6-dev:amd64 rather than change libvtk6-java:amd64
  Investigating (0) libcamitk-dev:amd64 < 4.0.4-2 -> 4.1.2-2.1 @ii umU Ib >
  Broken libcamitk-dev:amd64 Breaks on libvtk6-qt-dev:amd64 < 6.3.0+dfsg1-5 -> 6.3.0+dfsg2-2+b5 @ii umU Ib >
    Considering libvtk6-qt-dev:amd64 -1 as a solution to libcamitk-dev:amd64 0
    Added libvtk6-qt-dev:amd64 to the remove list
    Conflicts//Breaks against version 6.3.0+dfsg1-5 for libvtk6-qt-dev but that is not InstVer, ignoring
    Fixing libcamitk-dev:amd64 via remove of libvtk6-qt-dev:amd64


cheers,

Andreas
-------------- next part --------------
diff -Nru camitk-4.1.2/debian/changelog camitk-4.1.2/debian/changelog
--- camitk-4.1.2/debian/changelog	2018-10-23 10:19:39.000000000 +0200
+++ camitk-4.1.2/debian/changelog	2019-04-04 19:37:46.000000000 +0200
@@ -1,3 +1,11 @@
+camitk (4.1.2-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * libcamitk-dev: Add Breaks against several vtk6 packages to force switching
+    from libvtk6-dev to libvtk7-dev.  (Closes: #xxxxxx)
+
+ -- Andreas Beckmann <anbe at debian.org>  Thu, 04 Apr 2019 19:37:46 +0200
+
 camitk (4.1.2-2) unstable; urgency=medium
 
   * VTK7 compatibility. Closes: #909120
diff -Nru camitk-4.1.2/debian/control camitk-4.1.2/debian/control
--- camitk-4.1.2/debian/control	2018-10-23 10:19:39.000000000 +0200
+++ camitk-4.1.2/debian/control	2019-04-04 19:37:46.000000000 +0200
@@ -81,7 +81,11 @@
          ${shlibs:Depends}
 Recommends: camitk-imp
 Suggests: camitk-actionstatemachine
-Breaks: libcamitk3-dev
+Breaks: libcamitk3-dev,
+        libvtk6-dev,
+        libvtk6-java,
+        libvtk6-jni,
+        libvtk6-qt-dev,
 Replaces: libcamitk3-dev
 Description: Computer Assisted Medical Intervention Tool Kit - development
  Helps researchers and clinicians to easily and rapidly collaborate in
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libcamitk-dev_4.1.2-2+b1.log.gz
Type: application/gzip
Size: 124361 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20190405/06567610/attachment-0001.gz>


More information about the Debian-med-packaging mailing list