Debian has change the way it stores gpg keys. So in Mint/Ubuntu if you add a ppa repository you may see the following warning.
It will cause no harm to leave it this way but if it's annoying to you. Here's how to fix it.
correct way found here.
If you use the easy way you may have to redo it should you add additional ppa's.
Of course it's up to you to make sure the key is actually trusted.
enjoy!
Code:
Key is stored in legacy trusted.gpg Keyring
correct way found here.
Easy way is to just copy the /etc/apt/trusted.gpg folder to the /etc/apt/trusted.gpg.d folder.(Resolved) Key is stored in legacy trusted.gpg Keyring – TecAdmin
I recently created a new Ubuntu 22.04 LTS Linux virtual machine. When I attempted to set up the PostgreSQL server on it, I saw a warning message like the one shown below on the screen:Advertisement Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8))...tecadmin.net
If you use the easy way you may have to redo it should you add additional ppa's.
Of course it's up to you to make sure the key is actually trusted.
enjoy!