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

Bill Allombert allomber at math.u-bordeaux.fr
Tue Oct 3 19:21:43 UTC 2006

On Tue, Oct 03, 2006 at 05:04:15PM +0200, sean finney wrote:
> hey guys,
> On Tue, 2006-10-03 at 14:52 +0200, Sven Mueller wrote:
> > Steve Langasek schrieb:
> > > On Tue, Oct 03, 2006 at 12:58:09PM +1000, Adam Conrad wrote:
> > >>> There is a circular dependency between php5-mysql and php5-mysqli:
> while i know circular dependencies are generally frowned upon, i was
> under the impression that they're allowed for binaries from the same
> source package, correct?  

Neither dpkg, apt or aptitude even look at source packages names when
installing binary packages, so being from the same source package have
no effect on the issue. Though this might affect testing propagation.

> > The mysql and mysqli module use different APIs, whoever is using the old
> > API (which many OS webapps do) needs the mysql module, while anyone
> > wanting to take full advantage of the more advanced MySQL features from
> > MySQL 5 needs to use the new mysqli module with the new API. Both
> > modules can happily coexist in the same apache instance.
> which is neither an argument for or against the current setup, though.
> i.e.: ideally nothing would break if they were packaged together or
> seperately, except for the above mentioned stuff.

Even if you keep the two packages, does php5-mysqli really need to
depend on php5-mysql ? People installing php5-mysqli instead of
php5-mysql probably know what they are doing.

Bill. <ballombe at debian.org>

Imagine a large red swirl here. 

More information about the pkg-php-maint mailing list