返回日记本

homebrew安装报错

https://brew.sh/ 从官网拷贝脚本执行

Ruby代码  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

 报错:

Ruby代码  error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54  fatal: the remote end hung up unexpectedly  fatal: early EOF  fatal: index-pack failed  Failed during: git fetch origin master:refs/remotes/origin/master --tags --force  error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54

fatal: the remote end hung up unexpectedly

fatal: early EOF

fatal: index-pack failed

Failed during: git fetch origin master:refs/remotes/origin/master --tags --force

加大buffer搞定,时间2020年02月29日

Ruby代码  git config --global http.postBuffer 524288000  git config --global http.postBuffer 524288000

 重新执行

Ruby代码  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"  /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


原文章浏览量:684

原文章分类:操作系统

原文链接:https://www.iteye.com/blog/lizhiyu-2512703