tag 228810 + moreinfo thanks On Tue, Jan 20, 2004 at 08:12:10PM -0500, Joey Hess wrote: > 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. xserver-xfree86 (transitively) depends on xfree86-common: Package: xserver-xfree86 [...] Source: xfree86 Version: 4.3.0-0pre1v5 [...] Depends: xserver-common (>= 4.2.1-10), libc6 (>= 2.3.2.ds1-4), zlib1g (>= 1:1.2.1), debconf (>= 0.5) Package: xserver-common [...] Source: xfree86 Version: 4.3.0-0pre1v5 [...] Depends: debconf (>= 1.0.21), xfree86-common (>= 4.2.1-5), libc6 (>= 2.3.2.ds1-4), debconf (>= 0.5) xfree86-common provides the /etc/X11 directory: % dpkg -S /etc/X11 xfs, proxymngr, xfm, libxt6, xfonts-100dpi, xfonts-base-transcoded, xfonts-75dpi, xfonts-cyrillic, lbxproxy, xutils, gsfonts-x11, gv, xlibs-data, ssh-askpass, groff, twm, xprt-common, xpaint, xdm, xlibs, fvwm, xfonts-base, xmh, xfonts-scalable, xserver-common, gdm, wdm, xlockmore, xbase-clients, xawtv, nethack-x11, tetex-base, xterm, xfree86-common: /etc/X11 % cat ~/packages/xfree86/svn/branches/4.3.0/sid/debian/xfree86-common.dirs etc/X11/Xresources I do not understand how you experienced the failure you describe. Can you help me understand it? -- G. Branden Robinson | Computer security is like an onion: Debian GNU/Linux | the more you dig in, the more you branden@debian.org | want to cry. http://people.debian.org/~branden/ | -- Cory Altheide
Attachment:
signature.asc
Description: Digital signature