http|Centos 7 安装MySQL报错(The GPG keys listed for the “MySQL 5.7 Community Server“ repository are)
Downloading packages:
warning: /var/cache/yum/x86_64/7/mysql57-community/packages/mysql-community-server-5.7.37-1.el7.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 3a79bd29: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysqlThe GPG keys listed for the "MySQL 5.7 Community Server" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository. Failing package is: mysql-community-server-5.7.37-1.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql
【http|Centos 7 安装MySQL报错(The GPG keys listed for the “MySQL 5.7 Community Server“ repository are)】
文章图片
报错原因:这是由于MySQL GPG 密钥已过期导致的问题,解决出处需要运行命令, 以2022年为例
rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
推荐阅读
- 学习笔记-李宏毅GAN(生成对抗网络)全系列
- 红客联盟宣布解散
- linux|小白 Linux 云计算怎么学,都要学什么(---超详细---)
- 计算机协议基础|交换机&路由器工作原理
- thingsboard|ThingsBoard 使用 REST API HTTP 方法获取遥测数据 属性数据等
- 网络安全|网络-DNS域名系统详解与DNS攻击
- 语义分割|Attention UNet结构及pytorch实现
- 爬虫|关于blob加密视频的基于m3u8和ts文件下载转MP4视频的python爬虫实现
- 游戏|直播新玩法背后的音视频技术演进