Hi All,
I started a discussion on the matrix channel about some 404 RPM
repos and wanted to bring it here to further discuss.
We typically configure our various RPM-based package managers to
allow patch updates from the repos.
As an example, if trying to install 5.7.x, can be done as
follows:
yum -y install yum-utils
yum-config-manager --add-repo https://rpm.kamailio.org/centos/kamailio.repo
yum-config-manager --disable \*
yum-config-manager --enable kamailio-5.7
yum install kamailio
This will fail though because https://rpm.kamailio.org/centos/7/5.7/5.7/x86_64/
does not exist.
Throughout the repos for centos/rhel/fedora I found the
existence of packages is inconsistent.
We can tell the intention was to allow the above behavior as the
kamailio.repo comes with the above configuration.
The above example will update /etc/yum.repos.d/kamailio.repo as
follows:
[kamailio-5.7]
name=Kamailio - 5.7 - Packages for the latest Kamailio 5.7 release
baseurl=https://rpm.kamailio.org/centos/$releasever/5.7/5.7/$basearch/
enabled=1
metadata_expire=30d
repo_gpgcheck=0
gpgkey=https://rpm.kamailio.org/rpm-pub.key
type=rpm
skip_if_unavailable=True
That is for centos though, and I found that some of the other
distros have incomplete kamailio.repo files as well.
In example, the rhel kamailio.repo is missing separate entries
for 5.7, but it does exist in the centos version.
Looks like some small cleanup is in order to make the end user
experience more consistent.
I believe sergey was maintaining those repos last, please chime
in here if you can.
If needed I can pick up some of those responsibilities as well.
Regards,
Tyler Moore
Full Stack Software Engineer
Flyball Labs
Office: 888-907-2085,
ext: 34
Cell: 248-909-2769
Email: tmoore@goflyball.com
Regards,
Tyler
Moore
Full Stack Software Engineer
Flyball Labs
Office: 888-907-2085,
ext: 34
Cell: 248-909-2769
Email: tmoore@goflyball.com