Fixing Chrome Apt Errors on Debian/Ubuntu (Failed to fetch http://dl.google.com/linux...)
While running a typical update on Ubuntu 14.04 I ran into the following error relating to Chrome.
W: Failed to fetch [http://dl.google.com/linux/chrome/deb/dists/stable/Release](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)
The fix for this is fairly simple.
sudo vim /etc/apt/sources.list.d/google-chrome.list
You should see something like the following.
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [http://dl.google.com/linux/chrome/deb/](http://dl.google.com/linux/chrome/deb/) stable main
I changed the contents of this file to the following.
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
# deb [http://dl.google.com/linux/chrome/deb/](http://dl.google.com/linux/chrome/deb/) stable main
deb \[arch=amd64\] [http://dl.google.com/linux/chrome/deb/](http://dl.google.com/linux/chrome/deb/) stable main
Next, I saved the file and ran sudo apt-get update
and the update ran as expected.