Git: Unable to get pack file

Lists: pgsql-hackers
From: Leonardo F <m_lists(at)yahoo(dot)it>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Git: Unable to get pack file
Date: 2010-06-08 11:55:15
Message-ID: 73415.94999.qm@web29016.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Hi,

I tried getting the source using:

git clone http://git.postgresql.org/git/postgresql.git postgresql-git

but after a while (252MB) I always get:

[...]
Getting pack 61e1395a5bdacda95de5432123a0f8124fff05e6
which contains 476418893d3a2f366f47dbe4ce6d7522cc427545
error: Unable to get pack file http://git.postgresql.org/git/postgresql.git/objects/pack/pack-61e1395a5bdacda95de5432123a0f8124fff05e6.pack
couldn't connect to host
error: Unable to find 476418893d3a2f366f47dbe4ce6d7522cc427545 under http://git.postgresql.org/git/postgresql.git
Cannot obtain needed blob 476418893d3a2f366f47dbe4ce6d7522cc427545
while processing commit ee6ddc7575ab1ce16d8f4eb2cdbcc525d43a6437.
fatal: Fetch failed.

I'm behind proxy/firewall, so I used the "http://" protocol.

wget http://git.postgresql.org/git/postgresql.git/objects/pack/pack-61e1395a5bdacda95de5432123a0f8124fff05e6.pack

works...

What am I doing wrong?


From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Leonardo F <m_lists(at)yahoo(dot)it>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Git: Unable to get pack file
Date: 2010-06-09 07:52:18
Message-ID: AANLkTikxGl5o4WFATqw4r6EagpWCpbjS7UBpwTJzWiTB@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

On Tue, Jun 8, 2010 at 13:55, Leonardo F <m_lists(at)yahoo(dot)it> wrote:
> Hi,
>
>
> I tried getting the source using:
>
> git clone http://git.postgresql.org/git/postgresql.git postgresql-git
>
> but after a while (252MB) I always get:
>
> [...]
> Getting pack 61e1395a5bdacda95de5432123a0f8124fff05e6
> which contains 476418893d3a2f366f47dbe4ce6d7522cc427545
> error: Unable to get pack file http://git.postgresql.org/git/postgresql.git/objects/pack/pack-61e1395a5bdacda95de5432123a0f8124fff05e6.pack
> couldn't connect to host
> error: Unable to find 476418893d3a2f366f47dbe4ce6d7522cc427545 under http://git.postgresql.org/git/postgresql.git
> Cannot obtain needed blob 476418893d3a2f366f47dbe4ce6d7522cc427545
> while processing commit ee6ddc7575ab1ce16d8f4eb2cdbcc525d43a6437.
> fatal: Fetch failed.
>
>
>
> I'm behind proxy/firewall, so I used the "http://" protocol.
>
> wget http://git.postgresql.org/git/postgresql.git/objects/pack/pack-61e1395a5bdacda95de5432123a0f8124fff05e6.pack
>
> works...
>
> What am I doing wrong?

I've re-run git repack on it, please try again. At least that file is
accessible from here now..

--
Magnus Hagander
Me: http://www.hagander.net/
Work: http://www.redpill-linpro.com/


From: Leonardo F <m_lists(at)yahoo(dot)it>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Git: Unable to get pack file
Date: 2010-06-09 12:32:50
Message-ID: 960969.44547.qm@web29010.mail.ird.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

> I've re-run git repack on
> it, please try again. At least that file is
> accessible from here
> now..

It worked, thank you very much