Linux

Debian/Ubuntu: “no public key available” on apt-get update

This issue will appear when you are going to execute apt update or apt-get update. You need to retrieve the public key first. Here is the way to do it. Fyi this only applicable for Ubuntu/Debian distro only.

When you are executing command apt-get update then appear error as follows :

There is no public key available for the following key IDs: 8B48AD6246925553

What you need to do is adding the public key for your own key IDs.

The format would be
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys <your-key>

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 8B48AD6246925553

Done.

Leave a Reply

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