Linux Lite Forums

Software - Support => Installing Software => Topic started by: Jerry on March 03, 2016, 11:36:20 PM

Title: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 03, 2016, 11:36:20 PM
Source - http://www.webupd8.org/2016/03/fix-failed-to-fetch-google-chrome_3.html

We've removed Chrome from the Lite Software 32bit version.

For 32bit Google Chrome:

Open a terminal and do each of these commands one at a time:

Code: [Select]
sudo rm /etc/apt/sources.list.d/google-chrome.list
sudo apt-get remove google-chrome-stable

Install Chromium via Lite Software. Do not keep Chrome installed on 32bit Linux Lite. You are placing your system at risk by taking this chance.

For 64bit Google Chrome:

Open a terminal and do each of these commands one at a time:

Code: [Select]
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/opt/google/chrome/cron/google-chrome"
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jocklad on March 04, 2016, 08:07:30 AM
Was doing a clean install of LL 2.8 64 bit on a friends laptop this morning.

After install you cannot update until sources list is corrected.

Difficult for someone new to Linux  ::)

Jocklad
Title: Re: Fix for Google Chrome on Linux Lite
Post by: holysoul on March 04, 2016, 12:56:51 PM
I installed last night the 2.8 32 bits and have the same issue when trying to update.. but the source or server it's jamming on doesn't seem to be chrome related though... always something like:

"http://us.archive.ubuntu.com trusty/universe Translation-en"  or close to that (don't have it in front of me right now.

If I apply the fix for chrome 32 bits, will this fix it too (best guess)?
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Wirezfree on March 04, 2016, 01:55:42 PM
apply the 32bit fix, try to update, and report if you still get an error.
But you will need to install an alternative browser,
Chrome 32 bit is no longer supported.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: n1ksn on March 04, 2016, 04:46:04 PM
The same problem arose in my two 32-bit Mint MATE installations, so I'm grateful for the discussion here.  I've removed the repositories and uninstalled Chrome.

I've been phasing out Chrome from all my systems anyway, as I have Firefox synced across all of them and also Chrome had been crashing on our desktop when certain situations arose. 

Cheers,
Andy N1KSN
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 04, 2016, 07:38:13 PM
Was doing a clean install of LL 2.8 64 bit on a friends laptop this morning.

After install you cannot update until sources list is corrected.

Difficult for someone new to Linux  ::)

Jocklad

You can thank Google for this.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: holysoul on March 07, 2016, 08:50:44 AM
Fixing the Chrome 32 bit fixed my updates too, Thanks for the info! :)
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Monkeyman on March 08, 2016, 07:28:11 AM
I'm using the 64bit version.  Updated a couple weeks ago with no issues.  Tried updating when I read this and couldn't.  Uninstalled Chrome and typed in those fixes and now it updates.  Too bad as I can't get videos on Amazon Prime to play in Firefox but could in Chrome.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: torreydale on March 08, 2016, 09:23:58 AM
Monkeyman,

You didn't need to uninstall your 64-bit version of Chrome.  Instead you could have copied and pasted the two lines associated with the 64-bit Chrome fix, and your updates would have continued.

To get back to a world with Amazon working in a browser, reinstall Chrome via Lite Software.  If you run into the same problem with updates not running afterwards, then copy and paste those two lines.

This is not a Linux Lite issue.  It's a Google issue that is affecting Debian/Ubuntu based Linux distributions.  And it's been going on for a week.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 08, 2016, 10:32:43 PM
New Chrome out today, looking at some of the code, it looks like they fixed the repo issue eg.

