报错

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
命中:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease
获取:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease [119 kB]
获取:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease [108 kB]
获取:4 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
获取:5 http://repo.mysql.com/apt/ubuntu jammy InRelease [15.2 kB]
错误:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 871920D1991BC93C
命中:6 https://deb.nodesource.com/node_14.x jammy InRelease
命中:7 https://apt.v2raya.org v2raya InRelease
错误:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 871920D1991BC93C
命中:8 https://ppa.launchpadcontent.net/xmake-io/xmake/ubuntu jammy InRelease
错误:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 871920D1991BC93C
错误:5 http://repo.mysql.com/apt/ubuntu jammy InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 467B942D3A79BD29
错误:7 https://apt.v2raya.org v2raya InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 354E516D494EF95F
错误:8 https://ppa.launchpadcontent.net/xmake-io/xmake/ubuntu jammy InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 70AF26A4DCBD1EB4
命中:9 https://packagecloud.io/ookla/speedtest-cli/ubuntu jammy InRelease
错误:4 http://security.ubuntu.com/ubuntu jammy-security InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 871920D1991BC93C
正在读取软件包列表... 完成
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease: 由于没有公钥,无
法验证下列签名: NO_PUBKEY 871920D1991BC93C
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease: 由于没有
公钥,无法验证下列签名: NO_PUBKEY 871920D1991BC93C
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease: 由于没
有公钥,无法验证下列签名: NO_PUBKEY 871920D1991BC93C
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:http://repo.mysql.com/apt/ubuntu jammy InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 467B942D3A79BD29
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://apt.v2raya.org v2raya InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 354E516D494EF95F
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://ppa.launchpadcontent.net/xmake-io/xmake/ubuntu jammy InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 70AF26A4DCBD1EB4
W: GPG 错误:http://security.ubuntu.com/ubuntu jammy-security InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 871920D1991BC93C
E: 仓库 “http://security.ubuntu.com/ubuntu jammy-security InRelease” 没有数字签名。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
╭─zxis@LittleBox ~
╰─$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C 100 ↵
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
Executing: /tmp/apt-key-gpghome.l5M31qUpCr/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys 871920D1991BC93C
gpg: 密钥 871920D1991BC93C:公钥 “Ubuntu Archive Automatic Signing Key (2018) <ftpmaster@ubuntu.com>” 已导入
gpg: 处理的总数:1
gpg: 已导入:1
╭─zxis@LittleBox ~
╰─$ sudo apt update
命中:1 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease
获取:2 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease [119 kB]
获取:3 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports InRelease [108 kB]
获取:4 http://repo.mysql.com/apt/ubuntu jammy InRelease [15.2 kB]
命中:5 https://deb.nodesource.com/node_14.x jammy InRelease
获取:7 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
命中:8 https://ppa.launchpadcontent.net/xmake-io/xmake/ubuntu jammy InRelease
命中:9 https://apt.v2raya.org v2raya InRelease
获取:10 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 Packages [577 kB]
获取:11 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main i386 Packages [390 kB]
获取:12 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main Translation-en [166 kB]
获取:13 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 DEP-11 Metadata [101 kB]
获取:14 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/main amd64 c-n-f Metadata [14.4 kB]
获取:15 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted i386 Packages [28.3 kB]
获取:16 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted amd64 Packages [226 kB]
获取:17 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted Translation-en [33.7 kB]
获取:18 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/restricted amd64 c-n-f Metadata [604 B]
获取:19 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 Packages [887 kB]
获取:20 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe i386 Packages [609 kB]
获取:21 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe Translation-en [182 kB]
获取:22 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [269 kB]
获取:23 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/universe amd64 c-n-f Metadata [18.8 kB]
获取:24 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse amd64 Packages [34.9 kB]
获取:25 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse Translation-en [8,080 B]
获取:26 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
获取:27 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates/multiverse amd64 c-n-f Metadata [468 B]
获取:28 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/main amd64 DEP-11 Metadata [8,000 B]
获取:29 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe i386 Packages [12.7 kB]
获取:30 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe amd64 Packages [22.2 kB]
获取:31 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe Translation-en [15.0 kB]
获取:32 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [12.9 kB]
获取:33 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe DEP-11 48x48 Icons [13.3 kB]
获取:34 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe DEP-11 64x64 Icons [22.2 kB]
获取:35 https://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-backports/universe amd64 c-n-f Metadata [548 B]
错误:8 https://ppa.launchpadcontent.net/xmake-io/xmake/ubuntu jammy InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 70AF26A4DCBD1EB4
命中:6 https://packagecloud.io/ookla/speedtest-cli/ubuntu jammy InRelease
错误:9 https://apt.v2raya.org v2raya InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 354E516D494EF95F
错误:4 http://repo.mysql.com/apt/ubuntu jammy InRelease
由于没有公钥,无法验证下列签名: NO_PUBKEY 467B942D3A79BD29
已下载 4,005 kB,耗时 4秒 (1,000 kB/s)
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
正在读取状态信息... 完成
有 58 个软件包可以升级。请执行 ‘apt list --upgradable’ 来查看它们。
W: https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/jammy/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。
W: https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/jammy-updates/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。
W: https://mirrors.tuna.tsinghua.edu.cn/ubuntu/dists/jammy-backports/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://ppa.launchpadcontent.net/xmake-io/xmake/ubuntu jammy InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 70AF26A4DCBD1EB4
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:https://apt.v2raya.org v2raya InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 354E516D494EF95F
W: 校验数字签名时出错。此仓库未被更新,所以仍然使用此前的索引文件。GPG 错误:http://repo.mysql.com/apt/ubuntu jammy InRelease: 由于没有公钥,无法验证下列签名: NO_PUBKEY 467B942D3A79BD29
W: http://security.ubuntu.com/ubuntu/dists/jammy-security/InRelease: 密钥存储在过时的 trusted.gpg 密钥环中(/etc/apt/trusted.gpg),请参见 apt-key(8) 的 DEPRECATION 一节以了解详情。
W: 无法下载 http://repo.mysql.com/apt/ubuntu/dists/jammy/InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 467B942D3A79BD29
W: 无法下载 https://apt.v2raya.org/dists/v2raya/InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 354E516D494EF95F
W: 无法下载 https://ppa.launchpadcontent.net/xmake-io/xmake/ubuntu/dists/jammy/InRelease 由于没有公钥,无法验证下列签名: NO_PUBKEY 70AF26A4DCBD1EB4
W: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。

解决方法

1
sudo apt-key export 3A79BD29 | sudo gpg --dearmour -o /etc/apt/trusted.gpg.d/mysql.gpg