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.
Recently I've noticed some issues when running apt where the system will warn me of a keyring deprecation:
Reading package lists... Done
Building dependency tree... Done
Reading state information.....