Hardware/RaspberryPi
[Issue] RaspberryPi 4 Update 관련 Issue
Aspatom
2019. 9. 30. 04:12
처음 구매후 Raspbian 설치후, 첫번째 update시 에러가 발생 할 수 있다.
1. 시간대 설정에 오류가 있을시 발생하는 에러
Get:1 http://archive.raspberrypi.org/debian buster InRelease [25.1 kB] Get:2 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Reading package lists... Done E: Release file for http://archive.raspberrypi.org/debian/dists/buster/InRelease is not valid yet (invalid for another 00d 0h 0min 0s). Updates for this repository will not be applied. E: Release file for http://raspbian.raspberrypi.org/raspbian/dists/buster/InRelease is not valid yet (invalid for another 00d 0h 0min 0s). Updates for this repository will not be applied.
이때의 경우에는 시간대를 제대로 확인한후 변경해주면 쉽게 해결 할 수 있다.
date
명령어를 통하여 현재 설정되어있는 시간 확인
현재와 다를경우, 시작메뉴에 있는 GUI를 통해 Preferences -> RaspberryPi Configuration 에서 Timezone 변경
혹은,
sudo raspi-config
명령어를 사용하여 Timezone 변경.
이때도 변경이 안될시에는 수동으로 세팅해주면 된다.
sudo date -s " <Current Date> "
ex) sudo date -s "Mon Sep 30 04:00:00 KST 2019"
2. Release 변경에 따른 에러
Get:1 http://raspbian.raspberrypi.org/raspbian buster InRelease [15.0 kB] Get:2 http://archive.raspberrypi.org/debian buster InRelease [25.2 kB] Get:3 http://archive.raspberrypi.org/debian buster/main armhf Packages [222 kB] Reading package lists... Done E: Repository 'http://raspbian.raspberrypi.org/raspbian buster InRelease' changed its 'Suite' value from 'testing' to 'stable' N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.
라고 에러가 발생할 경우,
sudo apt update --allow-releaseinfo-change
명령어를 통하여 해결 가능하다.