升级到macOS High Sierra 版本10.13 后,使用brew出现报错提示
google了各种解决方案,
1. 变更/usr/local/的属组,无效-系统不允许更改
最终解决方法
1. 卸载homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"
1. 重装homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
根据提示操作
Error: Could not link:
/usr/local/share/doc/homebrew
Please delete these paths and run `brew update`.
网友评论