yum install/update or rhn_check fails with "[Errno -1] Package does not match intended download" error

Solution Verified - Updated -

Issue

  • yum install <package> and rhn_check give the following error:
Error Downloading Packages:
<package_name>: failed to retrieve getPackage/<package_name> from <channel_name>
error was [Errno -1] Package does not match intended download

Environment

  • Red Hat Enterprise Linux
  • Red Hat Network (RHN) Satellite
  • Red Hat Network Proxy

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