RPM Dependency error when trying to upgrade to 11.50.10

wrender

Well-Known Member
Sep 29, 2007
69
3
58
I am getting the following error when upgrading. We run MariaDB, so should this upgrade not take that into account?

Code:
[2015-06-15 17:17:08 -0600]   All files Staged
[2015-06-15 17:17:08 -0600]   Testing if the newly downloaded RPMS can be installed without conflict
[2015-06-15 17:17:08 -0600]   Testing RPM transaction
[2015-06-15 17:17:08 -0600]   error: Failed dependencies:
[2015-06-15 17:17:08 -0600] 	MySQL-client is needed by cpanel-php54-horde-5.1.4-11.cp1150.noarch
[2015-06-15 17:17:08 -0600] 	MySQL-server is needed by cpanel-php54-horde-5.1.4-11.cp1150.noarch
[2015-06-15 17:17:08 -0600] 	MySQL-server is needed by cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64
[2015-06-15 17:17:08 -0600] 	MySQL-client is needed by cpanel-php54-webmail-5.1.1-1.cp1150.noarch
[2015-06-15 17:17:08 -0600] 	MySQL-server is needed by cpanel-php54-webmail-5.1.1-1.cp1150.noarch
[2015-06-15 17:17:08 -0600] W Exit Code: 187
[2015-06-15 17:17:08 -0600] ***** FATAL: Test install failed: error: Failed dependencies:
[2015-06-15 17:17:08 -0600] 	MySQL-client is needed by cpanel-php54-horde-5.1.4-11.cp1150.noarch
[2015-06-15 17:17:08 -0600] 	MySQL-server is needed by cpanel-php54-horde-5.1.4-11.cp1150.noarch
[2015-06-15 17:17:08 -0600] 	MySQL-server is needed by cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64
[2015-06-15 17:17:08 -0600] 	MySQL-client is needed by cpanel-php54-webmail-5.1.1-1.cp1150.noarch
[2015-06-15 17:17:08 -0600] 	MySQL-server is needed by cpanel-php54-webmail-5.1.1-1.cp1150.noarch
[2015-06-15 17:17:08 -0600]   The Administrator will be notified to review this output when this script completes
[2015-06-15 17:17:08 -0600] ***** FATAL: Error testing if the RPMs will install: Test install failed: error: Failed dependencies:
[2015-06-15 17:17:08 -0600] 	MySQL-client is needed by cpanel-php54-horde-5.1.4-11.cp1150.noarch
[2015-06-15 17:17:08 -0600] 	MySQL-server is needed by cpanel-php54-horde-5.1.4-11.cp1150.noarch
[2015-06-15 17:17:08 -0600] 	MySQL-server is needed by cpanel-perl-514-munin-1.4.7-1.cp1150.x86_64
[2015-06-15 17:17:08 -0600] 	MySQL-client is needed by cpanel-php54-webmail-5.1.1-1.cp1150.noarch
[2015-06-15 17:17:08 -0600] 	MySQL-server is needed by cpanel-php54-webmail-5.1.1-1.cp1150.noarch
[2015-06-15 17:17:08 -0600]   see http://go.cpanel.net/rpmcheckfailed for more information
[2015-06-15 17:17:08 -0600]   The Administrator will be notified to review this output when this script completes
=> Log closed Mon Jun 15 17:17:08 2015
 

wrender

Well-Known Member
Sep 29, 2007
69
3
58
It looks like this problem is maybe related to cloudlinux.

