gitandroid-sourcerepo

git error fatal: fetch-pack: invalid index-pack output


I have been trying to clone the aosp repo, it worked fine last week but hasn't been for the last two days. I narrowed it down to the deqp dependecy. With the however I got multiple errors but always resulting in "fatal: fetch-pack: invalid index-pack output". Last try resulted in this:

   /run/me/j/d/a/deqp    master  git config http.postBuffer 524288000
   /run/me/j/d/a/deqp    master  git fetch --unshallow               ✔ 
remote: Finding sources: 100% (126764/126764)
remote: Total 126764 (delta 86667), reused 126714 (delta 86667)
Receiving objects: 100% (126764/126764), 2.33 GiB | 6.12 MiB/s, done.
error: inflate: data stream error (incorrect data check)
fatal: serious inflate inconsistency
fatal: fetch-pack: invalid index-pack output

What could be the problem?


Solution

  • If the proj is too big, try using --depth=1 to solve.