Google Chrome undoubtedly the most popular web browser in the world. Lots of user uses Google Chrome on Linux like me. I use Ubuntu 14.04 for my primary OS. But recently if you try update your apt cache with apt-get update you may encounter some weird error in your terminal at the end of the execution of the command. Lets dig out why this is happening and how to resolve the issue

The Problem

Open terminal and run sudo apt-get update and if your the command spit out these following lines before exit then this post is for you. if your command runs ok without the following error please close the post and do some fun :-)

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.  

or

Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘http://dl.google.com/linux/chrome/deb stable InRelease’ doesn’t support architecture ‘i386’  

Reason

This annoying and weird is caused for discontinuing the support of 32-bit Google Chrome to provide the best experience in various Linux distribution Though it is announced on late November in 2015. If you missed it take a look on from here

Fixing the problem

Open /etc/apt/sources.list.d/google-chrome.list file by your favorite editor (I love sublime text) with following command

$sudo subl /etc/apt/sources.list.d/google-chrome.list

In the text file that opens edit the file so that the line reads:

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

The only addition you need to make is entering the [amd64] architecture after deb but preceding the http. Do not edit or replace any other text in this file.

Save the file and close it.

Save the file and close it.

Now run sudo apt-get update in your terminal. The error should disappear and you can update Google Chrome without any problem. Please share or leave comments if you like or face any problem. I am all ears.

© 2016. All Rights Reserved.

Proudly published with Ghost