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

Mon Jul 12 12:56:40 UTC 2010
James Hogarth <james.hogarth at gmail.com>

On 12 July 2010 13:29, Benjamin Franz <jfranz at freerun.com> 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'.
>
> --
> Benjamin Franz
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>

Rather than deleting that directory as a whole you would probably be
better served by doing a yum clean metadata instead...