A portupgrade question

RW list-freebsd-2004 at morbius.sent.com
Mon Apr 24 23:03:45 UTC 2006


On Monday 24 April 2006 21:29, Garrett Cooper wrote:
> RW wrote:
> >On Monday 24 April 2006 12:50, Richard Collyer wrote:
> >>On Mon, April 24, 2006 12:16 pm, Ian Moore wrote:
> >>>On Monday 24 April 2006 20:43, Ian Moore wrote:
> >>>>Hi, I've got a question about portupgrade and something that's happened
> >>>>with it a couple of times now. The last 2 times libgda has been
> >>>>upgraded,
> >>>>I've run portupgrade -a to upgrade a bunch of ports, including libgda.
> >>>>
> >>>> <snip>
> >>
> >>I always use portupgrade -aR to make sure dependencies are done. However
> >>with mysql I find that portupgrade is not the best.
> >
> > -a,   -ra,     -Ra and -RrA  all do *exactly*  the same thing
>
> Not true. -a is for all, -r is recursive, -R is upper recursive, and -A
> is not even valid given the syntax above...

Obviously -RrA was a typo for -Rra, but the rest is correct.

If you omit -F  and include -a, then the -r and -R options are ignored. 
Hence -a,   -ra,     -Ra and -Rra are all equivalent.

> All I can say is, "RTFM": portupgrade(1).

All I can say is "RTFS": /usr/local/sbin/portupgrade.


More information about the freebsd-questions mailing list