Thread: Git: Unable to get pack file

Git: Unable to get pack file

From
Leonardo F
Date:
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?





Re: Git: Unable to get pack file

From
Magnus Hagander
Date:
On Tue, Jun 8, 2010 at 13:55, Leonardo F <m_lists@yahoo.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 HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/


Re: Git: Unable to get pack file

From
Leonardo F
Date:
> 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