【发布时间】:2021-04-08 16:36:59
【问题描述】:
我已经在 Virtualbox 上安装了 Ubuntu 20.04。我试图安装 Git。我已按照 Git 网站上的说明进行操作。
当我尝试安装 sudo apt-get install git 时出现错误:
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
E: Package 'git' has no installation candidate
``
【问题讨论】:
-
你检查过Git是否已经安装了吗?