Error during installation of Nvidia driver (Solved)

Problems and successes with specific brands/models of computer video hardware
Post Reply
Message
Author
kalisti
Posts: 23
Joined: Wed 11 May 2011, 16:14

Error during installation of Nvidia driver (Solved)

#1 Post by kalisti »

I followed the instructions from this thread on installing Nvidia drivers.

Everything seemed to work fine, untill..
ERROR: Failed to execute '/sbin/depmod -aq': /sbin/depmod: invalid option -q

BusyBox v1.15.0.svn (date/time) Multi-call Binary

No help available
Hit OK.

Continue anyway? (what to do..)

Yes.

Complete, succes, driver installed.

Reboot. No X. Prompt. So 'xorgwizard'. then 'xwin'. Which won't run. Just the message 'exited from x, config files in... etc.'

Any clues what went wrong, what to do to fix it?

Edit: I should perhaps mention that the first time I exited to prompt to install the driver and ran the command

Code: Select all

./NVIDIA-Linux-x86-96.43.16-pkg1.run

and was told I had no permission. I the permissions to make excecutable/searchable. Then it did run. Perhaps this had an influence somehow.
Last edited by kalisti on Thu 12 May 2011, 19:33, edited 1 time in total.

Bruce B

Re: Error during installation of Nvidia driver

#2 Post by Bruce B »

kalisti wrote:Everything seemed to work fine, untill..
ERROR:
Failed to execute
'/sbin/depmod -aq': /sbin/depmod: invalid option -q
-q is an invalid option

What ran depmod?

I think you could just run depmod -a on the command line.

~

kalisti
Posts: 23
Joined: Wed 11 May 2011, 16:14

#3 Post by kalisti »

The installer ran depmod. It happened during the installation process. It did not appear to me I had any say in it, except to hit ok.

You mean to run depmod -a on the commandline after the installation, before starting x?


NB. it seems the installer has deleted the NVIDIA-Linux-x86-96.43.16-pkg1.run file from /root after I went through the installation. I can download it again of course, but I had the impression it would stay there.

Bruce B

#4 Post by Bruce B »

kalisti wrote:The installer ran depmod.
I'd try running it on the command line, first.

If your depmod is a BusyBox depmod, the -aq wouldn't work.

See what it is by typing depmod --help

~

kalisti
Posts: 23
Joined: Wed 11 May 2011, 16:14

#5 Post by kalisti »

That worked!

BTW, there is no help from BusyBox for depmod, but man depmod worked. I can't say I entirely understand it, but at least I have a better idea now.

Thanks a lot for you help, Bruce.

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#6 Post by BarryK »

In the latest Woof-built puppies, built from the trunk Woof, 'depmod' is now the full program (so if you do want to run the Busybox depmod then you have to run "busybox depmod". Thus, the -aq option will work.

Older puppies do have the full depmod, but it is named "depmod-FULL'.
[url]https://bkhome.org/news/[/url]

Post Reply