Jump to content
Forums in Read-Only Mode - Please use Reddit ×

corrupt meta-repo


mauricev

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?

Link to comment
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.

Link to comment
Share on other sites

×
×
  • Create New...