port outdated complains after self-update to version 2.10 of MacPorts
Kenneth Wolcott
kennethwolcott at gmail.com
Wed Aug 7 22:57:13 UTC 2024
Thank you, seems to be fixed by 'sudo port outdated'.
On Wed, Aug 7, 2024 at 2:57 PM Joshua Root <jmr at macports.org> 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
>
More information about the macports-users
mailing list