Topic: phpMyAdmin dependency on Imagemagic?

Hi, I see this on RHEL v6 when running a normal update...
Why are these dependencies there, are they really necessary?

Loaded plugins: product-id, rhnplugin, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
This system is receiving updates from RHN Classic or RHN Satellite.
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:3.5.8.1-1.el6.remi will be updated
---> Package phpMyAdmin.noarch 0:4.0.0-1.el6.remi will be an update
--> Processing Dependency: php-tidy for package: phpMyAdmin-4.0.0-1.el6.remi.noarch
--> Processing Dependency: php-recode for package: phpMyAdmin-4.0.0-1.el6.remi.noarch
--> Processing Dependency: php-pecl(imagick) for package: phpMyAdmin-4.0.0-1.el6.remi.noarch
--> Processing Dependency: php-bcmath for package: phpMyAdmin-4.0.0-1.el6.remi.noarch
--> Running transaction check
---> Package php-bcmath.x86_64 0:5.4.14-1.el6.remi will be installed
---> Package php-pecl-imagick.x86_64 0:3.1.0-0.9.RC2.el6.remi will be installed
--> Processing Dependency: ImageMagick-last-libs >= 6.8.4 for package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64
--> Processing Dependency: /usr/bin/pecl for package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64
--> Processing Dependency: libMagickWand-6.Q16.so.1()(64bit) for package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64
--> Processing Dependency: libMagickCore-6.Q16.so.1()(64bit) for package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64
---> Package php-recode.x86_64 0:5.4.14-1.el6.remi will be installed
--> Processing Dependency: librecode.so.0()(64bit) for package: php-recode-5.4.14-1.el6.remi.x86_64
---> Package php-tidy.x86_64 0:5.4.14-1.el6.remi will be installed
--> Processing Dependency: libtidy-0.99.so.0()(64bit) for package: php-tidy-5.4.14-1.el6.remi.x86_64
--> Running transaction check
---> Package libtidy.x86_64 0:0.99.0-19.20070615.1.el6 will be installed
---> Package php-pear.noarch 1:1.9.4-12.el6.remi.1 will be installed
---> Package php-pecl-imagick.x86_64 0:3.1.0-0.9.RC2.el6.remi will be installed
--> Processing Dependency: ImageMagick-last-libs >= 6.8.4 for package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64
--> Processing Dependency: libMagickWand-6.Q16.so.1()(64bit) for package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64
--> Processing Dependency: libMagickCore-6.Q16.so.1()(64bit) for package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64
---> Package recode.x86_64 0:3.6-28.1.el6 will be installed
--> Finished Dependency Resolution
Error: Package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64 (remi)
           Requires: libMagickWand-6.Q16.so.1()(64bit)
Error: Package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64 (remi)
           Requires: ImageMagick-last-libs >= 6.8.4
Error: Package: php-pecl-imagick-3.1.0-0.9.RC2.el6.remi.x86_64 (remi)
           Requires: libMagickCore-6.Q16.so.1()(64bit)
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Note, my /etc/yum.repos.d/remi.repo file only has: includepkgs=mysql* compat-mysql51* php* mydumper*
So that is obviously why it can't resolve the dependency...

Re: phpMyAdmin dependency on Imagemagic?

> So that is obviously why it can't resolve the dependency...
Yes, obvious

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: phpMyAdmin dependency on Imagemagic?

Perhaps I should rephrase my question smile
Why is there a dependancy for Imagemagic necessary for phpMyAdmin?

Re: phpMyAdmin dependency on Imagemagic?

It have been droped in new build.

In fact it's a optional dependency of tcpdf (imagick is faster than gd, both can be used)

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

5 (edited by AndriesLouw 2013-05-12 11:09:45)

Re: phpMyAdmin dependency on Imagemagic?

Related, why has php-tcpdf the dependency php? I'm using php-fpm, and don't want to install h ttpd*

Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package phpMyAdmin.noarch 0:4.0.0-1.el6.remi will be updated
---> Package phpMyAdmin.noarch 0:4.0.0-2.el6.remi will be an update
--> Processing Dependency: php-tcpdf for package: phpMyAdmin-4.0.0-2.el6.remi.noarch
--> Running transaction check
---> Package php-tcpdf.noarch 0:6.0.012-1.el6.remi will be installed
--> Processing Dependency: php >= 5.2 for package: php-tcpdf-6.0.012-1.el6.remi.noarch
--> Running transaction check
---> Package php.x86_64 0:5.4.15-1.el6.remi will be installed
--> Processing Dependency: h ttpd-mmn = 20051115 for package: php-5.4.15-1.el6.remi.x86_64
--> Processing Dependency: h ttpd for package: php-5.4.15-1.el6.remi.x86_64
--> Finished Dependency Resolution
Error: Package: php-5.4.15-1.el6.remi.x86_64 (remi)
           Requires: h ttpd-mmn = 20051115
Error: Package: php-5.4.15-1.el6.remi.x86_64 (remi)
           Requires: h ttpd
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Also, I cannot type h ttpd twice on this forum, so I added an space in each "httpd":

Warning! The following errors must be corrected before your message can be posted:
Too more links in message. Allowed 1 links. Reduce number of links and post it again.

Edit:
Now I think about it, couldn't you replace "php" with "php-common" in the dependencies?

Re: phpMyAdmin dependency on Imagemagic?

I'm working on it https://github.com/remicollet/remirepo/issues/9

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: phpMyAdmin dependency on Imagemagic?

Fixed in pma 4.0.0-3 and php-tcpdf 6.0.013

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: phpMyAdmin dependency on Imagemagic?

Works like a charm, thank you!