Re: Xorg broken in Lenny
On Thu, Jun 19, 2008 at 17:16:36 +0100, Chris Lale wrote:
> Florian Kulzer wrote:
> > On Wed, Jun 18, 2008 at 10:27:22 +0100, Chris Lale wrote:
> >> Florian Kulzer wrote:
> >>> On Tue, Jun 17, 2008 at 12:25:16 +0100, Chris Lale wrote:
> >>>> Florian Kulzer wrote:
> >>>>> On Sat, Jun 07, 2008 at 16:03:33 +0100, Chris Lale wrote:
> >>>>>> Xorg stopped working after a recent dist-upgrade of Lenny (Testing). The problem
> >>>>>> seems to be that the package xserver-xorg-core will not install. dpkg is unable
> >>>>>> to create `./usr/lib/xorg/modules/libwfb.so'.
> > Check if you can actually extract the file (and all other files in the
> > deb) to some $TEMPDIR with:
> > dpkg-deb -X /var/cache/apt/archives/xserver-xorg-core_2%3a1.4.1~git200800517-1_i386.deb $TEMPDIR
> > Then check what "file" reports for the extracted libfbw.so in the
> > temporary location.
> The deb file extracts to ~/tmp OK and libwfb.so exists:
> ~# file tmp/usr/lib/xorg/modules/libwfb.so
> tmp/usr/lib/xorg/modules/libwfb.so: ELF 32-bit LSB shared object, Intel 80386,
> version 1 (SYSV), dynamically linked, not stripped
> > Can you generate libwfb.so in the proper location with touch (as root)?
> Yes, I can create the empty file /usr/lib/xorg/modules/libwfb.so using touch.
> > Does the existence of an empty libwfb.so help with the installation?
> > What if you extract the file from the .deb and put it into place
> > yourself?
> No. The installation halts even though /usr/lib/xorg/modules/libwfb.so exists
> (copied from the temporary extraction directory).
> I've tried using dpkg directly to install the deb. I get the same error, of course:
> # dpkg -i /var/cache/apt/archives/xserver-xorg-core_2%3a1.4.1~git20080517-
> unable to create `./usr/lib/xorg/modules/libwfb.so': No such file or directory
> The dot in front of the install path worries me slightly. Shouldn't dpkg install
> directly into /usr ?
The leading dot means that the path starts from the current working
directory, which should be / at this point, so all should be OK. (Note
that all paths in a "dpkg-deb -c" listing have the leading dot.)
OK, time to check out in more detail what dpkg is doing when you try to
install the package. You can use strace to see which files are being
strace -f -e trace=file -o dpkg-file-strace.txt dpkg -i /var/cache/apt/archives/xserver-xorg-core_2%3a1.4.1~git20080517-1_i386.deb
The generated output, dpkg-file-strace.txt, will be too long to be
posted on the list. The best option would be if you could put the file
on a publicly accessible website or FTP server.
Regards, | http://users.icfo.es/Florian.Kulzer