Skip to content

Instantly share code, notes, and snippets.

@liziwl
Forked from smmoosavi/install-google-chrome.md
Created March 14, 2018 03:42
Show Gist options
  • Save liziwl/533374da9b66dd9278f81483e3c29e44 to your computer and use it in GitHub Desktop.
Save liziwl/533374da9b66dd9278f81483e3c29e44 to your computer and use it in GitHub Desktop.
Ubuntu 14.04 installing google chrome

When you got this error

$ sudo dpkg -i google-chrome-stable_current_amd64.deb 
sudo: unable to resolve host bayanca05
[sudo] password for bayan-ca-05: 
Selecting previously unselected package google-chrome-stable.
(Reading database ... 174654 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (43.0.2357.81-1) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on libappindicator1; however:
  Package libappindicator1 is not installed.

dpkg: error processing package google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.54ubuntu1) ...
Errors were encountered while processing:
 google-chrome-stable

You must run following commands

$ sudo apt-get install libappindicator1 libnss3
$ sudo apt-get -f install

source: me and some one else and others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment