2

A few days ago I noticed this error message in updates

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)

Actually, the solution was simple by adding [arch=amd64] after deb

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

in /etc/apt/sources.list.d/google-chrome.list

BUT

After each restart or I don't know a precise moment when it happens it just disappears, any idea how to fix it for good?

1
3

According to webupd8_fix-failed-to-fetch ( read the update) edit the following two files:

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

Change line #3 from:

deb http://dl.google.com/linux/chrome/deb/ stable main

to:

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

Edit /opt/google/chrome/cron/google-chrome

Change REPOCONFIG and SSLREPOCONFIG from:

REPOCONFIG="deb http://dl.google.com/linux/chrome/deb/ stable main"
SSLREPOCONFIG="deb https://dl.google.com/linux/chrome/deb/ stable main"

to:

REPOCONFIG="deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main"
SSLREPOCONFIG="deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main"
1
  • My REPOCONFIG is already amd64, and I don't have an SSLREPOCONFIG (I do have a REPOCONFIGREGEX, though.) What do I do? – wchargin Mar 30 '16 at 20:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.