Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 386
dolbi Avatar asked Apr 18 '13 14:04

dolbi


1 Answers

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.

like image 105
dolbi Avatar answered Sep 22 '22 14:09

dolbi