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

SOLVED: Re: Xorg broken in Lenny



Sven Joachim wrote:
> On 2008-06-20 10:16 +0200, Chris Lale wrote:
> 
>> I have created both files. Florian's:
>> http://untrammelled.co.uk/lenny/dpkg-file-strace.txt
>>
>> Sven's
>> http://untrammelled.co.uk/lenny/dpkg.log
> 
> Thanks, now I have an idea what is going on.  Here is your problem:
> 
> ,----
> | D000100: setupvnamevbs main=`/usr/lib/nvidia/libwfb.so.xserver-xorg-core' tmp=`/usr/lib/nvidia/libwfb.so.xserver-xorg-core.dpkg-tmp' new=`/usr/lib/nvidia/libwfb.so.xserver-xorg-core.dpkg-new'
> | D000100: tarobject nonexistent
> | dpkg: error processing /var/cache/apt/archives/xserver-xorg-core_2%3a1.4.1~git20080517-1_i386.deb (--install):
> |  unable to create `./usr/lib/xorg/modules/libwfb.so': No such file or directory
> `----
> 
> That means that the file has been diverted, see dpkg-divert(8).  And
> probably the directory /usr/lib/nvidia does not exist (any more),
> causing the strange error message you have seen.
> 
> Please show the output of
> 
> /usr/sbin/dpkg-divert --list /usr/lib/xorg/modules/libwfb.so
> 
> since I don't know of any package that would divert that file.  Probably
> removing the diversion with "dpkg-divert --remove" will solve your problem.


I found two files in xserver-xorg-core had been diverted by nvidia-glx by using
these commands and checking the error messages:
,----
| # aptitude install xserver-xorg-core
|
| # /usr/sbin/dpkg-divert --list /usr/lib/xorg/modules/libwfb.so
| diversion of /usr/lib/xorg/modules/libwfb.so to
| /usr/lib/nvidia/libwfb.so.xserver-xorg-core by nvidia-glx
|
| # aptitude show nvidia-glx
| Unable to find an archive "lenny" for the package "nvidia-glx"
| Package: nvidia-glx
| State: not a real package
`----

The diverted files were "/usr/lib/xorg/modules/libwfb.so" and
"/usr/lib/xorg/modules/extensions/libGLcore.so". I removed them with dpkg-divert
and upgraded xserver-xorg-core successfully. My X Window System is restored!

nvidia-glx non-free (NVIDIA binary XFree86 4.x driver) exists in Sarge and Etch,
(NVIDIA binary Xorg driver) in Sid, but not in Lenny. I don't know how to find
out whether it used to be in Lenny. My Lenny was an upgrade from Etch - perhaps
it's remembering it from there?

I'll report this as a bug in xserver-xorg-core.

Many thanks to Florian and Sven. :-)
-- 
Chris.


Reply to: