[MacPorts] #68381: Since Sonoma 14.0 "sudo port selfupdate" doesn't work

MacPorts noreply at macports.org
Sat Oct 7 18:43:36 UTC 2023


#68381: Since Sonoma 14.0 "sudo port selfupdate" doesn't work
------------------------+--------------------
  Reporter:  amadeus24  |      Owner:  (none)
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.8.1
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------
Changes (by reneeotten):

 * priority:  High => Normal
 * keywords:  "sudo port selfupdate" doesn't work =>
 * component:  ports => base
 * port:  port =>


Old description:

> Updated to Sorona 14.0. If I do an selfupdate, I get the following
> message:[[br]]
> Error: Current platform "darwin 23" does not match expected platform
> "darwin 22"[[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[[br]]
> Appreciate your help.

New description:

 Updated to Sorona 14.0. If I do an selfupdate, I get the following
 message:
 ```
 [[br]]
 Error: Current platform "darwin 23" does not match expected platform
 "darwin 22"
 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
 ```

 Appreciate your help.

--

Comment:

 Follow the Migration procedure as described on the webpage that is given
 in the error message.

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


More information about the macports-tickets mailing list