How To Add Public key on Ubuntu

By | September 2, 2016

Hello,

Sometimes we can see an error from Ubuntu in regards of missing public key.
==============================
The following signatures couldn’t be verified because the public key is not available
==============================

We can fix this error by adding the key using following command

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 40976EAF437D05B5

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3B4FE6ACC0B21F32

apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 4F4EA0AAE5267A6C

Please replace the key the same with the error from the Ubuntu. Hope this simple method can fix the error.
Thank you..