安装httpd-devel的问题

我试图在Media Temple(dv4)的CentOS服务器上安装phusion乘客。 不过,在尝试安装httpd-devel时,我有3个缺失的依赖关系。

--> Missing Dependency: httpd = 2.2.3-53.el5.centos.3 is needed by package httpd-devel-2.2.3-53.el5.centos.3.i386 (updates) httpd-devel-2.2.3-53.el5.centos.3.x86_64 from updates has depsolving problems --> Missing Dependency: httpd = 2.2.3-53.el5.centos.3 is needed by package httpd-devel-2.2.3-53.el5.centos.3.x86_64 (updates) Error: Missing Dependency: httpd = 2.2.3-53.el5.centos.3 is needed by package httpd-devel-2.2.3-53.el5.centos.3.i386 (updates) Error: Missing Dependency: httpd = 2.2.3-53.el5.centos.3 is needed by package httpd-devel-2.2.3-53.el5.centos.3.x86_64 (updates) 

似乎我缺lesshttpd=2.2.3-53.el5.centos.3 ,但我不知道如何找出我现有的版本,以及如何更新它。

你已经混合安装了32位和64位的lib库,有时候devel库会发生冲突,因为他们想要安装x86_64和.i386版本都通用的文件。 (大概有2个httpd软件包会冲突,因为他们想听同一个端口,但我没有试过… 😉

首先尝试安装64位或32位的依赖关系,所以请帮助安装phusion。

 yum -y install httpd-devel.x86_64 httpd.x86_64 

如果这不起作用,你应该试着通过拱门来安装正确的乘客。

 yum -y install mod_passenger.x64_64