Bug 84176
Summary: | RFE: rpm has misnomer of --whatrequires and no --whatdepends to complement it | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Scott R. Godin <rhbugzilla> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED DUPLICATE | QA Contact: | Mike McLean <mikem> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | Keywords: | FutureFeature |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-02-21 18:51:46 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Scott R. Godin
2003-02-13 03:17:44 UTC
You wanted to type rpm -q --whatrequires libexpat.so.0 not rpm -q --whatrequires expat All package Provides: are displayed with rpm -q --provides pkg There is also rpm -q --whatprovides libexpat.so.0 and even (if the rpmdb-redhat package is installed) rpm -q --redhatprovides libexpat.so.0 I'm not at all sure what you distinction you make regarding "dependencies" and "requires". Perhaps you are used to dpkg, which has only package dependencies, but rpm != dpkg. argh, this is *exactly* what I mean about it being confusing 4:34pm {5} pcp02404936pcs:/root># rpm -q --whatrequires libexpat.so.0 python-2.2.1-17 fontconfig-2.0-3 httpd-2.0.40-11 expat-1.95.4-1 php-4.2.2-8.0.7 4:34pm {6} pcp02404936pcs:/root># rpm -q --whatrequires expat expat-devel-1.95.4-1 as you can see, the same command is being used to walk the tree in opposite directions, and the usage of it (having to know which internal component is being "required" oops I mean "depended" on) is not obvious. The package system KNOWS what other packages depend on <packagename> being installed, and it makes perfect sense to add a --whatdepends <packagename>. i.e. because the usage of the command is *patently obvious* to even the casual observer. I can't tell you how many times I've gone into the rpm system and wanted to have such a thing.. this is just the first time I've gone and posted an RFE for it, and that only because it's come to my attention as a desirable enhancement often enough. it's NOT a bug, it's an RFE :) *** This bug has been marked as a duplicate of 142651 *** Changed to 'CLOSED' state since 'RESOLVED' has been deprecated. |