Apt-get在Ubuntu 12.04上找不到包`git` [已关闭]

前端之家收集整理的这篇文章主要介绍了Apt-get在Ubuntu 12.04上找不到包`git` [已关闭]前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我正在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
sudo apt-get -y install git-core

猜你在找的Ubuntu相关文章