[Yum] sticky repositories

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

 



On Tue, 2004-07-06 at 17:47 -0500, Javier Perez wrote:
> Just an Idea.
> 
> 1. Create a /etc/yum directory 
> 2. Create several yum.conf files 
> 	Each yum.conf file (YumMain.conf, YumDag.conf, YumWhatever.conf)
>       will include the repositories that you need AND EXCLUDE ALL OTHER
>       PACKAGES THAT YOU DO NOT WANT TO TEST IN THAT REPOSITORY
>       You will have to use a regexp in here
> 3. Write a script yum_update that will call Yum with each
>    config file in turn to update the packages.
> 
> 
> In theory you can use the parameter exclude inside
> each repository, but I believe it will be much too messy,
> changing the same Config file all the time.
> 
> If you want to automate the process you will have to 
> create a MetaYum tool

yum in cvs-HEAD branch has --enablerepo and --disablerepo options on the
commandline

so you can enable or disable a repo by default in the config file then
turn them on or off on the command line.

that should reduce problems

-sv



[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