Red Hat Bugzilla – Bug 207986
RFE: yum flag to use one or more repos only
Last modified: 2014-01-21 17:55:24 EST
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
yum --onlyrepo=repoX --onlyrepo=repoY list
Forgive the disgraceful grammar and spelling!
I would just do:
onlyrepo isn't likely to happen - it is just superfluous. However, you could do:
yum list available | grep 'reponame'