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

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

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

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

发布了282 篇原创文章 · 获赞 140 · 访问量 117万+

猜你喜欢

转载自blog.csdn.net/qiuchangyong/article/details/104286686
今日推荐