Bug 170289 - repoquery doesn't recognize the OBSOLETES tag
Summary: repoquery doesn't recognize the OBSOLETES tag
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: 4
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-10-10 15:38 UTC by Göran Uddeborg
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-10-10 16:11:40 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Göran Uddeborg 2005-10-10 15:38:17 UTC
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):
yum-utils-0.2-2.fc4

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 16:11:40 UTC
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.