-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Onyx 4.3.5 SHA256 mismatch error on macOS 13.2 #140273
Comments
What did you get stuck on? |
When I executed
|
Also, it seems that executing |
I cannot reproduce this -- the current
|
I'm seeing this issue as well. It's a bit odd, but it seems like even though I'm on macOS 13, Brew is trying to download the macOS 12 version of OnyX instead. In @miccal's attempt to reproduce this issue, notice that the download URL includes It's also worth noting that the actual hash we're seeing happens to match the expected hash in the formula file for the macOS 12 version (which makes sense, since that was the version that was downloaded). The expected hash for the install matches the macOS 13 hash from the formula though. So Brew at least knows we're on macOS 13 for validating the hash, but not for generating the download URL. So, for some reason, Just confirming that I am, in fact, on macOS Ventura, and that Brew is up-to-date:
Trying to upgrade:
Trying to fetch after completely uninstalling OnyX:
|
I've been digging a bit deeper, and I'm thinking this is related to I found more details about this feature at Homebrew/brew#13794, but it seems that one of the requirements of this feature is for formulas to move from using In the case of OnyX, that change was partially made in #137513. However, the formula still uses I haven't intentionally enabled this feature for my Brew installation and don't see anything in my environment variables for it. It looks like the feature was recently enabled for "developers" by Homebrew/brew#14384 though, and I've used developer commands in the past to check formulas, so I wonder if that's why I'm seeing the issue. With all of that said, as you can see in the following examples, Brew uses a different download URL depending on whether I opt-out of this feature or not: With feature enabled (by default it seems):
With feature explicitly disabled:
Is that something that this issue should be re-opened to fix, or does a new issue need to be created? It seems like this is something that should probably be fixed in the formula. |
Ping @Rylan12. |
I have this exact same issue, except on macOS 13.1. @rpendleton That doesn't seem to be the issue for me, oddly enough.
|
This should now be fixed for real and should no longer need the |
Thanks this works with the following warning:
|
I confirm this is now working for me too. Thank you. |
@gbstan that's okay, the checksums were removed along with the fix. You should be able to install the correct version now, and can safely ignore that message |
Cheers! |
Verification
--force
.brew update-reset && brew update
and retried my command.brew doctor
, fixed as many issues as possible and retried my command.Description of issue
I know this is a checksum does not match error. I have checked the version numbers on brew cask and on the website of the application and they are the same. I have tried to do an update of the cask via https://docs.brew.sh/Common-Issues#cask---checksum-does-not-match but got stuck. I would be grateful if someone could help.
The command
brew install --cask onyx
produces the following output:Command that failed
brew install --cask onyx
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap
The text was updated successfully, but these errors were encountered: