PDA

View Full Version : [ubuntu] Nvidia Drivers - Two Installs



tehkane
June 16th, 2009, 11:48 AM
A while back, I installed Nvidia drivers I downloaded from their website. At this time, I also had the restricted drivers from the repo installed. Due to things going to ****, I used the uninstaller that came with the website drivers to remove it. Things started working again.

However, when I remove/install files with apt-get from CLI, I get these errors:


ldconfig deferred processing now taking place
/sbin/ldconfig.real: /usr/lib/libnvidia-cfg.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libvdpau.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libvdpau_trace.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libnvidia-tls.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libGL.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libvdpau_nvidia.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libXvMCNVIDIA.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libcuda.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/libGLcore.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib32/libvdpau_trace.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib32/libnvidia-tls.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib32/libGL.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib32/libvdpau_nvidia.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib32/libcuda.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib32/libGLcore.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib/tls/libnvidia-tls.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.

/sbin/ldconfig.real: /usr/lib32/tls/libnvidia-tls.so.180.51 is not an ELF file - it has the wrong magic bytes at the start.


I have 180.11 installed - The repo drivers. So I'm guessing these are files that were left behind from the website drivers...

How can I fix these errors? I read a forum post that said you need to reinstall these packeges to fix them. But I don't think I want them... If they are files from the old website drivers, I don't need them :/

Ideas?

kpkeerthi
June 16th, 2009, 12:26 PM
If you installed the driver using the installer downloaded from the website, you should always uninstall it first

sh NVIDIA-Linux-x86-xxx.yy.zz-pkg0.run --uninstall
using the installer before installing the repo drivers.

tehkane
June 16th, 2009, 12:43 PM
Yeah, I did that. Then I reinstalled the drivers from the repo. That was quite some time ago and I'm still getting these APT errors :/

tehkane
June 17th, 2009, 02:45 AM
Bump >.<

Steelmourne
June 17th, 2009, 06:08 AM
This should help: http://ubuntuforums.org/showthread.php?t=1125400

Generally, if you want new drivers purge your system of the old until no trace is left. THe above thread has instructions on this.