MariaDB 10.5.20 repo CENTOS7 only , no centos stream repo

Can I upgrade my installation of MariaDB 10.5.19 on CentOS Stream 9 using the MariaDB 10.5.20 repository from mariadb.org, which currently only has CentOS 7?

Answer Answered by Daniel Black in this comment.

Appoligies, our repo configuration tool appears to have only 10.6 enabled, however 10.5 is there on the mirrors for CentOS Stream. I'll get this corrected.

$ podman run -ti quay.io/centos/centos:stream9 
[root@169178c4e791 /]# cat > /etc/yum.repos.d/mariadb.repo
# MariaDB 10.6 CentOS repository list - created 2023-05-12 02:58 UTC
# https://mariadb.org/download/
[mariadb]
name = MariaDB
# rpm.mariadb.org is a dynamic mirror if your preferred mirror goes offline. See https://mariadb.org/mirrorbits/ for details.
# baseurl = https://rpm.mariadb.org/10.6/centos/$releasever/$basearch
baseurl = https://mirror.realcompute.io/mariadb/yum/10.6/centos/$releasever/$basearch
# gpgkey = https://rpm.mariadb.org/RPM-GPG-KEY-MariaDB
gpgkey = https://mirror.realcompute.io/mariadb/yum/RPM-GPG-KEY-MariaDB
gpgcheck = 1
[root@169178c4e791 /]# sed -i -e 's/10.6/10.5/' /etc/yum.repos.d/mariadb.repo 
[root@169178c4e791 /]# dnf update
..
[root@169178c4e791 /]# dnf install mariadb-server
Last metadata expiration check: 0:00:17 ago on Fri May 12 03:00:04 2023.
Dependencies resolved.
==========================================================================================================================================
 Package                                 Architecture            Version                                 Repository                  Size
==========================================================================================================================================
Installing:
 MariaDB-server                          x86_64                  10.5.20-1.el9                           mariadb                     18 M
...
Importing GPG key 0x1BB943DB:
 Userid     : "MariaDB Package Signing Key <[email protected]>"
 Fingerprint: 1993 69E5 404B D5FC 7D2F E43B CBCB 082A 1BB9 43DB
 From       : https://mirror.realcompute.io/mariadb/yum/RPM-GPG-KEY-MariaDB
Is this ok [y/N]: y
Key imported successfully
Importing GPG key 0xC74CD1D8:
 Userid     : "MariaDB Signing Key <[email protected]>"
 Fingerprint: 177F 4010 FE56 CA33 3630 0305 F165 6F24 C74C D1D8
 From       : https://mirror.realcompute.io/mariadb/yum/RPM-GPG-KEY-MariaDB
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
...
Complete!
[root@169178c4e791 /]# 

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.