Ubuntu 16: google-chrome-stable : Depends: libappindicator1 but it is not going to be installed
26,084
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.
Related videos on Youtube
Author by
matanster
Updated on September 18, 2022Comments
-
matanster over 1 year
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?
-
Admin almost 8 yearsWhat happens when you run
sudo apt-get -f install
, as suggested by the error message? -
Admin almost 8 yearsAlso, do you get any errors with
sudo apt-get update
? -
Admin almost 8 years@nick I am typically wary of resorting to
-f
commands before I am sure I fathom all the implications. No errors in forsudo apt-get update
. -
Admin almost 8 yearsWell you have some unresolved dependencies that need to be resolved somehow. If you really don't want to run
sudo apt-get -f install
, you'll need to use Aptitude, Synaptic, or another package-management tool to resolve the dependency issues. -
Admin almost 8 years@matt I think I understand your concern but fear not,
-f
in the context ofapt-get
doesn't mean 'force', but it's short for--fix-broken
. Fromman apt-get
: "Fix; attempt to correct a system with broken dependencies in place". You can safely runsudo apt-get install -f
. -
Admin almost 8 years@NickWeinberg I followed your advice, and it solved the issue and got the package I was trying to install installed. Care to make it the answer? I am clueless how I got to broken dependencies in a few weeks' old 16.04 installation that has gone nearly zero tinkering, but the
apt-get install -f
managed to fix it. Hopefully it had not also left ugly surprises for later....
-
-
Videonauth almost 8 yearsYou might be able to be more elaborate on how to install it. At the current state this is more a comment as an answer.