红联Linux门户
Linux帮助

执行安装软件命令提示apt-get -f install的解决方法

发布时间:2016-10-04 15:49:50来源:linux网站作者:田园诗人之园
在我安装软件的时候,提示apt-get -f install这个信息,然后查看其他的提示信息发现时缺少了一些以依赖库。
 
whw@whw-Y485:~/Downloads$ sudo apt-get install vim
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:
google-chrome-stable : Depends: libappindicator1 but it is not going to be installed
vim : Depends: vim-runtime (= 2:7.4.052-1ubuntu3) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
whw@whw-Y485:~/Downloads$
 
解决办法为执行:sudo apt-get -f install命令。
该命令的含义是去补全那些缺少的软件。
 
本文永久更新地址:http://www.linuxdiyf.com/linux/24738.html