Clean up the yum cache directory.
Clean everything: headers, packages, metadata, and the cache.
Clean up the sqlite database cache, forcing yum to recreate it the next time it runs.
Remove all header files, forcing yum to download new headers the next time it runs.
Remove the metadata files, which maintain information about the packages such as package name, file size, description, dependencies, etc. The metadata will be downloaded again the next time yum is run.
Remove cached packages from the system.