Failed to install Git using Homebrew

I’ve been trying to install Git using Homebrew on OSX Lion for more than a week, with no luck. Other settings were ok, what am I doing wrong?

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 
+4
source share
3 answers

If you follow the link that “brew install git”, you will find that the website is “Down for maintenance”. That is why it does not work!

Smart SO'er found a solution to this problem using the tar mirror. You can read his instructions in this answer.

+12
source

If you go to the URL , you will notice a huge service warning. This is likely due to a recent security violation at kernel.org.

Please try again later when kernel.org administrators are sure that the systems are saved.

+3
source

It is worth storing a diagram of the main status codes, conveniently. A good source is https://en.wikipedia.org/wiki/List_of_HTTP_status_codes

404s are fairly well known, but the 500 series, as indicated, reflect a server problem. Good web developers should also look at their logs, and if, for example, they receive regular hits from a link to a place that they no longer use, they should return "301" (moving permanently), which may cause the linking linker to update their link (or not).

-1
source

All Articles