Fedora 39 - 如何删除 MySQL 安装的过期 GPG 密钥?

Fedora 39 - 如何删除 MySQL 安装的过期 GPG 密钥?

我有以下情况

请参阅如何安装以理解这篇文章。无论如何,我会平静地等待 mysql 本身解决该错误。

同时何时执行sudo dnd update出现在某个时刻

Total                                                                                                                       702 kB/s | 1.5 MB     00:02     
Delta RPMs reduced 237.9 MB of updates to 237.4 MB (0.2% saved)
MySQL 8.0 Community Server                                                                                                  349 kB/s | 3.1 kB     00:00    
GPG key at file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2023 (0xA8D3785C) is already installed
MySQL 8.0 Community Server                                                                                                  3.0 MB/s | 3.1 kB     00:00    
Importing GPG key 0x3A79BD29:
 Userid     : "MySQL Release Engineering <[email protected]>"
 Fingerprint: 859B E8D7 C586 F538 430B 19C2 467B 942D 3A79 BD29
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Is this ok [y/N]: 

出现或时yN进程失败。例如N出现:

Is this ok [y/N]: n
Didn't install any keys
Public key for mysql-community-client-plugins-8.0.35-10.fc39.x86_64.rpm is not installed. Failing package is: mysql-community-client-plugins-8.0.35-10.fc39.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2023, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Public key for mysql-community-common-8.0.35-10.fc39.x86_64.rpm is not installed. Failing package is: mysql-community-common-8.0.35-10.fc39.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2023, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Public key for mysql-community-icu-data-files-8.0.35-10.fc39.x86_64.rpm is not installed. Failing package is: mysql-community-icu-data-files-8.0.35-10.fc39.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2023, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Public key for mysql-community-libs-8.0.35-10.fc39.x86_64.rpm is not installed. Failing package is: mysql-community-libs-8.0.35-10.fc39.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2023, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
Public key for mysql-community-server-8.0.35-10.fc39.x86_64.rpm is not installed. Failing package is: mysql-community-server-8.0.35-10.fc39.x86_64
 GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2023, file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2022
The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing 'dnf clean packages'.
Error: GPG check FAILED

以防万一我尝试使用该sudo dnf remove mysql-server mysql-client命令但出现

No match for argument: mysql-server
No match for argument: mysql-client
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!

因此我假设更新 Fedora 的独特方法是删除 MySQL 的过期密钥

  • 如何删除MySQL安装的过期GPG密钥?

我的主要目标是通过完成有关 MySQL 的所有内容(在本例中是关于 GPG 密钥)来删除,以便安静地等待相应的补丁,现在让我安静地进行操作系统更新。

相关内容