How to disable Red Hat repository on Satellite 6 with command line.

Solution In Progress - Updated -

Issue

  • Trying to remove Red Hat Enterprise Linux High Availability for RHEL Server I get
An error occurred removing the Products:
Cannot delete a Red Hat Products or
Products with Repositories published in a Content View
  • Also Tried to unchecked ENABLED checkbox for "High Availability" Release Candidate repository in "Content" -> "Red Hat Repositories" and got spinning circles.
  • Then ran the command foreman-rake katello:delete_orphaned_content RAILS_ENV=production >/dev/null on the server and it took a couple of minutes.
  • Still can't delete the channel.

Environment

  • Red Hat Satellite 6
  • hammer CLI tool.

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