[MacPorts] #70511: sqlite error: attempt to write a readonly database after 2.10.0 update

MacPorts noreply at macports.org
Thu Aug 8 17:32:16 UTC 2024


#70511: sqlite error: attempt to write a readonly database after 2.10.0 update
--------------------+--------------------
 Reporter:  wlipa   |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.10.0
 Keywords:          |       Port:
--------------------+--------------------
 {{{
 $ sudo port selfupdate
 Password:
 --->  Updating MacPorts base sources using rsync
 MacPorts base version 2.9.3 installed,
 MacPorts base version 2.10.0 downloaded.
 --->  Updating the ports tree
 --->  MacPorts base is outdated, installing new version 2.10.0
 Installing new MacPorts release in /opt/local as root:wheel; permissions
 0755


 The ports tree has been updated. To upgrade your installed ports, you
 should run
   port upgrade outdated


 $ 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)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/70511>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list