23,128
社区成员
发帖
与我相关
我的任务
分享
[root@localhost src]# yum -y install mysql-5.0.77-4.el5_5.3.i386
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* addons: mirrors.163.com
* base: centos.tt.co.kr
* extras: mirrors.163.com
* updates: ftp.iij.ad.jp
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_5.3 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_5.3.i386 from updates has depsolving problems
--> mysql conflicts with MySQL-server
Error: mysql conflicts with MySQL-server
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
The program package-cleanup is found in the yum-utils package.
[root@localhost src]# rpm -e MySQL-client-community-5.1.52-1.rhel5.i386.rpm
error: package MySQL-client-community-5.1.52-1.rhel5.i386.rpm is not installed
[root@localhost src]# rpm -e MySQL-server-5.5.6_rc-1.rhel5.i386.rpm
error: package MySQL-server-5.5.6_rc-1.rhel5.i386.rpm is not installed
[root@localhost src]# rpm -q MySQL-server-5.5.6_rc-1.rhel5.i386.rpm
package MySQL-server-5.5.6_rc-1.rhel5.i386.rpm is not installed
[root@localhost src]# rpm -ivh MySQL-server-5.5.6_rc-1.rhel5.i386.rpm
warning: MySQL-server-5.5.6_rc-1.rhel5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 5072e1f5
Preparing... ########################################### [100%]
package MySQL-server-5.5.6_rc-1.rhel5.i386 is already installed