Ano*_*oel 6 mac git homebrew macos
自从在 Mac OSX 10.6.8 计算机上更改家庭用户名后,我一直在安装 Homebrew 时遇到问题。从以前的 Homebrew 安装中删除所有文件后,因为它不起作用,我再次安装了它。当我运行 brew doctor 时,它说:
Warning: Suspicious git origin remote found.
With a non-standard origin, Homebrew won't pull updates from
the main repository. The current git origin is:
Unless you have compelling reasons, consider setting the
origin remote to point at the main repository, located at:
https://github.com/mxcl/homebrew.git
Run Code Online (Sandbox Code Playgroud)
它不会让我安装 git(我是用包安装程序安装的),现在当我尝试运行 brew install libksba 时,它说:
Error: Permission denied - /Library/Caches/Homebrew/Formula/libksba.brewing
Run Code Online (Sandbox Code Playgroud)
我试过做 chown 并查找任何有帮助的东西,但我什么也没找到。有没有人知道如何解决这个问题?
小智 10
刚刚运行此命令为我修复了它(我遇到了同样的问题)
sudo chown -R ${USER} /Library/Caches/Homebrew/
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
14869 次 |
| 最近记录: |