라즈비안에서 sudo apt update를 진행하는데 오류가 발생하였다.
/etc/apt/sources.list
/etc/apt/sources.list.d/raspi.list
두 파일에 존재하는 내용을 전부 주석 처리하고 저장한뒤 다시 sudo apt update 를 실행하면
apt/list 내용이 초기화된다.
마지막으로 위에서 주석 처리했던 문장을 다시 원래대로 되돌린뒤 sudo apt update 를 실행하면 정상적으로 작동된다.
출처:
Raspberry Pi sudo apt-get update not working
I am getting the following message whenever I try to run: sudo apt-get update : pi@raspberrypi:~ $ sudo apt-get update Get:1 http://archive.raspberrypi.org/debian stretch InRelease [8,084 B] Err:...
raspberrypi.stackexchange.com