Handling “apt-key is deprecated. Manage keyring files in trusted.gpg.d instead” in Ubuntu Linux
The apt-key is being deprecated and your system knows that. But do you know what you should be doing for getting packages from external repositories?
Source: It's FOSS