[Bug 423071] Re: PHP5 now depends on libapache2-mod-php5 even if lighttpd installed

Andrew Oakley andrew at aoakley.com
Wed Sep 2 16:34:59 BST 2009


Yeah, unless PHP5 has been re-released between the start of this bug
report and now, it does indeed look like apt was not correctly
interpreting the "or" | pipe operator in:

Depends: libapache2-mod-php5 (>= 5.2.4-2ubuntu5) | php5-cgi (>=
5.2.4-2ubuntu5), php5-common (>= 5.2.4-2ubuntu5)

I already had php5-cgi installed, so this should have satisfied the
dependency. Interestingly, apt-get dist-upgrade wanted to upgrade
php5-cgi at the same time as php5, so I'm wondering whether this is due
to some failing in the ordering of dependencies during dist-upgrade?
I.e. since php5-cgi was due to be upgraded, it ignored the fact that it
was already installed when it came to calculate dependencies for the
php5 metapackage.

Looking through the depends for php5-cgi and php5-common, there don't
seem to be any other places where apache dependencies creep in. So it
must have been the php5 metapackage which was causing apt to want
apache.

I'm now uncertain as to whether this is a bug in apt-get or a bug in
php5. Perhaps leave this bug report lying around for a couple of weeks,
and if nobody else gets the same problem, shift it to apt-get ?

-- 
PHP5 now depends on libapache2-mod-php5 even if lighttpd installed
https://bugs.launchpad.net/bugs/423071
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.



More information about the Ubuntu-server-bugs mailing list