Hi,

Thats because you starting following the instructions *after* upgrading, not 
before.

You need to reinstall macports over the top of your current installation, to 
update to the binary to that for your current system, then try again.

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

Chris

> On 7 May 2020, at 9:46 am, Christoph Kukulies <[email protected]> wrote:
> 
> Following the instructions of migrating macports is a dead end to me right 
> now.
> 
> all attempts to uninstall or do anything woth the port command ends with that:
> 
> kuku@Christophs-MBP ~ % port -qv installed >myports.txt
> 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 
> <https://trac.macports.org/wiki/Migration>
> Error: /opt/local/bin/port: Failed to initialize MacPorts, OS platform 
> mismatch
> kuku@Christophs-MBP ~ % sudo port -fp uninstall installed
> Password:
> 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 
> <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
> kuku@Christophs-MBP ~ %     
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to