Bug#362713: fails to upgrade since /usr/X11R6/bin/X still exists

2006-04-16 Thread Steve Langasek
On Sat, Apr 15, 2006 at 07:01:12PM +0200, Joey Hess wrote:
> Steve Langasek wrote:
> > Hmm, this was supposed to have been fixed in xserver-xorg 1:7.0.11 by
> > removing the symlink in question. :/  So there are two bugs here --
> > xserver-xorg needs to drop the symlink, and x11-common needs to bump its
> > versioned conflict with xserver-xorg...

> Just to add to the fun, today's upgrade of X also seemed to re-write the
> /usr/X11R6/bin/X symlink. At least, I think that's how my laptop came to
> contain this broken link:

> [EMAIL PROTECTED]:/usr/bin>ls -l X
> lrwxrwxrwx 1 root root 4 Apr 15 18:47 X -> ../../bin/X

I think there are two paths that can cause this -- either by meddling with
the xserver-xorg contents, removing the /usr/X11R6/bin/X symlink by hand to
work around this postinst failure, followed by upgrade to a version of
xserver-xorg that re-adds /usr/X11R6/bin/X and overwriting /usr/bin/X; or by
removing xserver-xorg, letting x11-common upgrade, and re-installing a
version of xserver-xorg which x11-common failed to conflict with.

Both of these should be transitive issues that won't affect future versions
of the xorg packages; and users who experience this bug can fix it with a
reinstall of x11-common.

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


signature.asc
Description: Digital signature


Bug#362713: fails to upgrade since /usr/X11R6/bin/X still exists

2006-04-15 Thread Joey Hess
Steve Langasek wrote:
> Hmm, this was supposed to have been fixed in xserver-xorg 1:7.0.11 by
> removing the symlink in question. :/  So there are two bugs here --
> xserver-xorg needs to drop the symlink, and x11-common needs to bump its
> versioned conflict with xserver-xorg...

Just to add to the fun, today's upgrade of X also seemed to re-write the
/usr/X11R6/bin/X symlink. At least, I think that's how my laptop came to
contain this broken link:

[EMAIL PROTECTED]:/usr/bin>ls -l X
lrwxrwxrwx 1 root root 4 Apr 15 18:47 X -> ../../bin/X

-- 
see shy jo


signature.asc
Description: Digital signature


Processed: Re: Bug#362713: fails to upgrade since /usr/X11R6/bin/X still exists

2006-04-15 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

> tags 362713 patch
Bug#362713: fails to upgrade since /usr/X11R6/bin/X still exists
There were no tags set.
Bug#362672: x11-common fails to run post-install scripts
Bug#362685: x11-common: postinst failure
Bug#362711: x11-common: fails to install
Tags added: patch

> clone 362713 -1
Bug#362713: fails to upgrade since /usr/X11R6/bin/X still exists
Bug is marked as being merged with others.

> reassign -1 xserver-xorg
Bug number -1 not found.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#362713: fails to upgrade since /usr/X11R6/bin/X still exists

2006-04-15 Thread Steve Langasek
tags 362713 patch
clone 362713 -1
reassign -1 xserver-xorg
thanks

On Sat, Apr 15, 2006 at 10:21:49AM +0200, Joey Hess wrote:
> Package: x11-common
> Version: 1:7.0.11
> Severity: serious

> Setting up x11-common (7.0.11) ...
> rmdir: /usr/X11R6/bin: Directory not empty
> x11-common postinst error: Could not remove /usr/X11R6/bin. Is not yet empty
> dpkg: error processing x11-common (--configure):
>  subprocess post-installation script returned error exit status 74

> [EMAIL PROTECTED]:/usr/X11R6/bin>ls -l
> total 0
> lrwxrwxrwx 1 root root 11 Apr 12 22:14 X -> ../../bin/X*

> This (broken; see #362223) symlink was created by xorg itself when I
> upgraded earlier this week. I am not the only one experiencing this
> problem, at least one user has reported it on debian-user.

Hmm, this was supposed to have been fixed in xserver-xorg 1:7.0.11 by
removing the symlink in question. :/  So there are two bugs here --
xserver-xorg needs to drop the symlink, and x11-common needs to bump its
versioned conflict with xserver-xorg...

The first can be fixed by just removing the debian/xserver-xorg.links file
from the source package.

The second can be fixed by changing the Conflicts to xserver-xorg (<< 1:7.0.12)
-- assuming it's fixed in the next maintainer upload.

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


signature.asc
Description: Digital signature


Bug#362713: fails to upgrade since /usr/X11R6/bin/X still exists

2006-04-15 Thread Joey Hess
Package: x11-common
Version: 1:7.0.11
Severity: serious

Setting up x11-common (7.0.11) ...
rmdir: /usr/X11R6/bin: Directory not empty
x11-common postinst error: Could not remove /usr/X11R6/bin. Is not yet empty
dpkg: error processing x11-common (--configure):
 subprocess post-installation script returned error exit status 74

[EMAIL PROTECTED]:/usr/X11R6/bin>ls -l
total 0
lrwxrwxrwx 1 root root 11 Apr 12 22:14 X -> ../../bin/X*

This (broken; see #362223) symlink was created by xorg itself when I
upgraded earlier this week. I am not the only one experiencing this
problem, at least one user has reported it on debian-user.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages x11-common depends on:
ii  debconf [debconf-2.0] 1.4.72 Debian configuration management sy
ii  debianutils   2.15.5 Miscellaneous utilities specific t
ii  laptop-detect 0.12.1 attempt to detect a laptop
ii  lsb-base  3.1-3  Linux Standard Base 3.1 init scrip

x11-common recommends no packages.

-- debconf information excluded

-- 
see shy jo


signature.asc
Description: Digital signature