首页 > 解决方案 > 在 ubuntu 中安装期间找不到包 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

我该如何解决这个问题?

标签: gitubuntuapt

解决方案


推荐阅读