Topic: Dependency issues when installing phpMyAdmin

Hello,

I'm running into the following dependency error when trying to sudo yum install phpmyadmin:

Error: Package: php-tidy-5.4.16-3.el7.x86_64 (epel)
           Requires: php(zend-abi) = 20100525-64
           Installed: php-common-5.6.18-1.el7.remi.x86_64 (@remi-php56)
               php(zend-abi) = 20131226-64
           Available: php-common-5.4.16-21.el7.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-23.el7_0.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-23.el7_0.1.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-36.el7_1.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
Error: Package: php-tidy-5.4.16-3.el7.x86_64 (epel)
           Requires: php(api) = 20100412-64
           Installed: php-common-5.6.18-1.el7.remi.x86_64 (@remi-php56)
               php(api) = 20131106-64
           Available: php-common-5.4.16-21.el7.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64
           Available: php-common-5.4.16-23.el7_0.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64
           Available: php-common-5.4.16-23.el7_0.1.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64
           Available: php-common-5.4.16-36.el7_1.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64

What I've tried:

sudo yum clean all
sudo yum --enablerepo=remi,remi-php56 update

I've also tried enabling the disabled repos.  Can anyone help?

thank you!

Re: Dependency issues when installing phpMyAdmin

Yum should pull php-tidy from remi-php56.
It it still try to pull version in base repo, this is probably related to priority or some other yum plugin.

Try with --noplugins option and paste "full" yum output (including the command)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Dependency issues when installing phpMyAdmin

Thanks, Remi -

If you mean to run

sudo yum install php-tidy --noplugins

then the entire output is:

epel/x86_64/metalink                                                                     |  11 kB  00:00:00
mysql-connectors-community                                                               | 2.5 kB  00:00:00
mysql-tools-community                                                                    | 2.5 kB  00:00:00
mysql57-community                                                                        | 2.5 kB  00:00:00
remi-safe                                                                                | 2.9 kB  00:00:00
(1/2): mysql-tools-community/x86_64/primary_db                                           |  25 kB  00:00:00
(2/2): remi-safe/primary_db                                                              | 358 kB  00:00:00
Resolving Dependencies
--> Running transaction check
---> Package php-tidy.x86_64 0:5.4.16-3.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-tidy-5.4.16-3.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-tidy-5.4.16-3.el7.x86_64
--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy-5.4.16-3.el7.x86_64
--> Running transaction check
---> Package libtidy.x86_64 0:0.99.0-31.20091203.el7 will be installed
---> Package php-tidy.x86_64 0:5.4.16-3.el7 will be installed
--> Processing Dependency: php(zend-abi) = 20100525-64 for package: php-tidy-5.4.16-3.el7.x86_64
--> Processing Dependency: php(api) = 20100412-64 for package: php-tidy-5.4.16-3.el7.x86_64
--> Finished Dependency Resolution
Error: Package: php-tidy-5.4.16-3.el7.x86_64 (epel)
           Requires: php(zend-abi) = 20100525-64
           Installed: php-common-5.6.18-1.el7.remi.x86_64 (@remi-php56)
               php(zend-abi) = 20131226-64
           Available: php-common-5.4.16-21.el7.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-23.el7_0.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-23.el7_0.1.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
           Available: php-common-5.4.16-36.el7_1.x86_64 (rhel-7-server-rpms)
               php(zend-abi) = 20100525-64
Error: Package: php-tidy-5.4.16-3.el7.x86_64 (epel)
           Requires: php(api) = 20100412-64
           Installed: php-common-5.6.18-1.el7.remi.x86_64 (@remi-php56)
               php(api) = 20131106-64
           Available: php-common-5.4.16-21.el7.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64
           Available: php-common-5.4.16-23.el7_0.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64
           Available: php-common-5.4.16-23.el7_0.1.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64
           Available: php-common-5.4.16-23.el7_0.3.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64
           Available: php-common-5.4.16-36.el7_1.x86_64 (rhel-7-server-rpms)
               php(api) = 20100412-64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

However, here is the output of showduplicates:

Loaded plugins: product-id, search-disabled-repos, subscription-manager
Available Packages
php-tidy.x86_64                        5.4.16-3.el7                         epel

I have only the EPEL version available.  So I ran my repolist:

Loaded plugins: product-id, search-disabled-repos, subscription-manager
repo id                                 repo name                                                         status
epel/x86_64                             Extra Packages for Enterprise Linux 7 - x86_64                     9,556
mysql-connectors-community/x86_64       MySQL Connectors Community                                            17
mysql-tools-community/x86_64            MySQL Tools Community                                                 33
mysql57-community/x86_64                MySQL 5.7 Community Server                                            56
remi-safe                               Safe Remi's RPM repository for Enterprise Linux 7 - x86_64           732
rhel-7-server-rpms/7Server/x86_64       Red Hat Enterprise Linux 7 Server (RPMs)                          10,348
repolist: 20,742

I'm guessing I'm missing a repo?  Or do I need to (temporarily?) disable EPEL?

Thanks,
/ejt

Re: Dependency issues when installing phpMyAdmin

You have php-common from @remi-php56 which is not enabled.

Simpler to permanently enable it, to fix this issue and future ones

yum-config-manager --enable remi-php56
Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Dependency issues when installing phpMyAdmin

Thanks very much - that did the trick.  I needed to install yum-utils to get the config-manager, but all transactions completed!

Re: Dependency issues when installing phpMyAdmin

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi