mac安装Homebrew 失败 fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': LibreSSL SSL_

报错信息
fatal: unable to access ‘https://github.com/Homebrew/homebrew-core/’: LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew

Press RETURN to continue or any other key to abort
==> Downloading and installing Homebrew...
HEAD is now at 8294060a5 Merge pull request #6892 from Homebrew/dependabot/bundler/Library/Homebrew/tins-1.23.0
fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!
Failed during: /usr/local/bin/brew update --force

解决办法: mac 连接手机热点 重新下载 成功

最终:

[email protected]                     openssl                    vte
[email protected]                     packetbeat                 warp
gost                       pbrt                       whirr
grib-api                   pdftoedn                   wine
gtk-engines                percona-server-mongodb     xar-mackyle
gtk-murrine-engine         [email protected]                    xmoto
[email protected]                  pincaster                  zim
hana                       plan9port                  zxing-cpp
headphones                 postgres-xc
hg-flow                    pound
Warning: /usr/local/bin is not in your PATH.
==> Installation successful!

==> Homebrew has enabled anonymous aggregate formulae and cask analytics.
Read the analytics documentation (and how to opt-out) here:
发布了257 篇原创文章 · 获赞 136 · 访问量 107万+

猜你喜欢

转载自blog.csdn.net/wds1181977/article/details/103876075