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

Re: corrupted repository?

From
Shawn O. Pearce <spearce@spearce.org>
Date
Oct 2, 2008, 14:29 UTC
Message-ID
<20081002142952.GP21310@spearce.org>
In-Reply-To
<48E3EBC2.7090107@cs.mcgill.ca>
Francois Pepin <fpepin@cs.mcgill.ca> wrote:
> Everything seems to be working properly there (git fsck --full returns  
> normally with no output), but I cannot clone or pull from my other 
> machines:
...
> [francois@Iduna ~]$ git clone localhost:git git2
> Initialized empty Git repository in /Users/francois/git2/.git/
> remote: fatal: exec pack-objects failed.

Your git-upload-pack cannot find git-pack-objects. It sounds like Git was incorrectly installed on your system.

  which git-upload-pack ?
  which git ?
  are they in the same directory?
  did you possibly move git after installing it?
  git --exec-path?
  does that exist?
  does it have git-pack-objects inside it?
> I am running git 1.6.0.2 on the mac, and have only recently updated it  
> so that might have a role to play.

I think it is the upgrade. It sounds like its not installed correcly because the helpers in libexec/git-core cannot be found.

-- 
Shawn.
Previous: Francois PepinNext: Francois Pepin
Message 2 of 3 in “corrupted repository?”
  1. Francois PepinOct 1, 2008
  2. Shawn O. PearceOct 2, 2008
  3. Francois PepinOct 2, 2008

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.