Change with portmaster's -a flag in v2.0?
hideo
hideo at lastamericanempire.com
Sat Jan 26 10:55:57 PST 2008
Jeremy Messenger (Sat 01/26/08 12:13):
> On Sat, 26 Jan 2008 11:54:02 -0600, hideo <hideo at lastamericanempire.com>
> wrote:
>
>> Sorry, missed ports@ on the last reply.
>>
>> Doug Barton (Sat 01/26/08 08:26):
>>> hideo wrote:
>>>> If I run portmaster with the -a switch it now attempts to rebuild all
>>>> installed ports rather than just those that need to be updated.
>>>
>>> It doesn't do that for me. Are you sure that you didn't use the -f switch
>>> as well? Or do you perhaps have FORCE=yes in /etc/portmaster.rc or
>>> ~/.portmasterrc?
>>>
>>
>> No sign of FORCE (don't have either of those files) and I rarely need
>> -f. I invoked it with -aiGd:
>>
>> ~># portmaster -aiGd
>> ===>>> Gathering distinfo list for installed ports
>> ===>>> Starting check of installed ports for available updates
>>
>> ===>>> Update alac-0.1.3? [y] n
>>
>> ===>>> Update audacity-1.2.4b_2? [y] n
>>
>> ===>>> Update bcwipe-1.6.5_1? [y] n
>>
>> ===>>> Update bsdpan-Term-Clui-1.40? [y] n
>>
>> ===>>> Update bsdpan-Term-Pager-1.00? [y] n
>>
>> ===>>> Update keychain-2.6.8? [y] n
>>
>> ===>>> Update links-2.1.p28,1? [y] n
>>
>> ===>>> Update linuxthreads-2.2.3_23? [y] n
>>
>> ===>>> Update lsof-4.79H? [y] n
>>
>> ===>>> Update maildrop-2.0.4? [y] n
>>
>> ===>>> Update nrg2iso-0.4? [y] n
>>
>> ===>>> Update nvidia-xconfig-1.0_2? [y] n
>>
>> ===>>> Update openssh-portable-overwrite-base-4.7.p1_1,1? [y] n
>>
>> ===>>> Update p5-MP3-Info-1.23? [y] n
>>
>> ===>>> Update p5-POE-0.9999? [y] n
>>
>> etc.
>>
>> If I remove -G it seems to "do the right thing." Perhaps it's the
>> behavior of -G that's changed?
>
> Strange, I have NO_RECURSIVE_CONFIG=yes (-G) in my /etc/portmaster.rc and I
> can't reproduce it.
>
> % cat /etc/portmaster.rc
> DONT_SCRUB_DISTFILES=yes
> NO_RECURSIVE_CONFIG=yes
> NO_BACKUP=yes
>
> I have ran 'portmaster -a' recently and it went well. I have lsof installed
> too in here. Maybe it's -G combine with one of option that made different
> result? Or maybe just -i?
>
> -i interactive update mode -- ask whether to rebuild ports
I think you're right. -aG and -ai work as expected. Using -i and -G
together produces the behavior.
Zach
More information about the freebsd-ports
mailing list