无法运行Brew更新

时间:2019-11-08 16:38:33

标签: homebrew

运行brew update时出现错误:

mkdir: /usr/local/var/homebrew/locks: Permission denied
Error: Can't create update lock in /usr/local/var/homebrew/locks!
Fix permissions by running:
  sudo chown -R $(whoami) /usr/local/var/homebrew

当我运行sudo chown -R $(whoami) /usr/local/var/homebrew时,我得到:

chown: /usr/local/var/homebrew: No such file or directory

有什么建议吗?

0 个答案:

没有答案