git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Error "fatal: cannot pread pack file: Success"

From
Bill Lear <rael@zopyra.com>
Date
Feb 28, 2007, 15:48 UTC
Message-ID
<17893.42063.186763.291346@lisa.zopyra.com>
In-Reply-To
<17893.40847.313519.283218@lisa.zopyra.com>
On Wednesday, February 28, 2007 at 09:28:15 (-0600) Bill Lear writes:
Show 21 quoted lines
>On Tuesday, February 27, 2007 at 23:47:19 (-0500) Shawn O. Pearce writes:
>>"Shawn O. Pearce" <spearce@spearce.org> wrote:
>>> Bill Lear <rael@zopyra.com> wrote:
>>> > Using 1.5.0.1.  Can't see what is wrong with this clone...
>>> ...
>>> > Indexing 4589 objects.
>>> > remote: Total 4589 (delta 2209), reused 4589 (delta 2209)
>>> >  100% (4589/4589) done
>>> > Resolving 2209 deltas.
>>> > fatal: cannot pread pack file: Success
>>> > fatal: index-pack died with error code 128
>>> > fetch-pack from '/home/rael/devel/project/.git' failed.
>>> 
>>> I think the pread() in get_data_from_pack of index-pack is wrong,
>>> it really should be looping until we fill the buffer in case the
>>> OS doesn't fully satisfy our read request the first time.
>>
>>Does this fix your problem?
>
>Just got back: I will try applying this patch and testing with it
>and let you know.
No, does not fix.  I added a bit more printout on the error:
% git clone --bare ~/devel/project
Initialized empty Git repository in /austin/users/rael/repos/git/project
remote: Generating pack...
remote: Done counting 4594 objects.
remote: Deltifying 4594 objects.
remote:  100% (4594/4594) done
Indexing 4594 objects.
remote: Total 4594 (delta 2210), reused 4591 (delta 2209)
 100% (4594/4594) done
Resolving 2210 deltas.
fatal: cannot pread pack file: Success [n=0; rdy=0; len=207]
fatal: index-pack died with error code 128
fetch-pack from '/home/rael/devel/fusion/.git' failed.
Bill
Previous: Bill LearNext: Shawn O. Pearce
Message 7 of 34 in “Error "fatal: cannot pread pack file: Success"”
  1. Bill LearFeb 28, 2007
  2. Shawn O. PearceFeb 28, 2007
  3. Shawn O. PearceFeb 28, 2007
  4. Junio C HamanoFeb 28, 2007
  5. Linus TorvaldsFeb 28, 2007
  6. Bill LearFeb 28, 2007
  7. Bill LearFeb 28, 2007
  8. Shawn O. PearceFeb 28, 2007
  9. Bill LearFeb 28, 2007
  10. Bill LearFeb 28, 2007
  11. Shawn O. PearceFeb 28, 2007
  12. Bill LearFeb 28, 2007
  13. Shawn O. PearceFeb 28, 2007
  14. Morten WelinderFeb 28, 2007
  15. Shawn O. PearceFeb 28, 2007
  16. Bill LearFeb 28, 2007
  17. Shawn O. PearceFeb 28, 2007
  18. Bill LearFeb 28, 2007
  19. Shawn O. PearceFeb 28, 2007
  20. Nicolas PitreFeb 28, 2007
  21. Shawn O. PearceFeb 28, 2007
  22. Bill LearFeb 28, 2007
  23. Bill LearFeb 28, 2007
  24. Nicolas PitreFeb 28, 2007
  25. Bill LearMar 1, 2007
  26. Linus TorvaldsFeb 28, 2007
  27. Bill LearFeb 28, 2007
  28. Linus TorvaldsFeb 28, 2007
  29. Bill LearFeb 28, 2007
  30. Linus TorvaldsFeb 28, 2007
  31. Nicolas PitreFeb 28, 2007
  32. Linus TorvaldsFeb 28, 2007
  33. Nicolas PitreFeb 28, 2007
  34. Linus TorvaldsFeb 28, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.