[117414] trunk/base/src/cregistry/sql.c

Joshua Root jmr at macports.org
Wed Feb 26 00:36:44 PST 2014


On 2014-2-26 19:25 , Clemens Lang wrote:
> Hi,
> 
>>> What's the output of
>>>  sqlite3 /opt/local/var/macports/registry/registry.db 'SELECT value FROM
>>>  metadata WHERE key = "version";'
>>> on your system?
>>
>> 1.200
> 
> I don't understand that. The error shows that it's running the queries that are supposed to bring the database version to 1.100, but it already is 1.200.
> The comparisons involved are
>  vercmp 1.200 1.100 (which must be < 0 for the update to be run) and
>  vercmp 1.200 1.200 (which must be < 0 for the update to 1.200 to be run)

Yeah, that's really confusing if that was run on the right db. But I did
just confirm that a fresh install of 2.2.1 will have a registry version
of 1.1 not 1.100, and that would cause jeremyhu's error.

So the comparison is now back the way it was...

- Josh


More information about the macports-dev mailing list