I can’t install MariaDB (mariadb mariadb-server) , neither MySql (community-mysql-server | I tried also importing official repo so: mysql-community-server doesn’t work neither)
I’m running fedora 38. I tried sudo dnf update, updated everything. And still nothing.
Do I need to upgrade do fedora 39 ?
Or in other case, who the h*ll leaves expired gpg key in repo ? This is the key it requires but can’t import: sudo rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022
You see:
sudo dnf install mariadb mariadb-server
Last metadata expiration check: 1:03:56 ago on Sat 23 Dec 2023 08:44:53 AM CET.
Dependencies resolved.
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
mysql-community-client x86_64 8.0.35-10.fc38 mysql80-community 3.7 M
mysql-community-server x86_64 8.0.35-10.fc38 mysql80-community 20 M
Installing dependencies:
mecab x86_64 0.996-3.fc38.5 fedora 355 k
mysql-community-client-plugins
x86_64 8.0.35-10.fc38 mysql80-community 1.3 M
mysql-community-common x86_64 8.0.35-10.fc38 mysql80-community 557 k
mysql-community-icu-data-files
x86_64 8.0.35-10.fc38 mysql80-community 2.3 M
mysql-community-libs x86_64 8.0.35-10.fc38 mysql80-community 1.5 M
Installing weak dependencies:
mecab-ipadic x86_64 2.7.0.20070801-26.fc38 fedora 11 M
mecab-ipadic-EUCJP x86_64 2.7.0.20070801-26.fc38 fedora 9.6 M
Transaction Summary
================================================================================
Install 9 Packages
Total download size: 50 M
Installed size: 303 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): mecab-0.996-3.fc38.5.x86_64.rpm 501 kB/s | 355 kB 00:00
(2/9): mysql-community-client-8.0.35-10.fc38.x8 2.0 MB/s | 3.7 MB 00:01
(3/9): mysql-community-client-plugins-8.0.35-10 2.4 MB/s | 1.3 MB 00:00
(4/9): mysql-community-common-8.0.35-10.fc38.x8 2.1 MB/s | 557 kB 00:00
(5/9): mysql-community-icu-data-files-8.0.35-10 2.4 MB/s | 2.3 MB 00:00
(6/9): mysql-community-libs-8.0.35-10.fc38.x86_ 2.3 MB/s | 1.5 MB 00:00
(7/9): mecab-ipadic-2.7.0.20070801-26.fc38.x86_ 2.0 MB/s | 11 MB 00:05
(8/9): mecab-ipadic-EUCJP-2.7.0.20070801-26.fc3 1.1 MB/s | 9.6 MB 00:08
(9/9): mysql-community-server-8.0.35-10.fc38.x8 3.7 MB/s | 20 MB 00:05
--------------------------------------------------------------------------------
Total 4.6 MB/s | 50 MB 00:10
MySQL 8.0 Community Server 3.0 MB/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 <mysql-build@oss.oracle.com>"
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]: y
error: Certificate 467B942D3A79BD29:
The certificate is expired: The primary key is not live
Key import failed (code 2). Failing package is: mysql-community-client-8.0.35-10.fc38.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-client-plugins-8.0.35-10.fc38.x86_64.rpm is not installed. Failing package is: mysql-community-client-plugins-8.0.35-10.fc38.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.fc38.x86_64.rpm is not installed. Failing package is: mysql-community-common-8.0.35-10.fc38.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.fc38.x86_64.rpm is not installed. Failing package is: mysql-community-icu-data-files-8.0.35-10.fc38.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.fc38.x86_64.rpm is not installed. Failing package is: mysql-community-libs-8.0.35-10.fc38.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.fc38.x86_64.rpm is not installed. Failing package is: mysql-community-server-8.0.35-10.fc38.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
Do you really need mysql-community-server? Otherwise you can install mariadb from the Fedora repository. (In this case you have to remove mysql80-community repository).