Troubleshooting Corrupt Repositories
The information in the repository metadata files can become corrupt or out of date. This can create problems with updating clients. You can fix this by removing the files and regenerating it. With an new repository data file, updates should operate as expected.
Procedure: Resolving Corrupt Repository Data
-
Remove all files from
/var/cache/rhn/repodata/<channel-label>
. If you do not know the channel label, you can find it in the Uyuni Web UI, by navigating to . -
Regenerate the file from the command line:
spacecmd softwarechannel_regenerateyumcache <channel-label>