ChrisUpjohn

Member
Mar 13, 2013
5
0
1
cPanel Access Level
Root Administrator
Hi everyone,

I'm still learning about RPM so hopefully I get the issue through without needing tech support, basically the last couple of runs of the cPanel update have been giving me issues with a MySQL repo but I have been unable to actually work it out even though the log supplies me with the information to fix it.

The following is the error in the update log:
[20130314.112655] file /usr/lib64/libmysqlclient.so.16.0.0 from install of MySQL51-shared-5.1.68-1.cp1136.x86_64 conflicts with file from package MySQL-shared-compat-6.0.11-0.rhel5.x86_64
[20130314.112655] file /usr/lib64/libmysqlclient_r.so.16.0.0 from install of MySQL51-shared-5.1.68-1.cp1136.x86_64 conflicts with file from package MySQL-shared-compat-6.0.11-0.rhel5.x86_64
[20130314.112655] W Exit Code: 254
[20130314.112655] ***** FATAL: Test install failed: file /usr/lib64/libmysqlclient.so.16.0.0 from install of MySQL51-shared-5.1.68-1.cp1136.x86_64 conflicts with file from package MySQL-shared-compat-6.0.11-0.rhel5.x86_64
[20130314.112655] file /usr/lib64/libmysqlclient_r.so.16.0.0 from install of MySQL51-shared-5.1.68-1.cp1136.x86_64 conflicts with file from package MySQL-shared-compat-6.0.11-0.rhel5.x86_64
I have read all about fixing RPM issues here but to no avail have been able to fix my problem, I have tried the following command but it doesn't list anything for me.

Code:
rpm -qa|grep mysql-5
Hopefully someone can give me some insight before I open a support ticket as I'm just totally lost with RPM at the moment.

Cheers,
Chris

PS: This is my first year as been my own root administrator for a server so I'm still trying to pack in as much learning as I possibly can.
 

NixTree

Well-Known Member
Aug 19, 2010
413
5
143
Gods Own Country
cPanel Access Level
Root Administrator
Twitter
The conflicting package is MySQL-shared-compat-6.0.11-0.rhel5.x86_64 . YOu can rewrite your rpm command as "rpm -qa | grep -i mysql" which will list all "mysql" related rpms ( + rpms like php-mysql if installed - shouldn't listed that package on cPanel server though ). Remove it and run fixrpm script ( /usr/local/cpanel/scripts/check_cpanel_rpms --fix )again.
 

tonyFF

Registered
Aug 25, 2005
2
0
151
I had a similar issue. I only ran "/usr/local/cpanel/scripts/check_cpanel_rpms --fix" and then upcp ran ok without issue.