[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#989597: release.debian.org: upgrade issue: non-coinstallability of libgdal20 and libgdal28



On 13/06/2021 06.45, Sebastiaan Couwenberg wrote:
On 6/12/21 10:23 PM, Sebastian Ramacher wrote:
I have unblocked gdal.

Thanks, libgdal (3.2.2-1) will need to be unblocked as well, it goes

libgdal-grass ?

hand in hand with gdal (3.2.2+dfsg-1). libgdal needs the same upstream
version of gdal to build successfully.

Please go ahead with an upload adding a gdal3-data binary package.

That's much more invasive as suggested in #986975 as it will need to
pass NEW in addition to an unblock.

And it does not really help, since it just uncovers that there are more dependencies on not co-installable libraries: libogdi3.2/libogdi4.1 due to plugins in unversioned paths. Theoretically fixable as well by moving the plugins to a versioned path. Not sure what would show up next.

#986975 just adds Breaks: libgdal20 to libgdal28 for smoother upgrades
from buster, that seems like a reasonable change.

See attached patch. Especially for its very verbose changelog entry ;-)

We may need to add this Breaks in some more packages since in rare cases old libgdal20 scores higher than libgdal28. But most cases are already covered with libgdal28.

Andreas
diff -Nru gdal-3.2.2+dfsg/debian/changelog gdal-3.2.2+dfsg/debian/changelog
--- gdal-3.2.2+dfsg/debian/changelog	2021-03-10 15:12:55.000000000 +0100
+++ gdal-3.2.2+dfsg/debian/changelog	2021-06-11 21:31:32.000000000 +0200
@@ -1,3 +1,14 @@
+gdal (3.2.2+dfsg-2) UNRELEASED; urgency=medium
+
+  * libgdal28: Add Breaks: libgdal20 for smoother upgrades from buster. The
+    gdal libraries from buster and bullseye are not co-installable due to
+    incompatible gdal-data changes and dependencies on several not
+    co-installable libraries.  The explicit Breaks helps apt finding the
+    correct solution (removal of libgdal20) which is sometimes hard to deduce
+    over long indirect dependency trees.  (Closes: #986975)
+
+ -- Andreas Beckmann <anbe@debian.org>  Fri, 11 Jun 2021 21:31:32 +0200
+
 gdal (3.2.2+dfsg-1) unstable; urgency=medium
 
   * New upstream release.
diff -Nru gdal-3.2.2+dfsg/debian/control gdal-3.2.2+dfsg/debian/control
--- gdal-3.2.2+dfsg/debian/control	2021-03-10 15:06:40.000000000 +0100
+++ gdal-3.2.2+dfsg/debian/control	2021-06-11 21:31:27.000000000 +0200
@@ -72,7 +72,7 @@
          ${shlibs:Depends},
          ${misc:Depends}
 Recommends: proj-bin
-Breaks: libgdal1h (<< 2.0)
+Breaks: libgdal1h (<< 2.0), libgdal20
 Description: Geospatial Data Abstraction Library
  GDAL is a translator library for raster geospatial data formats.
  As a library, it presents a single abstract data model to the

Reply to: