Bug 207986 - RFE: yum flag to use one or more repos only
Summary: RFE: yum flag to use one or more repos only
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 5
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-09-25 17:52 UTC by Tarek W.
Modified: 2014-01-21 22:55 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-09-25 21:10:25 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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'


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