inconsistent error mesgs (1.7)
Rainer Müller
raimue at macports.org
Mon Dec 29 01:52:40 PST 2008
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
More information about the macports-users
mailing list