I want to do a brew upgrade and tell homebrew do not upgrade the erlang formula since the latest one does not work on my system.
Is it possible
I finally found an answer: since commit 85eb73ce there is a pin subcommand available. So ignoring a formula on brew upgrade is as simple as pinning it via brew pin . To un-pin it, simply invoke brew unpin .
It is worth noting that brew upgrade will still update the formula regardless of whether or not it is pinned.