- Server operating system version
- AlmaLinux 9.5
- Plesk version and microupdate number
- 18.0.66
I am trying to upgrade MariaDB from 10.5 to 10.11 on AlmaLinux 9.5 by following the steps provided in the post of
with the following environment:
OS: AlmaLinux 9.5
Plesk: Obsidian, Version 18.0.66
MariaDB: 10.5.22
The steps followed through are:
1. Create dump backup folder:
# mkdir /root/dbBackups
2. Dump databases, just in case(don't proceed if this action failed):
# plesk db -Ne 'show databases' | egrep -vE '(information_schema|performance_schema|mysql)' | xargs -l bash -c 'mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` $0 > /root/dbBackups/$0.sql'
3. Create /etc/yum.repos.d/mariadb.repo with the following contents:
[mariadb] name = MariaDB baseurl=Index of /yum/10.11/rhel8-amd64/ module_hotfixes=1 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
4. Stop mariadb server:
# systemctl stop mariadb
5. Remove it:
# rpm -e --nodeps `rpm -qf /usr/libexec/mysqld`
6. Create repository cache and install new MariaDB from it:
# yum makecache
# yum install mariadb-server
(will be prompted to hit "Y" a number of times)
...
The upgrade failed at step 6 when executing
# yum install mariadb-server
with the following errors:
Error:
Problem: package MariaDB-server-10.11.10-1.el8.x86_64 from mariadb requires galera-4, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.13-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.14-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.16-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.18-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.19-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.20-1.el8.x86_64 from mariadb
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
to resolve the errors, I tried to following as recommended by some posts:
# yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
# yum install boost-program-options
it seems that the installed boost-program-options version is 1.75.0
# rpm -qi boost-program-options
Name : boost-program-options
Version : 1.75.0
Release : 8.el9
and running command
# yum install mariadb-server
again will give the same errors.
Can somebody suggest a fix?
Thanks
Question - update MariaDB from 10.3.35 to 10.6 or 10.10 or 10.11
Hello, I want to upgrade MariaDB from to 10.3.35 to 10.6 or 10.10 or 10.11 (preffered) On this server I have Opencarts (2.0.3.2 and 3.x version) and Wordpress' (last and latest versions). Also, 3-4 Joomla websites Shall I have problems with these websites? OS: AlmaLinux: 8.8 Plesk Obsidian...
talk.plesk.com
with the following environment:
OS: AlmaLinux 9.5
Plesk: Obsidian, Version 18.0.66
MariaDB: 10.5.22
The steps followed through are:
1. Create dump backup folder:
# mkdir /root/dbBackups
2. Dump databases, just in case(don't proceed if this action failed):
# plesk db -Ne 'show databases' | egrep -vE '(information_schema|performance_schema|mysql)' | xargs -l bash -c 'mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` $0 > /root/dbBackups/$0.sql'
3. Create /etc/yum.repos.d/mariadb.repo with the following contents:
[mariadb] name = MariaDB baseurl=Index of /yum/10.11/rhel8-amd64/ module_hotfixes=1 gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB gpgcheck=1
4. Stop mariadb server:
# systemctl stop mariadb
5. Remove it:
# rpm -e --nodeps `rpm -qf /usr/libexec/mysqld`
6. Create repository cache and install new MariaDB from it:
# yum makecache
# yum install mariadb-server
(will be prompted to hit "Y" a number of times)
...
The upgrade failed at step 6 when executing
# yum install mariadb-server
with the following errors:
Error:
Problem: package MariaDB-server-10.11.10-1.el8.x86_64 from mariadb requires galera-4, but none of the providers can be installed
- cannot install the best candidate for the job
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.13-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.14-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.16-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.18-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.19-1.el8.x86_64 from mariadb
- nothing provides libboost_program_options.so.1.66.0()(64bit) needed by galera-4-26.4.20-1.el8.x86_64 from mariadb
(try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
to resolve the errors, I tried to following as recommended by some posts:
# yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
# yum install boost-program-options
it seems that the installed boost-program-options version is 1.75.0
# rpm -qi boost-program-options
Name : boost-program-options
Version : 1.75.0
Release : 8.el9
and running command
# yum install mariadb-server
again will give the same errors.
Can somebody suggest a fix?
Thanks