rpm -qa does not see gpg-pubkey-*
Bug #634106 reported by
Jeff Johnson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
RPM |
Fix Released
|
Low
|
Unassigned | ||
Mandriva |
Invalid
|
Medium
|
Bug Description
tracker
tags: | added: mandriva query |
Changed in rpm: | |
importance: | Undecided → Low |
Changed in mandriva: | |
status: | Unknown → Confirmed |
Changed in mandriva: | |
importance: | Unknown → Medium |
Changed in mandriva: | |
status: | Confirmed → Invalid |
To post a comment you must log in.
BTW, the answer here (for rpm-4.6.x) is that
rpm -qa foo*
is just a short hand for
rpm -qa 'name=foo*'
So the 1st query above could be done (exactly duplicated, could be shortened)
rpm -qa 'name=gpg-pubkey' 'version=caba22ae' 'release=*'
There's no unambiguous way to split the given CLI pattern arg on '-' characters
to apply the needed patterns to multiple tags in packages.
The final solution was to create a Nvra index containing the
full set of the usual identifiers in a single string so that patterns
applied to keys in the Nvra index Just Work.