Sublime Forum

Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details

#1

Hello, as install of current GPG usign apt-key that is deprecated in Debian 11 and Ubuntu 22.04, I solved in that way:

wget -O- https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/sublimehq-archive-keyring.gpg

echo "deb [signed-by=/usr/share/keyrings/sublimehq-archive-keyring.gpg] https://download.sublimetext.com/ apt/dev/" | sudo tee /etc/apt/sources.list.d/sublime-text.list

Then it working as fine!

3 Likes

Apt-key is deprecated. How to install without apt-key?
#2

Thank you, it worked for me

0 Likes