Package: apache2 Version: 2.4.18-1 File: /usr/share/apache2/apache2-maintscript-helper
You need to quote the variables to prevent mishaps. Setting up libapache2-mod-php7.0 (7.0.2-1) ... Installing new version of config file /etc/apache2/mods-available/php7.0.load ... Replacing config file /etc/php/7.0/apache2/php.ini with new version /usr/share/apache2/apache2-maintscript-helper: line 291: [: !=: unary operator expected