Closed kch-chiu closed 1 week ago
Reopening issue as the problem still exists.
I am unable to reproduce:
|-> brew fetch --arch=all github
==> Downloading https://desktop.githubusercontent.com/github-desktop/releases/3.3.18-e85f51b7/GitHubDesktop-x64.zip
################################################################################################################ 100.0%
Downloaded to: /Users/miccal/Library/Caches/Homebrew/downloads/3249331d604ebe85bc118600b3e045fcdc0bab06c447a805015b103cf57edd01--GitHubDesktop-x64.zip
SHA256: 87ce40617255aee7be4c8ee12e7c0a0897878858e801f11a0fe548ea2d63524a
==> Downloading https://desktop.githubusercontent.com/github-desktop/releases/3.3.18-e85f51b7/GitHubDesktop-arm64.zip
################################################################################################################ 100.0%
Downloaded to: /Users/miccal/Library/Caches/Homebrew/downloads/09233fd6b322306de20ee2bdf8693e9d18b7091313de5e00ae4335370239ac06--GitHubDesktop-arm64.zip
SHA256: 706652dfea890f3f4ee7506cabcffea175df91125d62c887ab4f58aa9d435b24
Able to replicate this issue:
➜ ~ brew fetch --arch=all github
==> Downloading https://desktop.githubusercontent.com/github-desktop/releases/3.3.18-e85f51b7/GitHubDesktop-x64.zip
# # # # -=O=-
Downloaded to: /Users/kelchiu/Library/Caches/Homebrew/downloads/3249331d604ebe85bc118600b3e045fcdc0bab06c447a805015b103cf57edd01--GitHubDesktop-x64.zip
SHA256: 46d068ff29f9e163c51c15f61b2253aac00266d79bcce144ef621edfb2a22e62
Warning: Cask reports different sha256: 87ce40617255aee7be4c8ee12e7c0a0897878858e801f11a0fe548ea2d63524a
==> Downloading https://desktop.githubusercontent.com/github-desktop/releases/3.3.18-e85f51b7/GitHubDesktop-arm64.zip
Already downloaded: /Users/kelchiu/Library/Caches/Homebrew/downloads/09233fd6b322306de20ee2bdf8693e9d18b7091313de5e00ae4335370239ac06--GitHubDesktop-arm64.zip
SHA256: 0c297d9888cb551b50cace4fdfe8b54b7068bed1401400c7557cbe53e68872c1
Warning: Cask reports different sha256: 706652dfea890f3f4ee7506cabcffea175df91125d62c887ab4f58aa9d435b24
On /Users/kelchiu/Library/Caches/Homebrew/downloads, running “sha256sum 09233fd6b322306de20ee2bdf8693e9d18b7091313de5e00ae4335370239ac06--GitHubDesktop-arm64.zip” gives me this result:
0c297d9888cb551b50cace4fdfe8b54b7068bed1401400c7557cbe53e68872c1 09233fd6b322306de20ee2bdf8693e9d18b7091313de5e00ae4335370239ac06--GitHubDesktop-arm64.zip
Not able to create PR updates to the github cask on master branch.
Can you please update this SHA256 Checksum on the github cask?
0c297d9888cb551b50cace4fdfe8b54b7068bed1401400c7557cbe53e68872c1
Can you please update this SHA256 Checksum on the github cask?
I (still) cannot reproduce this issue, hence I am not able to do this:
|-> brew fetch --arch=all github
==> Downloading https://desktop.githubusercontent.com/github-desktop/releases/3.3.18-e85f51b7/GitHubDesktop-x64.zip
########################################################################################################################################################################################################################################## 100.0%
Downloaded to: /Users/miccal/Library/Caches/Homebrew/downloads/3249331d604ebe85bc118600b3e045fcdc0bab06c447a805015b103cf57edd01--GitHubDesktop-x64.zip
SHA256: 87ce40617255aee7be4c8ee12e7c0a0897878858e801f11a0fe548ea2d63524a
==> Downloading https://desktop.githubusercontent.com/github-desktop/releases/3.3.18-e85f51b7/GitHubDesktop-arm64.zip
########################################################################################################################################################################################################################################## 100.0%
Downloaded to: /Users/miccal/Library/Caches/Homebrew/downloads/09233fd6b322306de20ee2bdf8693e9d18b7091313de5e00ae4335370239ac06--GitHubDesktop-arm64.zip
SHA256: 706652dfea890f3f4ee7506cabcffea175df91125d62c887ab4f58aa9d435b24
Run the command rm -rf "$(brew --cache)"
and then try again.
Running these commands:
rm -rf “$(brew --cache)” brew fetch --arch=arm github
Gives me this warning:
Downloaded to: /Users/kelchiu/Library/Caches/Homebrew/downloads/09233fd6b322306de20ee2bdf8693e9d18b7091313de5e00ae4335370239ac06--GitHubDesktop-arm64.zip SHA256: 13c263100f8c714856d3040d39abbfb7fc4a6333f65a2c67ad82cc22ea6cffd6 Warning: Cask reports different sha256: 706652dfea890f3f4ee7506cabcffea175df91125d62c887ab4f58aa9d435b24
Will work with another cask which works for me.
Seeing the same as @miccal. Have you verified the download is complete and valid @kch-chiu, such as by manually checking the zip and opening it?
brew fetch --arch=all github
==> Downloading https://desktop.githubusercontent.com/github-desktop/releases/3.3.18-e85f51b7/GitHubDesktop-x64.zip
########################################################################################################################################### 100.0%
Downloaded to: /Users/jay/Library/Caches/Homebrew/downloads/3249331d604ebe85bc118600b3e045fcdc0bab06c447a805015b103cf57edd01--GitHubDesktop-x64.zip
SHA256: 87ce40617255aee7be4c8ee12e7c0a0897878858e801f11a0fe548ea2d63524a
==> Downloading https://desktop.githubusercontent.com/github-desktop/releases/3.3.18-e85f51b7/GitHubDesktop-arm64.zip
Already downloaded: /Users/jay/Library/Caches/Homebrew/downloads/09233fd6b322306de20ee2bdf8693e9d18b7091313de5e00ae4335370239ac06--GitHubDesktop-arm64.zip
SHA256: 706652dfea890f3f4ee7506cabcffea175df91125d62c887ab4f58aa9d435b24
Verified the download is complete. Can manually download the zip and open it. This command still doesn't work for me: "brew install --cask github". Still getting the SHA256 mismatch error.
Issue is not there when installing other casks.
Closing the issue and retrying at a later time.
Thanks.
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
Command that failed
brew install --cask github
Output of command with
--verbose --debug
Output of
brew doctor
andbrew config
Output of
brew tap