z-push-config-nginx Ubuntu package waths to install apache2



  • apt install z-push-config-nginx
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
      apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php7.2 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libargon2-0 liblua5.1-0 libsodium23 php php-soap php7.2
      php7.2-cli php7.2-json php7.2-opcache php7.2-readline php7.2-soap z-push-common
    Suggested packages:
      apache2-doc apache2-suexec-pristine | apache2-suexec-custom
    The following NEW packages will be installed:
      apache2 apache2-bin apache2-data apache2-utils libapache2-mod-php7.2 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libargon2-0 liblua5.1-0 libsodium23 php php-soap php7.2
      php7.2-cli php7.2-json php7.2-opcache php7.2-readline php7.2-soap z-push-common z-push-config-nginx
    0 upgraded, 22 newly installed, 0 to remove and 28 not upgraded.
    Need to get 5,056 kB of archives.
    After this operation, 19.6 MB of additional disk space will be used.
    Do you want to continue? [Y/n]
    

    Why is z-push-config-nginx trying to install apache2?

    Using official repos on Ubuntu 16.04.
    I was about to file a new issue on Jira but wanted to ask here first.


  • Kopano

    Hi @maxxer ,

    with the final repository I do not get any apache dependencies:

    # apt install z-push-config-nginx
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following additional packages will be installed:
      fontconfig-config fonts-dejavu-core geoip-database libfontconfig1
      libfreetype6 libgd3 libgeoip1 libicu55 libjbig0 libjpeg-turbo8 libjpeg8
      libtiff5 libvpx3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2
      libxpm4 libxslt1.1 nginx nginx-common nginx-core php php-common php-mbstring
      php-soap php7.0 php7.0-cli php7.0-common php7.0-fpm php7.0-json
      php7.0-mbstring php7.0-opcache php7.0-readline php7.0-soap psmisc sgml-base
      xml-core z-push-common
    Suggested packages:
      libgd-tools geoip-bin fcgiwrap nginx-doc ssl-cert php-pear sgml-base-doc
      debhelper
    The following NEW packages will be installed:
      fontconfig-config fonts-dejavu-core geoip-database libfontconfig1
      libfreetype6 libgd3 libgeoip1 libicu55 libjbig0 libjpeg-turbo8 libjpeg8
      libtiff5 libvpx3 libx11-6 libx11-data libxau6 libxcb1 libxdmcp6 libxml2
      libxpm4 libxslt1.1 nginx nginx-common nginx-core php php-common php-mbstring
      php-soap php7.0 php7.0-cli php7.0-common php7.0-fpm php7.0-json
      php7.0-mbstring php7.0-opcache php7.0-readline php7.0-soap psmisc sgml-base
      xml-core z-push-common z-push-config-nginx
    0 upgraded, 42 newly installed, 0 to remove and 77 not upgraded.
    Need to get 18.6 MB of archives.
    After this operation, 71.2 MB of additional disk space will be used.
    Do you want to continue? [Y/n]
    

    @maxxer said in z-push-config-nginx Ubuntu package waths to install apache2:

    Using official repos on Ubuntu 16.04.

    based on this statement I also used 16.04 for my test installation, but now I’ve noticed that for you it wants to install php 7.2 packages (which would be expected for 18.04, but not for 16.04). are you using some external repositories for php, which could be the cause for the apache dependency?