ray6080
ray6080

Reputation: 893

Homebrew install error: Failed during: git fetch origin master:refs/remotes/origin/master -n

I get this error message when I install homebrew with curl: ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"

The error message is as following: error: RPC failed; result=18, HTTP code = 200MiB | 55 KiB/s fatal: The remote end hung up unexpectedly fatal: early EOF fatal: recursion detected in die handler Failed during: git fetch origin master:refs/remotes/origin/master -n

Any advice? Thanks in advance.

Upvotes: 3

Views: 5953

Answers (2)

vivi
vivi

Reputation: 334

I met similar issue, tried below but not yet solved: git config --global http.postBuffer 1048576000

ref similar post: The remote end hung up unexpectedly while git cloning

i now still block at here with this error:

fatal: unable to access 'https://github.com/Homebrew/homebrew-core/': SSLRead() return error -9806 Error: Failure while executing: git clone https://github.com/Homebrew/homebrew-core /usr/local/Library/Taps/homebrew/homebrew-core --depth=1 Failed during: /usr/local/bin/brew tap homebrew/core

Not sure if linked with my poor network connection recently

Upvotes: 0

yifanwu
yifanwu

Reputation: 1645

I had the same problem, and it was some problem with git (new computer).

What I did to solve the problem:

Fixed my git setup, then ran

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

Then

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

Hope it helps.

Upvotes: 1

Related Questions