threads / discuss / 16775

Git - index-pack missing

Subject: Git - index-pack missing

## tl;dr

3 messages between Dec 17, 2008 and Dec 18, 2008.

replies: 2people: 3as markdown or json

Michael Boutros· Dec 17, 2008, 23:40 UTC · lore
Greetings all,

First of all, thanks for taking the time to read this and help out. The problem:

I'm trying to clone a repository for the first time on a hosting account that just got setup with Git. However, the problem is that for some reason there is no git-index-pack. I cannot find any reason that that one particular command would not be installed, but for some reason that seems to be the case.

Has anyone ever heard of anything like this? Is my only option to completely scrap Git and try again?

Thanks, Michael Boutros

Junio C Hamano· Dec 18, 2008, 03:15 UTC · re: Michael Boutros · lore

Re: Git - index-pack missing

Michael Boutros <me@michaelboutros.com> writes:
Show 5 quoted lines
> I'm trying to clone a repository for the first time on a hosting
> account that just got setup with Git. However, the problem is that for
> some reason there is no git-index-pack. I cannot find any reason that
> that one particular command would not be installed, but for some
> reason that seems to be the case.

You may want to study output from "git help --all" to see if there is anything *else* that is missing. You did not say which version of git you use, and how it was built and installed with which non-standard options and in what way, so it is hard to guess what is going on.

Perhaps:
	$ cd ~root
        $ grep 'rm .*index-pack' .history .bash_history

could help locating the cause of breakage, but there are other ways to break your installation, so...

> Has anyone ever heard of anything like this?
Not me.
Jeff King· Dec 18, 2008, 03:16 UTC · re: Michael Boutros · lore

Re: Git - index-pack missing

On Wed, Dec 17, 2008 at 06:40:40PM -0500, Michael Boutros wrote:
Show 5 quoted lines
> I'm trying to clone a repository for the first time on a hosting account 
> that just got setup with Git. However, the problem is that for some reason 
> there is no git-index-pack. I cannot find any reason that that one 
> particular command would not be installed, but for some reason that seems 
> to be the case.

How did you install git? From a binary package, from a tarball, from a clone? If built, how did you build it? Any config.mak options, did you use ./configure, etc? What version of git is it?

Is it possible for you to strace the clone process to see where it is trying to find index-pack? Something like:

  strace -f -e execve git clone
should do it.
> Has anyone ever heard of anything like this? Is my only option to  
> completely scrap Git and try again?

That might work, but if this is a bug in the build or installation system, it will be nice to track it down before you scrap the current setup.

-Peff

← back to recent threads