In debian, if the public key is missing during apt-getupdate, The gpgerror-Linux Release Technology-Debian information is displayed. See the following for details. Sometimes, when an unofficial source is added, a gpg error message without a public key is displayed, indicating that there may be a backdoor program, which is annoying for frequent update.
The solution is to import the public key and use the following statement:
Gpg -- keyserver wwwkeys.eu.pgp.net -- recv-keys indicates the public key that is missing.
Gpg -- armor -- export public key string | apt-key add-
For example, debian-multimedia.org and ftp://debian.ustc.edu.cn two sources:
Error:
W: GPG error: http://www.debian-multimedia.org testing Release: The following signature cannot be verified because there is no public key: NO_PUBKEY 07DC563D1F41B907
W: GPG error: ftp://debian.ustc.edu.cn sid Release: The following signature cannot be verified because there is no public key: NO_PUBKEY D4F3554EF747D1A0
Output:
Gpg: requesting key 1F41B907 from hkp server wwwkeys.eu.pgp.net
Gpg: key 1F41B907: "Christian Marillat "1 new signature
Gpg: key 1F41B907: "Christian Marillat "1 new subkey
Gpg: no ultimately trusted keys found
Gpg: Total number processed: 1
Gpg: new subkeys: 1
Gpg: new signatures: 1
Output:
Gpg: requesting key F747D1A0 from hkp server wwwkeys.eu.pgp.net
Gpg: key F747D1A0: public key "Debian at USTC "Imported
Gpg: no ultimately trusted keys found
Gpg: Total number processed: 1
Gpg: imported: 1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.