Publishing new version of a content-view faills with a `Cannot create repository version. More than one rpm.package content with the duplicate values for name, epoch, version, release, arch, location_href.` error
Environment
- Red Hat Satellite 6.13
Issue
-
Publishing a new version of a content-view fails with the following error:
Error: Katello::Errors::Pulp3Error Cannot create repository version. More than one rpm.package content with the duplicate values for name, epoch, version, release, arch, location_href.
Resolution
-
Check if the previous version of the content-view has any filters applied to it.
-
Verify whether any of the filters applied to the content-view could be causing the issue.
-
Remove the filter causing the issue.
-
Publish a new version of the content-view.
For more KB articles/solutions related to Red Hat Satellite 6.x Content View Issues, please refer to the Red Hat Satellite Consolidated Troubleshooting Article for Red Hat Satellite 6.x Content View Issues
Root Cause
A filter that was applied to the previous version of the content-view was causing the error.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.