请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

brew install redis报错

jujiacheng@jujiachengdeMacBook-Pro ~ % brew install redis
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/openssl%401
#=#=#                                                                         
curl: (22) The requested URL returned error: 404 
Warning: Bottle missing, falling back to the default domain...
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/1.1/manifests/1.1.1k
Already downloaded: /Users/jujiacheng/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:0a75e0
Already downloaded: /Users/jujiacheng/Library/Caches/Homebrew/downloads/5808c4424ac006e0ed6bb4ae6b4e716151c0fd953ed73b05d7e3885c6a7cfaa9--openssl@1.1--1.1.1k.arm64_big_sur.bottle.tar.gz
==> Downloading https://mirrors.ustc.edu.cn/homebrew-bottles/bottles/redis-6.2.4
#=#=#                                                                         
curl: (22) The requested URL returned error: 404 
Warning: Bottle missing, falling back to the default domain...
==> Downloading https://ghcr.io/v2/homebrew/core/redis/manifests/6.2.4
Already downloaded: /Users/jujiacheng/Library/Caches/Homebrew/downloads/719c86510b508801bf76b8cdea8038a99bcec47a5d658691a93dce2b44a4e724--redis-6.2.4.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/redis/blobs/sha256:097941b5d4c9
Already downloaded: /Users/jujiacheng/Library/Caches/Homebrew/downloads/feb0c5055f92d95220322fa43b741b25982dc8061249468615d3d26db269c424--redis--6.2.4.arm64_big_sur.bottle.tar.gz
==> Installing dependencies for redis: openssl@1.1
==> Installing redis dependency: openssl@1.1
==> Pouring openssl@1.1-1.1.1k.arm64_big_sur.bottle.tar.gz
tar: Error opening archive: Failed to open '/Users/jujiacheng/Library/Caches/Homebrew/downloads/462f3e90190034c58b26aa1e9b9db816dc4659712f231edaf4ad923cc9e0c3cc--openssl@1.1-1.1.1k.arm64_big_sur.bottle.tar.gz'
Error: Failure while executing; `tar --extract --no-same-owner --file /Users/jujiacheng/Library/Caches/Homebrew/downloads/462f3e90190034c58b26aa1e9b9db816dc4659712f231edaf4ad923cc9e0c3cc--openssl@1.1-1.1.1k.arm64_big_sur.bottle.tar.gz --directory /private/tmp/d20210905-5595-gqwsak` exited with 1. Here's the output:
tar: Error opening archive: Failed to open '/Users/jujiacheng/Library/Caches/Homebrew/downloads/462f3e90190034c58b26aa1e9b9db816dc4659712f231edaf4ad923cc9e0c3cc--openssl@1.1-1.1.1k.arm64_big_sur.bottle.tar.gz'

以上是报错信息,请问要怎么解决呀

正在回答 回答被采纳积分+3

1回答

双越 2021-09-05 20:43:28

把 brew 的源切换到国内,试试。

搜索“brew 国内 镜像”

0 回复 有任何疑惑可以回复我~
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号