Bug 207986

Summary: RFE: yum flag to use one or more repos only
Product: [Fedora] Fedora Reporter: Tarek W. <ticallion>
Component: yumAssignee: Jeremy Katz <katzj>
Status: CLOSED WONTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 5   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-09-25 21:10:25 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 Tarek W. 2006-09-25 17:52:45 UTC
Description of problem:
I am running FC5 and I added a 3rd-party repos, I would like to list packages
from one repos (i.e. 3rd-pptp-stable) or several, I have to do:

yum --disablerepo="*" --enablerepo=3rd-pptp-stable list | grep -v installed

Having the ability to doing in a cleaner way sounds useful to me, say:

yum --onlyrepo=repoX list

Or

yum --onlyrepo=repoX --onlyrepo=repoY list

Thanks,
Tarek

Comment 1 Tarek W. 2006-09-25 17:55:05 UTC
Forgive the disgraceful grammar and spelling!

Comment 2 Seth Vidal 2006-09-25 18:30:13 UTC
I would just do:

onlyrepo isn't likely to happen - it is just superfluous. However, you could do:

yum list available | grep 'reponame'