After upgrading from Ubuntu 20.04 to Ubuntu 22.04 I ran into warning: “Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details” when i was running command apt-get update
There is a very easy fix to solve this issue.
Just simply run command:
sudo ln -s /etc/apt/trusted.gpg /etc/apt/trusted.gpg.d apt update