I have installed ubuntu 22.04 some time ago. and I went to install sublime text next. To install sublime text I went to the sublime website. After following their method of installing I installed the sublime text 3.
But now when I run sudo apt-get update
, it shows this warning:
W: https://download.sublimetext.com/apt/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
What could be the issue, and what should I do to fix it?
I used this command to install sublime:
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add - sudo apt-get install apt-transport-https
echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list
sudo apt-get update
sudo apt-get install sublime-text
apt-key add
is deprecated and not recommended. See the above topic for a thorough explanation.