Re: broken xserver-xfree86
Alex Roitman <shura@bs.spa.umn.edu> writes:
> Hello,
>
> I just updated my woody distro and now I'm having troubles with
> xserver-xfree86 configuration. The dselect says:
> -----
> running dpkg --pending --configure ...
> Setting up xserver-xfree86 (4.0.1-6) ...
> sh: -c: line1: unexpected EOF while looking for matching `'`
> sh: -c: line2: syntax error: unexpected end of file
> dpkg: error processinf xserver-xfree86 (--configure):
> subprocess post-intstallation script returned error exit status 128
> Errors were encountered while processing:
> xserver-xfree86
>
> dpkg --configure returned exit error status 1
> -------
> I don't know much about post-installation scripts. I found
> /var/lib/dpkg/info/xserver-xfree86.postinst though, and didn't see
> anything wrong with it. But I'm no expert anyway.
>
> Please help, I have no X right now!
> It must be a little thing for the one who knows :-)
I found that despite this error message, my X server (kinda) worked,
but I had to change a link:
ls -sf /usr/X11R6/bin/XFree86 /etc/X11/X
It had been pointing to /usr/X11R6/bin/X, which is the wrapper, and it
turned out it was execv'ing itself.
Should you want dpkg to quit complaining, put an
exit 0
somewhere early in the /var/lib/dpkg/info/xserver-xfree86.postinst
file, between
#!/bin/sh
and
. /usr/share/debconf/confmodule
and then run dpkg --configure --pending.
Also, it looks like
xfree86-4.0.1/debian/local/xserver-wrapper.c
has a parsing problem with the - in the -10 default Xwrapper.config;
it doesn't include - in the characters to sscanf for the value... I
just changed to nice_value=0, but the right fix is obvious (I just
didn't bother recompiling it...)
fyi
- M
--
Mark "Monty" Montague | monty@gg.caltech.edu | I don't do Windows(tm)
I'm dubious about any company whose assets can be destroyed by rm -rf
<URL:http://www.gg.caltech.edu/~monty/monty.shtml>
X-PGP-Fingerprint: E4 EA 6D B1 82 46 DB A1 B0 FF 60 B9 F9 5D 5C F7
Reply to: