Re: "yum update": When is new header data downloaded? (Trying to set up custom repository...)

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



James Hogarth wrote:
> On 12 July 2010 13:29, Benjamin Franz <jfranz@xxxxxxxxxxx> wrote:
>   
>> On 07/12/2010 04:58 AM, Toralf Lund wrote:
>>     
>>> So, it seems like I managed to correctly update the repodata and all,
>>> but originally, yum concluded that it didn't need to download a new
>>> version, but could use the one cached earlier. instead.
>>>
>>> Does anyone have any idea why this happened? How exactly does yum decide
>>> when to download new headers and when to reuse cached data?
>>>
>>>       
>> You probably want the /etc/yum.conf file. There should be a line in it
>> right now that reads 'metadata_expire=1h'.
>>
>>
>>     
>
> Rather than deleting that directory as a whole you would probably be
> better served by doing a yum clean metadata instead...
>   
I suppose so. I though I might try removing only data for the repository 
in question rather than clearing the entire cache when testing this, 
though...

- Toralf


This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux