[Xcb] Bug#526111: libxcb1 should use Breaks: instead of Conflicts:

Steve Langasek steve.langasek at canonical.com
Wed Apr 29 02:55:51 PDT 2009


Package: libxcb1
Version: 1.2-1
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
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/
slangasek at ubuntu.com                                     vorlon at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libxcb-use-breaks.diff
Type: text/x-diff
Size: 462 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xcb/attachments/20090429/902fa307/attachment.diff 


More information about the Xcb mailing list