[英]Homebrew cannot install anything: Caused by some SSL related problem with cURL
Homebrew stopped to work.自制停止工作。 Here is an error that I get when I try to brew install anything
:这是我尝试brew install anything
时遇到的错误:
$ brew install python
==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.18.1_1.big_sur.bottle.tar.gz
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
Error: Failed to download resource "gdbm"
Download failed: https://homebrew.bintray.com/bottles/gdbm-1.18.1_1.big_sur.bottle.tar.gz
Here is the output of brew doctor
& brew update
:这是brew doctor
和brew update
的 output :
$ brew doctor
Your system is ready to brew.
$ brew update
Already up-to-date.
The problem seems to be with curl
command, so I tried just curl
with same result:问题似乎出在curl
命令上,所以我只尝试了curl
,结果相同:
curl https://homebrew.bintray.com/bottles/gdbm-1.18.1_1.big_sur.bottle.tar.gz
curl: (35) error:1400410B:SSL routines:CONNECT_CR_SRVR_HELLO:wrong version number
I am not behind proxy.我不在代理后面。 What does this mean and how to fix it?这是什么意思以及如何解决?
I had a similar issue with gdbm
trying to install Python, but brew doctor
gave a hint about ca-certificates
.我在gdbm
尝试安装 Python 时遇到了类似的问题,但brew doctor
给出了关于ca-certificates
的提示。 I did我做了
brew install ca-certificates openssl@3
and the issue was resolved.问题就解决了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.