From owner-freebsd-questions Sun Apr 30 13:10:58 2000 Delivered-To: freebsd-questions@freebsd.org Received: from theory1.physics.iisc.ernet.in (theory1.physics.iisc.ernet.in [144.16.71.20]) by hub.freebsd.org (Postfix) with SMTP id 0ADA537C14B for ; Sun, 30 Apr 2000 13:10:50 -0700 (PDT) (envelope-from rsidd@theory8.physics.iisc.ernet.in) Received: (qmail 1458 invoked from network); 30 Apr 2000 20:10:42 -0000 Received: from unknown (HELO theory8.physics.iisc.ernet.in) (144.16.71.128) by theory1.physics.iisc.ernet.in with SMTP; 30 Apr 2000 20:10:42 -0000 Received: (qmail 478 invoked by uid 211); 30 Apr 2000 20:10:36 -0000 Date: Mon, 1 May 2000 01:40:35 +0530 From: Rahul Siddharthan To: "David J. Kanter" Cc: FreeBSD questions Subject: Re: Upgrading linux_base and using it Message-ID: <20000501014024.A457@physics.iisc.ernet.in> Mail-Followup-To: "David J. Kanter" , FreeBSD questions References: <20000430141838.A6065@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i In-Reply-To: <20000430141838.A6065@localhost.localdomain>; from djkanter@nwu.edu on Sun, Apr 30, 2000 at 02:18:38PM -0500 X-Operating-System: FreeBSD 3.4-STABLE i386 X-Question: Do you enjoy reading pointless headers? Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG David J. Kanter said on Apr 30, 2000 at 14:18:38: > I would like to upgrade my linux_base from 5.2 to 6.1 but am a bit concerned > that its dependencies will clobber some already-installed ports of the same > name. > > For instance, linux_base wants to download a bash rpm, but I've already got > bash installed from the ports tree. Will this rpm clobber my bash port, or > will all be OK because it goes into /compat/linux/bin? All will be ok, everything will go into /compat/linux and no native BSD versions will be clobbered. > Can I just remove the linux_base package and then install the new one? There > is no package listing for dependencies that I may have to remove first. I think there was also a linux_lib package which also you may want to remove. linux_base 6.1 contains the libraries as well as other stuff. > Another question: With linux_base installed can I then just grab rpms, > install them, and use them? The xfstt maintainer recommended I use the linux > xfstt instead of the BSD version, so should I just grab the xfstt*.rpm and > viola? You should probably include flags to the rpm command to make the base directory /compat/linux. Namely, rpm --ignoreos --root /compat/linux --dbpath /var/lib/rpm {rest of command} This keeps the linux libraries etc separated from the native BSD stuff. Otherwise it may or may not work: I haven't really tried. This would also install the binary in /compat/linux/... but you can symlink that to /usr/local/bin . I don't know about the xfstt advice, in all cases where source and a FreeBSD port are available I've found that installing the port works fine. Rahul. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message