S
S
Shing2015-06-19 01:30:33
linux
Shing, 2015-06-19 01:30:33

Why is yum install php-pecl-geoip not installed?

yum install php-pecl-geoip throws errors.

yum install php-pecl-geoip
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror0.babylon.network
 * epel: mirror0.babylon.network
 * extras: mirror0.babylon.network
 * updates: mirror0.babylon.network
Resolving Dependencies
--> Running transaction check
---> Package php-pecl-geoip.x86_64 0:1.0.8-3.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-pecl-geoip-1.0.8-3.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-pecl-geoip-1.0.8-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-pecl-geoip-1.0.8-3.el6.x86_64 (epel)
           Requires: php(api) = 20090626
           Installed: php-common-5.4.42-1.el6.remi.x86_64 (@remi)
               php(api) = 20100412-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(api) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(api) = 20090626
Error: Package: php-pecl-geoip-1.0.8-3.el6.x86_64 (epel)
           Requires: php(zend-abi) = 20090626
           Installed: php-common-5.4.42-1.el6.remi.x86_64 (@remi)
               php(zend-abi) = 20100525-x86-64
           Available: php-common-5.3.3-38.el6.x86_64 (base)
               php(zend-abi) = 20090626
           Available: php-common-5.3.3-40.el6_6.x86_64 (updates)
               php(zend-abi) = 20090626
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Shing, 2015-06-19
@Shing

in general, I added the remi repository and everything was installed

rpm --import http://rpms.famillecollet.com/RPM-GPG-KEY-remi

rpm -ihv http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

После установки его необходимо включить. Заходим в файл и меняем в первой директиве [remi] enabled=0 на enabled=1
nano /etc/yum.repos.d/remi.repo

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question