From owner-freebsd-questions Sun Apr 1 11:12:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from moutvdom00.kundenserver.de (moutvdom00.kundenserver.de [195.20.224.149]) by hub.freebsd.org (Postfix) with ESMTP id 082D037B718 for ; Sun, 1 Apr 2001 11:12:49 -0700 (PDT) (envelope-from root@pukruppa.de) Received: from [195.20.224.219] (helo=mrvdom03.kundenserver.de) by moutvdom00.kundenserver.de with esmtp (Exim 2.12 #2) id 14jmLF-0005HB-00; Sun, 1 Apr 2001 20:12:46 +0200 Received: from pd9017295.dip.t-dialin.net ([217.1.114.149]) by mrvdom03.kundenserver.de with esmtp (Exim 2.12 #2) id 14jmL4-0004P5-00; Sun, 1 Apr 2001 20:12:34 +0200 Date: Sun, 1 Apr 2001 20:04:50 +0000 (GMT) From: Peter Ulrich Kruppa To: Edwin Groothuis Cc: Subject: Re: rpm on freebsd In-Reply-To: <20010401184432.P490@cgmd76206.chello.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sun, 1 Apr 2001, Edwin Groothuis wrote: > On Sun, Apr 01, 2001 at 06:33:34PM +0000, Peter Ulrich Kruppa wrote: > > On Sun, 1 Apr 2001, Edwin Groothuis wrote: > > > On Sun, Apr 01, 2001 at 03:35:11PM +0000, Peter Ulrich Kruppa wrote: > > > > I would like to install an rpm on freebsd but when I do > > > > > > > > # rpm -i .rpm > > > > > > > > I get > > > > > > > > error: failed dependencies: > > > > /bin/sh is needed by > > > > > > > > Of course there is /bin/sh on my system! > > > > > > Maybe it's looking for /compat/linux/bin/sh ? > > > Did you install the linux-base from the ports-collection? > > Yes. But it would be asking for /compat/linux/bin/sh would it not? > > That's the whole trick, I never know if it's looking for things in > / or in /compat/linux. Searching this directory I found a command called chroot . It changes the root directory for the following command. # chroot /compat/linux /bin/rpm -i /usr/local/.rpm at least will run rpm . But there were some other errors I will have to find out about. Thanx. Uli. ################################################### # # # www.pukruppa.de www.2000d.de # # # ################################################### To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message