If you are on Linux x64 and using Google Chrome you might start seeing this error when trying to update packages more information.
$ apt-get update 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 because the 32-bit builds of Google Chrome have been discontinued.
You can fix this error on Ubuntu 14.04 (64-bit version) by switching to the 64-bit only packages for Google Chrome. This is done by adding
deb in the
To do this automatically you can use the following commands:
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"