Toybrick

.repo/repo/repo sync出错

cqqjliyuan

中级会员

积分
212
发表于 2020-10-28 17:15:17    查看: 4909|回复: 2 | [复制链接]    打印 | 显示全部楼层
本帖最后由 cqqjliyuan 于 2020-10-28 17:19 编辑

按照步骤下载安装源
cat rk3399pro_git.tar.gz* | tar -xzv
repo init -m release/rk3399pro_release-V1.5.xml
.repo/repo/repo sync

出现以下错误
Fetching projects:  38% (238/626)
error: Cannot fetch platform/external/linux-kselftest from https://aosp.tuna.tsinghua.edu.c ... nal/linux-kselftest
* GnuTLS recv error (-54): Error in the pull function.00 KiB/s
* Closing connection 0
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
error: Cannot fetch platform/cts from https://aosp.tuna.tsinghua.edu.cn/platform/cts
* Connection #0 to host github.com left intactMiB | 68.00 KiB/s
17:08:47.706202 pkt-line.c:80           packet:     sideband< \2Total 73922 (delta 15225), reused 15330 (delta 15225), pack-reused 58592
17:08:47.706205 pkt-line.c:80           packet:          git< 0000
remote: Total 73922 (delta 15225), reused 15330 (delta 15225), pack-reused 5859217:08:47.706220 pkt-line.c:80           packet:     sideband< \2

17:08:47.706225 pkt-line.c:80           packet:     sideband< 0000
Receiving objects: 100% (73922/73922), 111.33 MiB | 72.00 KiB/s, done.
Resolving deltas: 100% (51795/51795), completed with 1076 local objects.
17:08:57.417359 run-command.c:334       trace: run_command: 'rev-list' '--objects' '--stdin' '--not' '--all'
17:08:57.417634 exec_cmd.c:120          trace: exec: 'git' 'rev-list' '--objects' '--stdin' '--not' '--all'
17:08:57.418566 git.c:344               trace: built-in: git 'rev-list' '--objects' '--stdin' '--not' '--all'
From https://github.com/rockchip-toybrick/packages-apps-Settings
   a2f25ef..60e0f6b  master     -> origin/master
* [new branch]      master-9.0 -> origin/master-9.0
17:08:58.105262 run-command.c:334       trace: run_command: 'gc' '--auto'
17:08:58.105449 exec_cmd.c:120          trace: exec: 'git' 'gc' '--auto'
17:08:58.106410 git.c:344               trace: built-in: git 'gc' '--auto'

error: Exited sync due to fetch errors

几次都是这样,什么原因导致的?怎么解决?

回复

使用道具 举报

jefferyzhang

版主

积分
12851
发表于 2020-10-29 08:27:25 | 显示全部楼层
fatal: early EOF 就是你们公司网络问题。
多试几次,不然就加--depth=1
回复

使用道具 举报

cqqjliyuan

中级会员

积分
212
 楼主| 发表于 2020-10-29 10:09:16 | 显示全部楼层
jefferyzhang 发表于 2020-10-29 08:27
fatal: early EOF 就是你们公司网络问题。
多试几次,不然就加--depth=1

谢谢,按照你的方法,问题已解决。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表