From owner-freebsd-questions Wed Aug 2 16:55:47 2000 Delivered-To: freebsd-questions@freebsd.org Received: from mailhub.unibe.ch (mailhub.unibe.ch [130.92.254.109]) by hub.freebsd.org (Postfix) with ESMTP id 85DB937B75F for ; Wed, 2 Aug 2000 16:55:42 -0700 (PDT) (envelope-from roth@iamexwi.unibe.ch) Received: from CONVERSION-DAEMON by mailhub.unibe.ch (PMDF V5.2-32 #42480) id <0FYO00L01VNCRN@mailhub.unibe.ch> for freebsd-questions@FreeBSD.ORG; Thu, 3 Aug 2000 01:52:26 +0200 (MET DST) Received: from iamexwi.unibe.ch (haegar.unibe.ch [130.92.71.10]) by mailhub.unibe.ch (PMDF V5.2-32 #42480) with ESMTP id <0FYO00JAAVNCPB@mailhub.unibe.ch> for freebsd-questions@FreeBSD.ORG; Thu, 03 Aug 2000 01:52:24 +0200 (MET DST) Received: from arp.unibe.ch (arp [130.92.62.25]) by iamexwi.unibe.ch (8.8.8+Sun/8.8.8) with ESMTP id BAA09771 for ; Thu, 03 Aug 2000 01:57:22 +0200 (MET DST) Received: from localhost (roth@localhost) by arp.unibe.ch (8.9.1b+Sun/8.9.1) with ESMTP id BAA13185 for ; Thu, 03 Aug 2000 01:57:18 +0200 (MET DST) Date: Thu, 03 Aug 2000 01:57:18 +0200 (MET DST) From: Tobias Roth Subject: how to install an rpm X-Sender: roth@arp To: freebsd-questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT X-Authentication-warning: arp.unibe.ch: roth owned process doing -bs Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi there I just started with linux emulation and got a little confused. I got everything working (I installed the linux_base port). Now, I have two versions of rpm, a FreeBSD one and a linux one, which give me the following output when I try to install an rpm: su-2.04# /usr/local/bin/rpm -i gtk+-1.2.8-1.i386.rpm failed to open //var/lib/rpm/packages.rpm error: cannot open //var/lib/rpm/packages.rpm and su-2.04# /usr/compat/linux/bin/rpm -i gtk+-1.2.8-1.i386.rpm failed to open /etc/mtab: No such file or directory warning: /etc/gtk/gtkrc saved as /etc/gtk/gtkrc.rpmorig warning: /etc/gtk/gtkrc.bg saved as /etc/gtk/gtkrc.bg.rpmorig unpacking of archive failed on file /etc/gtk/gtkrc.bg_BG.iso88595: cpio: symlink failed - File exists (I had to to an /usr/compat/linux/bin/rpm --rebuilddb to get this far) Looks like I have to use the linux rpm. But then, whatever I do, I get symlink errors from cpio such as the one described. What am I doing wrong? Should I not install rpms but just copy the libs over from someones Linux system? Where do I fond documentation about this? The handbook is not very detailed. thx, Tobe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message