--- Begin Message ---
Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: pu
Hi,
I'd like to get a small update into squeeze-pu to fix an upgrade problem
from lenny. All that is needed is adding a Conflicts on a package that
was removed after lenny (and is also not provided as a virtual package):
* 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)
(libgmime2.2-cil was previously built from src:gmime2.2)
Upgrades from lenny to squeeze with libgmime2.2-cil installed currently
fail with:
Setting up mono-gac (2.6.7-5.1) ...
* Installing 1 assembly from libglib2.0-cil into Mono
* Installing 1 assembly from libgmime2.2-cil into Mono
E: installing Assembly /usr/lib/cli/gmime-sharp-2.2/gmime-sharp.dll failed
E: Installation of libgmime2.2-cil with /usr/share/cli-common/runtimes.d/mono failed
dpkg: error processing mono-gac (--configure):
My proposed change may not work for all partial upgrade corner cases
(that would probably require adding the conflict to mono-gac), but I
verified that it works fine on apt-get dist-upgrade.
That fix is not applicable to wheezy or sid as we don't support direct
upgrades from lenny to squeeze+x and I do not see a way to build a valid
(as in "all installed packages are configured, all dependencies are
satisfied, nothing is broken") squeeze system with the ancient
libgmime2.2-cil/lenny still installed that could be upgraded to wheezy.
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 <anbe@debian.org> Tue, 12 Feb 2013 12:18:25 +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
--- End Message ---