Last active
September 24, 2017 18:49
-
-
Save sahilseth/a60bd67d421802fc90b7 to your computer and use it in GitHub Desktop.
fix issues with brew
This file contains hidden or 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
# http://stackoverflow.com/questions/14113427/brew-update-failed | |
cd $(brew --prefix) | |
git reset --hard HEAD | |
# cellar on hpcc cluster | |
# --prefix=~/.linuxbrew/Cellar | |
git clean -df | |
brew update | |
# on fedora, we have a cyclic dependency | |
# descirbed here: https://github.com/Homebrew/linuxbrew/issues/609 | |
# is this works cool, else follow installing some of the dependencies first (below) | |
brew install gcc --cc=gcc | |
# gcc deps (one may encounter more issues) | |
brew install xz --cc=gcc | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment