Linux

How to fix, GPG error on apt update



W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: jammy InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY B7B3B788A8D3785C

Open your terminal and run the following command to download the key:

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

Alternatively, you can use wget to download the key and add it manually:

wget
sudo apt-key add RPM-GPG-KEY-mysql-2022

After adding the key, update your package list:
sudo apt-get update

[ad_2]

source

Related Articles

Leave a Reply

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

Back to top button