Install (conflict) bitsCN.com in mysql in Linux
1. down error mysql version MySQL-server-community-5.0.67-0.rhel5.x86_64.rpm, installation error
2. install the version under the new down
Rpm-Uvh MySQL-server-community-5.0.67-0.rhel5.i386.rpm
The error is as follows:
Error: Failed dependencies:
MySQL conflicts with mysql-5.0.22-2.1.0.1.x86_64
MySQL conflicts with mysql-5.0.22-2.1.0.1.i386
MySQL-server conflicts with mysql-server-5.0.22-2.1.0.1.x86_64
Conflict with previous installed versions
3. view the previously installed mysql
Rpm-q mysql
Mysql-5.0.22-2.1.0.1
Mysql-5.0.22-2.1.0.1
4. delete
Rpm-e -- nodeps mysql-5.0.22-2.1.0.1
Error: "mysql-5.0.22-2.1.0.1" specifies multiple packages
Multiple named packages
5. delete all
Rpm-e -- allmatches mysql-5.0.22-2.1.0.1
The error is as follows:
Error: Failed dependencies:
Libmysqlclient. so.15 () (64bit) is needed by (installed) perl-DBD-MySQL-3.0007-1.fc6.x86_64
Libmysqlclient. so.15 () (64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64
Libmysqlclient. so.15 () (64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64
Libmysqlclient. so.15 () (64bit) is needed by (installed) dovecot-1.0-1.2.rc15.el5.x86_64
Libmysqlclient. so.15 () (64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64
Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) perl-DBD-MySQL-3.0007-1.fc6.x86_64
Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64
Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64
Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) dovecot-1.0-1.2.rc15.el5.x86_64
Libmysqlclient. so.15 (libmysqlclient_15) (64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64
Libmysqlclient_r.so.15 () (64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64
Libmysqlclient_r.so.15 () (64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64
Libmysqlclient_r.so.15 () (64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64
Libmysqlclient_r.so.15 (libmysqlclient_15) (64bit) is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64
Libmysqlclient_r.so.15 (libmysqlclient_15) (64bit) is needed by (installed) MySQL-python-1.2.1-1.x86_64
Libmysqlclient_r.so.15 (libmysqlclient_15) (64bit) is needed by (installed) mysql-connector-odbc-3.51.12-2.2.x86_64
Mysql = 5.0.22-2.1.0.1 is needed by (installed) mysql-server-5.0.22-2.1.0.1.x86_64
Mysql is needed by (installed) MySQL-python-1.2.1-1.x86_64
Mysql is needed by (installed) libdbi-dbd-mysql-0.8.1a-1.2.2.x86_64
6. Solution
Rpm e perl-DBD-MySQL-3.0007-1.fc6.x86_64
......
Related files are deleted one by one, and then run the rpm-e -- allmatches mysql-5.0.22-2.1.0.1
Successful
7. install the version under the new down
Rpm-Uvh MySQL-server-community-5.0.67-0.rhel5.i386.rpm
Successful
It's really not easy. if you encounter the same situation, you can refer
BitsCN.com