Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 207986 - RFE: yum flag to use one or more repos only
RFE: yum flag to use one or more repos only
Product: Fedora
Classification: Fedora
Component: yum (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Depends On:
  Show dependency treegraph
Reported: 2006-09-25 13:52 EDT by Tarek W.
Modified: 2014-01-21 17:55 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2006-09-25 17:10:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tarek W. 2006-09-25 13:52:45 EDT
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

Comment 1 Tarek W. 2006-09-25 13:55:05 EDT
Forgive the disgraceful grammar and spelling!
Comment 2 Seth Vidal 2006-09-25 14:30:13 EDT
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.