Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install Git using Homebrew

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
like image 717
pingu Avatar asked Dec 10 '22 06:12

pingu


2 Answers

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

like image 75
Michal Avatar answered Dec 23 '22 07:12

Michal


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.

like image 38
Holger Just Avatar answered Dec 23 '22 07:12

Holger Just