mac brew 安装报错



 ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1

Press RETURN to continue or any other key to abort
==> /usr/bin/sudo /bin/chmod g+rwx /Library/Caches/Homebrew
Password:
==> Downloading and installing Homebrew...
remote: Counting objects: 210763, done.
remote: Compressing objects: 100% (56617/56617), done.
error: RPC failed; result=56, HTTP code = 200 MiB | 1024 bytes/s   
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Failed during: git fetch origin master:refs/remotes/origin/master -n

解决了, 翻墙就没问题了.... 诶...

homebrew mac osx

鲜血D结束 10 years, 10 months ago

你可以查看下这个链接,本地正常安装所以无法模拟你的情况 Error while trying to update brew package manager

resrt answered 10 years, 10 months ago

大神呢, 求帮助啊. 这到底咋回事啊.

反叛的阿斯兰 answered 10 years, 10 months ago

Your Answer