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

error: packfile while git fsck

From
Nicolas Ferre <nicolas.ferre@atmel.com>
Date
Oct 22, 2008, 14:06 UTC
Message-ID
<48FF337F.3050505@atmel.com>

Hi all, (please cc me on response)

I am facing error during git status & git fsck on my tree. This tree is cloned from various linux kernel trees.

Here are a sample of the error I see :

$ git fsck error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack does not match index error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack cannot be accessed error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack does not match index error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack cannot be accessed error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack does not match index [..] error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack cannot be accessed dangling blob fe130d58453393f15e0db82bca18f35998689a87 dangling commit 2515ddc6db8eb49a79f0fe5e67ff09ac7c81eab4 error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack does not match index error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack cannot be accessed error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack does not match index error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack cannot be accessed error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack does not match index error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack cannot be accessed dangling commit 6bb7a935489dab20802dde6c2cb7d8582f4849bf error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack does not match index error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack cannot be accessed dangling commit 4aba41ea8bdc1b475861f5e5c1649ab20251090c error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack does not match index error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack cannot be accessed [..] $ git verify-pack .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack nferre@bendor:linux-2.6-arm > git verify-pack .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack error: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack does not match index fatal: packfile .git/objects/pack/pack-2ab31ad1f8cb69d091a56fe936634e4796606d49.pack cannot be accessed

What can I do to recover my git archive ?
Did I do something wrong (merging files while fetching) ?

Is it related to a known issue (I cannot figure out if it is after some googling) ?

Thanks for your help. Regards,
-- 
Nicolas Ferre
Next: Nicolas Pitre
Message 1 of 5 in “error: packfile while git fsck”
  1. Nicolas FerreOct 22, 2008
  2. Nicolas PitreOct 22, 2008
  3. Nicolas FerreOct 22, 2008
  4. Nicolas PitreOct 22, 2008
  5. Nicolas FerreNov 3, 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.