Re: need google chrome installation instructions that work
On Thu, Nov 22, 2018 at 10:07:51AM -0600, David Wright wrote: > It works fine for me, as shown by the output below. However, I notice > there's a line: > > Note, selecting 'xtoolwait' instead of ' … … /xtoolwait_1.3-6.2_amd64.deb' Yeah, my own tests always gave me that too, so I decided not to post my results here. Apparently the only way I can *test* this and *post* my results would be if I use a .deb file that does *not* correspond to a package that is known to apt on my system. Which would mean either I'd have to find a random third-party repository that has a *small* package that I could download and install with apt-get install ./ for testing purposes, or I would have to purge my web browser, purge the Google repository from my sources.list.d, apt-get update to purge it from the cached lists, and then repeat the basic procedure of installing google-chrome-stable from scratch. I was not willing to do all of that just to prove people wrong on the Internet. I have some limits. If someone still claims that it "doesn't work", then for the love of RMS, post: * which VERSION of Debian you are using, * the EXACT command you used, and * the FULL and EXACT output of that command. One person who claimed it "didn't work" went through those steps and discovered that the wrong command had been used.
Re: need google chrome installation instructions that work
On Wed 21 Nov 2018 at 11:44:02 (-0800), Patrick Bartek wrote: > On Wed, 21 Nov 2018 11:21:15 -0500 > Greg Wooledge wrote: > > On Wed, Nov 21, 2018 at 08:02:23AM -0800, Patrick Bartek wrote: > > > I use gdebi (it's in the repos) to install locally saved .deb files. > > > Apt-get won't install local files, that is, not in a repo. > > > > Yes, it will. But you have to supply the filename with a > > leading / or ./ or ../ prefix. > > > > sudo apt-get install ./google-chrome-stable*.deb > > That never worked for me. I've tried. Numerous times. Even with > complete paths, changing to directory where file was, full names, etc., > etc. Both with Wheezy & Stretch. Read somewhere when troubleshooting, > apt-get wouldn't install local .deb. Only way it would was if you > created a local repo and put it in your sources.list. Too much > trouble. That's why I starting using gdebi for those very rare times > I need to. > > Don't know if apt does. Never tried. It works fine for me, as shown by the output below. However, I notice there's a line: Note, selecting 'xtoolwait' instead of ' … … /xtoolwait_1.3-6.2_amd64.deb' which could suggest that the internals of the .deb file are being taken account of; I haven't studied the output from strace. xtoolwait is a legitimate Debian package, but it hasn't been available since squeeze. I also haven't checked wheezy: all this could postdate wheezy/jessie anyway. For a full path, the output from apt and apt-get is identical (except that apt produces a progress bar, which is later overwritten). - Full path succeeds: ~# apt-get install /home/debian/squeeze/xtoolwait_1.3-6.2_amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'xtoolwait' instead of '/home/debian/squeeze/xtoolwait_1.3-6.2_amd64.deb' The following NEW packages will be installed: xtoolwait 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/13.1 kB of archives. After this operation, 77.8 kB of additional disk space will be used. Get:1 /home/debian/squeeze/xtoolwait_1.3-6.2_amd64.deb xtoolwait amd64 1.3-6.2 [13.1 kB] Retrieving bug reports... Done Parsing Found/Fixed information... Done Selecting previously unselected package xtoolwait. (Reading database ... 261615 files and directories currently installed.) Preparing to unpack .../xtoolwait_1.3-6.2_amd64.deb ... Unpacking xtoolwait (1.3-6.2) ... Setting up xtoolwait (1.3-6.2) ... Processing triggers for man-db (2.7.6.1-2) ... Scanning processes... Scanning linux images... Running kernel seems to be up-to-date. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. N: Download is performed unsandboxed as root as file '/home/debian/squeeze/xtoolwait_1.3-6.2_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) ~# - Filename alone fails: /home/debian/squeeze# apt-get install xtoolwait_1.3-6.2_amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package xtoolwait_1.3-6.2_amd64.deb E: Couldn't find any package by glob 'xtoolwait_1.3-6.2_amd64.deb' E: Couldn't find any package by regex 'xtoolwait_1.3-6.2_amd64.deb' 100 /home/debian/squeeze# - ./ path succeeds (and ../ likewise): /home/debian/squeeze# apt-get install ./xtoolwait_1.3-6.2_amd64.deb Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'xtoolwait' instead of './xtoolwait_1.3-6.2_amd64.deb' The following NEW packages will be installed: xtoolwait 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 0 B/13.1 kB of archives. After this operation, 77.8 kB of additional disk space will be used. Get:1 /home/debian/squeeze/xtoolwait_1.3-6.2_amd64.deb xtoolwait amd64 1.3-6.2 [13.1 kB] Retrieving bug reports... Done Parsing Found/Fixed information... Done Selecting previously unselected package xtoolwait. (Reading database ... 261615 files and directories currently installed.) Preparing to unpack .../xtoolwait_1.3-6.2_amd64.deb ... Unpacking xtoolwait (1.3-6.2) ... Setting up xtoolwait (1.3-6.2) ... Processing triggers for man-db (2.7.6.1-2) ... Scanning processes... Scanning linux images... Running kernel seems to be up-to-date. No services need to be restarted. No containers need to be restarted. No user sessions are running outdated binaries. N: Download is performed unsandboxed as root as file '/home/debian/squeeze/xtoolwait_1.3-6.2_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Re: need google chrome installation instructions that work
On 11/21/18, Patrick Bartek wrote: > On Wed, 21 Nov 2018 11:21:15 -0500 > Greg Wooledge wrote: > >> On Wed, Nov 21, 2018 at 08:02:23AM -0800, Patrick Bartek wrote: >> > I use gdebi (it's in the repos) to install locally saved .deb files. >> > Apt-get won't install local files, that is, not in a repo. >> >> Yes, it will. But you have to supply the filename with a >> leading / or ./ or ../ prefix. >> >> sudo apt-get install ./google-chrome-stable*.deb > > That never worked for me. I've tried. Numerous times. Even with > complete paths, changing to directory where file was, full names, etc., > etc. Both with Wheezy & Stretch. Read somewhere when troubleshooting, > apt-get wouldn't install local .deb. Only way it would was if you > created a local repo and put it in your sources.list. Too much > trouble. That's why I starting using gdebi for those very rare times > I need to. Ditto on that experience for me. Didn't work, but can't remember the (fairly straight up) process to repeat to better understand why not. Had seen the "./" reference on Debian-User in the last week so I tried it while consciously thinking, "WHAT are we doing here?!" In my case, "we" ended up doing nothing because it didn't work. I dropped it and kept moving while thinking I had simply missed some setup detail that would have caused success instead of failure. > Don't know if apt does. Never tried. > > Just occurred to me that since I did customized installs of both Wheezy > and Stretch (No desktop environment, window manager only) starting with > a terminal only system that could be why apt-get won't install > local .deb. Doesn't matter. Gdebi works fine. Have tripped over gdebi a few times in the last year or so. Those sightings were most likely most often as an apt-get suggested download. Will have to give it a try now that this thread has highlighted its usefulness. It's good to have alternative tools when individual Life needs mandate making difficult package usage decisions. We just had that recent thread about playing the escalating dependency game by hand. I broke one my setups k/t that very thing only hours after having commented on that same thread. Fix-missing/fix-broken both shoved a hand in my face while yelling, *Uh-uh, YOU made this mess, YOU clean it up by yourself!* PS I did clean it up, hence the newest debootstrap. :) Cindy :) -- Cindy-Sue Causey Talking Rock, Pickens County, Georgia, USA * runs with duct tape *
Re: need google chrome installation instructions that work
On Wed, 21 Nov 2018 11:21:15 -0500 Greg Wooledge wrote: > On Wed, Nov 21, 2018 at 08:02:23AM -0800, Patrick Bartek wrote: > > I use gdebi (it's in the repos) to install locally saved .deb files. > > Apt-get won't install local files, that is, not in a repo. > > Yes, it will. But you have to supply the filename with a > leading / or ./ or ../ prefix. > > sudo apt-get install ./google-chrome-stable*.deb That never worked for me. I've tried. Numerous times. Even with complete paths, changing to directory where file was, full names, etc., etc. Both with Wheezy & Stretch. Read somewhere when troubleshooting, apt-get wouldn't install local .deb. Only way it would was if you created a local repo and put it in your sources.list. Too much trouble. That's why I starting using gdebi for those very rare times I need to. Don't know if apt does. Never tried. Just occurred to me that since I did customized installs of both Wheezy and Stretch (No desktop environment, window manager only) starting with a terminal only system that could be why apt-get won't install local .deb. Doesn't matter. Gdebi works fine. B
Re: need google chrome installation instructions that work
On Wed, Nov 21, 2018 at 7:46 AM Greg Wooledge wrote: > > On Wed, Nov 21, 2018 at 04:44:14AM -0500, Felix Miata wrote: > > It seems Curt's instructions to use dpkg to install the downloaded deb > > resulted in > > creation of /etc/apt/sources.list.d/google-chrome.list containing > > > > deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main > > > > With any luck the next to search for such instruction will find this post > > instead of needing to > > ask here, or better yet a Debian wiki page somewhere updated or created to > > include them and > > googling to produce on first results page. :-p > > Or, and I know this is like SUPER surprising, right, but... > > ... maybe you could try searching on Google's web search engine for the > way to install Google's web browser. > > Having just done this myself, the surprising part is that the answer was > NOT the first result. It was part way down the first page for me: > > https://www.google.com/chrome/ > > On this page, there is a "Download Chrome" button. Clicking this > gives me a pop-up overlay panel thingy which asks me to select > between "64 bit .deb" and "64 bit .rpm". There is a note that tells > me how to avoid adding the Google repository if for some reason I > wouldn't want that. > > I'm not going to go through the entire download process again here, > having already done it long ago. Suffice to say, there are no > detailed instructions on the wiki for how to do this, because it's > incredibly simple and obvious, and nobody should NEED detailed > instructions. > > You download the .deb from Google and you install it with dpkg -i > or apt install ./ or whatever you prefer. Then you're done. > > Those are the instructions. > This is the way I install Google Chrome from the terminal. cd Downloads && wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && sudo apt install gdebi -y && sudo gdebi google*
Re: need google chrome installation instructions that work
Greg Wooledge composed on 2018-11-21 11:50 (UTC-0500): > On Wed, Nov 21, 2018 at 11:31:53AM -0500, Felix Miata wrote: >> I did try ./google-chrome... but apt wouldn't find it. > In stretch, right? What was the exact command you used, and the exact > output? Sorry, I thought I had, but NAICT from .bash_history what I keyed in Stretch was: cd /tmp aptitude install ./google-chr Can't be sure what the actual filename was on disk because of the move from $HOME/Downloads to /tmp which was since emptied. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: need google chrome installation instructions that work
On Wed, Nov 21, 2018 at 11:31:53AM -0500, Felix Miata wrote: > I did try ./google-chrome... but apt wouldn't find it. In stretch, right? What was the exact command you used, and the exact output?
Re: need google chrome installation instructions that work
Greg Wooledge composed on 2018-11-21 11:21 (UTC-0500): > On Wed, Nov 21, 2018 at 08:02:23AM -0800, Patrick Bartek wrote: >> I use gdebi (it's in the repos) to install locally saved .deb files. >> Apt-get won't install local files, that is, not in a repo. > Yes, it will. But you have to supply the filename with a > leading / or ./ or ../ prefix. > sudo apt-get install ./google-chrome-stable*.deb > It will resolve the dependencies from your repositories and everything, > just like gdebi. I did try ./google-chrome... but apt wouldn't find it. -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: need google chrome installation instructions that work
On Wed, Nov 21, 2018 at 08:02:23AM -0800, Patrick Bartek wrote: > I use gdebi (it's in the repos) to install locally saved .deb files. > Apt-get won't install local files, that is, not in a repo. Yes, it will. But you have to supply the filename with a leading / or ./ or ../ prefix. sudo apt-get install ./google-chrome-stable*.deb It will resolve the dependencies from your repositories and everything, just like gdebi.
Re: need google chrome installation instructions that work
On Wed, 21 Nov 2018 03:30:26 -0500 Felix Miata wrote: > (Stretch) > Downloading Chrome is easy. Installing is not. The download page says > "download and install", > but all that happens is firefox fetches, and no auto install via apt* or dpkg > is attempted. Apt > and aptitude won't install the local file because it "isn't found". The > https://www.google.com/linuxrepositories/ "Google Linux Software > Repositories" page says how to > configure GPG, but nothing about configuring repo in sources.list. Where are > the secret > incantations to be found? I use gdebi (it's in the repos) to install locally saved .deb files. Apt-get won't install local files, that is, not in a repo. GDebi also takes care of dependencies which dpkg does not. I use the commandline version. IIRC, there's GUI interface, too, if you prefer that. B
Re: need google chrome installation instructions that work
On 21-11-18, Felix Miata wrote: > john doe composed on 2018-11-21 10:06 (UTC+0100): > > > Felix Miata wrote: > > >> (Stretch) > >> Downloading Chrome is easy. Installing is not. The download page says > >> "download and install", > >> but all that happens is firefox fetches, and no auto install via apt* or > >> dpkg is attempted. Apt > >> and aptitude won't install the local file because it "isn't found". The > >> https://www.google.com/linuxrepositories/ "Google Linux Software > >> Repositories" page says how to > >> configure GPG, but nothing about configuring repo in sources.list. Where > >> are the secret > >> incantations to be found? > > > The below link might be useful: > > > https://www.wikihow.com/Install-Google-Chrome-Using-Terminal-on-Linux > > It worked. I had tried on previous occasions downloaded debs with 'dpkg -i' > without any > successes that I can recall. The provided deps on that page did the trick. > > > you should also consider googling "installing chrome on linux". > > Before posting here that's sort of what I did with DuckDuckGo: > > google chrome debian sources.list > google chrome for debian configuration > > Nothing I had clicked on seemed appropriate to the expected task. I'm not a > Chrome user. This is > for a friend whose vision is about 5% and tasks me with his upgrades. > > Thanks! > -- > Evolution as taught in public schools is religion, not science. > > Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! > > Felix Miata *** http://fm.no-ip.com/ > Bit late on party, but as others already said dpkg -i followed by apt-get -f ( --fix-broken ) should do the trick. It will add it to the sources list. One new thing to add would be that it will very annoyingly mess up with alternatives and after install and after every damn update/upgrade it will set itself up with crazy high preference in alternatives, that will always be with priority higher than other browsers. So, if you want to keep some other browser as your x-www-browser, or gnome-www-browser as primary, you will need to amend those settings. All best, Dejan
Re: need google chrome installation instructions that work
On Wed, Nov 21, 2018 at 04:44:14AM -0500, Felix Miata wrote: > It seems Curt's instructions to use dpkg to install the downloaded deb > resulted in > creation of /etc/apt/sources.list.d/google-chrome.list containing > > deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main > > With any luck the next to search for such instruction will find this post > instead of needing to > ask here, or better yet a Debian wiki page somewhere updated or created to > include them and > googling to produce on first results page. :-p Or, and I know this is like SUPER surprising, right, but... ... maybe you could try searching on Google's web search engine for the way to install Google's web browser. Having just done this myself, the surprising part is that the answer was NOT the first result. It was part way down the first page for me: https://www.google.com/chrome/ On this page, there is a "Download Chrome" button. Clicking this gives me a pop-up overlay panel thingy which asks me to select between "64 bit .deb" and "64 bit .rpm". There is a note that tells me how to avoid adding the Google repository if for some reason I wouldn't want that. I'm not going to go through the entire download process again here, having already done it long ago. Suffice to say, there are no detailed instructions on the wiki for how to do this, because it's incredibly simple and obvious, and nobody should NEED detailed instructions. You download the .deb from Google and you install it with dpkg -i or apt install ./ or whatever you prefer. Then you're done. Those are the instructions.
Re: need google chrome installation instructions that work
One suggestion (and, yes, I'm intentionally top posting) -- why don't you repost you're reply with: * the Subject changed to say Solved (was: need G...) * Top post the solution in as concise a fashion as you can -- my first feeble partial attempt: "I had trouble installing Google Chrome using dpkg -i until I followed the instructions at which required that I add a line in /etc/apt/sources.list.d/google-chrome.list containing deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main " I am not sure of the accuracy of what I wrote as I only read the other posts in this thread superficially. For extra credit, you could modify the wiki page you mention if appropriate. regards, and if you celebrate (American) thanksgiving, happy Thanksgiving. Randy Kramer On Wednesday, November 21, 2018 04:44:14 AM Felix Miata wrote: > Curt composed on 2018-11-21 09:15 (UTC): > > Felix Miata wrote: > >> (Stretch) > >> Downloading Chrome is easy. Installing is not. The download page says > >> "download and install", but all that happens is firefox fetches, and no > >> auto install via apt* or dpkg is attempted. Apt and aptitude won't > >> install the local file because it "isn't found". The > >> https://www.google.com/linuxrepositories/ "Google Linux Software > >> Repositories" page says how to configure GPG, but nothing about > >> configuring repo in sources.list. Where are the secret incantations to > >> be found? > > > > deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main > > > > in /etc/apt/sources.list > > It seems Curt's instructions to use dpkg to install the downloaded deb > resulted in creation of /etc/apt/sources.list.d/google-chrome.list > containing > > deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main > > With any luck the next to search for such instruction will find this post > instead of needing to ask here, or better yet a Debian wiki page somewhere > updated or created to include them and googling to produce on first > results page. :-p
Re: need google chrome installation instructions that work
On Wed, Nov 21, 2018 at 04:44:14AM -0500, Felix Miata wrote: [...] > It seems Curt's instructions to use dpkg to install the downloaded deb > resulted in > creation of /etc/apt/sources.list.d/google-chrome.list containing > > deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main Yiiikes. Comfy, yes. Possible, too (after all, pre- and post-install scripts run as root and can do anything). But scary... a bit. Installing a browser reachs deep into the whole system. Not *my* cup of tea, to be honest. Cheers -- tomás signature.asc Description: Digital signature
Re: need google chrome installation instructions that work
Curt composed on 2018-11-21 09:15 (UTC): > Felix Miata wrote: >> (Stretch) >> Downloading Chrome is easy. Installing is not. The download page says >> "download and install", >> but all that happens is firefox fetches, and no auto install via apt* or >> dpkg is attempted. Apt >> and aptitude won't install the local file because it "isn't found". The >> https://www.google.com/linuxrepositories/ "Google Linux Software >> Repositories" page says how to >> configure GPG, but nothing about configuring repo in sources.list. Where are >> the secret >> incantations to be found? > deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main > in /etc/apt/sources.list It seems Curt's instructions to use dpkg to install the downloaded deb resulted in creation of /etc/apt/sources.list.d/google-chrome.list containing deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main With any luck the next to search for such instruction will find this post instead of needing to ask here, or better yet a Debian wiki page somewhere updated or created to include them and googling to produce on first results page. :-p -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: need google chrome installation instructions that work
john doe composed on 2018-11-21 10:06 (UTC+0100): > Felix Miata wrote: >> (Stretch) >> Downloading Chrome is easy. Installing is not. The download page says >> "download and install", >> but all that happens is firefox fetches, and no auto install via apt* or >> dpkg is attempted. Apt >> and aptitude won't install the local file because it "isn't found". The >> https://www.google.com/linuxrepositories/ "Google Linux Software >> Repositories" page says how to >> configure GPG, but nothing about configuring repo in sources.list. Where are >> the secret >> incantations to be found? > The below link might be useful: > https://www.wikihow.com/Install-Google-Chrome-Using-Terminal-on-Linux It worked. I had tried on previous occasions downloaded debs with 'dpkg -i' without any successes that I can recall. The provided deps on that page did the trick. > you should also consider googling "installing chrome on linux". Before posting here that's sort of what I did with DuckDuckGo: google chrome debian sources.list google chrome for debian configuration Nothing I had clicked on seemed appropriate to the expected task. I'm not a Chrome user. This is for a friend whose vision is about 5% and tasks me with his upgrades. Thanks! -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/
Re: need google chrome installation instructions that work
On 2018-11-21, Felix Miata wrote: > (Stretch) > Downloading Chrome is easy. Installing is not. The download page says > "download and install", > but all that happens is firefox fetches, and no auto install via apt* or dpkg > is attempted. Apt > and aptitude won't install the local file because it "isn't found". The > https://www.google.com/linuxrepositories/ "Google Linux Software > Repositories" page says how to > configure GPG, but nothing about configuring repo in sources.list. Where are > the secret > incantations to be found? deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main in /etc/apt/sources.list -- He used sentences differently from any other prose writer. He always sounded like a slightly drunk man who is very melancholy, who has no illusions about life, who is very strong but whose strength is entirely unnecessary. --Krasznahorkai on Krúdy
Re: need google chrome installation instructions that work
On 11/21/2018 9:30 AM, Felix Miata wrote: > (Stretch) > Downloading Chrome is easy. Installing is not. The download page says > "download and install", > but all that happens is firefox fetches, and no auto install via apt* or dpkg > is attempted. Apt > and aptitude won't install the local file because it "isn't found". The > https://www.google.com/linuxrepositories/ "Google Linux Software > Repositories" page says how to > configure GPG, but nothing about configuring repo in sources.list. Where are > the secret > incantations to be found? > The below link might be useful: https://www.wikihow.com/Install-Google-Chrome-Using-Terminal-on-Linux you should also consider googling "installing chrome on linux". -- John Doe
need google chrome installation instructions that work
(Stretch) Downloading Chrome is easy. Installing is not. The download page says "download and install", but all that happens is firefox fetches, and no auto install via apt* or dpkg is attempted. Apt and aptitude won't install the local file because it "isn't found". The https://www.google.com/linuxrepositories/ "Google Linux Software Repositories" page says how to configure GPG, but nothing about configuring repo in sources.list. Where are the secret incantations to be found? -- Evolution as taught in public schools is religion, not science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/