Skip to contentSkip to conversation

packfile is unavailable/cannot be accessed

DISCUSSION Enchanter 2 participants 4 messages Jun 15, 2016

lore
Share & tools
lore

Enchanter

author
#0 lore raw

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?

Thanks

#1 lore raw
Quoted 25 lines · Enchanter

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
Quoted 1 line

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

author
#2 lore raw
Quoted 9 lines · Jeff King <peff <at> peff.net> writes:

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

Jeff, thanks for you reply.

1. the bare repository is on the windows server
2. One developer use ubuntu with git 1.7.4.1 (Has the error message)
3. Another developer use windows XP with git 1.7.4.msysgit.0 (there's no errors)

#3 lore raw
Quoted 3 lines · Enchanter

1. the bare repository is on the windows server
2. One developer use ubuntu with git 1.7.4.1 (Has the error message)
3. Another developer use windows XP with git 1.7.4.msysgit.0 (there's no errors)

How are they accessing the bare repo? Directly via a CIFS share, or by
git:// running on the Windows server?

-Peff