Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 May 2000 01:40:35 +0530
From:      Rahul Siddharthan <rsidd@physics.iisc.ernet.in>
To:        "David J. Kanter" <djkanter@nwu.edu>
Cc:        FreeBSD questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Upgrading linux_base and using it
Message-ID:  <20000501014024.A457@physics.iisc.ernet.in>
In-Reply-To: <20000430141838.A6065@localhost.localdomain>; from djkanter@nwu.edu on Sun, Apr 30, 2000 at 02:18:38PM -0500
References:  <20000430141838.A6065@localhost.localdomain>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000501014024.A457>