Opened 3 months ago
Closed 3 months ago
#70523 closed defect (duplicate)
port 2.10.0 port command errors after selfupdate to 2.10.0
Reported by: | bal-agates | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | 2.10.0 |
Keywords: | Cc: | ||
Port: |
Description
I just did an MacPorts selfupdate.
$ 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
Now the port command fails no matter what command options are selected.
$ port 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) $ 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 have done selfupdate many times in the past without issues. Has something changed in 2.10.0 or are there bugs? What database file is trying to be accessed?
System: macOS 14.6.1 on MacBook Pro 2021 (M1).
Change History (1)
comment:1 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → base |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Duplicate of #70511.