On 18-03-15 01:37, Chris E wrote: > cacti once again depends on libapache2-mod-php5
This is not true. cacti depends on libapach2-mod-php5 OR php5, as recommended by the php maintainer (see the changelog). > which causes apache2 to > be installed, which in turn then fails to install if another webserver > is installed and already running. So the solution to the problem is to install your preferred php SAPI provider before or together with cacti. The problem apparently is that you do have a webserver running, but no php5 installed. Than the dependency resolve mechanism will pull in the first of the two if that is allowed, and that pulls in apache2. As it is possible to run two different webservers on the same machine (albeit not on the same port) they should not conflict, so indeed, there is nothing wrong in that respect. If you say that apache2 fails to install when an other webserver is already running, that would be a bug in the apache2 package, not in cacti. > As apache2 one of a list of suggested supported webservers, cacti should > properly depend on a meta package rather than directly on libapache2 > -mod-php5 As the php maintainer stated (unfortunately in private mail to me): """ It should be: <preferred_sapi> | php5 * That way the <preferred_sapi> would get picked up first if no SAPI is installed. or just php5 * That way you let the PHP5 maintainers choose preferred SAPI. """ So I could go for php5 alone, but I doubt that that would have prevented your issue as the first php SAPI provider of the php5 package is again libapache2-mod-php5. Paul PS: please open NEW bugs if you find issues with the current package for bugs that are closed. Otherwise your contribution easily gets lost (as the bug remains closed). However, mentioning the old bug numbers in the report is highly appreciated. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/217591 Title: wrong dependency To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cacti/+bug/217591/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs