Centos 7 no kamailio package available

General support questions
atux_null
Posts: 8
Joined: 2017/11/23 11:16:46

Centos 7 no kamailio package available

Post by atux_null » 2017/11/23 11:20:37

hi. i have Centos 7 in my system and i am trying to install kamailio from repos. i am doing the following:

Code: Select all

[root@KamGui yum.repos.d]# nano /etc/yum.repos.d/kamailio44.repo
then i am adding the:

Code: Select all

[home_kamailio_v4.4.x-rpms]
name=RPM Packages for Kamailio v4.4.x (CentOS_7)
type=rpm-md
baseurl=http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_7/
gpgcheck=1
gpgkey=http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_7//repodata/repomd.xml.key
enabled=1
and then run

Code: Select all

[root@KamGui yum.repos.d]# yum install kamailio kamailio-presence kamailio-mysql kamailio-tls
Loaded plugins: fastestmirror, langpacks
home_kamailio_v4.4.x-rpms                                           | 1.3 kB  00:00:00
Loading mirror speeds from cached hostfile
No package kamailio available.
No package kamailio-presence available.
No package kamailio-mysql available.
No package kamailio-tls available.
Error: Nothing to do
[root@KamGui yum.repos.d]#
any ideas on how to fix that, please?

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Centos 7 no kamailio package available

Post by avij » 2017/11/23 12:13:02

Perhaps you have some other repository configuration that causes issues? See if grep -ir kamailio /etc/yum* shows anything else besides that kamailio44.repo file.

atux_null
Posts: 8
Joined: 2017/11/23 11:16:46

Re: Centos 7 no kamailio package available

Post by atux_null » 2017/11/23 12:35:10

this is what i have

Code: Select all

[root@KamGui ~]# grep -ir kamailio /etc/yum*
/etc/yum.repos.d/kamailio44.repo:[home_kamailio_v4.4.x-rpms]
/etc/yum.repos.d/kamailio44.repo:name=RPM Packages for Kamailio v4.4.x (CentOS_7)
/etc/yum.repos.d/kamailio44.repo:baseurl=http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_7/
/etc/yum.repos.d/kamailio44.repo:gpgkey=http://download.opensuse.org/repositories/home:/kamailio:/v4.4.x-rpms/CentOS_7//repodata/repomd.xml.key
[root@KamGui ~]#

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos 7 no kamailio package available

Post by TrevorH » 2017/11/23 16:33:35

yum --disablerepo=\* --enablerepo=home_kamailio_v4.4.x-rpms list available
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

atux_null
Posts: 8
Joined: 2017/11/23 11:16:46

Re: Centos 7 no kamailio package available

Post by atux_null » 2017/11/27 07:47:57

i am afraid that it does not work for me.

Code: Select all

[root@KamGui ~]# yum --disablerepo=\* --enablerepo=home_kamailio_v4.4.x-rpms list available
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
[root@KamGui ~]# 
[root@KamGui ~]# yum install kamailio kamailio-presence kamailio-mysql kamailio-tls
Loaded plugins: fastestmirror, langpacks
base                                                                              | 3.6 kB  00:00:00
extras                                                                            | 3.3 kB  00:00:00
home_kamailio_v4.4.x-rpms                                                         | 1.3 kB  00:00:00
updates                                                                           | 2.9 kB  00:00:00
Loading mirror speeds from cached hostfile
No package kamailio available.
No package kamailio-presence available.
No package kamailio-mysql available.
No package kamailio-tls available.
Error: Nothing to do
[root@KamGui ~]#

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Centos 7 no kamailio package available

Post by avij » 2017/11/27 08:20:48

It's odd because when I drop that .repo file to my own system, "yum install kamailio" would seem to find the package (I did not actually install the package, though). How about the usual yum clean all ?

atux_null
Posts: 8
Joined: 2017/11/23 11:16:46

Re: Centos 7 no kamailio package available

Post by atux_null » 2017/11/27 09:40:23

after a

Code: Select all

yum clean all
and then

Code: Select all

yum update && yum search kamailio
still no progress. any other ideas please?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Centos 7 no kamailio package available

Post by TrevorH » 2017/11/27 10:32:19

If the command I gave you has no output then you have an error in your repo file or you have something excluding packages present.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

atux_null
Posts: 8
Joined: 2017/11/23 11:16:46

Re: Centos 7 no kamailio package available

Post by atux_null » 2017/11/27 12:36:49

i will proceed with a new clean install and i will come back later today.

--------------------------
same issue after a clean install of centos 7 i386 minimal iso.
:cry:

any ideas, please?

stevemowbray
Posts: 519
Joined: 2012/06/26 14:20:47

Re: Centos 7 no kamailio package available

Post by stevemowbray » 2017/11/27 13:09:15

There are no i386 packages in that repository. This is true of many third-party repositories as "mainstream" CentOS 7 is x86_64.

You could download the SRPMs and try rebuilding them on your system.

Post Reply