Veechange的博客

只要你知道要去哪,那么全世界都将为你让路。

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

在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

阅读更多
版权声明:本文为博主原创文章,转载请附上原出处。 https://blog.csdn.net/Veechange/article/details/52367516
文章标签: ubuntu git
个人分类: java Linux
上一篇粗心的报错 - HttpSolrServer$RemoteSolrException: missing content stream
下一篇Centos 配置yum 国内163资源库配置
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