Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-17389

(RHEL|CentOS|OEL) 7 confusing dependencies

    XMLWordPrintable

    Details

      Description

      Steps to reproduce:

      1. Case 1: i want only frontend files, why web package requires php? For example CentOS 7 with SCL for PHP 7.3 used, my goal is to install nginx + php-fpm manually and skip-broken option is a bad solution:
        yum install zabbix-web
        repoquery --requires --resolve  zabbix-web
        bash-0:4.2.46-33.el7.x86_64
        chkconfig-0:1.7.4-1.el7.x86_64
        php-gd-0:5.4.16-46.el7.x86_64
        php-mbstring-0:5.4.16-46.1.el7_7.x86_64
        php-bcmath-0:5.4.16-46.el7.x86_64
        zabbix-web-pgsql-0:4.4.6-1.el7.noarch
        zabbix-web-mysql-0:4.4.6-1.el7.noarch
        httpd-0:2.4.6-90.el7.centos.x86_64
        php-0:5.4.16-46.1.el7_7.x86_64
        php-ldap-0:5.4.16-46.el7.x86_64
        php-xml-0:5.4.16-46.1.el7_7.x86_64
        dejavu-sans-fonts-0:2.33-6.el7.noarch
        ...
        Dependencies Resolved
        
        ================================================================================================================================================
         Package                                    Arch                      Version                                  Repository                  Size
        ================================================================================================================================================
        Installing:
         zabbix-web                                 noarch                    4.4.6-1.el7                              zabbix                     2.9 M
        Installing for dependencies:
         apr                                        x86_64                    1.4.8-5.el7                              base                       103 k
         apr-util                                   x86_64                    1.5.2-6.el7                              base                        92 k
         centos-logos                               noarch                    70.0.6-3.el7.centos                      base                        21 M
         dejavu-fonts-common                        noarch                    2.33-6.el7                               base                        64 k
         dejavu-sans-fonts                          noarch                    2.33-6.el7                               base                       1.4 M
         fontpackages-filesystem                    noarch                    1.44-8.el7                               base                       9.9 k
         httpd                                      x86_64                    2.4.6-90.el7.centos                      base                       2.7 M
         httpd-tools                                x86_64                    2.4.6-90.el7.centos                      base                        91 k
         libX11                                     x86_64                    1.6.7-2.el7                              base                       607 k
         libX11-common                              noarch                    1.6.7-2.el7                              base                       164 k
         libXau                                     x86_64                    1.0.8-2.1.el7                            base                        29 k
         libXpm                                     x86_64                    3.5.12-1.el7                             base                        55 k
         libjpeg-turbo                              x86_64                    1.2.90-8.el7                             base                       135 k
         libxcb                                     x86_64                    1.13-1.el7                               base                       214 k
         libxslt                                    x86_64                    1.1.28-5.el7                             base                       242 k
         libzip                                     x86_64                    0.10.1-8.el7                             base                        48 k
         mailcap                                    noarch                    2.1.41-2.el7                             base                        31 k
         php                                        x86_64                    5.4.16-46.1.el7_7                        updates                    1.4 M
         php-bcmath                                 x86_64                    5.4.16-46.1.el7_7                        updates                     58 k
         php-cli                                    x86_64                    5.4.16-46.1.el7_7                        updates                    2.7 M
         php-common                                 x86_64                    5.4.16-46.1.el7_7                        updates                    565 k
         php-gd                                     x86_64                    5.4.16-46.1.el7_7                        updates                    128 k
         php-ldap                                   x86_64                    5.4.16-46.1.el7_7                        updates                     53 k
         php-mbstring                               x86_64                    5.4.16-46.1.el7_7                        updates                    505 k
         php-pdo                                    x86_64                    5.4.16-46.1.el7_7                        updates                     99 k
         php-pgsql                                  x86_64                    5.4.16-46.1.el7_7                        updates                     86 k
         php-xml                                    x86_64                    5.4.16-46.1.el7_7                        updates                    126 k
         postgresql-libs                            x86_64                    9.2.24-2.el7_7                           updates                    234 k
         t1lib                                      x86_64                    5.1.2-14.el7                             base                       166 k
         zabbix-web-pgsql                           noarch                    4.4.6-1.el7                              zabbix                      11 k
        
        
         
        *Result:*
        See screenshot...
        See log file...
        See memory dump...
        *Expected:*
        See screenshot....
        See attached patch file...
        
        
      2. Case 2: i want to install nginx configuration files without PHP5.4 version:
        yum install zabbix-nginx-conf
        
        ================================================================================================================================================
         Package                                       Arch                     Version                                 Repository                 Size
        ================================================================================================================================================
        Installing:
         zabbix-nginx-conf                             noarch                   4.4.6-1.el7                             zabbix                    228 k
        Installing for dependencies:
         apr                                           x86_64                   1.4.8-5.el7                             base                      103 k
         apr-util                                      x86_64                   1.5.2-6.el7                             base                       92 k
         centos-indexhtml                              noarch                   7-9.el7.centos                          base                       92 k
         centos-logos                                  noarch                   70.0.6-3.el7.centos                     base                       21 M
         dejavu-fonts-common                           noarch                   2.33-6.el7                              base                       64 k
         dejavu-sans-fonts                             noarch                   2.33-6.el7                              base                      1.4 M
         fontconfig                                    x86_64                   2.13.0-4.3.el7                          base                      254 k
         fontpackages-filesystem                       noarch                   1.44-8.el7                              base                      9.9 k
         gd                                            x86_64                   2.0.35-26.el7                           base                      146 k
         gperftools-libs                               x86_64                   2.6.1-1.el7                             base                      272 k
         httpd                                         x86_64                   2.4.6-90.el7.centos                     base                      2.7 M
         httpd-tools                                   x86_64                   2.4.6-90.el7.centos                     base                       91 k
         libX11                                        x86_64                   1.6.7-2.el7                             base                      607 k
         libX11-common                                 noarch                   1.6.7-2.el7                             base                      164 k
         libXau                                        x86_64                   1.0.8-2.1.el7                           base                       29 k
         libXpm                                        x86_64                   3.5.12-1.el7                            base                       55 k
         libjpeg-turbo                                 x86_64                   1.2.90-8.el7                            base                      135 k
         libxcb                                        x86_64                   1.13-1.el7                              base                      214 k
         libxslt                                       x86_64                   1.1.28-5.el7                            base                      242 k
         libzip                                        x86_64                   0.10.1-8.el7                            base                       48 k
         mailcap                                       noarch                   2.1.41-2.el7                            base                       31 k
         make                                          x86_64                   1:3.82-24.el7                           base                      421 k
         nginx                                         x86_64                   1:1.16.1-1.el7                          epel                      562 k
         nginx-all-modules                             noarch                   1:1.16.1-1.el7                          epel                       19 k
         nginx-filesystem                              noarch                   1:1.16.1-1.el7                          epel                       21 k
         nginx-mod-http-image-filter                   x86_64                   1:1.16.1-1.el7                          epel                       30 k
         nginx-mod-http-perl                           x86_64                   1:1.16.1-1.el7                          epel                       39 k
         nginx-mod-http-xslt-filter                    x86_64                   1:1.16.1-1.el7                          epel                       29 k
         nginx-mod-mail                                x86_64                   1:1.16.1-1.el7                          epel                       57 k
         nginx-mod-stream                              x86_64                   1:1.16.1-1.el7                          epel                       84 k
         openssl                                       x86_64                   1:1.0.2k-19.el7                         base                      493 k
         perl                                          x86_64                   4:5.16.3-294.el7_6                      base                      8.0 M
         perl-Carp                                     noarch                   1.26-244.el7                            base                       19 k
         perl-Encode                                   x86_64                   2.51-7.el7                              base                      1.5 M
         perl-Exporter                                 noarch                   5.68-3.el7                              base                       28 k
         perl-File-Path                                noarch                   2.09-2.el7                              base                       26 k
         perl-File-Temp                                noarch                   0.23.01-3.el7                           base                       56 k
         perl-Filter                                   x86_64                   1.49-3.el7                              base                       76 k
         perl-Getopt-Long                              noarch                   2.40-3.el7                              base                       56 k
         perl-HTTP-Tiny                                noarch                   0.033-3.el7                             base                       38 k
         perl-PathTools                                x86_64                   3.40-5.el7                              base                       82 k
         perl-Pod-Escapes                              noarch                   1:1.04-294.el7_6                        base                       51 k
         perl-Pod-Perldoc                              noarch                   3.20-4.el7                              base                       87 k
         perl-Pod-Simple                               noarch                   1:3.28-4.el7                            base                      216 k
         perl-Pod-Usage                                noarch                   1.63-3.el7                              base                       27 k
         perl-Scalar-List-Utils                        x86_64                   1.27-248.el7                            base                       36 k
         perl-Socket                                   x86_64                   2.010-4.el7                             base                       49 k
         perl-Storable                                 x86_64                   2.45-3.el7                              base                       77 k
         perl-Text-ParseWords                          noarch                   3.29-4.el7                              base                       14 k
         perl-Time-HiRes                               x86_64                   4:1.9725-3.el7                          base                       45 k
         perl-Time-Local                               noarch                   1.2300-2.el7                            base                       24 k
         perl-constant                                 noarch                   1.27-2.el7                              base                       19 k
         perl-libs                                     x86_64                   4:5.16.3-294.el7_6                      base                      688 k
         perl-macros                                   x86_64                   4:5.16.3-294.el7_6                      base                       44 k
         perl-parent                                   noarch                   1:0.225-244.el7                         base                       12 k
         perl-podlators                                noarch                   2.5.1-3.el7                             base                      112 k
         perl-threads                                  x86_64                   1.87-4.el7                              base                       49 k
         perl-threads-shared                           x86_64                   1.43-6.el7                              base                       39 k
         php                                           x86_64                   5.4.16-46.1.el7_7                       updates                   1.4 M
         php-bcmath                                    x86_64                   5.4.16-46.1.el7_7                       updates                    58 k
         php-cli                                       x86_64                   5.4.16-46.1.el7_7                       updates                   2.7 M
         php-common                                    x86_64                   5.4.16-46.1.el7_7                       updates                   565 k
         php-fpm                                       x86_64                   5.4.16-46.1.el7_7                       updates                   1.4 M
         php-gd                                        x86_64                   5.4.16-46.1.el7_7                       updates                   128 k
         php-ldap                                      x86_64                   5.4.16-46.1.el7_7                       updates                    53 k
         php-mbstring                                  x86_64                   5.4.16-46.1.el7_7                       updates                   505 k
         php-pdo                                       x86_64                   5.4.16-46.1.el7_7                       updates                    99 k
         php-pgsql                                     x86_64                   5.4.16-46.1.el7_7                       updates                    86 k
         php-xml                                       x86_64                   5.4.16-46.1.el7_7                       updates                   126 k
         postgresql-libs                               x86_64                   9.2.24-2.el7_7                          updates                   234 k
         t1lib                                         x86_64                   5.1.2-14.el7                            base                      166 k
         zabbix-web                                    noarch                   4.4.6-1.el7                             zabbix                    2.9 M
         zabbix-web-pgsql                              noarch                   4.4.6-1.el7                             zabbix                     11 k
        
        Transaction Summary
        ================================================================================================================================================
        Install  1 Package (+73 Dependent packages)
        
        repoquery --requires --resolve  nginx
        pcre-0:8.32-17.el7.x86_64
        openssl-1:1.0.2k-19.el7.x86_64
        bash-0:4.2.46-33.el7.x86_64
        centos-logos-0:70.0.6-3.el7.centos.noarch
        pcre-0:8.32-17.el7.i686
        gperftools-libs-0:2.6.1-1.el7.x86_64
        systemd-0:219-67.el7_7.2.x86_64
        glibc-0:2.17-292.el7.i686
        nginx-filesystem-1:1.16.1-1.el7.noarch
        zlib-0:1.2.7-18.el7.x86_64
        glibc-0:2.17-292.el7.x86_64
        nginx-all-modules-1:1.16.1-1.el7.noarch
        centos-indexhtml-0:7-9.el7.centos.noarch
        openssl-libs-1:1.0.2k-19.el7.x86_64
        

      Since RHEL users able to use PHP7 from SCL and NGINGX and NGINX Unit files provided officially this is incorrect behaviour of a package dependencies.

      Please review and provide frontend files without any dependencies for apache/nginx/php.

        Attachments

          Activity

            People

            Assignee:
            yurii Jurijs Klopovskis
            Reporter:
            edgar.akhmetshin Edgar Akhmetshin
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: