Ubuntu: Repository failure with google chrome



Question:

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.


Solution:1

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.


Solution:2

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  


Solution:3

There is a simpler solution than that one you found.

Go to "Software & Updates" => "Other Programs" and unmark dl.google.com/linux/chrome/deb/stable.

This will fix your problem This will disable the update of Google Chrome too, but is the better way while I other solution doesn't appear.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »