Every icingaweb2 update fails on Debian 8/9


every update of icingaweb2 fails because there is a wrong entry in “/var/lib/dpkg/info/icingaweb2.postinst”. The commands are not available in Debian 8/9:

“apache2_invoke enmod rewrite”
“apache2_invoke enconf icingaweb2”

If i uncomment this entrys, it works fine and the update process works. If not, the update process fails with postinstall error.

Have a nice day!