[MacPorts] #62929: Failed to initialize MacPorts, sqlite error: near "COLUMN": syntax error (1) while executing query: ALTER TABLE registry.ports RENAME COLUMN negated_variants TO requested_variants

MacPorts noreply at macports.org
Sun May 23 15:24:16 UTC 2021


#62929: Failed to initialize MacPorts, sqlite error: near "COLUMN": syntax error
(1) while executing query: ALTER TABLE registry.ports RENAME COLUMN
negated_variants TO requested_variants
-------------------------+--------------------
  Reporter:  peterruoff  |      Owner:  jmroot
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  base        |    Version:  2.7.0
Resolution:  fixed       |   Keywords:  mojave
      Port:              |
-------------------------+--------------------

Comment (by mashavecher):

 10.14.6 SDK 10.15

  MacPorts 2.6.4
  SQLite header version: 3028000
  SQLite runtime version: 3024000

 git checkout release-2.7
 ./configure && make && sudo make install


 MacBook-Pro:~ mashavecher$ port installed
 Warning: port definitions are more than two weeks old, consider updating
 them by running 'port selfupdate'.
 sqlite error: attempt to write a readonly database (8) while executing
 query: DROP TABLE registry.ports
     while executing
 "registry::open $db_path"
     (procedure "mportinit" line 712)
     invoked from within
 "mportinit ui_options global_options global_variations"
 Error: /opt/local/bin/port: Failed to initialize MacPorts, sqlite error:
 attempt to write a readonly database (8) while executing query: DROP TABLE
 registry.ports

-- 
Ticket URL: <https://trac.macports.org/ticket/62929#comment:19>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list