Repository failure with google chrome

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'

is what i get when performing

sudo apt-get update.

I found a solution on this website (Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'xxx' doesn't support architecture 'i386')

and performed

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

but got back

No command 'deb' found, did you mean:
 Command 'dex' from package 'dex' (universe)
 Command 'debc' from package 'devscripts' (main)
 Command 'deb3' from package 'quilt' (main)
 Command 'dab' from package 'bsdgames' (universe)
 Command 'derb' from package 'icu-devtools' (main)
 Command 'debi' from package 'devscripts' (main)
 Command 'xdeb' from package 'xdeb' (universe)
 Command 'dwb' from package 'dwb' (universe)
deb: command not found

I am unable to comment on the old post because i don't have 50 reputation so i apologize for a repeat question.


It's not a terminal command; it's about the contents of this file:

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

If you have a 64 bit installation, you should edit the file and change the last line to:

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

If you have a 32 bit installation, you'd better just delete the file. There won't be any further updates of Google Chrome for 32 bit.


This command will do!

sudo sed -i -e 's/deb http/deb [arch=amd64] http/' "/etc/apt/sources.list.d/google-chrome.list"

Or check on the files /etc/apt/sources.list.d/google-chrome.list and /etc/apt/sources.list, and change the line below:

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

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


Finally..

sudo apt-get update