LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Unable to install php-mcrypt (https://www.linuxquestions.org/questions/linux-newbie-8/unable-to-install-php-mcrypt-4175532363/)

Raakh5 01-29-2015 01:24 AM

Unable to install php-mcrypt
 
Hello,

I tried as per http://kb.sp.parallels.com/en/118651

Code:

# rpm -Uvh http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Retrieving http://dl.fedoraproject.org/pub/epel...6-8.noarch.rpm
Preparing...                ########################################### [100%]
        package epel-release-6-8.noarch is already installed



[root@aa ~]# yum install php-mcrypt
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
 * epel: ftp.nluug.nl
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
          Requires: php(api) = 20090626
          Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
              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-mcrypt-5.3.3-3.el6.x86_64 (epel)
          Requires: php(zend-abi) = 20090626
          Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
              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

Please advise

Thanks in anticipation

sudowtf 01-29-2015 10:56 AM

are you legitimately 64 bit?
Code:

$ uname -m
try: http://www.ehowstuff.com/how-to-fix-...problem-error/

Raakh5 01-29-2015 02:47 PM

Code:

[root@aa ~]# uname -m
x86_64


[root@aa ~]# yum install yum-utils
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink                                            |  26 kB    00:00   
 * epel: ftp.nluug.nl
base                                                    | 3.7 kB    00:00   
extras                                                  | 3.4 kB    00:00   
updates                                                  | 3.4 kB    00:00   
Package yum-utils-1.1.30-30.el6.noarch already installed and latest version
Nothing to do
[root@hakim-group ~]# yum clean all
Loaded plugins: fastestmirror, security
Cleaning repos: base epel extras updates
Cleaning up Everything
Cleaning up list of fastest mirrors

[root@hakim-group ~]# yum install php-mcrypt
Loaded plugins: fastestmirror, security
Setting up Install Process
Loading mirror speeds from cached hostfile
 * epel: ftp.nluug.nl
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.3.3-3.el6 will be installed
--> Processing Dependency: php(zend-abi) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Processing Dependency: php(api) = 20090626 for package: php-mcrypt-5.3.3-3.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-mcrypt-5.3.3-3.el6.x86_64 (epel)
          Requires: php(api) = 20090626
          Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
              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-mcrypt-5.3.3-3.el6.x86_64 (epel)
          Requires: php(zend-abi) = 20090626
          Installed: php-common-5.4.26-32.el6.art.x86_64 (@atomic)
              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

I did what this link suggest but above is the result

Please advise

Best regards

sudowtf 01-30-2015 11:57 AM

maybe i'm not the best to answer this but i'll try some more.

what version of centos or redhat are you using?
Code:

uname -a
cat /etc/*-release

it seems to me it depends on a php version 5.3.xxx but a 5.4.xxx installed.

Raakh5 01-30-2015 02:55 PM

Code:

# uname -a
Linux domainName 2.6.32-504.3.3.el6.x86_64 #1 SMP Wed Dec 17 01:55:02 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


# cat /etc/*-release
CentOS release 6.6 (Final)
LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch
CentOS release 6.6 (Final)
CentOS release 6.6 (Final)

thanks again

sudowtf 01-30-2015 03:17 PM

does "yum update" work without error? try that then install. if not i read online that "REMI" repo has a newer version (and might be compatible).

skip all the EPEL and IUS sections and go to the REMI sections: http://www.rackspace.com/knowledge_c...os-and-red-hat

BUT DON'T COUNT ON ME KNOWING FOR SURE, i never had this issue for php-mcrypt myself.

Raakh5 01-30-2015 03:27 PM

Thanks again for your favorable reply

I used yum update command successfully but what it did it updated all module and install all plesk modules as art.* files. Now Plesk is not running its own modules but separate modules installed as 3rd party software that ruined my server. I strongly advise to not use "yum update" command in any case when Plesk is installed.

yum update and then tried yum install php-mcrypt but with no luck

Best regards

sudowtf 01-30-2015 03:30 PM

oh goodness, i'm so sorry. i've never ever had a situation where updating was actually bad. again, so sorry.

someone, please help this poor fellow.


All times are GMT -5. The time now is 11:10 AM.