自制软件安装:错误:RPC 失败;卷曲 56 LibreSSL SSL_read:错误:06FFF064:数字信封例程:CRYPTO_internal:解密错误,errno 0

发布于 2025-01-10 21:33:53 字数 1187 浏览 0 评论 0原文

我尝试在装有 MacOS Monterey 的 Macbook pro Apple M1 上安装 homebrew,但在这一步总是失败,如下所示。

HEAD is now at 472edc06e Merge pull request #12943 from Homebrew/update-man- 
completions
==> Tapping homebrew/core
remote: Enumerating objects: 1150006, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (19/19), done.
error: RPC failed; curl 56 LibreSSL SSL_read: error:06FFF064:digital envelope 
routines:CRYPTO_internal:bad decrypt, errno 0
error: 1835 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Failed during: git fetch --force origin 
refs/heads/master:refs/remotes/origin/master

我已经尝试像这样设置我的 git 全局用户名

git config --global user.email [email protected]

来删除自制程序并尝试像这样进行全新安装

sudo rm -fr /opt/homebrew

来增加缓冲区大小

git config --global http.postBuffer 524288000 

但没有成功。似乎没有什么对我有用。

Am trying to install homebrew on a Macbook pro Apple M1 with MacOS Monterey but it always fails at this step as shown below.

HEAD is now at 472edc06e Merge pull request #12943 from Homebrew/update-man- 
completions
==> Tapping homebrew/core
remote: Enumerating objects: 1150006, done.
remote: Counting objects: 100% (29/29), done.
remote: Compressing objects: 100% (19/19), done.
error: RPC failed; curl 56 LibreSSL SSL_read: error:06FFF064:digital envelope 
routines:CRYPTO_internal:bad decrypt, errno 0
error: 1835 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
Failed during: git fetch --force origin 
refs/heads/master:refs/remotes/origin/master

I have tried setting my git global username like this

git config --global user.email [email protected]

To deleting homebrew and trying a fresh install like this

sudo rm -fr /opt/homebrew

To increasing the buffer size

git config --global http.postBuffer 524288000 

With no success. Nothing seem to work for me.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

智商已欠费 2025-01-17 21:33:53

除了您列出的命令之外,我还运行这些说明:

git config --global --add remote.origin.proxy ""
git config --global http.sslVerify "false"

运行 sudo rm -fr /opt/homebrew 后(为了清理以前的尝试)我让它工作正常。

In addition to the commands that you listed I also run these instructions:

git config --global --add remote.origin.proxy ""
git config --global http.sslVerify "false"

After running sudo rm -fr /opt/homebrew (in order to clean for previous attempts) I got it to work fine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文