03 March 2016

Chrome 49 64-bit update issues on with Ubuntu 14.04

Google Chrome browser is going 64-bit only.

I am running 64-bit Ubuntu, but I guess in the past I've installed some 32-bit support for certain packages that require it.

When I try to apt-get update I get the following errors trying to update Google Chrome:

W: 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)
E: Some index files failed to download. They have been ignored,
 or old ones used instead.

This is an issue that was affecting me since the release of Chrome 49.

One solution that I found online was to tweak the sources.list file thus:
https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/FoE6sL-p6oU

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

in the sources.list file.

It appeared to work:

Get:1 http://dl.google.com/linux/chrome/deb/ stable/main google-chrome-stable amd64 49.0.2623.75-1 [48.8 MB]
...
Unpacking google-chrome-stable (49.0.2623.75-1) over (48.0.2564.116-1) ...

But after installing successfully, the source.list file has revert to the previous version. So now apt-get update fails again.

It'll have to be fixed by the Chrome dev team.