2009-11-03 8 views
1

Je suis en train de faire la synchronisation selon http://source.android.com/download manuel, donc tout est bon, sauf :)ne peut pas synchroniser depuis le dépôt Android

syncing
repo sync 
... 
Fetching projects: 5% (8/143) 
Initializing project platform/development ... 
fatal: The remote end hung up unexpectedly 
error: Cannot fetch platform/development 
.. or 
Fetching projects: 2% (3/143) fatal: read error (Connection reset by peer) 
error: Cannot fetch platform/bootable/diskinstaller 

J'ai trouvé cet issue, mais il n'y a pas d'informations précieuses

Des idées?

+0

Pouvez-vous ajouter des informations sur la configuration de votre réseau? Des proxies, pare-feu, etc? Peux-tu pinguer android.git.kernel.org de manière fiable? –

Répondre

1

Oui, il suffit de garder réessayant, même quand j'ai 100% réussie synchronisation de repo, réessayer à nouveau peut donner l'erreur:

par exemple,

repo sync 
Fetching projects: 100% (171/171), done. 

honeyman:/root/download/android/myandroid>repo sync 
Fetching projects: 7% (12/171) fatal: protocol error: bad line length character 
error: Cannot fetch device/htc/passion-common 

honeyman:/root/download/android/myandroid>repo sync 
Fetching projects: 10% (18/171) fatal: protocol error: bad line length character 
error: Cannot fetch platform/external/blktrace 

honeyman:/root/download/android/myandroid>repo sync 
Fetching projects: 48% (83/171) fatal: protocol error: bad line length character 
error: Cannot fetch platform/external/safe-iop 

honeyman:/root/download/android/myandroid>repo sync 
Fetching projects: 30% (52/171) fatal: protocol error: bad line length character 
error: Cannot fetch platform/external/iptables 

honeyman:/root/download/android/myandroid>repo sync 
Fetching projects: 1% (2/171) fatal: protocol error: bad line length character 
error: Cannot fetch platform/bootable/bootloader/legacy 

Heureusement, je trouve la raison est à cause de mon port RJ45 Ethernet fiable (faire un "dmesg"):

[ 8957.756324] e1000e: eth0 NIC Link is Down 
[ 8959.616964] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx 
[ 8959.616977] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO 
[ 8974.796164] e1000e: eth0 NIC Link is Down 
[ 8993.905005] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx 
[ 8993.905019] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO 
[ 9020.320169] e1000e: eth0 NIC Link is Down 
[ 9125.809081] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx 
[ 9125.809094] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO 
[10033.472196] e1000e: eth0 NIC Link is Down 
[10089.552945] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx 
[10089.552959] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO 
[13714.044175] e1000e: eth0 NIC Link is Down 
[13715.696949] e1000e: eth0 NIC Link is Up 100 Mbps Full Duplex, Flow Control: Rx/Tx 
[13715.696963] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO 

La réponse est de réessayer.

Questions connexes