* cannot pread pack
@ 2011-05-04 9:31 richard parkins
2011-05-04 13:55 ` Shawn Pearce
0 siblings, 1 reply; 3+ messages in thread
From: richard parkins @ 2011-05-04 9:31 UTC (permalink / raw)
To: git
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cannot pread pack
2011-05-04 9:31 cannot pread pack richard parkins
@ 2011-05-04 13:55 ` Shawn Pearce
2011-05-06 3:08 ` Jonathan Nieder
0 siblings, 1 reply; 3+ messages in thread
From: Shawn Pearce @ 2011-05-04 13:55 UTC (permalink / raw)
To: richard parkins; +Cc: git
On Wed, May 4, 2011 at 02:31, richard parkins <p1rpp@yahoo.co.uk> wrote:
> fatal: cannot pread pack file: No such file or directory
> fatal: index-pack failed
>
> 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.
Upgrade Git. The pread() bug was fixed post 1.6.0.2, I don't remember
what version, but I would suggest moving to one of the later 1.7.x
releases.
--
Shawn.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: cannot pread pack
2011-05-04 13:55 ` Shawn Pearce
@ 2011-05-06 3:08 ` Jonathan Nieder
0 siblings, 0 replies; 3+ messages in thread
From: Jonathan Nieder @ 2011-05-06 3:08 UTC (permalink / raw)
To: Shawn Pearce; +Cc: richard parkins, git
Shawn Pearce wrote:
> Upgrade Git. The pread() bug was fixed post 1.6.0.2, I don't remember
> what version, but I would suggest moving to one of the later 1.7.x
> releases.
Yep. Probably v1.6.0.3~23 (fix pread()'s short read in index-pack,
2008-10-09). The maint-1.6.0 branch has many other nice fixes, in
case you need to avoid version numbers starting with "1.7" or "1.6.6"
for whatever reason.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-06 3:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-04 9:31 cannot pread pack richard parkins
2011-05-04 13:55 ` Shawn Pearce
2011-05-06 3:08 ` Jonathan Nieder
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 NNTP newsgroup(s).