[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing rpms



Look at /usr/ports/emulators/redhat_base/Makefile

You will need at least these options:
  --ignoreos --ignorearch --root /emul/linux --dbpath /var/lib/rpm
and quite possible --noscripts and --nodeps.
Note that dbpath is relative to --root.

You may also want to try rpm2cpio to just extract the files you need
from the rpm.

- Jason

On Tue, Aug 14, 2001 at 08:37:13PM -0600, Steven Schneider wrote:
> Ok, I'm stumped.
> 
> How do you install rpms on OpenBSD?  I've installed the redhat base off of
> ports. When I run rpm using:
> 
> $ sudo rpm --dbpath /usr/local/emul/redhat/var/lib/rpm -i some_package.rpm
> 
> I get:
> 
> failed to open /etc/mnttab: No such file or directory
> package some_package is for a different operating system
> $