Skip to content

Instantly share code, notes, and snippets.

@sahilseth
Last active September 24, 2017 18:49
Show Gist options
  • Save sahilseth/a60bd67d421802fc90b7 to your computer and use it in GitHub Desktop.
Save sahilseth/a60bd67d421802fc90b7 to your computer and use it in GitHub Desktop.
fix issues with brew
# 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