Package: libxcb1
Version: 1.2-1
Tags: patch
User: [email protected]
Usertags: ubuntu-patch origin-ubuntu karmic
The libxcb1 package in unstable declares a Conflicts: libxcb-xlib0, when the
actual relationship between the package is one of Breaks: - i.e., when
installing libxcb1, libxcb-xlib0 should be deconfigured/removed, but there
are no conflicts at the filesystem level so the removal does not have to be
done prior to unpacking libxcb1.
Experience when integrating libxcb1 into Ubuntu 9.04 showed that this
Conflicts: in such a core library directly impacted the ability of apt to
calculate an upgrade path for the system, so we have patched libxcb in
Ubuntu to use the (more correct) Breaks instead of Conflicts. I would
recommend doing the same in Debian, for the benefit of lenny->squeeze
upgrades. The attached patch implements this.
(I'm afraid I'm not clear on whether it's allowed to use Breaks: in the
Debian archive currently; but it's my understanding that it will be allowed
well before the squeeze release, if it isn't already.)
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer http://www.debian.org/
[email protected] [email protected]
diff -Nru libxcb-1.2/debian/control libxcb-1.2/debian/control
--- libxcb-1.2/debian/control 2009-04-29 09:47:39.000000000 +0000
+++ libxcb-1.2/debian/control 2009-04-29 09:47:39.000000000 +0000
@@ -13,7 +13,7 @@
Section: libs
Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends}
-Conflicts: libxcb-xlib0
+Breaks: libxcb-xlib0
Description: X C Binding
This package contains the library files needed to run software using libxcb,
the X C Binding.