[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it a bug: huge dependency problems of php5 and ikiwiki



On 2009-07-22 18:06 +0200, Andrew Sackville-West wrote:

> On Wed, Jul 22, 2009 at 05:11:43PM +0200, Xan wrote:
>> apt-get install php5 -s
>
> look at apt-cache show php5, you will see that it is a meta package
> that depends on the following:
>
> ...
> Depends: libapache2-mod-php5 (>= 5.2.0-8+etch13) | libapache-mod-php5
> (>= 5.2.0-8+etch13) | php5-cgi (>= 5.2.0-8+etch13), php5-common (>=
> 5.2.0-8+etch13)
> ...
>
>
> The '|' means 'or'. apt-get is just pulling in the first one on the
> list which then forces an install of apache. Simply install php5-cgi
> at the same time (or before) php5 and you should be fine. 

Note that if you install them at the same time, you must list php5-cgi
_before_ php5 at the command line, because otherwise the apt resolver
would still bring in libapache2-mod-php5.  See bug #122304¹ and its
siblings for details.

Sven


¹ http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=122304


Reply to: