Cloudsmith repos not working with RockyLinux 8.5 (RHEL8)
name: Cloudsmith repos not working with RockyLinux 8.5 (RHEL8)
about: RHEL8 and derivates come default with ISC-KEA 1.8.0 from EPEL-release repo, if you want to update to newer binary version, you have to add repos from ISC Cloudsmith and get newer versions of ISC-KEA from there.
All ISC Cloudsmith .repo setup links come with faulty urls to download RPMs for ISC-KEA.
To Reproduce
- Install RockyLinux 8.4/8.5
- Add ISC-KEA repo from https://cloudsmith.io/~isc/repos/ (Set Me Up -> RedHat)
- After adding ISC-KEA repo, try "dnf search kea"
- Result is, only KEA 1.8.0 is listed from EPEL repo, no ISC-KEA is listed.
Expected behavior You should get both versions of KEA(KEA from EPEL and ISC-KEA from Cloudsmith) listed from both repos, if you have added EPEL and Cloudsmith repos installed.
Environment:
- Kea version: Tried all "Set Me Up -> RedHat" repos from 1.9-2.0-2.1
- OS: RockyLinux 8.5 4.18.0-348.7.1.el8_5.x86_64
Solution
- cd /etc/yum.repos.d
- Fix urls in isc-kea-2-1.repo (or isc-kea-1-9.repo, isc-kea-2-0.repo)
- Find three lines with each section
baseurl=https://dl.cloudsmith.io/public/isc/kea-2-1/rpm/rocky/8.5/$basearch
And replace "rocky" with "el" and "8.5" with "8"
baseurl=https://dl.cloudsmith.io/public/isc/kea-2-1/rpm/el/8/$basearch
- After these replacements, ISC-KEA is listed in DNF packages and can be installed without problems.