[MacPorts] #70511: sqlite error: attempt to write a readonly database after 2.10.0 update
MacPorts
noreply at macports.org
Sat Aug 10 19:59:15 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: base | Version: 2.10.0
Resolution: | Keywords:
Port: |
---------------------+--------------------
Comment (by bal-agates):
When I did the selfupdate upgrading to 2.10.0 I had outdated ports but
nothing on stdout indicating the count outdated. Here is the entire
selfupdate output:
{{{
$ 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
}}}
I used "sudo port outdated" to workaround the DB schema update. This
showed 356 ports that were outdated.
Now when I run "sudo port selfupdate" I do see the message counting
outdated ports:
{{{
$ sudo port selfupdate
Password:
---> Checking for newer releases of MacPorts
MacPorts base version 2.10.0 installed,
MacPorts base version 2.10.0 available.
---> MacPorts base is already the latest version
---> Updating the ports tree
The ports tree has been updated.
356 ports are outdated. Run 'port outdated' for details.
To upgrade your installed ports, you should run
port upgrade outdated
}}}
So the code to report the outdated count was not run on my selfupdate from
2.9.3 to 2.10.0. Was that selfupdate output from the 2.9.3 exe? Could
that also explain why the DB schema was not updated?
--
Ticket URL: <https://trac.macports.org/ticket/70511#comment:10>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list