No rpmlib(SetVersions) with the rpm-4.11.3-35.el7.x86_64.rpm ?

Latest response

How to resolve the following problem without the rpmlib(SetVersions):

[root@cspt3db5 install]#
[root@cspt3db5 install]#
[root@cspt3db5 install]# rpm -ivh libgpm-1.20.1-alt18.1.x86_64.rpm
error: Failed dependencies:
rpmlib(SetVersions) is needed by libgpm-1.20.1-alt18.1.x86_64
[root@cspt3db5 install]#
[root@cspt3db5 install]#
[root@cspt3db5 install]#
[root@cspt3db5 install]# rpm -q rpm-4.11.3-25.el7.x86_64 --showrc|grep -i rpmlib|grep -i version
rpmlib(TildeInVersions) = 4.10.0-1
rpmlib(VersionedDependencies) = 3.0.3-1
[root@cspt3db5 install]#
[root@cspt3db5 install]#
[root@cspt3db5 install]#
[root@cspt3db5 install]# rpm -qp rpm-4.11.3-35.el7.x86_64.rpm --showrc|grep -i rpmlib|grep -i version
rpmlib(TildeInVersions) = 4.10.0-1
rpmlib(VersionedDependencies) = 3.0.3-1
[root@cspt3db5 install]#
[root@cspt3db5 install]#

Responses

An rpm from a non-Red Hat source isn't necessarily going to install. I would guess the RHEL7 equivalent of that package is gpm-libs .

In fact, I wonder wherever the rpmlib(SetVersions) comes from, the application package or the rpm package itself ?

The rpmlib(SetVersions) dependency will have been added to the package during the build process. It looks like something extra added in the altlinux build process that isn't there in Red Hat builds so Red Hat rpm doesn't recognize it. It looks like altlinux uses a different rpm code base, and rpmlib(SetVersions) may well be something they have added.