当我尝试跑步
yum安装php-mssql
我得到以下错误
--> Processing Conflict: mysql conflicts MySQL --> Processing Conflict: mysql-server conflicts MySQL-server --> Finished Dependency Resolution mysql-5.0.45-7.el5.x86_64 from installed has depsolving problems --> mysql conflicts with mysql mysql-server-5.0.45-7.el5.x86_64 from installed has depsolving problems --> mysql-server conflicts with mysql-server Error: mysql conflicts with mysql Error: mysql-server 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
它开始
Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * atomic: www7.atomicorp.com * epel: mirror.fraunhofer.de
当我跑步
package-cleanup –dupes | grep mysql
mysql-server-5.0.90-1.el5.art.x86_64 mysql-server-5.0.45-7.el5.x86_64 mysql-5.0.90-1.el5.art.x86_64 mysql-5.0.45-7.el5.x86_64
我想安装mssql包,但它看起来像有一个问题与MySQL? 我可以卸载mysql-server-5.0.45-7.el5.x86_64和mysql-5.0.45-7.el5.x86_64吗?
请指教。
问题是你有一个非centos版本的MySQL安装,它抱怨的冲突。
rpm -qa | grep MySQL
看看你是否也安装了。 还有@奎因的post
该消息使得它看起来像5.0.90是预先安装的,问题是得到旧版本。 无论如何,你可以像这样删除软件包:
rpm -ev mysql-server-5.0.45-7.el5.x86_64 rpm -ev mysql-5.0.45-7.el5.x86_64
之后你应该可以运行安装。
奎因是有帮助的,我试过了
yum删除mysql-5.0.45-7.el5.x86_64
它删除了这两个包。 现在当我尝试
yum安装php-mssql
---> Package mysql-server.x86_64 0:5.5.25-7.el5.art set to be updated --> Processing Dependency: mysql = 5.5.25-7.el5.art for package: mysql-server Error: No Package Matching 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