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
Ok, so thanks for the effort, I found a similar question here
$ repo sync -f -j10 did the trick.
As it seems
--force-broken flag allows it to recover from network error and more important recover on broken/missing objects.