portmaster question

Warren Block wblock at wonkity.com
Mon Nov 8 04:56:59 UTC 2010

On Sun, 7 Nov 2010, Polytropon wrote:

> On Sun, 07 Nov 2010 12:21:59 -0700, Fred <fred at blakemfg.com> wrote:
>> Hello,
>> According to man portmaster the -a option will "Update all ports that
>> need updating".  Does this apply to only installed ports or to
>> everything in /usr/ports?
> It applies to installed ports. A commonly used command to
> upgrade them is "portupgrad -af".

Whoa--hold on there!

portmaster -a
portupgrade -a

Both say "upgrade all installed ports that need upgrading".  Both can 
fail, but many people use them routinely.

portupgrade -af

means to force an upgrade of every installed port, even if it's already 
at the latest version.  Don't do this lightly!

More information about the freebsd-questions mailing list