nginx: W: http://nginx.org/packages/ubuntu/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

Byphunsanit

nginx: W: http://nginx.org/packages/ubuntu/dists/focal/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.

เจออันนี้ระหว่างที่ update package โดยใช้ sudo apt-get update จะตอบมาโดยมีข้อความว่า
W: http://nginx.org/packages/ubuntu/dists/focal/InRelease: 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

เท่านี้ก็แก้ warning ได้แล้ว

อ่านเพิ่มเติม
apt-key deprecation warning when updating system: “Key is stored in legacy trusted.gpg keyring”

About the author

phunsanit administrator

1 Comment so far

A WordPress CommenterPosted on7:18 pm - ก.ค. 31, 2024

Hi, this is a comment.
To get started with moderating, editing, and deleting comments, please visit the Comments screen in the dashboard.
Commenter avatars come from Gravatar.

Leave a Reply