git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Can't clone Linus tree

From
Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Date
Jul 24, 2006, 09:55 UTC
Message-ID
<44C4992E.3070706@lsrfire.ath.cx>
In-Reply-To
<20060724080752.GA8716@irc.pl>
Tomasz Torcz schrieb:
Show 23 quoted lines
>  Hi,
> 
>  yesterdat I wanted to bisect my kernel problem, but failed at first step:
> cloning Linus' tree. Today I tried it on other system and also failed.
> 
>  This is git-1.4.0 on Slackware, i586:
> 
> %  git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git
> fatal: packfile '/home/zdzichu/linux-git/.git/objects/pack/tmp-1jI4AH' SHA1 mismatch
> error: git-fetch-pack: unable to read from git-index-pack
> error: git-index-pack died with error code 128
> fetch-pack from 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' failed.
> 
>  And this is 1.4.0-1.fc5 on FC5, x86_64:
> % git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-git
> fatal: packfile '/home/tomek/linux-git/.git/objects/pack/tmp-BxIcIC' SHA1 mismatch
> error: git-fetch-pack: unable to read from git-index-pack
> error: git-index-pack died with error code 128
> fetch-pack from 'git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git' failed.
> 
>  Errors occur constantly since yesterday. They of course appear after
> downloading several megabytes of data, which is unpleasant on my 128kbps
> connection.

Same here with both the master and next branch of git. rsync as suggested by Johannes Weiner works. You can change the protocol back to git in .git/remotes/origin after cloning; pulling small changes seems to work fine.

strace tells me that safe_read at pkt-line.c:111 gets only 305 of the expected 996 bytes and then dies. I have no idea how that might happen. :-/

Pulling the git repository works using the git protocol, btw.
René
Next: Rene Scharfe
Message 1 of 2 in “Re: Can't clone Linus tree”
  1. Rene ScharfeJul 24, 2006
  2. Rene ScharfeJul 24, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.