Re: yum -c [config file] option not working in YUM 2.4

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

 



On Fri, 2007-07-27 at 18:39 +0530, Aawardhan Logandhan wrote:
> I think what yum 2.4 does is, it looks at both the
> default /etc/yum.conf(also /etc/yum.repos.d) and also the custom
> config file, which is prepared by the user. 
> 
> This problem didn't arise with yum 2.0 because /etc/yum.repos.d wasn't
> there at that time. 
> 
> If the user uses -c option with yum, he would not want yum to look at
> the default yum.conf file.
> So, how do we disable yum from looking at the default config files??
> 
> Thanks in advance

no - what does your reposdir= option in your yum.conf say?

If it is not listed then it defaults to /etc/yum.repos.d

Therefore your alternative yum.conf is going to pull in the same repos.

If you want to disable reposdir then do:
reposdir=/dev/null

-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