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

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Thu, 25 Jun 2009 12:50:09 -0400
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Failed Dependencies: /bin/sh needed by <rpm-name>
Message-ID: <20090625165009.GA24735@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
References: <24206596 DOT post AT talk DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <24206596.post@talk.nabble.com>
User-Agent: Mutt/1.5.19 (2009-01-05)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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

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

- Raw text -


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