I installed Ubuntu 16 desktop a few weeks ago. Added Chrome and all fine. However now when I try sudo apt-get install ffmpeg
, I get this error message:
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).
What's the problem and what should I do?
You can run
sudo apt-get -f install
, as suggested by the error message. This should install any needed dependencies and resolve the issue. (Alternatively, you could use Synaptic, Aptitude, or another package manager to resolve the dependency issue.)As @grooveplex pointed out, the
-f
stands for--fix-broken
, not "force", and should not cause any damage to your system.Google chrome is not available from Ubuntu repository, instead setup is downloaded from Google's servers.. you should be able to install
libappindicator1
usingsudo apt install libappindicator1
(it's in the 16.04 repository) or from synaptic package manager, and then try installing thechrome.deb
If you do not have synaptic
Once the libappindicator1 is in place, Open the
.deb
in Ubuntu Software Install as shown on Google Chrome's download pageWhat helped me with installing
libappindicator1
on Ubuntu and in Docker as well - is installing this package manually. Also, it depends on another onelibindicator7
.