I was installing google chrome browser on my Ubuntu 22.04 through Google's repository. When I add the GPG key, it throws a warning stating, "warning: apt-key is deprecated"
the command I used to add the key is.
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
although the installation followed by this step was successful, but I am curious about this warning and how to get rid of this.