We are trying to upgrade the agent on our RHEL 7.9 test machine using CP05, I encountered below error.
+ rpm -Uvh /opt/softpkg/Linux/common/x86_64/ControlMinder/2023-02-dev/LINUX/CAeAC.x86_64.rpm
error: Failed dependencies:
rpmlib(PayloadIsZstd) <= 5.4.18-1 is needed by CAeAC-1410-50.61.x86_64
It appears that rpm files created using the customize_eac_rpm command on newer OS versions cannot be installed on earlier versions.
PAM Server Control 14.x
This is due to the basic requirements from the package manager as it builds the rpm. The rpmbuild command sets the requirements simply based on "greater than or equal to" the packages used to build the rpm.
The default rpm delivered:
[root@<servername>]# rpm -qp --requires CAeAC-1410-50.61.x86_64.rpm
rpm >= 4.0
libcrypt.so.1()(64bit)
libc.so.6()(64bit)
libdl.so.2()(64bit)
libgcc_s.so.1()(64bit)
libm.so.6()(64bit)
libnsl.so.1()(64bit)
libpam.so.0()(64bit)
libpthread.so.0()(64bit)
libresolv.so.2()(64bit)
libstdc++.so.6()(64bit)
/bin/sh
/bin/sh
/bin/sh
/bin/sh
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadIsXz) <= 5.2-1
The customized rpm built with preferences set:
[root@<servername>]# rpm -qp --requires CAeAC-1410-50.61.x86_64-IMS.rpm
/bin/sh
/bin/sh
/bin/sh
/bin/sh
libc.so.6()(64bit)
libcrypt.so.1()(64bit)
libdl.so.2()(64bit)
libgcc_s.so.1()(64bit)
libm.so.6()(64bit)
libnsl.so.1()(64bit)
libpam.so.0()(64bit)
libpthread.so.0()(64bit)
libresolv.so.2()(64bit)
libstdc++.so.6()(64bit)
rpm >= 4.0
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1
Always build the rpm file (customize_eac_rpm) on the lowest common denominator OS version to ensure all dependencies can be met.