At Thu, 12 Apr 2001 13:14:43 -0400,
Tim Smith wrote:
Hi. I've read the handbook and the porter's handbook, and have
looked at /usr/ports/Mk/bsd.port.*, but still haven't found an
answer to my question.
Is it possible, with a simple command or script, to update all
of the ports I have installed at once? I mean, I want to make
sure that all of the ports that I use are the latest version,
but I don't want to install ports that I don't use.
If anyone has a good way of doing this automatically, please let
me know. (I'm using -STABLE, if that matters.)
I wouldn't recomend doing all at once, but "portupgrade -u '*'" will
do the job as long as all the installed ports have their origin info
recorded. Relatively newly installed ones should have it. Try
running "pkg_info -o /var/db/pkg/*" to see which ports lack that info.
Currently there's no handy way to complement it, so upgrade it using
portupgrade's -o option. (See portupgrade's README for details)