6

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?

6
  • 1
    What happens when you run sudo apt-get -f install, as suggested by the error message? – Nick Weinberg Jun 16 '16 at 11:33
  • Also, do you get any errors with sudo apt-get update? – DK Bose Jun 16 '16 at 11:46
  • @nick I am typically wary of resorting to -f commands before I am sure I fathom all the implications. No errors in for sudo apt-get update. – matanster Jun 16 '16 at 11:59
  • Well 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. – Nick Weinberg Jun 16 '16 at 12:00
  • 2
    @matt I think I understand your concern but fear not, -f in the context of apt-get doesn't mean 'force', but it's short for --fix-broken. From man apt-get: "Fix; attempt to correct a system with broken dependencies in place". You can safely run sudo apt-get install -f. – grooveplex Jun 16 '16 at 12:02
8

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.

0

Google chrome is not available from Ubuntu repository, instead setup is downloaded from Google's servers.. you should be able to install libappindicator1 using sudo apt install libappindicator1 (it's in the 16.04 repository) or from synaptic package manager, and then try installing the chrome.deb

Synaptic Package Manager : 1.search for libappindicator1, 2.Mark for Installation, 3.Apply

If you do not have synaptic

sudo apt-get install synaptic

Once the libappindicator1 is in place, Open the .deb in Ubuntu Software Install as shown on Google Chrome's download page

1
  • 4
    You might be able to be more elaborate on how to install it. At the current state this is more a comment as an answer. – Videonauth Jun 16 '16 at 12:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.