Jump to content

Installing Kazoo - Transaction check error


Recommended Posts

Hi all!

I trying to install Kazoo on my VPS in a VM with SentOS 7 (minimal)

The first steps are oke, but if i put in the command: yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm

Then ill get an error "Transaction check error" File /etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH from install of 2600Hz............. conflicts with the file from package freeswitch-release-repo-0-1.noarch

How to solve this?

 

Kind regards

Michael

Link to comment
Share on other sites

Hi

Tryed new clean server install

Followed the guide above, the first commands are no problem,

I changed:
yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm

To

yum --disablerepo=freeswitch install https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm

 

Same error:

Link to comment
Share on other sites

[root@test-kazoo ~]# yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm
Loaded plugins: fastestmirror
2600hz-release-4.3-0.el7.centos.noarch.rpm                                     |  11 kB  00:00:00
Examining /var/tmp/yum-root-qcoe5E/2600hz-release-4.3-0.el7.centos.noarch.rpm: 2600hz-release-4.3-0.el7.centos.noarch
Marking /var/tmp/yum-root-qcoe5E/2600hz-release-4.3-0.el7.centos.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package 2600hz-release.noarch 0:4.3-0.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================
 Package            Arch       Version              Repository                                   Size
======================================================================================================
Installing:
 2600hz-release     noarch     4.3-0.el7.centos     /2600hz-release-4.3-0.el7.centos.noarch      22 k

Transaction Summary
======================================================================================================
Install  1 Package

Total size: 22 k
Installed size: 22 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2600hz-release-4.3-0.el7.centos.noarch                                             1/1
  Verifying  : 2600hz-release-4.3-0.el7.centos.noarch                                             1/1

Installed:
  2600hz-release.noarch 0:4.3-0.el7.centos

Complete!

This is my output by this moment. It showed no errors. Going to install other components

]# rpm -qa kazoo-applications


kazoo-applications-4.3-170.el7.centos.noarch

The other components are installing correctly so far..

Link to comment
Share on other sites

Any idea how this is possible that I get errors?

I'll list all the commands here that I've done and what I've changed

Otherwise I can see if I can give you a login to my server? Maybe you can discover something?

=============================

# export IP_ADDR=(EXTERNAL IP)
# export _HOSTNAME=my.domainname.nl
# export TOKEN=MYPERSONALTOKEN
# export RELEASE_BASE=https://packages.2600hz.com/centos/7/stable/2600hz-release
# export RELEASE_VER=4.3
# export META_PKG=2600hz-release-${RELEASE_VER}-0.el7.centos.noarch.rpm
# export LATEST_RELEASE=${RELEASE_BASE}/${RELEASE_VER}/${META_PKG}
# yum update -y
# yum install -y epel-release
# yum install -y yum-utils psmisc
# echo "MYUSERNAMEFORTOKEN"> /etc/yum/vars/signalwireusername
# echo ${TOKEN} > /etc/yum/vars/signalwiretoken
# yum install wget
# wget https://$(< /etc/yum/vars/signalwireusername):$(< /etc/yum/vars/signalwiretoken)@freeswitch.signalwire.com/repo/yum/centos-release/freeswitch-release-repo-0-1.noarch.rpm
# rpm -i --replacefiles freeswitch-release-repo-0-1.noarch.rpm
# hostnamectl set-hostname ${_HOSTNAME}
# echo "${IP_ADDR} ${_HOSTNAME} `hostname -s`" >> /etc/hosts
# echo "127.0.0.1 ${_HOSTNAME} `hostname -s`" >> /etc/hosts
# echo "::1 ${_HOSTNAME} `hostname -s`" >> /etc/hosts
# ln -fs /usr/share/zoneinfo/UTC /etc/localtime
# sed -i 's/ONBOOT=no/ONBOOT=yes/'/etc/sysconfig/network-scripts/ifcfg-eth0
# systemctl restart network
# yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm

Error: Transaction check error" File /etc/pki/rpm-gpg/RPM-GPG-KEY-FREESWITCH from install of 2600Hz............. conflicts with the file from package freeswitch-release-repo-0-1.noarch

Link to comment
Share on other sites

# echo "MYUSERNAMEFORTOKEN"> /etc/yum/vars/signalwireusername
# echo ${TOKEN} > /etc/yum/vars/signalwiretoken
# yum install wget
# wget https://$(< /etc/yum/vars/signalwireusername):$(< /etc/yum/vars/signalwiretoken)@freeswitch.signalwire.com/repo/yum/centos-release/freeswitch-release-repo-0-1.noarch.rpm
# rpm -i --replacefiles freeswitch-release-repo-0-1.noarch.rpm

Skip these steps by installing freeswitch without them

Link to comment
Share on other sites

Thanks so far for your help, I really appreciate it.

No errors with the "yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm" command.

But as soon as I enter "yum install -y ntp" then I get "errno 14 https error 404 - not found"

"One of the configured repositories failed (freeswitch package for enterprice linux 7 - x86_64, and yum doesn't have anough cached data to continue......

See attach for details

Naamloos.png

Are you using Minimal version to?

Link to comment
Share on other sites

10 minutes ago, Gizmo said:

Thanks so far for your help, I really appreciate it.

No errors with the "yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm" command.

But as soon as I enter "yum install -y ntp" then I get "errno 14 https error 404 - not found"

"One of the configured repositories failed (freeswitch package for enterprice linux 7 - x86_64, and yum doesn't have anough cached data to continue......

See attach for details

Naamloos.png

Are you using Minimal version to?

Now you can execute

yum-config-manager --disable freeswitch

and then retry the next yum install 

Link to comment
Share on other sites

I'm having the same issue and will try now with what you have suggested @fmateo05 more soon! Thank you!

Im getting this error

 


[root@kazoo ~]# yum install kazoo-rabbitmq                                                            Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
epel/x86_64/metalink                                                           |  18 kB  00:00:00
 * base: centos.mirror.globo.tech
 * epel: mirror.dst.ca
 * extras: centos.mirror.globo.tech
 * updates: mirror.dst.ca
https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: [Errno 12] Timeout on https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.
https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: [Errno 12] Timeout on https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: (28, 'Connection timed out after 30001 milliseconds')
Trying other mirror.
 

Link to comment
Share on other sites

Also tried what is suggested here, but still the same problem. Can someone please let me know what else should I try?


[root@kazoo ~]# yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm
Loaded plugins: fastestmirror
Cannot open: https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm. Skipping.
Error: Nothing to do
[root@kazoo ~]#
 

Link to comment
Share on other sites

I continued with the installation but now I'm running into this. How can there be so many errors?

Could it be that I'm doing something wrong? I first installed the recommended one but it didn't work, uninstalled it and then installed the newer one according to the manual.

Naamloos.png

Link to comment
Share on other sites

@fmateo05my VM is located in Canada.

@GizmoI'm running into the same issues. But since Kazoo is completely new to me, I can't guess what it might be. The repo responds, because I can browse it, however, it's not reachable when updating dependencies or installing the kazoo-applications. I hope @fmateo05could guide me. I was wondering that my host is located in Canada is the issue, not sure if there is any Firewall-Geo restriction to prevent traffic from some locations.

 

Link to comment
Share on other sites

@Gizmoyou and I share the same sentiment about Kazoo... and I think at this point the same issue as well LOL. Documentation is pretty clear, I have tried many things. I normaly create VMs in my own baremetal server, but at this time, to try something new, I have created a VPS based in US to validate that it was not related to a geofencing, but I have the same problem. Are you able to make progress to some point?

I realized that you are getting no errors with the "yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm" command. However, I can't even get it to run,, look my results.


[root@sandbox ~]# yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm
Loaded plugins: fastestmirror
Cannot open: https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm. Skipping.
Error: Nothing to do

 

 

Edited by synogeek (see edit history)
Link to comment
Share on other sites

I use a VPS with multiple VMs (in proxmox) that run perfectly.

Do you just have internet access? Can you ping google? (DNS problem?)

I have tried the steps above and it works reasonably well, but then I run into the last problem. I don't want to immediately try something on my own as I might break more than I hope and then have to perform a reinstall. It's not the end of the world but rather not too often haha

Edited by Gizmo (see edit history)
Link to comment
Share on other sites

I use a BareMetal with Proxmox located in Canada, I created a VM full internet access, minimal Centos7 no issues at all with other repositories just 2600Hz. internet fully tested; I can even ping the moon! everything works fine. I'm not that bad following clear guides, LOL.  Just in case it was a geofencing issue, I tried with a VPS (separte from my BareMetal) locate in US in this case, and the results were the same, everything works fine except the yum install -y https://packages.2600hz.com/centos/7/stable/2600hz-release/4.3/2600hz-release-4.3-0.el7.centos.noarch.rpm

By the way, I also tried downloading the RPM manually and installed it manually, it works, but then there are issues when any package needs to be installed from there.

Link to comment
Share on other sites

If I do it manually, look what happens.

 

[root@sandbox ~]# cd /root/
[root@sandbox ~]# ls
2600hz-release-4.3-0.el7.centos.noarch.rpm  anaconda-ks.cfg  wget-log
2600hz.repo                                 original-ks.cfg
[root@sandbox ~]# yum install -y 2600hz-release-4.3-0.el7.centos.noarch.rpm
Loaded plugins: fastestmirror
Examining 2600hz-release-4.3-0.el7.centos.noarch.rpm: 2600hz-release-4.3-0.el7.c                                                                                                                                   entos.noarch
Marking 2600hz-release-4.3-0.el7.centos.noarch.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package 2600hz-release.noarch 0:4.3-0.el7.centos will be installed
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package  Arch   Version          Repository                               Size
================================================================================
Installing:
 2600hz-release
          noarch 4.3-0.el7.centos /2600hz-release-4.3-0.el7.centos.noarch  22 k

Transaction Summary
================================================================================
Install  1 Package

Total size: 22 k
Installed size: 22 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : 2600hz-release-4.3-0.el7.centos.noarch                       1/1
  Verifying  : 2600hz-release-4.3-0.el7.centos.noarch                       1/1

Installed:
  2600hz-release.noarch 0:4.3-0.el7.centos

Complete!
[root@sandbox ~]# sudo yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.mirror.constant.com
 * centos-sclo-rh: nc-centos-mirror.iwebfusion.net
 * centos-sclo-sclo: forksystems.mm.fcix.net
 * epel: iad.mirror.rackspace.com
 * extras: mirror.vtti.vt.edu
 * updates: mirror.wdc2.us.leaseweb.net
https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: [Errno 12] Time                                                                                                                                   out on https://packages.2600hz.com/centos/7/stable/repodata/repomd.xml: (28, 'Co                                                                                                                                   nnection timed out after 30001 milliseconds')
Trying other mirror.
 

The only thing I can think of is that OVH is blocked as vendor? I'll try now with a VM on my home network to see what happens.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...