【问题标题】:Homebrew install error: Failed during: git fetch origin master:refs/remotes/origin/master -nHomebrew 安装错误:在 git fetch origin master:refs/remotes/origin/master -n 期间失败
【发布时间】:2013-09-02 21:02:55
【问题描述】:

当我使用curl: ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)" 安装自制软件时收到此错误消息

错误信息如下:error: RPC failed;结果=18,HTTP 代码 = 200MiB | 55 KiB/s 致命:远端挂断 意外致命:早期 EOF 致命:在模具处理程序中检测到递归 期间失败:git fetch origin master:refs/remotes/origin/master -n

有什么建议吗?提前致谢。

【问题讨论】:

  • 有同样的问题。有人知道吗?
  • Try this。它可能会帮助你。看来我是这样解决的。

标签: homebrew


【解决方案1】:

我也遇到了同样的问题,是git(新电脑)出了点问题。

我做了什么来解决这个问题:

修复了我的 git 设置,然后运行

rm -rf /usr/local/Cellar /usr/local/.git

然后

ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

希望对你有帮助。

【讨论】:

    【解决方案2】:

    我遇到了类似的问题,在下面尝试但尚未解决: git config --global http.postBuffer 1048576000

    参考类似帖子:The remote end hung up unexpectedly while git cloning

    我现在仍然因为这个错误在这里阻塞:

    致命:无法访问“https://github.com/Homebrew/homebrew-core/”:SSLRead() 返回错误 -9806 错误:执行失败:git clone https://github.com/Homebrew/homebrew-core /usr/local/Library/Taps/homebrew/homebrew-core --depth=1 期间失败:/usr/local/bin/brew tap homebrew/core

    不确定是否与我最近的网络连接不佳有关

    【讨论】:

      猜你喜欢
      • 2017-02-11
      • 1970-01-01
      • 2012-05-22
      • 2020-07-27
      • 2021-03-29
      • 2014-01-18
      • 1970-01-01
      • 2013-09-25
      相关资源
      最近更新 更多