Created
May 29, 2014 13:10
-
-
Save da-n/3e3076190f1ba9eb095d to your computer and use it in GitHub Desktop.
Brew update failed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ cd $(brew --prefix) | |
$ git reset --hard HEAD | |
$ brew update | |
# if that fails, try this | |
$ cd $(brew --prefix) | |
$ sudo chown -R dan:staff $(brew --prefix) | |
$ rm Library/Formula/argp-standalone.rb | |
$ rm Library/Formula/cocot.rb | |
$ git fetch origin | |
$ git reset --hard origin/master | |
$ brew update |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment