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

Bug#365948: x11-common: broken depends on compat package xfree86-common



On Wed, May 03, 2006 at 06:35:56PM -0400, Ray Kohler wrote:
> Package: x11-common
> Version: 1:7.0.16
> Severity: grave
> Justification: renders package unusable

> Version 7.0.16 of x11-common depends on xfree86-common, which is a
> "useless" compatibility package. Making things worse is that
> xfree86-common conflicts with x11-common. This prevents x11-common from
> being installed at all.

> I screwed this up. It installs fine if I do it right.

So your assessment is that there's no bug here?  What way did you do it
first that was "wrong", btw?

On Thu, May 04, 2006 at 10:15:29AM +0800, Haifeng Chen wrote:

> The installation is not clean.

> You can find the following script in the xfree86-common.postinst.

> # Just move the Xsession file if it's still around
> if [ -f /etc/X11/Xsession ]; then
>   mv /etc/X11/Xsession /etc/X11/Xsession.xfree86
> fi

Right... this is a problem because plenty of users already *have* an
x11-common on their system (in unstable) that contains /etc/X11/Xsession, so
this code deletes the x11-common version of the config file for those users
-- not the xfree86-common version!

The workaround is, after upgrade, to run

  apt-get install --reinstall -o DPkg::Options::=--force-confmiss x11-common

to restore the missing /etc/X11/Xsession file.

This bug will only affect upgrades within unstable; it will not affect users
who are still running testing, so technically this is not release-critical
(it doesn't need to be fixed before xorg is updated in testing), but it's
still rather nasty...

-- 
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: