Symptoms
Nightly cPanel update fail with mysql-common-8.0.43-1.el9_6.x86_64 package conflicts similar to the following:
[2025-11-18 02:40:19 +0000] [/usr/local/cpanel/scripts/update-packages] Running transaction test
[2025-11-18 02:40:19 +0000] [/usr/local/cpanel/scripts/update-packages] The downloaded packages were saved in cache until the next successful transaction.
[2025-11-18 02:40:19 +0000] [/usr/local/cpanel/scripts/update-packages] You can remove cached packages by executing 'yum clean packages'.
[2025-11-18 02:40:19 +0000] [/usr/local/cpanel/scripts/update-packages] Error: Transaction test error:
[2025-11-18 02:40:19 +0000] [/usr/local/cpanel/scripts/update-packages] file /usr/share/mysql/charsets/Index.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
[2025-11-18 02:40:19 +0000] [/usr/local/cpanel/scripts/update-packages] file /usr/share/mysql/charsets/armscii8.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
[2025-11-18 02:40:19 +0000] [/usr/local/cpanel/scripts/update-packages] file /usr/share/mysql/charsets/ascii.xml from install of mysql-common-8.0.43-1.el9_6.x86_64 conflicts with file from package MariaDB-common-10.11.15-1.el9.x86_64
Cause
The perl-DBD-MySQL package updated, which requires mysql-common to also be installed on the same system. This conflicts with servers that are running MariaDB. This is being tracked with case CPANEL-50477.
Resolution
Remove the perl-DBD-MySQL package and install perl-DBD-MariaDB:
# dnf remove perl-DBD-MySQL
# dnf install perl-DBD-MariaDB
Comments
0 comments
Article is closed for comments.