LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 10-10-2013, 12:16 AM   #1
lindylex
Member
 
Registered: Mar 2007
Posts: 192

Rep: Reputation: 17
NVIDIA Corporation G96 [GeForce 9600M GT]/ Debian Wheezy


I am trying to install drivers for my “VGA compatible controller: NVIDIA Corporation G96 [GeForce 9600M GT]” using the following link.

https://wiki.debian.org/NvidiaGraphicsDrivers#configure

OS: Debian Wheezy 64 bit

I ran the following.

Code:
# aptitude update
# aptitude -r install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') nvidia-kernel-dkms
I receive errors for all the following packages.

Code:
The following partially installed packages will be configured:
  glx-alternative-mesa glx-alternative-nvidia glx-diversions libgl1-nvidia-alternatives libgl1-nvidia-glx 
  libglx-nvidia-alternatives libxvmcnvidia1 nvidia-alternative nvidia-glx xserver-xorg-video-nvidia 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.
Setting up glx-diversions (0.2.2) ...    
ERROR: /usr/lib/nvidia/libglx.so.xlibmesa does still exist. Aborting.
       This file seems to be remaining from an old unclean installation,
       update or removal and needs to be moved away (or deleted) before
       the installation of glx-diversions can continue.
dpkg: error processing glx-diversions (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of glx-alternative-mesa:
 glx-alternative-mesa depends on glx-diversions (= 0.2.2); however:
  Package glx-diversions is not configured yet.

dpkg: error processing glx-alternative-mesa (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of glx-alternative-nvidia:
 glx-alternative-nvidia depends on glx-diversions (= 0.2.2); however:
  Package glx-diversions is not configured yet.
 glx-alternative-nvidia depends on glx-alternative-mesa; however:
  Package glx-alternative-mesa is not configured yet.

dpkg: error processing glx-alternative-nvidia (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-nvidia-alternatives:
 libgl1-nvidia-alternatives depends on glx-alternative-mesa; however:
  Package glx-alternative-mesa is not configured yet.
 libgl1-nvidia-alternatives depends on glx-alternative-nvidia; however:
  Package glx-alternative-nvidia is not configured yet.

dpkg: error processing libgl1-nvidia-alternatives (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglx-nvidia-alternatives:
 libglx-nvidia-alternatives depends on glx-alternative-mesa; however:
  Package glx-alternative-mesa is not configured yet.
 libglx-nvidia-alternatives depends on glx-alternative-nvidia; however:
  Package glx-alternative-nvidia is not configured yet.

dpkg: error processing libglx-nvidia-alternatives (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-alternative:
 nvidia-alternative depends on glx-alternative-nvidia (>= 0.2); however:
  Package glx-alternative-nvidia is not configured yet.
 nvidia-alternative depends on libgl1-nvidia-alternatives (>= 275.09.07-4); however:
  Package libgl1-nvidia-alternatives is not configured yet.
 nvidia-alternative depends on libglx-nvidia-alternatives (>= 275.09.07-4); however:
  Package libglx-nvidia-alternatives is not configured yet.

dpkg: error processing nvidia-alternative (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-nvidia-glx:amd64:
 libgl1-nvidia-glx:amd64 depends on nvidia-alternative; however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing libgl1-nvidia-glx:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxvmcnvidia1:amd64:
 libxvmcnvidia1:amd64 depends on nvidia-alternative; however:
  Package nvidia-alternative is not configured yet.
 libxvmcnvidia1:amd64 depends on libgl1-nvidia-glx (= 304.88-1+deb7u1); however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.

dpkg: error processing libxvmcnvidia1:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xserver-xorg-video-nvidia:
 xserver-xorg-video-nvidia depends on libgl1-nvidia-glx (= 304.88-1+deb7u1); however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.
 xserver-xorg-video-nvidia depends on nvidia-alternative (= 304.88-1+deb7u1); however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing xserver-xorg-video-nvidia (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-glx:
 nvidia-glx depends on libgl1-nvidia-glx (= 304.88-1+deb7u1); however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.
 nvidia-glx depends on libxvmcnvidia1 (= 304.88-1+deb7u1); however:
  Package libxvmcnvidia1:amd64 is not configured yet.
 nvidia-glx depends on xserver-xorg-video-nvidia (= 304.88-1+deb7u1); however:
  Package xserver-xorg-video-nvidia is not configured yet.
 nvidia-glx depends on nvidia-alternative (= 304.88-1+deb7u1); however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing nvidia-glx (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 glx-diversions
 glx-alternative-mesa
 glx-alternative-nvidia
 libgl1-nvidia-alternatives
 libglx-nvidia-alternatives
 nvidia-alternative
 libgl1-nvidia-glx:amd64
 libxvmcnvidia1:amd64
 xserver-xorg-video-nvidia
 nvidia-glx
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up glx-diversions (0.2.2) ...
ERROR: /usr/lib/nvidia/libglx.so.xlibmesa does still exist. Aborting.
       This file seems to be remaining from an old unclean installation,
       update or removal and needs to be moved away (or deleted) before
       the installation of glx-diversions can continue.
dpkg: error processing glx-diversions (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of glx-alternative-mesa:
 glx-alternative-mesa depends on glx-diversions (= 0.2.2); however:
  Package glx-diversions is not configured yet.

dpkg: error processing glx-alternative-mesa (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglx-nvidia-alternatives:
 libglx-nvidia-alternatives depends on glx-alternative-mesa; however:
  Package glx-alternative-mesa is not configured yet.

dpkg: error processing libglx-nvidia-alternatives (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-nvidia-alternatives:
 libgl1-nvidia-alternatives depends on glx-alternative-mesa; however:
  Package glx-alternative-mesa is not configured yet.

dpkg: error processing libgl1-nvidia-alternatives (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of glx-alternative-nvidia:
 glx-alternative-nvidia depends on glx-diversions (= 0.2.2); however:
  Package glx-diversions is not configured yet.
 glx-alternative-nvidia depends on glx-alternative-mesa; however:
  Package glx-alternative-mesa is not configured yet.

dpkg: error processing glx-alternative-nvidia (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-alternative:
 nvidia-alternative depends on glx-alternative-nvidia (>= 0.2); however:
  Package glx-alternative-nvidia is not configured yet.
 nvidia-alternative depends on libgl1-nvidia-alternatives (>= 275.09.07-4); however:
  Package libgl1-nvidia-alternatives is not configured yet.
 nvidia-alternative depends on libglx-nvidia-alternatives (>= 275.09.07-4); however:
  Package libglx-nvidia-alternatives is not configured yet.

dpkg: error processing nvidia-alternative (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxvmcnvidia1:amd64:
 libxvmcnvidia1:amd64 depends on nvidia-alternative; however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing libxvmcnvidia1:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-glx:
 nvidia-glx depends on libxvmcnvidia1 (= 304.88-1+deb7u1); however:
  Package libxvmcnvidia1:amd64 is not configured yet.
 nvidia-glx depends on nvidia-alternative (= 304.88-1+deb7u1); however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing nvidia-glx (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-nvidia-glx:amd64:
 libgl1-nvidia-glx:amd64 depends on nvidia-alternative; however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing libgl1-nvidia-glx:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xserver-xorg-video-nvidia:
 xserver-xorg-video-nvidia depends on libgl1-nvidia-glx (= 304.88-1+deb7u1); however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.
 xserver-xorg-video-nvidia depends on nvidia-alternative (= 304.88-1+deb7u1); however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing xserver-xorg-video-nvidia (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 glx-diversions
 glx-alternative-mesa
 libglx-nvidia-alternatives
 libgl1-nvidia-alternatives
 glx-alternative-nvidia
 nvidia-alternative
 libxvmcnvidia1:amd64
 nvidia-glx
 libgl1-nvidia-glx:amd64
 xserver-xorg-video-nvidia

/var/log/Xorg.0.log


34.120] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[ 34.121] (II) Module dri2: vendor="X.Org Foundation"
[ 34.121] compiled for 1.12.4, module version = 1.2.0
[ 34.121] ABI class: X.Org Server Extension, version 6.0
[ 34.121] (II) Loading extension DRI2
[ 34.121] (II) LoadModule: "nvidia"
[ 34.158] (WW) Warning, couldn't open module nvidia
[ 34.158] (II) UnloadModule: "nvidia"
[ 34.158] (II) Unloading nvidia
[ 34.158] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 34.158] (II) LoadModule: "synaptics"
[ 34.158] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 34.177] (II) Module synaptics: vendor="X.Org Foundation"
[ 34.177] compiled for 1.12.4, module version = 1.6.2
[ 34.177] Module class: X.Org XInput Driver
[ 34.177] ABI class: X.Org XInput driver, version 16.0
[ 34.177] (EE) No drivers available.
[ 34.177]
Fatal server error:
[ 34.177] no screens found
[ 34.178]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.

Last edited by lindylex; 10-10-2013 at 12:33 AM.
 
Old 10-10-2013, 12:34 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

you need to get the installation to complete cleanly before you try to use the driver. You may be able to fix the package dependency problems with the following command.
Code:
apt-get -f install
Please run it and post the output.

Evo2.
 
Old 10-10-2013, 12:39 AM   #3
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

ohh, and extra info was added in an edit while I was writing my post...
Quote:
Code:
ERROR:  /usr/lib/nvidia/libglx.so.xlibmesa does still exist. Aborting.
       This file seems to be remaining from an old unclean installation,
       update or removal and needs to be moved away (or deleted) before
       the installation of glx-diversions can continue.
I suggest doing as the error message advises.

Evo2.
 
Old 10-10-2013, 01:48 PM   #4
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 334

Rep: Reputation: 60
If you installed a Nvidia driver manually, remember to uninstall it first:
Code:
sh ./NVIDIA-Linux-x86_64-xxx.xx.xx.run --uninstall
This is not related to the specific error message you have, but blacklist the nouveau driver.

Regards,
Stefan
 
Old 10-10-2013, 02:24 PM   #5
lindylex
Member
 
Registered: Mar 2007
Posts: 192

Original Poster
Rep: Reputation: 17
Evo, this is what I get. This all started when during the upgrade from the previous Debian version.

Code:
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
10 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up glx-diversions (0.2.2) ...
ERROR: /usr/lib/nvidia/libglx.so.xlibmesa does still exist. Aborting.
       This file seems to be remaining from an old unclean installation,
       update or removal and needs to be moved away (or deleted) before
       the installation of glx-diversions can continue.
dpkg: error processing glx-diversions (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of glx-alternative-mesa:
 glx-alternative-mesa depends on glx-diversions (= 0.2.2); however:
  Package glx-diversions is not configured yet.

dpkg: error processing glx-alternative-mesa (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of glx-alternative-nvidia:
 glx-alternative-nvidia depends on glx-diversions (= 0.2.2); however:
  Package glx-diversions is not configured yet.
 glx-alternative-nvidia depends on glx-alternative-mesa; however:
  Package glx-alternative-mesa is not configured yet.

dpkg: error processing glx-alternative-nvidia (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-nvidia-alternatives:
 libgl1-nvidia-alternatives depends on glx-alternative-mesa; however:
  Package glx-alternative-mesa is not configured yet.
 libgl1-nvidia-alternatives depends on glx-alternative-nvidia; however:
  Package glx-alternative-nvidia is not configured yet.

dpkg: error processing libgl1-nvidia-alternatives (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libglx-nvidia-alternatives:
 libglx-nvidia-alternatives depends on glx-alternative-mesa; however:
  Package glx-alternative-mesa is not configured yet.
 libglx-nvidia-alternatives depends on glx-alternative-nvidia; however:
  Package glx-alternative-nvidia is not configured yet.

dpkg: error processing libglx-nvidia-alternatives (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-alternative:
 nvidia-alternative depends on glx-alternative-nvidia (>= 0.2); however:
  Package glx-alternative-nvidia is not configured yet.
 nvidia-alternative depends on libgl1-nvidia-alternatives (>= 275.09.07-4); however:
  Package libgl1-nvidia-alternatives is not configured yet.
 nvidia-alternative depends on libglx-nvidia-alternatives (>= 275.09.07-4); however:
  Package libglx-nvidia-alternatives is not configured yet.

dpkg: error processing nvidia-alternative (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libgl1-nvidia-glx:amd64:
 libgl1-nvidia-glx:amd64 depends on nvidia-alternative; however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing libgl1-nvidia-glx:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libxvmcnvidia1:amd64:
 libxvmcnvidia1:amd64 depends on nvidia-alternative; however:
  Package nvidia-alternative is not configured yet.
 libxvmcnvidia1:amd64 depends on libgl1-nvidia-glx (= 304.88-1+deb7u1); however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.

dpkg: error processing libxvmcnvidia1:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of xserver-xorg-video-nvidia:
 xserver-xorg-video-nvidia depends on libgl1-nvidia-glx (= 304.88-1+deb7u1); however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.
 xserver-xorg-video-nvidia depends on nvidia-alternative (= 304.88-1+deb7u1); however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing xserver-xorg-video-nvidia (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of nvidia-glx:
 nvidia-glx depends on libgl1-nvidia-glx (= 304.88-1+deb7u1); however:
  Package libgl1-nvidia-glx:amd64 is not configured yet.
 nvidia-glx depends on libxvmcnvidia1 (= 304.88-1+deb7u1); however:
  Package libxvmcnvidia1:amd64 is not configured yet.
 nvidia-glx depends on xserver-xorg-video-nvidia (= 304.88-1+deb7u1); however:
  Package xserver-xorg-video-nvidia is not configured yet.
 nvidia-glx depends on nvidia-alternative (= 304.88-1+deb7u1); however:
  Package nvidia-alternative is not configured yet.

dpkg: error processing nvidia-glx (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 glx-diversions
 glx-alternative-mesa
 glx-alternative-nvidia
 libgl1-nvidia-alternatives
 libglx-nvidia-alternatives
 nvidia-alternative
 libgl1-nvidia-glx:amd64
 libxvmcnvidia1:amd64
 xserver-xorg-video-nvidia
 nvidia-glx
E: Sub-process /usr/bin/dpkg returned an error code (1)
 
Old 10-10-2013, 02:29 PM   #6
lindylex
Member
 
Registered: Mar 2007
Posts: 192

Original Poster
Rep: Reputation: 17
What command do I run to check if my upgrade was done completely? Or fix all broken packages?
 
Old 10-10-2013, 02:42 PM   #7
lindylex
Member
 
Registered: Mar 2007
Posts: 192

Original Poster
Rep: Reputation: 17
I ran this.

[code]
aptitude install -f
[code]

And deleted the following to files.
/usr/lib/nvidia/libGL.so.1.xlibmesa
/usr/lib/nvidia/libglx.so.xlibmesa

Things are looking better. I will keep you posted.

Thanks
 
Old 10-10-2013, 02:51 PM   #8
lindylex
Member
 
Registered: Mar 2007
Posts: 192

Original Poster
Rep: Reputation: 17
[SOLVED SOLUTION]
That was all I had to do. It is all solved now.

Thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Debian Wheezy, laptop, Nvidia Driver installation, GeForce GT 540M Balazs Linux - Software 3 03-31-2013 03:50 PM
Having problem getting higher resolutions with nVidia Corporation C51 GeForce 6150LE leinad11 Linux - Hardware 2 09-14-2009 09:28 PM
Debian Testing, kde 4.2, nvidia 9600M GT video playback issue khaleel5000 Debian 1 06-20-2009 04:55 PM
need Driver for "nVidia Corporation NV43 [GeForce 6600] (rev a2)" graphics card dth4h Linux - Hardware 7 05-03-2009 11:23 PM
No Sound. nvidia Corporation MCP61: Debian ETCH fof3 Linux - General 3 12-24-2007 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 07:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration