![](https://blog.jarrousse.org/wp-content/uploads/2023/04/apt-key_deprecation_warning.png)
The correct way to fix apt-get warning “Key is stored in legacy trusted.gpg keyring” in Debian and Ubuntu
If you used a PPA or added an external repository in Debian 11, Ubuntu 22.04, chances are that you recently have been seeing a message like this every time you run apt-get: This is a warning that apt-key is printing out. The tool apt-key was responsible for managing the list of keys used by apt […]