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

cannot pread pack

From
RPrichard parkins <p1rpp@yahoo.co.uk>
Date
May 4, 2011, 09:31 UTC
Message-ID
<60260.35977.qm@web27605.mail.ukl.yahoo.com>
I'm trying to do a git pull (with no arguments) from the remote repository from which my local repository was originally cloned. I get

remote: Counting objects: 1272, done. remote: Compressing objects: 100% (897/897), done. remote: Total 1127 (delta 588), reused 404 (delta 218) Receiving objects: 100% (1127/1127), 1.18 MiB | 45 KiB/s, done. fatal: cannot pread pack file: No such file or directory fatal: index-pack failed

Does anyone know what causes this and how to recover from it if that is possible? Deleting my local repository and re-cloning makes the problem go away for a few months and several pulls and commits, but eventually it reappears and once reappeared is reproducible. Other users of the same remote repository don't see this problem.
I'm running under SUSE 11.1 Linux 2.6.27.39-0.2-default #1 SMP 2009-11-23 12:57:38 +0100 x86_64 x86_64 x86_64 GNU/Linux using git version 1.6.0.2, which is the latest built release for SUSE 11.1.
I have a copy of the local repository, but the remote repository  will probably have changed by the time anyone responds to this.
Richard Parkins
Next: Shawn Pearce
Message 1 of 3 in “cannot pread pack”
  1. richard parkinsMay 4, 2011
  2. Shawn PearceMay 4, 2011
  3. Jonathan NiederMay 6, 2011

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.