yum/dnf install incorrectly installs lower versions when resolving dependencies.
Issue
When installing packages, dnf is not installing the latest version of a dependency
# yum install java-11-openjdk-headless
Package Repository
Installing:
<snip>
nss-3.44.0-15.el8.x86_64 rhel-8-for-x86_64-appstream-rpms
nss-softokn-3.79.0-10.el8_6.x86_64 rhel-8-for-x86_64-appstream-rpms
nss-softokn-freebl-3.79.0-10.el8_6.x86_64 rhel-8-for-x86_64-appstream-rpms
nss-sysinit-3.44.0-15.el8.x86_64 rhel-8-for-x86_64-appstream-rpms
nss-util-3.79.0-10.el8_6.x86_64 rhel-8-for-x86_64-appstream-rpms
<snip>
# rpm -q nss
nss-3.44.0-15.el8.x86_64
# yum list nss
Installed Packages
nss.x86_64 3.44.0-15.el8 @rhel-8-for-x86_64-appstream-rpms
Available Packages
nss.x86_64 3.79.0-10.el8_6 rhel-8-for-x86_64-appstream-rpms
Environment
libsolv-0.7.20-3.el8
Red Hat Enterprise Linux 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.