Bug#926358: libsimbody-dev: please add Breaks: libsimbody3.5v5

Andreas Beckmann anbe at debian.org
Thu Apr 4 01:30:38 BST 2019


Package: libsimbody-dev
Version: 3.6.1+dfsg-6
Severity: serious
Tags: patch
User: debian-qa at lists.debian.org
Usertags: piuparts
Control: affects -1 + ros-simulators-dev

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'stretch'.
It installed fine in 'stretch', but during the upgrade to 'buster' the
package was held at the version from 'stretch'.
This was observed during a test of the ros-simulators-dev package.
The test does not fail, but not upgrading an upgradable package does not
sound like expected behavior.

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

  Investigating (0) libsimbody3.6:amd64 < none -> 3.6.1+dfsg-6 @un uN Ib >
  Broken libsimbody3.6:amd64 Breaks on libsimbody3.5v5:amd64 < 3.5.4+dfsg-1 @ii mK >
    Considering libsimbody3.5v5:amd64 1 as a solution to libsimbody3.6:amd64 1
    Holding Back libsimbody3.6:amd64 rather than change libsimbody3.5v5:amd64

  Investigating (1) libsimbody-dev:amd64 < 3.5.4+dfsg-1 -> 3.6.1+dfsg-6 @ii umU Ib >
  Broken libsimbody-dev:amd64 Depends on libsimbody3.6:amd64 < none | 3.6.1+dfsg-6 @un uH > (= 3.6.1+dfsg-6)
    Considering libsimbody3.6:amd64 1 as a solution to libsimbody-dev:amd64 1
    Holding Back libsimbody-dev:amd64 rather than change libsimbody3.6:amd64
   Try to Re-Instate (2) libsimbody-dev:amd64

  The following packages have been kept back:
    libsimbody-dev

Due to the Breaks: libsimbody3.5v5 in libsimbody3.6 the cruft package has
to be removed on upgrades from stretch to buster. Unfortunately the score
computed by apt for this upgrade scenario results in a tie, and the already
installed package wins.
Adding some more Breaks against the package that needs to be removed
shifts the scores in favor of libsimbody3.6:

  Investigating (0) libsimbody3.6:amd64 < none -> 3.6.1+dfsg-6.1 @un uN Ib >
  Broken libsimbody3.6:amd64 Breaks on libsimbody3.5v5:amd64 < 3.5.4+dfsg-1 @ii mK >
    Considering libsimbody3.5v5:amd64 0 as a solution to libsimbody3.6:amd64 1
    Added libsimbody3.5v5:amd64 to the remove list
    Fixing libsimbody3.6:amd64 via remove of libsimbody3.5v5:amd64


cheers,

Andreas
-------------- next part --------------
diff -Nru simbody-3.6.1+dfsg/debian/changelog simbody-3.6.1+dfsg/debian/changelog
--- simbody-3.6.1+dfsg/debian/changelog	2019-01-14 16:43:30.000000000 +0100
+++ simbody-3.6.1+dfsg/debian/changelog	2019-04-03 17:04:59.000000000 +0200
@@ -1,3 +1,11 @@
+simbody (3.6.1+dfsg-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * libsimbody-dev: Add 'Breaks: libsimbody3.5v5' for smooth upgrades from
+    stretch.  (Closes: #xxxxxx)
+
+ -- Andreas Beckmann <anbe at debian.org>  Wed, 03 Apr 2019 17:04:59 +0200
+
 simbody (3.6.1+dfsg-6) unstable; urgency=medium
 
   * Add mips exclusions to the testsuite (timeout errors in buildfarm)
diff -Nru simbody-3.6.1+dfsg/debian/control simbody-3.6.1+dfsg/debian/control
--- simbody-3.6.1+dfsg/debian/control	2019-01-11 17:34:14.000000000 +0100
+++ simbody-3.6.1+dfsg/debian/control	2019-04-03 17:04:57.000000000 +0200
@@ -41,6 +41,7 @@
          liblapack-dev,
 	 libsimbody3.6 (= ${binary:Version}),
 	 ${misc:Depends}
+Breaks: libsimbody3.5v5
 Multi-Arch: same
 Description: SimTK multibody dynamics API - development files
  Simbody is a SimTK toolset providing general multibody dynamics capability,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ros-simulators-dev_1.12.log.gz
Type: application/gzip
Size: 227647 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20190404/4e3b7e02/attachment-0001.gz>


More information about the debian-science-maintainers mailing list