# Git - index-pack missing

3 messages from 2008-12-17 to 2008-12-18. Participants: Michael Boutros, Junio C Hamano, Jeff King.
Thread: https://gitlist.dev/t/16775

## Michael Boutros, 2008-12-17 23:40

Subject: Git - index-pack missing
Message-ID: <54F47863-AF55-4FB7-8A43-A4253E1F782C@michaelbutros.com>
URL: https://gitlist.dev/e/54F47863-AF55-4FB7-8A43-A4253E1F782C%40michaelbutros.com

```
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, 2008-12-18 03:15

Subject: Re: Git - index-pack missing
Message-ID: <7vr646i37v.fsf@gitster.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vr646i37v.fsf%40gitster.siamese.dyndns.org
In-Reply-To: <54F47863-AF55-4FB7-8A43-A4253E1F782C@michaelbutros.com>

```
Michael Boutros <me@michaelboutros.com> writes:

> 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, 2008-12-18 03:16

Subject: Re: Git - index-pack missing
Message-ID: <20081218031639.GA20749@coredump.intra.peff.net>
URL: https://gitlist.dev/e/20081218031639.GA20749%40coredump.intra.peff.net
In-Reply-To: <54F47863-AF55-4FB7-8A43-A4253E1F782C@michaelbutros.com>

```
On Wed, Dec 17, 2008 at 06:40:40PM -0500, Michael Boutros wrote:

> 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

```
