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 To: cygwin AT cygwin DOT com Subject: Re: Failed Dependencies: /bin/sh needed by 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 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , 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 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