Tech

apt-get update warning message 해결하기

hongcoder 2024. 10. 5. 18:21

쿠버네티스 클러스터를 새로 구성하기 위해 CRI-O를 설치하는 도중

Hit:1 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64  InRelease
Hit:3 https://download.docker.com/linux/ubuntu jammy InRelease                                                                     
Hit:2 https://prod-cdn.packages.k8s.io/repositories/isv:/kubernetes:/core:/stable:/v1.30/deb  InRelease                            
Hit:4 http://archive.ubuntu.com/ubuntu jammy InRelease                                                                             
Hit:5 https://ppa.launchpadcontent.net/graphics-drivers/ppa/ubuntu jammy InRelease                                                 
Hit:6 http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.24/xUbuntu_22.04  InRelease
Hit:7 http://archive.ubuntu.com/ubuntu jammy-updates InRelease      
Hit:8 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
Hit:9 https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_22.04  InRelease
Hit:10 http://archive.ubuntu.com/ubuntu jammy-security InRelease
Reading package lists... Done
W: http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/1.24/xUbuntu_22.04/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
W: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/xUbuntu_22.04/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

 

위와 같은 Warnning Message가 나왔다.

 

이 경고 메세지는 apt 패키지 매니져에서 gpg키를 관리하는 방식이 변경되면서 발생하는 것이다.

 

 

아래의 커맨드로 해결할 수 있다.

sudo cp /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d

 

'Tech' 카테고리의 다른 글

동기, 비동기?  (0) 2024.10.07
CS?  (1) 2024.10.05
Kubernetes 'kubeadm init' Error 해결하기  (0) 2024.10.05
Ubuntu 22.04 ssh 패스워드 없이 접속하는 방법.  (0) 2024.10.04
NFS(Network File System)?  (2) 2024.10.03