Package: grace
Version: 1:5.1.24-2
Severity: serious

Hi,

The grace package has a trigger cycle via the gsfonts package.  This
was detected by a script on jenkins.debian.net[1].

Steps to reproduce the cycle (in a Jessie/sid chroot):

"""
apt-get install gsfonts grace
dpkg --unpack /var/cache/apt/archives/gsfonts_${GSFONTS_VERSION}_*.deb
dpkg --configure --pending
"""

This simulates an upgrade scenario, where gsfonts might be temporarily
deconfigured while gsfonts remains configured.  If this happens, dpkg
is unable to recover as the cycle requires gsfonts to be configured
for it to run the trigger becayse grace depends on gsfonts.

Known solutions:

 * Use no-await triggers.  *CAVEAT*: not always applicable.  Known suitable
   use cases includes "cache" handling, where the cache is allowed to be
   out of date tempoarily.
 * Reduce the dependency to Recommends.  *CAVEAT*: Rarely applicable.
 * Rewrite the solution to avoid triggers entirely. *CAVEAT*: May be
   non-trivial and likely to involve updates to at least gsfonts.

~Niels

[1] 
https://jenkins.debian.net/view/Warnings/job/dpkg_sid_find_trigger_cycles/24/console


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to