OS Platform mismatch - while installing stm32flash

Christoph Kukulies kuku at kukulies.org
Thu Mar 11 17:58:13 UTC 2021


It looks like I cannot do any command on macports. That way it is not even possible to uninstall macports from the uninstall instructions,
not to mention making a list of currently  installed ports.

I’m locked up. 

—
Christoph



> Am 11.03.2021 um 15:44 schrieb Chris Jones <jonesc at hep.phy.cam.ac.uk>:
> 
> 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
>>> 
>>> 
>> 
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3363 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20210311/273b5af6/attachment.bin>


More information about the macports-users mailing list