Followup-For: Bug #696375

Hi,

after further thinking about this, libgmime-2.0-2a seems to be better
suited to add the Conflicts: libgmime2.2-cil - since the problematic
libgmime2.2-cil package was previously built from src:gmime2.2.
This may not cover all partial upgrade corner cases (that would probably
require a Conflicts in mono-gac), but I verified that it solves the
problem on the normal apt-get dist-upgrade paths.

I asked the SRM about fixing this via s-p-u and got approval:
http://bugs.debian.org/700401

I prepared a NMU (patch attached) targeted at the next squeeze point
release (scheduled Feb. 23rd) and uploaded it to DELAYED/2 s.t. it will
be in pu-NEW before this closes next Monday.

Please let me know if you have any objections and I'll cancel the NMU.
And of course you are welcome to do a maintainer upload yourself.

Andreas
diffstat for gmime2.2_2.2.25-2 gmime2.2_2.2.25-2+squeeze1

 changelog  |    9 +++++++++
 control    |    2 +-
 control.in |    2 +-
 3 files changed, 11 insertions(+), 2 deletions(-)

diff -u gmime2.2-2.2.25/debian/changelog gmime2.2-2.2.25/debian/changelog
--- gmime2.2-2.2.25/debian/changelog
+++ gmime2.2-2.2.25/debian/changelog
@@ -1,3 +1,12 @@
+gmime2.2 (2.2.25-2+squeeze1) stable; urgency=low
+
+  * Non-maintainer upload.
+  * libgmime-2.0-2a: Add Conflicts: libgmime2.2-cil to ensure the obsolete
+    package from lenny that is incompatible with mono-gac/squeeze gets removed
+    on upgrades.  (Closes: #696375)
+
+ -- Andreas Beckmann <[email protected]>  Wed, 13 Feb 2013 21:10:02 +0100
+
 gmime2.2 (2.2.25-2) unstable; urgency=low
 
   * Drop libgmime2.2a-cil.
diff -u gmime2.2-2.2.25/debian/control gmime2.2-2.2.25/debian/control
--- gmime2.2-2.2.25/debian/control
+++ gmime2.2-2.2.25/debian/control
@@ -46,7 +46,7 @@
 Package: libgmime-2.0-2a
 Architecture: any
 Depends: ${shlibs:Depends}
-Conflicts: libgmime2, libgmime2.1, libgmime-2.0-2 (<= 2.2.18-1)
+Conflicts: libgmime2, libgmime2.1, libgmime-2.0-2 (<= 2.2.18-1), libgmime2.2-cil
 Replaces: libgmime2, libgmime2.1, libgmime-2.0-2 (<= 2.2.18-1)
 Description: MIME library
  GMime is a set of utilities for parsing and creating messages using
diff -u gmime2.2-2.2.25/debian/control.in gmime2.2-2.2.25/debian/control.in
--- gmime2.2-2.2.25/debian/control.in
+++ gmime2.2-2.2.25/debian/control.in
@@ -41,7 +41,7 @@
 Package: libgmime-2.0-2a
 Architecture: any
 Depends: ${shlibs:Depends}
-Conflicts: libgmime2, libgmime2.1, libgmime-2.0-2 (<= 2.2.18-1)
+Conflicts: libgmime2, libgmime2.1, libgmime-2.0-2 (<= 2.2.18-1), libgmime2.2-cil
 Replaces: libgmime2, libgmime2.1, libgmime-2.0-2 (<= 2.2.18-1)
 Description: MIME library
  GMime is a set of utilities for parsing and creating messages using

Reply via email to