gpt4 book ai didi

Homebrew 的致命 : early EOF

转载 作者:行者123 更新时间:2023-12-03 16:27:44 24 4
gpt4 key购买 nike

嗨,我正在尝试安装 Homebrew (MacOS Catalina)
在他们的官方网页上运行命令后,我收到以下错误。

在此先感谢您的帮助。

Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (9/9), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Error: Failure while executing; `git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core` exited with 128.
Error: Failure while executing; `/usr/local/bin/brew tap homebrew/core` exited with 1.
Failed during: /usr/local/bin/brew update --force```

最佳答案

我在使用 mac M1 big sur 时遇到了问题。
以上是一个很大的帮助。谢谢

  1. sudo ruby -e "$(curl -fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

  2. ruby -e "$(curl -fsSLhttps://raw.githubusercontent.com/Homebrew/install/master/install)"

then it failed.

  1. cd /opt/homebrew/library/taps/homebrew

  2. sudo rmdir homebrew-core

  3. git clone https://github.com/Homebrew/homebrew-core/opt/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1


我也在浏览器上登录 github 不确定这是否重要

关于 Homebrew 的致命 : early EOF,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60495344/

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