关闭

Ubuntu 下安装Git时遇到的问题 - You might want to run 'apt-get -f install' to correct these

标签: ubuntugit
1375人阅读 评论(0) 收藏 举报
分类:

在Ubuntu下通过apt-get安装Git时,报出的问题:

# apt-get install git
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 curl : Depends: libcurl3-gnutls (= 7.47.0-1ubuntu2) but 7.35.0-1ubuntu2.6 is to be installed
 git : Depends: liberror-perl but it is not going to be installed
       Depends: git-man (> 1:1.9.1) but it is not going to be installed
       Depends: git-man (< 1:1.9.1-.) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
在联网的环境下,按提示执行 apt-get -f install 进行软件修正。

然后再执行安装:

# apt-get install git

1
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:104495次
    • 积分:2307
    • 等级:
    • 排名:第16284名
    • 原创:118篇
    • 转载:15篇
    • 译文:11篇
    • 评论:20条
    最新评论