Error 해결/RaspberryPi

라즈베리파이) E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) ..

코딩하는너굴맨 2022. 1. 9. 05:03

라즈베리파이를 시작하려는 나!

 

시작하고 나서 기본 패키지를 설치하고 업데이트를 해주어야겠죠?

가르쳐준대로

sudo apt-get update  

sudo apt-get upgrade

 

이 두가지 명령어를 조져주는데..!

 

 

 

pi@raspberrypi:~ $ sudo apt-get update
Hit:1 http://archive.raspberrypi.org/debian buster InRelease
Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB]
Reading package lists... Done
E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'
N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.

 

에러가 떠버렸다.. 이겁니다.

 

 

이러면 일부 패키지가 없는채로 업데이트가 되어버리는데요... 

 

하지만 apt-get update가 아닌 apt update를 사용하면 

 

수락하시겠습니까?[y/n] 에서 y를 누르고 정상적으로 패키지가 설치될 수 있었습니다.

정확한 이유는 모르겠으니 여러가지를 더 알아 보았습니다. 

 

Bullseye가 릴리즈 되면서 기존의 Buster의 stable 릴리즈가 oldstable로 강등이 된다는 이유로 

 

 

sudo apt-get update --allow-releaseinfo-change

위 명령어를 친 이후

apt-get update를 실행하면 된다는 해결방법도 있네요! 

 

 

무슨 말인지는 잘 모르겠습니다.. ㅎㅎ 

 

저는 첫번째 방법으로 해결했으니.. 그닥 큰 문제는 아닐겁니다.. 라고 생각합니다. 하하