Portupgrade status

illoai at gmail.com illoai at gmail.com
Tue Jan 4 00:51:50 UTC 2011

On 3 January 2011 18:39, Chris Brennan <xaero at xaerolimit.net> wrote:
> On Mon, Jan 3, 2011 at 6:37 PM, illoai at gmail.com <illoai at gmail.com> wrote:
>> On 3 January 2011 17:54, Jamie Paul Griffin <jamie at gnix.co.uk> wrote:
>> > so can i just ask, is portmaster or another port upgrading tool
>> > recommended over portupgrade now because i'm going to be upgrading all my
>> > ports soon and  in the 18 months i've been using FreeBSD i've always used
>> > portupgrade but sounds like it's best to change now.
>> >
>> >        jamie
>> Unless you particularly despise some aspect
>> or feature of portupgrade, I can see little point
>> in switching.
>> Portmaster has the advantage of not requiring
>> ruby or an external database, but the disadvan-
>> tage of not having an equivalent of
>> # portupgrade -Rf
>> (at least last time I used it)
> man portmaster reveals
>  [-R] -f
>          always rebuild ports (overrides -i)

No, the -R flag in portmaster tells it to not rebuild
ports taht have already been built on this run (I
believe from reading man portmaster).  The -R
flag in portupgrade rebuilds the ports on which
the named port depends
--upward-recursive     Act on all those packages required by the given
                            packages as well. (When specified with -F, fetch
                            recursively, including the brand new, uninstalled
                            ports that an upgraded port requires)

I don't see any equivalent functionality for portmaster,

Example scenario:  firefox is failing to start & keeps
throwing weird gtk errors, even after rebuilding gtk &
firefox.  So you issue "portupgrade -Rf firefox\*".
Well, it has fixed stuff in the dim & distant past, any


More information about the freebsd-questions mailing list