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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-03-2011, 12:32 PM
|
#1
|
Member
Registered: Mar 2011
Posts: 118
Rep:
|
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
|
|
|
03-03-2011, 02:58 PM
|
#3
|
Senior Member
Registered: May 2007
Posts: 1,007
Rep:
|
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.
|
|
|
03-04-2011, 01:15 AM
|
#4
|
Member
Registered: Mar 2011
Posts: 118
Original Poster
Rep:
|
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
|
|
|
03-04-2011, 05:01 AM
|
#5
|
Member
Registered: Mar 2004
Distribution: Debian
Posts: 285
Rep:
|
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.
|
|
|
03-04-2011, 09:45 AM
|
#6
|
Member
Registered: Mar 2011
Posts: 118
Original Poster
Rep:
|
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
|
|
|
03-04-2011, 10:17 AM
|
#7
|
Member
Registered: Mar 2004
Distribution: Debian
Posts: 285
Rep:
|
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.
|
|
|
03-04-2011, 11:26 AM
|
#8
|
Member
Registered: Mar 2011
Posts: 118
Original Poster
Rep:
|
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
|
|
|
03-04-2011, 11:39 AM
|
#9
|
Member
Registered: Mar 2011
Posts: 118
Original Poster
Rep:
|
is it per default will check the nvidia-driver and need to change some setting?
|
|
|
03-04-2011, 12:05 PM
|
#10
|
Member
Registered: Mar 2004
Distribution: Debian
Posts: 285
Rep:
|
have you tried: apt-get remove nvidia-driver?
|
|
1 members found this post helpful.
|
03-04-2011, 12:17 PM
|
#11
|
Member
Registered: Mar 2011
Posts: 118
Original Poster
Rep:
|
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
|
|
|
03-04-2011, 12:26 PM
|
#12
|
Member
Registered: Mar 2004
Distribution: Debian
Posts: 285
Rep:
|
you are welcome
please, mark the thread as solved in forum tools
|
|
|
03-05-2011, 11:36 AM
|
#13
|
Senior Member
Registered: May 2007
Posts: 1,007
Rep:
|
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 11:27 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|