Code: [Select]
# sources.list setting for google-chrome updates.
REPOCONFIG="deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
REPOCONFIGREGEX="deb (\[arch=[^]]*\bamd64\b[^]]*\][[:space:]]*)?https?://dl.google.com/linux/chrome/deb/ stable main"
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 08, 2016, 10:44:15 PM
(https://i.imgflip.com/10il80.jpg)
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Monkeyman on March 09, 2016, 06:52:15 AM
Monkeyman,

You didn't need to uninstall your 64-bit version of Chrome.  Instead you could have copied and pasted the two lines associated with the 64-bit Chrome fix, and your updates would have continued.

To get back to a world with Amazon working in a browser, reinstall Chrome via Lite Software.  If you run into the same problem with updates not running afterwards, then copy and paste those two lines.

This is not a Linux Lite issue.  It's a Google issue that is affecting Debian/Ubuntu based Linux distributions.  And it's been going on for a week.

I guess I misunderstood.  I c/p'ed both of those lines of code then uninstalled Chrome.  I'll either reinstall Chrome or see what the the code below does.  Thanks.

New Chrome out today, looking at some of the code, it looks like they fixed the repo issue eg.

Code: [Select]
# sources.list setting for google-chrome updates.
REPOCONFIG="deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
REPOCONFIGREGEX="deb (\[arch=[^]]*\bamd64\b[^]]*\][[:space:]]*)?https?://dl.google.com/linux/chrome/deb/ stable main"

If I c/p that code, will it reinstall Chrome or do I need to install Chrome THEN run that code?  Or reinstall Chrome and disregard that code?
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Monkeyman on March 09, 2016, 07:01:12 AM

...reinstall Chrome via Lite Software.

When I try to install Chrome via Lite Software, I get this error: "Error  Unable to locate package google-chrome-stable".  I can run updates just fine.  What am I missing?
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Wirezfree on March 09, 2016, 07:23:32 AM
Hi,

It maybe just a sequence thing, or maybe Lite Software now needs an update because of Google fix Jerry noted.??

Try this:
Open a terminal, and run the initial commands again:
Code: [Select]
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/opt/google/chrome/cron/google-chrome"


Then do:

Code: [Select]
sudo apt-get update

Do you see any errors..??, If YES, post here, otherwise: Menu > Favourites > Install Updates

Do you see any errors..??, If YES, post here, otherwise: Menu > System > Lite Software

Then try to install Chrome again, does it now install.??

Title: Re: Fix for Google Chrome on Linux Lite
Post by: Monkeyman on March 09, 2016, 08:20:29 AM


Still won't install although: Menu>System>Lite Software shows it installed.  Menu>Internet doesn't show it.

EDIT:  I get the same error message when I try to uninstall Chrome and it continues to show that it's installed.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Wirezfree on March 09, 2016, 08:39:32 AM
Hi,

open a terminal and type:
Code: [Select]
google-chrome-stable

Does it start.?
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Monkeyman on March 09, 2016, 09:08:48 AM
Nope.  I get "command not found".
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Wirezfree on March 09, 2016, 09:28:13 AM
O.K,

So Lite Software thinks it's installed, but it seems it's not.
I think it needs a comment from somebody in the know...

Out of interest, How does it show in Synaptic, search for: google-chrome-stable
Title: Re: Fix for Google Chrome on Linux Lite
Post by: torreydale on March 09, 2016, 09:35:17 AM
At this point, it may behoove you to just install Chrome via their website.  Download and run the 64-bit *.deb file.  I think it can be found here:  https://www.google.com/chrome/browser/desktop/index.html#
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Monkeyman on March 09, 2016, 09:38:02 AM
Synaptic shows Chromium but not Chrome.

I work nights so I'm off to bed.  Thanks for your help.  Maybe someone else will check in.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Monkeyman on March 09, 2016, 09:46:04 AM
At this point, it may behoove you to just install Chrome via their website.  Download and run the 64-bit *.deb file.  I think it can be found here:  https://www.google.com/chrome/browser/desktop/index.html#

Did that.  Seems like it works.  Do you think I should run those original lines of code again?
Title: Re: Fix for Google Chrome on Linux Lite
Post by: newtusmaximus on March 09, 2016, 10:12:47 AM
I take it chromium 32 bit is all OK- i.e not "back door" vulnerable??
Title: Re: Fix for Google Chrome on Linux Lite
Post by: torreydale on March 09, 2016, 10:40:44 AM
Monkeyman,
If your updates don't run for some reason, then copy and paste the two aforementioned 64bit lines of code into a terminal as a workaround.  It's been over a week since Google made their change.  It doesn't seem like they're trying to make this correction on their own.  It's disappointing because I've helped several people move over to Linux and I just don't see them investigating this issue to fix it on their own like you are...and it's not their fault or yours.

newtusmaximus,
Chromium should be fine in 32-bit.  I cannot speak to back doors, but it is still supported for Linux unlike 32-bit Google Chrome for Linux.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: ping on March 17, 2016, 02:08:07 PM
Source - http://www.webupd8.org/2016/03/fix-failed-to-fetch-google-chrome_3.html

We've removed Chrome from the Lite Software 32bit version.

For 32bit Google Chrome:

Open a terminal and do each of these commands one at a time:

Code: [Select]
sudo rm /etc/apt/sources.list.d/google-chrome.list
sudo apt-get remove google-chrome-stable

Install Chromium via Lite Software. Do not keep Chrome installed on 32bit Linux Lite. You are placing your system at risk by taking this chance.

For 64bit Google Chrome:

Open a terminal and do each of these commands one at a time:

Code: [Select]
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"
sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/opt/google/chrome/cron/google-chrome"

Jerry, thanks.. got this error on my  ultrabook and solved w/ your help.  ;D ;D
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 17, 2016, 09:35:51 PM
Cool :)

Sent from my Nexus 6 using Tapatalk

Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 26, 2016, 12:14:58 AM
Noticed a lot of people coming into the Forums and posting new threads, despite the amount of useful existing threads. Hopefully this Header and Footer on every page will cut down on the number of new posts :)

