[MacPorts] #70780: port migrate fails after having updated macOS 14.6 to macOS 15

MacPorts noreply at macports.org
Wed Sep 18 14:00:55 UTC 2024


#70780: port migrate fails after having updated macOS 14.6 to macOS 15
--------------------------+--------------------
  Reporter:  pierswalter  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.9.3
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------

Old description:

> 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
> 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

New description:

 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`[[br]]
 Error: Current platform "darwin 24" does not match expected platform
 "darwin 23"[[br]]
 Error: If you upgraded your OS, please follow the migration instructions:
 https://trac.macports.org/wiki/Migration [[br]]
 OS platform mismatch[[br]]
     while executing[[br]]
 "mportinit ui_options global_options global_variations"[[br]]
 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

--

Comment (by jmroot):

 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).

-- 
Ticket URL: <https://trac.macports.org/ticket/70780#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list