port outdated show updates, port upgrade outdated say no updates available

Joshua Root jmr at macports.org
Sun May 30 21:06:36 PDT 2010


On 2010-5-31 13:52 , Adam Mercer wrote:
> On Sun, May 30, 2010 at 22:32, Joshua Root <jmr at macports.org> wrote:
> 
>>> Is there a way the registry could have got corrupted in some strange
>>> way that would result port to think gcc44 wasn't installed?
>>
>> Maybe. Post the contents of the receipt.
> 
> I've uploaded it to
> <http://www.lsc-group.phys.uwm.edu/~ram/files/receipt.bz2>, as I'm not
> sure what to look for. Is this the correct one for the sqlite
> registry?

Well, that actually explains a lot. The receipt has 'epoch 2', while the
current portfile is at epoch 1. No idea how it got there unless you used
a modified portfile at some point, but in any case the epoch value would
have been carried over into the sqlite registry. (You can check this by
opening the registry.db with the sqlite3 tool and running the .dump
command.)

But the real question is now why 'port outdated' is *incorrectly*
showing gcc44 as outdated.

- Josh


More information about the macports-users mailing list