PDA

View Full Version : Update via Yum shows mysql-libs conflict



letsyo
19th August 2010, 12:05 PM
While updating the following


kdebase-libs Runtime libraries for kdebase New version 4.4.5-1.fc12 Updates
kdebase-runtime K Desktop Environment - Runtime New version 4.4.5-1.fc12 Updates
kdebase-runtime-libs Runtime libraries for kdebase-runtime New version 4.4.5-1.fc12 Updates
kdebase-workspace K Desktop Environment - Workspace New version 4.4.5-1.fc12 Updates
kdebase-workspace-libs

via yum and Webmin I get the following errors and the install/upgrade fails

Transaction Check Error:
file /usr/share/mysql/charsets/README from install of mysql-libs-5.1.47-2.fc12.i686 conflicts with file from package MySQL-server-5.1.43-1.glibc23.i386
file /usr/share/mysql/charsets/Index.xml from install of mysql-libs-5.1.47-2.fc12.i686 conflicts with file from package MySQL-server-5.1.43-1.glibc23.i386
file /usr/share/mysql/charsets/armscii8.xml from install of mysql-libs-5.1.47-2.fc12.i686 conflicts with file from package MySQL-server-5.1.43-1.glibc23.i386
file /usr/share/mysql/charsets/ascii.xml from install of mysql-libs-5.1.47-2.fc12.i686 conflicts with file from package MySQL-server-5.1.43-1.glibc23.i386

(many more such lines...)

I have MySQL installed.

Please help.
Thank You!

leigh123linux
19th August 2010, 12:12 PM
Remove this as it isn't a fedora package, then try again.



su
rpm -e MySQL-server-5.1.43-1.glibc23.i386

letsyo
19th August 2010, 12:55 PM
Thanks for the reply.
If I remove the said package then will it affect MySQL server? MySQL is needed for my work so cannot afford to remove it. Is there any other way of resolving this conflict?

Thanks!

leigh123linux
19th August 2010, 01:19 PM
Thanks for the reply.
If I remove the said package then will it affect MySQL server? MySQL is needed for my work so cannot afford to remove it. Is there any other way of resolving this conflict?

Thanks!


No!


Install the fedora provided mysql-server instead


su
yum install mysql-server

letsyo
19th August 2010, 02:26 PM
I got the following msg on yum install mysql-server

--> Running transaction check
---> Package mysql-server.i686 0:5.1.47-2.fc12 set to be updated
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16) for package: mysql-server-5.1.47-2.fc12.i686
--> Processing Dependency: libmysqlclient.so.16 for package: mysql-server-5.1.47-2.fc12.i686
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16) for package: mysql-server-5.1.47-2.fc12.i686
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.47-2.fc12.i686
--> Processing Dependency: libmysqlclient_r.so.16 for package: mysql-server-5.1.47-2.fc12.i686
--> Running transaction check
---> Package mysql-libs.i686 0:5.1.47-2.fc12 set to be updated
---> Package perl-DBD-MySQL.i686 0:4.016-1.fc12 set to be updated
--> Processing Conflict: mysql-server-5.1.47-2.fc12.i686 conflicts MySQL-server
--> Finished Dependency Resolution
Error: mysql-server conflicts with MySQL-server
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Just one question. If I reinstall mysql-server what will happen of my databases? I mean I have a lot of software running on my server machine each having its own database. Is there any way of keeping everything? Wait a minute..... I think I can take and restore mysql backups!
If I run rpm -e MySQL-server-5.1.43-1.glibc23.i386 will it also remove all those software which are dependent on MySQL as well?

thanks for everything! :)

leigh123linux
19th August 2010, 03:55 PM
I got the following msg on yum install mysql-server

--> Running transaction check
---> Package mysql-server.i686 0:5.1.47-2.fc12 set to be updated
--> Processing Dependency: libmysqlclient_r.so.16(libmysqlclient_16) for package: mysql-server-5.1.47-2.fc12.i686
--> Processing Dependency: libmysqlclient.so.16 for package: mysql-server-5.1.47-2.fc12.i686
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16) for package: mysql-server-5.1.47-2.fc12.i686
--> Processing Dependency: perl-DBD-MySQL for package: mysql-server-5.1.47-2.fc12.i686
--> Processing Dependency: libmysqlclient_r.so.16 for package: mysql-server-5.1.47-2.fc12.i686
--> Running transaction check
---> Package mysql-libs.i686 0:5.1.47-2.fc12 set to be updated
---> Package perl-DBD-MySQL.i686 0:4.016-1.fc12 set to be updated
--> Processing Conflict: mysql-server-5.1.47-2.fc12.i686 conflicts MySQL-server
--> Finished Dependency Resolution
Error: mysql-server conflicts with MySQL-server
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

Just one question. If I reinstall mysql-server what will happen of my databases? I mean I have a lot of software running on my server machine each having its own database. Is there any way of keeping everything? Wait a minute..... I think I can take and restore mysql backups!
If I run rpm -e MySQL-server-5.1.43-1.glibc23.i386 will it also remove all those software which are dependent on MySQL as well?

thanks for everything! :)

Removing mysql-server shouldn't remove the database ( back it up anyway ).


Try


rpm -e MySQL-server-5.1.43-1.glibc23.i386 --nodeps

letsyo
20th August 2010, 10:12 AM
I removed MySQL (without taking backup:cool:)
Reinstalled it via 'Add/Remove Software' option. Everything worked fine. All my databases were just fine! :D
Thanks for all the help.
(after reinstallation I had to manually start it and set it to start up at boot time automatically)