i just noticed that kernel.org is Down for maintenance. is there a different formula which uses a different mirror ? or could i add a different source (like bundler?) to homebrew?
thx for help!
Quick workaround:
Perform
brew edit git
And put
url 'https://github.com/git/git/tarball/v1.7.6.1'
md5 'ab731cf9b99529f3f8d126aa15d9a1cd'
Instead of
url 'http://kernel.org/pub/software/scm/git/git-1.7.6.1.tar.bz2'
md5 'd1e00772cc9dc6c571999feb9e8771ab'
Also put
url 'http://ftp.uk.freesbie.org/sites/ftp.kernel.org/pub/software/scm/git-core/git-manpages-1.7.6.1.tar.bz2
instead of
url 'http://kernel.org/pub/software/scm/git/git-manpages-1.7.6.1.tar.bz2'
And also put
url 'http://ftp.ntu.edu.tw/ftp/pub2/software/scm/git/git-htmldocs-1.7.6.1.tar.bz2'
instead of
url 'http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.6.1.tar.bz2'
Save and after that type brew install git
.
When Linus is done with kernelorg's maintenance, you can revert all these changes.
UPDATE: Added mirror for htmldocs as well. Credits to Tadashi Shigeoka who found the url.
UPDATE: Recent homebrew revision contains mirrors, so that you don't need to use this hack.
Updated for 2015: The solution is much simpler asssuming you have ruby.
@Sharpie added mirror support several years ago. The top answer here is more work than necessary. Do this instead:
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
And then:
brew install git
I had trouble resolving the link to the git-manpages. The manpages are also available at the above git-htmldocs url.
url 'http://ftp.ntu.edu.tw/ftp/pub2/software/scm/git/git-manpages-1.7.6.1.tar.bz2'
I found the mirror site to download 'git-htmldocs-1.7.6.1.tar.bz2'
url: http://ftp.ntu.edu.tw/ftp/pub2/software/scm/git/
put
url 'http://ftp.ntu.edu.tw/ftp/pub2/software/scm/git/git-htmldocs-1.7.6.1.tar.bz2'
instead of
url 'http://kernel.org/pub/software/scm/git/git-htmldocs-1.7.6.1.tar.bz2'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With