[Debian-ha-maintainers] Bug#821129: Bug#821129: cluster-glue: circular dependency hell

Christoph Berg myon at debian.org
Sun Apr 17 09:49:32 UTC 2016


Re: Bill Allombert 2016-04-15 <20160415195507.GA13901 at yellowpig>
> There is a circular dependency between cluster-glue, liblrm2, libpils2,
> libplumb2, libplumbgpl2 and libstonith1:
> 
> cluster-glue 	:Depends: liblrm2 (>= 1.0.12-4), libpils2 (>= 1.0.12-4), libplumb2 (>= 1.0.12-4), libplumbgpl2 (>= 1.0.12-4), libstonith1 (>= 1.0.12-4)
> liblrm2 	:Depends: libplumb2, cluster-glue (= 1.0.12-4)
> libpils2 	:Depends: cluster-glue (= 1.0.12-4)
> libplumb2 	:Depends: libpils2, cluster-glue (= 1.0.12-4)
> libplumbgpl2 	:Depends: libpils2, cluster-glue (= 1.0.12-4)
> libstonith1 	:Depends: libpils2, cluster-glue (= 1.0.12-4)

Hi,

the reason for the cluster-glue -> lib* dependency is that the former
uses these libs, and the reason for the dependency the other way is
that the libs have a /usr/share/doc-lib* -> cluster-glue symlink.
(The lintian override explains that as well.)

> Complex circular dependencies are known to cause problems during upgrade, so we
> should try to get rid of them.

I'd argue that this isn't a "complex" circular dependency, but we'll
see what we can do. Possibly moving the doc directory to a new
cluster-glue-common package would work.

Christoph



More information about the Debian-ha-maintainers mailing list