[Yum] cache location of header.info

Michael Stenner mstenner at ece.arizona.edu
Wed Feb 25 23:50:26 UTC 2004


On Wed, Feb 25, 2004 at 03:34:29PM -0800, matt whiteley wrote:
> I am interested in why there is a difference in the location of the 
> header.info file created by yum-arch and accessed by yum relative to the 
>  directories.
> 
> I run 'yum-arch .' and then my dir looks like:
> headers/foo.rpm.hdr
> headers/foo2.rpm.hdr
> headers/header.info
> packages/foo.rpm
> packages/foo2.rpm
> 
> /var/cache/yum/repository contains:
> headers/foo.rpm.hdr
> headers/foo2.rpm.hdr
> packages/foo.rpm
> packages/foo2.rpm
> header.info

Only seth can address this authoritatively, but that's never stopped
me.  Each of them is "cleaner" for its given task in isolation.  In
the repo, it's nice to have all-things-yum in one directory.  The repo
structure was designed to be overlayed on an RHL mirror.  The cache
format is nicer when you can arrange it any way you want.

Ultimately, this will be changing with the metadata stuff, like so
much else.

					-Michael
-- 
  Michael D. Stenner                            mstenner at ece.arizona.edu
  ECE Department, the University of Arizona                 520-626-1619
  1230 E. Speedway Blvd., Tucson, AZ 85721-0104                 ECE 524G



More information about the Yum mailing list