Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Sep 2003 15:05:46 -0300
From:      Fernan Aguero <fernan@iib.unsam.edu.ar>
To:        FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:        anholt@FreeBSD.org
Subject:   Re: ports/57405: update to XFree86-4.3.0 renders keyboard unusable
Message-ID:  <20030930180546.GA438@iib.unsam.edu.ar>
In-Reply-To: <200309301440.h8UEeNQr014944@freefall.freebsd.org>
References:  <200309301415.h8UEF6oL000580@pi.iib.unsam.edu.ar> <200309301440.h8UEeNQr014944@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
and now for a solution?

I've found this thread in linuxquestions.org:
http://www.linuxquestions.org/questions/archive/1/2003/07/2/59778
that suggested updating XKeysymDB to its latest version.

I've also seen XKeysymDB mentioned while googling around. So
I went to the URL posted in the last message of the thread,
which pointed to cvsweb.xfree86.org, and got the latest
XKeysymDB (which BTW is from 2000!).

Surprisingly, I found no such file in my XFree86
installation ... all messages I've found suggested _updating_
this file, and they clearly suggested making a backup copy
of the original. But there was none there to update!

So I've put XKeysymDB in /usr/X11R6/lib/X11/, restarted X
and voilá, everything is working fine again (AFAICT). No
need to rename /usr/X11R6/lib/X11/xkb/compat, which was an
ugly workaround.

So, it all comes to a missing file ... my research found
XKeysymDB packaged in XFree86-libraries-4.3.0_6.tgz. So, my
guess was that it should have been installed. Luckily I
still have the output of the portupgrade session, so I guess
I now see what happened:
...
--->  Checking the availability of the latest package of 'x11/XFree86-4-clients'
--->  Found a package of 'x11/XFree86-4-clients': /usr/ports/packages/All/XFree86-clients-4.3.0_3.tgz
--->  Upgrading 'XFree86-clients-4.2.0_2' to 'XFree86-clients-4.3.0_3' (x11/XFree86-4-clients) using a package
--->  Backing up the old version
--->  Uninstalling the old version
--->  Deinstalling 'XFree86-clients-4.2.0_2'
pkg_delete: package 'XFree86-clients-4.2.0_2' is required by these other packages
and may not be deinstalled (but I'll delete it anyway):
XFree86-4.3.0,1
pkg_delete: '/usr/X11R6/lib/X11/XErrorDB' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/X11R6/lib/X11/XKeysymDB' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/X11R6/lib/X11/xdm/Xaccess' fails original MD5 checksum - deleted anyway.
pkg_delete: '/usr/X11R6/lib/X11/xdm/Xsession' fails original MD5 checksum - deleted anyway.
...

So it seems to me, that the deinstallation of the
XFree86-clients port blew away these four files: not only I
had a missing XKeysymDB, I also have missing XErrorDB.

Now, is this a portupgrade problem? Or the problem was with
the way I invoked portupgrade (portupgrade -R -PP XFree86-4\*)?
Or perhaps these files were previously packaged in -clients
and now they are in -libraries?

Reinstalling the XFree86-libraries again did got me the
missing XErrorDB and XKeysymDB files (portupgrade -f -PP XFree86-libraries)

I guess that the PR can be closed now. At least there is a
record of what happened, in case someone else steps on the
same stone.

For me, it was a great monolog. Thanks.

Fernan

-- 
F e r n a n   A g u e r o
http://genoma.unsam.edu.ar/~fernan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030930180546.GA438>