在我安装软件的时候,提示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命令。
该命令的含义是去补全那些缺少的软件。