电脑挂的 ss 全局代理,之前 home brew 完全使用正常, 3 月份的时候用 homebrew 安装了 charles ,然后导入了 charles 的 https 证书 到 mac 上。
今天使用 home brew 安装软件, brew cask install keka 结果提示 curl: (7) Failed to connect to
github-cloud.s3.amazonaws.com port 443: Operation timed out 。
于是乎 brew doctor 检测问题,提示 Your system is ready to brew.
brew update , brew upgrade. 均能正常更新使用
然后开始谷歌,搜了各种方法都没用,最后看到这位作者的解决方法,
http://www.itkeyword.com/doc/9020916023480990x231/brew%20install%20opencv 想到可能是 charles 的证书导致的,最后删除了 charles 的证书,按照他的方法添加了环境变量,再次 brew doctor 却提示:
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: SSL_CERT_DIR support was removed from Apple's curl.
If fetching formulae fails you should:
unset SSL_CERT_DIR
and remove it from ~/.bash_profile if present.
Warning: Setting SSL_CERT_FILE can break downloading files; if that happens
you should unset it before running Homebrew.
Homebrew uses the system curl which uses system certificates by
default. Setting SSL_CERT_FILE makes it use an outdated OpenSSL, which
does not support modern OpenSSL certificate stores.
忽略后 brew cask install keka 提示:
==> Satisfying dependencies
complete
==> Downloading
https://github.com/aonez/Keka/releases/download/v1.0.8/Keka-1.0.
Warning: ignoring SSL_CERT_DIR environment variable, not supported by libcurl
心累,求大神帮忙看看
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
https://tanronggui.xyz/t/353655
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.