[英]Homebrew cannot install anything: Caused by some SSL related problem with cURL
自制停止工作。 這是我嘗試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
這是brew doctor
和brew update
的 output :
$ brew doctor
Your system is ready to brew.
$ brew update
Already up-to-date.
問題似乎出在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
我不在代理后面。 這是什么意思以及如何解決?
我在gdbm
嘗試安裝 Python 時遇到了類似的問題,但brew doctor
給出了關於ca-certificates
的提示。 我做了
brew install ca-certificates openssl@3
問題就解決了。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.