Red Hat Training

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

5.39. createrepo

An updated createrepo package that fixes one bug is now available for Red Hat Enterprise Linux 6.
This package contains scripts that generate a common metadata repository from a directory of RPM packages.

Bug Fix

BZ#623105
Prior to this update, the shebang line of the modifyrepo.py script contained "#!/usr/bin/env python", so the system path was used to locate the Python executable. When another version of Python was installed on the system, and "/usr/local/python" was specified in the PATH environment variable, scripts did not work due to Python compatibility problems. With this update, the shebang line is modified to "#!/usr/bin/python", so that the system version of Python is always used.
All users of createrepo are advised to upgrade to this updated package, which fixes this bug.