* corrupted repository?
@ 2008-10-01 21:29 Francois Pepin
2008-10-02 14:29 ` Shawn O. Pearce
0 siblings, 1 reply; 3+ messages in thread
From: Francois Pepin @ 2008-10-01 21:29 UTC (permalink / raw)
To: git
Hi,
The repository on my OS X machine (10.5.5) seems to have been suddenly
become corrupted in a strange way.
Everything seems to be working properly there (git fsck --full returns
normally with no output), but I cannot clone or pull from my other machines:
(iduna is the name of the OS X machine)
[francois@monch ~]$ git clone iduna:git iduna2
Initialized empty Git repository in /bioinfo/home/francois/iduna2/.git/
Password:
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption
on the remote side.
remote: fatal: exec pack-objects failed.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
I have the same issue from the same machine:
[francois@Iduna ~]$ git clone localhost:git git2
Initialized empty Git repository in /Users/francois/git2/.git/
remote: fatal: exec pack-objects failed.
error: git upload-pack: git-pack-objects died with error.
fatal: git upload-pack: aborting due to possible repository corruption
on the remote side.
remote: aborting due to possible repository corruption on the remote side.
fatal: early EOF
fatal: index-pack failed
But not if I just do it locally:
[francois@Iduna ~]$ git clone git git2
Initialized empty Git repository in /Users/francois/git2/.git/
Checking out files: 2% (140/5273)
[I cancelled it at this point]
I am running git 1.6.0.2 on the mac, and have only recently updated it
so that might have a role to play.
Any suggestion would be welcome to fix this issue, and I'll be more than
happy to provide whatever more information could useful.
Francois
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: corrupted repository?
2008-10-01 21:29 corrupted repository? Francois Pepin
@ 2008-10-02 14:29 ` Shawn O. Pearce
2008-10-02 18:03 ` Francois Pepin
0 siblings, 1 reply; 3+ messages in thread
From: Shawn O. Pearce @ 2008-10-02 14:29 UTC (permalink / raw)
To: Francois Pepin; +Cc: git
Francois Pepin <fpepin@cs.mcgill.ca> wrote:
> Everything seems to be working properly there (git fsck --full returns
> normally with no output), but I cannot clone or pull from my other
> machines:
...
> [francois@Iduna ~]$ git clone localhost:git git2
> Initialized empty Git repository in /Users/francois/git2/.git/
> remote: fatal: exec pack-objects failed.
Your git-upload-pack cannot find git-pack-objects. It sounds like
Git was incorrectly installed on your system.
which git-upload-pack ?
which git ?
are they in the same directory?
did you possibly move git after installing it?
git --exec-path?
does that exist?
does it have git-pack-objects inside it?
> I am running git 1.6.0.2 on the mac, and have only recently updated it
> so that might have a role to play.
I think it is the upgrade. It sounds like its not installed correcly
because the helpers in libexec/git-core cannot be found.
--
Shawn.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: corrupted repository?
2008-10-02 14:29 ` Shawn O. Pearce
@ 2008-10-02 18:03 ` Francois Pepin
0 siblings, 0 replies; 3+ messages in thread
From: Francois Pepin @ 2008-10-02 18:03 UTC (permalink / raw)
To: Shawn O. Pearce; +Cc: git
> Your git-upload-pack cannot find git-pack-objects. It sounds like
> Git was incorrectly installed on your system.
You are correct. I had created some symlinks for the binaries because
the changes for the environment variable didn't see to work for me,
either from the installer package or editing the
~/.MacOSX/environment.plist. I had a link to git-upload-pack in /usr/bin
but none to git, thereby creating the issue.
I'm a bit confused as to how it happened, but's all been fixed and I'm a
happy camper again.
Thanks for the help,
Francois
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-02 18:04 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-01 21:29 corrupted repository? Francois Pepin
2008-10-02 14:29 ` Shawn O. Pearce
2008-10-02 18:03 ` Francois Pepin
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).