Recently Google stopped supporting the 32-bit version of its Chrome web browser on Linux. This unfortunately had the side-effect of breaking Ubuntu’s apt-get update/upgrade command, resulting in the error message:
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
As a result not only was Chrome missing out on security upgrades, but so was everything else!
To fix this I needed to manually change my sources list. In my case I have any Google packages stored in
/etc/apt/sources.list.d/google.list, but in your case it might be stored in
After reading a few posts it seems the best option was to comment out the old Chrome line so it reads like this:
# deb http://dl.google.com/linux/chrome/deb/ stable main
You can then either create a new repository file such as /etc/apt/sources.list.d/chrome-64bit.list or add the following line to the old repository file:
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
Now, I found if I tried a apt-get update I was getting the following error:
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
I found to get around this I needed to do:
sudo dpkg --configure -a
Although some people suggested you might also need to remove the lock dir:
sudo rm /var/lib/dpkg/lock && sudo dpkg --configure -a