Control: tags -1 + patch I had a closer look at the issue, and the problem seem to be related to bug #760084. The issue is that when sitesummary is installed and pull in apache2, the apache2 postinst script is executed after the sitesummary postinst, because only dependencies (and not recommends) are taken into account when ordering postinst scripts. The end result is that the apache setup done by the sitesummary postinst script is not performed, and the CGI script is not made available.
My suggestion for the test to get it working is to purge sitesummary and reinstall it, after apache2. This proposed patch should solve the problem. diff --git a/debian/tests/test-server-client b/debian/tests/test-server-client index 16f9fa7..025a4c8 100644 --- a/debian/tests/test-server-client +++ b/debian/tests/test-server-client @@ -14,8 +14,16 @@ trap at_exit INT TERM EXIT LC_ALL=C export LC_ALL -# Installing the binaries should set up apache on localhost and the cgi script -# for the sitesummary collector. +# Installing the binaries should set up apache on localhost and the +# cgi script for the sitesummary collector. But by default the +# install does not do this, because the apt order the postinst +# invocations so that sitesummary is set up before apache2, causing +# the CGI script to not work. The reason is that sitesummary only +# recommend apache2, and postinst ordering seem to only take +# dependencies into account. A fix is to reinstall the sitesummary +# package: +apt purge sitesummary +apt install sitesummary sitesummary-client -- Happy hacking Petter Reinholdtsen

