【发布时间】:2021-03-29 17:51:56
【问题描述】:
这是我的 brew 配置
HOMEBREW_VERSION: 3.0.10-23-g5e0b08d
ORIGIN: https://github.com/Homebrew/homebrew-core
HEAD: 5e0b08dd01bdce3523c7e095739641b6f33b902a
Last commit: 6 hours ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 5e0b08dd01bdce3523c7e095739641b6f33b902a
Core tap last commit: 6 hours ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 4
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3_2/bin/ruby
CPU: quad-core 64-bit icelake
Clang: 12.0 build 1200
Git: 2.24.3 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.64.1 => /usr/bin/curl
macOS: 10.15.7-x86_64
CLT: 12.4.0.0.1.1610135815
Xcode: N/A
当我尝试通过 brewing 下载某些东西时(例如 CAT) 终端说“更新自制软件”,这需要很长时间
和 brew doctor 说
"Warning: Suspicious https://github.com/Homebrew/brew git origin remote found.
The current git origin is:
https://github.com/Homebrew/homebrew-core
With a non-standard origin, Homebrew won't update properly.
You can solve this by setting the origin remote:
git -C "/usr/local/Homebrew" remote set-url origin https://github.com/Homebrew/brew"
所以我输入了
git -C "/usr/local/Homebrew" remote set-url origin https://github.com/Homebrew/brew
However, nothing happened
我对此感到非常沮丧。有人可以帮忙吗?
抱歉写得不好,英语不是我的母语:(
【问题讨论】:
-
请在您的问题下点击
edit并正确格式化。要格式化代码,请用鼠标将其全部选中,然后单击格式工具栏中 Bold 和 Italic 旁边的{}。谢谢。
标签: homebrew