Bug#607558: cyrus-sasl2-dbg: circular dependency with cyrus-sasl2-mit-dbg, cyrus-sasl2-heimdal-dbg

Bill Allombert Bill.Allombert at math.u-bordeaux1.fr
Mon Dec 20 10:48:36 UTC 2010


On Sun, Dec 19, 2010 at 06:09:58PM -0500, Roberto C. Sánchez wrote:
> On Sun, Dec 19, 2010 at 07:30:48PM +0100, Bill Allombert wrote:
> Please see #601977 and let me know if you still feel the same way.

The correct fix for #601977 is for
cyrus-sasl2-mit-dbg and cyrus-sasl2-heimdal-dbg to Replaces: cyrus-sasl2-dbg.
Neither Pre-depends nor Conflicts, nor adding more Depends are going to fix it.

> Basically, the dependency from cyrus-sasl2-dbg is on
> "cyrus-sasl2-mit-dbg | cyrus-sasl2-heimdal-dbg", while the two specific
> -dbg packages depend on the main package.  Basically, if a user
> installs the cyrus-sasl2-dbg, we want them to also get the specific
> symbols for one of MIT or Heimdal. 

How do you know the user will get the right one ? If the user can get the wrong one,
then what is the point ?

> This also takes care of a bug in the
> Lenny -> Squeeze upgrade process (reported in #601977).

It does not. Only Replaces can do that.

>  However, if the
> user goes the route of installing either cyrus-sasl2-mit-dbg or
> cyrus-sasl2-heimdal-dbg, then we also need to make sure that they get
> the common -dbg symbols.

In that case cyrus-sasl2-dbg should have been called cyrus-sasl2-common-dbg and not depend
on anything.

Cheers,
-- 
Bill. <ballombe at debian.org>

Imagine a large red swirl here. 



More information about the Pkg-cyrus-sasl2-debian-devel mailing list