报错:The following signatures couldn‘t be verified because the public key is not available: NO_PUBKEY
apt update 最后报错
$ sudo apt update
报错
......
91 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://repo.mysql.com/apt/ubuntu focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
W: Failed to fetch http://repo.mysql.com/apt/ubuntu/dists/focal/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
重点:
NO_PUBKEY 467B942D3A79BD29
缺少公钥?
重新获取公钥并加入到 apt 信任密钥
获取 gpg 公钥
$ sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29gpg: key 467B942D3A79BD29: public key "MySQL Release Engineering <mysql-build@oss.oracle.com>" importedgpg: Total number processed: 1gpg: imported: 1
重复执行多次不会改变,也不影响
$ sudo gpg --keyserver keyserver.ubuntu.com --recv-keys 467B942D3A79BD29gpg: key 467B942D3A79BD29: "MySQL Release Engineering <mysql-build@oss.oracle.com>" not changedgpg: Total number processed: 1gpg: unchanged: 1
导出公钥,加入到 apt 信任密钥
$ sudo gpg --export --armor 467B942D3A79BD29 | sudo apt-key add -
OK再来 update
$ sudo apt update......Reading package lists... DoneBuilding dependency tree Reading state information... Done98 packages can be upgraded. Run 'apt list --upgradable' to see them.
不再报错了!
4 确认:查询一下被信任密钥
$ apt-key list......
pub rsa4096 2021-12-14 [SC] [expires: 2023-12-14]859B E8D7 C586 F538 430B 19C2 467B 942D 3A79 BD29
uid [ unknown] MySQL Release Engineering <mysql-build@oss.oracle.com>
sub rsa4096 2021-12-14 [E] [expires: 2023-12-14]
报错:The following signatures couldn‘t be verified because the public key is not available: NO_PUBKEY相关推荐
- 在ubuntu中运行sudo apt-get update报错The following signatures couldn‘t be verified because the public key
出现的问题如下图: 报错信息: Err:5 http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1604/x86_64 InR ...
- The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3B4
ubuntu apt-get update报错: The following signatures couldn't be verified because the public key is not ...
- The following signatures couldn't be verified because the public key is not available: NO_PUBKEY XXX
reference apt-key adv --recv-keys --keyserver keyserver.ubuntu.com XXXXXX apt-get update
- 【Ubuntu升级报错】“the following signatures couldn’t be verified because the public key is not available”
升级Python时第一步apt-get update报错 报错界面 报错界面 在ubuntu中运行apt-get update时,有时会出现如下报错 ubuntu@ubuntu-virtual-mac ...
- 【apt】The following signatures couldn‘t be verified because the public key is not available
遇到问题: 执行 apt update 产生如下图报错: The following signatures couldn't be verified because the public key is ...
- Ubuntu解决 The following signatures couldn‘t be verified because the public key is not available:
Ubuntu在source.list中添加源后,提示 The following signatures couldn't be verified because the public key is n ...
- The following signatures couldn‘t be verified because the public key is not available问题解决
记住NO_PUBKEY后面的那串数字例如40976EAF437D05B5 然后输入: sudo apt-key adv --keyserver keyserver.ubuntu.com --recv ...
- 关于mysql数据库的外键插入报错:Cannot add or update a child row: a foreign key constraint fails,完整性问题
关于mysql的外键插入报错:Cannot add or update a child row: a foreign key constraint fails..... 首先确定sql语句的正确 然后 ...
- BaiduMapsApiDemo报错:请在 DemoApplication.java文件输入正确的授权Key
BaiduMaps的程序猿真是恶心,弄个BaiduMapsApiDemo,下载下来了还报错,让人申请授权Key: 请在 DemoApplication.java文件输入正确的授权Key!申请地址:ht ...
- 4 Flask开发进阶:记下一次级联删除的报错:Cannot delete or update a parent row: a foreign key constraint fails
中间表 class Permission(object):LOGIN = 0x01EDITOR = 0x02OPERATOR = 0x04ADMINISTER = 0xffPERMISSION_MAP ...
最新文章
- python gdbt+fm_GBDT回归的原理及Python实现
- JConsole监控远程Tomcat服务器
- 读书笔记_Effective_C++_条款三十一:将文件间的编译依存关系降至最低(第二部分)...
- 为什么Java能够持续的受到欢迎呢?原因有这些
- 分布式搜索 Elasticsearch —— 删除索引
- 【学习笔记】第一章——操作系统的概念、功能、特征、发展分类(系统调用、并发共享虚拟异步)
- php 字符串表示,php:字符串(string)数据类型实例详解
- 疫情下的创业品牌如何逆风翻盘?
- 谈谈对从业IT行业看法
- VS编译器中QT版本问题不正确解决方法-Please assign a Qt installation in ‘Qt Project Settings‘.
- 颜色rgba、16进制、10进制互相装换
- 一起来做一个 c++ 单项选择题标准化考试系统
- nexus开机启动设置
- 给别人打电话显示用话提醒服务器,打电话给对方但提示已启用来电提醒功能,是怎么回事...
- oracle数据库 同义词读写操作,Oracle数据库之同义词(SYNONYM)使用
- 计算机没有显示远程桌面连接,连接远程桌面时出现:“这台计算机没有远程桌面客户端访问许可”,怎么处理?...
- 新浪微博--分享到微博的简单使用
- 可以远程控制的浏览器(双核)让浏览器动起来
- 家用洗地机实用吗?家用洗地机款式推荐
- 解决:getReader() has already been called for this request
热门文章
- react —— diff算法与VDOM
- HDU - 6273 Master of GCD
- 团队作业4——第一次项目冲刺(Alpha版本)2nd day
- 在propreties文件中引用另一个properties文件中的内容
- 你需要知道的、有用的 Python 功能和特点
- flashmx action画线方法(下)
- 我设想的可扩展结构(插件) (二)
- bzoj1010: [HNOI2008]玩具装箱toy
- android应用开发全程实录-你有多熟悉listview? getView重写 inflate使用
- checkbox是否被选中