threads / discuss / 22570

error: packfile size changed

Subject: error: packfile size changed

## tl;dr

2 messages between Feb 8, 2010 and Feb 9, 2010.

replies: 1people: 1as markdown or json

Erik Faye-Lund· Feb 8, 2010, 17:17 UTC · lore

I was just about to push out a branch to a remote repo, and got a quite worrying error message:

$ git push kusma work/git-svn-autocrlf
Counting objects: 3475, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (1132/1132), done.
Writing objects: 100% (2503/2503), 933.82 KiB, done.
Total 2503 (delta 1909), reused 1927 (delta 1362)
error: packfile
./objects/pack/pack-165dacbd05ac0aa1634eb220f2b6d3be05b2bd3c.pack size
changed
error: packfile
./objects/pack/pack-165dacbd05ac0aa1634eb220f2b6d3be05b2bd3c.pack
cannot be accessed
error: unpack should have generated
83d114b6781e06b422a2062854dd3dede3795079, but I can't find it!
To ssh://kusma@repo.or.cz/srv/git/git/kusma.git
 ! [remote rejected] work/git-svn-autocrlf -> work/git-svn-autocrlf (bad pack)
error: failed to push some refs to
'ssh://kusma@repo.or.cz/srv/git/git/kusma.git'

The push was attempted with git v1.7.0.rc2. It fails with v1.6.6.1 (and msysgit's devel-branch, 1.6.5.1.1375.gc836) as well.

I tried running "git fsck --full", but it didn't report anything apart from dangling objects.

Any ideas, anyone?
-- 
Erik "kusma" Faye-Lund
Erik Faye-Lund· Feb 9, 2010, 14:15 UTC · re: Erik Faye-Lund · lore

Re: error: packfile size changed

On Mon, Feb 8, 2010 at 6:17 PM, Erik Faye-Lund <kusmabite@googlemail.com> wrote:
Show 30 quoted lines
> I was just about to push out a branch to a remote repo, and got a
> quite worrying error message:
>
> $ git push kusma work/git-svn-autocrlf
> Counting objects: 3475, done.
> Delta compression using up to 8 threads.
> Compressing objects: 100% (1132/1132), done.
> Writing objects: 100% (2503/2503), 933.82 KiB, done.
> Total 2503 (delta 1909), reused 1927 (delta 1362)
> error: packfile
> ./objects/pack/pack-165dacbd05ac0aa1634eb220f2b6d3be05b2bd3c.pack size
> changed
> error: packfile
> ./objects/pack/pack-165dacbd05ac0aa1634eb220f2b6d3be05b2bd3c.pack
> cannot be accessed
> error: unpack should have generated
> 83d114b6781e06b422a2062854dd3dede3795079, but I can't find it!
> To ssh://kusma@repo.or.cz/srv/git/git/kusma.git
>  ! [remote rejected] work/git-svn-autocrlf -> work/git-svn-autocrlf (bad pack)
> error: failed to push some refs to
> 'ssh://kusma@repo.or.cz/srv/git/git/kusma.git'
>
> The push was attempted with git v1.7.0.rc2. It fails with v1.6.6.1
> (and msysgit's devel-branch, 1.6.5.1.1375.gc836) as well.
>
> I tried running "git fsck --full", but it didn't report anything apart
> from dangling objects.
>
> Any ideas, anyone?
>

I tried doing the same again today, and it worked just fine. Perhaps it was just some glitch at the other end?

-- 
Erik "kusma" Faye-Lund

← back to recent threads