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

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content