I what download AOSP 6.0.0 but always failed . has any one could help me ?
My evironment : lenovo r720 computer
1. Ubuntu24 docker container on Ubuntu 18 OS
2.
12:02:45 root@aospDocker ubuntu → python /mount_point/vm/AOSP/bin/repo --version
<repo not installed>
repo launcher version 2.42
(from /mount_point/vm/AOSP/bin/repo)
git 2.43.0
Python 3.12.2 (main, Feb 7 2024, 20:47:03) [GCC 13.2.0]
OS Linux 5.4.0-150-generic (#167~18.04.1-Ubuntu SMP Wed May 24 00:51:42 UTC 2023)
CPU x86_64 (x86_64)
Bug reports: https://issues.gerritcodereview.com/issues/new?component=1370071
3. my device memory is 24G , swap space 2G
my docker info
tom@tom-pc ➜ ~ sudo docker run --interactive --tty -m 20GB --cpuset-cpus='0-7' \
--name=aosp_container_new \
--hostname='aospDocker' \
--mount='type=bind,source=/media/tom/samsung_ssd/vm,target=/mount_point/vm,readonly=false' \
--mount='type=bind,source=/media/tom/software,target=/mount_point/software,readonly=false' \
--detach \
0tom0/aopp_ubuntu24.04:2
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
27ecb9dd05eb01a7c9a1a121389941db3bd76762f381dffd2f4541ea4108838e
My error info , one:
ubuntu@aospDocker:/mount_point/vm/AOSP/android-6.0.0_r1$ python /mount_point/vm/AOSP/bin/repo sync -j8 platform/external/skia 2>&1 | tee -a /mount_point/vm/AOSP/android-6.0.0_r1.tmp/log/docker.ubuntu24.repo.sync.j8.[platform.external.skia].1.log
error: Cannot fetch platform/external/skia from https://android.googlesource.com/platform/external/skia
fatal: cannot read existing object 3afae70a48cd9f9c0f57dc7db3f31aea0bb158f1
fatal: fetch-pack: invalid index-pack output
platform/external/skia:
fatal: cannot read existing object 3afae70a48cd9f9c0f57dc7db3f31aea0bb158f1
fatal: fetch-pack: invalid index-pack output
platform/external/skia: sleeping 4.0 seconds before retrying
fatal: cannot read existing object 3afae70a48cd9f9c0f57dc7db3f31aea0bb158f1
fatal: fetch-pack: invalid index-pack output
error: Cannot fetch platform/external/skia from https://android.googlesource.com/platform/external/skia
error: Cannot checkout platform/external/skia: ManifestInvalidRevisionError: revision refs/tags/android-6.0.0_r1 in platform/external/skia not found
error: in `sync -j8 platform/external/skia`: revision refs/tags/android-6.0.0_r1 in platform/external/skia not found
fatal: cannot read existing object 3afae70a48cd9f9c0f57dc7db3f31aea0bb158f1
fatal: fetch-pack: invalid index-pack output
platform/external/skia:
fatal: cannot read existing object 3afae70a48cd9f9c0f57dc7db3f31aea0bb158f1
fatal: fetch-pack: invalid index-pack output
platform/external/skia: sleeping 4.0 seconds before retrying
fatal: cannot read existing object 3afae70a48cd9f9c0f57dc7db3f31aea0bb158f1
fatal: fetch-pack: invalid index-pack output
My error info , two:
ubuntu@aospDocker:/mount_point/vm/AOSP/android-6.0.0_r1$ python /mount_point/vm/AOSP/bin/repo sync -j8 platform/external/deqp 2>&1 | tee -a /mount_point/vm/AOSP/android-6.0.0_r1.tmp/log/docker.ubuntu24.repo.sync.j8.[platform.external.deqp].1.log
error: Cannot fetch platform/external/deqp from https://android.googlesource.com/platform/external/deqp
fatal: serious inflate inconsistency
fatal: fetch-pack: invalid index-pack output
platform/external/deqp:
fatal: serious inflate inconsistency
fatal: fetch-pack: invalid index-pack output
platform/external/deqp: sleeping 4.0 seconds before retrying
error: inflate: data stream error (incorrect data check)
fatal: serious inflate inconsistency
fatal: fetch-pack: invalid index-pack output
I have try the three things :
- On mac os i always download aosp 6.0.0 success .
- On Ubuntu 18 always download aosp 6.0.0 failed. try many times , always failed.
- On Ubuntu 24 always download aosp 6.0.0 failed. try many times , always failed.
I hope download aosp 6.0.0 by ubuntu OS .
I never sync success on my
lenovo r720. I have tried Ubuntu 18~Ubuntu24 , all failed . I have tried change python version python 3.6 ~ python 3.12 , all failed . I have replace my hdd to sdd , still failed.On my Mac PC , I'm almost never failed . When i sycn code success on my mac , i copy it to my
Lenovo r720 Ubuntu. Next is a little software info on mac OS :repo sync successed
I use the aosp mirror web site :
I success one method :
I successed two method:
repo sync warring info
On the start i
repo syncsuccess not get any warning or error . after some days re-sync got the error :Resolve way :