Yum 安装错误(mysql-devel)depsolve

Yum 安装错误(mysql-devel)depsolve

我在 yum install mysql-devel 时收到以下错误。有人能帮忙吗?我的 /etc/yum.conf 排除列表中没有这个。

--> Finished Dependency Resolution
mysql-server-5.0.45-7.el5.x86_64 from installed has depsolving problems
  --> Missing Dependency: mysql = 5.0.45-7.el5 is needed by package mysql-server-5.0.45-7.el5.x86_64 (installed)
Error: Missing Dependency: mysql = 5.0.45-7.el5 is needed by package mysql-server-5.0.45-7.el5.x86_64 (installed)
 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

请帮忙!

答案1

我会尝试的事情:

yum clean all ; yum install mysql-devel

如果这是您所使用的 yum repo 的间歇性问题,那么这可以解决它。

rpm -qa ^mysql\*

也可能您安装了相同软件包的重复副本。当发生这种情况时,我看到了与您描述的非常相似的错误。

相关内容