mac已经在低版本安装homebrew后升级到OSX 10.13 High Sierra后无法brew update问题解决方案
The problem kept occurring... after digging deeper I found that only uninstalling Homebrew and then re-installing it solved this issue. Uninstall Homebrew: Then re-install it: |
再次brew update则提示
Already up-to-date.即可解决
PS:
1、Unfortunately you can no longer chown /usr/local
in High Sierra. A workaround is to sudo mkdir /usr/local/include
and /usr/local/Frameworks
if they don't exist, and
sudo chown -R $(whoami) $(brew --prefix)/*