brew install redis报错
来源:7-9 redis介绍

写前端的小程
2021-09-05
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'
以上是报错信息,请问要怎么解决呀
写回答
1回答
-
双越
2021-09-05
把 brew 的源切换到国内,试试。
搜索“brew 国内 镜像”
00
相似问题