Re: Bug#898627: man-db: dependency loop
On Mon, May 14, 2018 at 04:03:51PM +0100, Ian Jackson wrote:
> Colin Watson writes ("Re: Bug#898627: man-db: dependency loop"):
> > I've never seen this myself. I guess it's due to man-db having
> > "interest-noawait /usr/share/man" in its triggers and itself shipping
> > files in /usr/share/man; but shouldn't dpkg notice that this is
> > trivially resolved by configuring man-db and not consider it as a cycle?
> > In any case I don't see any way to exclude man-db itself from the file
> > trigger if that's not the case.
> This trigger loop can only occur due to postinsts, not due to static
> files. The basic thing is that since package A's postinst (run for
> trigger resolution) can can trigger package B's postinst to run, and
> vice versa, this might lead to a loop.
> Does the man-db or libc-bin postinst explicitly trigger
> /usr/share/man ?
Not as far as I can see. That would have to be a dpkg-trigger(1) call,
Colin Watson [firstname.lastname@example.org]