Package: dochelp
Version: 0.1.4
Severity: serious

Hi,

dochelp registers an "interest(-await)" trigger on /usr/share/doc-base.
At the same time, it depends on findutils and base-passwd, which provides
files in /usr/share/doc-base, triggering said interest trigger.

"""
The cycle is created because when findutils+base-passwd are put
into the triggers-awaited state (because it triggers dochelp), then it
cannot satisfy dependencies until it leaves that state. But:

 - for findutils+base-passwd to leave the triggers-awaited state, the
   trigger has to be resolved by dochelp, which cannot happen unless
   dochelp gets configured

 - to configure dochelp, its dependency on findutils+base-passwd have
   to be resolved which cannot happen unless findutils+base-passwd
   leave the triggers-awaited state

This creates the cycle if the packages are installed in a certain order.
"""

If at all possible, please migrate to an "interest-noawait" trigger.
This permits dpkg to defer the trigger to whenever it is convenient in
the install/upgrade process and is often a much better choice.

AFAICT, dochelp does not appear to be a package where deferring the
trigger would cause major issues (I assumed it to be similar to
man-db, which also uses an -noawait trigger).

Admittedly, this particular case *might* be saved by the fact that
findutils and base-passwd are essential.  I haven't tested that.
However, if any of the transitive dependencies of dochelp starts to
provide a doc-base file it will trigger this as well.  Given the
purpose of doc-base, that seems rather likely which is why I have
decided to keep this as "Severity: serious".

Thanks,
~Niels

Reply via email to