Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2007 07:22:27 -0400
From:      Randy Pratt <bsd-unix@earthlink.net>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        questions@freebsd.org
Subject:   Re: Recursivity of -r and -R in portupgrade
Message-ID:  <20070704072227.80d5bd0f.bsd-unix@earthlink.net>
In-Reply-To: <200707040856.l648uDbG039253@banyan.cs.ait.ac.th>
References:  <200707040856.l648uDbG039253@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Jul 2007 15:56:13 +0700 (ICT)
Olivier Nicole <on@cs.ait.ac.th> wrote:

> Hi,
> 
> I am wondering is the option -R and -r are mutually recursive in
> portupgrade.
> 
> That is, if the option -R applies to every ports detected by -r and
> respectively if -r applies to every ports detected by -R.
> 
> Lest take the example of:
> 
> portupgrade -fRr gd
> 
> gd depends on png, does it upgrade png with portupgrade -fRr png?
> 
> php4-gd is built from gd, does it upgrade php4-gd with 
> portupgrade -Rrf php4-gd? (That will in turn upgrade php, maybe 
> apache...)

Portupgrade has a no-execute option (-n) which will allow you
to see what would be done without actually performing the
operation; for example:

	portupgrade -nfRr gd

will end with a list of ports that would be updated.  Another
port you may find useful is ports-mgmt/pkg_tree which will
show a dependency tree for a port.

HTH,

Randy
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070704072227.80d5bd0f.bsd-unix>