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

Re: Bug#393832: Bug#419570: webcalendar: Package dependencies must allow php5 instead of php4



* James Westby <jw+debian@jameswestby.net> [2007-04-17 18:09]:

> On (17/04/07 02:27), Rafael Laboissiere wrote:
> > I see a problem with the above dependencies.  Imagine the following
> > combination of packages in a given system:
> > 
> >     apache2 installed
> >     apache, apache-ssl, and apache-perl NOT installed
> >     libapache2-mod-php4 installed
> >     libapache2-mod-php5 NOT installed
> >     php4-mysql, php4-pgsql, and php5-pgsql NOT installed
> >     php5-mysql installed
> > 
> > The above satisfy the dependencies as you wrote them.  The question is:
> > would php5-mysql work well with libapache2-mod-php4?
> 
> That's not your job, the php maintainers have to ensure their packages
> work, you just have to make sure enough php/mysql/apache stuff is
> installed to work.

I think you missed the point.  There is nothing that the php maintainers can
do to fix the problem above, since they are doing already the right thing.
The problem is related to the lack of power in specifying relationships
among the packages (see my next post in this thread).

> > The problem exists already in the the current version of the package.
> > Indeed, the following combination satisfy the dependencies:
> > 
> >    apache2 installed
> >    other apaches NOT installed
> >    libapache-mod-php4 installed 
> >    libapache2-mod-php4 NOT installed
> 
> libapache-mod-php4 depends on apache-common, which in turn depends on
> apache, so that works ok.

I do not see that:

$ apt-cache show apache-common | grep ^Depends:
Depends: libc6 (>= 2.3.6-6), libdb4.4, libexpat1 (>= 1.95.8), debconf (>= 0.5) | debconf-2.0, perl (>= 5.8.4-2), mime-support, apache2-utils, sed (>= 4.0.5-1), ucf (>= 1.06), lynx | www-browser

Am I missing something?

-- 
Rafael



Reply to: