How does portupgrade -ar work?
RW
fbsd06 at mlists.homeunix.com
Wed Feb 14 01:50:57 UTC 2007
On Mon, 12 Feb 2007 21:13:50 +0100
Uwe Laverenz <uwe at laverenz.de> wrote:
> On Mon, Feb 12, 2007 at 08:30:58PM +0100, Lars Stokholm wrote:
>
> > First of all, is it safe to just use 'portupgrade -a' or should I
> > use 'portupgrade -ar'.
>
> 'portupgrade -a' is sufficient and in fact is not different from '-ar'
> or '-arR'. If you take a look at the source of portupgrade (just read
> the script file) you will see that as soon as '-a' is specified, the
> options '-r' and '-R' are ignored/switched off.
>
> > Secondly, I've seen people use 'portupgrade -arR', but isn't that
> > completely unnessesary?
>
> Yes.
>
> > updated, and an upgrade was required: libiconv and libslang. Would
> > portupgrade be intelligent enough to upgrade both before upgrading
> > slrn
>
> Yes.
>
> > Are there (other?) problems with using 'portupgrade -ar'?
>
> No, but you can use just '-a', there really is no difference.
>
One exception to all this is that -FaR is a bit more thorough than -Fa
at fetching distfiles.
More information about the freebsd-ports
mailing list