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

Clemens Lang cal at macports.org
Tue Feb 25 16:07:33 PST 2014


Hi,

> I just updated to 117418, and sadness...
> 
> $ sudo port -v -s upgrade
> sqlite error: duplicate column name: binary (1) while executing query: ALTER
> TABLE registry.files ADD COLUMN binary BOOL
>     while executing
> "registry::open $db_path"
>     (procedure "mportinit" line 624)
>     invoked from within
> "mportinit ui_options global_options global_variations"
> Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error:
> duplicate column name: binary (1) while executing query: ALTER TABLE
> registry.files ADD COLUMN binary BOOL

What's the output of
  sqlite3 /opt/local/var/macports/registry/registry.db 'SELECT value FROM metadata WHERE key = "version";'
on your system?

-- 
Clemens Lang


More information about the macports-dev mailing list