Bug 76185
Summary: | query keyed on a package's Source RPM | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Gene Czarcinski <gczarcinski> |
Component: | rpm | Assignee: | Jeff Johnson <jbj> |
Status: | CLOSED WORKSFORME | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 8.0 | CC: | mitr |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | i386 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2002-10-18 13:43:51 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
Gene Czarcinski
2002-10-17 22:03:36 UTC
Isn't this enough? rpm -qa --qf '%{sourcerpm}\t%{name}\n' This helps but not much .. I still need to use less: rpm -qa --qf '%{sourcerpm}\t%{name}\n' | less and then search of kdenetwork to find all binary packages installed which have kdenetwork as their source package. What I am looking for is something like: rpm -qa --sourcepkg kdenetwork which would list all binary packages which have kdenetwork as their source package. I suspect that if I look into db4 capabilities, I could find a way to do this query myself. However, I really do not want to muck with the rpm database directly myself ... too easy to really screw things up. I am closing this as "WORKSFORME" since I just realize that I can use the command you specified along with grep to get exactly what I want ... no need to make more work for you. rpm -qa --qf '%{sourcerpm}\t%{name}\n' | grep "some.src.rpm" solves your problem fo now. All the above can be done as a popt alias as well. |