[Yum] Re: Edit Yum conf

Joanna Green Joanna.Green at noaa.gov
Wed Oct 13 13:11:26 UTC 2004


Not, sure if this is what you were looking for, this is an excerpt from 
a yum install doc I wrote. 

> A few things to note in the yum.conf file.
>
>  
>
> You can have more than one server listed in the conf file.  This is a 
> fallback mechanism in case the first server is not available. 
>
>  
>
> The $releasever is the version of linux, such as 7.2 or 2.  The 
> $basearch is used in Fedora and is the "i386".
>
>  
>
> To set the cache for yum:
>
> cachedir = /var/cache/yum
>
>  
>
> To set the yum logfile:
>
> logfile=/var/log/yum.log
>
>  
>
> To exclude kernel updates
>
> exclude=kernel*
>
>  
>
> Where to find the gpg keys
>
> gpghome=/root/.gnupg
>
>  
>
> Enable gpg checking
>
> gpgcheck=1
>
>  
>
> Only update with i386 packages.  Use the exact architecture
>
> that is installed.
>
> exactarch=1
>
>  
>
> How many times to retry the server
>
> retries=1
>
>  
>
> For more options with yum.conf look at the manpage
>
>  
>
> man yum.conf
>
>  
>
> To make testing faster, comment out sections in the yum.conf.  For 
> example, just have the updates section active. That way yum will only 
> retrieve the header info for the updates. 
>
>  
>

HTH
JoAnna Green

Ivan Low wrote:

> Thank you Tony.
>
> Ivan
>
> Tony Mountifield wrote:
>
>> In article <1097508349.1282.10.camel at localhost.localdomain>,
>> Ivan Low <visional_freeman at yahoo.com> wrote:
>>  
>>
>>> Hi, I wanna to edit the yum conf file, can anybody show me how?
>>>   
>>
>>
>> Yes, like this:
>>
>> vi /etc/yum.conf
>>
>> Cheers
>> Tony
>>  
>>
>
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.baseurl.org/pipermail/yum/attachments/20041013/f4033c99/attachment-0001.htm 


More information about the Yum mailing list