ubuntu中git clone安卓内核时报fatal: The remote end hung up unexpectedly错误的处理

在Ubuntu系统下尝试从清华开源软件镜像站克隆安卓内核时遇到'fatal: The remote end hung up unexpectedly'的错误。经分析,该问题可能由于文件过大导致。解决方案是通过调整git的http.postBuffer参数,如设置为1G或3G,执行'git config --global http.postBuffer 1048576000'或'git config --global http.postBuffer 3194304000',问题即可得到解决。
摘要由CSDN通过智能技术生成

问题

在ubuntu中使用git命令从清华的开源软件镜像站中克隆安卓内核,但是报如下错误:

$ git clone https://aosp.tuna.tsinghua.edu.cn/kernel/goldfish
Cloning into 'goldfish'...
remote: Enumerating objects: 116, done.
remote: Counting objects: 100% (116/116), done.
remote: Compressing objects: 100% (69/69), done.
error: RPC failed; curl 56 GnuTLS recv error (-9): Error decoding the received TLS packet.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

处理方法<

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值