This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 156903 - --whatrequires doesn't return complete information
--whatrequires doesn't return complete information
Status: CLOSED DUPLICATE of bug 142651
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
3
All Linux
medium Severity medium
: ---
: ---
Assigned To: Paul Nasrat
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-04 22:09 EDT by n fuhriman
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
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:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
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 ***

Note You need to log in before you can comment on or make changes to this bug.