RFE: --whatneeds feature missing
Bug #638630 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
Fix Released
|
Medium
|
Unassigned | ||
Fedora |
Invalid
|
Medium
|
Bug Description
tracker
tags: | added: fedora query |
Changed in rpm: | |
status: | New → Fix Released |
importance: | Undecided → Medium |
milestone: | none → 5.1.10 |
Changed in fedora: | |
importance: | Unknown → Medium |
status: | Unknown → Invalid |
To post a comment you must log in.
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4)
Gecko/20030630 Galeon/1.3.8
Description of problem: xyz-package" will
[19:09] <estr4ng3d> "rpm -q --whatrequires xyz-package" says that no
package requires xyz. However, "rpm -e the-same-
refuse to execute, reporting one or more package names as needing xyz.
What gives?
[19:10] jbj: -estr4ng3d: rpm -q --whatrequires `rpm -q --provides
xyz-package` is conceptually what you want
[19:11] <jbj> i.e. dependency relations are more complicated than
package dependencies, there are sonames, file paths, virtual provides,
more within the xyz-package container
[19:11] <jbj> rpm -q --provides --qf '%{name}'
[19:12] <jbj> is almost exatclt how to extract the tokens that are
used for dependency relations (there are still some details regarding
versioning that need some sdjustment)
Version-Release number of selected component (if applicable):
How reproducible:
Always
Steps to Reproduce:
1.n/a
2.n/a
3.n/a
Additional info: