yum: package does not match intended download

Latest response

I have installed RedHat Linux Server 7 on a x86_64 machine.
After the installation completed, I tried to install some updates and in particular openssl-libs but I get the following error:

yum upgrade openssl-libs

Loaded plugins: langpacks, product-id, subscription-manager
Resolving Dependencies
--> Running transaction check
---> Package openssl-libs.x86_64 1:1.0.1e-34.el7 will be updated
--> Processing Dependency: openssl-libs(x86-64) = 1:1.0.1e-34.el7 for package: 1:openssl-1.0.1e-34.el7.x86_64
---> Package openssl-libs.x86_64 1:1.0.1e-34.el7_0.6 will be an update
--> Running transaction check
---> Package openssl.x86_64 1:1.0.1e-34.el7 will be updated
---> Package openssl.x86_64 1:1.0.1e-34.el7_0.6 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

=======================================================================================================================

Package Arch Version Repository Size

Updating:
openssl-libs x86_64 1:1.0.1e-34.el7_0.6 rhel-7-server-rpms 941 k
Updating for dependencies:
openssl x86_64 1:1.0.1e-34.el7_0.6 rhel-7-server-rpms 706 k

Transaction Summary

Upgrade 1 Package (+1 Dependent package)

Total size: 1.6 M
Total download size: 941 k
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for rhel-7-server-rpms
openssl-libs-1.0.1e-34.el7_0.6 FAILED ] 20 kB/s | 83 kB 00:00:41 ETA
https://cdn.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/Packages/openssl-libs-1.0.1e-34.el7_0.6.x86_64.rpm: [Errno -1] Package does not match intended download. Suggestion: run yum --enablerepo=rhel-7-server-rpms clean metadata
Trying other mirror.

Error downloading packages:
1:openssl-libs-1.0.1e-34.el7_0.6.x86_64: [Errno 256] No more mirrors to try.

I have tried to run yum --enablerepo=rhel-7-server-rpms clean metadata as suggested but I still get the same error.
I don't use Satellite.

Responses