我有一个安装了plesk 11.0.9的中等dv 4。
当我运行yum install httpd-devel时,我得到以下内容
httpd-devel-2.2.3-76.el5.centos.x86_64 from updates has depsolving problems --> Missing Dependency: httpd = 2.2.3-76.el5.centos is needed by package httpd-devel-2.2.3-76.el5.centos.x86_64 (updates) Error: Missing Dependency: httpd = 2.2.3-76.el5.centos is needed by package httpd-devel-2.2.3-76.el5.centos.x86_64 (updates)
这是安装的httpd版本:
* atomic: www6.atomicorp.com * base: mirror.symnds.com * extras: centos.aol.com * updates: mirror.lug.udel.edu Installed Packages Name : httpd Arch : x86_64 Epoch : 1 Version : 2.2.22 Release : 12053112 Size : 3.5 M Repo : installed Summary : The Apache HTTP Server License : Apache Software License Description: The Apache HTTP Server is a powerful, efficient, and extensible : web server.
我怎样才能得到正确版本的httpd-devel去与这个版本的httpd?
您的服务器安装了一个httpd软件包,它与您当前拥有的任何软件仓库中的软件不匹配。 它也比你目前任何一个版本库都要新。 有趣的是,它的来源没有在你的yum info输出中find。 您可以使用rpm -qi httpdfind有关该软件包的更多信息。
要解决这个问题,你可以做两件事情之一:
摆脱任何已安装的软件包,这些软件包与安装的存储库不匹配,并将系统的已安装软件包重新同步到可用的软件包。 这可以用一个命令完成:
yum distro-sync
发现你有的httpd软件包的来源,然后安装该软件仓库的configuration。 这可能会更困难。