Linux – Getting Linux error while installing phptheadmin in centos

centoslinuxyum

When i am trying yum install phpmyadmin then i get this error

Error: Package: php-gd-5.3.3-22.el6.x86_64 (base)
           Requires: php-common(x86-64) = 5.3.3-22.el6
           Installed: php-common-5.5.0-1.el6.remi.x86_64 (@remi-test)
               php-common(x86-64) = 5.5.0-1.el6.remi
           Available: php-common-5.3.3-22.el6.x86_64 (base)
               php-common(x86-64) = 5.3.3-22.el6
 You could try using --skip-broken to work around the problem
** Found 1 pre-existing rpmdb problem(s), 'yum check' output follows:
yum-3.2.29-40.el6.centos.noarch has missing requires of yum-plugin-fastestmirror

What do i need to do to fix that error

UPDATE:

Then i get this

Repository epel is listed more than once in the configuration
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:3.5.8.1-1.el6 will be installed
--> Processing Dependency: php-gd >= 5.2.0 for package: phpMyAdmin-3.5.8.1-1.el6.noarch
--> Processing Dependency: php-php-gettext for package: phpMyAdmin-3.5.8.1-1.el6.noarch
--> Running transaction check
---> Package php-gd.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-gd-5.3.3-22.el6.x86_64
---> Package php-php-gettext.noarch 0:1.0.11-3.el6 will be installed

Packages skipped because of dependency problems:
    php-gd-5.3.3-22.el6.x86_64 from base
    php-php-gettext-1.0.11-3.el6.noarch from epel
    phpMyAdmin-3.5.8.1-1.el6.noarch from epel

Best Answer

The first error is because you have a newer version of PHP - specifically the php-common package - installed from the remi-test repo than the php-gd package can deal with. The easiest way to resolve the initial problem is to remove the remi-test repo, downgrade to the version of php-common provided in the base repo, then re-run the yum install phpmyadmin command.