LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-03-2011, 12:32 PM   #1
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Rep: Reputation: 1
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
 
Old 03-03-2011, 01:09 PM   #2
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 285

Rep: Reputation: 69
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/
 
Old 03-03-2011, 02:58 PM   #3
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
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.
 
Old 03-04-2011, 01:15 AM   #4
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
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
 
Old 03-04-2011, 05:01 AM   #5
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 285

Rep: Reputation: 69
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.
 
Old 03-04-2011, 09:45 AM   #6
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
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
 
Old 03-04-2011, 10:17 AM   #7
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 285

Rep: Reputation: 69
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.
 
Old 03-04-2011, 11:26 AM   #8
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
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
 
Old 03-04-2011, 11:39 AM   #9
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
is it per default will check the nvidia-driver and need to change some setting?
 
Old 03-04-2011, 12:05 PM   #10
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 285

Rep: Reputation: 69
have you tried: apt-get remove nvidia-driver?
 
1 members found this post helpful.
Old 03-04-2011, 12:17 PM   #11
lee_can
Member
 
Registered: Mar 2011
Posts: 118

Original Poster
Rep: Reputation: 1
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
 
Old 03-04-2011, 12:26 PM   #12
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 285

Rep: Reputation: 69
you are welcome
please, mark the thread as solved in forum tools
 
Old 03-05-2011, 11:36 AM   #13
Fred Caro
Senior Member
 
Registered: May 2007
Posts: 1,007

Rep: Reputation: 167Reputation: 167
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Errors were encountered while processing: th1bill Ubuntu 2 11-07-2010 10:37 PM
[SOLVED] encountered several errors downloading Ubuntu 9.04 Sharpdrop Linux - Newbie 5 08-22-2009 12:18 AM
what do these errors encountered upon starting linux mean amanjsingh Linux - Laptop and Netbook 1 12-06-2006 06:19 AM
NVidia Driver Installer errors DoddyUK Linux - Software 1 06-03-2005 01:46 PM
errors encountered during kernel compile superbondbond Linux - Software 5 08-15-2003 04:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:27 AM.

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