Updating expired keys on Ubuntu

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]
Default image
Vignesh A Sathiyanantham
AWS Certified developer with 8 years of extensive experience working for Cloud and Datacenter solutions and leading a small team in a lean startup based on Bangalore, India

Leave a Reply

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