Jump to content
Read the Funtoo Newsletter: Summer 2023 ×

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?

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 an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...