phpmyadmin script install: Problem with php-mcrypt-5.4.16-2.el7.x86_64.rpm in virtualmin library

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

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.

Joe's picture
Submitted by Joe on Sun, 02/01/2015 - 03:05 Pro Licensee

I believe this is fixed now. You may need to do a "yum clean all" before re-trying the installation.

Thanks. I uninstalled and then reinstalled phpmyadmin using the script installer. This time it picked up php-mcrypt from the virtualmin repo.