Packages Updating Despite Being Excluded Using the 'Exclude' Option in Yum Configuration on RHEL 8 and RHEL 9

Solution Verified - Updated -

Issue

  • I have configured the package exclusion in the DNF/YUM configuration file however, it is not functioning as expected.
  • Any configuration mentioned in the /etc/yum.conf file is not getting implemented with the actual DNF/YUM operation.

Environment

  • Red Hat Enterprise Linux 8

  • Red Hat Enterprise Linux 9

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