Ubuntu – How to Install Google Chrome on Ubuntu 11.04

google-chromelinuxUbuntu

Yesterday I freshly installed Ubuntu 11.04 (Natty Narwhal) 32bit on my laptop but couldn't install Google Chrome on it. Google Chrome was working fine with my previous Ubuntu 10.04. While I tried to install the package I downloaded from Google Chrome site,

$ sudo dpkg -i google-chrome-stable_current_i386.deb

It shows the following error-

Selecting previously deselected package google-chrome-stable.
(Reading database ... 135527 files and directories currently installed.)
Unpacking google-chrome-stable (from google-chrome-stable_current_i386.deb) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on libnspr4-0d (>= 4.7.1); however:
  Package libnspr4-0d is not installed.
 google-chrome-stable depends on libnss3-1d (>= 3.12.3); however:
  Package libnss3-1d is not installed.
dpkg: error processing google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for desktop-file-utils ...
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for python-support ...
Errors were encountered while processing:
 google-chrome-stable

When I tried to install libnss3-1d manually, it returns broken package error

The following packages have unmet dependencies:
 libnss3-1d : Depends: libnss3 (= 3.12.9~b2-0ubuntu1) but 3.12.9+ckbi-1.82-0ubuntu2 is to be installed
E: Broken packages

Any help?

Best Answer

I got the same error and tried different things. Also tried installing libnss3-1d.

Finally succeeded when I installed libnspr4-0d

sudo apt-get install libnspr4-0d 
Related Question