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. – Artur Meinild Apr 22 '22 at 09:16deb [signed-by=/usr/local/share/keyrings/sublimehq-pub.gpg] https://download.sublimetext.com/ apt/stable/
and then saved. but now I get this warrning while updating.
Err:3 https://download.sublimetext.com apt/stable/ InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F57D4F59BD3DF454
– Partho Prothim Das Apr 22 '22 at 10:44