Closed ZHUYFgit closed 10 months ago
brew update
brew doctor
I try to install herwig with home-brew.
Error: herwig: SHA256 mismatch Expected: deec8f22e89bb1a3f31b3b84e8feddf59a69845c9d33fba718f5599ce4a6ae9d Actual: ac35979ae89c29608ca92c156a49ff68aace7a5a12a0c92f0a01a833d2d34572 File: /Users/zhuyf/Library/Caches/Homebrew/downloads/f1f37b26a3eeaddacb712b0e53ef949e43d15cad4dfd8a4ec113ddc9c21117dc--ThePEG-2.3.0.tar.bz2 To retry an incomplete download, remove the file above.
en, I want it to be successfully installed.
brew
brew tap davidchall/hep brew install herwig
brew gist-logs <formula>
brew config
brew config HOMEBREW_VERSION: 4.2.0-25-gf61ef4b ORIGIN: https://mirrors.ustc.edu.cn/brew.git HEAD: f61ef4be2f0c622ceb1c31b7e12969bf01762447 Last commit: 6 hours ago Core tap origin: https://github.com/Homebrew/homebrew-core Core tap HEAD: (none) Core tap last commit: never Core tap branch: (none) Core tap JSON: 20 Dec 07:37 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_API_DOMAIN: https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api HOMEBREW_BOTTLE_DOMAIN: https://mirrors.ustc.edu.cn/homebrew-bottles HOMEBREW_CASK_OPTS: [] HOMEBREW_DISPLAY: /private/tmp/com.apple.launchd.PvfVqUGF1L/org.xquartz:0 HOMEBREW_MAKE_JOBS: 10 HOMEBREW_PIP_INDEX_URL: https://pypi.tuna.tsinghua.edu.cn/simple HOMEBREW_SORBET_RUNTIME: set Homebrew Ruby: 3.1.4 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.1.4/bin/ruby CPU: 10-core 64-bit arm_blizzard_avalanche Clang: 14.0.3 build 1403 Git: 2.39.2 => /Applications/Xcode.app/Contents/Developer/usr/bin/git Curl: 7.86.0 => /usr/bin/curl macOS: 13.2.1-arm64 CLT: 14.3.1.0.1.1683849156 Xcode: 14.3.1 Rosetta 2: false
brew doctor Your system is ready to brew.
It is caused by Mac M2. The installation is fine on the Intel.
Verification
brew update
and am still able to reproduce my issue.brew doctor
and that did not fix my problem.What were you trying to do (and why)?
I try to install herwig with home-brew.
What happened (include all command output)?
Error: herwig: SHA256 mismatch Expected: deec8f22e89bb1a3f31b3b84e8feddf59a69845c9d33fba718f5599ce4a6ae9d Actual: ac35979ae89c29608ca92c156a49ff68aace7a5a12a0c92f0a01a833d2d34572 File: /Users/zhuyf/Library/Caches/Homebrew/downloads/f1f37b26a3eeaddacb712b0e53ef949e43d15cad4dfd8a4ec113ddc9c21117dc--ThePEG-2.3.0.tar.bz2 To retry an incomplete download, remove the file above.
What did you expect to happen?
en, I want it to be successfully installed.
Step-by-step reproduction instructions (by running
brew
commands)brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
output