Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Jan 2011 19:51:48 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        Chris Brennan <xaero@xaerolimit.net>
Cc:        Jamie Paul Griffin <jamie@gnix.co.uk>, freebsd-questions@freebsd.org
Subject:   Re: Portupgrade status
Message-ID:  <AANLkTimBnm9BKCc3LmgL0WCXWRrNMgvx%2BkwwrfQ%2BUGgO@mail.gmail.com>
In-Reply-To: <AANLkTikTi2J-cCzryFEG4cZvDCQxn83ycJ_1AnzO-QJi@mail.gmail.com>
References:  <14212432ba707fc5f9fbc75b56e8e783@flabnapple.net> <20101226214221.GB68570@stainmore> <AANLkTi=bD60UiybsaioHwEDgsXAQpAeJ6VuPiDvSZ%2B0P@mail.gmail.com> <86pqsogfvu.fsf@red.stonehenge.com> <4D186D11.1030708@infracaninophile.co.uk> <alpine.BSF.2.00.1012271354470.35608@fledge.watson.org> <20110103225455.GA37597@daemon.gnix.co.uk> <AANLkTimngzkkfbFnego5MP50xHLS0NHvnL9to0V3pQTT@mail.gmail.com> <AANLkTikTi2J-cCzryFEG4cZvDCQxn83ycJ_1AnzO-QJi@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3 January 2011 18:39, Chris Brennan <xaero@xaerolimit.net> wrote:
> On Mon, Jan 3, 2011 at 6:37 PM, illoai@gmail.com <illoai@gmail.com> wrote=
:
>>
>> On 3 January 2011 17:54, Jamie Paul Griffin <jamie@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 =A0in the 18 months i've been using FreeBSD i've always=
 used
>> > portupgrade but sounds like it's best to change now.
>> >
>> > =A0 =A0 =A0 =A0jamie
>>
>> 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
>
> =A0[-R] -f
> =A0=A0=A0=A0=A0=A0=A0=A0 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
-R
--upward-recursive     Act on all those packages required by the given
                            packages as well. (When specified with -F, fetc=
h
                            recursively, including the brand new, uninstall=
ed
                            ports that an upgraded port requires)

I don't see any equivalent functionality for portmaster,
sadly.


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
way.

--=20
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimBnm9BKCc3LmgL0WCXWRrNMgvx%2BkwwrfQ%2BUGgO>