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

Mon Jul 12 12:29:47 UTC 2010
Benjamin Franz <jfranz at freerun.com>

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