Linux - Installing phpmyadmin

mcorsi62
mcorsi62 used Ask the Experts™
on
I am unable to get phpmyadmin installed on a RHEL 5 OS. The main error message is:

Public key for libmcrypt-2.5.8-4.el5.centos.i386.rpm is not installed

The complete sequence is:

Last login: Fri May 13 08:10:17 2011
[root@staging ~]# yum install phpmyadmin
Loaded plugins: rhnplugin, security
rhel-i386-server-5                                  | 1.4 kB     00:00    
rpmforge                                            | 1.1 kB     00:00    
utterramblings                                      |  951 B     00:00    
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpmyadmin.noarch 0:2.11.11.3-1.el5.rf set to be updated
--> Processing Dependency: php-mcrypt for package: phpmyadmin
--> Running transaction check
---> Package php-mcrypt.i386 0:5.2.16-jason.1 set to be updated
--> Processing Dependency: libmcrypt.so.4 for package: php-mcrypt
--> Running transaction check
---> Package libmcrypt.i386 0:2.5.8-4.el5.centos set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

===========================================================================
 Package        Arch       Version                Repository          Size
===========================================================================
Installing:
 phpmyadmin     noarch     2.11.11.3-1.el5.rf     rpmforge           4.2 M
Installing for dependencies:
 libmcrypt      i386       2.5.8-4.el5.centos     utterramblings     116 k
 php-mcrypt     i386       5.2.16-jason.1         utterramblings      47 k

Transaction Summary
===========================================================================
Install       3 Package(s)
Upgrade       0 Package(s)

Total size: 4.4 M
Is this ok [y/N]: y
Downloading Packages:
warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID e8562897
utterramblings/gpgkey                                                              | 1.3 kB     00:00    


Public key for libmcrypt-2.5.8-4.el5.centos.i386.rpm is not installed
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
yum --nogpgcheck install phpmyadmin

Author

Commented:
But wouldn't that leave phpadmin unable to securely connect to remote servers?
No.  It is not for  connection.  Just try it.  

The purpose of gpg is different.
How to Generate Services Revenue the Easiest Way

This Tuesday! Learn key insights about modern cyber protection services & gain practical strategies to skyrocket business:

- What it takes to build a cloud service portfolio
- How to determine which services will help your unique business grow
- Various use-cases and examples

Top Expert 2011

Commented:

Author

Commented:
Farzanj - Loooks like we got further, but install still died:

[root@staging ~]# yum --nogpgcheck install phpmyadmin
Loaded plugins: rhnplugin, security
rhel-i386-server-5                                                                 | 1.4 kB     00:00    
rpmforge                                                                           | 1.1 kB     00:00    
utterramblings                                                                     |  951 B     00:00    
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpmyadmin.noarch 0:2.11.11.3-1.el5.rf set to be updated
--> Processing Dependency: php-mcrypt for package: phpmyadmin
--> Running transaction check
---> Package php-mcrypt.i386 0:5.2.16-jason.1 set to be updated
--> Processing Dependency: libmcrypt.so.4 for package: php-mcrypt
--> Running transaction check
---> Package libmcrypt.i386 0:2.5.8-4.el5.centos set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

==========================================================================================================
 Package               Arch              Version                          Repository                 Size
==========================================================================================================
Installing:
 phpmyadmin            noarch            2.11.11.3-1.el5.rf               rpmforge                  4.2 M
Installing for dependencies:
 libmcrypt             i386              2.5.8-4.el5.centos               utterramblings            116 k
 php-mcrypt            i386              5.2.16-jason.1                   utterramblings             47 k

Transaction Summary
==========================================================================================================
Install       3 Package(s)
Upgrade       0 Package(s)

Total size: 4.4 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : libmcrypt                                                                          1/3
  Installing     : php-mcrypt                                                                         2/3
  Installing     : phpmyadmin                                                                         3/3
Traceback (most recent call last):
  File "/usr/bin/yum", line 29, in ?
    yummain.user_main(sys.argv[1:], exit_code=True)
  File "/usr/share/yum-cli/yummain.py", line 309, in user_main
    errcode = main(args)
  File "/usr/share/yum-cli/yummain.py", line 261, in main
    return_code = base.doTransaction()
  File "/usr/share/yum-cli/cli.py", line 476, in doTransaction
    resultobject = self.runTransaction(cb=cb)
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 1006, in runTransaction
    self.plugins.run('posttrans')
  File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
    func(conduitcls(self, self.base, conf, **kwargs))
  File "/usr/lib/yum-plugins/rhnplugin.py", line 207, in posttrans_hook
    rhnPackageInfo.updatePackageProfile()
  File "/usr/share/rhn/up2date_client/rhnPackageInfo.py", line 28, in updatePackageProfile
    s.registration.update_packages(up2dateAuth.getSystemId(), packages)
  File "/usr/share/rhn/up2date_client/rhnserver.py", line 50, in __call__
    return rpcServer.doCall(method, *args, **kwargs)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 204, in doCall
    ret = method(*args, **kwargs)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/share/rhn/up2date_client/rpcServer.py", line 38, in _request1
    ret = self._request(methodname, params)
  File "/usr/lib/python2.4/site-packages/rhn/rpclib.py", line 383, in _request
    self._handler, request, verbose=self._verbose)
  File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 171, in request
    headers, fd = req.send_http(host, handler)
  File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 706, in send_http
    response = self._connection.getresponse()
  File "/usr/lib/python2.4/site-packages/rhn/connections.py", line 124, in getresponse
    response.begin()
  File "/usr/lib/python2.4/httplib.py", line 336, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python2.4/httplib.py", line 294, in _read_status
    line = self.fp.readline()
  File "/usr/lib/python2.4/site-packages/rhn/SSL.py", line 265, in readline
    data = self._connection.recv(bufsize)
OpenSSL.SSL.Error: [('SSL routines', 'SSL3_READ_BYTES', 'sslv3 alert bad record mac')]
You have new mail in /var/spool/mail/root
Top Expert 2011
Commented:
Do
yum clean all
first then install again.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial