X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Date: Thu, 25 Jun 2009 12:50:09 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: Failed Dependencies: /bin/sh needed by <rpm-name>
Message-ID: <20090625165009.GA24735@ednor.casa.cgf.cx>
Reply-To: cygwin@cygwin.com
References: <24206596.post@talk.nabble.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <24206596.post@talk.nabble.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On Thu, Jun 25, 2009 at 09:24:44AM -0700, Drew Holland wrote:
>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

This shouldn't be surprising.  Cygwin doesn't generate an rpm database
since rpm is not the standard installation method so all dependencies
will be unmet.

Btw, the rpm binary in cygwin is currently distributed on an as-is
basis.  It's pretty old.  I plan on updating it at some point but I
can't make any predictions on when that will be.

So, it's up to you to populate the rpm database as you see fit.  You can
do that with the --justdb option if you have an actual rpm.  Building
the rpm for /bin/sh would be the challenge there.

cgf

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

