Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 2004 11:17:59 -0700
From:      Kent Stewart <kstewart@owt.com>
To:        freebsd-questions@freebsd.org
Cc:        Tim Traver <tt-list@simplenet.com>
Subject:   Re: port upgrades
Message-ID:  <200406071117.59618.kstewart@owt.com>
In-Reply-To: <6.0.1.1.0.20040607102435.02945ae8@209.132.1.30>
References:  <6.0.1.1.0.20040607102435.02945ae8@209.132.1.30>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 07 June 2004 10:28 am, Tim Traver wrote:
>    Hi all,
>    Is there a way to do a quick update of a particular port directory
> ??? I don't necessarily want to do the portupgrade, but just get the
> latest port files for a particular port.
>    Right now, if i want to make sure the ports are up to date, I have
> to use sysinstall to download the entire port collection, which takes
> forever...
>    Am I missing a quick utility to just check and make sure I have
> the latest port files for one at a time ?
>    Thanks,
>    Tim.

You need to read the Handbook on maintaing your ports, which is now 
chapter 4. Then, install cvsup[-without-gui], copy the ports-supfile 
from the share/examples directory into a safe place, change the 
CHANGE_THIS to something real from the cvsup mirror list in the 
handbook and run it.  If you don't know where the share/examples 
directory is located do a "locate ports-supfile" and locate will tell 
you where it is. If you don't have locate running, do a man located and 
then run the script to build the database.

You need to run portsdb -uU to update the INDEX[.db] files and then you 
can install ports such as portupgrade that make the actually upgrade 
process simple.

I maintain that sysinstall only has value when you are doing a "SYStem 
INSTALL] and should be left alone after that. I don't do that because I 
still find adding a new HD easier from sysinstall. I do not use it to 
help maintain my system or the port-system. There are tools that are 
much better suited for that task once you have a running system.

Kent

>
>    SimpleNet's Back !
>    [1]http://www.simplenet.com/
>
>
> References
>
>    1. http://www.simplenet.com/
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe@freebsd.org"

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



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