(http://i.imgur.com/yynq50n.png)
Title: Re: Fix for Google Chrome on Linux Lite
Post by: LL-user on March 26, 2016, 02:01:34 AM
Great idea! :)

Is it possible to have it in red and blinking?
Or a red banner running above with "Attention!"

Not kidding considering that new posts still show up...
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 26, 2016, 02:04:21 AM
@LL-user, a new thread just showed up....sigh :(
Title: Re: Fix for Google Chrome on Linux Lite
Post by: LL-user on March 26, 2016, 02:09:24 AM
Yep, therefore I asked for the possibility to make it sticking out.

Have you guys considered to release two new ISOs to at least avoid the hassle with/ posts from new installations from these ISOs?
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 26, 2016, 02:11:44 AM
I have considered releasing updated isos, but I'm not going to do that. LL 3.0 is just around the corner.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: LL-user on March 26, 2016, 02:24:51 AM
Fair enough, Jerry. You've got enough on your plate.
Let's just all help together to deal with these posts...
Title: Re: Fix for Google Chrome on Linux Lite
Post by: JmaCWQ on March 26, 2016, 06:41:32 AM
I think people getting confused is the reason so many posts & new threads are appearing about the issue.
People who aren't savvy of these things may not understand that a thread title referring to fixing Google Chrome is actually a fix for their updates failing.
People also may not understand that even though they've never had Chrome installed, they still need to run the fix.
Perhaps rename this thread, or highlight another thread/post to something like "Fix error couldn't fetch the package cache information lists when updating" and explain clearly in the first post that the fix needs to be run regardless if you've installed Chrome or not.
Maybe would clarify things a little and help prevent confusion, which may lead to less repeat posts/threads appearing on the same subject?

Just my two cents  8)
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 26, 2016, 08:11:56 AM
That is a good idea, however, the horse has already bolted and all our social media links, and existing forum links already point to this thread.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: avj on March 26, 2016, 10:08:55 AM
Perhaps it would be a good idea to make a new forum section for announcing security/bug fixes to help draw attention to the fix.  Just a thought.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: JmaCWQ on March 26, 2016, 12:50:10 PM
No worries Jerry, the main reason I mentioned it is because I've had a few people contact me saying "but we've never installed Google Chrome" or "we don't want to use Google Chrome" etc. etc...
Once it's explained it doesn't matter if Chrome is installed or not, the fix needs to be run so updates work correctly, everything is ok.
I was thinking even maybe an edit to this thread's first post to include that little snippet of info would be helpful.
Then those that aren't sure can see it clearly written there so they know without having to ask.
Title: Re: Fix for Google Chrome on Linux Lite
Post by: paul1149 on March 26, 2016, 07:03:12 PM
That is a good idea, however, the horse has already bolted and all our social media links, and existing forum links already point to this thread.


You don't have to change the URL, Just change the notice to read "UPDATE ERRORS? Check out THIS thread". Like others, I saw the reference to Chrome and concluded the thread had nothing to do with my particular problem.  (Still haven't solved the problem. - correction, the problem is now solved! Hallelujah!)
Title: Re: Fix for Google Chrome on Linux Lite
Post by: Jerry on March 26, 2016, 07:04:51 PM
New section - https://www.linuxliteos.com/forums/security-bug-fixes/
Title: Re: Fix for Google Chrome on Linux Lite
Post by: marcos on May 04, 2016, 12:42:45 PM
Help please
in my have
"dl.google.com/linux/talkplugin/deb/ stable main "

already I tried everything and I am still with this problem
Title: Re: Fix for Google Chrome on Linux Lite
Post by: torreydale on May 04, 2016, 01:33:45 PM
Uninstall Google Talk Browser Plugin using Lite Software.  (Menu > System > Lite Software)


If the above doesn't fix your problem, consider the following:
1) Go to your Menu.
2) Search for (ie. type in) Software & Updates.
3) Uncheck the selection for "dl.google.com/linux/talkplugin/deb/ stable main"


Title: Re: Fix for Google Chrome on Linux Lite
Post by: N4RPS on June 27, 2016, 07:49:14 AM
I take it chromium 32 bit is all OK- i.e not "back door" vulnerable??

Hello!

Chromium is OK, but doean't have the Widevine plugin, so I need Chrome to do Netflix without the netflix-desktop hack. Therefore, I keep a copy of 32-bit Chrome around, but I only use it to watch Netflix. Besides, I don't do anything critical, like finances, on that machine anyway.

The Arch and Slackware communties have had the Widevine plugin working in Chromium for some time, but it still hasn't made its way to the 'buntus yet. It's just as well they discontinued Linux 32-bit Chrome, I suppose.

On a 32-bit machine, or on any machine with under 4GB of RAM, Netflix seems to struggle anyway. It's gotten so bad that as of late, I've used PlayOn with the Windoze box to record the stuff for offline viewing...

73 DE N4RPS
Rob