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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.