Opened 23 months ago
Last modified 18 months ago
#66626 new defect
Installation of Ventura package fails
Reported by: | DavidK-M | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | base | Version: | |
Keywords: | ventura | Cc: | |
Port: |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
The Installation Failed
The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
I'm running macOS Ventura 13.1 (22C65)
Reason for upgrade is this message from "port" command:
Error: Current platform "darwin 22" does not match expected platform "darwin 21" 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
Change History (5)
comment:1 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)
Component: | ports → base |
---|---|
Description: | modified (diff) |
Keywords: | ventura added; .pkg Installer removed |
comment:2 Changed 23 months ago by kencu (Ken)
I believe this happens if you try to install the wrong MacPorts package installer, eg in this case, the Monterey installer on a Ventura system.
comment:3 Changed 23 months ago by ryandesign (Ryan Carsten Schmidt)
Ken, the error message
Error: Current platform "darwin 22" does not match expected platform "darwin 21"
would occur if you attempt to use a MacPorts installation intended for Darwin 21 (Monterey) on Darwin 22 (Ventura). For example, this would occur if you install MacPorts for Monterey while running Monterey and then upgrade to Ventura. The solution would be to download MacPorts for Ventura and install it.
But it should not be possible to install MacPorts for Monterey on Ventura. The installer should show an intelligible error in that case. For example, it should display a message "This package is meant to be installed on macOS 12.0." and when that message is dismissed the installer window should close. It should not be possible to attempt a MacPorts installation that is for the wrong OS version.
Regarding the error message
The Installation Failed The installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.
I can't explain that and would need to see the installer log.
comment:4 Changed 22 months ago by ryandesign (Ryan Carsten Schmidt)
Another user has reported this in #66752.
comment:5 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
I left some suggestions in comment:ticket:66752:4.
Without more information, I can't imagine why this might be happening. Does the installer log show anything useful?