Package: openscenegraph
Version: 3.2.1-5
Severity: serious
Tags: patch
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'wheezy'.
It installed fine in 'wheezy', then the upgrade to 'jessie' fails
because apt prefers to keep the old version instead of upgrading it.

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

  Starting 2
  Investigating (0) libgdal1h [ amd64 ] < none -> 1.10.1+dfsg-8+b3 > ( libs )
  Broken libgdal1h:amd64 Breaks on libgdal1 [ amd64 ] < 1.9.0-3.1 > ( libs ) 
(<= 1.10.0-0~)
    Considering libgdal1:amd64 -1 as a solution to libgdal1h:amd64 -1
    Holding Back libgdal1h:amd64 rather than change libgdal1:amd64
  Investigating (1) libopenscenegraph100 [ amd64 ] < none -> 3.2.1-5 > ( libs )
  Broken libopenscenegraph100:amd64 Depends on libgdal1h [ amd64 ] < none -> 
1.10.1+dfsg-8+b3 > ( libs ) (>= 1.8.0)
    Considering libgdal1h:amd64 -1 as a solution to libopenscenegraph100:amd64 0
    Holding Back libopenscenegraph100:amd64 rather than change libgdal1h:amd64
  Investigating (2) openscenegraph [ amd64 ] < 3.0.1-4 -> 3.2.1-5 > ( devel )
  Broken openscenegraph:amd64 Depends on libopenscenegraph100 [ amd64 ] < none 
-> 3.2.1-5 > ( libs )
    Considering libopenscenegraph100:amd64 0 as a solution to 
openscenegraph:amd64 0
    Holding Back openscenegraph:amd64 rather than change 
libopenscenegraph100:amd64
   Try to Re-Instate (3) openscenegraph:amd64
  Done
  The following NEW packages will be installed:
[...]
  The following packages have been kept back:
    openscenegraph
  The following packages will be upgraded:
[...]
  212 upgraded, 107 newly installed, 0 to remove and 1 not upgraded.


So we need to push apt a little bit to prefer libgdal1h over libgdal1,
this can be done by adding a Breaks: libgdal1 to libopenscenegraph100.
Patch attached, upgrade path verified in piuparts.

The similar problem exists in libopenscenegraph-dev, this will be fixed
by the patch, too.

cheers,

Andreas
diff -Nru openscenegraph-3.2.1/debian/changelog openscenegraph-3.2.1/debian/changelog
--- openscenegraph-3.2.1/debian/changelog	2014-10-31 12:14:46.000000000 +0100
+++ openscenegraph-3.2.1/debian/changelog	2015-01-28 23:33:12.000000000 +0100
@@ -1,3 +1,11 @@
+openscenegraph (3.2.1-6) UNRELEASED; urgency=medium
+
+  * libopenscenegraph100: Add Breaks: libgdal1 for smooth upgrades from
+    wheezy. A little incentive that helps apt to take the right decision
+    between libgdal1 and libgdal1h.  (Closes: #xxxxxx)
+
+ -- Andreas Beckmann <a...@debian.org>  Wed, 28 Jan 2015 17:45:57 +0100
+
 openscenegraph (3.2.1-5) unstable; urgency=medium
 
   * Update fix for correctly loading plugins on platforms other than amd64.
diff -Nru openscenegraph-3.2.1/debian/control openscenegraph-3.2.1/debian/control
--- openscenegraph-3.2.1/debian/control	2014-10-31 11:32:05.000000000 +0100
+++ openscenegraph-3.2.1/debian/control	2015-01-28 23:30:25.000000000 +0100
@@ -87,6 +87,7 @@
 Multi-Arch: same
 Depends: ${misc:Depends},
          ${shlibs:Depends}
+Breaks: libgdal1
 Description: 3D scene graph, shared libs
  A portable, high level graphics toolkit for the development of high performance
  graphics applications such as flight simulators, games, virtual reality or

Reply via email to