There is the same problem.
It seems MariaDB 10.4 is installed on your server. So when you run "yum update" it searches for MariaDB updates in disabled repository. To solve the problem you need to upgrade MariaDB to some actual MariaDB version (10.6, 10.11, etc).
To upgrade to 10.6 do following:
1. In the file /etc/yum.repos.d/mariadb.repo
change "10.4" to "10.6"
2. To update MariaDB run (make backups of the databases before you run update):
service mysql stop
service mariadb stop
systemctl disable mariadb
rpm --nodeps -ev MariaDB-server
yum clean all
yum -y update "MariaDB-*"
yum -y install MariaDB-server
systemctl enable mariadb
service mariadb start
mysql_upgrade
3. Make sure all mariaDB binaries are updated:
rpm -qa|grep -i maria
You should get something like:
MariaDB-server-10.6-el8.centos.x86_64
MariaDB-devel-10.6-el8.centos.x86_64
MariaDB-common-10.6-el8.centos.x86_64
MariaDB-compat-10.6-el8.centos.x86_64
MariaDB-client-10.6-el8.centos.x86_64
MariaDB-shared-10.6-el8.centos.x86_64
Makre sure all rpms have "10.6" in their names.
Please note you do it on your own risk. So make backups.
Hi,
With this instructions, I can upgrade from 10.4 to 10.6, but not to 10.11, always I have error in
yum -y install MariaDB-server
First, my /etc/yum.repos.d/mariadb.repo contain:
# MariaDB 10.4 CentOS repository list - created 2020-06-23 23:26 UTC
# http://downloads.mariadb.org/mariadb/repositories/
[mariadb]
name = MariaDB
baseurl = http://yum.mariadb.org/10.4/centos8-amd64
module_hotfixes=1
gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
gpgcheck=1
If also change to 10.6 work fine, but if I change to 10.11 not work, url not exist, I need change to:
baseurl = https://mirror.mariadb.org/yum/10.11/almalinux8-amd64/
But with this change, also, I can upgrade from 10.4 to 10.11, I have same error.
First, I need upgrade to 10.6, and then to 10.11, with this, yes, all work fine with new version.
Indicate this for if other person have the same problem.
Thanks for your indications.
PS : Sorry for my bad english