The solution is in the error below...

Follow the guidelines at

https://trac.macports.org/wiki/Migration

When reinstalling macports, as there is currently no binary installer you will have to follow the install from source option.

https://www.macports.org/install.php

Chris

On 08/10/2019 8:45 am, Peter Hohmann via macports-users wrote:
Hello,

yesterday I updated my Mac Mini running macOS Mojave to macOS 10.15 Catalina. 
Macports might have been up to date before the migration from 10.14 to 10.15 
(Macports 2.6.1, regularly updated via sudo port selfupdate), but after 
updating to 10.15 I get the error message

Error: Current platform "darwin 19" does not match expected platform "darwin 18"
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 solution for the incompatibility? Unfortunately, I am not the expert 
for using the terminal and only use Macports for a few smaller applications. On 
the Macports website there are only installers up to macOS 10.14.

Reply via email to