我正在尝试在 Media Temple (dv4) 上的 CentOS 服务器上安装 phusion Passenger。但是,当我尝试安装 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)
好像我遗漏了httpd=2.2.3-53.el5.centos.3
,但我不知道如何找出我当前的版本,以及如何更新它。
答案1
您混合安装了 32 位和 64 位库,有时开发库会发生冲突,因为它们想要安装 x86_64 和 .i386 版本所共有的文件。(并且大概有两个 httpd 包会发生冲突,因为它们想要监听同一个端口,但我没有尝试过...;-)
首先尝试安装 64 位或 32 位依赖项,然后帮助 Phusion 安装程序。
yum -y install httpd-devel.x86_64 httpd.x86_64
如果这不起作用,您应该尝试通过拱门来安装正确的乘客。
yum -y install mod_passenger.x64_64