Seemed like brute force reinstalling from the installer solved the OS mismatch. 
I can
do

port list

and 

port install stm32flash


All seems to be back again.

—
Christoph


> Am 11.03.2021 um 18:58 schrieb Christoph Kukulies <[email protected]>:
> 
> 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 <[email protected]>:
>> 
>> 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 <[email protected]> 
>>> 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
>>>> 
>>>> 
>>> 
>> 
> 

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

Reply via email to