Need a command to find the package name against dependencies !
Dear Friends ,
While installing ntop in RHEL-5.0 , I got the below error : [root@localhost test]# rpm -ivh ntop-3.3.9-7.el5.i386.rpm --aid --force warning: ntop-3.3.9-7.el5.i386.rpm: Header V3 DSA signature: NOKEY, key ID 217521f6 error: Failed dependencies: graphviz is needed by ntop-3.3.9-7.el5.i386 libGeoIP.so.1 is needed by ntop-3.3.9-7.el5.i386 librrd_th.so.2 is needed by ntop-3.3.9-7.el5.i386 In this moment I cannot find the PACKAGE name of the above DEPENDENCIES . Is there any way to find out the packages name against this dependencies ? |
Quick Guide to Red Hat's Package Manager (RPM)
sudo rpm -qf [full_path]/libGeoIP.so.1 or libGeoIP.so.1 redhat |
Running on RHEL 5, most likely you have yum installed. If this is the case just try
Code:
# yum deplist ntop |
The command to get a package name, when a file is known :
# yum provides */libGeoIP.so.1 ( The package name is : GeoIP ). ..... # yum deplist ntop gdbm chkconfig libpcap openssl rrdtool perl GeoIP pcre zlib tcp_wrappers ..... # yum list all .. shows this : ntop.i386 .. 3.3.9-7.el5 .. epel epel = Extra Packages EL https://fedoraproject.org/wiki/EPEL > > # yum install ntop ..... |
Highly recommend using yum to take care of dependencies during installs etc. Using rpm directly will be a nightmare.
http://kbase.redhat.com/faq/docs/DOC-2531 |
All times are GMT -5. The time now is 04:21 AM. |