This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 170289 - repoquery doesn't recognize the OBSOLETES tag
repoquery doesn't recognize the OBSOLETES tag
Product: Fedora
Classification: Fedora
Component: yum-utils (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Seth Vidal
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2005-10-10 11:38 EDT by Göran Uddeborg
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:
Last Closed: 2005-10-10 12:11:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Göran Uddeborg 2005-10-10 11:38:17 EDT
Description of problem:
When using repoquery with a queryformat which includes the OBSOLETES flag, it
gives an error message rather than information about obsoleted packages.

Version-Release number of selected component (if applicable):

How reproducible:
Every time

Steps to Reproduce:
1. repoquery --qf '[%{OBSOLETES}\n]' xorg-x11-xfs

Actual results:
Invalid querytag: OBSOLETES
Invalid querytag: OBSOLETES
Invalid querytag: OBSOLETES
Invalid querytag: OBSOLETES

Expected results:
XFree86-xfs (As if I did "rpmquery --qf '[%{OBSOLETES}\n]' xorg-x11-xfs")

Additional info:
There doesn't seem to be a way, short of digging into the code, to figure out
what  tags repoquery supports.  The README file just says repoquery is similar
to rpmquery.  And the --querytags of the latter isn't supported by repoquery.
Comment 1 Göran Uddeborg 2005-10-10 12:11:40 EDT
Ah, I forgot!  Query tags are lowercase in repoquery.  I keep getting fooled by
that difference!

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