Closed bing-hsu closed 3 years ago
What's the output of brew fetch --force openssl@1.1
?
➜ ~ brew fetch --force openssl@1.1 ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1k Already downloaded: /Users/bgao030/Library/Caches/Homebrew/downloads/2efe91096994c33489c066631735a35cc3863cae64fc2ad5b305675fe9d24fed--openssl@1.1-1.1.1k.bottle_manifest.json ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:cb610ecdda346011031b890d7b ==> Downloading from http://140.82.114.33:6080/php/urlblock.php?args=AAAAdwAAABDWFtILvXQ_zyzhii5GpZx ######################################################################## 100.0% Downloaded to: /Users/bgao030/Library/Caches/Homebrew/downloads/61318ecf3a44d45314830c1b7e93587380921027335bdebdc0132dec6eab4195--openssl@1.1--1.1.1k.catalina.bottle.tar.gz SHA256: 4e754901bb16937774c1665cf01e0a16a9b1d572335bf1f8d2736effb6cd0e5d Warning: Formula reports different sha256: cb610ecdda346011031b890d7b7c6e1942d7fc08cf083b74f148ec7ffed8c7e1
What's the output of
file /Users/bgao030/Library/Caches/Homebrew/downloads/61318ecf3a44d45314830c1b7e93587380921027335bdebdc0132dec6eab4195--openssl@1.1--1.1.1k.catalina.bottle.tar.gz
?
Your download from GitHub packages might be getting blocked.
==> Downloading from http://140.82.114.33:6080/php/urlblock.php?args=AAAAdwAAABDWFtILvXQ_zyzhii5GpZx
Something is intercepting your downloads. Based on the urlblock.php
, it may be a company or ISP proxy.
Oops. Thanks for spotting that, @gromgit. I was actually looking for exactly that since I had just seen this the other day: https://github.com/Homebrew/discussions/discussions/1312
Your problem is related to your local configuration, @bing-hsu. You'll need to fix that for yourself, I'm afraid. The discussion I linked to above had the exact same problem; you might get ideas from there if you have trouble fixing it.
brew gist-logs <formula>
link ORbrew config
ANDbrew doctor
outputbrew 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 attempted to install
azure-cli
and encountered this error. I then tied tobrew install openssl
on its own and the error was still there.I followed the suggestion from the error message to delete the *.tar.gz and retried. it didn't solve the issue.
What happened (include all command output)?
`➜ ~ brew install openssl ==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1k Already downloaded: /Users/bgao030/Library/Caches/Homebrew/downloads/2efe91096994c33489c066631735a35cc3863cae64fc2ad5b305675fe9d24fed--openssl@1.1-1.1.1k.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/blobs/sha256:cb610ecdda346011031b890d7b7c6e1942d7fc08cf083b74f148ec Already downloaded: /Users/bgao030/Library/Caches/Homebrew/downloads/61318ecf3a44d45314830c1b7e93587380921027335bdebdc0132dec6eab4195--openssl@1.1--1.1.1k.catalina.bottle.tar.gz
Error: SHA256 mismatch
Expected: cb610ecdda346011031b890d7b7c6e1942d7fc08cf083b74f148ec7ffed8c7e1 Actual: 6d46d0d90c24876d0779f6a3354905181a4e4e4e96261ca80ba1705f16725e50 File: /Users/bgao030/Library/Caches/Homebrew/downloads/61318ecf3a44d45314830c1b7e93587380921027335bdebdc0132dec6eab4195--openssl@1.1--1.1.1k.catalina.bottle.tar.gz To retry an incomplete download, remove the file above.`
What did you expect to happen?
Openssl is installed without error
Step-by-step reproduction instructions (by running
brew
commands)