Red Hat Training

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

8.25. createrepo

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.

Bug Fixes

BZ#877301
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.
BZ#892657
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.