เจออันนี้ระหว่างที่ 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”
อ่านเพิ่มเติม
- jQuery: 4.0.0 เกิดใหม่ แต่เหมือนแจ้งตาย
- Java 16 (2021): Records (คลาสข้อมูลแบบ Immutable ที่ประกาศกระชับ ไม่ต้องเขียน Getter/Setter เอง) และ Pattern Matching สำหรับ instanceof
- Java 15 (2020): Sealed Classes (การจำกัดสิทธิ์ว่าคลาสใดสามารถสืบทอดได้บ้าง) และ Hidden Classes
- MacOs: จัดการจอในจอนอกด้วย BetterDisplay
- Testing: ส่งเมล์ผ่าน command