git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* packfile is unavailable/cannot be accessed
@ 2011-04-06  0:09 Enchanter
  2011-04-06 15:42 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Enchanter @ 2011-04-06  0:09 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: packfile is unavailable/cannot be accessed
  2011-04-06  0:09 packfile is unavailable/cannot be accessed Enchanter
@ 2011-04-06 15:42 ` Jeff King
  2011-04-07  0:01   ` Enchanter
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff King @ 2011-04-06 15:42 UTC (permalink / raw)
  To: Enchanter; +Cc: git

On Wed, Apr 06, 2011 at 12:09:59AM +0000, Enchanter wrote:

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: packfile is unavailable/cannot be accessed
  2011-04-06 15:42 ` Jeff King
@ 2011-04-07  0:01   ` Enchanter
  2011-04-07  0:47     ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Enchanter @ 2011-04-07  0:01 UTC (permalink / raw)
  To: git

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)

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: packfile is unavailable/cannot be accessed
  2011-04-07  0:01   ` Enchanter
@ 2011-04-07  0:47     ` Jeff King
  0 siblings, 0 replies; 4+ messages in thread
From: Jeff King @ 2011-04-07  0:47 UTC (permalink / raw)
  To: Enchanter; +Cc: git

On Thu, Apr 07, 2011 at 12:01:28AM +0000, Enchanter wrote:

> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-07  0:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-04-06  0:09 packfile is unavailable/cannot be accessed Enchanter
2011-04-06 15:42 ` Jeff King
2011-04-07  0:01   ` Enchanter
2011-04-07  0:47     ` Jeff King

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).