当前位置:   article > 正文

brew update遇到的一个错误及解决_brew upgrade报错

brew upgrade报错

在终端运行命令:brew update【回车】,报错如下:

  1. error: RPC failed; curl 18 transfer closed with outstanding read data remaining
  2. fatal: the remote end hung up unexpectedly
  3. fatal: early EOF
  4. fatal: index-pack failed
  5. Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!

这是git报错,在终端运行命令:git config http.postBuffer 524288000,然后再brew update,时间有点长,最后成功更新。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/爱喝兽奶帝天荒/article/detail/760553
推荐阅读