Date: Sun, 1 Apr 2001 20:04:50 +0000 (GMT) From: Peter Ulrich Kruppa <root@pukruppa.de> To: Edwin Groothuis <edwin@mavetju.org> Cc: <freebsd-questions@FreeBSD.ORG> Subject: Re: rpm on freebsd Message-ID: <Pine.BSF.4.33.0104011958270.38284-100000@pukruppa.de> In-Reply-To: <20010401184432.P490@cgmd76206.chello.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <package>.rpm > > > > > > > > I get > > > > > > > > error: failed dependencies: > > > > /bin/sh is needed by <package> > > > > > > > > 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/<package>.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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.33.0104011958270.38284-100000>