2013-05-08 97 views
0

我跑以下命令如何安裝libnetfilter?

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 -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。 在此先感謝

+0

您可以請使用以下? sudo rpm -iUvh http://rules.emergingthreatspro.com/projects/emergingrepo/x86_64/libnetfilter_queue-devel-0.0.15-1.x86_64.rpm – 2013-05-08 06:50:10

+0

@rakib相同的錯誤 – user2087340 2013-05-08 07:02:35

+0

您還需要安裝依賴關係。首先,嘗試安裝依賴關係,即-devel包。如果你不能使用yum,那最好。也許,這篇文章可以幫助你 - http://stackoverflow.com/a/13877738/2231815 – 2013-05-08 07:26:48

回答

-1

要從rpm安裝任何軟件包,您應手動下載/安裝所有依賴項。所以下載

libnfnetlink.so.0()(64位)

rpmlib(FileDigests)

rpmlib(PayloadIsXz)

或者百勝是一個更好的選擇安裝任何軟件包,它會自動安裝所有依賴項。