免费注册 查看新帖 |

Chinaunix

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

redhat 安装bind rpm包报错,请帮着看看 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2011-11-23 10:05 |只看该作者 |倒序浏览
在redhat5.7上安装6.1提供的bind9.7.3
报错如下:
[root@localhost soft]# ll
total 5176
-rw-r--r-- 1 root root 4085844 Apr  4  2011 bind-9.7.3-2.el6.i686.rpm
-rw-r--r-- 1 root root   68152 Apr  4  2011 bind-chroot-9.7.3-2.el6.i686.rpm
-rw-r--r-- 1 root root   49444 Apr 22  2011 bind-dyndb-ldap-0.2.0-1.el6.i686.rpm
-rw-r--r-- 1 root root  867944 Apr  4  2011 bind-libs-9.7.3-2.el6.i686.rpm
-rw-r--r-- 1 root root  180116 Apr  4  2011 bind-utils-9.7.3-2.el6.i686.rpm
[root@localhost soft]# rpm -ivh bind*
warning: bind-9.7.3-2.el6.i686.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID fd431d51
error: Failed dependencies:
        libcap.so.2 is needed by bind-9.7.3-2.el6.i686
        libcrypto.so.10 is needed by bind-9.7.3-2.el6.i686
        libxml2.so.2(LIBXML2_2.4.30) is needed by bind-9.7.3-2.el6.i686
        libxml2.so.2(LIBXML2_2.6.0) is needed by bind-9.7.3-2.el6.i686
        libxml2.so.2(LIBXML2_2.6.3) is needed by bind-9.7.3-2.el6.i686
        rpmlib(FileDigests) <= 4.6.0-1 is needed by bind-9.7.3-2.el6.i686
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by bind-9.7.3-2.el6.i686
        rpmlib(FileDigests) <= 4.6.0-1 is needed by bind-chroot-9.7.3-2.el6.i686
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by bind-chroot-9.7.3-2.el6.i686
        libldap-2.4.so.2 is needed by bind-dyndb-ldap-0.2.0-1.el6.i686
        rpmlib(FileDigests) <= 4.6.0-1 is needed by bind-dyndb-ldap-0.2.0-1.el6.i686
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by bind-dyndb-ldap-0.2.0-1.el6.i686
        libcap.so.2 is needed by bind-libs-9.7.3-2.el6.i686
        libcrypto.so.10 is needed by bind-libs-9.7.3-2.el6.i686
        libxml2.so.2(LIBXML2_2.6.0) is needed by bind-libs-9.7.3-2.el6.i686
        rpmlib(FileDigests) <= 4.6.0-1 is needed by bind-libs-9.7.3-2.el6.i686
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by bind-libs-9.7.3-2.el6.i686
        libcap.so.2 is needed by bind-utils-9.7.3-2.el6.i686
        libcrypto.so.10 is needed by bind-utils-9.7.3-2.el6.i686
        libidn.so.11(LIBIDN_1.0) is needed by bind-utils-9.7.3-2.el6.i686
        rpmlib(FileDigests) <= 4.6.0-1 is needed by bind-utils-9.7.3-2.el6.i686
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by bind-utils-9.7.3-2.el6.i686
请问如何解决?

论坛徽章:
0
2 [报告]
发表于 2011-11-23 10:39 |只看该作者
用yum啦

论坛徽章:
0
3 [报告]
发表于 2011-11-23 10:59 |只看该作者
本帖最后由 chinaux 于 2011-11-23 11:06 编辑

1. verify what have been installed -
# rpm -qa | grep bind
bind-utils-9.7.3-2.el6.x86_64
bind-libs-9.7.3-2.el6.x86_64


2. "cd" to  rhel6.1 "Packages" directory:

# ls -al bind*
-r--r--r--.  90 root root 4083724 Apr  4  2011 bind-9.7.3-2.el6.x86_64.rpm
-r--r--r--.  90 root root   68124 Apr  4  2011 bind-chroot-9.7.3-2.el6.x86_64.rpm
-r--r--r--.  41 root root   50192 Apr 21  2011 bind-dyndb-ldap-0.2.0-1.el6.x86_64.rpm
-r--r--r--. 169 root root  867944 Apr  4  2011 bind-libs-9.7.3-2.el6.i686.rpm
-r--r--r--. 108 root root  861204 Apr  4  2011 bind-libs-9.7.3-2.el6.x86_64.rpm
-r--r--r--. 107 root root  181900 Apr  4  2011 bind-utils-9.7.3-2.el6.x86_64.rpm

3. install "one" package only:
# rpm -ivh bind-chroot-9.7.3-2.el6.x86_64.rpm --aid
warning: bind-chroot-9.7.3-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
        bind = 32:9.7.3-2.el6 is needed by bind-chroot-32:9.7.3-2.el6.x86_64

# rpm -ivh bind-9.7.3-2.el6.x86_64.rpm --aid
warning: bind-9.7.3-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:bind                   ########################################### [100%]
# rpm -ivh bind-chroot-9.7.3-2.el6.x86_64.rpm --aid
warning: bind-chroot-9.7.3-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing...                ########################################### [100%]
   1:bind-chroot            ########################################### [100%]
#

4. "bind-dyndb-ldap-0.2.0-1.el6.x86_64.rpm" is NOT a must for DNS server, so don't install it if not needed:
#   rpm -qpi bind-dyndb-ldap-0.2.0-1.el6.x86_64.rpm
warning: bind-dyndb-ldap-0.2.0-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Name        : bind-dyndb-ldap              Relocations: (not relocatable)
Version     : 0.2.0                             Vendor: Red Hat, Inc.
Release     : 1.el6                         Build Date: Fri 14 Jan 2011 06:43:21 AM PST
Install Date: (not installed)               Build Host: x86-003.build.bos.redhat.com
Group       : System Environment/Libraries   Source RPM: bind-dyndb-ldap-0.2.0-1.el6.src.rpm
Size        : 129464                           License: GPLv2+
Signature   : RSA/8, Thu 21 Apr 2011 12:40:56 PM PDT, Key ID 199e2f91fd431d51
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : https://fedorahosted.org/bind-dyndb-ldap
Summary     : LDAP back-end plug-in for BIND
Description :
This package provides an LDAP back-end plug-in for BIND. It features
support for dynamic updates and internal caching, to lift the load
off of your LDAP server.

论坛徽章:
381
CU十二周年纪念徽章
日期:2014-01-04 22:46:58CU大牛徽章
日期:2013-03-13 15:32:35CU大牛徽章
日期:2013-03-13 15:38:15CU大牛徽章
日期:2013-03-13 15:38:52CU大牛徽章
日期:2013-03-14 14:08:55CU大牛徽章
日期:2013-04-17 11:17:19CU大牛徽章
日期:2013-04-17 11:17:32CU大牛徽章
日期:2013-04-17 11:17:37CU大牛徽章
日期:2013-04-17 11:17:42CU大牛徽章
日期:2013-04-17 11:17:47CU大牛徽章
日期:2013-04-17 11:17:52CU大牛徽章
日期:2013-04-17 11:17:56
4 [报告]
发表于 2011-11-23 11:13 |只看该作者
还是用yum安装吧,rpm安装解决包依赖太麻烦了.
楼主单独安装rpm做法不可取,即使安装成功了,软件也不能正常运转.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP