Warning: port definitions are more than two weeks old, consider using selfupdate
Joshua Root
jmr at macports.org
Tue Jul 6 02:05:57 PDT 2010
On 2010-7-6 18:37 , Emmanuel Hainry wrote:
> Recently, each port command gave me a line of warning:
> " Warning: port definitions are more than two weeks old, consider using
> selfupdate"
>
> So, I of course updated my port definitions using "svn update". It
> however kept on telling me that. So I did a selfupdate which ran svn up
> once more and finally told me that Macports base is already the latest
> revision. And since the message disappeared, it probably did something
> more, but what? Indexing the ports?
Yes, selfupdate includes sync which includes portindex these days.
> Conclusions:
> 1. This message is wrong: my port definitions are up to date.
Not entirely, your PortIndex was still old.
> 2. The tip is wrong: I don't want to use selfupdate to solve the
> obsolescence of the "definitions", I want to use "port sync" (Does it
> also erase this message?). I would prefer to be able to use "svn update"
> however.
We do want users to be in the habit of running selfupdate rather than
sync so they get base updates.
> 3. What does "definitions" mean? Portfiles or PortIndex or something
> else?
Both. In practice the warning is triggered by the mtime of PortIndex.
- Josh
More information about the macports-users
mailing list