Bug#390570: [php-maint] Bug#390570: php5-mysql: circular dependency hell

Steve Langasek vorlon at debian.org
Tue Oct 3 03:52:17 UTC 2006

On Tue, Oct 03, 2006 at 12:58:09PM +1000, Adam Conrad wrote:
> > There is a circular dependency between php5-mysql and php5-mysqli:

> > php5-mysql 	:Depends: php5-mysqli (= 5.1.6-2)
> > php5-mysqli 	:Depends: php5-mysql (= 5.1.6-2)

> Circular dependencies, while often incorrect and hellish on upgrades,
> are not always a bug.  The dependency loop will happily be broken by the
> package management tools, and since the maintainer scripts of these
> packages don't depend on each other, it's not a practical problem, just
> an aesthetic one.

> > What is the purpose to have both packages if users are requested to
> > install both of them anyway?

> The point is that, in the future, we intend to ship both modules in one
> package with the New And Improved config setup, and this is the easiest
> way to ensure future upgrade paths remain sane for people who install
> from the "old config setup" and later upgrade to the shiny new one.

> For the record, php5 has shipped this way in Ubuntu since before the
> dapper release, and it's neither generated a single problem report, nor
> a single complaint.

Color me confused; why do we need two modules for this anyway?  That seems
rather bletcherous.

Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
vorlon at debian.org                                   http://www.debian.org/

More information about the pkg-php-maint mailing list