Ubuntu 16: google-chrome-stable : 取决于: libappindicator1 但它不会被安装

mat*_*ter 7 apt software-installation 16.04

几周前我安装了 Ubuntu 16 桌面。添加了 Chrome,一切正常。但是现在当我尝试时sudo apt-get install ffmpeg,我收到此错误消息:

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
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Run Code Online (Sandbox Code Playgroud)

有什么问题,我该怎么办?

Nic*_*erg 10

您可以sudo apt-get -f install按照错误消息的建议运行。这应该安装任何需要的依赖项并解决问题。(或者,您可以使用 Synaptic、Aptitude 或其他包管理器来解决依赖性问题。)

正如@grooveplex 指出的那样,-f代表--fix-broken,而不是“强制”,不应对您的系统造成任何损害。