dolbi dolbi - 3 months ago 39
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).

command:

$ repo sync -j10


error:
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

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

Summary:

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.

Comments