当我执行yum list httpd时,将返回以下版本:
httpd.x86_64 1:2.2.22-12053112
当我尝试执行yum install httpd-devel时,会得到如下所示的依赖项错误:
httpd-devel-2.2.3-65.el5.centos.3.x86_64 from updates has depsolving problems
--> Missing Dependency: httpd = 2.2.3-65.el5.centos.3 is needed by package httpd-devel-2.2.3-65.el5.centos.3.x86_64 (updates)
Error: Missing Dependency: httpd = 2.2.3-65.el5.centos.3 is needed by package httpd-devel-2.2.3-65.el5.centos.3.x86_64 (updates)这是在中间的DV 4上。
下面是yum repolist的输出:
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirrors.lga7.us.voxel.net
* extras: mirrors.lga7.us.voxel.net
* updates: mirror.atlanticmetro.net
base | 1.1 kB 00:00
base/primary | 1.2 MB 00:00
base 3591/3591
extras | 2.1 kB 00:00
extras/primary_db | 207 kB 00:00
updates | 1.9 kB 00:00
updates/primary_db | 1.0 MB 00:00
repo id repo name status
base CentOS-5 - Base 3,591
extras CentOS-5 - Extras 279
updates CentOS-5 - Updates 1,215我想我在这方面取得了一些进展。我在plesk论坛上发现了这个,因为中间dv的运行plesk。
我在/etc/yum.repo.d/中创建了一个存储库文件,内容如下。
[Plesk-Apache]
name=Plesk Apache
baseurl=http://autoinstall.plesk.com/APACHE_2.2.21/dist-rpm-CentOS-5-x86_64/
enabled=1发布于 2013-01-15 18:14:46
您已经安装了第三方存储库webtatic,错误抱怨来自该存储库的包丢失。
有时,当本地缓存与存储库的状态不同步时,就会发生这种情况,在这种情况下,您可以只
yum clean all再试一次。
如果这不能解决问题,那么您应该联系第三方存储库的维护人员来报告问题。
https://serverfault.com/questions/469245
复制相似问题