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

Bug#228810: /etc/X11 not present at preinst run time; replaced by config file



Package: xserver-xfree86
Version: 4.3.0-0pre1v5
Severity: normal

Installing this package in a chroot the quick-n-dirty way, in a clean
chroot:

root@dragon:/home/joey/lib/chroot/sid>cp /var/cache/apt/archives/xserver-xfree86_4.3.0-0pre1v5_i386.deb .
root@dragon:/home/joey/lib/chroot/sid>chroot . bin/sh
dpkg -i xdragon:/# dpkg -i xserver-xfree86_4.3.0-0pre1v5_i386.deb 
Selecting previously deselected package xserver-xfree86.
(Reading database ... 6685 files and directories currently installed.)
Unpacking xserver-xfree86 (from xserver-xfree86_4.3.0-0pre1v5_i386.deb) ...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_COLLATE = "C",
        LC_TIME = "C",
        LANG = "en_US"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
ln: creating symbolic link `/etc/X11/X' to `/bin/true': No such file or directory
dpkg: error processing xserver-xfree86_4.3.0-0pre1v5_i386.deb (--install):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 xserver-xfree86_4.3.0-0pre1v5_i386.deb
dragon:/# 
dragon:/# ls /bin/true
/bin/true
dragon:/# cd /etc/X11
bin/sh: cd: /etc/X11: No such file or directory
dragon:/etc# ls -l X11
-rw-r--r--    1 root     root         2920 Jan 21 01:05 X11

It seems to be an automatically generated X config file.

Whatever provides /etc/X11, it is not guaranteed to be installed when the
preinst of the package runs, and apparently copies a XF86Config-4 file to
/etc/X11.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dragon 2.4.24 #1 Thu Jan 8 15:48:32 EST 2004 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages xserver-xfree86 depends on:
ii  debconf                     1.4.7        Debian configuration management sy
ii  libc6                       2.3.2.ds1-10 GNU C Library: Shared libraries an
ii  xserver-common              4.2.1-15     files and utilities common to all 
ii  zlib1g                      1:1.2.1-3    compression library - runtime

-- debconf information excluded

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: