Unable to update Mariadb

Hi there, im trying to update MariaDB. Even though my current version is 10.11.15. everytime i try to update something mariadb try to download updates and nothing gets installed because i dont think it ever finished a previous update. Iv tried everything, even turn off the firewall incase this was the problem but its not. The results are the same.

[root@cloud-60065f yum.repos.d]#

yum clean all
38 files removed
[root@cloud-60065f yum.repos.d]# yum makecache
Nsolid Packages for Linux RPM based distros - x86_64 2.1 MB/s | 950 kB 00:00
Node.js Packages for Linux RPM based distros - x86_64 7.9 MB/s | 1.1 MB 00:00
CodeIT for Enterprise Linux 9 (x86_64) 1.5 MB/s | 656 kB 00:00
Extra Packages for Enterprise Linux 9 - x86_64 9.4 MB/s | 20 MB 00:02
Extra Packages for Enterprise Linux 9 openh264 (From Cisco) - x86_64 2.6 kB/s | 2.5 kB 00:00
LiteSpeed Tech Repository for CentOS 9 - x86_64 448 kB/s | 263 kB 00:00
LiteSpeed Tech Update Repository for CentOS 9 - x86_64 375 kB/s | 211 kB 00:00
MariaDB 0.0 B/s | 0 B 01:00
Errors during downloading metadata for repository ‘mariadb’:

My repo looks like this;

[mariadb]
name = MariaDB
#baseurl = http://yum.mariadb.org/10.11.15/rhel9-amd64
baseurl = Index of /yum/10.11.16/rhel9-amd64/
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1

#[mariadb-maxscale]
#name = MariaDB MaxScale
#baseurl = https://dlm.mariadb.com/repo/maxscale/latest/yum/rhel/9/x86_64
#gpgkey=https://downloads.mariadb.com/MaxScale/MariaDB-MaxScale-GPG-KEY
#gpgcheck=1
#enabled=1

ERRRRRRR

curl -kv https://archive.mariadb.com/

cat /etc/resolv.conf
nameserver 127.0.0.53
nameserver 8.8.8.8
nameserver 8.8.4.4
nameserver 1.1.1.1
nameserver 1.0.0.1

Thanks

Your curl error is using an archive url pointing to a RHEL7 repository so that is obviously not going to work if you are using Rocky9/RHEL9. This is also a MariaDB repository, nothing that is controlled by the Rocky team. I suggest removing the incorrect repo files under /etc/yum.repos.d which are related to MariaDB and configure it properly:

Use this URL to configure the proper MariaDB repositories on your system and follow the instructions: Download MariaDB Server - MariaDB.org

1 Like

Thank you! That worked.

1 Like