x/build/internal/installer/darwinpkg: macOS PKG installer shows misleading error when installing for the wrong architecture #58235
Labels
Builders
x/build issues (builders, bots, dashboards)
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
OS-Darwin
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Accidentally attempted to install the go1.20 installer for ARM64 rather than x86.64.
What did you expect to see?
An error message that I have the wrong installer.
What did you see instead?
An error message saying "Go can't be installed on this computer." This is an inaccurate message; Go can be installed on this computer — it just needs a different installer.
The text was updated successfully, but these errors were encountered: