Can't install with brew on macOS 10.12.4
tomsoderlund opened this issue · comments
Tom Söderlund commented
I’m trying this on macOS 10.12.4:
brew update && brew cask install qlmarkdown
But getting this:
warning: unable to unlink .travis.yml: Permission denied
warning: unable to unlink .yardopts: Permission denied
warning: unable to unlink CONTRIBUTING.md: Permission denied
warning: unable to unlink SUPPORTERS.md: Permission denied
fatal: cannot create directory at '.github': Permission denied
Error: Failure while executing: git pull --ff --no-rebase --quiet origin refs/heads/master:refs/remotes/origin/master
Any ideas?
Théo Attali commented
That's work for me, have you try :
cd "$(brew --repo)" && git fetch && git reset --hard origin/master && brew update
Tom Söderlund commented
Thanks @tattali! My Homebrew installation was broken, I did a reinstall: https://brew.sh
Théo Attali commented
You're welcome