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
Trying to install Chrome browser on Debian Stretch
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: Trying to install Chrome browser on Debian Stretch
What Steve said above ^, it's the reason for your apt-get error.
Fix that first (as I said, we're still wondering where that line came from).
dpkg will not install dependencies, so to use that you need to install dependencies first ie. libappindicator1
gdebi should install dependencies, God knows why it didn't work.
Fix that first (as I said, we're still wondering where that line came from).
dpkg will not install dependencies, so to use that you need to install dependencies first ie. libappindicator1
gdebi should install dependencies, God knows why it didn't work.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Trying to install Chrome browser on Debian Stretch
Gdebi will install dependencies, so obviously whatever this "Debian software installer" really is, it's stupid if it's just using "dpkg -i". The lack of any terminal or other helpful error message makes me think it's some GNOME thing.
You can now also use apt on the command line to install local deb files and pull in dependencies; its advantage over gdebi is that you can use it to install multiple debs in one go that can depend on one another. Its disadvantage is a trickier syntax.
You can now also use apt on the command line to install local deb files and pull in dependencies; its advantage over gdebi is that you can use it to install multiple debs in one go that can depend on one another. Its disadvantage is a trickier syntax.
MX Linux packager and developer
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Trying to install Chrome browser on Debian Stretch
It seems that GNOME software sets up as the default app for standalone debs, but it currently can't install them. Doesn't appear anyone is going to fix the bug in Debian: https://bugs.debian.org/cgi-bin/bugrepo ... bug=851856
Ubuntu also shipped a bugged version of that with some recent releases, but they have more interest in fixing it.
Ubuntu also shipped a bugged version of that with some recent releases, but they have more interest in fixing it.
Last edited by stevepusser on 2017-10-26 19:19, edited 1 time in total.
MX Linux packager and developer
[SOLVED] Re: Trying to install Chrome browser on Debian Stre
I forgot to mention that I am not skilled using the nano editor.stevepusser wrote:You must still remove line #19 from your /etc/apt/sources.list file. It is incorrect and causing the error, as has been clearly stated several times already. You can use Synaptic if installed to manage your repositories from a GUI.
It is possible to disable a line by commenting it out, but since you are going to have a working line in another file, remove it altogether.
The line has now been removed ans /etc/apt/sources.list now reads:
Code: Select all
#
# deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 DVD Binary-1 201$
#deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 DVD Binary-1 2017$
deb http://security.debian.org/debian-security stretch/updates main contrib
deb-src http://security.debian.org/debian-security stretch/updates main contrib
# stretch-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://deb.debian.org/debian/ stretch-updates main contrib
deb http://deb.debian.org/debian/ stretch main contrib non-free
# deb-src http://deb.debian.org/debian/ stretch-updates main contrib
deb http://deb.debian.org/debian/ stretch-backports main contrib non-free
I don't know which package I need to install to resolve this.
Code: Select all
elton@debian:~/Downloads$ sudo dpkg -i google-chrome-stable_current_amd64.deb
[sudo] password for elton:
(Reading database ... 219041 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (62.0.3202.62-1) over (62.0.3202.62-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 menu (2.1.47+b1) ...
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) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
google-chrome-stable
elton@debian:~/Downloads$
[/codeelton@debian:~/Downloads$ sudo dpkg -i google-chrome-stable_current_amd64.deb
[sudo] password for elton:
(Reading database ... 219041 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (62.0.3202.62-1) over (62.0.3202.62-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 menu (2.1.47+b1) ...
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) ...
Processing triggers for man-db (2.7.6.1-2) ...
Errors were encountered while processing:
google-chrome-stable
elton@debian:~/Downloads$
Code: Select all
elton@debian:~/Downloads$ sudo dpkg -i google-chrome-stable_current_amd64.deb
(Reading database ... 219066 files and directories currently installed.)
Preparing to unpack google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (62.0.3202.62-1) over (62.0.3202.62-1) ...
Setting up google-chrome-stable (62.0.3202.62-1) ...
Processing triggers for menu (2.1.47+b1) ...
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) ...
Processing triggers for man-db (2.7.6.1-2) ...
elton@debian:~/Downloads$
The Google Chrome browser is installed and working.
Thanks for your help and also to my friend Tiago Bortoletto Vaz of Team Debian for his help too.
Registered Linux User #193975-85134
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Trying to install Chrome browser on Debian Stretch
In the future, you can just install gdebi and use it on the command line, or its gdebi-gtk GUI, since it will automatically install missing dependencies if available, or refuse to install them if it's an incompatible package. Dpkg will happily half-install incompatible packages and then you'll have a semi-broken system--this has led to innumerable posts here.
MX Linux packager and developer
Re: Trying to install Chrome browser on Debian Stretch
sudo dpkg -i google-chrome-stable_current_amd64.deb
interestingly, the exact same command has been used twice - first time it errored, 2nd time it worked.
interestingly, the exact same command has been used twice - first time it errored, 2nd time it worked.
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: Trying to install Chrome browser on Debian Stretch
I noticed that. There is some crucial information missing here, such as OP installed the missing dependency before the second try, as advised.debiman wrote:sudo dpkg -i google-chrome-stable_current_amd64.deb
interestingly, the exact same command has been used twice - first time it errored, 2nd time it worked.
Otherwise the definition of insanity needs to be revised:
https://www.brainyquote.com/quotes/quot ... 33991.html
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 23
- Joined: 2017-11-18 18:40
Re: Trying to install Chrome browser on Debian Stretch
I have installed chrome another way it didn't have any errors for me. See this site https://www.linuxbabe.com/desktop-linux ... e-easy-way
- sunrat
- Administrator
- Posts: 6412
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 462 times
Re: Trying to install Chrome browser on Debian Stretch
Rube Goldberg would be proud of you!justinmk85 wrote:I have installed chrome another way it didn't have any errors for me. See this site https://www.linuxbabe.com/desktop-linux ... e-easy-way
The easiest way is :
- download from https://www.google.com/chrome/browser/desktop/
- change to your Downloads directory and install with
Code: Select all
apt install ./google-chrome-stable_current_amd64.deb
This will add the key, install dependencies, add the repo for automatic updates and install all in one command.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
SOLVED: Trying to install Chrome browser on Debian Stretch
Apologies to all for the belated response. Subject now (correctly) marked as SOLVED.
Chrome has been installed, as I corrected the malformed line in the install script.
Also as a newbie to the Debian Forums, I had not enabled notifications, which is not enabled by default.
Everything is now OK, and I shall continue my interest and education in Debian Linux.
Chrome has been installed, as I corrected the malformed line in the install script.
Also as a newbie to the Debian Forums, I had not enabled notifications, which is not enabled by default.
Everything is now OK, and I shall continue my interest and education in Debian Linux.
Registered Linux User #193975-85134
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Trying to install Chrome browser on Debian Stretch
Sort of related, in the meantime dolphin_oracle and I have come up with right-click context actions in Dolphin and Thunar to install one or more .deb files at a time with "apt install". Advantages over gdebi is that you can install multiple debs at once, some of which depend on others in that batch, such as a test upgrade of vlc-3.0 I just built where I did ten at once. It also allows downgrades, which gdebi refuses to do. The basic code could very probably be adapted to other file managers that allow scripted custom actions...goodbye gdebi and your oddball problems "the mpv package no longer provides mpv"
MX Linux packager and developer