questions regarding selfupdate issue

Clemens Lang cal at macports.org
Sun Nov 16 12:08:02 PST 2014


Hi,

----- On 16 Nov, 2014, at 09:34, René J.V. Bertin rjvbertin at gmail.com wrote:

>>If "sudo port selfupdate" updates the MacPorts version, then you must run "sudo
>>port selfupdate" a second time to index the ports with that new version;
>>MacPorts prints a message telling you to do this. Is that perhaps related in
>>this case? Do you always run selfupdate a second time when prompted to do so?
>>Does the conversion perhaps happen after the second selfupdate?

No, the conversion should happen during the first selfupdate. It could, however,
happen that the selfupdate failed during the script, which would roll back any
conversion changes due to the use of a SQLite transaction, fail the selfupdate,
but leave the new files installed, in which case a user might end up in this
very situation.

However, the script is so simple, I really have no idea why it would fail in
the first place.


> To be very honest, I have no idea. MacPorts version updates are too infrequent
> that I even remember having seen an instruction to re-run the command. But I
> don't see why I wouldn't have had, if the message isn't something cryptic.
> Anyway, as I said, running it a second time didn't do squat in this case. A
> forced selfupdate was required, apparently.

-- 
Clemens Lang


More information about the macports-users mailing list