Code:
Starting process with log file at /var/cpanel/logs/mysql_upgrade.20150615-183924/unattended_upgrade.log
Beginning “MariaDB 10.0” upgrade...
Obtained version information from system.
Ensuring the “MariaDB100” repository is available and working.
checkyum version 22.3
Ensuring that the package “MariaDB-client” with version matching “10.0” is available.
Ensuring that the package “MariaDB-common” with version matching “10.0” is available.
Ensuring that the package “MariaDB-devel” with version matching “10.0” is available.
Ensuring that the package “MariaDB-server” with version matching “10.0” is available.
Ensuring that the package “MariaDB-shared” with version matching “10.0” is available.
Ensuring that the package “coreutils” is available.
Ensuring that the package “grep” is available.
Ensuring that the package “procps” is available.
Ensuring that the package “shadow-utils” is available.
The “MariaDB100” repository is available and working.
Installing pre-known MariaDB dependencies.
Loaded plugins: auto-update-debuginfo, fastestmirror, rhnplugin
Setting up Install Process
Loading mirror speeds from cached hostfile
* cloudlinux-x86_64-server-6: xmlrpc.cln.cloudlinux.com
Package grep-2.6.3-6.el6.cloudlinux.x86_64 already installed and latest version
Package 2:shadow-utils-4.1.4.2-19.el6_6.1.x86_64 already installed and latest version
Package procps-3.2.8-30.el6.x86_64 already installed and latest version
Package coreutils-8.4-37.el6.x86_64 already installed and latest version
Nothing to do
Installed pre-known MariaDB dependencies.
Ensuring MariaDB RPMs for version “10.0”.
Verifying that the MariaDB packages can be installed by doing a test install.
checkyum version 22.3
Loaded plugins: auto-update-debuginfo, fastestmirror, rhnplugin
Setting up Install Process
Loading mirror speeds from cached hostfile
* cloudlinux-x86_64-server-6: xmlrpc.cln.cloudlinux.com
Resolving Dependencies
--> Running transaction check
---> Package MariaDB-client.x86_64 0:10.0.19-1.el6 will be installed
---> Package MariaDB-common.x86_64 0:10.0.19-1.el6 will be installed
---> Package MariaDB-devel.x86_64 0:10.0.19-1.el6 will be installed
---> Package MariaDB-server.x86_64 0:10.0.19-1.el6 will be installed
---> Package MariaDB-shared.x86_64 0:10.0.19-1.el6 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
MariaDB-client x86_64 10.0.19-1.el6 MariaDB100 11 M
MariaDB-common x86_64 10.0.19-1.el6 MariaDB100 23 k
MariaDB-devel x86_64 10.0.19-1.el6 MariaDB100 6.6 M
MariaDB-server x86_64 10.0.19-1.el6 MariaDB100 57 M
MariaDB-shared x86_64 10.0.19-1.el6 MariaDB100 1.3 M

Transaction Summary
================================================================================
Install 5 Package(s)

Total download size: 76 M
Installed size: 328 M
Downloading Packages:
--------------------------------------------------------------------------------
Total 1.1 MB/s | 76 MB 01:10 
Running rpm_check_debug
Running Transaction Test
The system failed to execute yum with the arguments “-y -c /var/tmp/1003192.WHOSTMGR_BIN_WHOSTMGR_PL__.n_A4WnrY7A3Xf7B9.tmp -x MariaDB-compat install MariaDB-server MariaDB-client MariaDB-devel MariaDB-shared MariaDB-common” because of an error: The “/usr/bin/yum” command (process 1004907) reported the “EPERM” (1) error when it ended. : 

Transaction Check Error:
file /etc/my.cnf from install of MariaDB-common-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/czech/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/danish/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/dutch/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/english/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/estonian/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/french/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/german/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/greek/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/hungarian/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/italian/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/japanese/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/korean/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/norwegian-ny/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/norwegian/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/polish/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/portuguese/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/romanian/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/russian/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/serbian/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/slovak/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/spanish/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/swedish/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64
file /usr/share/mysql/ukrainian/errmsg.sys from install of MariaDB-server-10.0.19-1.el6.x86_64 conflicts with file from package cl-MariaDB100-libs-10.0.15-14.el6.cloudlinux.x86_64

Error Summary
-------------
Restarting mysql service.
Waiting for “mysql” to restart ……waiting for “mysql” to initialize ……
…finished.

[1mService Status[0m
mysql (/usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=/var/lib/mysql/ns1.otherdatanetworks.com.err --open-files-limit=23000 --pid-file=/var/lib/mysql/ns1.otherdatanetworks.com.pid) is running as mysql with PID 1006356 (pidfile check method).

[1mStartup Log[0m
Starting MySQL. SUCCESS! 

[1mLog Messages[0m
150615 18:40:57 [Note] /usr/sbin/mysqld: ready for connections.
150615 18:40:57 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
150615 18:40:56 mysqld_safe mysqld from pid file /var/lib/mysql/ns1.otherdatanetworks.com.pid ended
150615 18:40:56 [Note] /usr/sbin/mysqld: Shutdown complete
150615 18:40:54 [Note] /usr/sbin/mysqld: Normal shutdown

[1;32mmysql restarted successfully.[0m
The preinstall check failed. The install may have failed because system perl has been altered. MariaDB cannot be installed. at /usr/local/cpanel/Cpanel/MariaDB/Install.pm line 109.
 

wrender

Well-Known Member
Sep 29, 2007
69
3
58
I was able to get this working. I believe it had something to do with a partially installed cloudlinux mysql governor. I ran:

Code:
yum install governor-mysql
Code:
/usr/share/lve/dbgovernor/mysqlgovernor.py --deletel
(Which removed mysql governor).

Code:
rpm -qa | grep -i cl-MariaDB100-libs
(This package no longer was installed).

I then went into WHM -> MySQL/MariaDB Upgrade and it reported that a partial upgrade was in process. I finished the upgrade here and it downloaded and installed MariaBD 10.0.19 rpms properly.

I then went to WHM -> Upgrade to Latest Version and the upgrade completed properly.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,212
363
Hello,

I am happy to see the issue is now resolved. Thank you for updating us with the outcome.