[Yum] Package management strategy with yum

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthew Miller wrote:
> On Tue, Mar 29, 2005 at 05:17:36PM -0500, seth vidal wrote:
> 
>>option number 2 - run a couple of local repos and only populate the ones
>>you want.
> 
> 
> Is there a way to enable only specific repos on the command line, and
> disable all others? Like, "--disablerepo='*' --enablerepo=repobase
> --enablerepo=repoupdates" (taking an ugly hint from rsync syntax to explain
> what I want)?

 From yum(8):




        --enablerepo=repoid
               Enables  a  specific  repository  that has been disabled 
in the
               configuration file using the enabled=0 option.
               Configuration Option: enabled

        --disablerepo=repoid
               Disables a specific repository.
               Configuration Option: enabled


That's from yum 2.2.0.

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux