背景
上次讲了一个提高https.buffer的办法,对部分情况管用。
git config --global http.postBuffer 524288000
git config --global https.postBuffer 524288000
但是我这里不管用。
依然报错
Fetching project quic/qsdk/oss/lklm/nss-crypto
Fetching project quic/qsdk/oss/kernel/linux-msm
error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
error: Cannot fetch quic/qsdk/oss/kernel/linux-msm
error: Exited sync due to fetch errors
取巧的办法
如果实在解决不了这个问题的话,可以尝试一下忽略这个问题。
(前提是失败的那部分代码自己在编译和构建的时候是用不上的)
# -f选项是忽略错误的意思, -j10是开多线程下载加快速度而已,和处理错误没有关系
repo sync -f -j10
等到repo 执行完下载之后,会提示忽略了部分错误。
error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
Fetching projects: 97% (42/43) error: RPC failed; result=56, HTTP code = 0
fatal: The remote end hung up unexpectedly
error: Cannot fetch quic/qsdk/oss/kernel/linux-msm
warn: --force-broken, continuing to sync
Fetching projects: 100% (43/43), done.
http://xzh.i3geek.com
0 条评论