Ubuntu – GPG Error while running apt-get update

While running update command after some time we were getting GPG error. It was showing an error message with public key => EAA903E3A2F4C039 not found.


Run following command to solve this problem:

sudo apt-key adv –recv-keys –keyserver keyserver.ubuntu.com EAA903E3A2F4C039

EAA903E3A2F4C039 is the key that I was getting in the error, it will be different for different systems.

apt-key Command Description:

apt-key is used to manage the list of keys used by apt to authenticate packages. Packages which have been authenticated using these keys will be considered trusted.

adv flag

adv – Pass advanced options to gpg. With adv –recv-key you can download the public key.

By running above command we added missing public key to the system and it works.

Webner Solutions is a Software Development company focused on developing CRM apps (Salesforce, Zoho), LMS Apps (Moodle/Totara), Websites and Mobile apps. If you need any software development assistance please contact us at dev@webners.com

Leave a Reply

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