OS Platform mismatch - while installing stm32flash

Chris Jones jonesc at hep.phy.cam.ac.uk
Thu Mar 11 14:44:21 UTC 2021


Hi,

Looks like at some point you did not follow the migration instructions correctly. You should do so now.

Chris

> On 11 Mar 2021, at 2:41 pm, Christoph P.U. Kukulies <kuku at kukulies.org> wrote:
> 
> Of course the error (OS platform mismatch) occurs on every command I'm
> running on port,
> 
> like
> 
> port info
> 
>> Am 11.03.2021 um 14:20 schrieb Christoph Kukulies:
>> Tried to do
>> 
>> 
>> $ sudo port install stm32flash
>> Password:
>> Error: Current platform "darwin 20" does not match expected platform "darwin 19"
>> 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
>> 
>> 
>> Did an os update from macOS 12.2.2 to 12.2.3 right before.
>> 
>> 
>>>> Christoph
>> 
>> 
> 



More information about the macports-users mailing list