如何安装libnetfilter?

时间:2013-05-08 06:34:50

标签: linux centos rpm libnet

我运行了以下命令

 sudo rpm -Uvh http://rules.emergingthreatspro.com/projects/emergingrepo/x86_64/libnetfilter_queue-devel-0.0.15-1.x86_64.rpm

然后我得到了以下结果

Retrieving http://rules.emergingthreatspro.com/projects/emergingrepo/x86_64/libnetfilter_queue-devel-0.0.15-1.x86_64.rpm
error: Failed dependencies:
        libnetfilter_queue = 0.0.15-1 is needed by libnetfilter_queue-devel-0.0.15-1.x86_64
        libnetfilter_queue.so.1()(64bit) is needed by libnetfilter_queue-devel-0.0.15-1.x86_64
        libnetfilter_queue_libipq.so.1()(64bit) is needed by libnetfilter_queue-devel-0.0.15-1.x86_64

我搜索了libnetfilter_queue rpm,当我尝试运行rpm时出现错误,然后

rpm -Uvh libnetfilter_queue-1.0.0-2.fc15.x86_64.rpm
warning: libnetfilter_queue-1.0.0-2.fc15.x86_64.rpm: Header V3 RSA/SHA256 signature: NOKEY, key ID 069c8460
error: Failed dependencies:
        libnfnetlink.so.0()(64bit) is needed by libnetfilter_queue-1.0.0-2.fc15.x86_64
        rpmlib(FileDigests) <= 4.6.0-1 is needed by libnetfilter_queue-1.0.0-2.fc15.x86_64
        rpmlib(PayloadIsXz) <= 5.2-1 is needed by libnetfilter_queue-1.0.0-2.fc15.x86_64

我的机器是指机器上uname -a的结果

 2.6.18-308.el5xen #1 SMP Tue Feb 21 20:47:10 EST 2012 x86_64 x86_64 x86_64 GNU/Linux

请帮我安装libnetfilter。 提前致谢

1 个答案:

答案 0 :(得分:-1)

要从rpm安装任何软件包,您应手动下载/安装所有依赖项。所以下载

  

libnfnetlink.so.0()(64bit)

     

rpmlib(FileDigests)

     

rpmlib(PayloadIsXz)

或者yum是安装任何自动安装所有dependendicies的软件包的更好选择。