son of YumHacking

metadata=200 200 secs later yum will update cache xmls

—group is just like comps file

yum versionlog plugin to use as blklist

below is from hwanii ppt file

How to setup repository

Createrepo v 0.9.5 is required.

—update option is supported from v 0.9.5

it can be updated on AXS3, which has 0.4.3. without ‘update option’, creating repodata takes too long time. So it must be updated.

Suggested command to create repository

# createrepo –c /tmp/createrepo.cache/ARCH --update –database –g COMPFILE.xml /var/www/html/auth/asianux/AXS3/ARCH

- you can put the repodata into another place by option “-o /PATH” - comsfile should be in the target directory.

How yum deals with issues we met with AXTU

1. Obsolete package handling

When a package is added/removed from a repository, you can update the repodata so that clients get updated with the repodata.

repomanage -k2 --old /some/dir | xargs rm –f  : to delete old files from repository
reposync : to sync between two repo or to clone a repository.
verifytree : to verify repositories and repodata
http://yum.baseurl.org/wiki/RepoTools for details