Git error of attraction and clone fatal: early EOF; fatal: unpack-objects failed

sorry to bother you with a genius ..

I am facing a common problem that there are many solutions for stack overflows, but this solution is not suitable for me. Therefore, in the end I have no choice but to ask you a genius again for a stack overflow.

  • I have a cloned repository on my server.
  • when I changed the code on my development machine and clicked on the remote git repository, everything worked smoothly.
  • The error starts from the moment when I retrieve data from the server. On the server I command git pull, the following error appears:

remote: Counting objects: 66, done. remote: Compressing objects: 100% (65/65), done. Connection to bitbucket.org closed by remote host. fatal: The remote end hung up unexpectedly fatal: early EOF fatal: unpack-objects failed

  1. I tried this sloution: fatal: early EOF fatal: index package failed but I get the error form step 2git clone --depth 1 <repo_URI>

error:

Cloning into 'sinolife'... remote: Counting objects: 2783, done. remote: Compressing objects: 100% (2199/2199), done. Connection to bitbucket.org closed by remote host.00 KiB/s
fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed

  1. , . -. 0... , , free -m:

         total       used       free     shared    buffers     cached
    

Mem: 993 930 63 0 21 57

-/+ /: 851 142

: 499 16 483

.

$git pull

remote: Counting objects: 66, done.
remote: Compressing objects: 100% (65/65), done.
Connection to bitbucket.org closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed

$git clone

Cloning into 'sinolife'...
remote: Counting objects: 2783, done.
remote: Compressing objects: 100% (2199/2199), done.
Connection to bitbucket.org closed by remote host.00 KiB/s     
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
  1. git , , . git

$git config -l

http.postbuffer=524288000
user.email= myemail@myemail.com
core.compression=0
core.compression=-1
core.compression=-1
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
core.compression=-1
core.packedgitlimit=512m
core.packedgitwindowsize=512m
remote.origin.url= my repository
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.master.remote=origin
branch.master.merge=refs/heads/master
pack.deltacachesize=2047m
pack.packsizelimit=2047m
pack.windowmemory=2047m
  1. :

    uname -a

    Linux VM-87-192-ubuntu 3.13.0-86-generi# 131-Ubuntu SMP 12 23:33:13 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

    git --version

    git 2.11.0

8. , - - . .

9.

git , git pull

remote: Counting objects: 66, done.
remote: Compressing objects: 100% (65/65), done.
Connection to bitbucket.org closed by remote host.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed

git clone

Cloning into 'sinolife'...
remote: Counting objects: 2057, done.
remote: Compressing objects: 100% (1740/1740), done.
Connection to bitbucket.org closed by remote host.00 KiB/s     
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
+4

Source: https://habr.com/ru/post/1666503/


All Articles