Control Web Panel

WebPanel => Installation => Topic started by: Insan3Us on January 11, 2026, 06:10:27 PM

Title: How I upgrade the MariaDB 10.5 to 10.6?
Post by: Insan3Us on January 11, 2026, 06:10:27 PM
Hi Guys,

I encountered a big problem...
I want to upgrade the mariadb from 10.5 to 10.6.

I tried the following tutorials:
https://wiki.centos-webpanel.com/mariadb-upgrade-to-new-version   --- I think is an old tutorial because the repository is not valid anymore.
https://www.liquidweb.com/blog/upgrade-mariadb-on-linux-almalinux/   --- doesn't work also.

What is weird, is the following:
First of all when I try to remove the old mariadb 10.5 I get this:
After I stop the mariadb etc...:
Code: [Select]
sudo dnf remove MariaDB-server -y
No match for argument: MariaDB-server
No packages marked for removal.
Dependencies resolved.
Nothing to do.
Complete!

When I put the repository from here: https://mirror.mariadb.org/yum/10.6/almalinux9-amd64/
And start the installation I get:
Quote
yum install MariaDB-server MariaDB-client net-snmp perl-DBD                                                                                                                                                             -MySQL -y
CentOS Web Panel repo for Linux 9 - x86_64      244 kB/s |  55 kB     00:00
MariaDB 10.6 repo (build 60836)                 317 kB/s | 203 kB     00:00
AlmaLinux 9 - AppStream                          18 MB/s |  12 MB     00:00
AlmaLinux 9 - BaseOS                             12 MB/s | 7.4 MB     00:00
AlmaLinux 9 - CRB                               7.2 MB/s | 3.3 MB     00:00
AlmaLinux 9 - Extras                             55 kB/s |  20 kB     00:00
bunkus.org MKVToolNix repository                112 kB/s |  26 kB     00:00
Extra Packages for Enterprise Linux 9 - x86_64  9.1 MB/s |  20 MB     00:02
Extra Packages for Enterprise Linux 9 openh264  2.0 kB/s | 2.5 kB     00:01
MariaDB Server                                  449 kB/s | 611 kB     00:01
MariaDB MaxScale                                8.7 kB/s | 6.9 kB     00:00
RPM Fusion for EL 9 - Free - Updates            282 kB/s | 211 kB     00:00
RPM Fusion for EL 9 - Nonfree - Updates         126 kB/s | 102 kB     00:00
Yarn Repository                                 923 kB/s | 363 kB     00:00
Package perl-DBD-MySQL-4.053-1.el9.x86_64 is already installed.
Error:
 Problem: problem with installed package mariadb-gssapi-server-3:10.5.29-3.el9_7                                                                                                                                                             .x86_64
  - package mariadb-gssapi-server-3:10.5.29-3.el9_7.x86_64 from @System requires                                                                                                                                                              mariadb-server(x86-64) = 3:10.5.29-3.el9_7, but none of the providers can be in                                                                                                                                                             stalled
  - package mariadb-gssapi-server-3:10.5.29-3.el9_7.x86_64 from appstream requir                                                                                                                                                             es mariadb-server(x86-64) = 3:10.5.29-3.el9_7, but none of the providers can be                                                                                                                                                              installed
  - package mariadb-gssapi-server-3:10.5.29-2.el9_6.x86_64 from appstream requir                                                                                                                                                             es mariadb-server(x86-64) = 3:10.5.29-2.el9_6, but none of the providers can be                                                                                                                                                              installed
  - package mariadb-server-3:10.5.29-3.el9_7.x86_64 from @System conflicts with                                                                                                                                                              mysql-server provided by MariaDB-server-10.6.24-1.el9.x86_64 from MariaDB-10.6
  - package MariaDB-server-10.6.24-1.el9.x86_64 from MariaDB-10.6 obsoletes mari                                                                                                                                                             adb-server provided by mariadb-server-3:10.5.29-3.el9_7.x86_64 from @System
  - package mariadb-server-3:10.5.29-2.el9_6.x86_64 from appstream conflicts wit                                                                                                                                                             h mysql-server provided by MariaDB-server-10.6.24-1.el9.x86_64 from MariaDB-10.6
  - package MariaDB-server-10.6.24-1.el9.x86_64 from MariaDB-10.6 obsoletes mari                                                                                                                                                             adb-server provided by mariadb-server-3:10.5.29-2.el9_6.x86_64 from appstream
  - package mariadb-server-3:10.5.29-3.el9_7.x86_64 from appstream conflicts wit                                                                                                                                                             h mysql-server provided by MariaDB-server-10.6.24-1.el9.x86_64 from MariaDB-10.6
  - package MariaDB-server-10.6.24-1.el9.x86_64 from MariaDB-10.6 obsoletes mari                                                                                                                                                             adb-server provided by mariadb-server-3:10.5.29-3.el9_7.x86_64 from appstream
  - cannot install the best candidate for the job
(try to add '--allowerasing' to command line to replace conflicting packages or                                                                                                                                                              '--skip-broken' to skip uninstallable packages or '--nobest' to use not only bes                                                                                                                                                             t candidate packages)

That means, I think, the mariadb 10.5 is not removed... but how to remove if the command above doesn't work?
And please tell me if I use the proper repository :)
Title: Re: How I upgrade the MariaDB 10.5 to 10.6?
Post by: Martins-phpbb on January 11, 2026, 06:39:30 PM
https://www.alphagnu.com/topic/22-install-mariadb-1011-in-centos-stream-9-almalinux-9-rockylinux-9
Title: Re: How I upgrade the MariaDB 10.5 to 10.6?
Post by: Insan3Us on January 11, 2026, 07:18:29 PM
https://www.alphagnu.com/topic/22-install-mariadb-1011-in-centos-stream-9-almalinux-9-rockylinux-9

Here it shows how to install, I know that, but how I remove the current version because it doesn't work to install any other mariadb versions.

I get this following your link:
Quote
Dependencies resolved.
================================================================================
 Package                  Arch      Version                 Repository     Size
================================================================================
Installing:
 MariaDB-client           x86_64    10.11.15-1.el9          mariadb       9.3 M
     replacing  mariadb.x86_64 3:10.5.29-3.el9_7
 MariaDB-server           x86_64    10.11.15-1.el9          mariadb        18 M
     replacing  mariadb-server.x86_64 3:10.5.29-3.el9_7
     replacing  mariadb-server-utils.x86_64 3:10.5.29-3.el9_7
Installing dependencies:
 MariaDB-backup           x86_64    10.11.15-1.el9          mariadb       7.5 M
     replacing  mariadb-backup.x86_64 3:10.5.29-3.el9_7
 MariaDB-common           x86_64    10.11.15-1.el9          mariadb        88 k
     replacing  mariadb-common.x86_64 3:10.5.29-3.el9_7
     replacing  mariadb-errmsg.x86_64 3:10.5.29-3.el9_7
 MariaDB-shared           x86_64    10.11.15-1.el9          mariadb       131 k
     replacing  mariadb-connector-c.x86_64 3.2.6-1.el9_0
     replacing  mariadb-connector-c-config.noarch 3.2.6-1.el9_0
 galera-4                 x86_64    26.4.24-1.el9           mariadb       1.2 M
Installing weak dependencies:
 lsof                     x86_64    4.94.0-3.el9            baseos        238 k
 pv                       x86_64    1.6.20-1.el9            epel           65 k
 socat                    x86_64    1.7.4.1-8.el9           appstream     299 k
Removing dependent packages:
 mariadb-gssapi-server    x86_64    3:10.5.29-3.el9_7       @appstream     20 k

Transaction Summary
================================================================================
Install  9 Packages
Remove   1 Package

