[Yum] too many config files

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

 



It doesn't help with the issues I raised at all:  now I'd be faced with
maintaining 5 yum.conf files, 2 normalstartup.conf files, and about 20
repoX.conf files.

It would be *SO* much simpler for me to be able to call yum something
like this:

yum --policy newest --base ftp://server/repo1dir install foo
Or:
yum --policy last --base ftp://server/repo1dir --server    \
ftp://server/repo2dir install bar

where I can make use of variables in my calling scripts to supply server
and repodir, and every client has the same, common yum.conf.

I think that it comes down to these questions: are there reasons why the
policy and the repo urls can't be supplied on the command line?  Are
there complications that make this unreasonable?  Otherwise, the
requirement to contain this info in a text file is an unfortunate
limitation on a great program, (requiring a lot of work by a lot of
users, instead of, perhaps, a lot of work by the author/maintainer!)

-Ed

  



 

On Tue, 2004-08-03 at 14:43, seth vidal wrote:
> On Tue, 2004-08-03 at 16:32, Chris Geddings wrote:
> > If you are the maintainer of the repo, one workaround you might
> > consider is having a config file as a part of the repository itself
> > when you build the repository.  All it would require would be the
> > creation of the file noting the url it should be accessed from, which
> > is a minimal headache.
> > 
> > Then you could use the option to fetch the config file from the
> > command line to access packages from that repo.
> > 
> > I'm not sure if you can specify multiple configs (rather think not),
> > so you might still have the headache of having to do multiple command
> > line iterations of a yum call, but, it is closer.
> 
> so what if you could do:
> 
> yum.conf:
> include=http://someserver/normalstartup.conf
> 
> include=http://someserver/repo1.conf
> 
> include=http://someserver/repo2.conf
> 
> 
> would that solve the issue?
> 
> -sv
> 
> 
> _______________________________________________
> Yum mailing list
> Yum@xxxxxxxxxxxxxxxxxxxx
> https://lists.dulug.duke.edu/mailman/listinfo/yum


[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