当前位置: 代码迷 >> 综合 >> fixe repo sysnc err:Exited sync due to gc errors on Ubuntu 10.04 LTS
  详细解决方案

fixe repo sysnc err:Exited sync due to gc errors on Ubuntu 10.04 LTS

热度:57   发布时间:2024-01-21 12:50:50.0

repo 版本升级,在执行 repo sync 的时候出现了  error: Exited sync due to gc errors

查明原因是GIT 的版本太低,升级后的repo 不兼容GIT  1.7.2 以下的版本,而我的刚好是1.7.1(悲哀啊)

解决方案升级git到 1.7.2以及以上的版本。

在ubuntu 10.04 上可以使用以下方法:

sudo add-apt-repository ppa:git-core/ppa
sudo apt-get update
sudo apt-get install git

本方法只在ubuntu10.04上实验过,不保证其他办法可用。

  相关解决方案