Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I can't install Google Chrome browser. I wonder why and how to fix it. Here is the log I got from my terminal when installing Google Chrome.

$ sudo dpkg --install chrome.deb
[sudo] password for young: 
Selecting previously unselected package google-chrome-stable.
(Reading database ... 141861 files and directories currently installed.)
Unpacking google-chrome-stable (from chrome.deb) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on libgconf2-4 (>= 2.27.0); however:
  Package libgconf2-4 is not installed.
 google-chrome-stable depends on libnss3-1d (>= 3.12.3); however:
  Package libnss3-1d is not installed.
 google-chrome-stable depends on libxss1; however:
  Package libxss1 is not installed.

dpkg: error processing google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Errors were encountered while processing:
 google-chrome-stable

$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  linux-headers-3.5.0-17
Use 'apt-get autoremove' to remove it.
The following packages will be REMOVED:
  google-chrome-stable
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 140 MB disk space will be freed.
Do you want to continue [Y/n]? Y
(Reading database ... 141960 files and directories currently installed.)
Removing google-chrome-stable ...
Processing triggers for man-db ...
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...

$ sudo dpkg --install chrome.deb
Selecting previously unselected package google-chrome-stable.
(Reading database ... 141861 files and directories currently installed.)
Unpacking google-chrome-stable (from chrome.deb) ...
dpkg: dependency problems prevent configuration of google-chrome-stable:
 google-chrome-stable depends on libgconf2-4 (>= 2.27.0); however:
  Package libgconf2-4 is not installed.
 google-chrome-stable depends on libnss3-1d (>= 3.12.3); however:
  Package libnss3-1d is not installed.
 google-chrome-stable depends on libxss1; however:
  Package libxss1 is not installed.

dpkg: error processing google-chrome-stable (--install):
 dependency problems - leaving unconfigured
Processing triggers for desktop-file-utils ...
Processing triggers for bamfdaemon ...
Rebuilding /usr/share/applications/bamf.index...
Processing triggers for gnome-menus ...
Processing triggers for man-db ...
Errors were encountered while processing:
 google-chrome-stable

It does not work in GUI too. Look at what I have got:

on GUI

share|improve this question

6 Answers 6

up vote 5 down vote accepted

You probably need to enable the "universe" repository.

Once you enable it, update your system and you should now be able to install google-chrome-stable.

sudo apt-get update
sudo apt-get install libgconf2-4 libnss3-1d libxss1
share|improve this answer

Why not just install Chromium from the Ubuntu repos?

sudo apt-get install chromium-browser

That simple!

share|improve this answer
    
at the moment this is an older version, packaged with a lot of security bugs already fixed in the Google-branded version. –  gertvdijk Nov 23 '12 at 15:59
    
I won't want to install chromium browser, since it is not as stable and mostly for developers. –  owl Nov 24 '12 at 2:30
1  
I've found it to be quite stable. It's essentially just like Chrome. –  smooth-texan Nov 24 '12 at 4:55

You can fix this by installing missing dependencies.
Just run the following command
(after you have run sudo dpkg -i google-chrome-stable_current_i386.deb).

sudo apt-get install -f

This will install missing dependencies and configure Google Chrome for you.

share|improve this answer
    
Read the question. That is exactly what OP is doing and that is what the question is about... –  gertvdijk Oct 16 '13 at 5:55

sudo apt-get update ; sudo apt-get install libgconf2-4 libnss3-1d libxss1

Post any error output here. If no errors, sudo dpkg -i chrome.deb again afterwards and you should be good.

share|improve this answer
    
Hello, thx for your reply. I got a few error messages : pastebin.com/CYeCMWiE –  owl Nov 24 '12 at 2:47

Double-click on the actual .deb file so that the Software Centre or dpkg installer runs and installs Google Chrome with it's required dependencies...

share|improve this answer
    
It does not work, and it shows the same error. –  owl Nov 23 '12 at 15:07

Right Click on DEB file and select first option i.e "open with ubuntu software center", When file opens in Ubuntu software center click install option.

share|improve this answer
    
There is an error too. Please look at the screenshot at my post. –  owl Nov 24 '12 at 2:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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