ChildOTK

Member
Aug 2, 2011
18
0
51
Good Day,

I was wondering if somebody could please help me with the following problem. For the last several days I have received an error email from a server which states there was errors updating the system.

I tried to manually update using yum update and this is what I get:

Code:
Excluding Packages in global exclude list
Finished
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package MySQL-python.x86_64 0:1.2.3-0.1.c1.el5 set to be updated
--> Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) for package: MySQL-python
--> Processing Dependency: libmysqlclient_r.so.15()(64bit) for package: MySQL-python
--> Finished Dependency Resolution
MySQL-python-1.2.3-0.1.c1.el5.x86_64 from base has depsolving problems
  --> Missing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
MySQL-python-1.2.3-0.1.c1.el5.x86_64 from base has depsolving problems
  --> Missing Dependency: libmysqlclient_r.so.15()(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
Error: Missing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
Error: Missing Dependency: libmysqlclient_r.so.15()(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest
Can anybody please shed some light?

Thank you!
 

ES - George

Well-Known Member
PartnerNOC
Jun 12, 2011
179
25
68
UK
cPanel Access Level
DataCenter Provider
Twitter

ChildOTK

Member
Aug 2, 2011
18
0
51
I did try that and it did some updates, but when I do the same thing again, i.e. --skip-broken, I get the same error unfortunately.
 

arunsv84

Well-Known Member
Oct 20, 2008
373
1
68
127.0.0.1
cPanel Access Level
Root Administrator
Try this...

yum clean all
after that

yum clean metadata
Now run

yum -y update
Cheers!!!

- - - Updated - - -

If the above is not working try this as well...

https://gettechgo.wordpress.com/2012/12/03/failed-dependency-libmysqlcliet-so-16/

Cheers!!!
 

ChildOTK

Member
Aug 2, 2011
18
0
51
That didn't work either...

When I install that RPM I get:


Preparing... ########################################### [100%]
file /usr/lib64/libmysqlclient.so.16.0.0 from install of MySQL-shared-compat-5.1.49-1.rhel5.x86_64 conflicts with file from package MySQL-shared-5.1.68-0.cloud.x86_64
file /usr/lib64/libmysqlclient_r.so.16.0.0 from install of MySQL-shared-compat-5.1.49-1.rhel5.x86_64 conflicts with file from package MySQL-shared-5.1.68-0.cloud.x86_64
Edit:

I am not sure why the 'cloud' version is installed, I do have CentOS...so I would imagine the rhel should be the correct one, but several cloud versions appear to be installed...

Code:
yum list | grep MySQL
MySQL-client.x86_64                       5.1.68-0.cloud              installed
MySQL-devel.x86_64                        5.1.68-0.cloud              installed
MySQL-python.x86_64                       1.2.1-1                     installed
MySQL-server.x86_64                       5.1.68-0.cloud              installed
MySQL-shared.x86_64                       5.1.68-0.cloud              installed
MySQL-test.x86_64                         5.1.68-0.cloud              installed
perl-DBD-MySQL.x86_64                     3.0007-2.el5                installed
- - - Updated - - -

Okay, so I did this:

Code:
yum remove MySQL-shared
Then I retried the rpm installation, and it worked!

I then tried my yum update and it now works perfectly! Everything is up to date now!

Thank you so much for your help arunsv84!