OS Platform mismatch - while installing stm32flash

Chris Jones jonesc at hep.phy.cam.ac.uk
Thu Mar 11 18:19:45 UTC 2021


Hi,

> On 11 Mar 2021, at 6:16 pm, James Secan <james.secan at gmail.com> wrote:
> 
> Not sure I understand this.  Do we now need to “migrate” when we update from x.x.y to x.x.y+1?  Has Apple fouled things up that badly?  I thought migration was only needed in a major OS upgrade, which I would consider to be from macOS x to maxOS x+1.

You are correct, for a minor update it is not required.

The issue is the OP must not have followed the migration instructions correctly when updating from Darwin19 to Darwin20 (macOS 10.15 to 11.0), as I don’t see any other way he could have got those errors messages.

Chris

> 
> Jim
> 3222 NE 89th St
> Seattle, WA 98115
> (206) 430-0109
> 
>> On Mar 11, 2021, at 6:44 AM, Chris Jones <jonesc at hep.phy.cam.ac.uk> wrote:
>> 
>> 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