# Submodule on Debian breaks

2 messages from 2008-05-15 to 2008-05-15. Participants: Peter Bengtson, Johannes Schindelin.
Thread: https://gitlist.dev/t/13530

## Peter Bengtson, 2008-05-15 12:29

Subject: Submodule on Debian breaks
Message-ID: <06D015DD-6F3B-4D2E-8305-BDD062F149E6@peterbengtson.com>
URL: https://gitlist.dev/e/06D015DD-6F3B-4D2E-8305-BDD062F149E6%40peterbengtson.com

```
We have problems cloning git repositories containing submodules on  
Debian. Cloning them locally, on Debian, or on Mac OS X, works without  
a hitch. Cloning them remotely from a Mac OS X repo server to a Mac OS  
X client computer also works as expected, as does cloning repos  
without submodules.

But as soon as a clone of a git repo containing a submodule on the  
Debian machine is attempted from another computer, this happens:

> 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: Generating pack...
> remote: Done counting 7 objects.
> remote: error: unable to find  
> 4d5436979e0afc1e9c03dceeeea3c2ddb9dbf211remote:
> remote: fatal: unable to get type of object  
> 4d5436979e0afc1e9c03dceeeea3c2ddb9dbf211
> remote: aborting due to possible repository corruption on the remote  
> side.
> fatal: early EOF
> fatal: index-pack failed

However, git fsck reports no errors.

The git version is the latest published one, 1.5.5.1, installed from  
source (not via apt-get), and configured only with ./configure -- 
prefix=/usr/local

Googling for info about git submodule and corrupted repos yields  
absolutely nothing.

Any ideas, anyone?

	/ Peter Bengtson

```

## Johannes Schindelin, 2008-05-15 12:55

Subject: Re: Submodule on Debian breaks
Message-ID: <alpine.DEB.1.00.0805151354380.30431@racer>
URL: https://gitlist.dev/e/alpine.DEB.1.00.0805151354380.30431%40racer
In-Reply-To: <06D015DD-6F3B-4D2E-8305-BDD062F149E6@peterbengtson.com>

```
Hi,

On Thu, 15 May 2008, Peter Bengtson wrote:

> We have problems cloning git repositories containing submodules on 
> Debian. Cloning them locally, on Debian, or on Mac OS X, works without a 
> hitch. Cloning them remotely from a Mac OS X repo server to a Mac OS X 
> client computer also works as expected, as does cloning repos without 
> submodules.
> 
> But as soon as a clone of a git repo containing a submodule on the 
> Debian machine is attempted from another computer, this happens:
> 
> >error: git-upload-pack: git-pack-objects died with error.

This is the remote git.  It is probably out of date.

Ciao,
Dscho

```
