# Cannot get git any more?

3 messages from 2005-07-17 to 2005-07-19. Participants: Wolfgang Denk, Petr Baudis.
Thread: https://gitlist.dev/t/1268

## Wolfgang Denk, 2005-07-17 22:49

Subject: Cannot get git any more?
Message-ID: <20050717224904.D1ED735258B@atlas.denx.de>
URL: https://gitlist.dev/e/20050717224904.D1ED735258B%40atlas.denx.de

```
Hi,

I cannot access the git repositorey any more:

-> rpm -q cogito
cogito-0.12.1-1
-> cd git
-> cat .git/branches/origin 
rsync://rsync.kernel.org/pub/scm/git/git.git
-> cg-update
@ERROR: Unknown module 'pub'
rsync: connection unexpectedly closed (41 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)
cg-pull: unable to get the head pointer of branch master

-> cd ..
-> mv git git.OLD
-> cg-clone rsync://rsync.kernel.org/pub/scm/git/git.git
/usr/local/src/git
defaulting to local storage area
@ERROR: Unknown module 'pub'
rsync: connection unexpectedly closed (41 bytes read so far)
rsync error: error in rsync protocol data stream (code 12) at io.c(342)
cg-pull: unable to get the head pointer of branch master
cg-init: pull failed

-> rm -fr git
-> cg-clone http://www.kernel.org/pub/scm/git/git.git
/usr/local/src/git
defaulting to local storage area
00:44:43 URL:http://www.kernel.org/pub/scm/git/git.git/refs/heads/master [41/41] -> "refs/heads/origin" [1]
progress: 2 objects, 4252 bytes
error: File 6ff87c4664981e4397625791c8ea3bbb5f2279a3 (http://www.kernel.org/pub/scm/git/git.git/objects/6f/f87c4664981e4397625791c8ea3bbb5f2279a3) corrupt

Cannot obtain needed blob 6ff87c4664981e4397625791c8ea3bbb5f2279a3
while processing commit 0000000000000000000000000000000000000000.
cg-pull: objects pull failed
cg-init: pull failed


Am I missing something?

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
It's all Klatchian to me.
        - Terry Pratchett & Stephen Briggs, _The Discworld Companion_

```

## Petr Baudis, 2005-07-19 23:38

Subject: Re: Cannot get git any more?
Message-ID: <20050719233839.GC2255@pasky.ji.cz>
URL: https://gitlist.dev/e/20050719233839.GC2255%40pasky.ji.cz
In-Reply-To: <20050717224904.D1ED735258B@atlas.denx.de>

```
Dear diary, on Mon, Jul 18, 2005 at 12:49:04AM CEST, I got a letter
where Wolfgang Denk <wd@denx.de> told me that...
> -> cd ..
> -> mv git git.OLD
> -> cg-clone rsync://rsync.kernel.org/pub/scm/git/git.git
> /usr/local/src/git
> defaulting to local storage area
> @ERROR: Unknown module 'pub'
> rsync: connection unexpectedly closed (41 bytes read so far)
> rsync error: error in rsync protocol data stream (code 12) at io.c(342)
> cg-pull: unable to get the head pointer of branch master
> cg-init: pull failed

That's puzzling. Try just

	rsync -a rsync://rsync.kernel.org/pub/scm/git/git.git /usr/local/src/git

which should fail too and indicates that something must be weird on your
side since it apparently works for the rest of the world. ;-) Try
upgrading rsync, check if it really connects to the real
rsync.kernel.org and such...

> -> rm -fr git
> -> cg-clone http://www.kernel.org/pub/scm/git/git.git
> /usr/local/src/git
> defaulting to local storage area
> 00:44:43 URL:http://www.kernel.org/pub/scm/git/git.git/refs/heads/master [41/41] -> "refs/heads/origin" [1]
> progress: 2 objects, 4252 bytes
> error: File 6ff87c4664981e4397625791c8ea3bbb5f2279a3 (http://www.kernel.org/pub/scm/git/git.git/objects/6f/f87c4664981e4397625791c8ea3bbb5f2279a3) corrupt
> 
> Cannot obtain needed blob 6ff87c4664981e4397625791c8ea3bbb5f2279a3
> while processing commit 0000000000000000000000000000000000000000.
> cg-pull: objects pull failed
> cg-init: pull failed

This is unfortunately normal now.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
If you want the holes in your knowledge showing up try teaching
someone.  -- Alan Cox

```

## Wolfgang Denk, 2005-07-19 23:50

Subject: Re: Cannot get git any more?
Message-ID: <20050719235046.8245A352676@atlas.denx.de>
URL: https://gitlist.dev/e/20050719235046.8245A352676%40atlas.denx.de
In-Reply-To: <20050719233839.GC2255@pasky.ji.cz>

```
In message <20050719233839.GC2255@pasky.ji.cz> you wrote:
>
> > -> cg-clone rsync://rsync.kernel.org/pub/scm/git/git.git
> > /usr/local/src/git
> > defaulting to local storage area
> > @ERROR: Unknown module 'pub'
> > rsync: connection unexpectedly closed (41 bytes read so far)
> > rsync error: error in rsync protocol data stream (code 12) at io.c(342)
> > cg-pull: unable to get the head pointer of branch master
> > cg-init: pull failed
> 
> That's puzzling. Try just
> 
> 	rsync -a rsync://rsync.kernel.org/pub/scm/git/git.git /usr/local/src/git

Thanks for the tip. You are right. This  was  caused  by  an  unlucky
change to one of our firewall rules ;-(

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Applying computer technology is simply finding the  right  wrench  to
pound in the correct screw.

```
