corrupted repository?
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
Quoted 3 lines · Francois Pepin
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:
...
Quoted 3 lines
[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?
Quoted 2 lines
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.
Signature · 1 line
Shawn.
Quoted 2 lines
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