deppin更新提示“由于没有公钥,无法验证下列签名”

问题:deppin更新提示“由于没有公钥,无法验证下列签名”

 1 yzw@yzw-PC:~$ sudo apt update
 2 命中:1 https://community-packages.deepin.com/deepin apricot InRelease
 3 命中:2 https://community-packages.deepin.com/printer eagle InRelease              
 4 忽略:3 http://dl.google.com/linux/earth/deb stable InRelease                                                 
 5 命中:4 https://community-store-packages.deepin.com/appstore eagle InRelease                                  
 6 获取:5 http://dl.google.com/linux/earth/deb stable Release [933 B]
 7 获取:6 http://dl.google.com/linux/earth/deb stable Release.gpg [819 B]
 8 忽略:6 http://dl.google.com/linux/earth/deb stable Release.gpg
 9 正在读取软件包列表... 完成
10 W: GPG 错误:http://dl.google.com/linux/earth/deb stable Release: 由于没有公钥,无法验证下列签名: NO_PUBKEY 78BD65473CB3BD13
11 E: 仓库 “http://dl.google.com/linux/earth/deb stable Release” 没有数字签名。
12 N: 无法安全地用该源进行更新,所以默认禁用该源。
13 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
14

修复方法

1 yzw@yzw-PC:~$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 78BD65473CB3BD13
2 Executing: /tmp/apt-key-gpghome.ThpCu94m4S/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 78BD65473CB3BD13
3 gpg: 密钥 7721F63BD38B4796:“Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>” 1 个新的签名
4 gpg: 密钥 7721F63BD38B4796:“Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>” 1 个新的子密钥
5 gpg: 处理的总数:1
6 gpg:         新的子密钥:1
7 gpg:         新的签名:1
原文地址:https://www.cnblogs.com/yzwone/p/13789562.html