Opened 3 weeks ago

Closed 3 weeks ago

#70780 closed defect (worksforme)

port migrate fails after having updated macOS 14.6 to macOS 15

Reported by: pierswalter (Piers Uso Walter) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.9.3
Keywords: Cc:
Port:

Description (last modified by jmroot (Joshua Root))

I've updated macOS from Sonoma 14.6 to Sequoia 15.0. Now I'm trying to update MacPorts and am following the instructions on https://trac.macports.org/wiki/Migration

This does not work for me, I get an error message in the first call of port:

> sudo port migrate
Error: Current platform "darwin 24" does not match expected platform "darwin 23"
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`

Does this occur because I'm still on MacPorts 2.9.3 instead of 2.10.1?

Is there a way to proceed with the migration or should I just remove the current installation and restart from scratch by installing the Sequoia version?

Thanks

Change History (4)

comment:1 Changed 3 weeks ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

First download and run the MacPorts installer for Sequoia from our web site.

comment:2 Changed 3 weeks ago by jmroot (Joshua Root)

Description: modified (diff)

Yes, as mentioned on the Migration wiki page:

Note that this procedure requires MacPorts 2.10.0 or later. If you have an older version of MacPorts installed, you will first need to install the current version (this will not affect your installed ports).

comment:3 Changed 3 weeks ago by pierswalter (Piers Uso Walter)

Thank you very much. This notice on the migration page may have been too obvious for me ;-) [how embarrassing]

Piers

comment:4 Changed 3 weeks ago by jmroot (Joshua Root)

Resolution: worksforme
Status: newclosed

No worries. :) I'll close the ticket then.

Note: See TracTickets for help on using tickets.