下载后 repo 卡住了

发布于 2024-12-24 19:14:03 字数 1977 浏览 0 评论 0原文

我正在使用 repo 下载 Android 源代码 (ICS)。然而,repo 在下载了大约 6.2G 的数据后就卡住了。 repo 输出的最后几行是:

remote: Counting objects: 249, done
remote: Finding sources: 100% (129/129)
remote: Getting sizes: 100% (144/144)
remote: Compressing objects: 100% (24/24)
remote: Total 129 (delta 69), reused 127 (delta 68)
Receiving objects: 100% (129/129), 15.60 MiB | 2.17 MiB/s, done.
Resolving deltas: 100% (69/69), completed with 46 local objects.
From https://android.googlesource.com/platform/prebuilt
 * [new branch]      ics-factoryrom-2-release -> aosp/ics-factoryrom-2-release
 * [new branch]      ics-mr0    -> aosp/ics-mr0
 * [new branch]      ics-mr0-release -> aosp/ics-mr0-release
 * [new branch]      ics-mr1    -> aosp/ics-mr1
 * [new branch]      ics-mr1-release -> aosp/ics-mr1-release
   367f94c..3929228  master     -> aosp/master
 * [new tag]         android-2.2.3_r1 -> android-2.2.3_r1
 * [new tag]         android-2.2.3_r2 -> android-2.2.3_r2
 * [new tag]         android-4.0.1_r1 -> android-4.0.1_r1
 * [new tag]         android-4.0.1_r1.1 -> android-4.0.1_r1.1
 * [new tag]         android-4.0.1_r1.2 -> android-4.0.1_r1.2
 * [new tag]         android-4.0.2_r1 -> android-4.0.2_r1
 * [new tag]         android-4.0.3_r1 -> android-4.0.3_r1
 * [new tag]         android-cts-2.2_r8 -> android-cts-2.2_r8
 * [new tag]         android-cts-2.3_r10 -> android-cts-2.3_r10
 * [new tag]         android-cts-2.3_r11 -> android-cts-2.3_r11
 * [new tag]         android-cts-4.0_r1 -> android-cts-4.0_r1
 * [new tag]         android-cts-verifier-4.0_r1 -> android-cts-verifier-4.0_r1
 * [new tag]         android-sdk-4.0.3-tools_r1 -> android-sdk-4.0.3-tools_r1
 * [new tag]         android-sdk-4.0.3_r1 -> android-sdk-4.0.3_r1
 * [new tag]         android-sdk-adt_r16.0.1 -> android-sdk-adt_r16.0.1

然后很长一段时间没有响应(> 1 小时)。实在不知道发生了什么。 du 文件夹显示其大小没有改变。不再有网络流量。我应该等待还是终止回购并重新启动?之前的试验也是这样...求答案,谢谢。

I'm using repo to download Android source code (ICS). However, repo gets stuck after downloading about 6.2G data. The last lines of repo's output is:

remote: Counting objects: 249, done
remote: Finding sources: 100% (129/129)
remote: Getting sizes: 100% (144/144)
remote: Compressing objects: 100% (24/24)
remote: Total 129 (delta 69), reused 127 (delta 68)
Receiving objects: 100% (129/129), 15.60 MiB | 2.17 MiB/s, done.
Resolving deltas: 100% (69/69), completed with 46 local objects.
From https://android.googlesource.com/platform/prebuilt
 * [new branch]      ics-factoryrom-2-release -> aosp/ics-factoryrom-2-release
 * [new branch]      ics-mr0    -> aosp/ics-mr0
 * [new branch]      ics-mr0-release -> aosp/ics-mr0-release
 * [new branch]      ics-mr1    -> aosp/ics-mr1
 * [new branch]      ics-mr1-release -> aosp/ics-mr1-release
   367f94c..3929228  master     -> aosp/master
 * [new tag]         android-2.2.3_r1 -> android-2.2.3_r1
 * [new tag]         android-2.2.3_r2 -> android-2.2.3_r2
 * [new tag]         android-4.0.1_r1 -> android-4.0.1_r1
 * [new tag]         android-4.0.1_r1.1 -> android-4.0.1_r1.1
 * [new tag]         android-4.0.1_r1.2 -> android-4.0.1_r1.2
 * [new tag]         android-4.0.2_r1 -> android-4.0.2_r1
 * [new tag]         android-4.0.3_r1 -> android-4.0.3_r1
 * [new tag]         android-cts-2.2_r8 -> android-cts-2.2_r8
 * [new tag]         android-cts-2.3_r10 -> android-cts-2.3_r10
 * [new tag]         android-cts-2.3_r11 -> android-cts-2.3_r11
 * [new tag]         android-cts-4.0_r1 -> android-cts-4.0_r1
 * [new tag]         android-cts-verifier-4.0_r1 -> android-cts-verifier-4.0_r1
 * [new tag]         android-sdk-4.0.3-tools_r1 -> android-sdk-4.0.3-tools_r1
 * [new tag]         android-sdk-4.0.3_r1 -> android-sdk-4.0.3_r1
 * [new tag]         android-sdk-adt_r16.0.1 -> android-sdk-adt_r16.0.1

Then no response for quite a while (>1 hour). Really don't know what has happened. du the folder shows its size doesn't change. No network traffic any more. Should I wait or kill repo and restart? The previous trial was also like this...Looking for an answer, thanks.

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

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

发布评论

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

评论(2

南风几经秋 2024-12-31 19:14:03

解决方案很简单。杀死它并重新启动。这在进行仓库同步时没有什么坏处。整个存储库的大小超过6G。我猜卡住是由于某些网络问题造成的。

The solution is simple. Kill it and restart. This does no harm when doing repo sync. The size of the whole repository is more than 6G. I guess the stuck was due to some network problem.

彼岸花似海 2024-12-31 19:14:03

我被困在同一条线上了!我认为一个是系统性的:

android-sdk-adt_r16.0.1 -> android-sdk-adt_r16.0.1

终止进程后,即使使用sync -f,也会出现以下错误:
正在获取项目:0%(1/262)致命:不是 git 存储库:'/home/rodrigo/open-projects/droid/.repo/projects/bionic.git'

所以我只是对 '/home/rodrigo 进行了 rm 操作/open-projects/droid/.repo/projects/bionic.git',我知道它是一个 Orc 解决方案,但有效...代码已下载。

I got stuck on the same line! I think that one is systemic:

android-sdk-adt_r16.0.1 -> android-sdk-adt_r16.0.1

After killing the process the following error appeared, even with sync -f :
Fetching projects: 0% (1/262) fatal: Not a git repository: '/home/rodrigo/open-projects/droid/.repo/projects/bionic.git'

So I simply did a rm over '/home/rodrigo/open-projects/droid/.repo/projects/bionic.git', I know its an Orc solution but worked... code was downloaded.

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