dolbi dolbi - 1 year ago 411
Git Question

When running repo sync error: Exited sync due to fetch errors

I'm trying to sync my jb repository but I receive this odd error.
funny thing is that it does not always crash at the same point (though it might be just a synchronization issue since I add -j10).


$ repo sync -j10

error: Exited sync due to fetch errors

I'm aware of the possibility of starting fresh but this is somewhat annoying and I get this issue often enough.

Can anyone suggest a faster solution?

Answer Source

Ok, so thanks for the effort, I found a similar question here


Invoking $ repo sync -f -j10 did the trick.

As it seems -f or --force-broken flag allows it to recover from network error and more important recover on broken/missing objects.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download