Ubuntu 14.04 git 安装问题

Ubuntu 14.04 git 安装问题

在 sudo apt-get install git 之后:

无法安装某些软件包。这可能意味着您请求了一个不可能的情况,或者如果您使用的是不稳定的发行版,则某些必需的软件包尚未创建或已从 Incoming 中移出。

以下信息可能有助于解决该情况:

The following packages have unmet dependencies:
 git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.

sudo apt-get install liberror-perl

Package liberror-perl 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 'liberror-perl' has no installation candidate

答案1

尝试

sudo apt-get update  
sudo apt-get upgrade
sudo apt-get install -f 

满足依赖关系

相关内容