Submitted by otis on Sat, 01/31/2015 - 15:14 Pro Licensee
When i install the phpmyadmin ver 4.3.8 it tries to install mcrypt, but reports as follows:
Installing package php-mcrypt ..
Installing package(s) with command yum -y install php-mcrypt ..
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.science.uottawa.ca
* extras: centos.mirror.ca.planethoster.net
* updates: centos.mirror.rafal.ca
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.4.16-2.el7 will be installed
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.4.16-2.el7.x86_64
--> Running transaction check
---> Package libmcrypt.x86_64 0:2.5.8-9.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
Package Arch Version Repository Size
================================================================================
Installing:
php-mcrypt x86_64 5.4.16-2.el7 virtualmin 19 k
Installing for dependencies:
libmcrypt x86_64 2.5.8-9.el6 virtualmin 95 k
Transaction Summary
================================================================================
Install 1 Package (+1 Dependent package)
Total size: 114 k
Installed size: 329 k
Downloading packages:
warning: /var/cache/yum/x86_64/7/virtualmin/packages/php-mcrypt-5.4.16-2.el7.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID 352c64e5: NOKEY
Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
The GPG keys listed for the "RHEL/CentOS/Scientific 7 - x86_64 - Virtualmin" repository are already installed but they are not correct for this package.
Check that the correct key URLs are configured for this repository.
Failing package is: php-mcrypt-5.4.16-2.el7.x86_64
GPG Keys are configured as: file:///etc/pki/rpm-gpg/RPM-GPG-KEY-virtualmin
.. install failed!
phpmyadmin 4.3.8 itself does install, and does not complain about the absence of mcrypt.
Do I need mcrypt? If so, how do I install it?
Should
Status:
Closed (fixed)
Comments
Submitted by andreychek on Sat, 01/31/2015 - 18:51 Comment #1
Howdy -- you don't actually need mcrypt for phpMyAdmin to work, it just provides additional functionality (which most people don't require).
That said, I'll ask Joe to take a look into that, as we'd certainly like our packaging to work properly :-) It sounds like there is an issue with the way the package was signed which is preventing it from being installed. That's likely a quick and simple fix, but Joe will know for sure.
I believe this is fixed now. You may need to do a "yum clean all" before re-trying the installation.
Submitted by otis on Sun, 02/08/2015 - 14:44 Pro Licensee Comment #3
Thanks. I uninstalled and then reinstalled phpmyadmin using the script installer. This time it picked up php-mcrypt from the virtualmin repo.