Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

7.33. createrepo

Updated createrepo packages that fix several bugs and add various enhancements are now available for Red Hat Enterprise Linux 6.
The createrepo packages contain the utility that generates a common metadata repository from a directory of RPM packages.


The createrepo packages have been upgraded to upstream version 0.9.9, which provides a number of bug fixes and enhancements over the previous version, including support for multitasking in the createrepo utility. This update also modifies the "--update" option to use the SQLite database instead of the XML files in order to reduce memory usage. (BZ#631989, BZ#716235)

Bug Fix

Previously, the createrepo utility ignored the "umask" command for files created in the createrepo cache directory. This behavior caused problems when more than one user was updating repositories. The bug has been fixed, and multiple users can now update repositories without complications.


It is now possible to use the "createrepo" command with both the "--split" and the "--pkglist" options simultaneously.
It is now possible to remove metadata from the repodata directory using the modifyrepo program. This update also enhances updating of the existing metadata.
All users of createrepo are advised to upgrade to these updated packages, which fix these bugs and add these enhancements.