The*_*heo 4 macos homebrew homebrew-cask
注意:抱歉,如果我的英语不好(我是法国人)
嘿,我使用的是 Mac 操作系统,但我在使用 Homebrew 时遇到了问题。
我必须用这个命令安装一些东西:brew install pkg-config cairo pango libpng jpeg giflib librsvg
但是当我这样做时,我有:
Warning: No available formula or cask with the name "ca-certificates".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
Updating Homebrew...
fatal: Needed a single revision
Warning: No available formula or cask with the name "pkg-config".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching for a previously deleted formula (in the last month)...
Error: No previously deleted formula found.
==> Searching taps on GitHub...
Error: No formulae found in taps.
Run Code Online (Sandbox Code Playgroud)
我试图找到解决方案,但它不起作用..,即使我卸载并重新安装 Homebrew,我也遇到同样的问题,然后我问是否可以用 Homebrew 之外的其他方式安装我需要的文件,或者也如果你有一个让我的自制程序正常工作的想法,但我已经放弃了这个想法..,所以如果你能帮助我!谢谢。
小智 12
我遇到了同样的问题,并按照建议的更新brew doctor为我解决了该问题。
更新是 xcode 开发工具,然后运行
$ rm -rf "/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core"
$ brew tap homebrew/core
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
12348 次 |
| 最近记录: |