How to disable excluded packages at runtime using '--disableexclude' function with yum?

Solution Unverified - Updated -

Issue

  • How to disable excluded packages (mentioned in yum.conf or any repository file) at runtime, using '--disableexclude' function of yum?
  • The "--disableexcludes=main" function of yum command does not work with RHEL 6.2. When "exclude=kernel*" is mentioned in /etc/yum.conf, the kernel packages are still not displayed inspite of using "yum check-update --disableexcludes=main".
  • Why does yum --disableexcludes=main no longer work in Red Hat Enterprise Linux 6.2?

Environment

  • Red Hat Enterprise Linux

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