Unable to install Git using Homebrew
15,479
Solution 1
If you follow the link that 'brew install git' spits out - you will find that the website is "Down for maintenance". That's why it is not working!
A clever SO'er found the solution to this problem by using a mirror for the tar. You can read his instructions in this answer
Solution 2
If you go to the URL yourself you will notice the huge Maintenance warning. This is probably connected with the recent security breach on kernel.org.
Just try again later when the kernel.org admins are sure that the systems are save.
Author by
pingu
Updated on July 01, 2022Comments
-
pingu almost 2 years
I have been trying to install Git using Homebrew on OSX Lion for over a week now, with no luck. Other installs have been fine, what am I doing wrong please?
MacBookPro:Rails pingu$ brew install git ==> Downloading http://kernel.org/pub/software/scm/git/git-1.7.6.1.tar.bz2 curl: (22) The requested URL returned error: 503 Error: Failure while executing: /usr/bin/curl -f#LA Homebrew\ 0.8\ (Ruby\ 1.8.7-249;\ Mac\ OS\ X\ 10.7) http://kernel.org/pub/software/scm/git/git-1.7.6.1.tar.bz2 -o /Users/pingu/Library/Caches/Homebrew/git-1.7.6.1.tar.bz2
-
Tim Malone almost 8 yearsWas this meant to be an answer for a different question? It doesn't directly address the problem the OP is having.