728x90
반응형
데비안 기반 배포판 또는 Ubuntu 환경에서 Kubernetes 설치 하면서 다음과 같은 에러가 발생하면서 정상적으로 설치되지 않는다.
$ sudo apt-get update
기존:1 https://download.docker.com/linux/ubuntu noble InRelease
기존:2 http://kr.archive.ubuntu.com/ubuntu noble InRelease
기존:4 http://kr.archive.ubuntu.com/ubuntu noble-updates InRelease
기존:5 http://kr.archive.ubuntu.com/ubuntu noble-backports InRelease
무시:3 https://packages.cloud.google.com/apt kubernetes-xenial InRelease
오류:6 https://packages.cloud.google.com/apt kubernetes-xenial Release
404 Not Found [IP: 172.217.174.110 443]
기존:7 http://security.ubuntu.com/ubuntu noble-security InRelease
패키지 목록을 읽는 중입니다... 완료
E: The repository 'https://apt.kubernetes.io kubernetes-xenial Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
sudo mkdir -p -m 755 /etc/apt/keyrings 를 수행해줘야 한다.
# If the directory `/etc/apt/keyrings` does not exist, it should be created before the curl command, read the note below.
# sudo mkdir -p -m 755 /etc/apt/keyrings
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.32/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg
728x90
반응형