【发布时间】:2021-08-26 01:40:04
【问题描述】:
我尝试像往常一样更新 Homebrew。最近发出命令brew update,出现如下错误:
错误:获取 /usr/local/Homebrew/Library/Taps/facebook/homebrew-fb 失败!
Tap 与我开发所需的软件Buck 相关联。
我按照巴克官网installation instruction进一步排查问题,再次发出命令:
% brew tap facebook/fb
==> Unshallowing facebook/fb
fatal: couldn't find remote ref refs/heads/master
Error: Failure while executing; `git fetch --unshallow` exited with 128.
显然,Git 源代码有问题。我尝试“解锁”它:
% brew untap facebook/fb
Error: Refusing to untap facebook/fb because it contains the following installed formulae or casks:
buck
运气不好。我该如何解决这个问题?
【问题讨论】: