LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 08-06-2006, 06:01 PM   #1
ACE91
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 OpenOffice.org 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

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

Code:
error: Failed dependencies
       /bin/sh is needed by openoffice.org-core10-2.0.3-7
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
gilead
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 http://www.linuxpackages.net/pkg_details.php?id=7951. 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
ACE91
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 OpenOffice.org site.
 
Old 08-06-2006, 11:10 PM   #4
regis_n_bits
Member
 
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).
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:42 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration