When to use 'portupgrade -R'

Joshua Lokken joshua.lokken at gmail.com
Fri Dec 10 11:32:35 PST 2004


On Fri, 10 Dec 2004 16:39:32 +0000, Jonathon McKitrick
<jcm at freebsd-uk.eu.org> wrote:
> On Fri, Dec 10, 2004 at 05:08:44PM +0100, Peter Ulrich Kruppa wrote:
> : Hmm, I am afraid your question is a bit general ...
> 
> I've tried the '-R' option before, and ended up with portupgrade telling me
> I had stale dependencies, and I never can get those fixed right.  Maybe I
> should just stop using that option.
> 
> : Anyway:
> : /usr/ports/UPDATING will inform you about problematic or
> : necessary upgrades.
> : I guess reading this before portupgrade will usually keep you out
> : of trouble.

from 'man portupgrade(1)':

     -r
     --recursive  Act on all those packages depending on the
                      given packages as well.

     -R
     --upward-recursive   Act on all those packages required
                       by the given packages as well. [snip]

It sounds like you are / were not sure of what those options
actually do.  Have a read of the manpage; it'll do you worlds
of good.

-- 
Joshua Lokken
Open Source Advocate


More information about the freebsd-questions mailing list