2

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?

koniety
  • 21
  • 1
  • 2
  • Does this answer your question? [fatal: early EOF fatal: index-pack failed](https://stackoverflow.com/questions/21277806/fatal-early-eof-fatal-index-pack-failed) – SwissCodeMen Dec 06 '21 at 21:59
  • 1
    No sadly it does not. I tried that already. The final result remains the same: "fatal: fetch-pack: invalid index-pack output" – koniety Dec 06 '21 at 22:05
  • 1
    This is usually caused by a proxy (https redirector) that has a bug and corrupts your data. You can try using ssh, if that's available, or remove the "security appliance" that's making your network super-secure by making it not work. :-) – torek Dec 07 '21 at 03:51

1 Answers1

3

I also encountered this problem on macOS Big Sur 11.6.1, and I run ulimit -n unlimited and ulimit -f unlimited to resolve this. Increase the value of packedGitLimit or packedGitWindowSize and packSizeLimit on gitconfig did not work for me.

SmartKeyerror
  • 61
  • 1
  • 7