Can't migrate mac ports after Monterey -> Sonoma
list_email at icloud.com
list_email at icloud.com
Mon Nov 4 03:37:04 UTC 2024
I have an M1 on which I recently upgraed the os from 12 Monterey to 14 Sonoma. I don’t have Xcode installed but I do have the latest (Sonoma) version of Command Line Tools; I think it’s 16.1.
I need to upgrade macports.
I have followed the instructions at https://trac.macports.org/wiki/Migration.
When I type either
sudo port migrate
or
sudo port selfupdate
I get
Error: Current platform "darwin 23" does not match expected platform "darwin 21"
Error: If you upgraded your OS, please follow the migration instructions: https://trac.macports.org/wiki/Migration
OS platform mismatch
while executing
"mportinit ui_options global_options global_variations"
Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform mismatch
which instructs me to follow instructions at https://trac.macports.org/wiki/Migration.
How do I break out of this loop?
Jerry
More information about the macports-users
mailing list