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

Re: Xorg broken in Lenny



Hello Florian. Thanks for your suggestions.

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'. 
>>> [ snip: We verified that there is enough space on left on the root
>>>   partition. /usr/lib/xorg/modules/libwfb.so does not exist so far; I am
>>>   not sure if that is OK. (I suspected some problem with attributes
>>>   making it impossible to overwrite the file.) ]
>>>
>>> Just to be on the safe side: Check with "mount" if your root partition
>>> is mounted rw.
>> Permissions of root partition (/dev/hda11) look OK:
[...]
>> The file .deb file exists in the cache:
[...]
>> The file libwfb.so in the .deb seems OK:
[...]
> 
> 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).

> 
> Try to download the .deb again, maybe from another mirror, etc.
> 

I've already tried changing mirrors and clearing the cache (aptitude clean)
before downloading. I've also switched from the "lenny" to "testing"
repositories in /etc/apt/sources.list.
[...]

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-
-1_i386.deb
[...]
 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 ?

I've checked the exact size of the deb with "ls -l" (4070872 Byte), which is the
value given on the Debian website [1]. However, I cannot check the MD5 checksum
(bca5e59168c73a3c8661069df80f368a) using
# md5sum --check xserver-xorg-core_1.4.1~git20080517-1_i386.deb
md5sum: xserver-xorg-core_1.4.1~git20080517-1_i386.deb: no properly formatted
MD5 checksum lines found
In fact, I get the same error for any .deb file, so I'm missing something here.

I've checked that libwfb.so only exists in two packages, so there are no duplicates:
/usr/lib/debug/usr/lib/xorg/modules/libwfb.so  	 xserver-xorg-core-dbg
/usr/lib/xorg/modules/libwfb.so 	xserver-xorg-core

I've tried installing other random packages eg "smartmontools", but aptitude
always wants to upgrade xserver-xorg-core, and will fail. If I keep pressing "n"
for other solutions I end up with this:
*** No more solutions available ***
The following actions will resolve these dependencies:
Remove the following packages:
xorg
xserver-xorg
xserver-xorg-core
xserver-xorg-input-all
xserver-xorg-input-evdev
xserver-xorg-input-kbd
xserver-xorg-input-mouse
xserver-xorg-input-synaptics
xserver-xorg-input-wacom
xserver-xorg-video-all
xserver-xorg-video-apm
xserver-xorg-video-ark
xserver-xorg-video-ati
xserver-xorg-video-chips
xserver-xorg-video-cirrus
xserver-xorg-video-cyrix
xserver-xorg-video-dummy
xserver-xorg-video-fbdev
xserver-xorg-video-glint
xserver-xorg-video-i128
xserver-xorg-video-i740
xserver-xorg-video-i810
xserver-xorg-video-imstt
xserver-xorg-video-intel
xserver-xorg-video-mga
xserver-xorg-video-neomagic
xserver-xorg-video-newport
xserver-xorg-video-nsc
xserver-xorg-video-nv
xserver-xorg-video-rendition
xserver-xorg-video-s3
xserver-xorg-video-s3virge
xserver-xorg-video-savage
xserver-xorg-video-siliconmotion
xserver-xorg-video-sis
xserver-xorg-video-sisusb
xserver-xorg-video-tdfx
xserver-xorg-video-tga
xserver-xorg-video-trident
xserver-xorg-video-tseng
xserver-xorg-video-v4l
xserver-xorg-video-vesa
xserver-xorg-video-vga
xserver-xorg-video-via
xserver-xorg-video-vmware
xserver-xorg-video-voodoo
Leave the following dependencies unresolved:
gdm recommends xserver-xorg
Score is -12096
Accept this solution? [Y/n/q/?]
I chickened out at this stage.

I have run a SMART check in case this is a failing hard disc. An extended
offline test using "smartctl -s on -t long /dev/hda" completed without error.

I'm out of inspiration!

[1] http://packages.debian.org/lenny/i386/xserver-xorg-core/download

Regards,
-- 
Chris.


Reply to: