I am using repo sync
for syncing Lineage OS 15.1 with
repo init -u https://github.com/LineageOS/android.git -b lineage-15.1
and I am getting a lot of the below errors repeatedly for different repositories
1:
curl: (22) The requested URL returned error: 404 Not Found
Server does not provide clone.bundle; ignoring.
2:
Cannot fetch LineageOS/android_external_lineage-sdk-api-coverage
warn: --force-broken, continuing to sync
3:
fatal: unable to access 'https://github.com/LineageOS/android_external_lineage-sdk-api-coverage/': Could not resolve host: github.com
4:
fatal: unable to access 'https://android.googlesource.com/platform/system/tpm/': gnutls_handshake() failed: The TLS connection was non-properly terminated.
5:
fatal: unable to access 'https://github.com/LineageOS/android_external_lineage-sdk-api-coverage/': gnutls_handshake() failed: Error in the pull function.
6:
fatal: unable to access 'https://android.googlesource.com/platform/external/libcap/': gnutls_handshake() failed: Error in the pull function.
7:
error: RPC failed; curl 56 GnuTLS recv error (-110): The TLS connection was non-properly terminated.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
8:
error: RPC failed; curl 56 GnuTLS recv error (-54): Error in the pull function.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
9:
fatal: unable to access 'https://github.com/LineageOS/android_hardware_broadcom_libbt/': Empty reply from server
10:
fatal: unable to access 'https://gerrit.googlesource.com/git-repo/': Failed to connect to gerrit.googlesource.com port 443: Connection timed out
and because of these errors repo sync stops with error: Exited sync due to fetch errors
and because of that I used repo sync -f
(--force broken flag) which is supposed to fix network errors (Not sure). My repo is still syncing (along with the errors) and I don't know whether I'll get proper synced files at the end or not. Can someone tell me what are these errors? why do they occur and how to fix them ? I can see some of them are network related but I not sure how many. Please help me fix these.
I have searched a few questions on SE but those errors had different backgrounds and were not related to repo
(although obviously related to git).
My network speed : MAX 1MBps (which why it's confusing me more about those network issues that shouldn't happen generally)