Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-06-2006, 06:01 PM   #1
LQ Newbie
Registered: Jul 2006
Location: Maine
Distribution: Slackware 10.2
Posts: 4

Rep: Reputation: 0
OpenOffice install trouble on Slackware -- RPM can't find /bin/sh

I've been trying to install 2.0.3 on my Slackware Linux 10.2 computer, but trying to install the RPM packages gives me a weird error. When I try to install all of the packages by running the following command

rpm -i *.rpm
it gives me this response:

error: Failed dependencies
       /bin/sh is needed by
How is it that it can't find /bin/sh? I have the program--I even tried running the command in the sh shell--but it doesn't see it for some reason. I'm logged in as root, so there shouldn't be any permission errors or anything--not that a program like sh would have any anyway--but it still doesn't see it. Does anyone have any idea why this is happening?
Old 08-06-2006, 06:16 PM   #2
Senior Member
Registered: Dec 2005
Location: Brisbane, Australia
Distribution: Slackware64 14.0
Posts: 4,141

Rep: Reputation: 168Reputation: 168
I can't help with the rpm error, but I didn't have any problems using the Slackware OpenOffice 2.0.3 package from Unless you need to use rpm for some reason, I recommend the Slackware (not native Slackware, but built for Slackware) package.
Old 08-06-2006, 08:12 PM   #3
LQ Newbie
Registered: Jul 2006
Location: Maine
Distribution: Slackware 10.2
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for the Slackware package. I didn't even know that was out there. I was only using the RPMs because that was the only download for Linux available from the site.
Old 08-06-2006, 11:10 PM   #4
Registered: Mar 2006
Distribution: Slackware64-current (kernel 4.19.5)
Posts: 103

Rep: Reputation: Disabled
The rpm error is because the rpm is expecting a different version of /bin/sh.

If you install the rpms using:
rpm -i --no-deps *.rpm

the install should work. Just be sure to install only the one desktop rpm (freedesktop).

Alternatively, you could change all of the rpms to tgz files using 'rpm2tgz'. Note that after installing the tgz the menu shortcuts, and one script file, need to be modified (they use /etc as the install directory instead of /opt).


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
trouble in install tetex-bin wucan Debian 1 06-05-2006 08:14 PM
Install rpm on gentoo, /bin/sh needed aeruzcar Linux - Software 3 06-15-2005 12:42 PM
How do I install rpm.bin? Joey.Dale Linux - Software 7 03-30-2004 09:19 PM
RPM can't find /bin/sh, etc... matthurne Linux - Software 0 01-04-2004 10:00 PM
Wanna install OpenOffice [RPM from Redhat 8] in Slack 9 zeppelin Slackware 8 08-06-2003 04:28 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 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
Open Source Consulting | Domain Registration