How to disable Red Hat repository on Satellite 6 with command line.
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/nullon 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 of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
