gpt4 book ai didi

macos - 安装 Homebrew 软件时出错 "unexpected disconnect while reading sideband packet"

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

我尝试使用命令在 M1 Mac Mini 上安装 Homebrew

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

如文档中所示。

然后中途报了这个错

==> Tapping homebrew/core
remote: Enumerating objects: 1107077, done.
remote: Counting objects: 100% (228/228), done.
remote: Compressing objects: 100% (157/157), done.
error: 545 bytes of body are still expected.44 MiB | 341.00 KiB/s
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed
Failed during: git fetch --force origin refs/heads/master:refs/remotes/origin/master
myuser~ %

最佳答案

这更多是 github checkout 问题而不是 Homebrew 问题,checkout this suggestion :

It might be your network issue. If the network is too slow, then it might disconnect connection unexpectedly.

If you are having a good internet and still getting this message then it might be an issue with post buffer. You can resolve it by executing the following command in your cmd.

git config --global http.postBuffer 157286400

关于macos - 安装 Homebrew 软件时出错 "unexpected disconnect while reading sideband packet",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70303947/

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