ubuntu 版本比较老了12$ cat /etc/issueUbuntu 10.04.4 LTS
无法正常使用apt-get,尝试使用ppa方式12345# To get the very latest version of git, you need to add the PPA (Personal Package Archive) from the Ubuntu Git Maintainers Team to your Software Source list. Do that with the add-apt-repository command to add the PPA:sudo add-apt-repository ppa:git-core/ppa# Then update the source list and upgrade git:sudo apt-get updatesudo apt-get install git
参考知识