Skip to content

Instantly share code, notes, and snippets.

@k1988
Last active January 5, 2018 09:12
在 repo init -u https://mirrors.ustc.edu.cn/aosp/platform/manifest -b emu-2.6-release 后,repo sync后在clone部分manifest中clone-depth为1的结点时出错。
: parsing /media/dev/ubuntu/aosp/.repo/manifests.git/config
: parsing /home/dev/.gitconfig
: parsing /media/dev/ubuntu/aosp/.repo/repo/.git/config
.repo/manifests _UpdateHooks
.repo/manifests alt_dir:None need_to_fetch:True current_branch_only:None no_tags:None
: export GIT_DIR=/media/dev/ubuntu/aosp/.repo/manifests.git
: git fetch --progress origin --tags +refs/heads/*:refs/remotes/origin/* +refs/heads/emu-2.6-release:refs/remotes/origin/emu-2.6-release 1>| 2>|
* Couldn't find host aosp.tuna.tsinghua.edu.cn in the .netrc file; using defaults
* Trying 101.6.6.177...
* Connected to aosp.tuna.tsinghua.edu.cn (101.6.6.177) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 697 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: *.tuna.tsinghua.edu.cn (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: OU=Domain Control Validated,CN=*.tuna.tsinghua.edu.cn
* start date: Mon, 03 Nov 2014 13:19:40 GMT
* expire date: Sun, 03 Nov 2019 04:11:15 GMT
* issuer: C=BE,O=GlobalSign nv-sa,CN=AlphaSSL CA - SHA256 - G2
* compression: NULL
* ALPN, server did not agree to a protocol
> GET /platform/manifest/info/refs?service=git-upload-pack HTTP/1.1
Host: aosp.tuna.tsinghua.edu.cn
User-Agent: git/2.7.4
Accept: */*
Accept-Encoding: gzip
Accept-Language: en-US, *;q=0.9
Pragma: no-cache
< HTTP/1.1 200 OK
< Server: nginx/1.12.1
< Date: Fri, 05 Jan 2018 08:44:16 GMT
< Content-Type: application/x-git-upload-pack-advertisement
< Transfer-Encoding: chunked
< Connection: keep-alive
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
* Connection #0 to host aosp.tuna.tsinghua.edu.cn left intact
: load refs /media/dev/ubuntu/aosp/.repo/manifests.git
: scan refs /media/dev/ubuntu/aosp/.repo/manifests.git
Fetching project platform/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8
prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8 _UpdateHooks
: parsing /media/dev/ubuntu/aosp/.repo/projects/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8.git/config
prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8 alt_dir:None need_to_fetch:True current_branch_only:None no_tags:None
: export GIT_DIR=/media/dev/ubuntu/aosp/.repo/projects/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8.git
: git fetch --progress aosp --tags +refs/heads/*:refs/remotes/aosp/* 1>| 2>|
* Couldn't find host aosp.tuna.tsinghua.edu.cn in the .netrc file; using defaults
* Trying 101.6.6.177...
* Connected to aosp.tuna.tsinghua.edu.cn (101.6.6.177) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 697 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: *.tuna.tsinghua.edu.cn (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: OU=Domain Control Validated,CN=*.tuna.tsinghua.edu.cn
* start date: Mon, 03 Nov 2014 13:19:40 GMT
* expire date: Sun, 03 Nov 2019 04:11:15 GMT
* issuer: C=BE,O=GlobalSign nv-sa,CN=AlphaSSL CA - SHA256 - G2
* compression: NULL
* ALPN, server did not agree to a protocol
> GET /platform/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/info/refs?service=git-upload-pack HTTP/1.1
Host: aosp.tuna.tsinghua.edu.cn
User-Agent: git/2.7.4
Accept: */*
Accept-Encoding: gzip
Accept-Language: en-US, *;q=0.9
Pragma: no-cache
< HTTP/1.1 200 OK
< Server: nginx/1.12.1
< Date: Fri, 05 Jan 2018 08:44:18 GMT
< Content-Type: application/x-git-upload-pack-advertisement
< Transfer-Encoding: chunked
< Connection: keep-alive
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
* Connection #0 to host aosp.tuna.tsinghua.edu.cn left intact
: load refs /media/dev/ubuntu/aosp/.repo/projects/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8.git
: scan refs /media/dev/ubuntu/aosp/.repo/projects/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8.git
Fetching project platform/prebuilts/ninja/windows-x86
prebuilts/ninja/windows-x86 _InitGitDir None
: git config --file /media/dev/ubuntu/aosp/.repo/projects/prebuilts/ninja/windows-x86.git/config --null --list 1>| 2>|
: git config --file /media/dev/ubuntu/aosp/.repo/projects/prebuilts/ninja/windows-x86.git/config --replace-all filter.lfs.smudge git-lfs smudge --skip -- %f 1>| 2>|
: git config --file /media/dev/ubuntu/aosp/.repo/projects/prebuilts/ninja/windows-x86.git/config --unset-all core.bare 1>| 2>|
: git config --file /media/dev/ubuntu/aosp/.repo/projects/prebuilts/ninja/windows-x86.git/config --replace-all remote.aosp.url https://aosp.tuna.tsinghua.edu.cn/platform/prebuilts/ninja/windows-x86 1>| 2>|
: git config --file /media/dev/ubuntu/aosp/.repo/projects/prebuilts/ninja/windows-x86.git/config --replace-all remote.aosp.review https://android-review.googlesource.com/ 1>| 2>|
: git config --file /media/dev/ubuntu/aosp/.repo/projects/prebuilts/ninja/windows-x86.git/config --replace-all remote.aosp.projectname platform/prebuilts/ninja/windows-x86 1>| 2>|
: git config --file /media/dev/ubuntu/aosp/.repo/projects/prebuilts/ninja/windows-x86.git/config --replace-all remote.aosp.fetch +refs/heads/*:refs/remotes/aosp/* 1>| 2>|
prebuilts/ninja/windows-x86 alt_dir:None need_to_fetch:True current_branch_only:None no_tags:None
: export GIT_DIR=/media/dev/ubuntu/aosp/.repo/projects/prebuilts/ninja/windows-x86.git
: git rev-parse --verify b88e85c90e260cfed1d5130499b8dfd7bb9dc02a^0 1>| 2>|
: git --version 1>| 2>|
: git fetch --progress --depth=1 aosp --no-tags b88e85c90e260cfed1d5130499b8dfd7bb9dc02a 1>| 2>|
* Couldn't find host aosp.tuna.tsinghua.edu.cn in the .netrc file; using defaults
* Trying 101.6.6.177...
* Connected to aosp.tuna.tsinghua.edu.cn (101.6.6.177) port 443 (#0)
* found 173 certificates in /etc/ssl/certs/ca-certificates.crt
* found 697 certificates in /etc/ssl/certs
* ALPN, offering http/1.1
* SSL connection using TLS1.2 / ECDHE_RSA_AES_256_GCM_SHA384
* server certificate verification OK
* server certificate status verification SKIPPED
* common name: *.tuna.tsinghua.edu.cn (matched)
* server certificate expiration date OK
* server certificate activation date OK
* certificate public key: RSA
* certificate version: #3
* subject: OU=Domain Control Validated,CN=*.tuna.tsinghua.edu.cn
* start date: Mon, 03 Nov 2014 13:19:40 GMT
* expire date: Sun, 03 Nov 2019 04:11:15 GMT
* issuer: C=BE,O=GlobalSign nv-sa,CN=AlphaSSL CA - SHA256 - G2
* compression: NULL
* ALPN, server did not agree to a protocol
> GET /platform/prebuilts/ninja/windows-x86/info/refs?service=git-upload-pack HTTP/1.1
Host: aosp.tuna.tsinghua.edu.cn
User-Agent: git/2.7.4
Accept: */*
Accept-Encoding: gzip
Accept-Language: en-US, *;q=0.9
Pragma: no-cache
< HTTP/1.1 200 OK
< Server: nginx/1.12.1
< Date: Fri, 05 Jan 2018 08:44:22 GMT
< Content-Type: application/x-git-upload-pack-advertisement
< Transfer-Encoding: chunked
< Connection: keep-alive
< Expires: Fri, 01 Jan 1980 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-cache, max-age=0, must-revalidate
<
* Connection #0 to host aosp.tuna.tsinghua.edu.cn left intact
error: no such remote ref b88e85c90e260cfed1d5130499b8dfd7bb9dc02a
: git pack-refs --all --prune 1>| 2>|
error: Cannot fetch platform/prebuilts/ninja/windows-x86
error: Exited sync due to fetch errors
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment