Opened 2 days ago

Last modified 45 hours ago

#70780 closed defect

port migrate fails after having updated macOS 14.6 to macOS 15 — at Version 2

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 (2)

comment:1 Changed 2 days 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 2 days 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).

Note: See TracTickets for help on using tickets.