elastix-missing-dependency

How to resolve Missing Dependency is needed by package in freepbx, elastix upgrades

How to resolve Missing Dependency is needed by package in freepbx, elastix upgrades

On daily updating routines and removing packages without knowing whether its required to run the pbx applications.elastix-missing-dependency

Some normally don’t care, they simply type “y” and continue the installation or un-installation of the packages.

This is a nature behaviors when it comes to installation/removal processes 🙂

.When you do server # yum update elastix or yum update

[root@IPBX ~]# yum update elastix
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * commercial-addons: elastix.adaptixnetworks.com
 * elastix-base: elastix.adaptixnetworks.com
 * elastix-extras: elastix.adaptixnetworks.com
 * elastix-updates: elastix.adaptixnetworks.com
LowayResearch                                                                                                                                             |  951 B     00:00
commercial-addons                                                                                                                                         |  951 B     00:00
elastix-base                                                                                                                                              |  951 B     00:00
elastix-extras                                                                                                                                            |  951 B     00:00
elastix-updates                                                                                                                                           |  951 B     00:00
elastix-updates/primary                                                                                                                                   | 120 kB     00:01
elastix-updates                                                                                                                                                          205/205
pgdg91                                                                                                                                                    | 2.1 kB     00:00
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package elastix.noarch 0:2.5.0-1 set to be updated
--> Processing Dependency: elastix-system >= 2.5.0-1 for package: elastix
--> Processing Dependency: elastix-addons >= 2.5.0-1 for package: elastix
--> Processing Dependency: elastix-my_extension >= 2.5.0-1 for package: elastix
--> Processing Dependency: elastix-pbx >= 2.5.0-1 for package: elastix
--> Processing Dependency: elastix-agenda >= 2.5.0-1 for package: elastix
--> Processing Dependency: elastix-framework >= 2.5.0-1 for package: elastix
--> Running transaction check
---> Package elastix-addons.noarch 0:2.5.0-1 set to be updated
---> Package elastix-agenda.noarch 0:2.5.0-1 set to be updated
---> Package elastix-framework.noarch 0:2.5.0-2 set to be updated
---> Package elastix-my_extension.noarch 0:2.5.0-1 set to be updated
--> Processing Dependency: freePBX >= 2.11.0-1 for package: elastix-my_extension
---> Package elastix-pbx.noarch 0:2.5.0-1 set to be updated
--> Processing Dependency: elastix-endpointconfig2 >= 2.4.0-0 for package: elastix-pbx
---> Package elastix-system.noarch 0:2.5.0-1 set to be updated
--> Running transaction check
---> Package elastix-endpointconfig2.noarch 0:2.5.0-1 set to be updated
--> Processing Dependency: python-paramiko >= 1.7.6-2 for package: elastix-endpointconfig2
--> Processing Dependency: python-daemon for package: elastix-endpointconfig2
--> Processing Dependency: php-magpierss for package: elastix-endpointconfig2
--> Processing Dependency: python-eventlet for package: elastix-endpointconfig2
--> Processing Dependency: python-tempita for package: elastix-endpointconfig2
--> Processing Dependency: pytz for package: elastix-endpointconfig2
--> Processing Dependency: python-cjson for package: elastix-endpointconfig2
--> Processing Dependency: py-Asterisk for package: elastix-endpointconfig2
---> Package freePBX.noarch 0:2.11.0-18 set to be updated
--> Running transaction check
---> Package elastix-endpointconfig2.noarch 0:2.5.0-1 set to be updated
--> Processing Dependency: python-daemon for package: elastix-endpointconfig2
--> Processing Dependency: python-eventlet for package: elastix-endpointconfig2
--> Processing Dependency: python-tempita for package: elastix-endpointconfig2
--> Processing Dependency: pytz for package: elastix-endpointconfig2
--> Processing Dependency: python-cjson for package: elastix-endpointconfig2
---> Package php-magpierss.noarch 0:0.72-3.el5 set to be updated
---> Package py-Asterisk.noarch 0:0.5.2-1 set to be updated
---> Package python-paramiko.noarch 0:1.7.6-2 set to be updated
--> Processing Dependency: python-crypto >= 1.9 for package: python-paramiko
--> Finished Dependency Resolution
elastix-endpointconfig2-2.5.0-1.noarch from elastix-updates has depsolving problems
  --> Missing Dependency: python-eventlet is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
python-paramiko-1.7.6-2.noarch from elastix-extras has depsolving problems
  --> Missing Dependency: python-crypto >= 1.9 is needed by package python-paramiko-1.7.6-2.noarch (elastix-extras)
elastix-endpointconfig2-2.5.0-1.noarch from elastix-updates has depsolving problems
  --> Missing Dependency: python-cjson is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
