Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


Closed Thread
  Search this Thread
Old 12-12-2005, 12:20 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 13

Rep: Reputation: 0
How to resolve "/bin/sh is needed by <package>" errors


I'm trying to install RPMs on my FC3 system, but no matter what I try to install, I get a "/bin/sh is needed by <package>" error. I know that I have /bin/sh installed, however my RPM database got corrupted and I had to rebuild it; now RPM isn't aware of a lot of the packages I have installed.

Is there something I can do besides use rpm --nodeps to avoid the "/bin/sh is needed by <package>" errors? I need to know what dependencies I really am missing and need to install, but I don't want to have to use --nodeps all the time just to keep RPM from complaining about stuff that really is there.

Thanks in advance,

Old 12-13-2005, 02:06 PM   #2
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Originally Posted by srosburg
I know that I have /bin/sh installed,
on most systems, /bin/sh is just a symlink to /bin/bash

also look at the file /etc/shells and make sure /bin/sh is listed there.........
Old 08-10-2006, 02:58 PM   #3
LQ Newbie
Registered: Jun 2006
Location: Below the Mason-Dixon Line
Posts: 3

Rep: Reputation: 0
/bin/sh dependencies


I have had the exact same error message. I have /bin/sh and /bin/bash, but I did not have /bin/sh listed in /etc/shells, so I added it. I'm still experiencing the same problem. Is there more to it than just adding the /bin/sh line to the /etc/shells file?



Closed Thread

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
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
FC4 install errors, "diabling IRQ #10" "nobody cares" error message??? A6Quattro Fedora 6 07-20-2005 12:49 PM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
what is "S" instead of "X" in the file permission when i look at /usr/bin/chsh? Linux_interest Linux - Newbie 4 08-28-2004 09:22 AM
Can't locate object method "splitpath" via package "File::Spec" RobJohnston Linux - General 2 06-28-2003 09:59 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 12:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration