May 15, 2019 Vignesh Sathiyanantham 0Comment

Run apt-key

Using the apt-key utility we can display all the known keys.
apt-key list

To quickly find the expired keys, search for “expired:”

apt-key list | grep “expired:” 

Update the key

We can now use the key gathered in step 1 to update it:

apt-key adv --keyserver keys.gnupg.net --recv-keys [KEY]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.