elastix-endpointconfig2-2.5.0-1.noarch from elastix-updates has depsolving problems
  --> Missing Dependency: python-daemon is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
elastix-endpointconfig2-2.5.0-1.noarch from elastix-updates has depsolving problems
  --> Missing Dependency: python-tempita is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
elastix-endpointconfig2-2.5.0-1.noarch from elastix-updates has depsolving problems
  --> Missing Dependency: pytz is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
Error: Missing Dependency: python-eventlet is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
Error: Missing Dependency: pytz is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
Error: Missing Dependency: python-crypto >= 1.9 is needed by package python-paramiko-1.7.6-2.noarch (elastix-extras)
Error: Missing Dependency: python-cjson is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
Error: Missing Dependency: python-tempita is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
Error: Missing Dependency: python-daemon is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
 You could try using --skip-broken to work around the problem
 You could try running: package-cleanup --problems
                        package-cleanup --dupes
                        rpm -Va --nofiles --nodigest

You can use the below commands to ignore the problem or missing Dependency packages

[root@IPBX ~]# yum update elastix* --skip-broken
or  
[root@IPBX ~]# yum update --skip-broken

But, that’s not the solution to do the complete update of your applications.

so, we are going to address each & every missing Dependency and install the missing Dependency.
This Guide : How to resolve Missing Dependency is needed by package in freepbx, elastix upgrades will help you

This missing dependencies are normally found in centos or fedora mirrors. we are going to the use the below mirrors to resolve centos 5 based.

For 64 bit Operating Systems :
https://dl.fedoraproject.org/pub/epel/5/x86_64/

For 32 bit Operating Systems :
https://dl.fedoraproject.org/pub/epel/5/i386/

on our example update, there are 5 Dependency, we can easily resolve this by installing the packages one by one.

Error: Missing Dependency: python-eventlet is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
Error: Missing Dependency: pytz is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
Error: Missing Dependency: python-crypto >= 1.9 is needed by package python-paramiko-1.7.6-2.noarch (elastix-extras)
Error: Missing Dependency: python-cjson is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
Error: Missing Dependency: python-tempita is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)
Error: Missing Dependency: python-daemon is needed by package elastix-endpointconfig2-2.5.0-1.noarch (elastix-updates)

Just go to
https://dl.fedoraproject.org/pub/epel/5/x86_64/ for 64 bit Operating Systems
https://dl.fedoraproject.org/pub/epel/5/i386/ for For 32 bit Operating Systems

When a Package says noarch, that means it can be installed on both 32 and 64 bit operating systems.

python-eventlet
rpm -i https://dl.fedoraproject.org/pub/epel/5/i386/python-eventlet-0.9.12-2.el5.noarch.rpm

python-tempita
rpm -i https://dl.fedoraproject.org/pub/epel/5/i386/python-tempita-0.2-2.el5.noarch.rpm

python-daemon
rpm -i https://dl.fedoraproject.org/pub/epel/5/i386/python-daemon-1.5.2-3.el5.noarch.rpm

pytz
rpm -i https://dl.fedoraproject.org/pub/epel/5/i386/pytz-2010h-1.el5.noarch.rpm


python-crypto
32bit
rpm -i https://dl.fedoraproject.org/pub/epel/5/i386/poco-crypto-1.3.5-9.el5.i386.rpm
64bit
rpm -i https://dl.fedoraproject.org/pub/epel/5/x86_64/poco-crypto-1.3.5-9.el5.x86_64.rpm

python-cjson
32bit
rpm -i https://dl.fedoraproject.org/pub/epel/5/i386/python-cjson-1.0.5-2.el5.i386.rpm
64bit
rpm -i https://dl.fedoraproject.org/pub/epel/5/x86_64/python-cjson-1.0.5-2.el5.x86_64.rpm

Once you have installed all the missing Dependency

run again,

[root@IPBX ~]# yum update

it will upgrade without any issues.

if you see any other missing Dependency do go to this url & download the rpms install it and try again upgrading.
For 64 bit Operating Systems :
http://repo.elastix.org/elastix/2.0/updates/x86_64/RPMS/
For 32 bit Operating Systems :
http://repo.elastix.org/elastix/2.0/updates/i386/RPMS/

If you have any doubts or you having any corrections and suggestions on this article, Please do drop in. I will be glad and happy to input your ideas on this article.

As usual, check again for more guides & Articles. I hope this helped few.

3 Replies to “How to resolve Missing Dependency is needed by package in freepbx, elastix upgrades”

  1. For install python-daemon on Elastix (Centos 5) install 2 packages:
    python-lockfile-0.8-3.el5.noarch.rpm
    python-daemon-1.5.2-3.el5.noarch.rpm

Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.