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

Tim Lauridsen <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Aawardhan Logandhan wrote:
> Hi,
> With yum 2.0 version the following command used to work without any 
> problem.
> yum -c myConfFile.conf check-update
>
> but recently after switching to yum 2.4, this command is not accepting 
> the custom conf file.
> It always considers /etc/yum.conf as the only config file.
>
> Is it not possible to use custom config file in YUM 2.4?
>
> Thanks,
> ------------------------------------------------------------------------
>
> _______________________________________________
> Yum mailing list
> [email protected]
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>   
I think you need to specify the full path to the config file.

Ex.
yum -c /etc/myConfFile.conf check-update


Tim

_______________________________________________
Yum mailing list
[email protected]
https://lists.dulug.duke.edu/mailman/listinfo/yum
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.