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

Bug#375667: x11-common and xserver-xorg unupgradeable due to mutual deathgrip



On Wed, Jun 28, 2006 at 17:41:28 +0100, Ian Jackson wrote:

> > Now, in this transition, /usr/include/X11 and /usr/lib/X11 become real
> > directories, and packages install stuff in there.
> ...
> > Additionally, the /usr/X11R6/bin directory becomes a symlink to ../bin,
> > because some programs/scripts use that path to find executables they
> > need
> 
> So
>  before  /usr/{lib,include}/X11 -> /usr/X11R6/{lib,include}
>  after   /usr/{lib,include}/X11 <- /usr/X11R6/{lib,include}

No, /usr/X11R6/{lib,include} are not modified (they disappear once no
packages have files in there, but that's it).

> and
>  before  /usr/bin/X11 -> /usr/X11R6/bin (real dir)
>  after   /usr/bin/X11 -> ..    /usr/X11R6/bin -> /usr/bin (by some name)

Yes (except /usr/bin/X11 -> .)

> 
> That's fine and there are ways of doing these things.
> Are there any other difficulties etc. ?
> 
I'm not sure, I'll let more knowledgeable people answer here.

> I'm not sure I understand why it is necessary to adjust old systems to
> conform to the new standard wrt {lib,include}.  Why can't they just be
> left with the symlinks pointing to where new systems have directories
> and vice versa ?

I don't understand here. The new systems have directories where the old
ones have symlinks, so the new packages need to pre-depend on the
package which removes the symlink (x11-common, in its preinst).
> 
> /usr/bin/X11 is a bit tricky.  I think the right answer is to have
> some preinst move all of the binaries from /usr/bin/X11 to /usr/bin
> and then sort out the links but this should be done with care.  There
> should be no need for any Conflicts.
> 
I'm not sure how moving things from /usr/X11R6/bin to /usr/bin without
dpkg's knowledge is possible. There might also be filename conflicts
between files in both locations (probably not from official Debian
packages, but well).

Cheers,
Julien

Attachment: signature.asc
Description: Digital signature


Reply to: