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

Re[2]: apt-get dist-update problem



Saturday, October 13, 2001, 7:21:08 PM, dman wrote:

d> On Sat, Oct 13, 2001 at 07:03:50PM +0200, Søren Neigaard wrote:
d> | Saturday, October 13, 2001, 5:42:09 PM, dman wrote:
d> | 
| d>> On Sat, Oct 13, 2001 at 04:32:19PM +0200, Søren Neigaard wrote:
| d>> | Saturday, October 13, 2001, 4:08:53 PM, dman wrote:
| d>> | 
| | d>>> On Sat, Oct 13, 2001 at 03:21:54PM +0200, Søren Neigaard wrote:
| | d>>> | I just did a apt-get dist-update to testing, and it killed my X.
| | d>>> | Why?
| d>> | 
| | d>>> Probably because you didn't configure X after the upgrade.
| d>> |
| d>> | Ok and how do I do this?
d> | 
| d>> When I installed X4 (install, not upgrade) recently debconf asked me a
| d>> bunch of questions, then generated a config file.  The config file is
| d>> named /etc/X11/XF86Config-4 by default so that you can have
| d>> simultaneous X3 and X4 installs.  
d> | 
| d>> With X4 the config is built-in, you don't need a separate program.
| d>> Run "X -configure" from a console (you might need the full path to X,
| d>> I'm not sure) and it will autoprobe and generate the file.  This
| d>> didn't quite work for me on one machine (el-cheapo SiS6326 card).  I
| d>> got a config file, but it didn't work.  I manually edited the
| d>> generated config file to have the same options as my old X3 config
| d>> file, and everything worked fine.
d> |
d> | No matter if I run startx or X -configure, I get: "X: cannot stat
d> | /etc/X11/X (no souch file or directory), aborting"
d> | 
d> | I guess that's where my problem is.

d> Yeah, that would be a problem.  If I look at my system, I see the
d> following files that appear relevant :

d> lrwxrwxrwx    1 root     root           22 Sep  8  2001 /etc/X11/X -> /usr/X11R6/bin/XFree86

d> -rwsr-sr-x    1 root     root         7436 Sep 17  2001 /usr/bin/X11/X

d> -rwxr-xr-x    1 root     root      1507548 Sep 17  2001 /usr/bin/X11/XFree86

d> lrwxrwxrwx    1 root     root           12 Sep 25  2001 /usr/bin/X11 -> ../X11R6/bin/


d> I think /usr/bin/X11/X is just a small wrapper program that loads some
d> config from /etc/X11 and then runs the real X server.  The X server is
d> identified by the /etc/X11/X symlink, and in my case it is
d> /usr/X11R6/bin/XFree86.  This is the binary from xserver-xfree86
d> 4.1.0-6.

d> Try creating that symlink, and see if it helps.  You could also try
d> just running the real X server directly,
d>     /usr/X11R6/bin/XFree86 -configure

d> | When I did apt-get, I had some problems with a Danish ftp mirror in
d> | sources.list, but I solved this by using debian.org. Do you think
d> | there could have gone something wrong anyway, and that's why I'm
d> | having problems? And if so, how do I fix it, can I ask apt-get to
d> | reinstall?

d> apt-get remove xserver-xfree86
d> apt-get install xserver-xfree86

d> To "reinstall" the package.  This doesn't always work so well because
d> other stuff might get removed due to dependencies.  To simply
d> reconfigure the package,

d> dpkg-reconfigure xserver-xfree86
Oh... Found out that xserver-xfree86 wasn't installed at all!? Strange
huh? I have had X running, so something must have gone badly wrong
during my apt-get dist-install, I wonder what else is missing.

Ok I installed it, and run X -configure. I do not get any options, it
seems to autodetect everything... At boot gdm trys to start, and the
screen flickers 4-5 times, and I get my normal text login (no X).
Can't I get this good old graphic setup menu I got during install, the
one where I can chose my mouse, keyboard, card and screen (I really miss it)?

If I do a XFree86 -configure I lose my keyboard, and I have to pull
the plug.

Oh year, and if I try to run startx, I get this: "Fatal server error:
could not open default font 'fixed'"

Please help me :)

--
Med venlig hilsen/Best regards,
 Søren Neigaard mailto:neigaard@e-box.dk




Reply to: