今天遇到了MAC下brew无法安装任何包的问题,提示如下:
Error: No available formula with the name "xxxx" ==> Searching for a previously deleted formula (in the last month)... Error: No previously deleted formula found. ==> Searching for similarly named formulae... Error: No similarly named formulae found. ==> Searching taps... ==> Searching taps on GitHub... Error: No formulae found in taps.
解决方法如下:
brew doctor
git -C $(brew --repo homebrew/core) checkout master