mytonctrl icon indicating copy to clipboard operation
mytonctrl copied to clipboard

fatal: index-pack failed

Open LuckyCoders opened this issue 1 year ago • 2 comments

Ubuntu 20.04 LTS (Focal Fossa)

Successfully installed fastcrc-0.3.0 psutil-5.9.8
[2/6] Cloning github repository
Cloning into 'ton'...
remote: Enumerating objects: 13142, done.
remote: Counting objects: 100% (742/742), done.
remote: Compressing objects: 100% (466/466), done.
fatal: the remote end hung up unexpectedly1 MiB | 171.00 KiB/s 
fatal: early EOFs:  28% (3680/13142), 14.31 MiB | 171.00 KiB/s
fatal: index-pack failed

LuckyCoders avatar May 28 '24 23:05 LuckyCoders

✨ Solution

Increases buffer size to 500 MB

git config --global http.postBuffer 524288000

LuckyCoders avatar May 28 '24 23:05 LuckyCoders

According to my past experience, sometimes when downloading the repo, I will connect to an unstable host for downloading. It will be recommended to download again, and the speed will usually be greatly improved.

If you insist on using an unstable host for downloading, there is a high probability that the download will fail or receive errors.

So here is the suggestion:

  1. Download again
  2. Or move to a place with better network

awesome-doge avatar Jun 18 '24 11:06 awesome-doge