repo init error in ubuntu 11.10

更新ubuntu到11.10後,通過repo獲取android代碼時出錯


$ repo init -u https://android.googlesource.com/platform/manifest
fatal: branch 'stable' has not been signed


調查了一下11.04的時候沒有問題,11.10升級之後出現的。估計是git或者python的bug。最後的gg的issue list裏面找到一個臨時的解決方案,

編輯 repo,將https://android.googlesource.com/tools/repo修改爲 http://android.googlesource.com/tools/repo

然後在repo init的時候也將https改爲http.

現在就不會出錯了,再進行repo sync。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章