[ubuntu] doesn't support architecture 'i386'

[ubuntu] N: Skipping acquire of configured file

enter image description here

[ubuntu] doesn’t support architecture ‘i386’

우분투 사용하면서 apt update를 자주 사용하게 되는데 다음과 같은 에러가 안없어질때가 있다.

.
.
.
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://dl.google.com/linux/chrome-stab
le/deb stable InRelease' doesn't support architecture 'i386' 

크롬 환경설정 때문에 발생하는 문제인데 우분투 22.04를 사용하는데 크롬이 업데이트 될 때 마다 이 문제가 발생한다.

크롬 환경설정은 두개가 있는데

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

list는 옛날 크롬 환경설정으로 보이고 sources는 최신 크롬에서 사용하는 환경설정으로 보인다.
때문에 sources를 수정하면된다.

에디터로 파일을 열어서 다음과 같이 되어 잇을 텐데 한줄 추가하면된다.

### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# Changes to this file will not be preserved.
# This file will not be recreated if removed.
X-Repolib-Name: Google Chrome
Types: deb
URIs: https://dl.google.com/linux/chrome-stable/deb/
Suites: stable
Components: main
Architectures: amd64
Signed-By: /usr/share/keyrings/google-chrome.gpg

아래 라인이 핵심임. 이게 없으면 워닝이 뜬다.

Architectures: amd64

끝 :)

댓글 쓰기

0 댓글