# Problem packing repository

3 messages from 2009-06-22 to 2009-06-22. Participants: Larry Finger, Johannes Sixt.
Thread: https://gitlist.dev/t/19891

## Larry Finger, 2009-06-22 03:24

Subject: Problem packing repository
Message-ID: <4A3EF989.4070101@lwfinger.net>
URL: https://gitlist.dev/e/4A3EF989.4070101%40lwfinger.net

```
For the past 2 weeks, every pull from the mainline kernel repository
has included the following message about "Auto packing" that fails to
complete.

git --version yields "git version 1.6.3.2.198.g6096d"

================================================

Auto packing your repository for optimum performance. You may also
run "git gc" manually. See "git help gc" for more information.
usage: git-pack-objects [{ -q | --progress | --all-progress }]
        [--max-pack-size=N] [--local] [--incremental]
        [--window=N] [--window-memory=N] [--depth=N]
        [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset]
        [--threads=N] [--non-empty] [--revs [--unpacked | --all]*]
[--reflog]
        [--stdout | base-name] [--include-tag]
        [--keep-unreachable | --unpack-unreachable]
        [<ref-list | <object-list]
error: failed to run repack

```

## Johannes Sixt, 2009-06-22 06:30

Subject: Re: Problem packing repository
Message-ID: <4A3F24F9.2060502@viscovery.net>
URL: https://gitlist.dev/e/4A3F24F9.2060502%40viscovery.net
In-Reply-To: <4A3EF989.4070101@lwfinger.net>

```
Larry Finger schrieb:
> For the past 2 weeks, every pull from the mainline kernel repository
> has included the following message about "Auto packing" that fails to
> complete.
> 
> git --version yields "git version 1.6.3.2.198.g6096d"
> 
> ================================================
> 
> Auto packing your repository for optimum performance. You may also
> run "git gc" manually. See "git help gc" for more information.
> usage: git-pack-objects [{ -q | --progress | --all-progress }]
>         [--max-pack-size=N] [--local] [--incremental]
>         [--window=N] [--window-memory=N] [--depth=N]
>         [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset]
>         [--threads=N] [--non-empty] [--revs [--unpacked | --all]*]
> [--reflog]
>         [--stdout | base-name] [--include-tag]
>         [--keep-unreachable | --unpack-unreachable]
>         [<ref-list | <object-list]
> error: failed to run repack

I'm pretty sure that you have inconsistent versions of git in your PATH.
You can use GIT_TRACE=2 to debug this. I think that you should get the
same error if you run 'git gc' manually.

-- Hannes

```

## Larry Finger, 2009-06-22 14:53

Subject: Re: Problem packing repository
Message-ID: <4A3F9AE8.30405@lwfinger.net>
URL: https://gitlist.dev/e/4A3F9AE8.30405%40lwfinger.net
In-Reply-To: <4A3F24F9.2060502@viscovery.net>

```
Johannes Sixt wrote:
> Larry Finger schrieb:
>> For the past 2 weeks, every pull from the mainline kernel repository
>> has included the following message about "Auto packing" that fails to
>> complete.
>>
>> git --version yields "git version 1.6.3.2.198.g6096d"
>>
>> ================================================
>>
>> Auto packing your repository for optimum performance. You may also
>> run "git gc" manually. See "git help gc" for more information.
>> usage: git-pack-objects [{ -q | --progress | --all-progress }]
>>         [--max-pack-size=N] [--local] [--incremental]
>>         [--window=N] [--window-memory=N] [--depth=N]
>>         [--no-reuse-delta] [--no-reuse-object] [--delta-base-offset]
>>         [--threads=N] [--non-empty] [--revs [--unpacked | --all]*]
>> [--reflog]
>>         [--stdout | base-name] [--include-tag]
>>         [--keep-unreachable | --unpack-unreachable]
>>         [<ref-list | <object-list]
>> error: failed to run repack
> 
> I'm pretty sure that you have inconsistent versions of git in your PATH.
> You can use GIT_TRACE=2 to debug this. I think that you should get the
> same error if you run 'git gc' manually.

Thanks. My initial git installation came from an openSUSE 11.1
package. I had then pulled the source, deleted the package, then built
and installed the new version. Unfortunately, not everything was
removed, but it is working now.

Larry

```
