我正在ubuntu 12.04上安装git.但输入命令时
sudo apt-get install git
我收到以下消息.我已经运行sudo apt-get更新.
Reading package lists... Done Building dependency tree Reading state information... Done Package git is not available,but is referred to by another package. This may mean that the package is missing,has been obsoleted,or is only available from another source However the following packages replace it: git-el E: Package 'git' has no installation candidate
你必须安装git-core
原文链接:/ubuntu/349120.htmlsudo apt-get -y install git-core