Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Sep 2000 15:57:03 -0400
From:      Marcel Moolenaar <marcel@cup.hp.com>
To:        Sebastiaan van Erk <sebster@sebster.com>
Cc:        freebsd-emulation@FreeBSD.ORG
Subject:   Re: Installing additional Linux shared objects (was: Re: xview)
Message-ID:  <39D2510F.5E9607DC@cup.hp.com>
References:  <20000927211022.B13249@sebster.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Sebastiaan van Erk wrote:
> 
> Well I checked out how linux base does it, and it's like this:
> 
> rpm --root /usr/compat/linux --ignoreos --install <rpmfile>
> 
> However, the linux_base port also cleaned out /usr/compat/linux/tmp,
> /usr/compat/linux/var/tmp, /usr/compat/linux/dev, etc., which can
> cause the installation scripts of your rpm to complain quite loudly
> and fail anyway. For xview I made temporary versions of these dirs
> and files (and no, you cannot symlink them because the --root flags
> does a chroot). It's not nice, so if anyone knows a BETTER way to
> do this, I'm interested. But xview works.

If you know you don't need to use the FreeBSD native port of rpm, you
can run /compat/linux/bin/rpm. The problem is that the Linux rpm (v3.x)
converts the database into a format not understandably by the FreeBSD
native rpm (v2.5.x). We need to upgrade our rpm port.

With the Linux version it's as simple as:

/compat/linux/bin/rpm -i foobar.rpm

-- 
Marcel Moolenaar
  mail: marcel@cup.hp.com / marcel@FreeBSD.org
  tel:  (408) 447-4222


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-emulation" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39D2510F.5E9607DC>