这真让我抓狂。我无法再更新我的自制软件安装。当我运行时brew update,它什么也不做并且超时。
我什至尝试重新安装它,但是当我使用默认安装程序时遇到了同样的问题。我最终使用了“随处解压”(https://github.com/mxcl/homebrew/wiki/Installation)选项,效果很好。但我仍然无法更新自制软件。
? brew update
Initialized empty Git repository in /usr/local/homebrew/.git/
error: Failed connect to github.com:3128; Operation timed out while accessing https://github.com/mxcl/homebrew.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
Error: Failure while executing: git fetch origin
Run Code Online (Sandbox Code Playgroud)
在详细模式下运行并没有多大帮助:
? brew update -v
git init
Initialized empty Git repository in /usr/local/homebrew/.git/
git config core.autocrlf false
git remote add origin https://github.com/mxcl/homebrew.git
git fetch origin
error: Failed connect to github.com:3128; Operation timed out while accessing https://github.com/mxcl/homebrew.git/info/refs?service=git-upload-pack
fatal: HTTP request failed
Error: Failure …Run Code Online (Sandbox Code Playgroud)