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

Re: "fatal: index-pack failed" on git-clone

From
FAFritz Anderson <fritza@uchicago.edu>
Date
Jul 8, 2009, 20:23 UTC
Message-ID
<7A134415-D275-4638-9674-5BCC18A14BC4@uchicago.edu>
In-Reply-To
<7vd48b6md8.fsf@alter.siamese.dyndns.org>
On Jul 8, 2009, at 1:49 PM, Junio C Hamano wrote:
> Could you try your original (non-working) command with this debug  
> patch?

(I had to apply the patch by hand; RHEL patch complained about a malformatted patch file.)

===== $ sudo GIT_TRACE=1 git clone username@remote.example.com:/Users/ username/scientia/scientia.git trace: setup_path: the $PATH was: /usr/bin:/bin trace: setup_path: the $PATH is now: /usr/local/libexec/git-core:/usr/ bin:/bin trace: built-in: git 'clone' 'username@remote.example.com:/Users/ username/scientia/scientia.git' Initialized empty Git repository in /home/username/git-1.6.3/ scientia/.git/ trace: run_command: 'ssh' 'username@remote.example.com' 'git-upload- pack '\''/Users/username/scientia/scientia.git'\''' Password: trace: run_command: 'index-pack' '--stdin' '-v' '--fix-thin' '-- keep=fetch-pack 32503 on scientia.uchicago.edu' trace: exec: 'git' 'index-pack' '--stdin' '-v' '--fix-thin' '-- keep=fetch-pack 32503 on scientia.uchicago.edu' trace: exec failed: No such file or directory trace: the $PATH was: /usr/local/libexec/git-core:/usr/bin:/bin trace: exec 'index-pack' failed: No such file or directory fatal: index-pack failed remote: Counting objects: 2802, done. remote: Compressing objects: 100% (2393/2393), done. =====

As a reminder: ===== $ sudo /usr/local/bin/git --exec-path /usr/local/libexec/git-core =====

	— F
Previous: Fritz AndersonNext: Johannes Sixt
Message 9 of 18 in “"fatal: index-pack failed" on git-clone”
  1. Fritz AndersonJul 8, 2009
  2. Junio C HamanoJul 8, 2009
  3. Fritz AndersonJul 8, 2009
  4. Junio C HamanoJul 8, 2009
  5. Fritz AndersonJul 8, 2009
  6. Junio C HamanoJul 8, 2009
  7. Daniel BarkalowJul 8, 2009
  8. Fritz AndersonJul 8, 2009
  9. Fritz AndersonJul 8, 2009
  10. Johannes SixtJul 8, 2009
  11. Jeff KingJul 8, 2009
  12. Fritz AndersonJul 8, 2009
  13. Johannes SixtJul 9, 2009
  14. Junio C HamanoJul 8, 2009
  15. Jeff KingJul 9, 2009
  16. Michael J GruberJul 9, 2009
  17. A Large Angry SCMJul 9, 2009
  18. Jeff KingJul 13, 2009

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.