RPM Installation Error During Update¶
The issue described below was reported on environments using CentOS 8 and RHEL 8.
An attempt to run the RPM install command on the host during Alation update may result in the following error:
error: alation-<x.y.z.nnnn>.rpm: headerRead failed: hdr data: BAD, no. of bytes(<17415864>) out of range
[root@ip-10-15-28-245 install]# sudo rpm -Uvh alation-22.214.171.124409.rpm error: alation-126.96.36.199409.rpm: headerRead failed: hdr data: BAD, no. of bytes(17415864) out of range error: alation-188.8.131.52409.rpm cannot be installed
This may point to the outdated RPM version on your environment.
To troubleshoot and continue with the update:
On the Alation host, before using the RPM install command, run the following command:
sudo yum install rpm -y --skip-broken
Run the RPM install command again. You should be able to proceed with the update.