gpt4 book ai didi

Homebrew:错误:不应直接调用更新报告

转载 作者:行者123 更新时间:2023-12-03 04:12:02 25 4
gpt4 key购买 nike

运行brew update我得到以下信息:

/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
/usr/local/Library/brew.sh: line 32: /usr/local/Library/ENV/scm/git: No such file or directory
[etc..]
Error: update-report should not be called directly!

调用 brew config 报告以下内容:

HOMEBREW_VERSION: 0.9.9
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 90e84453f9adda65de6b9274987d06e46caa5d37
Last commit: 4 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 05ce2548bad01807c6be2aece21ab70d221755e6
Core tap last commit: 8 weeks ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit ivybridge
Homebrew Ruby: 2.0.0-p648
Clang: 7.3 build 703
Git: 2.7.0 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /Users/username/anaconda/bin/python => /Users/username/anaconda/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.7.0_79, 1.6.0_65-b14-468
OS X: 10.11.4-x86_64
Xcode: 7.3
CLT: 7.3.0.0.1.1457485338
X11: 2.7.8 => /opt/X11

知道如何解决这个问题吗?我想知道 Sophos Antivirus 是否会再次引发问题..

最佳答案

brew Upgrade 将升级所有已安装的软件包。如果您需要维护任何二进制文件的特定版本,请考虑使用@thanh-hải的答案:https://stackoverflow.com/a/38464247/868724

我刚刚收到此错误。我运行了 brew update,然后再次运行 brew update,问题似乎自行解决了。

或者,尝试按照 @ashley-willis 的建议再次运行 brew update

关于Homebrew:错误:不应直接调用更新报告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38410020/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com