Yum repo not recognising available freeradius version

Latest response

I have created a required repo from networkradius and want to yum install freeradius-3.0.22-1.el7.x86_64.rpm.

I am installing on RHEL7.9.

When I complete the command "yum --showduplicates list freeradius" the 3.0.22 version appears within that list. However, if I complete the command "yum list freeradius" only version 3.0.23 shows as available.
If I try to install freeradius using "yum install freeradius-3.0.22-1.el7.x86_64.rpm" yum informs me that the version is not available.

The repo has been created and called "networkradius" and saved in /etc/yum.repos.d/.
The baseurl in this repo list is "https://packages.networkradius.com/freeradius-3.0/centos/7/".

I have checked the above URL to ensure that the rpms are there and there are a lot of different version of rpms at that URL including 3.0.22.

The repo has been configured as follows:
[networkradius]
name=networkRADIUS-$releasever
baseurl=https://packages.networkradius.com/freeradius-3.0/centos/7/
enabled=1
gpgcheck=1
gpgkey=https://packages.networkradius.com/pgp/packages%40networkradius.com

Maybe I am completing something wrong within Yum or maybe I am misreading how yum should read from the repository, but as the versions are listed in the baseurl then I assumed they would show when installing or listing?

Has anyone seen this error before or can maybe say "Your repo is not configured correctly"?

Many thanks in advance

Responses