免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2454 | 回复: 6
打印 上一主题 下一主题

[Web] 紧急求助:apche rpm方式安装包的依赖问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-01-20 01:04 |只看该作者 |倒序浏览
redhat as 4 up3版本,选择安装包时候选择最小值安装;后想在上面装apache,提示如下:
在安装了apr和apr-util后,安装httpd-2.0.52-22.ent.i386.rpm和httpd-suexec-2.0.52-22.ent.i386.rpm报相互依赖,无法继续安装,详细提示如下:请帮忙,多谢!
[root@test]# rpm -ivh apr-0.9.4-24.5.i386.rpm
warning: apr-0.9.4-24.5.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
   1:apr                    ########################################### [100%]
[[root@test]# rpm -ivh apr-util-0.9.4-21.i386.rpm
warning: apr-util-0.9.4-21.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing...                ########################################### [100%]
   1:apr-util               ########################################### [100%]
[root@test]# rpm -ivh httpd-2.0.52-22.ent.i386.rpm
warning: httpd-2.0.52-22.ent.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        httpd-suexec is needed by httpd-2.0.52-22.ent.i386
    Suggested resolutions:
        httpd-suexec-2.0.52-22.ent.i386.rpm
[root@test]# rpm -ivh httpd-suexec-2.0.52-22.ent.i386.rpm
warning: httpd-suexec-2.0.52-22.ent.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        httpd = 2.0.52-22.ent is needed by httpd-suexec-2.0.52-22.ent.i386
    Suggested resolutions:
        httpd-2.0.52-22.ent.i386.rpm

论坛徽章:
0
2 [报告]
发表于 2007-01-20 01:08 |只看该作者
原帖由 ljx96021 于 2007-1-20 01:04 发表于 1楼  
redhat as 4 up3版本,选择安装包时候选择最小值安装;后想在上面装apache,提示如下:
在安装了apr和apr-util后,安装httpd-2.0.52-22.ent.i386.rpm和httpd-suexec-2.0.52-22.ent.i386.rpm报相互依赖,无法继 ...


一起安裝上即可。

  1. rpm -ihv a.rpm b.rpm ..
复制代码


--

论坛徽章:
0
3 [报告]
发表于 2007-01-20 10:44 |只看该作者

回复 #2 kenduest 的帖子

最小化安装本来就做服务器用,不想安装那么多包,只安装需要的。

论坛徽章:
0
4 [报告]
发表于 2007-01-20 11:28 |只看该作者
原帖由 ljx96021 于 2007-1-20 10:44 发表于 3楼  
最小化安装本来就做服务器用,不想安装那么多包,只安装需要的。




我不大懂你實際上要表示的意思. 但是你要把 httpd 與 httpd-suexec 這兩個軟件包同時安裝上就可以解決相依性了

--

论坛徽章:
0
5 [报告]
发表于 2007-01-24 15:12 |只看该作者

是只想安装apche,不想安装rpm -ihv a.rpm b.rpm 。。。

是只想安装apche,不想安装rpm -ihv a.rpm b.rpm 。。。
[root@test]# rpm -ivh httpd-2.0.52-22.ent.i386.rpm
warning: httpd-2.0.52-22.ent.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        httpd-suexec is needed by httpd-2.0.52-22.ent.i386
    Suggested resolutions:
        httpd-suexec-2.0.52-22.ent.i386.rpm
[root@test]# rpm -ivh httpd-suexec-2.0.52-22.ent.i386.rpm
warning: httpd-suexec-2.0.52-22.ent.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        httpd = 2.0.52-22.ent is needed by httpd-suexec-2.0.52-22.ent.i386
    Suggested resolutions:
        httpd-2.0.52-22.ent.i386.rpm
安装其中一个提示另外一个,反之也这样,无法安装呢

论坛徽章:
1
狮子座
日期:2013-12-05 16:04:37
6 [报告]
发表于 2007-01-29 11:10 |只看该作者
这是包的依赖问题,你最好按照它提示所需要的包逐步安装。
如果你忽略这个安装的话,也可以,rpm -ivh 包名 -nodeps可以安装.

论坛徽章:
0
7 [报告]
发表于 2007-01-29 11:31 |只看该作者
原帖由 ljx96021 于 2007-1-24 15:12 发表于 5楼  
[root@test]# rpm -ivh httpd-2.0.52-22.ent.i386.rpm
warning: httpd-2.0.52-22.ent.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        httpd-suexec is needed by httpd-2.0.52-22.ent.i386
    Suggested resolutions:
        httpd-suexec-2.0.52-22.ent.i386.rpm
[root@test]# rpm -ivh httpd-suexec-2.0.52-22.ent.i386.rpm
warning: httpd-suexec-2.0.52-22.ent.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
        httpd = 2.0.52-22.ent is needed by httpd-suexec-2.0.52-22.ent.i386
    Suggested resolutions:
        httpd-2.0.52-22.ent.i386.rpm
安装其中一个提示另外一个,反之也这样,无法安装呢


不就是一起安装满足相依性吗

  1. rpm -ihv httpd-2.0.52-22.ent.i386.rpm httpd-suexec-2.0.52-22.ent.i386.rpm
复制代码


若你对 httpd-suexec 特别有意见不要装的话,那你自己多加上 --nodeps 参数选项,这应该没啥大问题... 只是到时候 apache 到时候无法支援 suexec 方式来执行 cgi 程式就是。

--
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP