当前位置: 技术问答>linux和unix
安装apache的一个rpm包的问题
来源: 互联网 发布时间:2016-11-03
本文导语: 我下载了一个httpd-2.2.3-1.i386.rpm 在这里下载的http://www.apache.org/dist/httpd/binaries/rpm/i386/ 然后安装的时候出现 [root@localhost lamp]# rpm -ivh httpd-2.2.3-1.i386.rpm warning: httpd-2.2.3-1.i386.rpm: V3 DSA signature: NOKEY, key ID 751d7f27 err...
我下载了一个httpd-2.2.3-1.i386.rpm
在这里下载的http://www.apache.org/dist/httpd/binaries/rpm/i386/
然后安装的时候出现
[root@localhost lamp]# rpm -ivh httpd-2.2.3-1.i386.rpm
warning: httpd-2.2.3-1.i386.rpm: V3 DSA signature: NOKEY, key ID 751d7f27
error: Failed dependencies:
apr >= 1.2.0 is needed by httpd-2.2.3-1.i386
apr-util >= 1.2.0 is needed by httpd-2.2.3-1.i386
libapr-1.so.0 is needed by httpd-2.2.3-1.i386
libaprutil-1.so.0 is needed by httpd-2.2.3-1.i386
libpq.so.3 is needed by httpd-2.2.3-1.i386
[root@localhost lamp]#
貌似是缺少了些依赖关系,一个httpd-2.2.3-1.i386.rpm文件是否能搞定,请问我还需下载什么包?
在这里下载的http://www.apache.org/dist/httpd/binaries/rpm/i386/
然后安装的时候出现
[root@localhost lamp]# rpm -ivh httpd-2.2.3-1.i386.rpm
warning: httpd-2.2.3-1.i386.rpm: V3 DSA signature: NOKEY, key ID 751d7f27
error: Failed dependencies:
apr >= 1.2.0 is needed by httpd-2.2.3-1.i386
apr-util >= 1.2.0 is needed by httpd-2.2.3-1.i386
libapr-1.so.0 is needed by httpd-2.2.3-1.i386
libaprutil-1.so.0 is needed by httpd-2.2.3-1.i386
libpq.so.3 is needed by httpd-2.2.3-1.i386
[root@localhost lamp]#
貌似是缺少了些依赖关系,一个httpd-2.2.3-1.i386.rpm文件是否能搞定,请问我还需下载什么包?
|
apr >= 1.2.0 is needed by httpd-2.2.3-1.i386
apr-util >= 1.2.0 is needed by httpd-2.2.3-1.i386
libapr-1.so.0 is needed by httpd-2.2.3-1.i386
libaprutil-1.so.0 is needed by httpd-2.2.3-1.i386
libpq.so.3 is needed by httpd-2.2.3-1.i386
这都是你需要的依赖文件
看来你还要装apr对应的包
apr-util >= 1.2.0 is needed by httpd-2.2.3-1.i386
libapr-1.so.0 is needed by httpd-2.2.3-1.i386
libaprutil-1.so.0 is needed by httpd-2.2.3-1.i386
libpq.so.3 is needed by httpd-2.2.3-1.i386
这都是你需要的依赖文件
看来你还要装apr对应的包
|
error: Failed dependencies:
apr = 1.2.7-11 is needed by apr-devel-1.2.7-11.i386
gcc = 4.1.1 is needed by apr-devel-1.2.7-11.i386
libapr-1.so.0 is needed by apr-devel-1.2.7-11.i386
-------------------------
既然你要用rpm包安装 出现这一堆的依赖问题是正常现象
缺什么你就要先安装什么
apr = 1.2.7-11 is needed by apr-devel-1.2.7-11.i386
gcc = 4.1.1 is needed by apr-devel-1.2.7-11.i386
libapr-1.so.0 is needed by apr-devel-1.2.7-11.i386
-------------------------
既然你要用rpm包安装 出现这一堆的依赖问题是正常现象
缺什么你就要先安装什么