Jump to content

corrupt meta-repo

Recommended Posts

My Mac hosting virtualbox crashing during an ego sync. Now I get 

error: object file .git/objects/db/bf91bacaf480aae4d2899cfb10c15b4706d3f5 is empty
fatal: loose object dbbf91bacaf480aae4d2899cfb10c15b4706d3f5 (stored in .git/objects/db/bf91bacaf480aae4d2899cfb10c15b4706d3f5) is corrupt
ERROR: There was an error syncing meta-repo.

How can I fix this?

Share this post

Link to post
Share on other sites

All the repos are git repositories.  So usually the easiest way is to clone a fresh copy of the meta-repo.

mv /var/git/meta-repo /var/git/meta-repo.old
ego sync

ego will clone a fresh copy of the meta-repo from Github.

Since this is a case where Virtualbox crashed, I also recommend performing file system checks if they have not been performed automatically.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...