Pages

Sunday, July 30, 2017

Installing Chrome on Ubuntu (16.04)

I recently installed Linux alongside Windows (dual boot). When I tried to install Chrome by downloading the latest installer from here, I got the following error:
$ sudo dpkg -i ./google-chrome-stable_current_amd64.deb
(Reading database ... 219479 files and directories currently installed.)
Preparing to unpack .../google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (60.0.3112.78-1) over (60.0.3112.78-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 desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 google-chrome-stable
Thanks to the blog post from here, the solution is straightforward. To satisfy the dependencies, execute the following command and re-execute the dpkg command shown above.
$ sudo apt-get -f install
That's all :)

No comments:

Post a Comment