An updated createrepo package that fixes two bugs is now available for Red Hat Enterprise Linux 6.
The createrepo package contains a utility that generates a common metadata repository from a directory of RPM packages.
- Previously, a time-stamp check did not pass if a file did not exist. As a consequence, an empty repository was incorrectly flagged as being up to date and the "createrepo --checkts" command performed no action on an empty repository. With this update, missing file is now considered as a failure, and not a pass. The "createrepo --checkts" command now properly creates a new repository when called on an empty repository.
- The --basedir, --retain-old-md, and --update-md-path options were reported only in the createrepo utility help message but not in the man page. This update amends the man page and the options are now properly documented in both the help message and the man page.
Users of createrepo are advised to upgrade to this updated package, which fixes these bugs.