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

Re: packfile is unavailable/cannot be accessed

From
Jeff King <peff@peff.net>
Date
Apr 6, 2011, 15:42 UTC
Message-ID
<20110406154208.GC1864@sigill.intra.peff.net>
In-Reply-To
<loom.20110406T020617-993@post.gmane.org>
On Wed, Apr 06, 2011 at 12:09:59AM +0000, Enchanter wrote:
Show 26 quoted lines
> Today I found these errors when I try to pull from remote:
> 
> $ git fetch origin
> error: end of packfile
> ./objects/pack/pack-0bb4b0fb14801efb46a7cb9aab64add08620c0b1.pack
>  is unavailable error: packfile
> ./objects/pack/pack-0bb4b0fb14801efb46a7cb9aab64add08620c0b1.pack
>  cannot be accessed 
> error: refs/heads/newGPMC does not point to a valid object!
> error: end of packfile
> ./objects/pack/pack-bbb57cb715f61347809673448e9ab12084277090.pack
>  is unavailable
> error: packfile
> ./objects/pack/pack-bbb57cb715f61347809673448e9ab12084277090.pack
>  cannot be accessed
> error: end of packfile
> ./objects/pack/pack-bbb57cb715f61347809673448e9ab12084277090.pack
>  is unavailable
> error: packfile
> ./objects/pack/pack-bbb57cb715f61347809673448e9ab12084277090.pack
>  cannot be accessed
> fatal: failed to read object 8682d5d2ce5bbab82c9020a986d473aa2a97feb8:
>  Illegal seek
> fatal: The remote end hung up unexpectedly
> 
> Can anyone give me a hit on how to solve this problem? 

Looking through the source code, the only way this message can be generated is if lseek fails on the packfile. It looks like the messages are coming from the remote end. Where is your remote located? Which operating system is it running on? Is the repo on an exotic filesystem that might not support seeking?

-Peff
Previous: EnchanterNext: Enchanter
Message 2 of 4 in “packfile is unavailable/cannot be accessed”
  1. EnchanterApr 6, 2011
  2. Jeff KingApr 6, 2011
  3. EnchanterApr 7, 2011
  4. Jeff KingApr 7, 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.