红联Linux门户
Linux帮助

You might want to run 'apt-get -f install' to correct these

发布时间:2016-08-30 14:53:34来源:linux网站作者:初级以上
在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
 
本文永久更新地址:http://www.linuxdiyf.com/linux/23745.html