Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Google chrome installation error on stretch !

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
berjani
Posts: 2
Joined: 2017-08-14 10:58

Google chrome installation error on stretch !

#1 Post by berjani »

I am using Debian 9 with Gnome desktop and tried to install chrome but i get below error. How can i install chrome successfully?
  • XXX@dell:~$ wget https://dl.google.com/linux/direct/goog ... _amd64.deb
    --2017-08-14 12:05:58-- https://dl.google.com/linux/direct/goog ... _amd64.deb
    Resolving dl.google.com (dl.google.com)... 172.217.18.78, 2a00:1450:400d:808::200e
    Connecting to dl.google.com (dl.google.com)|172.217.18.78|:443... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 58348198 (56M) [application/x-debian-package]
    Saving to: ‘google-chrome-stable_current_amd64.deb’

    google-chrome-stabl 100%[===================>] 55.64M 1.22MB/s in 47s

    2017-08-14 12:06:46 (1.17 MB/s) - ‘google-chrome-stable_current_amd64.deb’ saved [58348198/58348198]

    XXX@dell:~$ sudo dpkg -i google-chrome-stable_current_amd64.deb
    [sudo] password for XXX:
    Selecting previously unselected package google-chrome-stable.
    (Reading database ... 131198 files and directories currently installed.)
    Preparing to unpack google-chrome-stable_current_amd64.deb ...
    Unpacking google-chrome-stable (60.0.3112.90-1) ...
    dpkg: dependency problems prevent configuration of google-chrome-stable:
    google-chrome-stable depends on gconf-service; however:
    Package gconf-service is not installed.
    google-chrome-stable depends on libgconf-2-4 (>= 3.2.5); however:
    Package libgconf-2-4 is not installed.
    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.7.6.1-2) ...
    Processing triggers for gnome-menus (3.13.3-9) ...
    Processing triggers for desktop-file-utils (0.23-1) ...
    Processing triggers for mime-support (3.60) ...
    Errors were encountered while processing:
    google-chrome-stable

kopper
Posts: 139
Joined: 2016-09-30 14:30
Been thanked: 2 times

Re: Google chrome installation error on stretch !

#2 Post by kopper »

Just in case, have you considered installing Chromium instead, or is there a specific reason to use Chrome instead? I'd really advise you to use software found in official Debian repositories (i.e. not downloading .deb packages) when possible. You can install Chromium with:

Code: Select all

apt-get install chromium
Error you're encountering refers to missing dependencies. You can run below command to install missing packages, though I'd strongly suggest you to go with option described above.

Code: Select all

apt-get install -f
Debian 12 Stable with sway
Secure your stuff: Securing Debian Manual
Don't break your stuff: Source List Management DontBreakDebian

User avatar
None1975
df -h | participant
df -h | participant
Posts: 1410
Joined: 2015-11-29 18:23
Location: Russia, Kaliningrad
Has thanked: 46 times
Been thanked: 70 times

Re: Google chrome installation error on stretch !

#3 Post by None1975 »

This is because dpkg not intelligently resolved dependencies. You can manualy download google chrome deb package from google chrome site ant install it with Gdebi. Gdebi lets you install local deb packages resolving and installing its dependencies.
OS: Debian 12.4 Bookworm / DE: Enlightenment
Debian Wiki | DontBreakDebian, My config files on github

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: Google chrome installation error on stretch !

#4 Post by kedaha »

Hi,
I too recommend Debian packages, not from third-party sources.
However, if the package still doesn't get installed, post what the following commands show in your user terminal (wrapped in code blocks, please):

Code: Select all

apt-cache policy gconf-service libgconf-2-4 libappindicator1
aptitude install --simulate gconf-service libgconf-2-4 libappindicator1
aptitude install --simulate chromium
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

berjani
Posts: 2
Joined: 2017-08-14 10:58

Re: Google chrome installation error on stretch !

#5 Post by berjani »

Code: Select all

apt-get install -f
This command fixed the issue, Thank you all for your time.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Google chrome installation error on stretch !

#6 Post by stevepusser »

You can also now just use the apt command in Stretch instead of gdebi to install a standalone deb and pull in missing dependencies.
MX Linux packager and developer

User avatar
VentGrey
Posts: 171
Joined: 2016-04-26 23:57
Location: Guanajuato México

Re: Google chrome installation error on stretch !

#7 Post by VentGrey »

A word to the wise tho, if you learn dpkg correctly you can also learn how to use gebi (cli), it installs dependencies automatically and does a lot more like checking lintian outputs, etc, etc. :mrgreen:
I would exchange everything I know in exchange for half of what I don't.

Post Reply