Bug 156903

Summary: --whatrequires doesn't return complete information
Product: [Fedora] Fedora Reporter: n fuhriman <nfuhriman>
Component: rpmAssignee: Paul Nasrat <pnasrat>
Status: CLOSED DUPLICATE QA Contact: Mike McLean <mikem>
Severity: medium Docs Contact:
Priority: medium    
Version: 3CC: n3npq
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-11-28 16:28:05 EST Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description n fuhriman 2005-05-04 22:09:35 EDT
Description of problem: 
--what requires doesn't return complete information. it lists all rpms that 
require the specific package. it however doesn't list rpms that requires it's 
other files or provides. I've tried working around this by getting a full list 
of provides and requires but even this doesn't work as programs (raidtools) 
require packages that don't exist as provides (rpmlib) 
 
Version-Release number of selected component (if applicable): 
every version has this probelm 
 
How reproducible: 
every time 
 
Steps to Reproduce: 
1.make sure that vte and rhgb are installed  
2. rpm -q --whatrequires vte (rhgb is NOT returned) 
3. rpm -e vte (this throws an error saying rhgb requires vte) 
   
Actual results: 
--whatrequires doesn't return rhgb 
 
Expected results: 
--whatrequires should return rhgb 
 
Additional info: 
there are additional packages like this. rhgb and vte are just examples.
Comment 1 Paul Nasrat 2005-05-05 10:32:58 EDT
It's indirectly required as opposed to by name.  whatrequires looks at exact
name try:

rpm --provides -q vte | xargs rpm --whatrequires -q | grep -v no\ package | uniq
Comment 2 Paul Nasrat 2005-11-28 16:28:05 EST

*** This bug has been marked as a duplicate of 142651 ***