LinuxQuestions.org
Review your favorite Linux distribution.
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 12-31-2003, 03:01 PM   #1
silv3rhat
LQ Newbie
 
Registered: Dec 2003
Distribution: Slackware 9.0
Posts: 5

Rep: Reputation: 0
/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
 
Old 12-31-2003, 03:44 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 197Reputation: 197
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, 04:03 PM   #3
silv3rhat
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
 
  


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


All times are GMT -5. The time now is 10:07 PM.

Main Menu
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