GarbageYard

git clone error - fatal: pack has bad object

Jan 12th, 2016
216
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. On my local machine:
  2. $ git clone git@server.com:repo_name.git
  3. Cloning into 'repo_name'...
  4. remote: Counting objects: 3343, done.
  5. remote: Compressing objects: 100% (1263/1263), done.
  6. fatal: pack has bad object at offset 16794301: inflate returned 1
  7. fatal: index-pack failed
  8.  
  9. On Git server:
  10. $ git fsck --full
  11. error: cannot unpack 6273deff5fc2aa56a4f4ac9c9518885197ffea37 from ./objects/pack/pack-5283cabd5bdfe49bdfe3c67c43ec38962ce41497.pack at offset 9050020
  12. error: failed to read object 6273deff5fc2aa56a4f4ac9c9518885197ffea37 at offset 9050020 from ./objects/pack/pack-5283cabd5bdfe49bdfe3c67c43ec38962ce41497.pack
  13. fatal: object 6273deff5fc2aa56a4f4ac9c9518885197ffea37 is corrupted
  14.  
  15.  
  16. After removing ./objects/pack/pack-5283cabd5bdfe49bdfe3c67c43ec38962ce41497.pack, i am now getting this error:
  17.  
  18. -sh-4.1$ git fsck --full
  19. error: cannot unpack 6273deff5fc2aa56a4f4ac9c9518885197ffea37 from repo_name.git/objects/pack/pack-d7e0b99986208f64f104fa79a42da571fac8df33.pack at offset 16797349
  20. error: failed to read object 6273deff5fc2aa56a4f4ac9c9518885197ffea37 at offset 16797349 from repo_name.git/objects/pack/pack-d7e0b99986208f64f104fa79a42da571fac8df33.pack
  21. fatal: object 6273deff5fc2aa56a4f4ac9c9518885197ffea37 is corrupted
Add Comment
Please, Sign In to add comment