yum update Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile https://mirrors.aliyun.com/mariadb/yum/10.9/rhel/7/x86_64/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
Total download size: 27 M Is this ok [y/d/N]: y Downloading packages: No Presto metadata available for mariadb MariaDB-server-10.11.8-1.el7.centos.x86_64.rpm | 27 MB 00:00:03 Running transaction check Running transaction test Transaction test succeeded Running transaction
****************************************************************** A MySQL or MariaDB server package (MariaDB-server-10.9.8-1.el7.centos.x86_64) is installed.
Upgrading directly from MySQL 10.9 to MariaDB 10.11 may not be safe in all cases. A manual dump and restore using mysqldump is recommended. It is important to review the MariaDB manual's Upgrading section for version-specific incompatibilities.
A manual upgrade is required.
- Ensure that you have a complete, working backup of your data and my.cnf files - Shut down the MySQL server cleanly - Remove the existing MySQL packages. Usually this command will list the packages you should remove: rpm -qa | grep -i '^mysql-'
You may choose to use 'rpm --nodeps -ev <package-name>' to remove the package which contains the mysqlclient shared library. The library will be reinstalled by the MariaDB-shared package. - Install the new MariaDB packages supplied by MariaDB Foundation - Ensure that the MariaDB server is started - Run the 'mysql_upgrade' program
This is a brief description of the upgrade process. Important details can be found in the MariaDB manual, in the Upgrading section. ****************************************************************** error: %pre(MariaDB-server-10.11.8-1.el7.centos.x86_64) scriptlet failed, exit status 1 Error in PREIN scriptlet in rpm package MariaDB-server-10.11.8-1.el7.centos.x86_64 Verifying : MariaDB-server-10.11.8-1.el7.centos.x86_64 1/2 MariaDB-server-10.9.8-1.el7.centos.x86_64 was supposed to be removed but is not! Verifying : MariaDB-server-10.9.8-1.el7.centos.x86_64 2/2
yum install mariadb-common galera rsync -y Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile No package mariadb-common available. * Maybe you meant: MariaDB-common Package galera-25.3.12-2.el7.x86_64 is obsoleted by galera-4-26.4.18-1.el7.centos.x86_64 which is already installed Package rsync-3.1.2-12.el7_9.x86_64 already installed and latest version Nothing to do
yum install mariadb-server -y Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile Package mariadb-server is obsoleted by MariaDB-server, trying to install MariaDB-server-10.11.8-1.el7.centos.x86_64 instead Resolving Dependencies --> Running transaction check ---> Package MariaDB-server.x86_64 0:10.11.8-1.el7.centos will be installed --> Finished Dependency Resolution
Dependencies Resolved
================================================================================ Package Arch Version Repository Size ================================================================================ Installing: MariaDB-server x86_64 10.11.8-1.el7.centos mariadb 27 M