[Yum] yum-suck available

seth vidal skvidal at phy.duke.edu
Wed Jul 30 21:07:16 UTC 2003


> Summary of it:
> grab the header.info file for a repository.
> traverse the list and build out the .hdrs files and the .rpms
> corresponding to each and download.
> 
> nifty.
> 
> a couple of pointers that will help.
> look at clientStuff.stripENVRA()
> 
> that does all the LHS stripping of header.info
> 
> Then you have:
> 
> epoch, name, ver, rel, arch and the relative path to the rpm.
the format for the .hdr filename is:

name-epoch-ver-rel.arch.hdr

-sv





More information about the Yum mailing list