From owner-freebsd-questions@FreeBSD.ORG Sun Sep 28 10:20:21 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B198216A4B3 for ; Sun, 28 Sep 2003 10:20:21 -0700 (PDT) Received: from smtp03.wxs.nl (smtp03.wxs.nl [195.121.6.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD31D44001 for ; Sun, 28 Sep 2003 10:20:19 -0700 (PDT) (envelope-from akruijff@www.kruijff.org) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp03.wxs.nl (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HLX008KDPG0VV@smtp03.wxs.nl> for freebsd-questions@freebsd.org; Sun, 28 Sep 2003 19:19:12 +0200 (MEST) Received: from Intranet.lan (akruijff@localhost [127.0.0.1]) h8SHKHQL016561;akruijff@Intranet.lan) Received: (from akruijff@localhost) by Intranet.lan (8.12.8p1/8.12.8/Submit) id h8SHKHd2016559; Sun, 28 Sep 2003 19:20:17 +0200 (CEST) Date: Sun, 28 Sep 2003 19:20:16 +0200 From: Alex de Kruijff In-reply-to: <200309272104.47949.tbstep@tampabay.rr.com> To: Todd Stephens Message-id: <20030928172016.GA16451@dds.nl> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.1i References: <200309271659.50019.tbstep@tampabay.rr.com> <20030927234350.GB94873@dds.nl> <200309272104.47949.tbstep@tampabay.rr.com> cc: freebsd-questions@freebsd.org Subject: Re: Port installation methods X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Sep 2003 17:20:21 -0000 On Sat, Sep 27, 2003 at 09:04:47PM -0400, Todd Stephens wrote: > On Saturday 27 September 2003 07:43 pm, Alex de Kruijff wrote: > > > > If you've just installed a fresh FreeBSD system then there isn't > > much difference. I offten use the make method in this case. But I > > switch to portinstall and portupgrade if I a) have updated /usr/ports > > and b) have installed any port or package. The reason for this is > > that portinstall and portupgrade have a better port management > > system. This package/port detects for you changes. With out the > > portupgrade package you will find that multiple version of the same > > packages will be registered and only one is installed. (There is only > > one installed because each override the other fysicaly in /usr/local > > and /usr/X11R6 but not in the regerstry.) > > I see. I have already run into that (having 2 versions of a package > registered but only one installed). I have recently started using > portinstall for installing ports. I have been using portupgrade for a > while now. It seems to me that portinstall (as you indicated) is > better at finding and fixing dependency issues as well. > There port also include special tools to rebuild your regerstry. I have this running by default after updating my cvs sources. The tool is called portsdb (options -uU). I run portsclean (options -DLP) to remove distfiles, libiaries and packages that are no longer needed. -- Alex Articles based on solutions that I use: http://www.kruijff.org/alex/index.php?dir=docs/FreeBSD/