LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   /bin/sh doesn't exist??? (https://www.linuxquestions.org/questions/linux-newbie-8/bin-sh-doesnt-exist-130417/)

silv3rhat 12-31-2003 03:01 PM

/bin/sh doesn't exist???
 
Hello,

I'm trying to install the kernel headers for 2.4.20, so I run the Nvidia installer for my geforcefx 5200.

But when I tried to install the headers via RPM, computer told me it was missing two dependencies:
/bin/sh
/bin/sh

so, i googled around and came to a post from someone similar missing his headears. someone recommended that he try doing this:


ls -la /bin/sh
ln -s /bin/bash /bin/sh

well i tried that, and again it's telling me:
'/bin/sh': file does not exist.

i look physically into the folder

cd /bin/
ls
and there it was....i'm not quite sure what's going on, any help? i just got linux up and running yesterday.

specs: slackware 9.0
linux kernel :2.4.20

it's all kind of funny when you look at it. one thing needs another and the list runs ad infinitum

to install nvidia module : you need linux headers
to install headers: you need /bin/sh

thanks

trickykid 12-31-2003 03:44 PM

By default, sh or the bourne shell isn't installed but linked to bash.

After creating your link, do a ls -al /bin/sh and see if it created it properly linking to bash?

silv3rhat 12-31-2003 04:03 PM

I tried that:
ls -al /bin/sh

and this is what I get:

lrwxrwxrw 1 root root 4 Dec 30 20:00 /bin/sh -> bash*

I'm assuming this means it's there, yet RPM is still saying it doesnt have it


All times are GMT -5. The time now is 04:23 AM.