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

dolbi picture dolbi · Apr 18, 2013 · Viewed 65.5k times · Source

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

dolbi picture dolbi · Apr 21, 2013

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.