Bug#399972: x11-common: installs breaks if xorg subdir are symlinked
Package: x11-common
Version: 1:7.1.0-7
Severity: important
Hello,
the preinst script of xserver-common contains those lines:
# symlink -> dir transition
for i in include share lib; do
if [ -L "/usr/${i}/X11" ]; then
rm /usr/${i}/X11
fi
done
I installed xorg on another partition due to lack of disk space, and
symlinked /usr/{share,lib,include}/X11 to point to the right place. With
this approach, the upgrade of x11-common leave the system half broken,
as f.i. there is no more locale data. Would it be possible to either:
1) put a message BEFORE breaking the symlink
2) leave the option to enable or not changing the symlink to a real dir
3) analysing more thoroughfully the kind of link (what do you want to
correct exactly) before deciding it has to be changed.
I understand that were are close to an important transition, but please
at least warn before changing the directories structure.
Thanking you in advance
Pascal Dupuis
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18.2
Locale: LANG=fr_BE, LC_CTYPE=fr_BE (charmap=ISO-8859-1)
Versions of packages x11-common depends on:
ii debconf [debconf-2.0] 1.5.8 Debian configuration management sy
ii debianutils 2.17 Miscellaneous utilities specific t
ii lsb-base 3.1-15 Linux Standard Base 3.1 init scrip
x11-common recommends no packages.
-- debconf information:
x11-common/experimental_packages:
x11-common/xwrapper/actual_allowed_users: rootonly
x11-common/xwrapper/nice_value/error:
* x11-common/upgrade_issues:
x11-common/x11r6_bin_not_empty:
x11-common/xwrapper/allowed_users: Root Only
x11-common/xwrapper/nice_value: -10
Reply to: