[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#362524: x11-common: needs to conflict with packages installing to /usr/X11R6/bin due to moving of /usr/bin/X11



Package: x11-common
Version: 1:7.0.10
Severity: serious

The xorg 7 x11-common package has an undeclared conflict with all packages
installing binaries in /usr/X11R6/bin: since /usr/X11R6/bin is only included
in the system path via the /usr/bin/X11 symlink which no longer points
there, and since many packages reference the /usr/X11R6/bin path internally
for accessing binaries which are no longer physically located there, partial
transitions of this directory are not possible and conflicts are needed to
ensure a consistent system.

A tentative list of packages that should be conflicted with is given by the
command:

$ zgrep ^usr/X11R6/bin/ dists/unstable/Contents-i386.gz \
  | awk '{print $NF}'| sed -e's/,/ /; s,[[:alnum:]]*/,,g'| xargs -n1 echo \
  | sort -u | xargs madison -s unstable -a i386 | cut -f1-2 -d'|' \
  | while read A B C; do echo "$A (<= $C),"; done

the output of this command is available at
<http://ftp-master.debian.org/~vorlon/x11-common-conflicts-unstable.txt>. 
For the sake of upgrade complexity, it should be hand-pruned to eliminate
any packages that are already assured to be upgrade in sync due to either
pre-existing conflicts or pre-existing versioned dependencies.  I can assist
with this as needed.

Separate bugs will need to be filed against each of the affected packages to
ensure that they are fixed in the next upload to use /usr/bin instead of
/usr/X11R6/bin.  (Is a fixed imake available?)

Additional passes will need to be made to identify those packages not in
this list whose current testing or stable versions install to
/usr/X11R6/bin.

Once the full conflicts are in place, it should be possible for x11-common
to install /usr/X11R6/bin as a compat symlink to /usr/bin in its postinst.
(This needs to be done in the maintainer script because of dpkg's limitation
regarding converting between symlinks and directories.)  This symlink will
provide maximal compatibility for those packages which have hard-coded paths
pointing to /usr/X11R6/bin, removing any need to track them down for etch.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon@debian.org                                   http://www.debian.org/

Attachment: signature.asc
Description: Digital signature


Reply to: