Install PostgreSQL (PGDG) in Linux with Key is stored in legacy trusted.gpg keyring
After receiving multiple warnings regarding:
Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
I found myself growing bored while installing PostgreSQL, my favorite DBMS. It seems that the documentation maintainer at PostgreSQL should consider revamping the installation page for PostgreSQL on Linux. I’ve tried both Debian1 in Debian 12/Bookworm and Ubuntu2 in Ubuntu 22.04 LTS/Jammy, and encountered the same warning regarding the deprecation of apt-key.