Deleting repository fails with "Repository cannot be deleted since it has already been included in a published Content View" in Red Hat Satellite 6
Issue
-
Unable to delete repository, as it fails with below error:
Repository cannot be deleted since it has already been included in a published Content View. Please delete all Content View versions containing this repository before attempting to delete it.
-
Deleting repository using
hammer
command fails with below error:# hammer repository delete --id 226 Could not delete the Repository: Repository cannot be deleted since it has already been included in a published Content View. Please delete all Content View versions containing this repository before attempting to delete it.
Environment
- Red Hat Satellite 6
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.