From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20021207 Phoenix/0.5 Description of problem: hi, root.mediaways.net:~ # rpm -qa | grep net-tools net-tools-1.60-3 root.mediaways.net:~ # rpm -q --redhatprovides ifconfig no package provides ifconfig root.mediaways.net:~ # rpm -ql net-tools /bin/dnsdomainname /bin/domainname /bin/hostname /bin/netstat /bin/nisdomainname /bin/ypdomainname /sbin/arp /sbin/ether-wake /sbin/ifconfig /sbin/ipmaddr /sbin/iptunnel /sbin/mii-tool /sbin/nameif /sbin/plipconfig /sbin/route /sbin/slattach [...] this happens with varios packages. some querys gives us the correct result: root.mediaways.net:~ # rpm -q --redhatprovides iptraf iptraf-2.4.0-5 Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1.see description 2. 3. Additional info:
To see what provides a file you need to provide the path, ie.: rpm -q --redhatprovides /sbin/ifconfigThe reason you are seeing some work and some not with the way you are doing it is because some files have the same name as the package name, so this: rpm -q --redhatprovides iptrafIs going to return "iptraf" since the package provides and requires its own package name. Make sense?Tim