기계는 거짓말하지 않는다

Ubuntu apt update 경고(W: Key is stored in legacy trusted.gpg keyring) 본문

Linux

Ubuntu apt update 경고(W: Key is stored in legacy trusted.gpg keyring)

KillinTime 2024. 6. 18. 20:42

Ubuntu에서 sudo apt update를 실행할 때, 다음과 같은 경고 메시지를 보는 경우가 있다.

W: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details

가장 빠른 방법은 아래와 같다. 그러나 이 방법은 강제적인 방법이므로 좋은 선택은 아닐 수 있다.

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

다른 방법은 아래 링크를 참고한다.

Legacy trusted.gpg keyring – ‘apt-key’ Deprecation on Ubuntu

 

Solve: Legacy trusted.gpg keyring - ‘apt-key’ Deprecation on Ubuntu 

Solve APT key warning on Ubuntu 22.04 or in other latest versions: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

linux.how2shout.com

 

Comments