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

Re: apt-get dist-update problem



On Sat, Oct 13, 2001 at 07:03:50PM +0200, Søren Neigaard wrote:
| Saturday, October 13, 2001, 5:42:09 PM, dman wrote:
| 
| 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> 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> 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.
|
| No matter if I run startx or X -configure, I get: "X: cannot stat
| /etc/X11/X (no souch file or directory), aborting"
| 
| I guess that's where my problem is.

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

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

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

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

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


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

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

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

apt-get remove xserver-xfree86
apt-get install xserver-xfree86

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

dpkg-reconfigure xserver-xfree86

HTH,
-D



Reply to: