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]

Newsletter Updates

Enter your email address below to subscribe to our newsletter

Leave a ReplyCancel Reply

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