Thank you, seems to be fixed by 'sudo port outdated'.
On Wed, Aug 7, 2024 at 2:57 PM Joshua Root <[email protected]> wrote: > > > port outdated > > sqlite error: attempt to write a readonly database (8) while executing > > query: CREATE INDEX registry.snapshot_file_id ON snapshot_files(id) > > while executing > > "registry::open $db_path" > > (procedure "mportinit" line 832) > > 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: > > CREATE INDEX registry.snapshot_file_id ON snapshot_files(id) > > I'm not sure why that registry update didn't happen during installation, > but it just needs write access to the database to succeed now, so > running any port command with sudo should fix it. > > - Josh >
