LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 09-25-2003, 12:00 AM   #1
Curious
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 9.0
Posts: 5

Rep: Reputation: 0
Question RPM error?


I am having a problem installing a driver for my Nvidia2 chipset. I only need it for my onboard 10/100. The RPM install gives me an error

Failed dependencies: needs /bin/sh yada yada

I see that for other RPM probs Others have said to shut down X.
I tried that to no avail.

Anyone know a workaround or a fix to my problem?
 
Old 09-25-2003, 12:43 AM   #2
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
you need to install the dependancies first...

the rpm utility tells you what dependancies you need to install in it's error message...
 
Old 09-25-2003, 12:48 AM   #3
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
http://www.osnews.com/story.php?news_id=2307
-----------------------------------------------------------------------------------

http://www.redhat.com/docs/books/max-rpm/

http://linux.duke.edu/projects/yum/

http://apt4rpm.sourceforge.net/
 
Old 09-25-2003, 12:50 AM   #4
Curious
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
RPM error?

/bin/sh is where it should be. I assume that it is the right file. It was installed with the OS. Is there something else I should be installing first?
 
Old 09-25-2003, 01:00 AM   #5
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
"Failed dependencies: needs /bin/sh yada yada"

is this the EXACT error message you get?
 
Old 09-25-2003, 01:03 AM   #6
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
could you post a link to the rpm you're trying to install?
 
Old 09-25-2003, 01:14 AM   #7
Curious
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
http://download.nvidia.com/XFree86/n...0_9.athlon.rpm

That is the rpm.

The exact error:

Failed dependancies:
/bin/sh is needed by NVIDIA_nforce-1.0-0261.rh90up_2.4.20_9.athlon.rpm
/bin/sh is needed by NVIDIA_nforce-1.0-0261.rh90up_2.4.20_9.athlon.rpm

Do you happen to know what distro is closest to slackware 9.0 because all of the rpm's I am finding do not have one specifically for slackware?
 
Old 09-25-2003, 01:25 AM   #8
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
Although Slackware does support RPMs, it's not built on RPMs like some other distros.
When you install a RPM it queries the RPM database for dependencies, which is empty in Slackware. If you're absolutely sure you have all the dependencies, install it with --nodeps option. However since what you're trying to install is a kernel module, I recommend you install the source rpm, or get the actual source, then compile it yourself.
 
Old 09-25-2003, 01:28 AM   #9
Curious
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
I was afraid of that. I don't have any idea about compiling these things. I tried once but couldn't get it to work. Know any good links to help me out?

And thanks alot you guys.

I really appreciate the help...keeps me from getting so damn frustrated.
 
Old 09-25-2003, 01:32 AM   #10
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
why are you installing an rpm in slackware?

if you are using slackware, i think it would be best if you used the tarball at the end of the download page... where it says "alternative installation"...

http://www.nvidia.com/object/linux_nforce_1.0-0261.html

http://download.nvidia.com/XFree86/n....0-0261.tar.gz

or you could use something like "rpm2tgz" to convert the rpm into slackware's native tgz...
 
Old 09-25-2003, 01:36 AM   #11
win32sux
LQ Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 376Reputation: 376Reputation: 376Reputation: 376
here's a link that might help you:

http://www.linuxgazette.com/issue38/pollman.html
 
Old 09-25-2003, 01:59 AM   #12
Demonbane
LQ Guru
 
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
OK don't worry its not as hard as it sounds, first if you havent already, go grab the kernel source from any Slackware mirror, ( assuming you don't use your own kernel) should be inside ~/slackware/k/ directory, from memory I think slackware 9 uses kernel 2.4.20 out of the box.
It should be a .tgz file, install it by using "installpkg" command.
after that's done go to /usr/src/ , you should see a symbolic link "linux"
now grab the nvidia nforce driver source (the .tar.gz one)
http://download.nvidia.com/XFree86/n....0-0261.tar.gz

extract it by doing

tar xvzf NVIDIA_nforce-1.0-0261.tar.gz

it should create a directory called "nforce"
cd in there, su, then do

make
make install

(generally when compiling and installing from sources you need to first do a ./configure , but you don't in this case for the nforce driver)
The "make" command compiles the source code into binary, the "make install" copies the binaries into places where they should be installed.
Lastly edit your /etc/modules.conf then add

alias eth0 nvnet
alias sound-slot-0 nvaudio
alias usb-interface usb-ohci

So that the modules gets loaded on boot, do a "modprobe nvnet" if you want to load it straight away.
note if you only want the NIC you might want to leave out the other 2.

hope this helps.

Last edited by Demonbane; 09-25-2003 at 02:01 AM.
 
Old 09-25-2003, 04:41 PM   #13
dillybat
Member
 
Registered: Sep 2003
Location: Minnesota
Distribution: Red Hat 7.3, RHEL4 WS, FC 1-6, Ubuntu
Posts: 51

Rep: Reputation: 15
Exclamation Get the latest driver...

if you are using an nvidia card then get the latest nvidia driver. the last 2 releases, or so, of nvidia drivers did away with the use of RPMS. This allows nvidia to have one file for several distros.

Get this new driver and follow the docs for it and everything should be fine...
 
  


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
RPM error when trying to install an rpm Trance56k SUSE / openSUSE 3 11-10-2005 11:25 PM
rpm error only says"rpm: relocation error: rpm: undefined symbol: poptAliasOptions" dlrsims Linux - Newbie 2 11-14-2003 10:22 PM
error: cannot get exclusive lock on /var/lib/rpm/Packages error: cannot open Packages inward_eye Linux - Software 3 08-24-2003 04:07 PM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 05:55 PM
RPM error pk21 Linux - General 1 08-22-2002 10:48 AM


All times are GMT -5. The time now is 02:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration