Brew Link 错误

2019-02-07  本文已影响0人  DCmf9w7Fnfm

在安装Privoxy的时候, brew link出了问题, 报错:

Error: The `brew link` step did not complete successfully
The formula built, but is not symlinked into /usr/local
Could not symlink sbin/privoxy
/usr/local/sbin is not writable.

解决方法应当去看brew doctor.

其中的一个warning是解决方案:

Warning: The following directories do not exist:
/usr/local/sbin

You should create these directories and change their ownership to your account.
  sudo mkdir -p /usr/local/sbin
  sudo chown -R $(whoami) /usr/local/sbin
上一篇 下一篇

猜你喜欢

热点阅读