Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 900  / 1 Year ago, mon, january 2, 2023, 6:23:01
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'

Why is it displayed after apt update?


How can I make this disappear?


More From » apt

 Answers
5

You are getting this is because your system has 32bit i386 architecture enabled (most amd64 64bit installs do). And the Google repositories do NOT contain i386 packages.


You can fix this message showing up by editing the apt source definition to be deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main which will suppress the error because it tells the system that this repository ONLY has amd64 packages in it - which means it won't attempt to fetch the 32bit packages data.


Find the file that contains this line by running grep -r 'dl.google.com' /etc/apt/, and find the file path containing this item, you'll get output like this:


$ grep -r 'dl.google.com' /etc/apt/
/etc/apt/sources.list.d/google-chrome.list.save:deb http://dl.google.com/linux/chrome/deb/ stable main #Google Chrome (Stable)
/etc/apt/sources.list.d/google-chrome.list:deb http://dl.google.com/linux/chrome/deb/ stable main #Google Chrome (Stable)

We don't care about any .save files for now.


Whatever that file is that's not the .save file (in my case, /etc/apt/sources.list.d/google-chrome.list), edit it so the contents are as follows:


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

Save the file, and apt will now only retrieve amd64 packages.


[#1884] Tuesday, January 3, 2023, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
socelebrate

Total Points: 274
Total Questions: 123
Total Answers: 124

Location: Saint Helena
Member since Mon, Jan 16, 2023
1 Year ago
;