Bug 480058 - repoquery can't list RPMs listed in /etc/yum.conf exclude= list
Summary: repoquery can't list RPMs listed in /etc/yum.conf exclude= list
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum-utils
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-01-14 19:40 UTC by Valdis Kletnieks
Modified: 2014-01-21 23:07 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-01-14 19:51:12 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Valdis Kletnieks 2009-01-14 19:40:55 UTC
Description of problem:
So I hit a show-stopper issue with a specific RPM, and can't upgrade until something happens upstream (in this case, it was bug #433649 against gdm, open for several months now).  So I list 'exclude=RPM' in /etc/yum.conf so that it doesn't keep showing up in 'yum list updates', and I can't accidentally do a 'yum update' and forget '--exclude=RPM'.

Unfortunately, it *also* means that to see if the fix has *landed* yet, I need to go edit /etc/yum.conf, remove the RPM from the exclude= list, save it, run 'repoquery --changelog <RPM>', look it over, re-edit yum.conf, re-add the RPM to the exclude= list, and re-save.

It would be helpful if repoquery didn't filter based on the exclude= list.

Version-Release number of selected component (if applicable):
yum-utils-1.1.19-1.fc11.noarch

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 seth vidal 2009-01-14 19:51:12 UTC
We're unlikely to implement that since repoquery is yum-based and it makes sense to follow yum settings when you do that.

However, you can do:

repoquery -c /path/to/yum.conf

and just have that yum.conf not have the exclude= in it.

Comment 2 James Antill 2009-01-14 19:55:39 UTC
You can use --disableexcludes for "yum list updates" ... we could also implement that in repoquery, maybe.

Comment 3 seth vidal 2009-01-14 20:05:17 UTC
Notably - if you're happy with all the other defaults in yum you can just do:

repoquery -c /dev/null .....

-sv

Comment 4 Valdis Kletnieks 2009-01-14 20:52:39 UTC
If repoquery supported --disableexcludes, that would solve the issue perfectly.


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