Since there is no public key, the following signatures cannot be verified: NO_PUBKEY

Problem Description

When I ran apt-get update today, I suddenly encountered the problem of not being able to verify the following signatures due to the lack of a public key. I tried many methods on the Internet and finally found a pro-test and effective solution:

Solution

Type in the terminal:

sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 76F1A20FF987672F

The last code is the last part of the error statement: because there is no public key, the following signatures cannot be verified: NO_PUBKEY 76F1A20FF987672F

Solution result

Executing: /tmp/apt-key-gpghome.uBwlOPqFFF/gpg.1.sh --keyserver hkp://keyserver.ubuntu.com:80 --recv 76F1A20FF987672F
gpg: key 76F1A20FF987672F: 1 signature not checked due to a missing key
gpg: 密钥 76F1A20FF987672F:公钥“WineHQ packages <[email protected]>”已导入
gpg: 合计被处理的数量:1
gpg:               已导入:1

Guess you like

Origin blog.csdn.net/weixin_44543463/article/details/113825319