yum update fails with subscription-manager dependencies.

Solution Verified - Updated -

Issue

  • yum update fails with below error when version locked to 7.5 or lower and the extras repository (rhel-7-server-extras-rpms) is enabled.

    # yum update
    Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-manager
    Resolving Dependencies
    --> Running transaction check
    ---> Package python-rhsm.x86_64 0:1.19.10-1.el7_4 will be obsoleted
    ---> Package python-rhsm-certificates.x86_64 0:1.19.10-1.el7_4 will be obsoleted
    ---> Package subscription-manager.x86_64 0:1.19.23-1.el7_4 will be updated
    ---> Package subscription-manager.x86_64 0:1.21.10-2.el7 will be an update
    --> Processing Dependency: python-dmidecode >= 3.12.2-2 for package: subscription-manager-1.21.10-2.el7.x86_64
    --> Processing Dependency: python-inotify for package: subscription-manager-1.21.10-2.el7.x86_64
    ---> Package subscription-manager-rhsm.x86_64 0:1.21.10-2.el7 will be obsoleting
    ---> Package subscription-manager-rhsm-certificates.x86_64 0:1.21.10-2.el7 will be obsoleting
    --> Running transaction check
    ---> Package python-inotify.noarch 0:0.9.4-4.el7 will be installed
    ---> Package subscription-manager.x86_64 0:1.21.10-2.el7 will be an update
    --> Processing Dependency: python-dmidecode >= 3.12.2-2 for package: subscription-manager-1.21.10-2.el7.x86_64
    --> Finished Dependency Resolution
    Error: Package: subscription-manager-1.21.10-2.el7.x86_64 (rhel-7-server-extras-rpms)
               Requires: python-dmidecode >= 3.12.2-2
               Installed: python-dmidecode-3.12.2-1.1.el7.x86_64
    

Environment

  • Red Hat Enterprise Linux 7
  • subscription-manager release --set=7.5 (or lower)

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