網站首頁 編程語言 正文
following signatures couldn‘t be verified because the public key is not available:NO_PUBKEY 467B942D
作者:jack@london 更新時間: 2022-04-11 編程語言Ubuntu安裝mysql8.0時,系統提示如下
sudo apt-get update
Hit:1 http://azure.archive.ubuntu.com/ubuntu bionic InRelease
Hit:2 http://azure.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:3 http://azure.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:4 http://azure.archive.ubuntu.com/ubuntu bionic-security InRelease
Hit:5 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease
Get:6 http://repo.mysql.com/apt/ubuntu bionic InRelease [20.0 kB]
Err:6 http://repo.mysql.com/apt/ubuntu bionic InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
Reading package lists... Done
W: GPG error: http://repo.mysql.com/apt/ubuntu bionic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 467B942D3A79BD29
E: The repository 'http://repo.mysql.com/apt/ubuntu bionic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
則執行
sudo gpg --keyserver keyserver.ubuntu.com --recv 467B942D3A79BD29
gpg: WARNING: unsafe ownership on homedir '/home/test20/.gnupg'
gpg: keybox '/home/test20/.gnupg/pubring.kbx' created
gpg: /home/test20/.gnupg/trustdb.gpg: trustdb created
gpg: key 467B942D3A79BD29: public key "MySQL Release Engineering " imported
gpg: Total number processed: 1
gpg: imported: 1
再執行
sudo gpg --export --armor 467B942D3A79BD29 | sudo apt-key add -
gpg: WARNING: unsafe ownership on homedir '/home/test20/.gnupg'
OK
再重新?sudo apt-get update 即可。
原文鏈接:https://blog.csdn.net/figosoar/article/details/123738533
相關推薦
- 2022-11-30 CTF?AWD入門學習手冊_安全相關
- 2022-09-01 C#通過System.CommandLine快速生成支持命令行的應用程序_C#教程
- 2022-05-14 Python的進程,線程和協程實例詳解_python
- 2022-12-27 React組件間通訊傳值實現詳解_React
- 2022-08-19 python中的函數和變量的用法
- 2022-04-26 jQuery實現鎖定頁面元素(表格列)_jquery
- 2022-09-17 Python?自動控制原理?control的詳細解說_python
- 2023-01-31 Python函數用法和底層原理分析_python
- 最近更新
-
- window11 系統安裝 yarn
- 超詳細win安裝深度學習環境2025年最新版(
- Linux 中運行的top命令 怎么退出?
- MySQL 中decimal 的用法? 存儲小
- get 、set 、toString 方法的使
- @Resource和 @Autowired注解
- Java基礎操作-- 運算符,流程控制 Flo
- 1. Int 和Integer 的區別,Jav
- spring @retryable不生效的一種
- Spring Security之認證信息的處理
- Spring Security之認證過濾器
- Spring Security概述快速入門
- Spring Security之配置體系
- 【SpringBoot】SpringCache
- Spring Security之基于方法配置權
- redisson分布式鎖中waittime的設
- maven:解決release錯誤:Artif
- restTemplate使用總結
- Spring Security之安全異常處理
- MybatisPlus優雅實現加密?
- Spring ioc容器與Bean的生命周期。
- 【探索SpringCloud】服務發現-Nac
- Spring Security之基于HttpR
- Redis 底層數據結構-簡單動態字符串(SD
- arthas操作spring被代理目標對象命令
- Spring中的單例模式應用詳解
- 聊聊消息隊列,發送消息的4種方式
- bootspring第三方資源配置管理
- GIT同步修改后的遠程分支