Yum install fails with package does not have a compatible architecture error

Solution Verified - Updated -

Issue

  • Unable to install RPM package using yum.
  • When trying to install a package, it fails with below error:

    Error: package <installer_filename>.s390x from @commandline does not have a compatible architecture
    
  • Yum install fails with architecture error when installing a local RPM package.

Environment

  • Red Hat Enterprise Linux (RHEL)

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