Total download size: 37 M
Is this ok [y/N]: y
Downloading Packages:
(1/9): MariaDB-common-10.11.15-1.el9.x86_64.rpm 405 kB/s |  88 kB     00:00
(2/9): MariaDB-backup-10.11.15-1.el9.x86_64.rpm 5.3 MB/s | 7.5 MB     00:01
(3/9): MariaDB-shared-10.11.15-1.el9.x86_64.rpm 1.0 MB/s | 131 kB     00:00
(4/9): galera-4-26.4.24-1.el9.x86_64.rpm        7.7 MB/s | 1.2 MB     00:00
(5/9): socat-1.7.4.1-8.el9.x86_64.rpm           6.7 MB/s | 299 kB     00:00
(6/9): MariaDB-server-10.11.15-1.el9.x86_64.rpm  12 MB/s |  18 MB     00:01
(7/9): lsof-4.94.0-3.el9.x86_64.rpm             5.2 MB/s | 238 kB     00:00
(8/9): pv-1.6.20-1.el9.x86_64.rpm               586 kB/s |  65 kB     00:00
(9/9): MariaDB-client-10.11.15-1.el9.x86_64.rpm 3.4 MB/s | 9.3 MB     00:02
--------------------------------------------------------------------------------
Total                                            10 MB/s |  37 MB     00:03
Running transaction check
Transaction check succeeded.
Running transaction test
The downloaded packages were saved in cache until the next successful transactio                                                                                                                                                             n.
You can remove cached packages by executing 'yum clean packages'.
Error: Transaction test error:
  file /usr/share/mysql/charsets/Index.xml from install of MariaDB-common-10.11.                                                                                                                                                             15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86                                                                                                                                                             _64
  file /usr/share/mysql/charsets/armscii8.xml from install of MariaDB-common-10.                                                                                                                                                             11.15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.                                                                                                                                                             x86_64
  file /usr/share/mysql/charsets/ascii.xml from install of MariaDB-common-10.11.                                                                                                                                                             15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86                                                                                                                                                             _64
  file /usr/share/mysql/charsets/cp1250.xml from install of MariaDB-common-10.11                                                                                                                                                             .15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x8                                                                                                                                                             6_64
  file /usr/share/mysql/charsets/cp1251.xml from install of MariaDB-common-10.11                                                                                                                                                             .15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x8                                                                                                                                                             6_64
  file /usr/share/mysql/charsets/cp1256.xml from install of MariaDB-common-10.11                                                                                                                                                             .15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x8                                                                                                                                                             6_64
  file /usr/share/mysql/charsets/cp1257.xml from install of MariaDB-common-10.11                                                                                                                                                             .15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x8                                                                                                                                                             6_64
  file /usr/share/mysql/charsets/cp850.xml from install of MariaDB-common-10.11.                                                                                                                                                             15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86                                                                                                                                                             _64
  file /usr/share/mysql/charsets/cp852.xml from install of MariaDB-common-10.11.                                                                                                                                                             15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86                                                                                                                                                             _64
  file /usr/share/mysql/charsets/cp866.xml from install of MariaDB-common-10.11.                                                                                                                                                             15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86                                                                                                                                                             _64
  file /usr/share/mysql/charsets/dec8.xml from install of MariaDB-common-10.11.1                                                                                                                                                             5-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86_                                                                                                                                                             64
  file /usr/share/mysql/charsets/geostd8.xml from install of MariaDB-common-10.1                                                                                                                                                             1.15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x                                                                                                                                                             86_64
  file /usr/share/mysql/charsets/greek.xml from install of MariaDB-common-10.11.                                                                                                                                                             15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86                                                                                                                                                             _64
  file /usr/share/mysql/charsets/hebrew.xml from install of MariaDB-common-10.11                                                                                                                                                             .15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x8                                                                                                                                                             6_64
  file /usr/share/mysql/charsets/hp8.xml from install of MariaDB-common-10.11.15                                                                                                                                                             -1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86_6                                                                                                                                                             4
  file /usr/share/mysql/charsets/keybcs2.xml from install of MariaDB-common-10.1                                                                                                                                                             1.15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x                                                                                                                                                             86_64
  file /usr/share/mysql/charsets/koi8r.xml from install of MariaDB-common-10.11.                                                                                                                                                             15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86                                                                                                                                                             _64
  file /usr/share/mysql/charsets/koi8u.xml from install of MariaDB-common-10.11.                                                                                                                                                             15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86                                                                                                                                                             _64
  file /usr/share/mysql/charsets/latin1.xml from install of MariaDB-common-10.11                                                                                                                                                             .15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x8                                                                                                                                                             6_64
  file /usr/share/mysql/charsets/latin2.xml from install of MariaDB-common-10.11                                                                                                                                                             .15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x8                                                                                                                                                             6_64
  file /usr/share/mysql/charsets/latin5.xml from install of MariaDB-common-10.11                                                                                                                                                             .15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x8                                                                                                                                                             6_64
  file /usr/share/mysql/charsets/latin7.xml from install of MariaDB-common-10.11                                                                                                                                                             .15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x8                                                                                                                                                             6_64
  file /usr/share/mysql/charsets/macce.xml from install of MariaDB-common-10.11.                                                                                                                                                             15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86                                                                                                                                                             _64
  file /usr/share/mysql/charsets/macroman.xml from install of MariaDB-common-10.                                                                                                                                                             11.15-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.                                                                                                                                                             x86_64
  file /usr/share/mysql/charsets/swe7.xml from install of MariaDB-common-10.11.1                                                                                                                                                             5-1.el9.x86_64 conflicts with file from package mysql-common-8.0.44-1.el9_7.x86_                                                                                                                                                             64
