Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-31-2003, 04:01 PM   #1
LQ Newbie
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 5

Rep: Reputation: 0
/bin/sh doesn't exist???


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:

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/
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

Old 12-31-2003, 04:44 PM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 252Reputation: 252Reputation: 252
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?
Old 12-31-2003, 05:03 PM   #3
LQ Newbie
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 5

Original Poster
Rep: Reputation: 0
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


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
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 11:30 AM
Installing .bin-files, leave the file in /usr/local/bin/ ? lagu2653 Linux - Software 1 11-08-2005 09:30 PM
Webmin: The Apache server executable /usr/local/apache2/bin does not exist hektor Linux - Software 0 01-14-2005 07:48 AM
Newbie needs help Installing j2sdk-1_4_2-nb_3_5_1-bin-linux.bin bendoku Linux - Newbie 5 10-11-2003 10:27 AM
/usr/bin/ginstall doesn't exist MasterC Linux From Scratch 10 10-20-2002 02:16 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:40 AM.

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