[Yum] How to operate on a single repos only?

seth vidal skvidal at phy.duke.edu
Sun Jun 19 19:07:02 UTC 2005


On Sun, 2005-06-19 at 11:20 -0700, totallyfake1 at eml.cc wrote:
> Hi,
> 
> Couldn't find an answer for this in the docs or online.
> 
> I would like to be able to run yum commands on single repositories 
> without having to change the "enabled" flags on all my conf entries.
> 
> For instance, say I want to find out what is new only on [dag].  I
> could then run:
> 
> yum check-update --repo=dag 
> 
> or similar.  Seems like most of the functionality is available since
> there is a --enablerepo flag currently.

yum --disablerepo='*' --enablerepo=id_of_repo some_command

-sv





More information about the Yum mailing list