Title: Re: How I upgrade the MariaDB 10.5 to 10.6?
Post by: Starburst on January 12, 2026, 12:57:19 AM
That link you posted doesn't work with CWP and will just corrupt the server.

It's for installation on a base EL9 system without a control panel.

Title: Re: How I upgrade the MariaDB 10.5 to 10.6?
Post by: overseer on January 12, 2026, 02:25:51 AM
This is the link you want to share (how to upgrade to MariaDB 10.11 LTS):
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/
or
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/upgrade-mariadb-10-x-to-10-11-with-cwp-on-almalinux-9/
Title: Re: How I upgrade the MariaDB 10.5 to 10.6?
Post by: Starburst on January 12, 2026, 02:37:31 AM
From Insan3Us post they have already corrupted the CWP & the server by trying to remove MariaDB and re-install it like it's a bare EL9 server.

I hope that isn't the case, and they use the link above.
Title: Re: How I upgrade the MariaDB 10.5 to 10.6?
Post by: Insan3Us on January 12, 2026, 06:38:11 AM
This is the link you want to share (how to upgrade to MariaDB 10.11 LTS):
https://www.alphagnu.com/topic/23-upgrade-mariadb-1011-in-cwp-centos-7-centos-8-stream-almalinux-78-rockylinux-78/
or
https://starburst.help/control-web-panel-cwp/control-web-panel-cwp-admin-tutorials/upgrade-mariadb-10-x-to-10-11-with-cwp-on-almalinux-9/

Thank you,
I have a little problem, when I try to choose a mariadb version doesn't show anything https://mariadb.org/download/?t-repo-config :
https://ibb.co/6JnqYwWr

As a step it shows that I need to choose first "Choose a distribution: Red Hat Enterprise Linux 9 (To Match your version of AlmaLinux)" but doesn't show where to choose that one... I have Almalinux 9..
Title: Re: How I upgrade the MariaDB 10.5 to 10.6?
Post by: Insan3Us on January 12, 2026, 10:11:35 AM
I solved the issue.

I had to remove the followings:
rpm -e --nodeps "mysql-common-8.0.44-1.el9_7.x86_64"
and
rpm -e --nodeps "mariadb-backup-10.5.29-3.el9_7.x86_64"
After that just normal installation.
Thank you guys as always ready to help! :)