Bug#863885: libterralib: superfluous Conflicts/Replaces on libterralib3 cause problems on upgrades to stretch

2017-06-05 Thread Andreas Beckmann
Followup-For: Bug #863885
Control: tag -1 patch

Hi,

I just filed a jessie-pu request with the attached patch.
I plan to NMU libterralib for jessie to get this fixed in the next point
release.


Andreas
>From dc64a1dbcc9aaa2b3927fd4883e52ad7560b6e52 Mon Sep 17 00:00:00 2001
From: Andreas Beckmann 
Date: Mon, 5 Jun 2017 23:12:34 +0200
Subject: [PATCH] remove superfluous Conflicts/Replaces: libterralib3

---
 debian/changelog | 8 
 debian/control   | 4 ++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 7963767..2dc6e2f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+libterralib (4.3.0+dfsg.1-2+deb8u1) jessie; urgency=medium
+
+  * Non-maintainer upload.
+  * Remove superfluous Conflicts/Replaces: libterralib3 since that causes
+problems upgrading to stretch which has that package.  (Closes: #863885)
+
+ -- Andreas Beckmann   Mon, 05 Jun 2017 23:06:46 +0200
+
 libterralib (4.3.0+dfsg.1-2) unstable; urgency=medium
 
   * Remove libjpeg8-dev dependency; just use libjpeg-dev.
diff --git a/debian/control b/debian/control
index bc4a29c..72564ba 100644
--- a/debian/control
+++ b/debian/control
@@ -37,8 +37,8 @@ Multi-Arch: same
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Pre-Depends: ${misc:Pre-Depends}
 Suggests: libterralib-doc (= ${binary:Version})
-Conflicts: libterralib1c2a, libterralib3
-Replaces: libterralib1c2a, libterralib3
+Conflicts: libterralib1c2a
+Replaces: libterralib1c2a
 Description: C++ library for Geographical Information Systems
  TerraLib enables quick development of custom-built geographical applications
  using spatial databases. As a research tool, TerraLib  is aimed at providing a
-- 
2.11.0



Bug#863885: libterralib: superfluous Conflicts/Replaces on libterralib3 cause problems on upgrades to stretch

2017-06-01 Thread Andreas Beckmann
Package: libterralib
Version: 4.3.0+dfsg.1-2
Severity: serious
Tags: jessie
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed upgrade problems from jessie to
stretch that can be attributed to libterralib in jessie.

libterralib/jessie has (unversioned) Conflicts/Replaces: libterralib3,
but there has never been such a package before stretch ...
This can cause upgrade problems, since apt will not consider the new
libterralib3 package as a valid installation candidate (and will try to
keep the old libterralib installed instead).

This bug is very hard to work around in stretch. Please fix it in jessie
by removing the superfluous C+R.

See #859986 for a similar problem in openmpi.


Andreas


libmagics++-dev_2.30.0-5.log.gz
Description: application/gzip