inconsistent error mesgs (1.7)

William Davis frstan at bellsouth.net
Mon Dec 29 07:30:54 PST 2008


On Dec 29, 2008, at 4:52 AM, Rainer Müller wrote:

> William Davis wrote:
>> In MacPorts 1.7 when there are no outdated ports
>> port outdated
>> gives:
>>
>> No installed ports are outdated.
>>
>> but
>> sudo port upgrade outdated
>> gives:
>>
>> Error: No ports found
>>
>> which is much less clear.
>
> We just had another thread about this with Frank.
>
>
> The problem is that this error message is generated before the upgrade
> action is run at all. You will see this message for all actions on any
> pseudo-port which expands to an empty list. With "expand" I mean that
> the pseudo-port 'outdated' is internally replaced with a list of all
> outdated ports.
>
> Should we just lower the priority of this message and remove the
> "Error:" prefix?
>
> Rainer

Perhaps the  unexpanded pseudo-port name ought to appear in the  
message, eg:
No {pseudo-list} ports found

William Davis
frstanATbellsouthDOTnet
Mac OS X.5.6 Darwin 9.5.0
XQuartz 2.3.2_rc4 (xorg-server 1.4.2-apple28)
Mac Mini Intel Duo @ 1.86 GHz

Mundus vult decepi, ego non



More information about the macports-users mailing list