Submit A Tip Alternative Tip Form

How To Fix The (Annoying) ‘Failed to Fetch’ Chrome apt Error

chrome drops 32bit linux support

Google Chrome has dropped 32bit Linux builds

Google announced plans to discontinue 32-bit Google Chrome for Linux this March, and, bang on cue, it has.

The search engine has pulled 32-bit Chrome builds from the official Chrome repo, which gets added to Ubuntu Software Sources when the app is first installed.

Some 64-bit Ubuntu systems caught in the cross-hairs of the deprecation are now throwing a small, yet very annoying, error when performing an apt update.

The ‘failed to fetch error that appears in the Terminal says:

“Failed to fetch Unable to find expected entry ‘main/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)”

Alternatively you may see:

”Skipping acquire of configured file ‘main/binary-i386/Packages’ as repository ‘ stable InRelease’ doesn’t support architecture ‘i386’”

If you do see one of these two errors do not panic. It is easy to fix the ‘failed to fetch’ error and the ‘skipping acquire’ issue. All it requires is 30 seconds and a few simple characters…

‘The fix takes just 30 seconds to perform, then no-more annoying error.’

Fix ‘Failed To Fetch’ Apt Error on Ubuntu

The tip comes to us by way of OMG! Ubuntu! reader Santiago Batista, who explains the situation in his e-mail to us:

“Since Google dropped support for 32-bit Chrome on Linux an error occurs when updating apt in 64-bit systems (with multi arch enabled).

“The solution,” he says, ”is to modify the sources.list file for Chrome.”

But how do you do that?

We can edit the sources.list in a number of different ways. Some of these take place at the command line, others through a GUI.

You may have your own preferred method, but for this walk-through I will use Gedit.

1. Open a new Terminal window and run the following command (assuming you’re on the Stable Channel, if not, see the featured comment):

sudo gedit /etc/apt/sources.list.d/google-chrome.list

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

deb [arch=amd64] 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.

3. Hit Save. Close the Gedit window.

Now return to the Terminal and refresh your package list by running:

sudo apt-get update

The ‘failed to fetch’ APT error should no longer appear.