From: Curt Howland on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

I used to have an nvidia graphics card in my machine, I removed it
when I found the AMD/ATI drivers, and am now using the onboard video.

Well, I installed the AMD driver before removing the nvidia drivers,
and when trying to remove the nvidia-glx package I get the following
error:

==========
Removing nvidia-glx ...
rm: cannot remove `/usr/lib/libGL.so': No such file or directory
dpkg-divert: rename involves overwriting `/usr/lib/libGL.so.1.2' with
different file `/usr/lib/nvidia/libGL.so.1.2.xlibmesa', not allowed
dpkg: error processing nvidia-glx (--purge):
subprocess post-removal script returned error exit status 2
Errors were encountered while processing:
nvidia-glx
E: Sub-process /usr/bin/dpkg returned an error code (1)
==========

This is preventing every other function, stopping updating and such.

I have the idea that I could _delete_ the file "/usr/lib/libGL.so.1.2"
and run the remove, but I don't know what problems that might cause.

Suggestions, before I do something I am going to regret?

Curt-


- --
Those who torment us for our own good will torment us without end,
for they do so with the approval of their consciences.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEVAwUBTBgBUC9Y35yItIgBAQJ8iAf+Imy705bfGDjD+cA5lSQGO710Dp6ScMck
/RVBvEJrfCozfDuPA0ODqw8lH15Bzs3N0osZ9O2C5PiK8lz1SWo92pEox6zRECFu
bdbV3mxtcs5nAMKqY2oAPlBhWLk/rily+QJV8y8g+DjAirRrEFQrMX91MoorF0XP
pKi0ZJVT+HaURIBHDWfZui5HFYaOhhrf+oQpdj27MWZSft9MKdSkqkKvWHaZup+M
ZcWOSXnAELRr9DSooV35uEXoBfSnKLMiUs7ezx9kc+Od8t+wAlDcc++l5WXMfQ+u
tUH7ryhPweyyqohz/RBrp4oDyqvAO3CltHUg9dNKCSt22ByoUITmrw==
=ups2
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/201006151840.16876.Howland(a)priss.com
From: Chris Bannister on
On Tue, Jun 15, 2010 at 06:40:16PM -0400, Curt Howland wrote:
> ==========
> Removing nvidia-glx ...
> rm: cannot remove `/usr/lib/libGL.so': No such file or directory
> dpkg-divert: rename involves overwriting `/usr/lib/libGL.so.1.2' with
> different file `/usr/lib/nvidia/libGL.so.1.2.xlibmesa', not allowed
> dpkg: error processing nvidia-glx (--purge):
> subprocess post-removal script returned error exit status 2
> Errors were encountered while processing:
> nvidia-glx
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> ==========
>
> This is preventing every other function, stopping updating and such.
>
> I have the idea that I could _delete_ the file "/usr/lib/libGL.so.1.2"
> and run the remove, but I don't know what problems that might cause.

You could rename it, and try again. I have nvidia installed on Lenny
using "module assistant"…

fischer:~# ls -al /usr/lib/libGL*
lrwxrwxrwx 1 root root 18 2009-01-09 16:34 /usr/lib/libGL.so.1 ->
libGL.so.173.14.09
-rw-r--r-- 1 root root 845024 2008-09-02 06:09
/usr/lib/libGL.so.173.14.09
lrwxrwxrwx 1 root root 20 2008-12-29 21:56 /usr/lib/libGLU.so.1 ->
libGLU.so.1.3.070004
-rw-r--r-- 1 root root 546088 2008-12-14 15:29
/usr/lib/libGLU.so.1.3.070004
lrwxrwxrwx 1 root root 22 2009-01-09 16:34 /usr/lib/libGLcore.so.1
-> libGLcore.so.173.14.09
-rw-r--r-- 1 root root 16181640 2008-09-02 06:09
/usr/lib/libGLcore.so.173.14.09

… and I have no "/usr/lib/libGL.so.1.2" file.

Here is the contents of "/usr/lib/nvidia/"

fischer:~# ls -al /usr/lib/nvidia/
total 3788
drwxr-xr-x 2 root root 4096 2009-07-01 14:51 .
drwxr-xr-x 80 root root 49152 2010-05-30 23:39 ..
-rw-r--r-- 1 root root 517264 2008-12-14 15:29 libGL.so.1.2.xlibmesa
lrwxrwxrwx 1 root root 12 2008-12-29 21:56 libGL.so.1.xlibmesa ->
libGL.so.1.2
-rw-r--r-- 1 root root 2606591 2009-06-11 22:07 libGLcore.so.xlibmesa
-rw-r--r-- 1 root root 529621 2009-06-11 22:07 libglx.so.xlibmesa
-rw-r--r-- 1 root root 127224 2008-09-02 06:09
libnvidia-cfg.so.173.14.09
-rwxr-xr-x 1 root root 5064 2008-09-02 06:09 tls_test
-rw-r--r-- 1 root root 4920 2008-09-02 06:09 tls_test_dso.so

--
Chris.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/20100616121059.GB31104(a)fischer
 | 
Pages: 1
Prev: inetutils-inetd --debug
Next: LVM