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

Upgrade problem of zabbix-server-pgsql with libcurl3 / libcurl3-gnutls

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Cannot Reproduce
    • Icon: Trivial Trivial
    • None
    • 3.4.10
    • Installation (I)
    • None
    • Debian buster/sid

      Ran zabbix-server-pgsql 3.4.9 without problems. A software update (sudo update && sudo upgrade) replaced libcurl3 with libcurl3-gnutls and removed zabbix-server-pgsql, here is the entry of /var/log/apt/term.log

      Log started: 2018-05-31  04:44:46
      (Reading database ... 58166 files and directories currently installed.)
      Preparing to unpack .../00-php7.2-mysql_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-mysql (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../01-php7.2-opcache_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-opcache (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../02-php7.2-json_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-json (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../03-php7.2-readline_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-readline (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../04-php7.2-cli_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-cli (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../05-apache2_2.4.33-3+b1_amd64.deb ...
      Unpacking apache2 (2.4.33-3+b1) over (2.4.33-3) ...
      Preparing to unpack .../06-apache2-utils_2.4.33-3+b1_amd64.deb ...
      Unpacking apache2-utils (2.4.33-3+b1) over (2.4.33-3) ...
      Preparing to unpack .../07-php7.2-curl_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-curl (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../08-php7.0-curl_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-curl (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../09-apache2-bin_2.4.33-3+b1_amd64.deb ...
      Unpacking apache2-bin (2.4.33-3+b1) over (2.4.33-3) ...
      Preparing to unpack .../10-curl_7.60.0-2_amd64.deb ...
      Unpacking curl (7.60.0-2) over (7.60.0-1) ...
      (Reading database ... 58166 files and directories currently installed.)
      Removing zabbix-server-pgsql (1:3.4.9-1+stretch) ...
      dpkg: libcurl3:amd64: dependency problems, but removing anyway as you requested:
       zabbix-agent depends on libcurl3 (>= 7.16.2).
      
      Removing libcurl3:amd64 (7.60.0-1) ...
      Selecting previously unselected package libcurl4:amd64.
      (Reading database ... 58150 files and directories currently installed.)
      Preparing to unpack .../00-libcurl4_7.60.0-2_amd64.deb ...
      Unpacking libcurl4:amd64 (7.60.0-2) ...
      Preparing to unpack .../01-libapache2-mod-php7.2_7.2.4-1+b2_amd64.deb ...
      Unpacking libapache2-mod-php7.2 (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../02-php7.2-bcmath_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-bcmath (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../03-php7.2-bz2_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-bz2 (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../04-php7.2-mbstring_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-mbstring (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../05-php7.2-ldap_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-ldap (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../06-php7.2-zip_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-zip (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../07-php7.2-pgsql_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-pgsql (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../08-php7.2-xml_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-xml (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../09-php7.2-gd_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-gd (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../10-php7.2-common_7.2.4-1+b2_amd64.deb ...
      Unpacking php7.2-common (7.2.4-1+b2) over (7.2.4-1+b1) ...
      Preparing to unpack .../11-php7.0-mysql_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-mysql (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../12-php7.0-bz2_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-bz2 (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../13-php7.0-xml_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-xml (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../14-php7.0-bcmath_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-bcmath (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../15-php7.0-json_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-json (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../16-php7.0-zip_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-zip (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../17-php7.0-pgsql_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-pgsql (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../18-php7.0-opcache_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-opcache (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../19-php7.0-readline_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-readline (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../20-php7.0-cli_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-cli (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../21-php7.0-mcrypt_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-mcrypt (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../22-php7.0-gd_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-gd (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../23-libapache2-mod-php7.0_7.0.29-1+b2_amd64.deb ...
      Unpacking libapache2-mod-php7.0 (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../24-php7.0-mbstring_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-mbstring (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../25-php7.0-ldap_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-ldap (7.0.29-1+b2) over (7.0.29-1+b1) ...
      Preparing to unpack .../26-php7.0-common_7.0.29-1+b2_amd64.deb ...
      Unpacking php7.0-common (7.0.29-1+b2) over (7.0.29-1+b1) ...
      (Reading database ... 58154 files and directories currently installed.)
      Removing zabbix-agent (1:3.4.9-1+stretch) ...
      (Reading database ... 58149 files and directories currently installed.)
      Preparing to unpack .../libcurl3-gnutls_7.60.0-2_amd64.deb ...
      Unpacking libcurl3-gnutls:amd64 (7.60.0-2) over (7.60.0-1) ...
      Setting up php7.2-common (7.2.4-1+b2) ...
      Setting up php7.2-ldap (7.2.4-1+b2) ...
      Setting up apache2-utils (2.4.33-3+b1) ...
      Setting up libcurl3-gnutls:amd64 (7.60.0-2) ...
      Setting up libcurl4:amd64 (7.60.0-2) ...
      Setting up apache2-bin (2.4.33-3+b1) ...
      Setting up php7.2-mbstring (7.2.4-1+b2) ...
      Setting up php7.2-bz2 (7.2.4-1+b2) ...
      Setting up php7.2-readline (7.2.4-1+b2) ...
      Setting up php7.2-bcmath (7.2.4-1+b2) ...
      Processing triggers for libc-bin (2.27-3) ...
      Processing triggers for systemd (238-4) ...
      Processing triggers for man-db (2.8.3-2) ...
      Setting up php7.2-json (7.2.4-1+b2) ...
      Setting up php7.0-common (7.0.29-1+b2) ...
      Setting up php7.0-xml (7.0.29-1+b2) ...
      Setting up php7.0-bz2 (7.0.29-1+b2) ...
      Setting up php7.2-opcache (7.2.4-1+b2) ...
      Setting up php7.0-mysql (7.0.29-1+b2) ...
      Setting up php7.2-mysql (7.2.4-1+b2) ...
      Setting up php7.2-gd (7.2.4-1+b2) ...
      Setting up php7.2-xml (7.2.4-1+b2) ...
      Setting up php7.2-pgsql (7.2.4-1+b2) ...
      Setting up php7.0-ldap (7.0.29-1+b2) ...
      Setting up php7.2-zip (7.2.4-1+b2) ...
      Setting up php7.0-readline (7.0.29-1+b2) ...
      Setting up php7.0-opcache (7.0.29-1+b2) ...
      Setting up php7.0-mbstring (7.0.29-1+b2) ...
      Setting up apache2 (2.4.33-3+b1) ...
      Setting up curl (7.60.0-2) ...
      Setting up php7.2-curl (7.2.4-1+b2) ...
      Setting up php7.0-gd (7.0.29-1+b2) ...
      Setting up php7.0-mcrypt (7.0.29-1+b2) ...
      Setting up php7.0-curl (7.0.29-1+b2) ...
      Setting up php7.0-pgsql (7.0.29-1+b2) ...
      Setting up php7.0-zip (7.0.29-1+b2) ...
      Setting up php7.2-cli (7.2.4-1+b2) ...
      Setting up php7.0-json (7.0.29-1+b2) ...
      Setting up php7.0-bcmath (7.0.29-1+b2) ...
      Setting up libapache2-mod-php7.2 (7.2.4-1+b2) ...
      libapache2-mod-php7.2: php7.0 module already enabled, not enabling PHP 7.2
      Setting up php7.0-cli (7.0.29-1+b2) ...
      Setting up libapache2-mod-php7.0 (7.0.29-1+b2) ...
      libapache2-mod-php7.0: not switching MPM - already enabled
      Log ended: 2018-05-31  04:45:59
      

      Now this is installed:

      root@ogn-team-bayern ~ # dpkg -l | grep curl
      ii  curl                                    7.60.0-2                      amd64        command line tool for transferring data with URL syntax
      ii  libcurl3-gnutls:amd64                   7.60.0-2                      amd64        easy-to-use client-side URL transfer library (GnuTLS flavour)
      ii  libcurl4:amd64                          7.60.0-2                      amd64        easy-to-use client-side URL transfer library (OpenSSL flavour)
      ii  php-curl                                1:7.2+61                      all          CURL module for PHP [default]
      ii  php7.0-curl                             7.0.29-1+b2                   amd64        CURL module for PHP
      ii  php7.2-curl                             7.2.4-1+b2                    amd64        CURL module for PHP
      

      Reinstalling of zabbix-server-pgsql does not work:

      root@ogn-team-bayern ~ # apt install zabbix-server-pgsql
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      Some packages could not be installed. This may mean that you have
      requested an impossible situation or if you are using the unstable
      distribution that some required packages have not yet been created
      or been moved out of Incoming.
      The following information may help to resolve the situation:
      
      The following packages have unmet dependencies:
       zabbix-server-pgsql : Depends: libcurl3 (>= 7.28.0) but it is not going to be installed
      E: Unable to correct problems, you have held broken packages.
      

      Installation of libcurl3 would make this:

      root@ogn-team-bayern ~ # apt install libcurl3
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      The following packages were automatically installed and are no longer required:
        apache2-data apache2-utils libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libbrotli1 libjansson4 liblua5.2-0 php-bcmath php-ldap php7.0-bcmath php7.0-ldap php7.2-bcmath php7.2-ldap ttf-dejavu-core
      Use 'apt autoremove' to remove them.
      The following additional packages will be installed:
        php7.2-fpm
      The following packages will be REMOVED:
        apache2 apache2-bin curl libapache2-mod-php7.0 libapache2-mod-php7.2 libapache2-mod-wsgi libcurl4 php-curl php7.0 php7.0-curl php7.2-curl zabbix-frontend-php
      The following NEW packages will be installed:
        libcurl3 php7.2-fpm
      0 upgraded, 2 newly installed, 12 to remove and 0 not upgraded.
      Need to get 1,409 kB/1,725 kB of archives.
      After this operation, 26.0 MB disk space will be freed.
      Do you want to continue? [Y/n] n
      Abort.
      

            Unassigned Unassigned
            Gründger Konstantin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: