LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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-18-2007, 07:47 PM   #1
Vilenjak
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Rep: Reputation: 0
Failed dependencies /bin/sh, libc.so.6... when installing rpm package


I'm trying to install a driver for my NMS PCI card. In the Card's installation manual is written that the driver supports only:

Red Hat Enterprise Linux ES, version 3.0 UPD 8
Red Hat Enterprise Linux AS, version 3.0 UPD 8
Red Hat Enterprise Linux ES, version 4.0 UPD 4
Red Hat Enterprise Linux AS, version 4.0 UPD 4

When installing the driver, i got the following errors:
i'm running Ubuntu 6.0.6 LTS, and have RPM4.4.1-5 installed.
Your assistance is appreciated.

Installing package: NMS Communications License Manager for Linux
error: Failed dependencies:
/bin/sh is needed by nmslm-2.22-1.i386
libc.so.6 is needed by nmslm-2.22-1.i386
libc.so.6(GLIBC_2.0) is needed by nmslm-2.22-1.i386
libc.so.6(GLIBC_2.1) is needed by nmslm-2.22-1.i386
libc.so.6(GLIBC_2.1.3) is needed by nmslm-2.22-1.i386
libdl.so.2 is needed by nmslm-2.22-1.i386
libdl.so.2(GLIBC_2.0) is needed by nmslm-2.22-1.i386
libdl.so.2(GLIBC_2.1) is needed by nmslm-2.22-1.i386
libnsl.so.1 is needed by nmslm-2.22-1.i386
libpthread.so.0 is needed by nmslm-2.22-1.i386
libpthread.so.0(GLIBC_2.0) is needed by nmslm-2.22-1.i386
libpthread.so.0(GLIBC_2.1) is needed by nmslm-2.22-1.i386
librt.so.1 is needed by nmslm-2.22-1.i386
libstdc++.so.5 is needed by nmslm-2.22-1.i386
libstdc++.so.5(CXXABI_1.2) is needed by nmslm-2.22-1.i386
libstdc++.so.5(GLIBCPP_3.2) is needed by nmslm-2.22-1.i386
ERROR - Failed installation of package: nmslm
Terminating Natural Access installation
 
Old 03-19-2007, 01:01 PM   #2
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
How did you install that RPM? I hope you used alien because Ubuntu does not natively support rpm packages.

As for the missing dependencies, it's obvious you'll need to install libstdc++5 and 6 first; I would need to look a closer look at the rest to find out what else is required.

The bin/sh issues is probably do to the fact that you're trying to install rpm on an apt-get oriented system. It could be solved by installing the rpm package first and creating a symlink to bin but I would seriously recommend using alien first.

Last edited by jay73; 03-19-2007 at 01:03 PM.
 
Old 03-19-2007, 06:49 PM   #3
Vilenjak
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Failed dependencies /bin/sh, libc.so.6... when installing rpm package

Great! Things are getting better.

sudo alien --to-deb *.rpm
sudo alien --to-deb *.rpmsudo rm *.rpm
sudo alien --to-rpm *.deb

Only /bin/sh is my issue now.
This is what i get now when Running install :

Natural Access Installation
Mon Mar 19 23:47:05 CET 2007
Options: (none)
RPM version 4.4.1

Installing package: NMS Communications License Manager for Linux
error: Failed dependencies:
/bin/sh is needed by nmslm-2.22-3.i386
ERROR - Failed installation of package: nmslm
Terminating Natural Access installation
 
Old 03-19-2007, 06:58 PM   #4
Vilenjak
LQ Newbie
 
Registered: Mar 2007
Posts: 3

Original Poster
Rep: Reputation: 0
Failed dependencies /bin/sh, libc.so.6... when installing rpm package

I have tried the following without success:
ln -sv bash /bin/sh
ln: creating symbolic link `/bin/sh' to `bash': File exists
 
Old 03-19-2007, 07:08 PM   #5
jay73
Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 130Reputation: 130
Have you tried

ln -s /usr/bin/rpm /bin/rpm?

This helped me out on one occasion but I forget whether this had to be done before calling alien or after that.
 
  


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 failed dependencies. unreal128 Linux - Software 4 09-13-2005 07:00 PM
Failed dependencies with in RPM louisb Linux - Enterprise 1 01-10-2005 10:42 AM
fighting red hat package dependencies/libc.so.6 drdont Linux - Software 1 01-01-2005 05:02 PM
Failed dependencies error installing spamassassin-2.61-1.i386.rpm on RH7.0 camelia Linux - Newbie 1 01-20-2004 07:33 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 01:44 AM


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