How to disable a local or custom repository to only install updates from Red Hat repositories?

Solution Verified - Updated -

Issue

How can I disable a local or custom repository in order to only install updates from Red Hat repositories (i.e. Red Hat Network or Red Hat Satellite) ?

Environment

  • Red Hat Enterprise Linux 5
  • Red Hat Enterprise Linux 6
  • Red Hat Satellite
  • Red Hat Network
  • Red Hat Update Infrastructure

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