LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Newbie (http://www.linuxquestions.org/questions/forumdisplay.php?f=8)
-   -   Errors were encountered while processing: nvidia-driver (http://www.linuxquestions.org/questions/showthread.php?t=866258)

lee_can 03-03-2011 12:32 PM

Errors were encountered while processing: nvidia-driver
 
Hi all,
i am newbie in linux system, i install backtrack on a virtual machine.
while start following some tutorials, i face lot of problems only with nvidia-driver.
for example, if i try to apt-get install chkconfig, the result will be as below:
Reading package lists... Done
Building dependency tree
Reading state information... Done
chkconfig is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up nvidia-driver (256.40-bt1) ...
FATAL: Module nvidia not found.
dpkg: error processing nvidia-driver (--configure):
subprocess post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1).

by the way my laptop is lenovo.
can anyone advise please as i since 3 days, i am still in the same place without any move.
i think by mistake i install nvidia-driver, i dont know if i must remove it.

I really appreciate any kind of help.
Thanks in advance

rizzy 03-03-2011 01:09 PM

You can't have nvidia drivers working in virtual machine environment. You'll need to install linux as a main OS or dual boot.
http://www.linuxquestions.org/questi...achine-787105/

Fred Caro 03-03-2011 02:58 PM

nvidia
 
Yes nvidia can be a pain but does seem to be recognised by Vbox, so why do you need to install linux to the hard drive before the drivers work? I imagine apple/windows works with nvidia.

Fred.

lee_can 03-04-2011 01:15 AM

I really appreciate your prompt replies,

you mean i have to run the backtrack on a burned CD and not to install on the hard drive?

What i shall do in order to solve this problem, i mean not to see again the error of nvidia, can anyone advise step by step what shall i do?
Gents, i am real newbie in linux system, i really appreciate any kind of help.

Thanks for your kinds.

Regards

rizzy 03-04-2011 05:01 AM

Maybe i've misunderstood you, would you please explain what is your goal, what are you trying to achieve by installing drivers? Tell us more about your set up, system spec, Vbox host OS.
If you want to uninstall the offending package do apt-get remove packagename.

lee_can 03-04-2011 09:45 AM

Maybe i didn't explain well what i am facing.
before i start, i am running sun virtual box on my lenovo pc under window 7.
i install Backtrack on the virtual machine.
When i start following some tutorial, for example:
apt-get install chkconfig, the result will be as below:
Reading package lists... Done
Building dependency tree
Reading state information... Done
chkconfig is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up nvidia-driver (256.40-bt1) ...
FATAL: Module nvidia not found.
dpkg: error processing nvidia-driver (--configure):
subprocess post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1).

which mean i cannot install chkconfig in order to proceed (this is as an example).
as it is mentioned Module nvidia not found.

my goal is to proceed with for example if i write in console :apt-get install chkconfig, the chkconfig will be installed without any error.

thanks guys for your help.
regards

rizzy 03-04-2011 10:17 AM

try these two commands to remove the nvidia stuff:
Code:

apt-get purge nvidia-glx
nvidia-installer --uninstall

As you are running linux in a virtual box there is no way nvidia drivers would work so might as well you remove all files/configs for nvidia.

lee_can 03-04-2011 11:26 AM

root@bt:~# apt-get purge nvidia-glx
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package nvidia-glx is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up nvidia-driver (256.40-bt1) ...
FATAL: Module nvidia not found.

dpkg: error processing nvidia-driver (--configure):
subprocess post-installation script returned error exit status 1
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
nvidia-driver
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@bt:~# nvidia-installer --uninstall
bash: nvidia-installer: command not found

if you can see:
Setting up nvidia-driver (256.40-bt1) ...
FATAL: Module nvidia not found.


maybe it is looking for nvidia-driver, and gave error for that reason, i dont know !

if i wanna change the question, i can ask how i can install "chkconfig"
by writing this in the console: apt-get install chkconfig
i will see the same error which is :
Setting up nvidia-driver (256.40-bt1) ...
FATAL: Module nvidia not found.


I know guys i am spending your time,but how i can avoid this:
Setting up nvidia-driver (256.40-bt1) ...
FATAL: Module nvidia not found.


thanks again

lee_can 03-04-2011 11:39 AM

is it per default will check the nvidia-driver and need to change some setting?

rizzy 03-04-2011 12:05 PM

have you tried: apt-get remove nvidia-driver?

lee_can 03-04-2011 12:17 PM

yes, i just tried it now, it gave me:
there is no nvidia driver currently installed.

after that, i tried apt-get install chkconfig, it didnt gave any error as before, maybe the problem is solved :)
anyway, i want really to thank you guys fredo caro and specially rizzy for spending your time.

Thanks a lot for your kinds

rizzy 03-04-2011 12:26 PM

you are welcome :)
please, mark the thread as solved in forum tools

Fred Caro 03-05-2011 11:36 AM

Just to add another possibility(s):

could have tried, dpkg --configure -a

or,

tried to install via aptitude if apt is not fully functional

or,

tried to install a small program and see what results you get.

It is annoying when you get error messages when things go wrong but not even a '0' when things go right.

Fred.


All times are GMT -5. The time now is 06:22 PM.