Google Chrome Stable Error

Questions about applications and software
Forum rules
Before you post please read how to get help
Post Reply
User avatar
samriggs
Level 6
Level 6
Posts: 1201
Joined: Sun Apr 24, 2011 6:09 pm
Location: Canada
Contact:

Google Chrome Stable Error

Post by samriggs »

If your getting errors updating google chrome stable something like this:

Code: Select all

Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
Well that's because chrome stopped supporting 32 bit by the looks of things or might need a special place to download it
anyhow this is how to fix it for 64bit users

Open up your google source list (gedit or whatever you use)

sudo gedit /etc/apt/sources.list.d/google-chrome.list

or if you have it in the additional repositories

sudo gedit /etc/apt/sources.list.d/additional-repositories.list

Code: Select all


change this:    deb http://dl.google.com/linux/chrome/deb/ stable main
to this:     deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main

add the [arch=amd64]

save it and it should be fixed and update fine from now on

Hope it helps ya out and solves this issue if ya had it
Sam
"Windows: the worst system for the most money, Linux: the best system for free"
Registered Linux User #545430
Manjaro XFCE / Mint Cinnamon
asus X751LX and an acer and a toshiba and another asus
User avatar
Pjotr
Level 22
Level 22
Posts: 15884
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland)
Contact:

Re: Google Chrome Stable Error

Post by Pjotr »

I recommend to change "sudo gedit" into "gksudo gedit". :)

It's indeed a "hiccup" caused by Google discontinuing support for 32-bit Chrome. For me your approach wasn't necessary: it was sufficient to refresh Update Manager. If that fails, it will presumably also suffice to download and install a fresh copy of 64-bit Chrome, which probably contains a fix for that.
Tip: 10 things to do after installing Linux Mint 20 Ulyana
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
capnjackd
Level 1
Level 1
Posts: 18
Joined: Mon May 06, 2013 9:30 am

Re: Google Chrome Stable Error

Post by capnjackd »

Is the line:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... slation-en Hash Sum mismatch
also associated with the Google Chrome issue? I got this message originally this morning when manually running the update process.

This was the entire message:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/ ... slation-en Hash Sum mismatch

W: Failed to fetch http://dl.google.com/linux/chrome/deb/d ... le/Release Unable to find expected entry 'main/binary-i386/Packages' in Release file (Wrong sources.list entry or malformed file)
I've applied the edit to the sources list and the messages go away. In fact, the Hash Sum error went away after running a second apt-get update. But it shows them as ignored.

FYI, I'm running Qiana.
Shryp
Level 2
Level 2
Posts: 69
Joined: Tue Sep 08, 2015 2:13 am

Re: Google Chrome Stable Error

Post by Shryp »

More info here:
viewtopic.php?f=143&t=214847

You can edit the source address directly from the mintUpdate app.
User avatar
kc1di
Level 16
Level 16
Posts: 6383
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Google Chrome Stable Error

Post by kc1di »

Thanks for the tip samriggs :)
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
lsteeger
Level 1
Level 1
Posts: 1
Joined: Thu Dec 05, 2013 1:18 pm

Re: Google Chrome Stable Error

Post by lsteeger »

I made the changes suggested via mintupdate edit menu and found the problem returned after cron.daily ran.

Unfortunately, Google Chrome has a cron.daily script 'google-chrome' linked to '/opt/google/chrome/cron/google-chrome'
that will replace the sources list file if it looks 'bad', i.e., if the entry does not look like one of these:

REPOCONFIG="deb http://dl.google.com/linux/chrome/deb/ stable main"
SSLREPOCONFIG="deb https://dl.google.com/linux/chrome/deb/ stable main"

I could change the script or remove the link in cron.daily, but I don't know which is better?

I'm on LMDE 2.
User avatar
samriggs
Level 6
Level 6
Posts: 1201
Joined: Sun Apr 24, 2011 6:09 pm
Location: Canada
Contact:

Re: Google Chrome Stable Error

Post by samriggs »

Pjotr wrote:I recommend to change "sudo gedit" into "gksudo gedit". :)

It's indeed a "hiccup" caused by Google discontinuing support for 32-bit Chrome. For me your approach wasn't necessary: it was sufficient to refresh Update Manager. If that fails, it will presumably also suffice to download and install a fresh copy of 64-bit Chrome, which probably contains a fix for that.
yup gksudo is good also both works, I tried refreshing the manager no go, tried reinstalling no go for me on both ends, I had to change the repo link to make it work and it updated with no issues someone might have a better way around for the 64 but this worked for me, just thought it might help others out :)
Sam
"Windows: the worst system for the most money, Linux: the best system for free"
Registered Linux User #545430
Manjaro XFCE / Mint Cinnamon
asus X751LX and an acer and a toshiba and another asus
User avatar
LinuxJim
Level 5
Level 5
Posts: 659
Joined: Tue Jan 26, 2016 8:01 pm
Location: Oregon, USA

Re: Google Chrome Stable Error

Post by LinuxJim »

samriggs wrote: yup gksudo is good also both works,
I think you missed Pjotr's point.

If you use "sudo gedit", and you make any changes to your gedit preferences, those preferences (stored in your home folder) will now be owned by root. This will prevent you from ever changing your gedit preferences again until you find and fix those files.

Gksu, gksudo, kdesudo do not have this problem. You should never start a GUI application with "sudo". (Or, to be more precise, sudo should not be used with ANY program - GUI or command line - that creates ancillary files on a per-user basis)
Cosmo.
Level 23
Level 23
Posts: 17817
Joined: Sat Dec 06, 2014 7:34 am

Re: Google Chrome Stable Error

Post by Cosmo. »

LinuxJim wrote:Or, to be more precise, sudo should not be used with ANY program - GUI or command line - that creates ancillary files on a per-user basis
And another step of precise:
You can use sudo (only for non-GUI programs) trouble free if you either use it with the option -H (which sets root's own home directory to use) or if you configure sudo in a way, that this gets done without the need for the -H option. The latter solution is one of the very first accommodations I do in every new system.
Post Reply

Return to “Software & Applications”