Unable to install Google Chrome

5,814

Solution 1

I think the problem you're experiencing stems from the fact that you're downloading a package manually and instead of using apt-get to install it, you're using dpkg, which doesn't automatically resolve the dependencies and doesn't install them before the deb package.

Try first installing the package dpkg complains about:

sudo apt-get install xdg-utils

and then install the Chrome deb package with dpkg, the same way you tried earlier.

Solution 2

I would suggest installing Chrome using Google's repository. This can be done two ways.

Simple Way

You can run this bash script, which just wraps the hard way up in a nutshell.

wget http://mtweb.site90.com/files/chrome.sh
bash chrome.sh

For more info, see Millhousen Tech's Tech-To.

Long Way

The bash script contains the following commands that you can run. (Exact same as simple way, just longer.)

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list'
sudo apt-get update

You can then choose what version of Chrome you want to install. Stable, Beta, or Unstable. (Run one of the following commands.)

sudo apt-get install google-chrome-stable

sudo apt-get install google-chrome-beta

sudo apt-get install google-chrome-unstable

For more info, see How Open Source's website.

Share:
5,814

Related videos on Youtube

Jordan
Author by

Jordan

Updated on September 18, 2022

Comments

  • Jordan
    Jordan over 1 year

    I receive this in my terminal when I try to install using

    wget https://dl.google.com/linux/direct/google-chrome-stable_current_i386.deb
    sudo dpkg -i google-chrome*
    

    or

    sudo dpkg --install /Path/to/chrome.deb
    

    I receive

    Selecting previously unselected package google-chrome-stable.
    (Reading database ... 146911 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 xdg-utils (>= 1.0.2).
    
    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 gnome-menus ...
    Errors were encountered while processing:
     google-chrome-stable
    

    I then type

    sudo apt-get install -f
    

    And retry installation though it still does not install and I receive the same errors. I have also tried using:

    sudo apt-get install libxss1 libnspr4-0d libcurl3
    

    Though the above doesn't work either.

    • Huckle
      Huckle over 11 years
      Can you post the output of the sudo apt-get install -f as that's where the errors will be. The errors in dpkg are expected.
    • Huckle
      Huckle over 11 years
      You can also do sudo apt-get update beforehand to ensure apt as a fully up-to-date list of packages in case it needs to find dependencies that have updated since the last time you ran apt. (i.e. apt is only aware of xdg-utils=1.0.0)
  • Atari911
    Atari911 over 10 years
    I dont think that downloading a script from some site and running it would be considered "installing using the PPA"
  • Kenny Stier
    Kenny Stier over 10 years
    The bash script just simplifies the process. I added the long way to be clear.
  • Atari911
    Atari911 over 10 years
    Its all good, the script is fine but it just seems like sending someone to a link rather than explaining what the link does. I reversed my down vote.