www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/25/12:25:18

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <24206596.post@talk.nabble.com>
Date: Thu, 25 Jun 2009 09:24:44 -0700 (PDT)
From: Drew Holland <drew DOT holland AT infoprint DOT com>
To: cygwin AT cygwin DOT com
Subject: Failed Dependencies: /bin/sh needed by <rpm-name>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

I am encountering a strange error when I try and install rpm's on my system
using Cgywin.  I have wrote my .spec file and build the rpm fine in Cygwin
but when I try and install the rpm I just built I get the error:

Failed Dependencies: /bin/sh needed by <rpm-name>.rpm

It installs fine with the tag "--nodeps" but that is an iffy tag to be using
in RPMs that are being shipped to customers so I'd rather resolve this
dependency issue. After many fruitless hours searching google and only
coming up with Linux solutions the best I've found is that since RPM doesn't
have /bin/sh in its database I should reinstall bash from an RPM.  However I
can't find a Cygwin bash RPM anywhere, or at least one that is in anyway
recent (I'm assuming that "install bash from an rpm means get a .rpm file
that installs both rpm and bash, correct me if I'm wrong).  If anyone has
any idea how to do that or how to fix the error another way, I'm all ears.

Thank you very much,
Drew 
-- 
View this message in context: http://www.nabble.com/Failed-Dependencies%3A--bin-sh-needed-by-%3Crpm-name%3E-tp24206596p24206596.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019