Error on git clone (error: inflate: data stream error (incorrect data check)0 KiB/s)

Matthias Andree mandree at FreeBSD.org
Fri May 7 17:59:33 UTC 2021


Am 06.05.21 um 22:04 schrieb Enio Marconcini:
> Hello there...
> 
> I got FreeBSD 13 VHD virtual machine image from official site. Install git
> from pkg and try to upgrade sources via git using this command:
> git clone --branch stable/13 https://git.FreeBSD.org/src.git /usr/src
> 
> and result this error:
> 
> Cloning into '/usr/src'...
> remote: Enumerating objects: 378088, done.
> remote: Counting objects: 100% (378088/378088), done.
> remote: Compressing objects: 100% (26879/26879), done.
> error: inflate: data stream error (incorrect data check)0 KiB/s
> fatal: pack has bad object at offset 1320508: inflate returned -3
> fatal: fetch-pack: invalid index-pack output
> 
> any tip?
> 

Enio,

how much RAM does your virtual machine have? Initial clones tend to be
memory hungry.  You may want a shallow (i. e. no history) single-branch
check-out on the VM.



More information about the freebsd-git mailing list