網站首頁 編程語言 正文
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-03-29 Python?dict的使用誤區你知道嗎_python
- 2022-07-12 Linux系統下的時區配置管理
- 2022-06-10 C++?STL?中的數值算法示例講解_C 語言
- 2022-10-29 C#?CLR?中學習?C++關鍵詞extern使用詳解_C 語言
- 2023-04-16 c#?成員類型訪問權限低于字段本身的實現_C#教程
- 2022-04-09 Python實現簡易的限流器介紹_python
- 2022-08-23 一文搞懂Python中函數的定義與使用_python
- 2022-09-20 Android實現簡單實用的垂直進度條_Android
- 最近更新
-
- 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同步修改后的遠程分支