How to solve the package does not match intended download error?
Issue
- Unable to install a custom rpm package from a custom channel on satellite 5.5. The following error message is given when trying to install the custom package on the client:
Error Downloading Packages:
custompackage.noarch: failed to retrieve getPackage/custompackage.rpm from customchannel
error was [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=customchannel clean metadata
Environment
- Red Hat Network Satellite 5.5
- Red Hat Satellite 5.6
- Red Hat Satellite 5.7
- Red Hat Satellite 5.8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.