Andrew Leonard Clunis schrieb in Nachricht
Quote:>I am running FreeBSD 3.4 with linux binary capability installed (linux
>base 6.1). I know that the linux capability works because I have
>WordPerfect 8 running. I am trying to install an rpm but when I run it
>through RPM 2.5.6 I get this error:
>failed to open //var//lib/rpm/packages.rpm
>I do not understand this, as I installed the RPM through the FreeBSD
>ports collection.
>Any help would be appreciated.
This has to do with the fact that the linux emulation creates a
root environment in /usr/compat/linux for all linux - applications.
Try rpm -i --dbpath /usr/compat/linux/var/lib/rpm
From my (little) experience with rpm you will probably get other complains
about dependicies and os-version. I needed --nodeps --noarch also to
get it working. I would also recommend to install in the tree mentionend
above,
I had big problems with an install of applix in /usr/local/applix instead of
/usr/compat/linux/usr/local/applix.
Thomas