Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Sep 2003 19:20:16 +0200
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        Todd Stephens <tbstep@tampabay.rr.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Port installation methods
Message-ID:  <20030928172016.GA16451@dds.nl>
In-Reply-To: <200309272104.47949.tbstep@tampabay.rr.com>
References:  <200309271659.50019.tbstep@tampabay.rr.com> <20030927234350.GB94873@dds.nl> <200309272104.47949.tbstep@tampabay.rr.com>

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



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