Brew Update Not Working After Mac 10.9


Answer :

This fixed it for me

cd `brew --prefix`/Homebrew git fetch origin git reset --hard origin/master 

brew update worked fine after that


Solution

You might still find..

brew update not working after git pull origin master

Here what you need to do.

cd /usr/local git pull origin master brew install git

Now you might already have git on your System, but what this will do it that now.

Your broken brew update will automatically be updated before at first run..

Here is the link to the origin issue in HomeBrew. brew stuck


I simply removed the .git directory inside of the /usr/local directory, then ran the command brew update.


Comments

Popular posts from this blog

Converting A String To Int In Groovy

"Cannot Create Cache Directory /home//.composer/cache/repo/https---packagist.org/, Or Directory Is Not Writable. Proceeding Without Cache"

Android How Can I Convert A String To A Editable