Re: Yum Feature Idea/Request

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

 



Once upon a time, Tom 'Needs A Hat' Mitchell <mitch48@xxxxxxxxxxxxx> said:
> On Sat, Apr 24, 2004 at 05:43:10PM -0400, Phil Hagen wrote:
> > I'd like to be able to specify just a certain repository (or more than
> > one) to use for yum actions.  For example, I have about 5 or so
> > repositories in /etc/yum.conf because I like to keep an eye on the
> > non-official
> ...
> > yum --repo=updates-released update
> 
> How does this differ from -c [config file]
> 
>    yum -c /etc/yum-updates-released update
>    yum -c /etc/yum-watch-list list updates
>    yum -c /etc/yum-watch-list update foo
> 
> To me it seems that multiple config files works just fine.
> If I wanted to I could script up a wrapper (my-yum) that
> did the same thing you are asking (use -c under the hood).

That is more complicated to set up and maintain.  For example, you have
to list your base repositories in all config files (so dependencies can
be satisfied), so now you have to have the same configuration data in
multiple files, and that duplication is never a good thing.

I have multiple repositories listed, but sometimes I just want to get an
"official" Fedora Core update; the only current way is multiple config
files, which is irritating.
-- 
Chris Adams <cmadams@xxxxxxxxxx>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux