I have Webmin installed on my VPS as the web panel. Recently, I saw the update error in the Terminal window.

Err:8 https://download.webmin.com/download/newkey/repository stable Release.gpg
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2D223B918916F2A2
Fetched 16.8 kB in 1s (12.9 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://download.webmin.com/download/newkey/repository stable Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2D223B918916F2A2
W: Failed to fetch https://download.webmin.com/download/ne ... elease.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2D223B918916F2A2
W: Some index files failed to download. They have been ignored, or old ones used instead.

I did the search. Run the following commands in the command.

wget https://raw.githubusercontent.com/webmin/webmin/master/setup-repos.sh
sh setup-repos.sh
~$ sudo sh setup-repos.sh
Setup Webmin official repository? (y/N) y
Downloading Webmin key ..
.. done
Installing Webmin key ..
.. done
Setting up Webmin repository ..
.. done
Cleaning repository metadata ..
.. done
Downloading repository metadata ..
.. done

Then, there is no error when I run the command sudo apt update.

David Yin

David is a blogger, geek, and web developer — founder of FreeInOutBoard.com. If you like his post, you can say thank you here

Leave a Reply

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