Running MacPorts on macOS 12?
Joshua Root
jmr at macports.org
Tue Jun 8 06:11:21 UTC 2021
First of all, please be aware of
<https://trac.macports.org/wiki/FAQ#prerelease>.
> Sorry for bugging the mailing list with a day-one beta.
>
> Trying to run macports with 'sudo port’ errors out with a OS platform mismatch error.
>
> Error: Current platform "darwin 21" does not match expected platform "darwin 20"
> 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
>
> Is there a workaround to use MacPorts (knowing that it’s unsupported and data loss might happen)
> before any official support comes out?
The solution is in the error message: you upgraded to a new OS version,
so you need to follow the Migration instructions. Since there is
obviously no binary installer for this OS version, step 2 "install the
base MacPorts system for your new platform" will need to be done by
installing from source.
<https://www.macports.org/install.php#source>
- Josh
More information about the macports-users
mailing list