we are currently working on porting software from x86_64 to aarch64. We are working with the altarch aarch64 repos:
However, it seems that yum (and eventually rpm) has problems with identifying new packages, if you have packages named as:
A concrete example is the package selinux-policy-3.13.1-60.el7.3.noarch.rpm in the os repo. It has an updated package
(selinux-policy-3.13.1-60.el7_2.7.noarch.rpm) in the updates repo. However, the underscore seems to be interpreted as a dot and hence leads to the package located in the os repo to be considered as newer. Maybe, this was tried to be addressed by also copying a corresponding version selinux-policy-3.13.1-60.el7_2.3.noarch.rpm into the os repo. However, this of course is also regarded as older (for the same reason) and thus still leads to the initial package to have precedence.
Do I miss out on something here? In addition, it might well be that this is not only an issue to the aarch64 repos, but also to other architectures. Is it a known issue and if yes, are there any attempts to correct this? As from what I can tell so far, it is not a problem of yum or rpm, but some inconsistencies in naming the packages in the CentOS repos.
Other sources of information:
Thanks in advance for your help.
Best regards Felix