Yum commands are failing with error undefined symbol: XML_SetHashSalt

Solution Verified - Updated -

Issue

  • All yum command are failing with error:

    yum install wget
    Failed loading plugin "needs_restarting": /usr/lib64/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so: undefined symbol: XML_SetHashSalt
    Failed loading plugin "product-id": /usr/lib64/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so: undefined symbol: XML_SetHashSalt
    Failed loading plugin "subscription-manager": /usr/lib64/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so: undefined symbol: XML_SetHashSalt
    Failed loading plugin "upload-profile": /usr/lib64/python3.6/lib-dynload/pyexpat.cpython-36m-x86_64-linux-gnu.so: undefined symbol: XML_SetHashSalt
    Loaded plugins: builddep, changelog, config-manager, copr, debug, debuginfo-install, download, generate_completion_cache, groups-manager, playground, repoclosure, repodiff, repograph, repomanage, reposync
    ...
    

Environment

  • Red Hat Enterprise Linux
  • yum
  • python

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