更新我的 Homebrew 时返回错误

Jon*_*jie 7 git homebrew

我正在尝试使用更新我的 Homebrew brew update,但它返回以下错误:

fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Error: Fetching /usr/local/Homebrew/Library/Taps/jonj/homebrew-old-openssl failed!
fatal: 'origin/master' is not a commit and a branch 'master' cannot be created from it
fatal: invalid upstream 'origin/master'
Run Code Online (Sandbox Code Playgroud)

jon*_*rpe 9

Error: Fetching /usr/local/Homebrew/Library/Taps/jonj/homebrew-old-openssl failed!\n
Run Code Online (Sandbox Code Playgroud)\n

当您brew tap <user>/<repo>默认情况下,Homebrew 会克隆github.com/<user>/homebrew-<repo>到您的Taps目录中,请参阅文档brew 名称中的 /(斜杠)是否有特殊含义?\xe3\x80\x80 或者它只是作为字符串的斜杠?

\n

在这种情况下,在某个时候您确实这样做了brew tap jonj/old-openssl,但该存储库不再公开存在(当前为 404)。要删除它,您可以运行brew untap jonj/old-openssl.

\n