Comment 13 for bug 177609

Revision history for this message
lorenzo (future-wolf102) wrote :

Hi im new to ubuntu and ive been looking for hours to fix this bug. Every time i try to install the restricted driver for a nvidia geforce 8500 card I get this from the terminal.

lorenzo@lorenzo-desktop:~$ sudo aptitude install nvidia-glx-new
[sudo] password for lorenzo:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Building tag database... Done
The following NEW packages will be installed:
  nvidia-glx-new
The following partially installed packages will be configured:
  nvidia-glx-new-dev
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/5014kB of archives. After unpacking 15.2MB will be used.
Writing extended state information... Done
(Reading database ... 120047 files and directories currently installed.)
Unpacking nvidia-glx-new (from .../nvidia-glx-new_100.14.19+2.6.22.4-14.10_i386.deb) ...
dpkg-divert: `diversion of /usr/lib/libGL.so.1 to /usr/lib/nvidia/libGL.so.1.xlibmesa by nvidia-glx-new' clashes with `diversion of /usr/lib/libGL.so.1 to /usr/lib/fglrx/libGL.so.1.xlibmesa by xorg-driver-fglrx'
dpkg: error processing /var/cache/apt/archives/nvidia-glx-new_100.14.19+2.6.22.4-14.10_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-glx-new_100.14.19+2.6.22.4-14.10_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of nvidia-glx-new-dev:
 nvidia-glx-new-dev depends on nvidia-glx-new (>= 100.14.19); however:
  Package nvidia-glx-new is not installed.
dpkg: error processing nvidia-glx-new-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 nvidia-glx-new-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done

What should I try now? Ive tried envy and that still didnt work. I see the clash but I dont know how to fix it.