Working Rocky Linux 9 yum repository files to replace the .repo files in your /etc/yum.repos.d folder on your Rocky Linux 9 server.
Navigate to the /etc
folder:
cd /etc
Backup your current yum.repos.d
folder first:
mv yum.repos.d yum.repos.d_old
Clone the new yum.repos.d
folder to your system:
git clone https://github.com/tkne/rocky-linux-9-repo.git yum.repos.d
Clean the local cache:
dnf clean all
Update the installed packages on your system:
dnf update
Important
In case you have other external repositories installed as well, you'll need to edit each .repo dotfile and replace the settings manually.