Ubuntu cannot verify signature

Hits: 0

Note: If you don’t set the public key file first, please set the public key file first

W: GPG error: [https://dl.winehq.org/wine-builds/ubuntu]  xenial InRelease: The following signature could not be verified because there is no [public key] : NO_PUBKEY 76F1A20FF987672F

method:

We only need to copy the signature that needs to be verified, and then perform the following operations

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 76F1A20FF987672F

Then we can execute the command operation!

  1. The system is connected to the network; 2. Enter the following commands in turn

sudo apt-get purge vim-common
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install vim

You may also like...

Leave a Reply

Your email address will not be published.