Satellite 6: Deleting repository fails with "Repository cannot be deleted since it has already been included in a published Content View"

Solution Verified - Updated -

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.x

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.