Package: x11-common
Version: 7.0.23
Severity: important
I want to report a bug about the x11-common package that's similar to the #369502 bug.
When I did the xorg upgrade from version 6.9 to 7.0(that currently make one moment) I encountered a problem with the /usr/bin/X link which was broken.
After the upgrade I created the symbolic link /usr/bin/X to /usr/bin/Xorg by hand and all was going well ( Maybe at this moment I did a mistake!! )
I thought that the next upgrade would correct the problem.
Until today each time I do an x11-common upgrade, my /usr/bin/X link is broken and I have to create the symbolic link /usr/bin/X to /usr/bin/Xorg by hand.
If that can help: after I did a « apt-get source x11-common ». I saw the "rules" file and I noticed at line 109 that we change the « mode » and the « ownership » of the file /usr/bin/X. So I supposed that at this moment precisely the file exist but it is not a symbolic link.
To correct that problem, I did a little patch in the x11-common.postinst.in file (Maybe it would have been better to do this in the xserver-xorg.postinst.in file I confess that I really don't know)
So I just added to the x11-common.postinst.in file at line 51 this :
if ! [ -L /usr/bin/X ]; then
ln -sf ../bin/Xorg /usr/bin/X
fi
It works well! but I don't think if what I've just described is ethical to the debian developper's rules but I hope it will help..
PS: Thanks for all the work you do on
this distibution and excuse my english writing (mistakes)
- - System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-686
Locale: LANG=C, LC_CTYPE=C
Versions of packages x11-common depends on:
ii debconf 1.5.3 Debian configuration management system
ii debianutils 2.17 Miscellaneous utilities specific to Debian
ii lsb-base 3.1-14 Linux Standard Base 3.1 init script function
- - debconf information:
* x11-common/xwrapper/allowed_users: Console Users Only
x11-common/experimental_packages:
x11-common/xwrapper/actual_allowed_users: console
x11-common/xwrapper/nice_value/error:
x11-common/upgrade_issues:
* x11-common/xwrapper/nice_value: 0
x11-common/x11r6_bin_not_empty: